X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/9e69cb054d5c124bdf913c82453518ac4d9d6d53..837a390a91191e20dfe8684eee0849edc28ebc8f:/doc/lispref/tips.texi diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi index bf3afcf53e..c0f6c0355e 100644 --- a/doc/lispref/tips.texi +++ b/doc/lispref/tips.texi @@ -1,7 +1,6 @@ @c -*-texinfo-*- @c This is part of the GNU Emacs Lisp Reference Manual. -@c Copyright (C) 1990, 1991, 1992, 1993, 1995, 1998, 1999, 2001, 2002, -@c 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 +@c Copyright (C) 1990-1993, 1995, 1998-1999, 2001-2012 @c Free Software Foundation, Inc. @c See the file elisp.texi for copying conditions. @setfilename ../../info/tips @@ -204,12 +203,6 @@ defined as the first argument. That will help various tools find the definition automatically. Avoid constructing the names in the macro itself, since that would confuse these tools. -@item -Please keep the names of your Emacs Lisp source files to 13 characters -or less. This way, if the files are compiled, the compiled files' names -will be 14 characters or less, which is short enough to fit on all kinds -of Unix systems. - @item In some other systems there is a convention of choosing variable names that begin and end with @samp{*}. We don't use that convention in Emacs @@ -256,7 +249,8 @@ file if you distribute copies. Use a notice like this one: ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see . +;; along with this program. If not, see +;; . @end smallexample If you have signed papers to assign the copyright to the Foundation, @@ -325,6 +319,10 @@ The reason for this rule is that a non-prefix binding for @key{ESC} in any context prevents recognition of escape sequences as function keys in that context. +@item +Similarly, don't bind a key sequence ending in @key{C-g}, since that +is commonly used to cancel a key sequence. + @item Anything which acts like a temporary mode or state which the user can enter and leave should define @kbd{@key{ESC} @key{ESC}} or @@ -1115,7 +1113,3 @@ This is the @dfn{footer line}; it appears at the very end of the file. Its purpose is to enable people to detect truncated versions of the file from the lack of a footer line. @end table - -@ignore - arch-tag: 9ea911c2-6b1d-47dd-88b7-0a94e8b27c2e -@end ignore