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

115808 commits

Author SHA1 Message Date
Leo Liu
157e8cfdd8 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation. 2014-05-02 19:11:35 +08:00
Glenn Morris
d136f18462 Doc fixes
* doc/misc/autotype.texi (Skeleton Language):
* doc/misc/message.texi (Header Commands):
* lisp/allout-widgets.el (allout-widgets-tally)
(allout-decorate-item-guides):
* lisp/menu-bar.el (menu-bar-positive-p):
* lisp/minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
* lisp/cedet/ede.el (ede-project-directories, ede-check-project-directory):
* lisp/cedet/semantic/ia-sb.el (semantic-ia-sb-show-doc):
* lisp/cedet/semantic/tag.el (semantic-tag-in-buffer-p):
* lisp/cedet/semantic/bovine/c.el (semantic-tag-abstract-p):
* lisp/gnus/gnus-registry.el (gnus-registry-install-p): Doc fix.
* lisp/progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
* lisp/progmodes/js.el (js--inside-param-list-p)
(js--inside-dojo-class-list-p, js--forward-destructuring-spec):
* lisp/progmodes/prolog.el (region-exists-p):
* lisp/progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
* lisp/textmodes/reftex-parse.el (reftex-using-biblatex-p):
* lisp/url/url-parse.el (url-generic-parse-url):
* src/floatfns.c (Fisnan):
* src/profiler.c (Fprofiler_cpu_running_p):
Doc fixes (replace `iff').

Fixes: debbugs:17309
2014-05-01 19:55:25 -04:00
Glenn Morris
969aabf250 * configure.ac (LIBPNG): Consult libpng-config
for the precise form of "-lpng" to use.

Fixes: debbugs:17339
2014-05-01 17:57:27 -04:00
Eli Zaretskii
28c05b699f src/term.c (tty_menu_activate): A better initialization for cursor coordinates. 2014-05-01 18:59:42 +03:00
Stefan Monnier
23c931aa24 * src/intervals.c: Tighten assertions.
(create_root_interval): Make sure the interval is not empty.
(intervals_equal): Use booleans.
(rotate_right, rotate_left): Check LENGTHs rather than TOTAL_LENGTH.
(balance_an_interval): Sanity check LENGTHs and TOTAL_LENGTHs.
(balance_possible_root_interval): Simplify and use booleans.
(split_interval_right, split_interval_left): Check LENGTH, and remove
now redundant assertion.
(adjust_intervals_for_insertion): Remove now redundant assertions.
(delete_node, interval_deletion_adjustment)
(adjust_intervals_for_deletion, merge_interval_right)
(merge_interval_left): Check LENGTH rather than TOTAL_LENGTH.
(reproduce_interval): Make sure the interval is not empty.
2014-05-01 11:15:46 -04:00
Glenn Morris
f40c5041bb Auto-commit of loaddefs files. 2014-05-01 07:18:18 -04:00
Stefan Monnier
4ec0cf9c4c * lisp/mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries. 2014-04-30 21:08:08 -04:00
Paul Eggert
426b5dafdd Spelling fix, plus try to fix grammar in doc string. 2014-04-30 11:01:36 -07:00
Paul Eggert
bc6cb3efd0 * term.c (tty_menu_activate): Don't assume row and col are initialized.
GCC 4.9.0 warned about this, and I couldn't easily prove to my own
satisfaction that they would always be initialized.
2014-04-30 10:54:27 -07:00
Eli Zaretskii
72962dd882 Minor fixes for dired.el doc strings.
lisp/dired.el (dired-initial-position-hook, dired-initial-position):
 Doc string fixes.
2014-04-30 19:59:03 +03:00
Eli Zaretskii
f828c69dba One more doc fix for bug #17362. 2014-04-29 22:23:05 +03:00
Glenn Morris
9a3f71f795 * lisp/mail/rmail.el (rmail-quit): Handle killed summaries.
Fixes: debbugs:17283
2014-04-29 11:51:49 -04:00
Eli Zaretskii
a55ea27f60 Place hardware TTY cursor at the active menu item when displaying a menu.
src/term.c (tty_menu_display): Move the cursor to the active menu
 item.
 (tty_menu_activate): Return the cursor to the active menu item
 after displaying the menu and after displaying help-echo.  See
 http://lists.gnu.org/archive/html/emacs-devel/2014-04/msg00402.html
 for the details of why this is needed by screen readers and
 Braille displays.
2014-04-29 18:33:37 +03:00
Eli Zaretskii
119bf2f4b1 Few more doc fixes for bug #17362. 2014-04-29 18:17:02 +03:00
Glenn Morris
4a25c1cb1e * src/process.c (handle_child_signal): Handle systems without WCONTINUED
Fixes: debbugs:15110
2014-04-29 08:12:36 -07:00
Glenn Morris
7ac903abc8 * lib-src/Makefile.in ($(DESTDIR)${archlibdir}): Avoid non-portable "`\" nesting
Fixes: debbugs:17339
2014-04-29 07:54:58 -07:00
Glenn Morris
ca489750c2 * configure.ac: Treat MirBSD as OpenBSD.
Fixes: debbugs:17339
2014-04-29 07:49:11 -07:00
Eli Zaretskii
d7e9a7f87a Fix bug #17362 with inconsistent usage of @key and @kbd, and key names.
doc/emacs/trouble.texi (Quitting, DEL Does Not Delete, Emergency Escape)
 (Bug Criteria): Fix usage of @kbd and @key.  (Bug#17362)
 doc/emacs/text.texi (Words, Pages, Foldout, HTML Mode): Fix usage of @kbd
 and @key.
 doc/emacs/search.texi (Special Isearch, Regexp Search): Fix usage of @kbd
 and @key.
 doc/emacs/screen.texi (Echo Area, Menu Bar): Fix usage of @kbd and @key.
 doc/emacs/rmail.texi (Rmail Scrolling): Fix usage of @kbd and @key.
 doc/emacs/programs.texi (Hungry Delete, Other C Commands): Fix usage of
 @kbd and @key.
 doc/emacs/picture-xtra.texi (Insert in Picture): Fix usage of @kbd and
 @key.
 doc/emacs/mule.texi (Unibyte Mode, Bidirectional Editing): Fix usage of
 @kbd and @key.
 doc/emacs/msdog.texi (Windows Keyboard, Windows Processes): Fix usage of
 @kbd and @key.
 doc/emacs/msdog-xtra.texi (MS-DOS Keyboard, MS-DOS Printing)
 (MS-DOS Processes): Fix usage of @kbd and @key.
 doc/emacs/misc.texi (Shell Ring, Printing Package): Fix usage of @kbd and
 @key.
 doc/emacs/mini.texi (Completion Commands, Minibuffer History): Fix usage
 of @kbd and @key.
 doc/emacs/kmacro.texi (Keyboard Macro Step-Edit): Fix usage of @kbd and
 @key.
 doc/emacs/killing.texi (Deletion, Rectangles, CUA Bindings): Fix usage of
 @kbd and @key.
 doc/emacs/indent.texi (Indentation Commands): Fix usage of @kbd and @key.
 doc/emacs/help.texi (Help Mode, Misc Help): Fix usage of @kbd and @key.
 doc/emacs/glossary.texi (Glossary): Fix usage of @kbd and @key.
 doc/emacs/frames.texi (Speedbar): Fix usage of @kbd and @key.
 doc/emacs/files.texi (Misc File Ops, File Name Cache, File Conveniences)
 (Filesets): Fix usage of @kbd and @key.
 doc/emacs/display.texi (View Mode): Fix usage of @kbd and @key.
 doc/emacs/dired.texi (Image-Dired): Fix usage of @kbd and @key.
 doc/emacs/custom.texi (Modifier Keys, Function Keys, Named ASCII Chars)
 (Init Syntax): Fix usage of @kbd and @key.
 doc/emacs/commands.texi (User Input): Fix usage of @kbd and @key.
 doc/emacs/calendar.texi (Counting Days, General Calendar): Fix usage of
 @kbd and @key.
 doc/emacs/building.texi (Threads Buffer): Fix usage of @kbd and @key.
 doc/emacs/buffers.texi (Select Buffer, Icomplete): Fix usage of @kbd and
 @key.
 doc/emacs/basic.texi (Inserting Text, Erasing, Arguments): Fix usage of
 @kbd and @key.
2014-04-29 17:45:24 +03:00
Stefan Monnier
2785da249b * doc/lispref/processes.texi (Filter Functions, Sentinels):
Advertise add-function.
2014-04-29 00:14:27 -04:00
Eli Zaretskii
2cfb51ef2a Fix a typo in ChangeLog entry of last commit. 2014-04-28 22:15:58 +03:00
Matthias Dahl
bc6953b32f Fix bug 16694 with applying X resources to faces too early.
lisp/faces.el (face-spec-recalc): Apply X resources only after the
 defface spec has been applied. Thus, X resources are no longer
 overriden by the defface spec which also fixes issues on win32 where
 the toolbar coloring was wrong because it is set through X resources
 and was (wrongfully) overriden.
2014-04-28 22:14:17 +03:00
Stefan Monnier
4f5fa75591 * lisp/textmodes/rst.el (electric-pair-pairs): Declare.
(rst-mode): Set it.

Fixes: debbugs:17131
2014-04-28 11:04:49 -04:00
Juri Linkov
8e554df009 * lisp/desktop.el (desktop-value-to-string): Let-bind print-length' and print-level' to nil.
Fixes: debbugs:17351
2014-04-27 11:22:11 +03:00
Eli Zaretskii
5d46972532 Fix bug #17308 with inaccurate description of mail signature handling.
doc/emacs/sending.texi (Mail Signature): Document signature variables used
 by Message mode.
2014-04-26 10:46:18 +03:00
Eli Zaretskii
7ece6d4014 Fix bug #17334 with overrunning string bounds when PATH is broken.
nt/cmdproxy.c (make_absolute): Don't copy more characters from PATH
 than a single directory name can hold.
2014-04-26 10:06:33 +03:00
Nicolas Richard
0507406b6c * lisp/battery.el (battery-update): Handle the case where battery
status is "N/A".

Fixes: debbugs:17319
2014-04-25 14:01:18 -04:00
Michael Albinus
844465d6ca * automated/tramp-tests.el (top):
* automated/file-notify-tests.el (top): Do not disable interactive
passwords in batch mode.
(password-cache-expiry): Set to nil.
2014-04-25 12:35:01 +02:00
Eli Zaretskii
402a211fd3 Minor doc fix for string predicates.
doc/lispref/strings.texi (Text Comparison): Mention
 equal-including-properties for when text properties of the strings
 matter for comparison.
2014-04-24 18:11:04 +03:00
Eli Zaretskii
bc0650fdb6 Fix bug #17331 with display properties on help-echo strings.
lisp/tooltip.el (tooltip-show-help-non-mode, tooltip-show-help): Use
 equal-including-properties to compare help-echo strings.
2014-04-24 18:02:56 +03:00
Michael Albinus
c0b9bc72cc Use a mock-up connection method for remote files.
* automated/file-notify-tests.el
(file-notify-test-remote-temporary-file-directory):
* automated/tramp-tests.el (tramp-test-temporary-file-directory):
Use a mock-up method as default.
(tramp-test00-availability): Print the used directory name.
(tramp-test33-recursive-load): Fix typo.
2014-04-24 10:21:58 +02:00
Leo Liu
00104e5923 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
Fix syntax for @.

Fixes: debbugs:17325
2014-04-24 08:55:18 +08:00
Daniel Colascione
543e3c63ac Require gv early to break eager macro-expansion cycles
* lisp/emacs-lisp/cl.el (gv): Require gv early to break eager
macro-expansion cycles.
2014-04-23 17:28:47 -07:00
Eli Zaretskii
80d982d7ad Fix debugging code for checking the newline cache.
src/search.c (Fnewline_cache_check): Don't try to count newlines
 outside the buffer's restriction, as find_newline doesn't support
 that.
2014-04-23 18:21:25 +03:00
Stefan Monnier
05452dc497 * lisp/simple.el (region-active-p): Check there's a mark.
Fixes: debbugs:17324
2014-04-23 08:52:22 -04:00
Stefan Monnier
0e8a933149 * lisp/simple.el (completion-list-mode-map): Use choose-completion for the
mouse binding as well.
(completion-list-mode, completion-setup-function): Adjust docstring and
echo area message accordingly.
* lisp/progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
calling convention of choose-completion.
* lisp/comint.el (comint-dynamic-list-completions):
* lisp/term.el (term-dynamic-list-completions): Accept choose-completion.

Fixes: debbugs:17302
2014-04-22 22:22:06 -04:00
Stefan Monnier
c08684513a * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
&, |, +, - and * can't be a division.

Fixes: debbugs:17317
2014-04-22 21:56:18 -04:00
Stefan Monnier
f7e0450a37 * lisp/term/xterm.el (xterm--version-handler): Don't use modern xterm
features on gnome-terminal.

Fixes: debbugs:16988
2014-04-22 16:35:33 -04:00
Paul Eggert
34e856d5ac Port to GCC 4.9.0 with --enable-gcc-warnings.
* image.c (struct my_jpeg_error_mgr) [lint]: Remove member fp.
All uses removed.
(jpeg_load_body) [lint]: Add a 'volatile' to pacify a buggy GCC in
a way that also works with GCC 4.9.0.
2014-04-22 13:19:17 -07:00
Paul Eggert
0fae5004bc * search.c (Fnewline_cache_check): Remove unused locals. 2014-04-22 13:13:59 -07:00
Michael Heerdegen
f2df692cd3 * dired.el (dired-insert-set-properties): Do not consider
subdirectory headings and empty lines to be information that
`dired-hide-details-mode' should hide.  (Bug#17228)
2014-04-22 20:17:17 +02:00
Eli Zaretskii
2f999d5275 Add debugging facility for the newline cache.
See the discussion in
http://lists.gnu.org/archive/html/emacs-devel/2014-04/msg00295.html
for more detail.

 src/search.c (find_newline1): New subroutine.
 (Fnewline_cache_check): New function.
 (syms_of_search): Defsubr it.
2014-04-22 20:37:35 +03:00
Bastien Guerry
30cb51f1bc Merge Org 8.2.6-1.
The last merge was from 8.2.5c, but many important bugs got
fixed between 8.2.5c and 8.2.6-1.
2014-04-22 16:07:45 +02:00
Michael Albinus
d5ff4ded7a * automated/tramp-tests.el (tramp--test-check-files): Remove traces. 2014-04-22 12:52:08 +02:00
Michael Albinus
14828a9567 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
Remove test messages.
(tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
and `target' twice.
2014-04-22 12:43:01 +02:00
Michael Albinus
84b2095cba * automated/tramp-tests.el (tramp-test30-special-characters):
Remove test for backslash.
2014-04-22 09:50:58 +02:00
Stefan Monnier
9c10436944 * lisp/dframe.el (dframe-get-focus): Remove `hook' argument.
* lisp/speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.

Fixes: debbugs:17311
2014-04-21 17:43:17 -04:00
Stefan Monnier
622eef687c * lisp/emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name. 2014-04-21 17:18:12 -04:00
Michael Albinus
505fa2ab43 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): Set
"IFS=" when using read builtin, in order to preserve spaces in
the file name.  Add test messages for hunting a bug on hydra.
(tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
2014-04-21 23:04:25 +02:00
Stefan Monnier
f0ffb9b767 * lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
Don't prettify a word within a symbol.
2014-04-21 16:31:22 -04:00
Jarek Czekalski
6709d4dab9 Fix freezing with scroll bars of GTK3 Toolkit.
* src/keyboard.c (unblock_input): Add comment.
* src/xgselect.c (xg_select): Prevent Glib main loop recursion.

Fixes: debbugs:15801
2014-04-21 11:55:28 -04:00