1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 02:10:46 -08:00
Commit graph

21629 commits

Author SHA1 Message Date
Lars Magne Ingebrigtsen
9f67961ce6 * obsolete/mouse-sel.el: Add an Obsolete-since header. 2012-04-10 19:09:34 +02:00
Juanma Barranquero
2a8ce227d0 Record and display absolute path of DLLs loaded (bug#10424).
* lisp/misc.el (list-dynamic-libraries--loaded): New function.
  (list-dynamic-libraries--refresh): Use it.

* src/w32.c (w32_delayed_load): Record the full path of the library
  being loaded.
2012-04-10 16:16:05 +02:00
Nathan Weizenbaum
8f33b5f873 `python-fill-paragraph' filling fixup when font-lock is disabled
* progmodes/python.el (python-fill-paragraph): Make
python-fill-region in a multiline string work when font-lock is
disabled.

Fixes: debbugs:7018
2012-04-10 13:27:44 +02:00
Laimonas V bra
b12f0439bf Added new charset cp775
* language/european.el (cp775): Added oem/legacy (en)coding on
DOS/MS Windows for the Baltic languages. There are still plenty of
texts written in this encoding/codepage.

Fixes: debbugs:6519
2012-04-10 13:15:11 +02:00
Glenn Morris
57c3bd0133 Remove some more "rogue" defcustoms that show up in emacs -Q
* lisp/cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2012-04-10 00:19:38 -07:00
Florian Adamsky
6c3eab3008 Two new recentf.el keybindings
* recentf.el (recentf-dialog-mode-map): Added two keybindings for
next-line "n" and previous-line "p" in order to make recentf more
consistent with ibuffer, dired or org-mode.

Fixes: debbugs:9387
2012-04-10 04:45:10 +02:00
Lars Magne Ingebrigtsen
bc72b5d984 Make `put-image' return the overlay created
* image.el (put-image): Return the overlay created instead of the
optional input string.  Note that this may break code
that is (for some reason or other) depending on `put-image'
returning the string.

Fixes: debbugs:7834
2012-04-10 04:34:57 +02:00
Lars Magne Ingebrigtsen
bd2dba5afe * mouse-sel.el (mouse-sel-mode): Mark as obsolete.
Fixes: debbugs:6174
2012-04-10 04:31:09 +02:00
Lars Magne Ingebrigtsen
74beb59f81 * simple.el (zap-to-char): Allow zapping using input methods.
Fixes: debbugs:1580
2012-04-10 04:23:21 +02:00
Lars Magne Ingebrigtsen
24d78a88ad (fill-region): Leave point and mark where they were before filling
Fixes: debbugs:5399
2012-04-10 04:06:19 +02:00
Glenn Morris
263f20cd0a emacs-bzr-get-version tweak
* lisp/version.el (emacs-bzr-get-version):
Handle lightweight checkouts of local branches.
2012-04-09 19:03:33 -04:00
Andreas Schwab
58d1f79757 Fixes: debbugs:11209
* international/characters.el: Recover lost case pairs.
2012-04-09 20:12:40 +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
fd06db5dd6 Remove ucs-set-table-for-input dead code
This function was removed with ucs-tables.el in 2008.

* lisp/international/mule-cmds.el (set-default-coding-systems):
* lisp/files.el (normal-mode):
Remove guarded calls to ucs-set-table-for-input. 

* src/buffer.c (Qucs_set_table_for_input): Remove.
(Fget_buffer_create): Don't call Qucs_set_table_for_input.
(init_buffer_once, syms_of_buffer): Remove Qucs_set_table_for_input.

Fixes: debbugs:9821
2012-04-08 17:58:00 -07:00
Eli Zaretskii
b39bb7e124 Fix invocation of Hunspell by ispell.el.
lisp/textmodes/ispell.el (ispell-check-version): For hunspell, set
 ispell-encoding8-command to "-i", without a trailing space.
 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
 separate command-line arguments, to specify the encoding, since
 that's how hunspell expects it.
2012-04-08 20:09:03 +03:00
Glenn Morris
5c5b8e2364 * lisp/loadup.el: Load bindings before cus-start.
This reduces somewhat the number of "rogue" settings in emacs -Q.

Ref: http://lists.gnu.org/archive/html/emacs-devel/2008-06/msg00083.html
2012-04-07 18:54:52 -07:00
Glenn Morris
dfae128a8a ChangeLog fix 2012-04-07 13:26:01 -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
b142f1584c Update the Unicode database and derived files for Unicode 6.1.
admin/unidata/README:
 admin/unidata/copyright.html:
 admin/unidata/BidiMirroring.txt:
 admin/unidata/UnicodeData.txt: Update for the latest version 6.1 of
 the Unicode Standard.

 lisp/international/uni-bidi.el:
 lisp/international/uni-category.el:
 lisp/international/uni-combining.el:
 lisp/international/uni-decimal.el:
 lisp/international/uni-decomposition.el:
 lisp/international/uni-digit.el:
 lisp/international/uni-lowercase.el:
 lisp/international/uni-mirrored.el:
 lisp/international/uni-name.el:
 lisp/international/uni-numeric.el:
 lisp/international/uni-titlecase.el:
 lisp/international/uni-uppercase.el: Update for Unicode 6.1.
2012-04-07 17:26:14 +03: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
Lars Magne Ingebrigtsen
f23d2c7d18 `shrink-window' doc fix
* window.el (shrink-window): Mention the `window-min-height'
variable in the doc string.
2012-04-06 00:26:20 +02:00
Bastien Guerry
0a0a3573ec Fix typo in color.el.
Thanks to Brad Town for spotting this.
2012-04-05 09:29:19 +02:00
Stefan Monnier
e5248ac91d * lisp/server.el (server--on-display-p): New function.
(server--on-display-p): Use it.
2012-04-04 13:13:00 -04:00
Gabor Vida
b4243e226b * lisp/ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p.
Fixes: debbugs:11145
2012-04-04 12:22:09 -04:00
Stefan Monnier
305d9f44b0 * lisp/comint.el (comint--common-quoted-suffix): Check string boundary
before comparing.
* lisp/pcomplete.el (pcomplete--common-quoted-suffix): Idem.

Fixes: debbugs:11158
2012-04-04 12:06:59 -04: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
Daiki Ueno
2d562c0fbb epa: bind C-c C-c to finish key selection. 2012-04-04 10:38:37 +09:00
Richard M. Stallman
4443f2045b report-emacs-bug: cope with read-only signature. 2012-04-03 21:05:29 -04:00
Chong Yidong
529c06b6cb Two minor doc/consistency fixes.
* doc/emacs/sending.texi (Mail Misc): Fix an index entry.

* lisp/mail/sendmail.el (mail-mode-map): Bind C-c C-i to
mail-insert-file, not its obsolete alias mail-attach-file.
2012-04-03 18:21:47 +08:00
Michael Albinus
66b907dcb2 * notifications.el (notifications-notify): Fix docstring. 2012-04-03 09:20:32 +02:00
Glenn Morris
c0ea195db9 * emacs-lisp/authors.el (authors-aliases): Another addition. 2012-04-02 09:32:06 -07:00
Michael Albinus
5ca64e000c * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
`tramp-compat-call-process' instead of `tramp-local-call-process'.
Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2012-04-02 10:50:26 +02:00
Chong Yidong
42ee526b1a Rename file-subdir-of-p to file-in-directory-p.
* lisp/files.el (file-in-directory-p): Rename from file-subdir-of-p.
Handle root directory properly.
(copy-directory): Caller changed.

* lisp/dired-aux.el (dired-copy-file-recursive, dired-create-files):
* lisp/net/tramp.el (tramp-file-name-for-operation): Callers changed.

* doc/lispref/files.texi (Kinds of Files): file-subdir-of-p renamed to
file-in-directory-p.
2012-04-01 10:44:24 +08:00
Glenn Morris
40f86458cc Doc fix for xterm-extra-capabilities
* lisp/term/xterm.el (xterm-extra-capabilities): Doc fix.

* etc/PROBLEMS: Mention xterm-extra-capabilities issue.
2012-03-31 13:22:04 -07:00
Glenn Morris
7019c1775e * lisp/language/indian.el ("Devanagari"): Fix typo.
Fixes: debbugs:11103
2012-03-31 13:05:46 -07:00
Glenn Morris
a1daddd610 Revert 2012-03-28 calendar change
* lisp/calendar/calendar.el (calendar-window-list)
(calendar-hide-window): Restore. 
(calendar-exit): Use calendar-window-list, calendar-hide-window again.

Fixes: debbugs:11140
2012-03-31 13:03:59 -07:00
Glenn Morris
0b0210946b Edebug doc fixes
* doc/lispref/edebug.texi (Instrumenting Macro Calls):
Mention defining macros at instrumentation time.
(Edebug Options): Mention edebug-unwrap-results.

* lisp/emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
Comments.

* admin/FOR-RELEASE: Markup.
2012-03-31 12:58:05 -07:00
Thierry Volpiatto
40311efcba Fix copying of symlinks.
* dired-aux.el (dired-copy-file-recursive, dired-create-files):
Check if file is a symlink (Bug#10489).

* files.el (copy-directory): Likewise.
2012-03-31 00:49:29 +08:00
Chong Yidong
5319014e4f Updates for Display chapter of Lisp manual.
* doc/lispref/display.texi (Image Formats): Add imagemagick type.
(Image Descriptors): Mention how they are used.
(ImageMagick Images): Clarify role of imagemagick-register-types.
(Character Display): Don't mention glyph tables.
(Display Tables): Use make-glyph-code in example.
(Glyphs): Avoid "simple glyph code" terminology.  Note that glyph
tables are semi-obsolete.  De-document create-glyph.
(Glyphless Chars): Note that display tables override this.
(Bidirectional Display): Copyedits.  Introduce "bidirectional
reordering" terminology, and use it.

* doc/emacs/files.texi (File Conveniences): Clarify Imagemagick discussion.

* lisp/image.el (imagemagick-types-inhibit)
(imagemagick-register-types): Doc fix.
2012-03-31 00:31:24 +08:00
Agustín Martín
935d1290a6 ispell.el (ispell-get-extended-character-mode): Make sure extended-character-mode is nil for hunspell
Work around hunspell not ignoring extended-character-mode
set from pipe mode by making sure extended-character-mode
is nil for hunspell.
2012-03-30 11:45:11 +02:00
Glenn Morris
61c6e8fd0e help-with-tutorial buffer-read-only fix
* lisp/tutorial.el (help-with-tutorial):
Ensure local variables don't happen to make the buffer read-only.

Fixes: debbugs:11127
2012-03-29 20:59:52 -07:00
Stefan Monnier
81fdff0036 * lisp/progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
(perl-calculate-indent): Return `noindent' in strings.
2012-03-29 23:13:04 -04:00
Sam Steingold
6e7a6ec037 calendar/calendar.el (calendar-exit): Use `quit-windows-on' instead of
the broken adhockery which does not prevent calendar buffers from
being displayed at random after exit.
(calendar-window-list, calendar-hide-window): Remove the broken adhockery.
2012-03-29 10:00:00 -04:00
Glenn Morris
fee88ca0e8 Doc and lispref updates related to searching
* doc/lispref/searching.texi (Regexp Functions, Regexp Search):
(Simple Match Data, Saving Match Data, Standard Regexps): Copyedits.
(Regexp Functions): Mention regexp-opt is not guaranteed.
Mention regexp-opt-charset.
(Regexp Search): Recommend against looking-back.
(Search and Replace): Use Texinfo recommended quote convention.
Add more query-replace-map items.  List multi-query-replace-map items.

* lisp/replace.el (query-replace-map): Doc fix.

* admin/FOR-RELEASE: Related markup.
2012-03-28 12:30:12 -07:00
Andreas Schwab
38de3354b7 Fixes: debbugs:11109
* vc/vc-git.el (vc-git-state): Don't try to match all of the diff
contents.
2012-03-28 12:12:02 +02:00
Stefan Monnier
b973155e95 * lisp/emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo.
(avl-tree--check, avl-tree--check-node): New funs.

Fixes: debbugs:11077
2012-03-27 16:43:09 -04:00
Martin Rudalics
dcb6e7b38a Optionally avoid that switching to previous or next buffer shows that buffer twice.
* window.el (switch-to-visible-buffer): New option.
(switch-to-prev-buffer, switch-to-next-buffer): Observe
switch-to-visible-buffer.  Make sure that checking for a window
showing a buffer already is done on the same frame.

* windows.texi (Window History): Describe new option
switch-to-visible-buffer.
2012-03-27 11:22:01 +02:00
Glenn Morris
b4fa35fa9c * lisp/startup.el (mail-host-address): Doc fix. 2012-03-26 23:45:12 -07:00