Paul Eggert
dcd812be6a
Specify info encoding and language.
...
* emacs.texi, emacs-xtra.texi:
* emacs-lisp-intro.texi:
* back.texi, book-spine.texi, elisp.texi, lay-flat.texi:
* ada-mode.texi, auth.texi, autotype.texi, bovine.texi, calc.texi:
* cc-mode.texi, cl.texi, dbus.texi, dired-x.texi, ebrowse.texi:
* ede.texi, ediff.texi, edt.texi, efaq-w32.texi, efaq.texi:
* eieio.texi, emacs-gnutls.texi, emacs-mime.texi, epa.texi, erc.texi:
* ert.texi, eshell.texi, eudc.texi, flymake.texi, forms.texi:
* gnus-coding.texi, gnus-faq.texi, gnus.texi, htmlfontify.texi:
* idlwave.texi, ido.texi, info.texi, mairix-el.texi, message.texi:
* mh-e.texi, newsticker.texi, nxml-mode.texi, octave-mode.texi:
* org.texi, pcl-cvs.texi, pgg.texi, rcirc.texi, reftex.texi:
* remember.texi, sasl.texi, sc.texi, semantic.texi, ses.texi:
* sieve.texi, smtpmail.texi, speedbar.texi, srecode.texi:
* todo-mode.texi, tramp.texi, url.texi, vip.texi, viper.texi:
* widget.texi, wisent.texi, woman.texi:
Add @documentencoding, @documentlanguage as needed.
Fixes: debbugs:16292
2013-12-29 19:19:25 -08:00
Glenn Morris
c0e8f6a9ea
* emacs-lisp-intro.texi: Use @quotation for license notice.
2013-12-29 19:08:09 -08:00
Paul Eggert
a560b856b1
Plain copy-file no longer chmods an existing destination.
...
* doc/lispref/files.texi (Changing Files): Document this.
* etc/NEWS: Document this.
* src/fileio.c (realmask): Now a static var, not a local.
(barf_or_query_if_file_exists): New arg KNOWN_TO_EXIST.
Remove arg STATPTR. All uses changed.
(Fcopy_file): Do not alter permissions of existing destinations,
unless PRESERVE-PERMISSIONS (renamed from
PRESERVE-EXTENDED-ATTRIBUTES) is non-nil.
Avoid race when testing for existing destinations and for
when input and output files are the same.
If changing the group fails, adjust both default and
preserved permissions so that access is not granted to the
wrong group.
(Fset_default_file_modes, init_fileio): Update realmask.
(Fdefault_file_modes): Use realmask instead of calling umask.
Fixes: debbugs:16133
2013-12-29 10:18:45 -08:00
Chong Yidong
4364185f73
Doc updates
...
* buffers.texi (Modification Time): Document visited-file-modtime change.
* modes.texi (Auto Major Mode): Document interpreter-mode-alist change.
2013-12-28 12:30:19 +08:00
Glenn Morris
2545413005
Tweak previos change
2013-12-27 16:48:28 -08:00
Glenn Morris
c04d52fbc9
* doc/lispref/control.texi (Pattern matching case statement): Brevity.
2013-12-27 16:47:15 -08:00
Glenn Morris
ad15bd74e4
* doc/emacs/trouble.texi (Understanding Bug Reporting): Brevity.
...
ChangeLog fix.
2013-12-27 16:42:59 -08:00
Glenn Morris
8449dd1f65
authors.el updates and ChangeLog fixes
...
* lisp/emacs-lisp/authors.el (authors-ignored-files)
(authors-valid-file-names, authors-renamed-files-alist): Additions.
2013-12-27 16:31:33 -08:00
Jarek Czekalski
fdadeb4997
Shell completion for filenames from current directory, related docs.
...
* lisp/shell.el Shell completion now matches executable filenames from
the current buffer's directory, on systems in which this behaviour
is the default (windows-nt, ms-dos).
* src/callproc.c (Vexec_path): Document that exec-directory is in it.
* doc/emacs/mini.texi (Completion Options): Add a link to Shell Options.
* doc/emacs/misc.texi (Shell Mode): Move documentation of
shell-completion-fignore from Shell Mode to Shell Options.
Fixes: debbugs:15461
2013-12-27 21:58:21 +01:00
Chong Yidong
0f1d29342f
More doc updates
...
* commands.texi (Reading One Event): Mention keyboard coding.
* functions.texi (Function Cells):
* eval.texi (Function Indirection): Update for the fact that
symbol-function no longer signals an error.
* keymaps.texi (Translation Keymaps, Translation Keymaps):
* nonascii.texi (Terminal I/O Encoding): Copyedits.
* data.c (Fsymbol_function): Doc fix.
2013-12-27 11:38:26 +08:00
João Távora
3b8d5131a3
Make Electric Pair mode smarter/more useful:
...
* lisp/electric.el: Pairing/skipping helps preserve
balance. Autobackspacing behaviour. Opens extra newlines between
pairs. Skip whitespace before closing delimiters.
* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Use new
features.
* test/automated/electric-tests.lisp: New file.
* doc/emacs/programs.texi: Describe new features.
* lisp/simple.el: Pass non-nil interactive arg to newline call inside
newline-and-indent.
2013-12-26 22:02:49 +00:00
Chong Yidong
2200a8c91d
Update doc for advice changes.
...
* doc/lispref/advice.texi (Advising Functions, Defining Advice):
Special forms can no longer be advised.
* lisp/emacs-lisp/advice.el: Update commentary.
2013-12-26 11:27:45 +08:00
Chong Yidong
c93525876d
Doc updates for several Emacs 24.4 changes.
...
* doc/lispref/commands.texi (Event Input Misc): Document new arg to
input-pending-p.
* doc/lispref/display.texi (Font Selection): Tweak example.
* doc/lispref/keymaps.texi (Active Keymaps): Re-organize the text.
(Searching Keymaps): Rewrite the pseudo-code for 24.4 changes.
(Controlling Active Maps): Note that set-transient-map uses
overriding-terminal-local-map.
* doc/lispref/nonascii.texi (Specifying Coding Systems): Don't refer to
emacs-mule-dos.
(Lisp and Coding Systems): Describe emacs-mule return value in
modern terms.
* doc/lispref/tips.texi (Coding Conventions): Tweak the coding system tip;
Emacs now uses utf-8 by default for Emacs Lisp source files.
* doc/emacs/glossary.texi (Glossary): Define MULE in modern terms.
* src/keyboard.c (Voverriding_terminal_local_map):
(Voverriding_local_map): Doc fix.
* src/keymap.c (Vemulation_mode_map_alists): Doc fix.
2013-12-25 18:24:52 +08:00
Tassilo Horn
ff1c842a94
Rephrase lexical binding requirement sentence.
...
* doc/lispref/control.texi (Pattern matching case statement): Rephrase lexical
binding requirement: the example needs it, not `pcase' itself.
2013-12-25 10:12:24 +01:00
Chong Yidong
362397edd9
Document `eval' changes.
...
* doc/lispref/eval.texi (Eval): Document the LEXICAL arg to eval.
* doc/lispref/variables.texi (Variables, Void Variables): Use "scoping rule"
terminology consistently.
(Variable Scoping): Add index entries, and use "dynamic scope"
terminology in place of "indefinite scope" to reduce confusion.
(Lexical Binding): Document lexical environment format.
(Using Lexical Binding): Add index entries for error messages.
2013-12-25 11:05:11 +08:00
Xue Fuqiao
3a79600aa7
Doc fixes (index and comment).
2013-12-25 10:18:43 +08:00
Tassilo Horn
a956004715
Fix missing arg in pcase example.
...
* doc/lispref/control.texi (Pattern matching case statement): Fix missing
argument in simple expression language sample. Add
some sample programs written in that language. Mention that
`pcase' requires lexical binding.
Fixes: debbugs:16238
2013-12-24 16:30:59 +01:00
Xue Fuqiao
1139b0be8b
* doc/emacs/trouble.texi (Checklist): Fix a cross-reference.
2013-12-24 16:33:02 +08:00
Xue Fuqiao
65faed732b
* doc/emacs/trouble.texi (Understanding Bug Reporting): Minor update.
2013-12-24 11:07:21 +08:00
Xue Fuqiao
b7a017ad7d
* doc/emacs/regs.texi (Bookmarks): Document `bookmark-default-file'.
2013-12-23 21:17:59 +08:00
Xue Fuqiao
595c4578bd
Minor doc fixes.
...
* doc/emacs/misc.texi (Shell Mode): Add a cross-reference.
* doc/emacs/building.texi (Lisp Eval): Add an index.
2013-12-23 21:01:25 +08:00
Ted Zlatanov
a0f20f21e0
Document `gnutls-verify-error'.
...
* emacs-gnutls.texi (Help For Users): Document `gnutls-verify-error'.
2013-12-23 07:50:47 -05:00
Xue Fuqiao
2d778742a4
Document special-form-p' and macrop'.
...
* doc/lispref/eval.texi (Special Forms): Document `special-form-p'.
* doc/lispref/macros.texi (Simple Macro): Document `macrop'.
2013-12-23 19:27:29 +08:00
Xue Fuqiao
882b0b86e6
Fix an argument of `copy-file'.
...
* doc/lispref/files.texi (Changing Files): Fix an argument of `copy-file'.
2013-12-23 16:50:31 +08:00
Xue Fuqiao
46291d111f
Document TRIM in `split-string'.
...
* doc/lispref/strings.texi (Creating Strings): Document TRIM in
`split-string'.
2013-12-23 15:55:08 +08:00
Chong Yidong
8cd22a0818
Rename set-temporary-overlay-map -> set-transient-map
...
* lisp/subr.el (set-transient-map): Rename from
set-temporary-overlay-map. Doc fix.
* lisp/face-remap.el (text-scale-adjust):
* lisp/indent.el (indent-rigidly):
* lisp/kmacro.el (kmacro-call-macro):
* lisp/minibuffer.el (minibuffer-force-complete):
* lisp/repeat.el (repeat):
* lisp/simple.el (universal-argument--mode):
* lisp/calendar/todo-mode.el (todo-insert-item--next-param):
* lisp/progmodes/f90.el (f90-abbrev-start): Callers changed.
* lisp/org/org.el (orgstruct-make-binding): Call set-transient-map
instead of old name set-temporary-overlay-map.
* doc/lispref/keymaps.texi (Controlling Active Maps): Renamed
set-temporary-overlay-map to set-transient map. Doc fixes.
(Searching Keymaps): The transient keymap takes precedence.
2013-12-23 11:59:10 +08:00
Glenn Morris
aec3bf9f49
Some documenting of load-prefer-newer
...
* doc/lispref/loading.texi (How Programs Do Loading, Load Suffixes):
Mention `load-prefer-newer'.
* src/lread.c (Fload): Mention load-prefer-newer in doc.
2013-12-22 18:54:28 -08:00
Xue Fuqiao
bb962da29a
Document hash-table-keys and hash-table-values'.
...
* doc/lispref/hash.texi (Other Hash): Document `hash-table-keys and
`hash-table-values'.
2013-12-23 07:19:42 +08:00
Glenn Morris
91dedc43f2
Misc small fixes for some recent doc changes
...
* doc/emacs/calendar.texi (General Calendar):
* doc/emacs/rmail.texi (Rmail Scrolling):
* doc/misc/woman.texi (Navigation):
Use itemx where appropriate.
* doc/emacs/entering.texi (Entering Emacs): Typo fix.
2013-12-22 15:13:18 -08:00
Eli Zaretskii
569c1c6ea1
Fix last commit in doc/emacs/regs.texi.
2013-12-22 20:31:38 +02:00
Eli Zaretskii
a9877c32e3
Update UCD reference in ELisp manual.
2013-12-22 20:17:20 +02:00
Eli Zaretskii
77e5bcc52e
Fix bug #16216 with 'name' Unicode property of control characters.
...
admin/unidata/unidata-gen.el (unidata-split-name): Don't give any NAME
to <control> characters: the Unicode Standard says they have no
name.
doc/lispref/nonascii.texi (Character Properties): NAME or OLD-NAME
properties can be nil (there's no empty string).
2013-12-22 20:02:37 +02:00
Xue Fuqiao
8fc36a6803
Document new bool-vector set operation functions.
...
* doc/lispref/sequences.texi (Bool-Vectors): Document new bool-vector
set operation functions.
2013-12-22 15:11:05 +08:00
Xue Fuqiao
05e8f1ae2e
Document `get-pos-property'.
...
* doc/lispref/text.texi (Examining Properties): Document `get-pos-property'.
2013-12-22 14:25:57 +08:00
Xue Fuqiao
b345c56182
Document `enable-dir-local-variables'.
...
* doc/lispref/variables.texi (Directory Local Variables): Document `enable-dir-local-variables'.
2013-12-22 14:15:17 +08:00
Xue Fuqiao
57b837ab5f
Document negative argument of replacement commands.
...
* doc/emacs/search.texi (Special Isearch):
(Query Replace): Document negative argument of replacement commands.
2013-12-22 13:57:32 +08:00
Xue Fuqiao
07e9eaa2dc
Document `isearch-forward-symbol-at-point'.
...
* doc/emacs/search.texi (Symbol Search): Document `isearch-forward-symbol-at-point'.
2013-12-22 13:36:29 +08:00
Xue Fuqiao
8d3c54a0b2
Document image-{next, previous}-file, plus some minor tweak.
2013-12-22 13:20:03 +08:00
Xue Fuqiao
44b9b800f1
Another NEWS mark.
2013-12-22 12:55:31 +08:00
Xue Fuqiao
c9832cd810
Document `debugger-toggle-locals'.
...
* doc/lispref/debugging.texi (Debugger Commands): Document `debugger-toggle-locals'.
2013-12-22 11:36:04 +08:00
Xue Fuqiao
ced5cc2911
* doc/emacs/regs.texi (File Registers): Document `kmacro-to-register'.
2013-12-22 10:55:43 +08:00
Xue Fuqiao
2ab18afbea
Doc fix for `tab-stop-list'.
...
* doc/emacs/indent.texi (Tab Stops): Mention recent changes about `tab-stop-list'.
2013-12-22 09:56:52 +08:00
Xue Fuqiao
daef8ab140
Document `scroll-bar-adjust-thumb-portion'.
2013-12-22 09:45:13 +08:00
Chong Yidong
77221051a2
Tweak C-x TAB behavior changes, and update docs.
...
* lisp/indent.el (indent-rigidly-map): Add docstring, and move commands
into named functions.
(indent-rigidly-left, indent-rigidly-right)
(indent-rigidly-left-to-tab-stop)
(indent-rigidly-right-to-tab-stop): New functions. Decide on
indentation direction based on bidi direction, and accumulate
sequential commands in a single undo boundary.
(indent-rigidly--pop-undo): New utility function.
* doc/emacs/indent.texi (Indentation Commands): Document C-x TAB changes.
* doc/lispref/text.texi (Region Indent): Note the new interactive
behavior of indent-rigidly.
2013-12-21 16:37:08 +08:00
Tassilo Horn
eea2cba48e
Don't duplicate descriptions if there are alternative keys.
2013-12-20 21:08:56 +01:00
Tassilo Horn
3fbba716fb
Document that =, <, <=, >, >= now accept one or many arguments.
...
* doc/lispref/numbers.texi (numbers): Document that =, <, <=, >, >= now accept
one or many arguments.
2013-12-20 19:41:31 +01:00
Tassilo Horn
30aafaf516
Document S-SPC' as alternative to scrolling down with DEL'.
...
* doc/emacs/rmail.texi: Document `S-SPC' as alternative to scrolling down
with `DEL'.
* doc/emacs/calendar.texi: Ditto.
* doc/emacs/display.texi: Ditto.
* doc/emacs/help.texi: Ditto.
* doc/misc/info.texi: Document `S-SPC' as alternative to `DEL' for
scrolling.
* doc/misc/woman.texi: Ditto.
2013-12-20 17:03:12 +01:00
Tassilo Horn
7b4ec5497f
Document toggle-frame-maximized' and toggle-frame-fullscreen'.
...
* doc/emacs/frames.texi: Document `toggle-frame-maximized' and
`toggle-frame-fullscreen' with their respective keys.
2013-12-20 16:35:53 +01:00
Tassilo Horn
2cd12d2869
Document buffer name uniquification changes.
...
* doc/emacs/buffers.texi: Document buffer name uniquification changes.
2013-12-20 16:18:50 +01:00
Tassilo Horn
75a1e03471
Document that `electric-indent-mode' is enabled by default.
...
* doc/emacs/indent.texi: Document that `electric-indent-mode' is enabled by
default.
2013-12-20 15:56:23 +01:00