| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Instead of ox-extra's "ignored sections" use
ox-texinfo+'s new "dissolvable headlines".
|
|
Display buffer after populating it and set additional display actions
and window parameters using the display alist instead of hardcoding
them. (`set-window-hscroll' should be unnecessary so drop that.)
Use a wrapper function around `fit-window-to-buffer' so that users can
override it (but do not go as far as to provide a hook).
Continue to call that function explicitly because the `window-height'
display action is ignored when reusing an existing window, and while
we don't encourage doing that, we still want to support it. If an
existing window is repurposed, then avoid shrinking it.
|
|
|
|
|
|
Instead of ox-texinfo+'s obsolete support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit baebe85cebd48442325a0071658226da8ce9dab1.
|
|
|
|
See see *note (texinfo)Cross Reference Commands*.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re #101.
|
|
Most transients don't use any bindings that involve any modifiers
(except shift) for their own individual suffixes. By following this
convention they avoid conflicts with common commands that are shared
between all transients.
Many common commands use the "C-x" prefix or another binding that
involves the "control" modifier, but a handful of bindings use the
"meta" modifier instead.
Some transients do not use alphabetic bindings. Consider this
(simplified) example:
(global-set-key (kbd "M-g") #'hydrant-goto)
(transient-define-prefix hydrant-goto ()
"Transient command replacing and extending `goto-map'."
:transient-suffix 'transient--do-call
:transient-non-suffix 'transient--do-stay
[["Goto locus"
("M-u" "first" first-error)
("M-p" "previous" previous-error)
("M-n" "next" next-error)]
["Goto"
("M-g" "line" goto-line :transient nil)
("M-p" "position" goto-char :transient nil)
("M-c" "column" move-to-column :transient nil)]])
By using "meta" for all suffix bindings while not preventing outside
bindings from being invoked, this transient makes it possible to move
through the locations using "M-p" and "M-n" and to make small edits
(potentially involving the letters "p" and "n") on the way, without
having to exit the transient.
Unfortunately "M-p" and "M-n" conflicted with the old bindings for the
common transient history commands. Other bindings could have been
used, but they might have other downsides ("C-p" and "C-n" for example
would shadow very commands that are needed while making those edits).
Most importantly though this makes it clear that there has be one
standard modifier that individual transients should be able to use
without having to worry about (current and future) conflicts with
common transient commands.
Going forward we reserve "meta" for that purpose (i.e. "M-<key>";
"C-M-<key>" is still allowed for shared commands). This means that
the bindings for three common commands have to be replaced with
slightly less convenient and consistent bindings. That cannot be
prevented without access to a time machine.
|
|
Closes #98.
|
|
|
|
If this value bound then it is called with the object as only
argument instead of the primary `transient-init-value' method
of the object class.
Re #96.
|
|
If this is non-nil, then the value of the infix is removed from
the prefix value before saving, setting and adding to history.
Re #96.
|
|
|
|
|
|
|
|
|
|
|
|
Who's a good boy?
|
|
|
|
|
|
|
|
|
|
Without removing these words, Ispell complains like so:
ispell--run-on-word: Ispell and its process have different character
maps: (* Error: The word "texinfo+" is invalid. The character '+'
(U+2B) may not appear at the end of a word. Error: The word
"pre-command" is invalid. The character '-' (U+2D) may not appear in
the middle of a word. Error: The word "Magit-Popup" is invalid. The
character '-' (U+2D) may not appear in the middle of a word.)
|
|
|
|
It won't work and display a fat line instead. We have to decide this
every time this function is called because there can be termcap and
window system frames in the same Emacs session.
|
|
|
|
|
|
|
|
|
|
Re #25. Closes #67.
|
|
|
|
It's almost (?) always better to use the `transient-args' function.
|
|
|
|
|