1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00
Commit Graph

2649 Commits

Author SHA1 Message Date
Peter Oliver
fc72b15c77 Add perl-indent-parens-as-block option (tiny change)
* lisp/progmodes/perl-mode.el (perl-indent-parens-as-block): New option.
(perl-calculate-indent): Respect it.

Fixes: debbugs:11118
2012-04-16 19:46:22 -07:00
Glenn Morris
e5a3606344 * src/dired.c (Fsystem_users): Doc fix.
* etc/NEWS: Mention system-users, system-groups.
2012-04-16 21:35:15 -04:00
Chong Yidong
c505aaeb00 Call imagemagick-register-types automatically.
* lisp/image.el (imagemagick--extension-regexp): New variable.
(imagemagick-register-types): Use it.
(imagemagick-types-inhibit): Add :set function.  Allow new value
of t to inhibit all types.

* lisp/loadup.el (fboundp): Preload regexp-opt, needed by
imagemagick-register-types.

* lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
so we can preload it.
2012-04-16 11:47:43 +08:00
Chong Yidong
5dd1713eeb * bindings.el (goto-map): Bind goto-char to M-g c.
Fixes: debbugs:11240
2012-04-15 17:16:50 +08:00
Michal Nazarewicz
29734c2156 Allow using `server-auth-key' to set a permanent shared key
* server.el (server-auth-key): New variable.
(server-generate-key): New function.
(server-get-auth-key): New function.
(server-start): Use the new variable and functions to allow
setting a permanent server key.

Fixes: debbugs:9423
2012-04-14 13:16:17 +02:00
Stefan Monnier
ab036cd7bd * lisp/progmodes/which-func.el (which-func-modes): Change default. 2012-04-13 22:31:50 -04:00
Masatake YAMATO
09b95ce39b Make `C-M-f' and friends work better when prompting for file names
* minibuffer.el (minibuffer-local-filename-syntax): New variable
to allow `C-M-f' and `C-M-b' to move to the nearest path
separator.
2012-04-13 23:43:03 +02:00
Thierry Volpiatto
0f84437ba2 Allow further `mouse-avoidance-mode' customisations
* avoid.el (mouse-avoidance-banish-position): New variable.
(mouse-avoidance-banish-destination): Use it.
2012-04-13 23:15:22 +02:00
Reuben Thomas
c25df26eff * src/indent.c (Fmove_to_column): Change interactive spec. 2012-04-13 14:20:39 +08:00
Glenn Morris
82f289a4ef Obsolete lisp/mail/mailpost.el 2012-04-12 19:47:13 -04:00
Chong Yidong
d57de7fe59 Note obsolescence of mouse-sel.el in NEWS. 2012-04-11 15:06:42 +08:00
Lars Magne Ingebrigtsen
b245988452 Make erc use auth-source to look up channel keys
* lisp/erc/erc-join.el (erc-server-join-channel): New function to look up
the channel password via auth-source.
(erc-autojoin-channels): Use it.
(erc-autojoin-after-ident): Ditto.
(erc-autojoin-channels-alist): Mention auth-source.
2012-04-10 06:43:35 +02:00
Chong Yidong
b4d3bc10dc Remove defining user variables via * in docstring.
* lisp/apropos.el (apropos-variable):
* lisp/files-x.el (read-file-local-variable):
* lisp/simple.el (set-variable):
* lisp/woman.el (woman-mini-help):
* lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.

* lisp/custom.el (custom-variable-p): Return nil for non-symbol
arguments instead of signaling an error.
(user-variable-p): Obsolete alias for custom-variable-p.

* lisp/erc/erc.el (erc-cmd-SET): Call custom-variable-p instead of
user-variable-p.

* src/callint.c (Finteractive, Fcall_interactively):
* src/minibuf.c (Fread_variable): Callers changed.

* src/eval.c (Fuser_variable_p, user_variable_p_eh)
(lisp_indirect_variable): Functions deleted.
(Fdefvar): Caller changed.

* doc/lispref/commands.texi (Interactive Codes):
* doc/lispref/help.texi (Accessing Documentation):
* doc/lispref/minibuf.texi (High-Level Completion): Callers changed.

* doc/lispref/customize.texi (Variable Definitions): Remove user-variable-p.
2012-04-09 20:36:01 +08:00
Glenn Morris
e5fcdb5e92 Look for leim-list.el files in fewer places at startup
* lisp/startup.el (normal-top-level):
Don't look for leim-list.el in places where it will not be found.

Fixes: debbugs:910
2012-04-08 23:58:41 -07:00
Glenn Morris
a1ed8b05ee Add emacs-bzr-version
* lisp/version.el (emacs-bzr-get-version): New function.
* lisp/loadup.el (emacs-bzr-version): Set it. 
* lisp/mail/emacsbug.el (report-emacs-bug): Include bzr version.

* etc/NEWS: Mention this, though it is not really relevant to releases.
Insert template for 24.2 release.

Fixes: debbugs:8054
2012-04-07 12:51:51 -07:00
Eli Zaretskii
9078ead6ce Support building on MS-Windows with libxml2.
src/makefile.w32-in (OBJ2): Add xml.$(O).
 (GLOBAL_SOURCES): Add xml.c.
 ($(BLD)/xml.$(O)): New dependency list.
 src/xml.c (DEF_XML2_FN, LOAD_XML2_FN) [WINDOWSNT]: New macros.
 (fn_htmlReadMemory, fn_xmlReadMemory, fn_xmlDocGetRootElement)
 (fn_xmlFreeDoc, fn_xmlCleanupParser, fn_xmlCheckVersion)
 [!WINDOWSNT]: New macros.
 (init_libxml2_functions, libxml2_loaded_p): New functions.
 (parse_region): Call fn_xmlCheckVersion instead of using the macro
 LIBXML_TEST_VERSION.  Call libxml2 functions via the fn_* macros.
 (xml_cleanup_parser): New function, export for fn_xmlCleanupParser.
 Calls xmlCleanupParser only if libxml2 was loaded (or statically
 linked in).
 (Flibxml_parse_html_region, Flibxml_parse_xml_region): Call
 init_libxml2_functions before calling libxml2 functions.
 (syms_of_xml) <Qlibxml2_dll>: DEFSYM it.
 src/emacs.c: Don't include libxml/parser.h.
 (shut_down_emacs): Call xml_cleanup_parser, instead of calling
 xmlCleanupParser directly.
 src/ lisp.h [HAVE_LIBXML2]: Add prototype for xml_cleanup_parser.

 nt/configure.bat: Support building with libxml2.
 nt/INSTALL:
 nt/README.W32: Add information about libxml2.

 lisp/term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.

 lib-src/makefile.w32-in (obj): Add xml.o.
2012-04-07 16:57:36 +03:00
Chong Yidong
91b65361ae * doc/lispref/anti.texi (Antinews): Rewrite for Emacs 23.
* etc/NEWS: Some minor rearrangement.
2012-04-05 22:47:41 +08:00
Glenn Morris
2c7191889d NEWS typo fix and punctuation tweaks 2012-04-04 23:54:40 -07:00
Chong Yidong
dfdb4cadb8 NEWS copyedits. Remove +++/--- lines. 2012-04-05 12:29:22 +08:00
Michael Albinus
df5817ee10 Change doc flag for secrets.el 2012-04-04 17:32:59 +02:00
Chong Yidong
321cc491c5 Document completion-extra-properties in Lisp manual.
* doc/lispref/minibuf.texi (Programmed Completion): Remove obsolete variable
completion-annotate-function.
(Completion Variables): Rename from Completion Styles.  Document
completion-extra-properties.  Document completion-styles-alist
change.

* lisp/minibuffer.el (completion-extra-properties): Doc fix.
2012-04-04 17:19:32 +08:00
Chong Yidong
3d439cd10f Several miscellaneous doc changes.
* doc/lispref/display.texi (Delayed Warnings): New node.

* doc/misc/gnus-faq.texi (FAQ 8-2): Mention EasyPG.

* doc/misc/gnus.texi: Reduce references to obsolete pgg library.
(Security): Note that epg is now the default.

* doc/misc/message.texi (Using PGP/MIME): Note that epg is now the default.

* doc/misc/nxml-mode.texi (Completion): C-RET is no longer bound to
nxml-complete.

* lisp/subr.el (delayed-warnings-hook): Doc fix.

* src/keyboard.c (Vdelayed_warnings_list): Doc fix.
2012-04-04 15:54:02 +08:00
Glenn Morris
c8d59ba3ed Fix NEWS typo 2012-04-04 00:29:06 -07:00
Michael Albinus
425a25f190 Change doc flag for D-Bus 2012-04-03 15:44:41 +02:00
Chong Yidong
7d301ae648 Reorder and edit some NEWS entries. 2012-04-03 18:16:54 +08:00
Michael Albinus
8ce1aea8f6 Change doc flag for notifications.el and soap-client.el 2012-04-03 10:18:10 +02:00
Alan Mackenzie
551b046fc3 NEWS: Add CC Mode entries. 2012-04-02 09:59:52 +00:00
Glenn Morris
b8f84b1d9e NEWS fix. 2012-04-01 12:32:29 -07:00
Glenn Morris
5d956bc22e NEWS pedantry 2012-03-27 16:24:48 -04:00
Glenn Morris
c8f6ec5c01 Document string-prefix-p
* doc/lispref/strings.texi (Text Comparison): Mention string-prefix-p.
* etc/NEWS: Belated entry.
2012-03-21 23:21:28 -07:00
Chong Yidong
fb5b8aca99 Updates to Display chapter of Lisp manual.
* doc/lispref/display.texi (The Echo Area): Add xref to Output Streams.
(Displaying Messages): Improve doc of message.
(Echo Area Customization, Invisible Text): Copyedits.
(Invisible Text): Mention that spec comparison is done with eq.
(Width): Improve doc of char-width.
(Faces): Recommend using symbol instead of string for face name.
Minor clarifications.
(Defining Faces): Copyedits.  Update face example.
(Attribute Functions): Mark set-face-foreground etc as commands.
(Face Remapping): Mention text-scale-adjust.  Clarify
face-remapping-alist and related docs.
(Face Functions): Don't document make-face or copy-face.

* lisp/faces.el (make-face, make-empty-face, copy-face):
* lisp/face-remap.el (face-remap-add-relative, face-remap-set-base):
Doc fixes.

* src/xfaces.c (Vface_remapping_alist): Doc fix.
2012-03-21 15:02:13 +08:00
Glenn Morris
f66eca265d NEWS 2012-03-15 20:57:00 -04:00
Glenn Morris
37576acd4a Adjust NEWS entry for recent change 2012-03-13 09:15:51 -07:00
Glenn Morris
6ea7151ba6 Mention bulgarian-alt-phonetic in NEWS 2012-03-13 00:22:12 -07:00
Paul Eggert
f003f29445 Spelling fixes. 2012-03-12 15:35:55 -07:00
Chong Yidong
5d1ac394e1 Adapt nXML mode to Emacs 24 completion scheme.
* lisp/nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET.
(nxml-completion-at-point-function): New function.
(nxml-mode): Use it.
(nxml-bind-meta-tab-to-complete-flag): Default to t.

Fixes: debbugs:6776
2012-03-12 11:58:20 +08:00
Chong Yidong
483ab23014 More updates to Text chapter of Lisp manual.
* doc/lispref/text.texi (Mode-Specific Indent): Document new behavior of
indent-for-tab-command.  Document tab-always-indent.
(Special Properties): Copyedits.
(Checksum/Hash): Improve secure-hash doc.  Do not recommend MD5.
(Parsing HTML/XML): Rename from Parsing HTML.  Update doc of
libxml-parse-html-region.
2012-03-08 13:27:03 +08:00
Chong Yidong
10607bea34 Tweaks to count-words and count-words-region behavior.
In particular, make count-words more analogous to the existing
count-lines function.

* lisp/simple.el (count-words): If called from Lisp, return the word
count, for symmetry with `count-lines'.  Arglist changed.
(count-words--message): Args changed.  Consolidate counting code
from count-words and count-words-region.
(count-words-region): Caller changed.
(count-lines-region): Make it an obsolete alias.
2012-03-05 14:10:11 +08:00
Chong Yidong
50ab02c5cc etc/NEWS: Mention impact of old-style backquotes on key sequences. 2012-03-05 11:13:46 +08:00
Chong Yidong
a08a07e339 Update Frames chapter of Lisp manager. Document clipboard manager.
* doc/emacs/killing.texi (Clipboard): Document clipboard manager.

* doc/lispref/windows.texi (Basic Windows, Coordinates and Windows)
(Coordinates and Windows):
* display.texi (Refresh Screen, Line Height, Face Attributes)
(Overlay Arrow, Beeping, Glyphless Chars): Likewise.

* doc/lispref/frames.texi (Frames): Remove little-used "terminal frame" and
"window frame" terminology.
(Frame Parameters, Font and Color Parameters, Initial Parameters)
(Size and Position, Visibility of Frames): Callers changed.
(Frames): Clarify which terminals in framep are graphical.
(Initial Parameters): --geometry is not the only option which adds
to initial-frame-alist.
(Position Parameters): Note that icon-left and icon-top are for
old window managers only.
(Size Parameters): Sizes are in characters even on graphical
displays.
(Management Parameters): Note that window-id and outer-window-id
can't really be changed, and that auto-raise isn't always obeyed.
(Cursor Parameters): Document cursor-type explicitly.
(Size and Position): The aliases set-screen-height and
set-screen-width have been deleted.
(Visibility of Frames): Mention "minimization".

* doc/lispref/os.texi (Startup Summary): Minor clarifications.
(Startup Summary, Suspending Emacs): Standardize on "text
terminal" terminology.
2012-03-04 14:50:18 +08:00
Glenn Morris
520f242512 Some lispref/internals.texi updates
* doc/lispref/internals.texi: Change @appendix section commands to @section
(both forms are equivalent; just being consistent with the rest of lispref).
(Building Emacs): Say less about CANNOT_DUMP platforms.
Replace deleted eval-at-startup with custom-initialize-delay.
* etc/NEWS: Mention eval-at-startup.
2012-03-02 21:45:21 -05:00
Glenn Morris
9e6b87a6d1 NEWS fix 2012-02-28 20:31:55 -08:00
Glenn Morris
a34baa83cc NEWS markup 2012-02-27 23:33:01 -08:00
David Engster
c2c792605f Add NEWS entry about update-directory-autoloads change.
Fixes: debbugs:10396
2012-02-26 17:52:09 +08:00
Chong Yidong
ad7c802c9c Add NEWS entry about change to drag and drop behavior on Mac OS. 2012-02-26 17:17:07 +08:00
Chong Yidong
d268b4fe42 Update Backups chapter of Lisp manual.
* doc/lispref/backups.texi (Making Backups): Mention default value of backup-directory-alist.
(Rename or Copy): Note that backup-by-copying-when-mismatch is t.
(Auto-Saving): New minor mode behavior for auto-save-mode.
(Reverting): Add defvar for revert-buffer-in-progress-p.
2012-02-25 17:32:33 +08:00
Glenn Morris
ec70a47da9 Fix previous change files.el change 2012-02-24 14:25:38 -05:00
Glenn Morris
feb8a83af7 Add missing NEWS entry for feature appearing during feature freeze 2012-02-23 14:47:27 -05:00
Juri Linkov
0bd1e07406 * lisp/isearch.el (isearch-occur): Sync interactive spec with occur's
new feature in `occur-read-primary-args'.  Doc fix. 

* etc/NEWS: Add new "collect" feature of `occur'.

Fixes: debbugs:10705
2012-02-23 02:36:49 +02:00
Chong Yidong
0b19b28121 Reorganize some NEWS items. 2012-02-19 12:44:03 +08:00