1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-20 13:00:51 -07:00
Commit graph

115066 commits

Author SHA1 Message Date
Michael Albinus
cad6dfb67f * automated/tramp-tests.el (tramp-test26-process-file): Improve test.
(tramp-test27-start-file-process): Use "_p" as argument of lambda.
(tramp-test28-shell-command): Improve `shell-command' test.  Add
`async-shell-command' tests.
2014-02-07 16:47:18 +01:00
Juanma Barranquero
e255a70376 * lisp/simple.el (quoted-insert): Check character validity (bug#16677). 2014-02-07 12:13:31 +01:00
Martin Rudalics
9be95071f4 In window_resize_apply adjust margin width, if necessary (Bug#16649).
* window.c (window_resize_apply): Adjust margin width, if necessary.
2014-02-07 11:55:28 +01:00
Martin Rudalics
dc0e4c4851 Constrain window body sizes.
* window.c (window_body_height, window_body_width): Don't return
negative value.
2014-02-07 11:03:10 +01:00
Martin Rudalics
99f10a5dae Constrain window box sizes (Bug#16649).
* xdisp.c (window_box_width): Don't return less than zero.
(window_box_left_offset, window_box_right_offset): Don't return
more than the window's pixel width.
2014-02-07 10:32:15 +01:00
Juri Linkov
c99cf5eec1 * lisp/desktop.el (desktop-read): Claim the lock when the owner is not the current process.
Fixes: debbugs:16157
2014-02-07 09:58:10 +02:00
Juri Linkov
7d7a68d860 * lisp/desktop.el (desktop-buffers-not-to-save): Change default from nil to "\\` ".
Fixes: debbugs:16651
2014-02-07 09:51:56 +02:00
Juri Linkov
2b777cd9a2 * lisp/desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
when enabling, and `desktop-auto-save-cancel-timer' when disabling.
(desktop-auto-save-cancel-timer): New function with some code from
`desktop-auto-save-set-timer'.
(after-init-hook): Don't call `desktop-auto-save-set-timer'.
Instead of setting `desktop-save-mode' to nil, call
`desktop-save-mode' with arg 0.

Fixes: debbugs:16630
2014-02-07 09:44:29 +02:00
Glenn Morris
99cf38598c Some hi-lock doc
* doc/emacs/display.texi (Highlight Interactively):
Mention hi-lock-auto-select-face.

* lisp/hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
(hi-lock-face-buffer, hi-lock-face-phrase-buffer)
(hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.

* etc/NEWS: Related edits.
2014-02-06 23:18:02 -08:00
Glenn Morris
e4eaacacc6 * doc/emacs/anti.texi (Antinews): Fix typo. 2014-02-06 23:13:21 -08:00
Glenn Morris
a0baf35f68 * src/nsterm.m (syms_of_nsterm): Doc fix.
It is not necessary to say "default is..." since there are standard
mechanisms for displaying that information.
2014-02-06 19:25:52 -08:00
Glenn Morris
e92e30dd30 "Use instead" obsolescence messages should end with "." 2014-02-06 19:23:46 -08:00
Glenn Morris
2b568bc90b Move iswitchb.el to obsolete/
Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00501.html

* lisp/obsolete/iswitchb.el: Move to obsolete/.

* lisp/simple.el (iswitchb-mode): Add manual autoloads to ease transition,
since obsolete/ is not scanned for autoloads.

* lisp/emacs-lisp/authors.el (authors-valid-file-names):
Add iswitchb.el.

* doc/emacs/ack.texi (Acknowledgments): No longer mention obsolete files.

* doc/misc/viper.texi (File and Buffer Handling): Prefer ido to iswitchb.

* etc/NEWS: Related edits.
2014-02-06 19:22:34 -08:00
Glenn Morris
e04d62b9d9 * etc/TODO: Remove refs to obsolete files. 2014-02-06 19:19:39 -08:00
Glenn Morris
60eabbb994 * lisp/obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
Disable now non-functional find-file-hook.

Maybe somebody had (require 'meese) in their init file...
If patcomp.el can live on in obsolete/, so can this.
2014-02-06 19:14:56 -08:00
Glenn Morris
719d965d9a ChangeLog fix 2014-02-06 19:07:07 -08:00
Lars Ingebrigtsen
5c7e844276 lisp/gnus/ietf-drums.el (ietf-drums-parse-address): Don't bug out when called with an empty string 2014-02-07 03:06:44 +00:00
David Engster
a60a2b6db2 Grammar bug fixes from CEDET upstream.
* grammars/c.by (function-pointer): Correctly deal with anonymous
function pointers.
(opt-brackets-after-symbol): New.
(multi-stage-dereference): Use it.  Add rules for explicit
matching the last dereference.
2014-02-06 21:57:24 +01:00
Paul Eggert
9d37482ce3 Spelling fix. 2014-02-06 10:29:57 -08:00
Eli Zaretskii
829f4f2256 Another fix for handling of file names on Windows 9X.
src/w32.c (pMultiByteToWideChar, pWideCharToMultiByte): New
 variables: pointers through which to call the respective APIs.
 (filename_to_utf16, filename_from_utf16, filename_to_ansi)
 (filename_from_ansi, sys_link, check_windows_init_file): Call
 MultiByteToWideChar and WideCharToMultiByte through pointers.
 This is required on Windows 9X, where we dynamically load
 UNICOWS.DLL which has their non-stub implementations.
 (maybe_load_unicows_dll): Assign addresses to these 2 function
 pointers after loading UNICOWS.DLL.
 src/w32fns.c (Fx_file_dialog, Fw32_shell_execute) [!CYGWIN]: Call
 MultiByteToWideChar and WideCharToMultiByte through function
 pointers.
 src/w32.h (pMultiByteToWideChar, pWideCharToMultiByte): New
 declarations.
2014-02-06 17:27:46 +02:00
Michael Albinus
629de96845 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
instead of ";" in order to avoid additional prompts.  Let heredoc
scripts read from tty.  (Bug#16582)
(tramp-send-command): No special handling of heredocs, it isn't
necessary anymore.
2014-02-06 09:49:34 +01:00
Glenn Morris
d978812ac8 * NEWS copyedits 2014-02-06 00:39:18 -08:00
Jan Djärv
029788c7e2 * nsterm.m (toggleFullScreen:): Hide menubar on secondary monitor
for OSX >= 10.9 if separate spaces are used.
(toggleFullScreen:): Use screen of w instead of fw.

Fixes: debbugs:16659
2014-02-06 08:57:53 +01:00
Lars Ingebrigtsen
cf8a1938e3 lisp/gnus/gnus-msg.el (gnus-summary-cancel-article): Allow cancelling articles that have a differing From address (bug#10808) 2014-02-06 05:43:50 +00:00
Stefan Monnier
29127376a5 * lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
with a space.  Limit the symbols considered to the ones
that are bound or fbound (bug#16646).

Fixes: debbugs:16664
2014-02-06 00:37:23 -05:00
Glenn Morris
314ffdb1d7 Doc changes for cache-long-scans
Ref: http://debbugs.gnu.org/15797#65

* doc/lispref/display.texi (Truncation):
* doc/lispref/positions.texi (Screen Lines): Do not mention cache-long-scans.

* src/buffer.c (cache-long-scans): Doc fix.

* etc/NEWS: Related edit.
2014-02-05 20:27:26 -08:00
Glenn Morris
b3a271a56c * doc/misc/mh-e.texi: Replace another `:' in an index entry. 2014-02-05 20:06:26 -08:00
Glenn Morris
79b6e0a971 Some doc for epa-mail-aliases
* doc/misc/epa.texi (Mail-mode integration): Mention epa-mail-aliases.

* lisp/epa.el (epa-mail-aliases): Doc fix.

* etc/NEWS: Related edit.
2014-02-05 20:05:43 -08:00
Glenn Morris
36a672f6b0 Replace some colons in Texinfo index entries
* doc/lispintro/emacs-lisp-intro.texi (Recursive Patterns):
* doc/misc/mh-e.texi, doc/misc/viper.texi:
Do not use colons in index entries.

Fixes: debbugs:16652
2014-02-05 21:26:57 -05:00
Glenn Morris
f8b1815084 NEWS fixes. 2014-02-05 20:51:20 -05:00
Dmitry Gutov
a333e4d297 Define and use `completion-table-merge'
* lisp/minibuffer.el (completion-table-merge): New function.

* lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Use
`completion-table-merge' instead of `completion-table-in-turn'.

Fixes: debbugs:16604
2014-02-06 03:22:38 +02:00
Paul Eggert
06c2ec4946 Merge from gnulib.
This incorporates:

2014-01-23 pthread: work around winpthread header pollution on mingw
* lib/time.in.h: Update from gnulib.

* doc/misc/texinfo.tex: Update from texinfo.
2014-02-05 11:41:03 -08:00
Martin Rudalics
81f9a6edde Fix last fix of note_mouse_highlight 2014-02-05 19:37:36 +01:00
Paul Eggert
658272052d Spelling fix. 2014-02-05 10:27:11 -08:00
Eli Zaretskii
a3c3a662ea src/w32.c: Fix typos in commentary. 2014-02-05 19:33:43 +02:00
Eli Zaretskii
6d48053b21 src/w32fns.c (Fw32_shell_execute): Doc fix. 2014-02-05 18:50:53 +02:00
Michael Albinus
9a83b32b7b Make heredocs more robust in Tramp.
* net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
(tramp-sh-handle-set-file-acl)
(tramp-sh-handle-start-file-process)
(tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
(tramp-find-executable, tramp-send-command): Use it.
2014-02-05 15:11:50 +01:00
Michael Albinus
e873a22e95 Use proper configure option `--without-file-notification'. 2014-02-05 12:45:01 +01:00
Martin Rudalics
415e381049 In draw_fringe_bitmap_1 don't draw fringe if it's outside the window (Bug#16649).
* fringe.c (draw_fringe_bitmap_1): Don't draw a fringe if it's
outside the window (Bug#16649).
2014-02-05 11:46:44 +01:00
Bastien Guerry
bfdd79d309 Fix bug #16453.
* syntax.c (Fforward_word): Call Fconstrain_to_field with
ESCAPE-FROM-EDGE set to `nil' (Bug#16453).
2014-02-05 11:31:09 +01:00
Martin Rudalics
fa49abf8bf Fix cursor appearance in note_mouse_highlight (Bug#16647).
* xdisp.c (note_mouse_highlight): When entering a margin area show
a non-text cursor (Bug#16647).
2014-02-05 10:24:55 +01:00
Glenn Morris
451ea3e6cc * lisp/epa.el (epa-mail-aliases): Fic custom type. Doc tweak.
* etc/NEWS: Related edit.
2014-02-05 00:37:39 -08:00
Glenn Morris
6222d672a5 * doc/misc/epa.texi: Add indices. 2014-02-05 00:35:24 -08:00
Glenn Morris
645586dcd8 Some doc for url-cookie-list
* lisp/url/url-cookie.el (url-cookie-list): Doc fix.

* doc/misc/url.texi (Cookies): Mention url-cookie-list command.

* etc/NEWS: Related edit.
2014-02-04 23:46:40 -08:00
Lars Ingebrigtsen
3660c612b3 lisp/gnus/gnus-int.el (gnus-request-accept-article): Doc fix 2014-02-05 04:35:29 +00:00
Fabián Ezequiel Gallina
dd27d13b50 * progmodes/python.el (python-shell-send-string):
(python-shell-send-string-no-output): Fix docstring.

Fixes: debbugs:16547
2014-02-04 16:35:52 -03:00
Paul Eggert
8e5917ecb3 * menu.c (Fx_popup_dialog): Remove label 'dialog_via_menu'.
It prompted a compile-time diagnostic on GNU/Linux.
Simplify to remove the need for the label.
2014-02-04 11:24:09 -08:00
Anders Lindgren
08e4189736 * lisp/emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
the names.

Fixes: debbugs:16620
2014-02-04 12:37:08 -05:00
Eli Zaretskii
8101203ad7 src/w32fns.c (Fw32_shell_execute): Improve commentary. 2014-02-04 18:25:52 +02:00
Eli Zaretskii
e139a33cd9 Fix bug #16636 with simple dialogs on MS-Windows.
src/w32menu.c (w32_popup_dialog): Don't condition the whole function
 on HAVE_DIALOGS.  If the dialog is "simple", pop up a message box
 to show it; otherwise return 'unsupported--w32-dialog' to signal
 to the caller that emulation with menus is necessary.  This
 resurrects code inadvertently deleted by the 2013-10-08 commit.
 (syms_of_w32menu): DEFSYM Qunsupported__w32_dialog.
 src/w32term.h (w32_popup_dialog): Prototype is no longer conditioned
 by HAVE_DIALOGS.
 src/menu.c (Fx_popup_dialog): Don't condition the call to
 w32_popup_dialog on HAVE_DIALOGS.  If w32_popup_dialog returns a
 special symbol 'unsupported--w32-dialog', emulate the dialog with
 a menu by calling x-popup-menu.
 src/menu.h (Qunsupported__w32_dialog): New extern variable.
2014-02-04 18:13:51 +02:00