1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 17:30:54 -08:00
Commit graph

110568 commits

Author SHA1 Message Date
Chong Yidong
cd54262019 Improve Lisp manual documentation on setting faces.
* display.texi (Faces): Minor clarifications.
(Defining Faces): Clarify default vs custom face specs.  Document
face-spec-set.

* display.texi (Overlay Properties):
* text.texi (Special Properties): Use the "anonymous face"
terminology.  Describe foreground-color and background-color forms
as compatibility-only.
2013-04-06 15:39:48 +08:00
Paul Eggert
8ead390103 Spelling fix. 2013-04-06 00:33:18 -07:00
Dmitry Gutov
d695cb94fb * lisp/whitespace.el (whitespace-color-on, whitespace-color-off): Only
call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2013-04-06 02:22:12 +04:00
Stefan Monnier
134abf1fae * lisp/emacs-lisp/package.el (package-compute-transaction): Fix last fix.
Suggested by Donald Curtis <dcurtis@coe.edu>.

Fixes: debbugs:14082
2013-04-05 14:46:59 -04:00
Agustín Martín
7e268e9006 ispell.el (ispell-set-spellchecker-params): Really set `ispell-args' for all equivs.
Was not actually modifying ispell-args for dicts where it was nil before.
Thanks Jacek Chrzaszcz.
2013-04-05 17:43:07 +02:00
Kenichi Handa
b7a6f9f791 merge trunk 2013-04-05 23:17:55 +09:00
Kenichi Handa
251e91474c Optimize the code for reading UTF-8 files. 2013-04-05 23:08:56 +09:00
Dmitry Antipov
73931ad14a Consistently use platform-specific function to detect window system.
* lisp.h (check_window_system): New prototype.  This function is
going to replace check_x, check_w32 and check_ns.
(have_menus_p): Mention msdos.c in comment.
* fontset.c (check_window_system_func): Remove.  Adjust all users.
* fontset.h (check_window_system_func): Remove prototype.
* nsterm.h (check_ns):
* xterm.h (check_x):
* w32term.h (check_w32): Likewise.
* menu.c (Fx_popup_menu): Use check_window_system.
* msdos.c (check_window_system): Define for MS-DOS.
* nsfns.m (check_window_system): Define for NS.  Adjust all users.
* w32fns.c (check_window_system): Likewise for MS-Windows.
* xfns.c (check_window_system): Likewise for X.
* font.c, frame.c, nsmenu.m, nsselect.m, nsterm.m, w32menu.c:
* xfaces.c, xmenu.c: Use check_window_system where appropriate.
2013-04-05 18:07:02 +04:00
Stefan Monnier
632556e4fe * lisp/ido.el (ido-completions): Use extra elements of ido-decorations.
(ido-decorations): Update docstring.

Fixes: debbugs:14143
2013-04-05 10:00:08 -04:00
Michael Albinus
2a417372c4 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
(global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
nil during initialization, in order not to miss changes since the
file was opened.  (Bug#14140)
2013-04-05 12:18:43 +02:00
Leo Liu
fc164b0c33 * kmacro.el (kmacro-call-macro): Fix bug#14135. 2013-04-05 16:38:06 +08:00
Jay Belanger
0ccecc08cd * lisp/calc/calc.el (calc-allow-units-as-numbers): Move declaration.
* lisp/calc/calc-units.el (calc-convert-units): Redo conditional.
2013-04-04 21:20:35 -05:00
Andrew Cohen
567d89caf1 gnus-msg.el: Fix detection of nnir group 2013-04-04 22:15:25 +00:00
Glenn Morris
47d038b3af ChangeLog fixes
2013-03-16 was not the date Emacs 24.3 was released, it was not even
the date on which I merged all changes from that release into trunk.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00990.html
2013-04-03 20:46:25 -07:00
Glenn Morris
51af1aa233 * lisp/electric.el (electric-pair-inhibit-predicate): Add :version. 2013-04-03 20:42:10 -07:00
Stefan Monnier
b208ebc6e7 * lisp/emacs-lisp/package.el (package-compute-transaction): Fix ordering
when a package is required several times.

Fixes: debbugs:14082
2013-04-03 22:46:38 -04:00
Katsumi Yamaoka
aab9651349 lisp/gnus/mml.el (mml-minibuffer-read-description): Use default' insted of initial-input' for the argument name 2013-04-04 02:35:55 +00:00
Roland Winkler
f3d3eaf070 lisp/faces.el (read-face-name): Behave as promised by the docstring. 2013-04-03 21:12:25 -05:00
Thierry Volpiatto
2575da5084 * lisp/bookmark.el: Fix deletion of bookmarks.
(bookmark-bmenu-list): Don't toggle filenames if alist is empty.
(bookmark-bmenu-execute-deletions): Only skip first line if it's
the header.
(bookmark-exit-hook-internal): Save even if list is empty.

Fixes: debbugs:13972
2013-04-03 21:59:09 -04:00
Yann Hodique
397703b4ab * lisp/emacs-lisp/package.el (package-pinned-packages): New var.
(package--add-to-archive-contents): Obey it.

Fixes: debbugs:14118
2013-04-03 21:51:33 -04:00
Kevin Layer
09e20374a1 lisp/gnus/mml.el (mml-minibuffer-read-description): Allow passing in a prefix (used by MH-E) 2013-04-03 23:19:58 +00:00
Alan Mackenzie
691e26ae7d Handle `parse-partial-sexp' landing inside a comment opener
(Bug#13244). Also adapt to the new values of element 7 of a parse
	state.

	* progmodes/cc-engine.el (c-state-pp-to-literal): New optional
	parameter `not-in-delimiter'.  Handle being inside comment opener.
	(c-invalidate-state-cache-1): Reckon with an extra "invalid"
	character in case we're typing a '*' after a '/'.
	(c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
	instead by passing the parameter to c-state-pp-to-literal.

	* progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
	for elt. 7 of a parse state.
2013-04-03 17:50:39 +00:00
Paul Eggert
96bbc3099d Spelling fix. 2013-04-03 10:07:50 -07:00
Fabrice Niessen
3a2b589f84 * etc/themes/leuven-theme.el: Update theme. 2013-04-02 11:33:31 +08:00
Paul Eggert
7216e43b32 Prefer < to > in range checks such as 0 <= i && i < N.
This makes it easier to visualize quantities on a number line.
This patch doesn't apply to all such range checks,
only to the range checks affected by the 2013-03-24 change.
This patch reverts most of the 2013-03-24 change.
* alloc.c (xpalloc, Fgarbage_collect):
* ccl.c (ccl_driver, resolve_symbol_ccl_program):
* character.c (string_escape_byte8):
* charset.c (read_hex):
* data.c (cons_to_unsigned):
* dispnew.c (update_frame_1):
* doc.c (Fsubstitute_command_keys):
* doprnt.c (doprnt):
* editfns.c (hi_time, decode_time_components):
* fileio.c (file_offset):
* fns.c (larger_vector, make_hash_table, Fmake_hash_table):
* font.c (font_intern_prop):
* frame.c (x_set_alpha):
* gtkutil.c (get_utf8_string):
* indent.c (check_display_width):
* keymap.c (Fkey_description):
* lisp.h (FIXNUM_OVERFLOW_P, vcopy):
* lread.c (read1):
* minibuf.c (read_minibuf_noninteractive):
* process.c (wait_reading_process_output):
* search.c (Freplace_match):
* window.c (get_phys_cursor_glyph):
* xdisp.c (redisplay_internal):
* xsmfns.c (smc_save_yourself_CB):
Prefer < to > for range checks.
* dispnew.c (sit_for): Don't mishandle NaNs.
This fixes a bug introduced in the 2013-03-24 change.
* editfns.c (decode_time_components): Don't hoist comparison.
This fixes another bug introduced in the 2013-03-24 change.
2013-04-01 18:54:56 -07:00
Paul Eggert
4b725a70ef Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit.  Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.

Fixes: debbugs:13936
2013-04-01 18:18:40 -07:00
Andrew Cohen
54451ffafa gnus-msg.el: Add nnir-article-* autoloads;
nnir.el: Improve mark updating in original groups
2013-04-01 22:54:32 +00:00
Stefan Monnier
15c579f08c * lisp/electric.el (electric-pair-inhibit-predicate): New var.
(electric-pair-post-self-insert-function): Use it.
(electric-pair-default-inhibit): New function, extracted from
electric-pair-post-self-insert-function.

Fixes: debbugs:14000
2013-04-01 09:28:19 -04:00
Glenn Morris
925d7ec008 Auto-commit of loaddefs files. 2013-04-01 06:21:03 -04:00
Paul Eggert
b9edfa5c63 Spelling fixes. 2013-04-01 00:58:04 -07:00
Eli Zaretskii
1e1d41ff15 Minor fixes in the nt/ subdirectory.
nt/README: A better documentation of ddeclient.exe.
 nt/README.W32: A better documentation of ddeclient.exe.
 nt/paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
 subdirectories.
2013-04-01 10:28:56 +03:00
Jay Belanger
c81ecb7263 * doc/misc/calc.texi (Basic Operations on Units): Streamline some
descriptions.
2013-03-31 15:27:40 -05:00
Glenn Morris
ca5f6cd428 More details of X-Debbugs-Envelope-To 2013-03-31 10:18:09 -07:00
Roland Winkler
a77e2924c9 emacs-lisp/crm.el (completing-read-multiple): Doc fix. 2013-03-31 10:19:19 -05:00
Stefan Monnier
2bd8a4a867 * lisp/hi-lock.el (hi-lock-mode): Cleanup after revert-buffer.
Fixes: debbugs:13891
2013-03-31 09:34:35 -04:00
Andrew Cohen
df8abd0be8 lisp/gnus/nnir.el (nnir-method-default-engines): Fix typo 2013-03-31 12:48:07 +00:00
Glenn Morris
6ea3f01e74 Auto-commit of generated files. 2013-03-31 06:17:42 -04:00
Dmitry Antipov
9275998872 * frame.h (struct frame): Drop scroll_bottom_vpos
member becaue all real users are dead long ago.
(FRAME_SCROLL_BOTTOM_VPOS): Remove.
* xdisp.c (redisplay_internal): Adjust user.
2013-03-31 09:45:54 +04:00
Aidan Gauland
78b8f32044 Use present tense in ChangeLog entries. 2013-03-31 08:31:27 +13:00
Paul Eggert
119b2d43cc Merge from gnulib
This incorporates:
2013-03-29 stdalign: port to stricter ISO C11
This helps to run 'configure' on MS-Windows; see Eli Zaretskii in
<http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00999.html>.
2013-03-30 10:30:06 -07:00
Glenn Morris
9a1971bbaa ChangeLog whitespace fix 2013-03-30 09:57:02 -07:00
Glenn Morris
8d3655be5a Merge from emacs-24; up to 2012-12-26T16:22:18Z!michael.albinus@gmx.de 2013-03-30 09:55:47 -07:00
Glenn Morris
b011a6e801 Standardize license notice 2013-03-30 09:52:28 -07:00
Paul Eggert
14a581695f * emacs/emacs.texi: Fix alphabetization of "O'Connor". 2013-03-30 09:47:07 -07:00
Glenn Morris
4d73ec07d4 Relicense under GPLv3 or later 2013-03-30 09:42:17 -07:00
Glenn Morris
ca54aaa285 Backport copyright fix from trunk 2013-03-30 09:37:47 -07:00
Glenn Morris
7b02e9b724 Add 2012 to copyright years 2013-03-30 09:36:22 -07:00
Leo Liu
0b1619da55 * etc/NEWS: Mention `kmacro-to-register' and new eldoc feature.
* lisp/kmacro.el (kmacro-call-macro): Add optional arg MACRO.
(kmacro-execute-from-register): Pass the keyboard macro to
kmacro-call-macro or repeating won't work correctly.
2013-03-30 21:49:00 +08:00
Andrew Cohen
7c5ef69a98 lisp/gnus/nnir.el (nnir-method-default-engines): Fix typo 2013-03-30 11:40:32 +00:00
Jan Djärv
f38ab1671f * nsmenu.m (showAtX:Y:for:): setLevel to
NSPopUpMenuWindowLevel (Bug#13998).
2013-03-30 11:18:48 +01:00