1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

110582 commits

Author SHA1 Message Date
Stefan Monnier
8acdeb7104 * lisp/emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
timer.

Fixes: debbugs:14156
2013-04-07 22:08:45 -04:00
Stefan Monnier
285c8184af * emacs-lisp/ert.el: Fix paren typo. 2013-04-07 16:42:11 -04:00
Nic Ferrier
e3e7b504b2 * lisp/emacs-lisp/ert.el (should, should-not, should-error): Add edebug
declaration.
2013-04-07 14:56:28 -04:00
Eli Zaretskii
7d9f6883aa Provide definition of ACL_NOT_WELL_SUPPORTED for MS-Windows.
src/fileio.c (ACL_NOT_WELL_SUPPORTED): Define macro for WINDOWSNT.

Fixes: debbugs:13702
2013-04-07 19:18:41 +03:00
Romain Francoise
5406cfd9cd Ignore additional platform-specific ACL errors (Bug#13702).
* fileio.c (ACL_NOT_WELL_SUPPORTED): New macro copied from gnulib.
(Fcopy_file, Fset_file_acl) [HAVE_POSIX_ACL]: Use it.
2013-04-07 13:21:39 +02:00
Jan Djärv
df4555fad1 * PROBLEMS: Mention Ubuntu warnings about libdbusmenu. 2013-04-07 13:01:56 +02:00
Jan Djärv
95c0e83b2a * nsterm.m (ns_mouse_position): Use NS_FRAME_P instead of checking
f->output_data.ns.
2013-04-07 12:51:29 +02:00
Glenn Morris
2625668449 Auto-commit of generated files. 2013-04-07 06:19:05 -04:00
Leo Liu
201bb296b5 * pcmpl-x.el: New file. 2013-04-07 15:14:00 +08:00
Paul Eggert
876da980f8 Fix --enable-profiling bug introduced by 2013-02-25 change.
This bug was introduced by my 2013-02-25 change that simplified
data_start configuration.  Without this change, on GNU/Linux
an Emacs configured with --enable-profiling fails immediately
due to a profiler signal.
* configure.ac (LD_SWITCH_SYSTEM_TEMACS): Append -pg if profiling
and if not on GNU/Linux or FreeBSD.
* lib/Makefile.am (AM_CFLAGS): Add $(PROFILING_CFLAGS), so that
lib/*.o is profiled too.
* src/Makefile.in: Compile with $(PROFILING_CFLAGS), but do not link
with these flags.  On platforms where special flags are needed
when linking temacs, the flags are now in LD_SWITCH_SYSTEM_TEMACS.
(ALL_CFLAGS): Remove $(PROFILING_CFLAGS).
(.c.o, .m.o): Compile with $(PROFILING_CFLAGS).

Fixes: debbugs:13783
2013-04-06 23:21:40 -07:00
Dmitry Antipov
7452b7bd70 Get rid of some platform-specific functions examining window
system and its capabilities.  This is a partial rework of the
2013-04-05 change.
* lisp.h (have_menus_p): Remove prototype.  This function is
replaced with platform-independent window_system_available.
(check_window_system): Move to...
* frame.h (decode_window_system_frame, window_system_available):
...here, add new prototypes.
* frame.c (window_system_available, decode_window_system_frame):
New functions.
(check_window_system): Platform-independent now.
* xterm.h (x_in_use): Remove declaration.
(check_x_frame):
* w32term.h (check_x_frame):
* nsterm.h (check_x_frame): Remove prototypes.  This function
is replaced with platform-independent decode_window_system_frame.
* msdos.c (have_menus_p): Remove.
* nsfns.m (check_window_system, have_menus_p, check_ns_frame):
Remove platform-specific functions.  Use check_window_system,
decode_window_system_frame and check_ns_display_info where
appropriate.  Minor style and comment tweaks.
* w32fns.c (w32_in_use, check_window_system, have_menus_p)
(check_x_frame): Likewise.
* xfns.c (x_in_use, check_window_system, have_menus_p, check_x_frame):
Likewise.
* fileio.c, fns.c, font.c, fontset.c, image.c, menu.c, nsmenu.m:
* nsselect.m, nsterm.m, w32font.c, w32menu.c, xfaces.c, xgselect.c:
* xmenu.c, xselect.c: All related users changed.
2013-04-07 08:41:19 +04:00
Glenn Morris
6096db2e00 Fix typo 2013-04-06 13:03:38 -07:00
Dmitry Antipov
ebb19708e7 Do not set x-display-name until X connection is established.
This is needed to prevent from weird situation described at
<http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
* frame.el (make-frame): Set x-display-name after call to
window system initialization function, not before.
* term/x-win.el (x-initialize-window-system): Add optional
display argument and use it.
* term/w32-win.el (w32-initialize-window-system):
* term/ns-win.el (ns-initialize-window-system):
* term/pc-win.el (msdos-initialize-window-system):
Add compatible optional display argument.
2013-04-06 18:06:39 +04:00
Eli Zaretskii
33bb237a73 Fix the non-creation of backup files in temporary-file directory on Windows.
lisp/files.el (normal-backup-enable-predicate): On MS-Windows and
 MS-DOS compare truenames of temporary-file-directory and of the
 file, so that 8+3 aliases (usually found in $TEMP on Windows)
 don't fail comparison by compare-strings.  Also, compare file
 names case-insensitively on MS-Windows and MS-DOS.
2013-04-06 10:41:09 +03:00
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