emacs-exordium / exordium Goto Github PK
View Code? Open in Web Editor NEWAn Emacs configuration that will make your C++ IDE jealous.
License: MIT License
An Emacs configuration that will make your C++ IDE jealous.
License: MIT License
When using the BDE style formatter functions, the content of the copy-paste buffer is replaced by the section of text being styled.
Can it use another independent temporary buffer instead and leave the copy-paste untouched ?
Is there a reason why Flymake is used instead of Flycheck? My experience with Flycheck has been better. How hard would it be for me to replace Flymake with Flycheck for my Exordium setup?
It works on MacOS, but on Linux the line numbers become truncated.
RTags has its own Helm module now, so we should move the features that are in init-rtag-helm.el
into RTags itself. This concerns mainly the M-C-g feature which shows all classes and functions in the current buffer.
In other words, clean up this code a bit and send a pull request to Anders Bakken.
the example in the readme has
(setq exordium-rtags-rdm-args "--isystem /opt/bb/lib64/clang/3.6.2/incluce -DBAS_NOBBENV")
Which is incorrect, according to the elisp source, the value should be a list of strings, not a space separated string.
Running it on a line such as
it->second->onAckMessage(event.status(), event.messageGUID(), event.correlationId());
yields the invalid following output
it->second->onAckMessage(event.status(,
event.messageGUID(
,
event.correlationId());
JULIEN BIBOLLET:
12:03:38 fringe-helper-modification-func: Invalid search bound (wrong side of point)
12:03:51 This definitely is the 'error' that's breaking my copy paste in emacs
12:04:30 Stack is
Debugger entered--Lisp error: (error "Invalid search bound (wrong side of point)")
search-forward("\n" 3687 t)
fringe-helper-modification-func(#<overlay from 26482 to 27798 in mbba_electioncenter.cpp> t 3687 3687 9)
message("Mark set")
push-mark(27411)
yank(nil)
call-interactively(yank nil nil)
command-execute(yank)
This error is actually documented in the README. (setq exordium-git-gutter-non-fringe t) is the work around.
Possible solutions:
'C-p-F' is taken. What about 'C-p-.' ?
We should state a license for the collective work.
Most of the work is based on orchestration of other elisp packages, but Exordium should have its own license, as it is now its own thing. The combination of taps
with the before and after protocol, together with the reliable configurable base is novel.
I have a preference for an OSI approved license
Only one level of undo when this mode is on. Needs to be fixed.
This came up in my monthly refresh:
cd ~/.emacs.d;git log > prior_log; git fetch; git diff origin;git merge
Updating d554386..a5e463a
--
| Fast-forward
| README.md \| 14 +++++++++++-
| init.el \| 4 ++++
| modules/init-elisp.el \| 6 ++---
| modules/init-forge.el \| 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| modules/init-git.el \| 2 +-
| modules/init-helm.el \| 4 ++--
| modules/init-help.el \| 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
| modules/init-lib.el \| 7 ++++++
| modules/init-linum.el \| 4 +++-
| modules/init-org.el \| 1 +
| modules/init-prefs.el \| 26 +++++++++++++--------
| modules/init-prog-mode.el \| 5 +++-
| modules/init-rtags-helm.el \| 29 ++++++++++++++++--------
| modules/init-rtags.el \| 15 ++++++------
| themes/color-theme-tomorrow.el \| 6 ++++-
| themes/color-theme-zenburn.el \| 4 ++--
| 16 files changed, 272 insertions(+), 39 deletions(-)
| create mode 100644 modules/init-forge.el
| create mode 100644 modules/init-help.el
I then started emacs and did
M-x package-list-packages/U/x
Warning (bytecomp): assignment to free variable ‘exordium-fci-handle-truncate-lines’
Warning (bytecomp): Use ‘with-current-buffer’ rather than save-excursion+set-buffer [2 times]
In treemacs-add-bookmark:
treemacs-bookmarks.el:199:38:Warning: treemacs--extract-position called with 1
argument, but requires 2
In treemacs--builtin-project-mouse-selection-menu:
treemacs-mouse-interface.el:46:11:Warning: reference to free variable
`project--list'
In treemacs--imenu-tag-noselect:
treemacs-mouse-interface.el:177:33:Warning: treemacs--extract-position called
with 1 argument, but requires 2
In treemacs--tag-noselect:
treemacs-mouse-interface.el:203:53:Warning: treemacs--extract-position called
with 1 argument, but requires 2
In end of data:
treemacs.el:252:1:Warning: the following functions are not known to be
defined: treemacs--flatten-org-mode-imenu-index,
treemacs--flatten-imenu-index, treemacs--compare-markdown-tag-paths,
treemacs--compare-tag-paths
In pyvenv-activate:
pyvenv.el:221:9:Warning: assignment to free variable
`python-shell-virtualenv-path'
pyvenv.el:222:9:Warning: assignment to free variable
`python-shell-virtualenv-root'
In pyvenv-deactivate:
pyvenv.el:265:9:Warning: assignment to free variable
`python-shell-virtualenv-root'
pyvenv.el:266:9:Warning: assignment to free variable
`python-shell-virtualenv-path'
In end of data:
pyvenv.el:635:1:Warning: the following functions are not known to be defined:
widget-copy, widget-types-convert-widget
In end of data:
magit-extras.el:746:1:Warning: the following functions are not known to be
defined: change-log-insert-entries, diff-add-log-current-defuns
In end of data:
helm-buffers.el:1193:1:Warning: the function `switch-to-buffer-other-tab' is
not known to be defined.
In helm-ff-rotate-current-image-1:
helm-files.el:4096:16:Warning: image-rotate called with 1 argument, but
accepts only 0
In company-gtags--executable:
company-gtags.el:79:47:Warning: executable-find called with 2 arguments, but
accepts only 1
In end of data:
company-gtags.el:147:1:Warning: the function `with-connection-local-variables'
is not known to be defined.
In toplevel form:
cmake-mode.el:210:1:Error: rx `not' syntax error: )
In ac-semantic-action:
auto-complete-config.el:213:69:Warning: reference to free variable `prefix'
*Warnings*
Error (use-package): Failed to install which-key: http://melpa.org/packages/which-key-20200908.2301.el: Not found
Error (use-package): Cannot load which-key
Warning (ido-completing-read+): There are 1 new blacklist entries available. Use `M-x ido-cr+-update-blacklist' to install them. (See `ido-cr+-auto-update-blacklist' for more information.)
Warning (ido-completing-read+): There are 1 new blacklist entries available. Use `M-x ido-cr+-update-blacklist' to install them. (See `ido-cr+-auto-update-blacklist' for more information.)
RESTART EMACS:
*Compile-log*
Leaving directory ‘/home/mpersico5/.emacs.d/elpa/bind-key-20200805.1727’
Compiling file /home/mpersico5/.emacs.d/elpa/bind-key-20200805.1727/bind-key.el at Mon Jan 4 10:40:53 2021
Entering directory ‘/home/mpersico5/.emacs.d/elpa/bind-key-20200805.1727/’
Compiling no file at Mon Jan 4 10:40:54 2021
Leaving directory ‘/home/mpersico5/.emacs.d/elpa/use-package-20201110.2133’
Compiling file /home/mpersico5/.emacs.d/elpa/use-package-20201110.2133/use-package-bind-key.el at Mon Jan 4 10:40:54 2021
Entering directory ‘/home/mpersico5/.emacs.d/elpa/use-package-20201110.2133/’
Compiling file /home/mpersico5/.emacs.d/elpa/use-package-20201110.2133/use-package-core.el at Mon Jan 4 10:40:54 2021
Compiling file /home/mpersico5/.emacs.d/elpa/use-package-20201110.2133/use-package-delight.el at Mon Jan 4 10:40:55 2021
Compiling file /home/mpersico5/.emacs.d/elpa/use-package-20201110.2133/use-package-diminish.el at Mon Jan 4 10:40:55 2021
Compiling file /home/mpersico5/.emacs.d/elpa/use-package-20201110.2133/use-package-ensure.el at Mon Jan 4 10:40:55 2021
Compiling file /home/mpersico5/.emacs.d/elpa/use-package-20201110.2133/use-package-jump.el at Mon Jan 4 10:40:55 2021
Compiling file /home/mpersico5/.emacs.d/elpa/use-package-20201110.2133/use-package-lint.el at Mon Jan 4 10:40:55 2021
Compiling file /home/mpersico5/.emacs.d/elpa/use-package-20201110.2133/use-package.el at Mon Jan 4 10:40:55 2021
Compiling no file at Mon Jan 4 10:40:55 2021
Leaving directory ‘/home/mpersico5/.emacs.d/elpa/helm-rg-20200721.725’
Compiling file /home/mpersico5/.emacs.d/elpa/helm-rg-20200721.725/helm-rg.el at Mon Jan 4 10:40:58 2021
Entering directory ‘/home/mpersico5/.emacs.d/elpa/helm-rg-20200721.725/’
Compiling no file at Mon Jan 4 10:41:00 2021
In end of data:
closql.el:586:1:Warning: the function `eieio--full-class-object' is not known
to be defined.
Warning (bytecomp): assignment to free variable ‘exordium-fci-handle-truncate-lines’
Error (bytecomp): Symbol’s function definition is void: helm-rg-cl-typep--pcase-macroexpander
Warning (bytecomp): Use ‘with-current-buffer’ rather than save-excursion+set-buffer [2 times]
/opt/bb/bin/cc -I/home/mpersico5/.emacs.d/elpa/emacsql-sqlite-20190727.1710/sqlite -O2 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FOREIGN_KEYS=1 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_JSON1 -DSQLITE_SOUNDEX /home/mpersico5/.emacs.d/elpa/emacsql-sqlite-20190727.1710/sqlite/sqlite3.c /home/mpersico5/.emacs.d/elpa/emacsql-sqlite-20190727.1710/sqlite/emacsql.c -lm -ldl -o /home/mpersico5/.emacs.d/elpa/emacsql-sqlite-20190727.1710/sqlite/emacsql-sqlite
A common mistake is to write:
void foo(const MyObj & obj,
SomeObj * ptr);
which should of course be:
void foo(const MyObj& obj,
SomeObj *ptr);
(Paying attention to the association of the &
with the type and the *
with the value.)
It would be useful if bde-align-functions-arguments
took account of this.
Are there any special requirements for getting this to work? I created a simple test class header and implementation with just a constructor. Both files, test.cpp and test.h, live in the same directory. C-TAB does not produce an effect.
After pressing prefix keys like C-x
or C-h
and stay still for seconds, then auto-complete(?) list of key-bindings are displayed on the bottom command line buffer (?) like below:
But in my machine, it tooks 2~3 secs to show the list and it freezes emacs meanwhile.
a) How can I disable this suggestion feature?
b) Or how can I feature out which operation is freezing emacs?
Thanks in adavance!
https://github.com/philippe-grenet/exordium/blame/master/README.md#L51
Magit link doesn't work.
This code does not reformat nicely:
bslma::Allocator *d_allocator_p;
// allocator
bmqa::QueueId d_queueId;
// holds the queue id associated with the queue
bmqa::Session *d_session_p;
// raw pointer to session
bsl::string d_queueUri;
bsl::vector<mqpmsg::Message> d_pendingMessages;
// messages that are still pending. the start session is asynchronous and
// we need to ensure that the start can happen before sending pending
// messages. only used when queue is being opened
bool d_open;
// flag to designate whether queue is open or not.
// bsl::shared_ptr<dmcu::AtomicValidator> d_validator_sp;
// ensures validity of object when async call returns
// ******ATTENTION******** adds dependency to dmcu
bmqa::MessageEventBuilder d_builder;
// cache the builder and just reset everytime rather than re-loading for
// every message
This is not bug/issue, it is question.
Regarding to installation, should I made any changes to ~/.emacs or ~/.emacs.d/init.el?
git clone https://github.com/emacs-exordium/exordium.git ~/.emacs.d/
after git clone.
I restart emacs, but nothing change as the said "download and compile the required packages" does not happen. They do happen when i ran init-test.sh
There are times when I wish to use find-file
instead of ido-find-file
when in non-repo/project directories. If I explicitly invoke it with M-x find-file
it works fine. However if I globally bind it to say C-x f
with (global-set-key (kbd "C-x f") 'find-file)
in either before-init.el
or after-init.el
the key binding switches to ido-find-file
. Is there a simple way to work-around for this behavior?
Not sure how to reproduce it, seems to be related with opening empty files. or emacs with no files
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
#[(range) "�@ X\205� �AW\207" [range posn] 2](%287972 . 10335%29)
mapcar(#[(range) "�@ X\205� �AW\207" [range posn] 2](%287972 . 10335%29 %281 . 4826%29 %281 . 344%29 %284983 . 9987%29 %281 . 4826%29))
fci-delete-unneeded()
fci-update-window-for-scroll(#<window 87 on Messages> 7972)
redisplay_internal\ (C\ function)()
I mean rtags seems can't work well on windows.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.