1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00
Commit Graph

117049 Commits

Author SHA1 Message Date
Michael Albinus
ddc4ed129b * tramp.texi (Remote shell setup): Explain, how to change command
line arguments of remote "nc" listener.
2014-08-07 11:15:44 +02:00
Michael Albinus
faafcff80c * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
Use cached "remote-copy-args" value, if available.
2014-08-07 11:13:54 +02:00
Leo Liu
59e4244208 * lisp/help.el (temp-buffer-setup-hook,temp-buffer-show-hook): Revert
change on 2014-03-22.
2014-08-07 11:25:09 +08:00
Glenn Morris
92ae66ae3f * test/automated/Makefile.in (check-tar): Remove, hydra recipe does it now. 2014-08-06 17:07:32 -07:00
Ulf Jasper
075e911c45 Fix Bug#15408 (icalendar time zone problem)
2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr>

	* calendar/icalendar.el (icalendar--decode-isodatetime): Use
	actual current-time-zone when converting to local time. (Bug#15408)

2014-07-30  Ulf Jasper  <ulf.jasper@web.de>

	* automated/icalendar-tests.el (icalendar--decode-isodatetime): New test.
2014-08-06 20:19:34 +02:00
Katsumi Yamaoka
2416ad64a4 gnus-sum.el (gnus-summary-expire-articles): Revert last change 2014-08-06 11:14:08 +00:00
Eric Abrahamsen
345eec290b * gnus-sum.el (gnus-summary-expire-articles): Functions registered to
the gnus-summary-article-expire-hook should be told where the function
is going. In particular, the Gnus registry might want to know.
2014-08-06 00:33:37 +00:00
Tassilo Horn
9e8376863e lisp/gnus/ChangeLog (2014-07-31): Add missing entry 2014-08-06 00:31:29 +00:00
Eli Zaretskii
e895f8bd94 lisp/ChangeLog: Fix a typo in last entry. 2014-08-05 22:01:51 +03:00
Lars Magne Ingebrigtsen
81d0eae714 Use a max-width when displaying images
* lisp/image-mode.el (image-toggle-display-image): Alway rescale images
to not be bigger than the current window.
2014-08-05 20:18:39 +02:00
Eric Brown
06e7319ce3 lisp/net/eww.el (eww-bookmarks-directory): New variable.
* lisp/net/eww.el (eww-bookmarks-directory): New variable.
(eww-write-bookmarks): Use it.
(eww-read-bookmarks): Ditto.
2014-08-05 20:15:52 +02:00
Lars Magne Ingebrigtsen
488df60acc * lisp/net/shr.el (shr-copy-url): Also copy the image URL.
* lisp/net/shr.el (shr-copy-url): Also copy the image URL.
2014-08-05 20:15:03 +02:00
Martin Rudalics
805318e130 Don't redeem scroll bars that have been turned off.
* w32term.c (w32_redeem_scroll_bar):
* xterm.c (XTredeem_scroll_bar): Revert part of last change by
not redeeming scroll bars that have been turned off.
2014-08-05 10:25:28 +02:00
Michael Albinus
38c4a53e42 Fix typo in last commit. 2014-08-05 10:24:47 +02:00
Michael Albinus
59a685f2fe * net/tramp-cache.el (tramp-flush-file-function): Suppress function
also for Tramp working buffers.
2014-08-05 10:13:28 +02:00
Dmitry Antipov
697c09e934 * keyboard.c (safe_run_hooks): Follow the convenient style to bind
inhibit-quit to t and pass 2 args to safe_run_hook_funcall.  See
<http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00077.html>.
(safe_run_hook_funcall): Adjust accordingly.
2014-08-05 09:43:35 +04:00
Fabián Ezequiel Gallina
5ea39c0613 * lisp/progmodes/python.el: Fix completions inside (i)pdb.
(python-shell-completion-pdb-string-code): Make obsolete.
(python-shell-completion-get-completions): Use
python-shell-completion-string-code resending setup code
continuously for (i)pdb.
2014-08-04 18:35:17 -03:00
Paul Eggert
c7d117f39e Merge from gnulib, incorporating:
2014-08-04 extern-inline: port to FreeBSD, DragonFly
* lib/gnulib.mk: Regenerate (comment change only).
* m4/extern-inline.m4: Update from gnulib.
2014-08-04 11:44:49 -07:00
Martin Rudalics
4a75c94d14 Fix scroll bar handling for non-toolkit builds.
* frame.h (FRAME_HAS_HORIZONTAL_SCROLL_BARS): Condition
correctly according to toolkit used.
* frame.c (make_initial_frame, make_terminal_frame)
(x_set_horizontal_scroll_bars, x_set_scroll_bar_height)
(Vdefault_frame_horizontal_scroll_bars): Correctly condition
assignments according to presence of toolkit scrollbars.
* window.h (WINDOW_HAS_HORIZONTAL_SCROLL_BAR): Condition
correctly according to toolkit used.
* window.c (set_window_scroll_bars): Set horizontal scroll bar
only if toolkit supports it.
* w32term.c (w32_redeem_scroll_bar): Always redeem scroll bar if
present.
* xterm.c (x_scroll_bar_create): Initialize horizontal slot for
non-toolkit builds.
(XTredeem_scroll_bar): Always redeem scroll bar if present.
2014-08-04 18:47:27 +02:00
Paul Eggert
44a651f0f2 * rect.el (rectangle--default-line-number-format): Rename
from misspelled rectange--default-line-number-format (Bug#18045).
All uses changed.
2014-08-03 23:27:14 -07:00
Dmitry Antipov
f045dbe6a0 * keyboard.c (safe_run_hook_funcall): Avoid consing around
Vinhibit_quit and prefer internal_condition_case_n to pass args.
(safe_run_hooks_error, safe_run_hooks_1): Adjust accordingly.
(safe_run_hooks): Remove comment which is not relevant any more.
2014-08-04 08:03:31 +04:00
Paul Eggert
8d2f19849a Don't let big frames overrun the stack.
* dispnew.c (mirrored_line_dance, mirror_line_dance, scrolling):
Use SAFE_NALLOCA, not alloca.
2014-08-03 16:16:39 -07:00
Glenn Morris
3cc0c06094 Merge from emacs-24; up to 2014-06-27T16:27:08Z!rgm@gnu.org 2014-08-03 16:34:33 -04:00
Paul Eggert
308cc448e5 Don't mishandle year-9999 dates.
* lisp/calendar/parse-time.el (parse-time-rules):
Allow years up to most-positive-fixnum.
* lisp/calendar/time-date.el (date-to-time):
Pass "Specified time is not representable" errors through.
* lisp/url/url-cookie.el (url-cookie-expired-p): Treat out-of-range
expiration dates as if they were far in the future.
* src/editfns.c (decode_time_components): Store an invalid timespec
on overflow, instead of returning false, so that the caller can
distinguish overflow from other errors.
(lisp_time_argument, lisp_seconds_argument): If the time is out
of range, signal a time overflow instead of an invalid time spec.
* src/keyboard.c (decode_timer): Treat time overflow like other
timespec errors.

Fixes: debbugs:18176
2014-08-03 08:38:52 -07:00
Paul Eggert
8f88f7d3c5 Avoid undefined behavior with signed left shift.
Caught by 'gcc -fsanitize=undefined'.
* dispextern.h, scroll.c (scrolling_max_lines_saved, scrolling_1):
* dispnew.c (line_hash_code, scrolling):
* scroll.c (calculate_scrolling, calculate_direct_scrolling):
Use 'unsigned', not 'int', for line hashes.
(scrolling_max_lines_saved): Avoid mystery constants for hash sizes.
2014-08-03 05:34:44 -07:00
Dmitry Antipov
a270fa7cf8 Fix bug with an attempt to select uninitialized frame (Bug#18161).
* xfns.c (Fx_create_frame): Move call to change_frame_size to
a section where Lisp evaluation is disabled.  This way a pointer
to uninitialized frame is not accessible from Lisp, which becomes
critical if following call to x_figure_window_size throws an error.
2014-08-03 11:19:43 +04:00
Glenn Morris
f91d04c6fe * test/automated/Makefile.in (check-tar): Add as alias for check.
Do not merge this to trunk.
2014-08-02 23:52:00 -04:00
Glenn Morris
5fe16efb24 * test/automated/Makefile.in (check-tar): New rule. 2014-08-02 23:45:59 -04:00
Paul Eggert
a98a91ac46 Fix bug with clang + directory_files_internal + GC.
* src/dired.c (directory_files_internal): Use a volatile variable
to prevent the compiler from optimizing away all copies of a local.
I wonder how many other GC-related bugs like this lurk elsewhere?

Fixes: debbugs:16986
2014-08-02 15:58:09 -07:00
Fabián Ezequiel Gallina
01c600f6d6 * progmodes/python.el: Completion code cleanups.
(python-shell-completion-get-completions): Detect and send import
statements directly to completion function.
(python-shell-completion-at-point): Simplify prompt calculation
and import vs input completion logic.
2014-08-02 19:52:55 -03:00
Paul Eggert
88e3bc88c7 * configure.ac (HAVE_TIMERFD): Also check for TFD_NONBLOCK,
since the code is using TFD_NONBLOCK now.
2014-08-02 14:50:13 -07:00
Paul Eggert
7f0ff25b7a Avoid 100% CPU utilization on ssh session exit.
* src/xterm.h (struct x_display_info): New member 'connection'.
* src/xterm.c (x_term_init, x_delete_terminal): Set and use it,
so that x_delete_terminal has a file descriptor to pass to
delete_keyboard_wait_descriptor.

Fixes: debbugs:17691
2014-08-02 14:31:18 -07:00
Glenn Morris
3865ce6754 * test/automated/fns-tests.el (fns-tests-compare-strings): Update test. 2014-08-02 16:22:31 -04:00
Alan Mackenzie
d6c17223fe Fix confusion in C++ file caused by comma in "= {1,2},".
cc-engine.el (c-beginning-of-statement-1): In checking for a statement
boundary marked by "}", check there's no "=" before the "{".
(c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
non-nil `comma-delim' argument.
cc-fonts.el (c-font-lock-declarators): Parse an initializer expression
more accurately.
2014-08-02 18:52:48 +00:00
Dmitry Antipov
dbc471b133 Fix spacing in ChangeLog 2014-08-02 21:12:11 +04:00
Alan Mackenzie
7902217745 Correct loop termination condition in c-syntactic-skip-backward.
progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for the
situation where, after moving back out of a literal, skip-chars-backward
doesn't move further, yet checks have still to be done.
2014-08-02 16:42:29 +00:00
Paul Eggert
cb8b23675e Make compare-strings more compatible with old behavior.
* fns.c (Fcompare_strings): Silently bring too-large ends into range.

Fixes: debbugs:17903
2014-08-02 08:56:18 -07:00
Jan Djärv
f5f3247c65 * gtkutil.c (create_dialog): Force min spacing 10 between buttons.
Don't add label between left and right buttons.

Fixes: debbugs:18129
2014-08-02 15:32:40 +02:00
Glenn Morris
073ae628bb * automated/icalendar-tests.el (icalendar--decode-isodatetime): Hydra fix.
Use more precise TZ specification, as per 2013-08-04.
2014-08-02 01:44:18 -04:00
Paul Eggert
69402c0269 Spelling+grammar fix. 2014-08-01 08:44:42 -07:00
Paul Eggert
3ee7618cf1 Make functions static that no longer need to be extern.
* frame.c, frame.h (set_menu_bar_lines):
* keyboard.c (Qleftmost, Qrightmost):
* xfns.c, frame.h, menu.h (x_set_menu_bar_lines, x_set_tool_bar_lines)
(x_set_internal_border_width):
Now static.
2014-08-01 08:12:01 -07:00
Glenn Morris
f0316e9c5d ChangeLog date fix 2014-08-01 10:49:28 -04:00
Eli Zaretskii
8afcf7e9d7 Merge from emacs-24; up to 2014-06-26T21:51:25Z!rgm@gnu.org. 2014-08-01 16:10:07 +03:00
Glenn Morris
eef5843c34 Auto-commit of loaddefs files. 2014-08-01 07:18:48 -04:00
Glenn Morris
4844e0422f Auto-commit of loaddefs files. 2014-08-01 06:21:35 -04:00
Eli Zaretskii
a1767506c0 Fix display of R2L lines when the last character fits only partially.
See http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00476.html
 for the details.
 src/xdisp.c (extend_face_to_end_of_line): If the last glyph of an
 R2L row is visible only partially, give the row a negative x
 offset.
 (display_line): Fix the calculation of the glyph whose pixel width
 is used to decide whether the last produced glyph fits on the
 line.  When the last glyph fits only partially, give the row a
 negative x offset.
2014-08-01 12:39:04 +03:00
Dmitry Antipov
11804a04ad * atimer.c (toplevel) [HAVE_TIMERFD]: Include errno.h.
(timerfd_callback): Ignore weird events with no data.  Add tight
assertions and comments.
(init_atimer) [HAVE_TIMERFD]: Add environment variable to optionally
disabletimerfd-based timer.  Use TFD_NONBLOCK for timer descriptor.
2014-08-01 10:52:02 +04:00
Fabián Ezequiel Gallina
bc1ce1df86 * lisp/progmodes/python.el: Shell output capture enhancements.
(python-shell-accept-process-output): New function.
(inferior-python-mode)
(python-shell-send-setup-code): Use it.
2014-07-31 21:18:19 -03:00
Tassilo Horn
1b25672635 doc/misc/ChangeLog: Add missing entry for gnus.texi 2014-08-01 00:10:16 +00:00
Paul Eggert
2965dfdda3 Minor style fix to previous patch. 2014-07-31 17:04:52 -07:00