1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 06:50:46 -08:00
Commit graph

3832 commits

Author SHA1 Message Date
Eduard Wiebe
c5b0993e5f Extend flymake's warning predicate to be a function. Test suite for flymake.
* lisp/progmodes/flymake.el (flymake-warning-predicate): New.
(flymake-parse-line): Use it.
(flymake-warning-re): Make obsolete alias to
`flymake-warning-predicate'.
* doc/misc/flymake.texi (Parsing the output, Customizable variables):
Add reference to `flymake-warning-predicate'.
* test/automated/flymake-tests.el:
* test/automated/flymake/warnpred/Makefile
* test/automated/flymake/warnpred/test.c
* test/automated/flymake/warnpred/test.pl: New files.

Fixes: debbugs:14217
2013-06-21 10:36:13 -04:00
Glenn Morris
d1f7f5a0d9 Remove obsolete comments re postscript image printing 2013-06-20 19:17:37 -07:00
Paul Eggert
89561f72e5 Add log2 support and make log10 obsolete for consistency.
* configure.ac (log2): Check for this function.
* doc/lispref/numbers.texi (Math Functions): Remove obsolete function log10.
* lisp/subr.el (log10): Move here from C code, and declare as obsolete.
All uses of (log10 X) replaced with (log X 10).
* src/floatfns.c (Flog) [HAVE_LOG2]: Use log2 if available and if the
base is 2; this is more accurate.
(Flog10): Move to Lisp (marked obsolete there).
2013-06-20 07:15:42 -07:00
Juanma Barranquero
4f40506961 Fix typos in ChangeLogs. 2013-06-19 22:10:57 +02:00
Stefan Monnier
9716fedb62 * doc/lispref/keymaps.texi (Active Keymaps): Fix documentation of
set-temporary-overlay-map and overriding-terminal-local-map.
* doc/lispref/modes.texi (Mode Line Data, Properties in Mode): Advertise
`keymap' rather than `local-map'.
2013-06-19 09:51:47 -04:00
Michael Albinus
d6491e24dd * tramp.texi (Top, Configuration): Insert section `Predefined
connection information' in menu.
(Predefined connection information): New section.
(Android shell setup): Make a reference to `Predefined connection
information'.
2013-06-19 15:21:15 +02:00
Glenn Morris
09af5c3e89 Add make dist rule for doc/misc/Makefile, for www.gnu.org
* doc/misc/Makefile.in (version): New, set by configure.
(clean): Delete dist tar file.
(infoclean): New, split from maintainer-clean.
(maintainer-clean): Run infoclean.
(dist): New rule, to make tarfile for www.gnu.org.
2013-06-19 00:01:22 -07:00
Glenn Morris
fc4893ebe8 Tweak regexp in previous doc/*/Makefile.in change, make error fatal 2013-06-18 23:41:37 -07:00
Glenn Morris
789cf83370 Edit more configure variables in doc make dist rules.
* doc/emacs/Makefile.in (dist):
* doc/lispintro/Makefile.in (dist):
* doc/lispref/Makefile.in (dist): Edit more configure variables.
Try to check that we do not miss any in future.

Fixes: debbugs:14660
2013-06-18 20:49:26 -07:00
Juanma Barranquero
254408ca2e doc/lispref/text.texi (Undo, Changing Properties): Fix typos. 2013-06-17 17:49:43 +02:00
Lars Magne Ingebrigtsen
708e05f6d1 Implement new function `add-face-text-property'
* doc/lispref/text.texi (Changing Properties): Document `add-face-text-property'.

* src/textprop.c (property_set_type): New enum.
(add_properties): Allow appending/prepending text properties.
(add_text_properties_1): Factored out of Fadd_text_properties.
(Fadd_text_properties): Moved all the code into
add_text_properties_1.
(Fadd_face_text_property): New function that calls
add_text_properties_1.
2013-06-17 17:28:22 +02:00
Kenichi Handa
2c149f93b4 lispref/ChangeLog: Add bug ID to the previous change. 2013-06-18 00:07:45 +09:00
Kenichi Handa
3da95318a7 display.texi (Face Attributes): Refer to "Low-Level font" (not "Font Selection") in the explanation of :font attribute. 2013-06-18 00:04:50 +09:00
Albert Krewinkel
745b097bf7 lisp/gnus/sieve.el: Rebind q to (sieve-bury-buffer), bind Q to (sieve-manage-quit)
doc/misc/sieve.texi: (Managing Sieve): Fix port in example, fix documentation for keys q and Q
(Standards): Reference RFC5804 as the defining document of the managesieve protocol
2013-06-14 09:48:49 +00:00
Xue Fuqiao
99c8128098 ChangeLog fix. 2013-06-14 06:43:33 +08:00
Xue Fuqiao
cd0527a418 ChangeLog fix. 2013-06-14 06:33:43 +08:00
Stefan Monnier
de0503df97 * lisp/subr.el (with-eval-after-load): New macro.
(eval-after-load): Allow form to be a function.
take advantage of lexical-binding.
(do-after-load-evaluation): Use dolist and adjust to new format.
* lisp/simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
* doc/lispref/loading.texi (Hooks for Loading): Document with-eval-after-load
instead of eval-after-load.  Don't document after-load-alist.
* src/lread.c (syms_of_lread):
* src/fns.c (Fprovide): Adjust to new format of after-load-alist.
2013-06-13 18:24:52 -04:00
Xue Fuqiao
6186a2767f Merge from mainline. 2013-06-12 20:12:47 +08:00
Xue Fuqiao
823777b533 Make the example more intuitive.
* doc/lispref/files.texi (File Name Expansion): Make the example more
  intuitive.
2013-06-11 19:37:56 +08:00
Glenn Morris
9102c47ad2 * doc/emacs/maintaining.texi (VC Directory Commands): Copyedit.
(Branches): Put back milder version of pre 2013-06-07 text.
2013-06-10 23:42:15 -07:00
Paul Eggert
08c0a604a2 Documentation fix for 'ls' and hard links.
* compile.texi (Compilation Functions):
* files.texi (File Attributes, Changing Files):
Use current format for GNU 'ls' output.
(File Attributes): Fix problem introduced in previous change:
the link count is the number of hard links, not the number
of hard links + 1.
2013-06-10 13:26:20 -07:00
Xue Fuqiao
e4568f3bc5 * doc/lispref/files.texi (File Attributes): Fix typo. 2013-06-10 19:19:12 +08:00
Katsumi Yamaoka
2c71cd647b doc/misc/epa.texi: Revert last bogus change 2013-06-10 05:22:52 +00:00
Roy Hashimoto
d058863a12 lisp/gnus/mm-view.el (mm-pkcs7-signed-magic, mm-pkcs7-enveloped-magic): Correct PKCS7 regexps to match messages with 0x0a bytes 2013-06-10 05:17:51 +00:00
Aidan Gauland
fa4729064f Update Ehsell visual-commands documentation
* eshell.texi (Input/Output): Expand to cover new visual-command
options, eshell-visual-subcommands and eshell-visual-options.
Divide into separate Visual Commands and Redirection sections.
* eshell/em-term.el (eshell-visual-commands)
(eshell-visual-subcommands)
(eshell-visual-options): Add summary line to docstrings.  Add
cross-references.
2013-06-10 14:41:49 +12:00
Glenn Morris
ff4871b986 * lisp/epa.el (epa-read-file-name): New function.
(epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.

* doc/misc/epa.texi (Cryptographic operations on files): Update epa-decrypt-file.

Fixes: debbugs:14510
2013-06-09 17:32:49 -07:00
Xue Fuqiao
8d0b26f65d Minor doc fix.
* lisp/vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
* lisp/vc/vc-hooks.el (vc-stay-local): Doc fix.
* doc/emacs/vc1-xtra.texi (CVS Options): Fix the default value of
  `vc-cvs-stay-local'.
2013-06-09 19:15:54 +08:00
Xue Fuqiao
2bc4a7255d * doc/emacs/vc1-xtra.texi (Revision Tags): Add a cross reference. 2013-06-09 17:20:49 +08:00
Xue Fuqiao
04362df8bb * maintaining.texi (Branches): Remove text copied from other sources. 2013-06-07 22:00:27 +08:00
Juri Linkov
d2bf7a98a2 Add bug#9706. 2013-06-06 08:35:01 +03:00
Alan Mackenzie
80fa505f89 * isearch.el (isearch-allow-prefix): New user option.
(isearch-other-meta-char): don't exit isearch when a prefix
        argument is typed whilst `isearch-allow-prefix' is non-nil.

        * search.texi (Isearch Scroll): Rename to "Not Exiting Isearch".
        (Net Exiting Isearch): Document new user option
        `isearch-allow-prefix'.

	* etc/NEWS.  Entry for this change.
2013-06-05 20:57:09 +00:00
Katsumi Yamaoka
cdebc6dd0b gnus.texi (Article Date): Fix description of gnus-article-update-date-headers 2013-06-04 08:43:07 +00:00
Xue Fuqiao
c362f19508 Merge from mainline. 2013-06-04 07:34:27 +08:00
Michael Albinus
2041ae1fa7 * cmdargs.texi (General Variables): Use "unix:path=/dev/null" as
dummy value for $DBUS_SESSION_BUS_ADDRESS.  It also suppresses
autolaunching of the D-Bus session bus.
2013-06-03 14:25:39 +02:00
Juri Linkov
e5e4a94293 Search and highlight symbol at point.
* doc/emacs/display.texi (Highlight Interactively): Add global keybindings
with the key prefix `M-s h'.  Document old command `highlight-phrase'.
Document new command `highlight-symbol-at-point'.

* lisp/bindings.el (search-map): Bind `highlight-symbol-at-point' to
`M-s h .'. 

* lisp/hi-lock.el (highlight-symbol-at-point): New alias for the new
command `hi-lock-face-symbol-at-point'.
(hi-lock-face-symbol-at-point): New command.
(hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
(hi-lock-menu): Add `highlight-symbol-at-point'.
(hi-lock-mode): Doc fix.

* lisp/isearch.el (isearch-forward-symbol-at-point): New command.
(search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
(isearch-highlight-regexp): Add a regexp which matches
words/symbols for word/symbol mode.

* lisp/subr.el (find-tag-default-bounds): New function with the body
mostly moved from `find-tag-default'.
(find-tag-default): Move most code to `find-tag-default-bounds',
call it and apply `buffer-substring-no-properties' afterwards.

Fixes: debbugs:14427
2013-06-03 11:51:50 +03:00
Xue Fuqiao
9c3b7be764 Refine docs of VC.
* maintaining.texi (VC Mode Line): Fix typo.
(VC Directory Commands): Mention `vc-dir-hide-up-to-date' with
prefix argument.
2013-06-02 19:56:39 +08:00
Xue Fuqiao
67a3c09b08 * maintaining.texi (Branches): Add motivations for branching. 2013-06-02 19:50:47 +08:00
Glenn Morris
f46305c86c Merge from emacs-24; up to 2012-12-27T20:09:45Z!juri@jurta.org 2013-06-01 13:21:22 -07:00
Xue Fuqiao
bee07d4ff7 Refine maintaining.texi.
* maintaining.texi (Types of Log File): Supplement some information of
change log files.
2013-05-30 17:27:55 +08:00
Stefan Monnier
a5cf7779bc * doc/lispref/functions.texi (Lambda Expressions): Lambda expressions don't
evaluate to themselves in general.

Fixes: debbugs:11782
2013-05-28 20:24:50 -04:00
Xue Fuqiao
962e44a542 * erc.texi (Special Features): ERC is being maintained within Emacs
now.  (See
http://lists.gnu.org/archive/html/erc-discuss/2012-10/msg00000.html)
2013-05-28 09:05:41 +08:00
Xue Fuqiao
5d028165ea Refine the documentation of Flymake
* progmodes/flymake.el (flymake-save-buffer-in-file)
(flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
(flymake-selected-frame, flymake-log, flymake-ins-after)
(flymake-set-at, flymake-get-buildfile-from-cache)
(flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
(flymake-find-possible-master-files, flymake-save-buffer-in-file):
Refine the doc string.
(flymake-get-file-name-mode-and-masks): Reformat.
(flymake-get-real-file-name-function): Fix a minor bug.

* flymake.texi: Changing from one space between sentences to two.
2013-05-25 09:26:12 +08:00
Glenn Morris
fc5b3b95d5 * doc/emacs/programs.texi (Semantic): Fix typo. 2013-05-23 15:12:10 -04:00
Adam Sjøgren
172f73b1e1 doc/misc/gnus.texi (Fancy Mail Splitting): Fix missing backslash on \\& 2013-05-19 22:47:25 +00:00
Juri Linkov
6d65486d64 * lisp/isearch.el (minibuffer-local-isearch-map): Bind "\r" to `exit-minibuffer'
instead of `isearch-nonincremental-exit-minibuffer'.
(isearch-edit-string): Remove mention of
`isearch-nonincremental-exit-minibuffer' from docstring.
(isearch-nonincremental-exit-minibuffer): Mark as obsolete.
(isearch-forward-exit-minibuffer)
(isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)

* doc/emacs/search.texi (Repeat Isearch): Mention key `RET' to finish
editing the string.
2013-05-16 02:14:18 +03:00
Stefan Monnier
6e911150d0 Use just DOC instead of DOC-nn.mm.
* lisp/loadup.el: Just use unversioned DOC.
* Makefile.in (install-doc): DOC file is not version specific any more.
* .bzrignore: Don't ignore DOC-* any more.
* admin/quick-install-emacs: Don't prune DOC-* files a any more.
* doc/lispref/loading.texi (Autoload):
* doc/lispref/help.texi (Documentation Basics, Accessing Documentation)
(Accessing Documentation, Accessing Documentation): DOC-* is now DOC.
* etc/.gitignore: Don't ignore DOC-* any more.
* lib-src/makefile.w32-in ($(DOC)): Use DOC rather than DOC-X.
* msdos/sed1x.inp: Don't rewrite DOC any more.
* nt/makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
* src/Makefile.in (bootstrap-clean): DOC-* doesn't exist any more.
* src/makefile.w32-in (DOC): Use just "DOC".
2013-05-15 16:12:53 -04:00
Glenn Morris
27c8b6eb73 Make sup-mouse.el obsolete
* doc/emacs/ack.texi (Acknowledgments): Don't mention obsolete sup-mouse.el.

* term/sup-mouse.el: Move to obsolete/.

* etc/NEWS: Mention this.
2013-05-13 22:04:02 -04:00
Glenn Morris
2d809ffafd Merge from emacs-24; up to 2012-12-27T17:59:21Z!rgm@gnu.org 2013-05-08 19:44:12 -07:00
Glenn Morris
3bcc28ed64 Fix some doc/emacs typos
* doc/emacs/sending.texi (Mail Sending): Fix typo.

* doc/emacs/windows.texi (Change Window): Fix typo.
2013-05-07 20:49:29 -07:00
Glenn Morris
90ed99d54c * doc/emacs/custom.texi (Changing a Variable): Fix typo. 2013-05-06 23:43:34 -07:00