mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 15:21:51 -08:00
Avoid overfull hboxes.
This commit is contained in:
parent
f99d295c95
commit
ec45fa1068
3 changed files with 14 additions and 9 deletions
|
|
@ -3431,7 +3431,7 @@ see @ref{Help installing Emacs}.
|
|||
If you cannot find a solution in the documentation, send a message to
|
||||
@email{bug-gnu-emacs@@gnu.org}.
|
||||
|
||||
Please do not post it to @uref{news:gnu.emacs.help} or send e-mail to
|
||||
Please don't post it to @uref{news:gnu.emacs.help} or send e-mail to
|
||||
@email{help-gnu-emacs@@gnu.org}. For further guidelines, see
|
||||
@ref{Guidelines for newsgroup postings} and @ref{Reporting bugs}.
|
||||
|
||||
|
|
|
|||
|
|
@ -1850,8 +1850,10 @@ specifying a new face. (Emacs faces are described in the Emacs Lisp
|
|||
reference.) On a color display, the following customization method is
|
||||
usually most effective:
|
||||
@example
|
||||
(set-face-foreground viper-replace-overlay-face "DarkSlateBlue")
|
||||
(set-face-background viper-replace-overlay-face "yellow")
|
||||
(set-face-foreground viper-replace-overlay-face
|
||||
"DarkSlateBlue")
|
||||
(set-face-background viper-replace-overlay-face
|
||||
"yellow")
|
||||
@end example
|
||||
For a complete list of colors available to you, evaluate the expression
|
||||
@code{(x-defined-colors)}. (Type it in the buffer @code{*scratch*} and then
|
||||
|
|
@ -2057,7 +2059,8 @@ can write this:
|
|||
@noindent
|
||||
To customize the binding for @kbd{C-h} in Insert state:
|
||||
@example
|
||||
(define-key viper-insert-global-user-map "\C-h" 'my-del-backwards-function)
|
||||
(define-key viper-insert-global-user-map
|
||||
"\C-h" 'my-del-backwards-function)
|
||||
@end example
|
||||
@noindent
|
||||
|
||||
|
|
@ -2106,7 +2109,8 @@ Dired functions, the trick can be accomplished via the following code:
|
|||
(setq my-dired-vi-purist-map (make-sparse-keymap))
|
||||
(define-key my-dired-vi-purist-map "k" 'viper-previous-line)
|
||||
(define-key my-dired-vi-purist-map "l" 'viper-forward-char)
|
||||
(viper-modify-major-mode 'dired-mode 'emacs-state my-dired-vi-purist-map)
|
||||
(viper-modify-major-mode 'dired-mode
|
||||
'emacs-state my-dired-vi-purist-map)
|
||||
@end example
|
||||
|
||||
Yet another way to customize key bindings in a major mode is to edit the
|
||||
|
|
@ -2530,15 +2534,15 @@ If a document consists of several files we can designate one of them as a
|
|||
master and put the following at the end of that file:
|
||||
@lisp
|
||||
;;; Local Variables:
|
||||
;;; eval: (viper-setup-master-buffer "file1" "file2" "file3" "file5" "file5")
|
||||
;;; eval: (viper-setup-master-buffer "file1" "file2" "file3" "file4")
|
||||
;;; End:
|
||||
@end lisp
|
||||
@noindent
|
||||
where @code{file1} to @code{file5} are names of files related to the master
|
||||
where @code{file1} to @code{file4} are names of files related to the master
|
||||
file. Next time, when the master file is visited, the command
|
||||
@code{viper-setup-master-buffer} will be evaluated and the above files will
|
||||
be associated with the master file. Then, the new Ex command
|
||||
@kbd{:RelatedFile} (abbr.@: @kbd{:R}) will display files 1 to 5 one after
|
||||
@kbd{:RelatedFile} (abbr.@: @kbd{:R}) will display files 1 to 4 one after
|
||||
another, so you can edit them. If a file is not in any Emacs buffer, it
|
||||
will be visited. The command @kbd{PreviousRelatedFile} (abbr., @kbd{:P})
|
||||
goes through the file list in the opposite direction.
|
||||
|
|
|
|||
|
|
@ -358,7 +358,8 @@ Interface}).
|
|||
'("En" "To" "Tre"))
|
||||
(widget-setup))
|
||||
"other work")
|
||||
(widget-insert " for more information.\n\nNumbers: count to three below\n")
|
||||
(widget-insert
|
||||
" for more information.\n\nNumbers: count to three below\n")
|
||||
(setq widget-example-repeat
|
||||
(widget-create 'editable-list
|
||||
:entry-format "%i %d %v"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue