1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-24 05:22:04 -08:00
Commit graph

110620 commits

Author SHA1 Message Date
Andrew Cohen
35c5bbbad0 lisp/gnus/nnir.el (nnir-request-set-mark): Make sure we are in the right group 2013-04-14 22:16:44 +00:00
Paul Eggert
54ac5d4745 Spelling fixes. 2013-04-14 14:57:21 -07:00
Paul Eggert
9e3379a08b * keyboard.c (timer_start_idle): Remove no-longer-used local. 2013-04-14 13:33:57 -07:00
Eli Zaretskii
ddd6b68524 Improve doc strings of left/right-margin/fringe-width.
src/buffer.c (syms_of_buffer) <left-margin-width, right-margin-width>
 <left-fringe-width, right-fringe-width, fringes-outside-margins>:
 Mention in the doc string that setting these variables takes
 effect only after a call to set-window-buffer.  (Bug#14200)
2013-04-14 09:51:15 +03:00
Stefan Monnier
91e8293cc5 * lisp/files.el (normal-mode): Only use default major-mode if no other mode
was specified.

Fixes: debbugs:14089
2013-04-13 22:55:21 -04:00
Stefan Monnier
830aed4d5e * lisp/emacs-lisp/trace.el (trace-values): New function. 2013-04-13 21:02:29 -04:00
Stefan Monnier
a829b0dc89 * lisp/files.el: Allow : in local variables.
(hack-local-variable-regexp): New var.
(hack-local-variables-prop-line, hack-local-variables): Use it.

Fixes: debbugs:14089
2013-04-13 20:59:48 -04:00
Roland Winkler
7ae9f0fb99 lisp/textmodes/bibtex.el (bibtex-search-entries): Bug fix 2013-04-13 15:45:03 -05:00
Roland Winkler
6646e84821 lisp/textmodes/bibtex.el (bibtex-url): Doc fix 2013-04-13 15:41:52 -05:00
Roland Winkler
23a0e159ee lisp/textmodes/bibtex.el (bibtex-initialize): If the current buffer does not visit a BibTeX file, exclude it from the list of buffers returned by bibtex-initialize 2013-04-13 15:38:52 -05:00
Stephen Berman
0aa3616eed Make `split-window' a non-interactive function.
* doc/lispref/windows.texi (Splitting Windows): Change category of
split-window from a command to a function.

* etc/NEWS: Mention fixing `split-window' to be non-interactive.

* window.el (split-window): Remove interactive form, since as a
command this function is a special case of split-window-below.
Correct doc string.
2013-04-13 16:37:20 +02:00
Glenn Morris
8c35e3c3b4 Auto-commit of generated files. 2013-04-13 06:17:45 -04:00
Eli Zaretskii
29b79ba197 Fix vertical cursor motion when there are overlay strings at EOL.
src/indent.c (Fvertical_motion): Don't consider display strings on
 overlay strings as display strings on the buffer position we
 started from.  This prevents vertical cursor motion from jumping
 more than one line when there's an overlay string with a display
 property at end of line.
 Reported by Karl Chen <Karl.Chen@quarl.org> in
 http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00362.html.
2013-04-13 11:54:02 +03:00
Roland Winkler
011cddd649 faces.el (read-face-name): Do not override value of arg default, call instead face-at-point 2013-04-12 20:10:09 -05:00
Stefan Monnier
562c6ee945 * src/window.c (select_window): `record_buffer' even if window is
already selected.

Fixes: debbugs:14191
2013-04-12 13:32:52 -04:00
Katsumi Yamaoka
320742098b gnus-msg.el (gnus-msg-mail): Make it avoid using posting styles corresponding to any existing group (Bug#14166) 2013-04-12 15:17:47 +00:00
Michael Albinus
f24e0036b1 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus". 2013-04-12 15:56:03 +02:00
Ken Brown
e8bdb06e29 * configure.ac (canonical): Adapt to 64-bit Cygwin. 2013-04-12 09:00:57 -04:00
Eli Zaretskii
fcc1fe8541 Fix bug #14170 with window-end returning a stale value.
This bug was introduced in 2012-10-15T09:03:56Z!rudalics@gmx.at
while solving bug #12600.

 src/window.c (Fwindow_end): Test more flags, including the buffer's
 last_overlay_modified flag, to determine whether the window's
 display is really up-to-date.  Prevents the function from
 returning a stale value.
 (Fwindow_line_height): Fix the test for up-to-date-ness of the
 current matrix.
2013-04-11 19:06:47 +03:00
Katsumi Yamaoka
f07accae65 lisp/gnus/nnir.el: Fix last change 2013-04-10 22:17:51 +00:00
Andrew Cohen
1ec75f95d7 lisp/gnus/nnir.el: Small optimizations. Use 'gnus-group-guess-full-name-from-command-method 2013-04-10 22:14:14 +00:00
Andrew Cohen
7d9644924e lisp/gnus/nnir.el: Improve marks handling 2013-04-10 22:13:37 +00:00
Eli Zaretskii
f009190abc Fix bug #13864 with flickering of TTY frames in an emacslient session.
src/frame.c (do_switch_frame): Mark the TTY frame we switch to as
 garbaged only if it is not already the top frame on its TTY.  This
 prevents flickering due to constant redrawing of TTY frames when
 there are GUI frames open in the same session.
2013-04-10 18:38:20 +03:00
Tassilo Horn
da3cda2d10 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
off leading { and trailing } from field values.
2013-04-10 16:48:44 +02:00
Stefan Monnier
78ce603d02 * src/keyboard.c (timer_start_idle): Call internal-timer-start-idle instead
of marking the idle timers directly.
* lisp/emacs-lisp/timer.el (timer--check): New function.
(timer--time, timer-set-function, timer-event-handler): Use it.
(timer-set-idle-time): Simplify.
(timer--activate): CSE.
(timer-event-handler): Give more info in error message.
(internal-timer-start-idle): New function, moved from C.
2013-04-10 09:31:35 -04:00
Stefan Monnier
15e54145b4 * lisp/mpc.el (mpc-proc): Add `restart' argument.
(mpc-proc-cmd): Use it.
(mpc--status-timer-run): Also catch signals from `mpc-proc'.
(mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
less often.
2013-04-10 09:17:27 -04:00
Glenn Morris
b60e25d6bc Standardize license text 2013-04-09 18:22:15 -07:00
Glenn Morris
c03cf6f1e1 Fix typos 2013-04-09 18:20:51 -07:00
Stefan Monnier
a8036e4076 * src/minibuf.c (Ftest_completion): Ignore non-string/symbol keys in hash
tables.

Fixes: debbugs:14054
2013-04-09 16:10:47 -04:00
Tassilo Horn
79e04e9e20 * themes/tsdh-dark-theme.el (tsdh-dark): Add some more faces. 2013-04-09 21:18:53 +02:00
Masatake YAMATO
ac2f865902 * etc/NEWS: Mention sh-mode' own add-log-current-defun-function'. 2013-04-10 02:54:50 +09:00
Masatake YAMATO
694569fc79 * test/automated/add-log-tests.el: New file.
Fixes: debbugs:14112
2013-04-10 02:37:17 +09:00
Masatake YAMATO
7144c62778 * lisp/progmodes/sh-script.el: Implement `sh-mode' own
`add-log-current-defun-function'.
(sh-current-defun-name): New function.
(sh-mode): Use the function.

Fixes: debbugs:14112
2013-04-10 02:31:17 +09:00
Glenn Morris
d14b1e4811 Auto-commit of generated files. 2013-04-09 06:17:36 -04:00
Bastien Guerry
b39792eb9e * simple.el (choose-completion-string): Fix docstring (bug#14163). 2013-04-09 11:36:25 +02:00
Ken Brown
ba3b2d88d8 Fix icon for the cygw32 build on 64-bit Cygwin. (Bug#12993)
* nt/emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.

* configure.ac (W32_RES_LINK): Remove unnecessary linker directive
`-Wl,-bpe-i386', which is confusing in the 64-bit case.
2013-04-08 22:38:56 -04:00
Stefan Monnier
7ffe7ef6ba * src/window.c (select_window): Don't record_buffer while the invariant is
temporarily broken.
* src/fns.c (Fdelq): Don't assume !NILP => CONSP.

Fixes: debbugs:14161
2013-04-08 14:04:58 -04:00
Stefan Monnier
6fcdab68b3 * lisp/emacs-lisp/edebug.el (edebug-mode): Fix typo.
Fixes: debbugs:14144
2013-04-07 22:21:59 -04:00
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