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

115914 commits

Author SHA1 Message Date
Glenn Morris
dfe730e9b2 NEWS markup fix 2014-05-24 17:31:06 -07:00
Paul Eggert
62803a2ef1 Specify coding if Latin-1 Emacs would misinterpret.
* doc/misc/htmlfontify.texi, doc/misc/org.texi:
* etc/ETAGS.EBNF, etc/NEWS, etc/ORG-NEWS: Add "coding: utf-8".

Fixes: debbugs:17575
2014-05-24 15:23:47 -07:00
Paul Eggert
2082742ed4 * xdisp.c (safe__call1, safe__eval): Now static. 2014-05-24 14:28:43 -07:00
Eli Zaretskii
376f53c544 Fix last commits in xdisp.c, which caused a crash at startup on w32.
src/xdisp.c (safe__call): Accept va_list argument instead of '...'.
 (safe_call, safe__call1): Construct a va_list argument for safe_call.
 (safe_call1): Call safe_call instead of safe__call directly.

Fixes: debbugs:17577
2014-05-24 22:19:27 +03:00
Ken Brown
791dd8e75b Fix bug#17510 with a pointer freed more than once (Cygwin-w32-build).
* src/w32term.c (x_delete_display) [CYGWIN]: Don't free
dpyinfo->w32_id_name, to make sure it doesn't get freed more than
once.
2014-05-24 13:59:22 -04:00
Stefan Monnier
3b1c420700 * src/xdisp.c: Bind inhibit-quit during pre-redisplay-function.
(safe__call, safe__call1, safe__eval): New functions.
(safe_call): Use it.
(prepare_menu_bars): Use it for pre-redisplay-function.
(display_mode_element): Same for `:eval'.

Fixes: debbugs:17577
2014-05-24 11:50:05 -04:00
Glenn Morris
486eebacf3 Small fix for he-line-search-regexp
* lisp/hippie-exp.el (he-line-search-regexp):
Handle comint-prompt-regexp containing subgroups.

Fixes: debbugs:17529
2014-05-23 14:14:24 -04:00
Stephen Berman
903204bb53 todo-mode.el: Remove dependence on auto-mode-alist.
* calendar/todo-mode.el: Remove dependence on auto-mode-alist,
to avoid errors when trying to create or visit a file foo.todo
located outside to todo-directory, and to allow having such files
without them being tied to Todo mode.
(todo-show, todo-move-category, todo-merge-category, todo-find-archive)
(todo-archive-done-item, todo-find-filtered-items-file)
(todo-filter-items, todo-find-item, todo-diary-goto-entry)
(todo-category-completions, todo-read-category): When visiting a
Todo file, make sure we're in the right mode and the buffer local
variables are set.
(todo-make-categories-list, todo-reset-nondiary-marker)
(todo-reset-done-string, todo-reset-comment-string): After
processing all Todo files, kill the buffers of those files that
weren't being visited before the processing.
(todo-display-as-todo-file, todo-add-to-buffer-list)
(todo-visit-files-commands): Comment out.
(todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
(auto-mode-alist): Remove add-to-list calls making Todo file
extensions unrestrictedly tied to Todo modes.

* doc/misc/todo-mode.texi: Update in light of changes due to bug#17482.
Replace numerous mistaken uses of literal quotes with proper
Texinfo markup.
(Todo Mode Entry Points): Comment out reference to using find-file
or Dired to visit Todo files, since this has been disabled (bug#17482).
2014-05-23 18:54:35 +02:00
Stefan Monnier
15ad4013c4 * lisp/emacs-lisp/nadvice.el (advice--member-p): Change second arg.
(advice-function-member-p): Tell it to check both names and functions.
(advice--add-function): Adjust call accordingly.

Fixes: debbugs:17531
2014-05-23 12:17:14 -04:00
Stephen Berman
982ccf0398 * calendar/todo-mode.el: Miscellaneous bug fixes.
(todo-delete-file): When deleting an archive but not its todo
file, make sure to update the todo file's category sexp.
(todo-move-category): Keep the moved category's name unless the
file moved to already has a category with that name.  If the
numerically last category of the source file was moved, make the
first category current to avoid selecting a nonexisting category.
(todo-merge-category): Fix implementation to make merging to a
category in another file work as documented.  Eliminate now
insufficient and unnecessary renaming of archive category, correct
document string accordingly, and clarify it.  If the numerically
last category of the source file was merged, make the first
category current to avoid selecting a nonexisting category.
(todo-archive-done-item): When there are marked items and point
happens to be on an unmarked item, ignore the latter.  Don't leave
point below last item after archiving marked items.
(todo-unarchive-items): Fix logic to ensure unarchiving an item
from an archive with only one category deletes the archive only
when the category is empty after unarchiving.  Make sure the todo
file's category sexp is updated.
(todo-read-file-name): Allow an existing file name even when it is
not required (todo-move-category needs this to work as documented).
(todo-add-file): Call todo-validate-name to reject the name of an
existing todo file (needed due to fix in todo-read-file-name).
(todo-reset-nondiary-marker): Also reset in filtered items files.
(todo-reset-done-string, todo-reset-comment-string): Also reset in
regexp filtered items files.
(todo-reset-highlight-item): Also reset in filtered items files.
Fix incorrect variable reference in document string.
2014-05-23 14:10:50 +02:00
Glenn Morris
bcba2d85bf * window.el (window--dump-frame): Avoid error in --without-x builds. 2014-05-21 23:36:37 -07:00
Paul Eggert
4f4ec76fd6 Fix port to 32-bit AIX.
* configure.ac (opsys): On Power Architecture, treat release 7 of
AIX like releases 5 and 6.
* src/unexaix.c (copy_text_and_data): Don't add text_scnptr to ptr
twice.  _text already includes this offset.
(unrelocate_symbols): Don't cast 64-bit integer to pointer.

Fixes: debbugs:17540
2014-05-21 22:00:39 -07:00
Glenn Morris
fb4ca8417a * lisp/nxml/nxml-mode.el (xml-mode): Only define this alias once. 2014-05-21 16:07:27 -04:00
Eli Zaretskii
13a83f0501 Fix bug #17532 with unclear docs of setting frame's font.
lisp/frame.el (set-frame-font): Doc fix.
 lisp/menu-bar.el (menu-set-font): Doc fix.

 doc/emacs/frames.texi (Fonts): Clarify which frames are affected by
 setting font from the menu and in default-frame-alist.
2014-05-21 19:35:31 +03:00
Eli Zaretskii
5e2e0fa456 Fix bug #17539 with infinite recursion during scroll commands.
src/xdisp.c (move_it_in_display_line_to): Avoid infinite recursion:
 when closest_pos is identical to to_charpos, don't recurse, since
 we already tried that, and failed.
2014-05-21 18:03:18 +03:00
Dmitry Gutov
b0df8b9535 Replace uses of save-buffer' with write-region'
* lisp/emacs-lisp/package.el (package--download-one-archive): Use
`write-region' instead of `save-buffer' to avoid running various
hooks. 
(describe-package-1): Same.  Insert newline at the end of the
buffer if appropriate.

Fixes: debbugs:17155
2014-05-21 05:14:38 +03:00
Juri Linkov
2614b25fd5 * lisp/avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
to allow changing its value with `set-variable'.

Fixes: debbugs:17439
2014-05-21 00:20:36 +03:00
Juri Linkov
a2115113ef * lisp/avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
(mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
Add more modifiers: meta, control, shift, hyper, super, alt.

Fixes: debbugs:17439
2014-05-21 00:14:44 +03:00
Stefan Monnier
0a5cfeeecb * lisp/progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
#; comments.
(scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
New functions.
(scheme-mode-variables): Set syntax-propertize-function instead of
font-lock-syntactic-face-function.
(scheme-font-lock-syntactic-face-function): Delete.
2014-05-20 16:12:30 -04:00
Stefan Monnier
7b952d6142 * lisp/emacs-lisp/lisp.el (end-of-defun): Ensure we move.
Fixes: debbugs:17274
2014-05-20 14:55:41 -04:00
Eli Zaretskii
ebdc80316a Fix bug #17524 with crashes in creating a new frame with invalid font.
src/w32fns.c (unwind_create_frame) [GLYPH_DEBUG]: If we are
 unwinding when frame's faces were not initialized yet, increment
 the frame's image-cache reference count before calling
 x_free_frame_resources.  Don't dereference
 dpyinfo->terminal->image_cache if it is NULL.
2014-05-20 19:28:39 +03:00
Glenn Morris
293fbc914a * lisp/vc/vc-rcs.el: Comment. 2014-05-20 08:46:21 -07:00
Paul Eggert
d352738b8b Fix rcs2log problems with CVS.
Problem reported by Glenn Morris in
<http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00277.html>.
Plus, fix some security and filename quoting problems.
* rcs2log (logdir): Prefer mktemp if available.
(logdir, llogdir): Work even if TMPDIR begins with '-' or has spaces.
(output_authors, main awk script): Parse more-recent CVS output format.
2014-05-20 00:59:28 -07:00
Eli Zaretskii
5833dd932d src/lisp.h: Fix typos in a comment. 2014-05-19 19:59:50 +03:00
Paul Eggert
f62d0f2a08 Spelling fix. 2014-05-18 22:07:45 -07:00
Glenn Morris
b9813f147a * mouse.el: Remove old comment. 2014-05-18 15:53:27 -07:00
Glenn Morris
3b7865ca9b * configure.ac (INSTALL_INFO): Revert to just checking for "install-info". 2014-05-18 15:41:22 -07:00
Stefan Monnier
c42ebc983b * lisp/emacs-lisp/timer.el (timer-event-handler): Fix last change.
Fixes: debbugs:17392
2014-05-18 09:17:10 -04:00
Stefan Monnier
08a2434e2f * lisp/emacs-lisp/timer.el (timer-event-handler): Don't run if canceled.
Fixes: debbugs:17392
2014-05-18 08:58:30 -04:00
Eli Zaretskii
2f82660963 lisp/simple.el (line-move-ignore-invisible): Fix last commit. 2014-05-17 19:06:02 +03:00
Michael Albinus
e8cbb7684f Fix typo. 2014-05-17 11:08:59 +02:00
Michael Albinus
43425aecb1 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
for a temporary file name.
2014-05-17 11:00:54 +02:00
Eli Zaretskii
1e046d37a4 Fix bug #17511 with unclear documentation of line-move-ignore-invisible.
lisp/simple.el (line-move-ignore-invisible): Doc fix.

 doc/lispref/display.texi (Invisible Text): Clarify the description of
 line-move-ignore-invisible.
2014-05-17 11:58:17 +03:00
Glenn Morris
f81605024f * configure.ac: Add comments accidentally omitted from previous change 2014-05-16 21:40:49 -04:00
Glenn Morris
d137278ad4 * configure.ac (INSTALL_INFO): Try "ginstall-info" before "install-info".
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00232.html
2014-05-16 21:38:33 -04:00
Michael Albinus
1bafb1dede * net/dbus.el (dbus-init-bus, dbus-call-method)
(dbus-call-method-asynchronously, dbus-send-signal)
(dbus-method-return-internal, dbus-method-error-internal)
Check, whether Emacs has been compiled with D-Bus support.

Fixes: debbugs:17508
2014-05-16 15:11:09 +02:00
David Engster
2aa03011f7 Auto-commit of loaddefs files. 2014-05-14 22:45:05 +02:00
Nicolas Richard
ec264fbb7c Deal with EIEIO methods without doc strings (Bug#17490).
* emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
methods which do not have a doc string.  (Bug#17490)
2014-05-14 22:41:53 +02:00
Stephen Berman
34cba8e885 * lisp/minibuffer.el (completion-pcm--merge-try): Merge trailing / with
suffix.

Fixes: debbugs:15419
2014-05-14 12:21:13 -04:00
Glenn Morris
a5d09243e7 Make some pointless/useless emerge.el options obsolete
* vc/emerge.el (emerge-temp-file-prefix): Make pointless option obsolete.
(emerge-temp-file-mode): Make non-functional option obsolete.
2014-05-13 23:59:12 -07:00
Michael Albinus
e95b937a42 * net/browse-url.el (browse-url):
Use `unhandled-file-name-directory' when setting `default-directory',
in order to circumvent stalled remote connections.

Fixes: debbugs:17425
2014-05-13 10:54:08 +02:00
Eli Zaretskii
636ae7c262 A better fix for bug #17479.
doc/emacs/mule.texi (Language Environments): Remove unused @anchor.
2014-05-12 22:10:59 +03:00
Eli Zaretskii
9fbb8462a6 Fix bug #17479 with spliced paragraphs in User manual.
doc/emacs/mule.texi (Language Environments): Fix @anchor placement.
2014-05-12 21:51:58 +03:00
Glenn Morris
96b894717c Regenerate AUTHORS and ldefs-boot.el 2014-05-11 23:15:47 -07:00
Glenn Morris
5c06e5e758 Bump version to 24.3.91 2014-05-11 23:11:08 -07:00
Eric Schulte
45d2587daf ob-screen tempfile fixes
* lisp/org/ob-screen.el (org-babel-screen-session-write-temp-file)
(org-babel-screen-test): Use unpredictable names for temporary files.

Fixes: debbugs:17416
2014-05-11 23:09:43 -07:00
Stefan Monnier
97100b4379 * lisp/emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
into autoloading just because of a silly indirection.
2014-05-12 01:25:34 -04:00
Glenn Morris
970fd40117 * src/fileio.c (Ffile_executable_p): Doc tweak. 2014-05-10 19:30:57 -07:00
Santiago Payà i Miralta
0add095990 * lisp/vc/vc-hg.el (vc-hg-unregister): New function (tiny change)
Fixes: debbugs:17454
2014-05-10 19:01:08 -07:00
Glenn Morris
e7caef591f Move lisp/emacs-lisp/find-gc.el to admin/
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00118.html
2014-05-10 18:53:42 -07:00