* Re: texinfo-all-menus-update [not found] <20020205.090225.69697435.wl@gnu.org> @ 2002-02-07 9:21 ` Robert J. Chassell 2002-02-17 15:56 ` calendar: trailing whitespace (Re: texinfo-all-menus-update) Karl Eichwalder 2002-02-18 15:51 ` texinfo-all-menus-update Robert J. Chassell 1 sibling, 1 reply; 5+ messages in thread From: Robert J. Chassell @ 2002-02-07 9:21 UTC (permalink / raw) Cc: emacs-devel Is there any reason why texinfo-all-menus-update produces trailing whitespace after the menu entries? No reason. It is a bug. I never noticed it doing that, and am glad you found it. I dislike trailing whitespace. (Unfortunately, I am too busy traveling at the moment to propose a fix. If you can make one, perhaps Karl can install it.) -- Robert J. Chassell bob@rattlesnake.com Rattlesnake Enterprises http://www.rattlesnake.com _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
* calendar: trailing whitespace (Re: texinfo-all-menus-update) 2002-02-07 9:21 ` texinfo-all-menus-update Robert J. Chassell @ 2002-02-17 15:56 ` Karl Eichwalder 2002-02-17 17:45 ` Karl Eichwalder 0 siblings, 1 reply; 5+ messages in thread From: Karl Eichwalder @ 2002-02-17 15:56 UTC (permalink / raw) "Robert J. Chassell" <bob@rattlesnake.com> writes: > Is there any reason why texinfo-all-menus-update produces trailing > whitespace after the menu entries? > > No reason. It is a bug. I never noticed it doing that, and am glad > you found it. I dislike trailing whitespace. Also the 'calendar' buffer is affected. -- ke@suse.de (work) / keichwa@gmx.net (home): | http://www.suse.de/~ke/ | ,__o Free Translation Project: | _-\_<, http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*) _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: calendar: trailing whitespace (Re: texinfo-all-menus-update) 2002-02-17 15:56 ` calendar: trailing whitespace (Re: texinfo-all-menus-update) Karl Eichwalder @ 2002-02-17 17:45 ` Karl Eichwalder 0 siblings, 0 replies; 5+ messages in thread From: Karl Eichwalder @ 2002-02-17 17:45 UTC (permalink / raw) Karl Eichwalder <ke@gnu.franken.de> writes: > "Robert J. Chassell" <bob@rattlesnake.com> writes: > >> Is there any reason why texinfo-all-menus-update produces trailing >> whitespace after the menu entries? >> >> No reason. It is a bug. I never noticed it doing that, and am glad >> you found it. I dislike trailing whitespace. > > Also the 'calendar' buffer is affected. The solution or work around is obvious. IMO: make whitespace.el ignore read-only buffers by default. -- ke@suse.de (work) / keichwa@gmx.net (home): | http://www.suse.de/~ke/ | ,__o Free Translation Project: | _-\_<, http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*) _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: texinfo-all-menus-update [not found] <20020205.090225.69697435.wl@gnu.org> 2002-02-07 9:21 ` texinfo-all-menus-update Robert J. Chassell @ 2002-02-18 15:51 ` Robert J. Chassell 2002-02-19 21:31 ` texinfo-all-menus-update Richard Stallman 1 sibling, 1 reply; 5+ messages in thread From: Robert J. Chassell @ 2002-02-18 15:51 UTC (permalink / raw) Cc: emacs-devel >> Is there any reason why texinfo-all-menus-update produces >> trailing whitespace after the menu entries? >> >> No reason. It is a bug. I never noticed it doing that, and am >> glad you found it. I dislike trailing whitespace. On looking at it again, I found the reason for the trailing whitespace after the menu entries (or at least one of the reasons). The whitespace is intended as a feature. The whitespace is designed to make it easier to write a descriptive phrase or sentence that explains what the node is about, either directly or with the help of the `texinfo-start-menu-description' command. You start the description after the whitespace, which provides an indent to a specificed column, so all your descriptions are lined up. (See the Texinfo Info File, Node: Menu Parts, and Node: Inserting; or the printed Texinfo Manual Section: `The Parts of a Menu' and `Inserting Frequently Used Commands'.) In general, menus should contain descriptions, even though technically they are optional. This is because node names and section titles are often too short to explain the node well. The whitespace comes from the `texinfo-insert-menu' command which, as its documentation says, Indents the first line of the description, if any, to the value of texinfo-column-for-description. The `texinfo-all-menus-update', `texinfo-master-menu', and `texinfo-make-menu' commands all call the `texinfo-insert-menu' command. Also, they automatically incorporate the descriptions from pre-existing menus, if they exist. The design question is whether `texinfo-all-menus-update' should make it easier to add descriptions to menu entries that lack them; or whether the command should make it easier to avoid adding such descriptions. I favor menu entries with descriptions. Consequently, I have changed my mind and suggest treating the current functionality as a feature rather than as a bug. As you work on a Texinfo document, you can remove all trailing whitespace with the `delete-trailing-whitespace' command. (For convenience I have bound a function key to that command; I use it frequently.) -- Robert J. Chassell bob@rattlesnake.com Rattlesnake Enterprises http://www.rattlesnake.com _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: texinfo-all-menus-update 2002-02-18 15:51 ` texinfo-all-menus-update Robert J. Chassell @ 2002-02-19 21:31 ` Richard Stallman 0 siblings, 0 replies; 5+ messages in thread From: Richard Stallman @ 2002-02-19 21:31 UTC (permalink / raw) Cc: wl, emacs-devel I favor menu entries with descriptions. Consequently, I have changed my mind and suggest treating the current functionality as a feature rather than as a bug. The argument seems reasonable--could you document this in thefunction's doc string? _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-02-19 21:31 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <20020205.090225.69697435.wl@gnu.org> 2002-02-07 9:21 ` texinfo-all-menus-update Robert J. Chassell 2002-02-17 15:56 ` calendar: trailing whitespace (Re: texinfo-all-menus-update) Karl Eichwalder 2002-02-17 17:45 ` Karl Eichwalder 2002-02-18 15:51 ` texinfo-all-menus-update Robert J. Chassell 2002-02-19 21:31 ` texinfo-all-menus-update Richard Stallman
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.