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

61893 commits

Author SHA1 Message Date
Glenn Morris
c7367d2de3 Merge from emacs-24; up to 2014-06-28T23:35:17Z!rgm@gnu.org 2014-08-10 17:59:34 -07:00
Glenn Morris
6b7d077506 ChangeLog fixes 2014-08-10 17:50:31 -07:00
Glenn Morris
ba04cd78ac * lisp/calendar/icalendar.el: Add missing :version tags for new defcustoms. 2014-08-10 17:47:10 -07:00
Grégoire Jadi
1dd7098709 * leim/quail/latin-post.el: Transform " __" into " _".
Fixes: debbugs:18023
2014-08-10 17:43:33 -07:00
Glenn Morris
f314e84fce Revert 2013-01-31 change that decides coding system before backing up
It causes a more serious problem than the one it solves.
This closes bug#18141, and reopens bug#13522.

* lisp/files.el (basic-save-buffer-2): Revert 2013-01-31 change.

* src/fileio.c: Revert 2013-01-31 change.
(choose_write_coding_system): No longer callable from Lisp.
Move last piece back here from Fwrite_region.
(Fwrite_region, syms_of_fileio): Update for above changes.

* test/automated/data/files-bug18141.el.gz: New file.
* test/automated/files.el (files-test-bug-18141-file):
New variable and test.
2014-08-10 17:38:19 -07:00
Ulf Jasper
d4ed7004f5 iCalendar export: Enumerate evaluated sexp diary entries (Bug#7911).
2014-08-10  Ulf Jasper  <ulf.jasper@web.de>

	Enumerate evaluated sexp diary entries (Bug#7911).

	* calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
	(icalendar-export-sexp-enumeration-days): New
	(icalendar-export-region): `icalendar--convert-to-ical' now
	returns a cons cell or a list of cons cells.
	(icalendar--convert-to-ical): Take care of
	`icalendar-export-sexp-enumerate-all'. Return (a list of) cons
	cells.
	(icalendar--convert-ordinary-to-ical),
	(icalendar--convert-weekly-to-ical),
	(icalendar--convert-yearly-to-ical),
	(icalendar--convert-block-to-ical),
	(icalendar--convert-block-to-ical),
	(icalendar--convert-float-to-ical),
	(icalendar--convert-cyclic-to-ical),
	(icalendar--convert-anniversary-to-ical): Return cons cell.
	(icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
	entries. Return (list of) cons cells.

2014-08-10  Ulf Jasper  <ulf.jasper@web.de>

	Enumerate evaluated sexp diary entries (Bug#7911).

	* automated/icalendar-tests.el
	(icalendar--convert-anniversary-to-ical),
	(icalendar--convert-cyclic-to-ical),
	(icalendar--convert-block-to-ical),
	(icalendar--convert-yearly-to-ical),
	(icalendar--convert-weekly-to-ical),
	(icalendar--convert-ordinary-to-ical): Returns cons cell now.
	(icalendar--convert-to-ical),
	(icalendar--convert-sexp-to-ical): New tests.
2014-08-10 19:48:51 +02:00
Martin Rudalics
d5f2feb581 Make doc-string of window-total-size more self-contained.
* window.el (window-total-size): Make doc-string more
self-contained.
2014-08-10 12:41:28 +02:00
Juri Linkov
aa4008091c * lisp/vc/vc-annotate.el (vc-annotate-background-mode): Add :set
to reevaluate `vc-annotate-color-map'.

Fixes: debbugs:18189
2014-08-10 02:55:39 +03:00
Alan Mackenzie
aac6be1331 progmodes/cc-fonts.el (c-font-lock-declarators): Remove check for
top-level that can cause unacceptable slow-down in scrolling.
See email Subject: Huge {...} blocks in C/C++ again, from Dmitry Antipov
from 2013-10-14 in emacs-devel.
2014-08-09 20:54:04 +00:00
Martin Rudalics
02e0530477 In display-buffer-below-selected reuse window below selected if it shows buffer already (Bug#18181).
* window.el (display-buffer-below-selected): Restore original
behavior if buffer is already displayed in the window below the
selected one (Bug#18181).
2014-08-09 18:50:13 +02:00
Stefan Monnier
5a88c153fc * lisp/mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
event.

Fixes: debbugs:18212
2014-08-08 12:56:50 -04:00
Rüdiger Sonderfeld
b2164af470 ibuffer.el (ibuffer-mode-map): Use toggle button for
`ibuffer-auto-mode' menu entry.
(ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
2014-08-08 16:35:40 +02:00
Rüdiger Sonderfeld
074a16388a lisp/ChangeLog: Fix last entry.
I did not realize that a bug was filed for that patch.  Also "make"
instead of "made".
2014-08-08 16:05:16 +02:00
Eli Zaretskii
1f3e13c15f lisp/info.el (info): Doc fix. 2014-08-08 16:53:55 +03:00
Matthias Meulien
5c872b1da4 progmodes/prog-mode.el (prog-mode-hook): Made customizable.
https://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00353.html
2014-08-08 15:51:47 +02:00
Stefan Monnier
87eb576e30 * lisp/info.el (Info-mode-map): Override a global down-mouse-2 binding.
Fixes: debbugs:18212
2014-08-07 14:35:54 -04:00
Kelvin White
ddc3fca44e * lisp/erc/erc.el: rename server buffers and fix variable names 2014-08-07 12:44:19 -04:00
Martin Rudalics
7aa06c9cb8 In window--min-size-1 set WINDOW arg when calling window-min-pixel-height/-width.
* window.el (window--min-size-1): Explicitly set WINDOW arg in
calls of window-min-pixel-height and window-min-pixel-width.
2014-08-07 16:34:06 +02:00
Reuben Thomas
6d9d9cde2f Remove remaining mentions of VMS as a host
* notes/exit-value: Remove specific discussion of VMS.
* doc/emacs/programs.texi (Program Modes): Don't advertise VMS DCL support
any more.
* doc/misc/ediff.texi (Merging and diff3): Don't mention lack of support
for VMS diff, we no longer support VMS.
* lisp/progmodes/ada-mode.el:
* lisp/net/tramp.el (tramp-handle-file-symlink-p):
* lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
about VMS, which we no longer support.
* lisp/progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
and fix a FIXME, using convert-standard-filename in place of
removed ada-convert-file-name.
* lisp/url/url-handlers.el: Remove a comment about VMS, which we no longer
support.
2014-08-07 12:49:36 +01:00
Reuben Thomas
6c5bbf8a00 Fix a few ``MS-DOG''s overlooked in the previous commit.
* README: ``MSDOG'' becomes ``MS-DOS''.
* lisp/arc-mode.el: Fix a couple of ``MS-DOG''s missed in the previous
commit.
* lisp/file-mode.el: ditto.
* src/editfns.c: Fix a couple of ``MS-DOG''s missed in the previous commit.
* src/xfaces.c: ditto.
2014-08-07 11:15:52 +01:00
Reuben Thomas
df514ccf9b Refer to MS-DOS using the same name everywhere.
* admin/FOR-RELEASE: ``MS-DOG'', ``MSDOG'' and ``msdog'' become
``MS-DOS''; ``msdog'' in filenames becomes ``msdos''.
* admin/MAINTAINERS: ditto.
* doc/emacs/Makefile.in (EMACSSOURCES): ditto.
* doc/emacs/emacs-xtra.texi: ditto.
* doc/emacs/emacs.texi: ditto.
* doc/emacs/makefile.w32-in: ditto.
* doc/emacs/msdog-xtra.texi: ditto, and rename file.
* doc/emacs/msdog.texi: ditto, and rename file.
* lisp/arc-mode.el: ditto.
* lisp/frame.el: ditto.
2014-08-07 10:55:09 +01: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
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
Eli Zaretskii
5818408f50 Fix bug #18195 with inaccurate results from window-screen-lines.
lisp/simple.el (default-line-height): A floating-point value of
 line-spacing means a fraction of the default frame font's height,
 not of the font currently used by the 'default' face.  Truncate
 the pixel value, like the display engine does.
 (window-screen-lines): Use window-inside-pixel-edges for
 determining the window height in pixels.
2014-08-05 16:34:06 +03: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
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
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
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
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
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
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
69402c0269 Spelling+grammar fix. 2014-08-01 08:44:42 -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
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
def546a8b8 [Gnus] Allow list-valued gcc-self group params
* lisp/gnus/gnus-msg.el (gnus-inews-insert-gcc):
  Allow `gcc-self' to be a list of groups and t.
* doc/misc/gnus.texi (Group Parameters):
  Document that `gcc-self' may also be a list.
2014-07-31 13:11:41 +00:00
Glenn Morris
21a7129a0b ChangeLog fix 2014-07-30 13:13:16 -04:00
Ulf Jasper
c99a3b8705 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-07-30 18:25:58 +02:00