1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-17 05:30:43 -08:00
Commit graph

108721 commits

Author SHA1 Message Date
Stephen Berman
e45deaefe7 Fix for gamegrid-add-score-with-update-game-score-1.
* lisp/play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
Don't signal an error with a score that is too low to add to the list
of top scores.

Fixes: debbugs:12779
2012-11-17 15:00:35 +08:00
Chong Yidong
8e7696a18b * help-mode.el (help-xref-interned): End on point-min.
Fixes: debbugs:12737
2012-11-17 14:48:10 +08:00
Chong Yidong
ec15e0ff0b * filecache.el (file-cache-add-file): Handle relative file name in the argument.
Fixes: debbugs:12694
2012-11-17 14:16:46 +08:00
Eli Zaretskii
a33da68be0 Fix bug #12908 with documentation of emacs_backtrace.txt on MS-Windows.
doc/emacs/trouble.texi (Crashing): Add information about MS-Windows and
 the emacs_backtrace.txt file.

 etc/NEWS: Mention emacs_backtrace.txt.
2012-11-16 20:54:42 +02:00
Jürgen Hötzel
60c4ee6682 * lisp/eshell/em-unix.el (eshell/mkdir): Handle "--parents".
Fixes: debbugs:12897
2012-11-16 13:18:07 -05:00
Stefan Monnier
dd0c5bbb36 * lisp/emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix. 2012-11-16 13:02:39 -05:00
Glenn Morris
96e055075d Merge from emacs-24; up to 2012-11-13T18:57:26Z!dgutov@yandex.ru 2012-11-16 09:20:23 -08:00
Stefan Monnier
cdc5d88cf6 * lisp/emacs-lisp/cl-lib.el: Set more meaningful version number. 2012-11-16 10:59:40 -05:00
Paul Eggert
3d082a269e Remove no-longer-used pty_max_bytes variable.
* configure.ac (fpathconf): Remove unnecessary check.
* admin/CPP-DEFINES (HAVE_FPATHCONF): Remove.
* src/process.c (pty_max_bytes): Remove; unused.
(send_process): Do not set it.
2012-11-16 07:29:22 -08:00
Glenn Morris
2a07c70a94 Auto-commit of loaddefs files. 2012-11-16 07:17:47 -05:00
Martin Rudalics
0ff7851c6b Fix some display-buffer related issues.
* window.el (enlarge-window, shrink-window): Don't mention return
value in doc-string (Bug#12896).
(window--display-buffer): Don't resize frames - it won't work
with all window managers and defeat pop-up-frame-alist.
(display-buffer-alist): In doc-string explain that CONDITION can
be a function and which arguments are passed to it (Bug#12854).
(display-buffer-assq-regexp): New argument ACTION.  Handle lambda
expressions (Bug#12854).
(display-buffer): Pass ACTION argument to
display-buffer-assq-regexp.

* windows.texi (Choosing Window): Rewrite description of
display-buffer-alist (Bug#12167).
(Display Action Functions): Mention inhibit-switch-frame.  Fix
description of display-buffer-below-selected.  Reorder actions.
Add example (Bug#12848).
2012-11-16 11:29:48 +01:00
Jan Tatarik
a2cfe8a3b8 [Gnus] Don't score by headers when scoring by body
* gnus-score.el (gnus-score-body):
* gnus-logic.el (gnus-advanced-body): Don't score by headers when
scoring by body.
2012-11-16 10:44:35 +01:00
Glenn Morris
7c82753d4c Doc fixes related to fit-frame-to-buffer
* lisp/window.el (fit-frame-to-buffer-bottom-margin)
(fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.

* etc/NEWS: Related edit.
2012-11-16 00:31:20 -08:00
Glenn Morris
b0634f5d0a NEWS potential FIXME 2012-11-16 00:00:15 -08:00
Glenn Morris
e8693c969a cl.texi flet clarification
* doc/misc/cl.texi (Function Bindings): Clarify that cl-flet is lexical.
(Obsolete Macros): Move example here from Function Bindings.

* etc/NEWS: Related edit.
2012-11-15 23:43:24 -08:00
Glenn Morris
dedd188497 * lisp/faces.el (face-underline-p): Use face-attribute-specified-or. 2012-11-15 21:44:02 -05:00
Glenn Morris
d56f2e49b2 * src/editfns.c (Fmessage): Mention message-log-max. (Bug#12849) 2012-11-15 21:40:54 -05:00
Daniel Colascione
9533048d4a Merge from cygw32 branch 2012-11-15 15:31:37 -08:00
Daniel Colascione
faeafc0133 Use right url-handler for drag-and-dropped files under Windows 2012-11-15 15:28:27 -08:00
Juanma Barranquero
662b0ee67c lisp/emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes. 2012-11-15 22:01:25 +01:00
Stefan Monnier
eb31fa401d * lisp/emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring.
Fixes: debbugs:12895
2012-11-15 13:35:05 -05:00
Stefan Monnier
5c2a71483b * src/eval.c (Finteractive_p): Revert lexbind-merge mishap. 2012-11-15 12:17:23 -05:00
Juanma Barranquero
b72c161c5b src/makefile.w32-in: Update dependencies. 2012-11-15 17:21:50 +01:00
Juanma Barranquero
b24696b8c8 nt/config.nt: Sync with autogen/config.in.
(GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
(HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
New macros.
2012-11-15 15:47:31 +01:00
Stefan Monnier
96a6857705 * doc/lispref/keymaps.texi (Translation Keymaps): Backport subsection
"Interaction with normal keymaps".

Fixes: debbugs:12868
2012-11-15 09:20:45 -05:00
Stefan Monnier
c8915b6779 * doc/lispref/keymaps.texi (Translation Keymaps): Add a subsection "Interaction
with normal keymaps" (bug#12868).
2012-11-15 09:17:11 -05:00
Glenn Morris
17c083ac21 * lisp/eshell/em-cmpl.el (eshell-pcomplete): New command.
(eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.

Fixes: debbugs:12838
2012-11-14 23:59:46 -08:00
Glenn Morris
bde3c6c0f7 Fixes related to face underlining
* lisp/faces.el (face-underline-p): Doc fix.  Handle :underline being
things other than `t' (a string, a list).
(face-inverse-video-p): Doc fix.
(set-face-underline): Rename it back from set-face-underline-p.
Doc fix.  Allow interactive input of values other than t.
(read-face-attribute): Apply formatting to :underline,
since like :box and :stipple it can take list values.

* doc/lispref/display.texi (Face Attributes): Fix :underline COLOR description.
(Attribute Functions): Update for set-face-underline rename.
Tweak descriptions of face-underline-p, face-inverse-video-p.

* etc/NEWS: Related edit.
2012-11-14 23:30:46 -08:00
Glenn Morris
e2e13f1831 ansi-term escape-char fix
* lisp/term.el (ansi-term): Don't let C-x escape-char binding
clobber the more standard C-c binding.

Fixes: debbugs:12842
2012-11-14 22:17:56 -08:00
Glenn Morris
c79c7f2f4f * display.texi (Face Attributes): Fix :underline COLOR description. 2012-11-14 22:13:46 -08:00
Glenn Morris
dc26b31073 * subr.el (set-temporary-overlay-map): Fix previous doc fix (don't quote `t') 2012-11-14 22:12:46 -08:00
Dmitry Antipov
74934dccc4 * internals.texi (Garbage Collection): Update descriptions
of vectorlike_header, garbage-collect and gc-cons-threshold.
(Object Internals): Explain Lisp_Object layout and the basics
of an internal type system.
(Buffer Internals): Update description of struct buffer.
2012-11-15 09:25:05 +04:00
Stefan Monnier
1232d6c2e4 * lisp/emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
a preactivated advice from an old advice.el; they're not compatible!
2012-11-14 23:42:14 -05:00
Katsumi Yamaoka
47f01a8af9 * lisp/emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
* lisp/emacs-lisp/nadvice.el (advice--make-interactive-form):
Fix string-spec case.
2012-11-14 22:30:25 -05:00
Stefan Monnier
a61428c42d * lisp/emacs-lisp/nadvice.el: Add buffer-local support to add-function.
(advice--buffer-local-function-sample): New var.
(advice--set-buffer-local, advice--buffer-local): New functions.
(add-function, remove-function): Use them.
2012-11-14 22:20:49 -05:00
Drew Adams
875ce3a7c5 * lisp/imenu.el (imenu--split-submenus): Use imenu--subalist-p.
Fixes: debbugs:12717
2012-11-14 21:02:00 -05:00
Stefan Monnier
3a514ab07e Backport fix for bug#12879 from trunk
* lisp/emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2012-11-14 20:27:52 -05:00
Stefan Monnier
589fc4791f * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
potential binding of print-gensym to t, and prettify (back)quotes in
case they appear in args's default values.

Fixes: debbugs:12884
2012-11-14 20:26:52 -05:00
Paul Eggert
bf20ea80f6 * eval.c (mark_backtrace) [BYTE_MARK_STACK]: Remove stray '*'.
This follows up on the 2012-09-29 patch that removed indirection
for the 'function' field.  Reported by Sergey Vinokurov in
<http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00263.html>.
2012-11-14 16:41:32 -08:00
Stefan Monnier
1668ea9062 * lisp/emacs-lisp/nadvice.el: Add around advice for interactive specs.
(advice-eval-interactive-spec): New function.
(advice--make-interactive-form): Support around advice.

Fixes: debbugs:12844
2012-11-14 15:27:42 -05:00
David Engster
22b762c7e3 Merge bug fixes from CEDET upstream.
* semantic/symref/list.el (semantic-symref-symbol): Use
  `semantic-complete-read-tag-project' instead of
  `semantic-complete-read-tag-buffer-deep', since the latter is not
  working correctly.

* semantic/symref.el (semantic-symref-result-get-tags): Use
  `find-buffer-visiting' to follow symbolic links.

* semantic/fw.el (semantic-find-file-noselect): Always set
  `enable-local-variables' to `:safe' when loading files.
2012-11-14 21:20:20 +01:00
Eli Zaretskii
14f207289c MS-Windows followup for 2012-11-14T04:55:41Z!eggert@cs.ucla.edu, regarding faccessat.
nt/inc/unistd.h (faccessat): Add prototype.
 (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
 2 moved from ms-w32.h.
 nt/inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.

 src/w32.c (faccessat): Rename from sys_faccessat.  (No need to use a
 different name, as the MS runtime does not have such a function,
 and probably never will.)  All callers changed.  Ignore DIRFD
 value if PATH is an absolute file name, to match Posix spec
 better.  If AT_SYMLINK_NOFOLLOW is set in FLAGS, don't resolve
 symlinks.

Fixes: debbugs:12632
2012-11-14 19:22:55 +02:00
Eli Zaretskii
730b2d8f6b Clean up w32 timer thread code in the hope of solving bug #12832.
src/w32proc.c (timer_loop): Make sure SuspendThread and ResumeThread
 use the same value of thread handle.
 (start_timer_thread): If the timer thread exited (due to error),
 clean up by closing the two handles it used.  Duplicate the caller
 thread's handle here, so it gets duplicated only once, when
 launching the timer thread.  Set priority of the timer thread, not
 the caller thread.
 (getitimer): Don't duplicate the caller thread's handle here.
2012-11-14 18:41:43 +02:00
Dmitry Gutov
c62792e7df * lisp/progmodes/ruby-mode.el
(ruby-syntax-propertize-function): After everything else, search
for expansions in string literals, mark their insides as
whitespace syntax and save match data for font-lock.
(ruby-font-lock-keywords): Highlight just the 2nd group from
expression expansion matches.
(ruby-match-expression-expansion): Use the match data saved to the
text property in ruby-syntax-propertize-function.

* test/automated/ruby-mode-tests.el
Change direct font-lock face references to var references.
(ruby-interpolation-suppresses-syntax-inside): New test.
(ruby-interpolation-inside-percent-literal-with-paren): New
failing test.
2012-11-14 16:17:21 +04:00
Glenn Morris
710f581278 Auto-commit of generated files. 2012-11-14 06:17:36 -05:00
Dmitry Antipov
77731919f9 * xdisp.c (echo_area_display, redisplay_internal):
Omit redundant check whether frame_garbaged is set.
2012-11-14 15:13:33 +04:00
Glenn Morris
921c067f43 Document set-temporary-overlay-map
* doc/lispref/keymaps.texi (Active Keymaps, Searching Keymaps)
(Controlling Active Maps): Document set-temporary-overlay-map.

* etc/NEWS: Related markup.
2012-11-14 00:45:50 -08:00
Glenn Morris
e0ea806006 * lisp/subr.el (set-temporary-overlay-map): Doc fix.
* etc/NEWS: Related edit.
2012-11-14 00:29:25 -08:00
Glenn Morris
e4e9830bd9 * doc/lispref/keymaps.texi (Searching Keymaps, Tool Bar): Untabify examples
so they align better in info.
2012-11-14 00:18:12 -08:00
Dmitry Gutov
8619323f69 * lisp/progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
more strict.  Add docstring.

* test/automated/ruby-mode-tests.el (ruby-indent-singleton-class): Pass.
(ruby-indent-inside-heredoc-after-operator)
(ruby-indent-inside-heredoc-after-space): New tests.
2012-11-14 10:34:17 +04:00