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

115658 commits

Author SHA1 Message Date
Stefan Monnier
66f50b12de * lisp/progmodes/perl-mode.el (perl-indent-new-calculate):
Handle forward-sexp failure.

Fixes: debbugs:16985
2014-04-02 15:47:50 -04:00
Martin Rudalics
ffcd5669d6 In x_new_font don't calculate non-toolkit scrollbar width from font width (Bug#17163).
* xterm.c (x_new_font): Don't calculate non-toolkit scrollbar
width from font width (Bug#17163).
2014-04-02 16:33:33 +02:00
Glenn Morris
0b908bf2ef Small codes update for revert-buffer-function no longer being nil by default
* lisp/menu-bar.el (menu-bar-file-menu):
* lisp/vc/ediff.el (ediff-current-file):
Update for revert-buffer-function no longer being nil by default.
2014-04-02 00:07:11 -07:00
Glenn Morris
9c8b0aa042 NEWS small edits 2014-04-02 00:01:07 -07:00
Glenn Morris
c7510f6e94 * lisp/simple.el (command-execute): Respect nil disabled-command-function. 2014-04-01 23:53:10 -07:00
Nicolas Richard
6116a72722 Fix for command-execute handling of disabled commands
* lisp/simple.el (command-execute): Do not execute the command when it
is disabled; fixes thinko in 2013-02-20 conversion from C.

Fixes: debbugs:17151
2014-04-01 23:51:59 -07:00
Glenn Morris
8ec45bab98 Backport cedet/ede/emacs.el change from trunk
In case anyone uses 24.4 to edit trunk Emacs sources

* lisp/cedet/ede/emacs.el (ede-emacs-version): Update AC_INIT regexp.

Fixes: debbugs:17160
2014-04-01 09:27:59 -07:00
Glenn Morris
c7335c0d2b Auto-commit of loaddefs files. 2014-04-01 07:22:00 -04:00
Glenn Morris
2998fa1b73 Fix up some Version: headers that might confuse package.el 2014-03-31 15:01:59 -04:00
Glenn Morris
8033778191 Rename some cedet Version: headers that can confuse package.el
Fixes: debbugs:17137
2014-03-31 13:01:19 -04:00
Glenn Morris
63adc15691 * configure.ac: Make the final "Does Emacs use Gsettings" message
consistent with src/config.h.
2014-03-31 09:22:32 -07:00
Jan Djärv
dcb4c4d753 * configure.ac: Fix errors from previous checkin (GSettings check).
Backport from trunk.
2014-03-31 08:08:29 +02:00
Daniel Colascione
8e86e380dc * configure.ac: Include GFILENOTIFY objects in glib check (backport from trunk)
Fixes: debbugs:17069
2014-03-30 16:59:19 -07:00
Eli Zaretskii
34cad8271d nt/INSTALL: Minor fixes. 2014-03-30 21:55:19 +03:00
Martin Rudalics
632e91a645 In x_set_window_size postpone calculation of default frame sizes (Bug#17142).
* frame.c (x_set_frame_parameters): Calculate default values of
new frame sizes only after all other frame parameters have been
processed (Bug#17142).
2014-03-30 15:31:45 +02:00
Glenn Morris
045902f0e1 Auto-commit of loaddefs files. 2014-03-30 07:24:54 -04:00
Jan Djärv
4e6c9f7b2e * configure.ac: Add check that GSettings is in libgio. Backport from trunk.
Fixes: debbugs:17118
2014-03-30 12:44:33 +02:00
Juri Linkov
8778eb5efa * lisp/dired-aux.el (dired-compress-file): Don't use string-match-p
because its match data is used afterwards.
2014-03-29 19:59:36 +02:00
Stefan Monnier
929c0500cc * lisp/emacs-lisp/package.el (package-built-in-p): Treat a min-version of
0 like nil.
2014-03-28 18:47:46 -04:00
Glenn Morris
84df8b963e * etc/CONTRIBUTE: Avoid being specific about countries.
It's just liable to get outdated.
2014-03-28 15:44:37 -04:00
Glenn Morris
e00a3e2238 * etc/CONTRIBUTE: Small updates 2014-03-28 15:20:48 -04:00
Ken Brown
9c67d3ba99 * src/conf_post.h (SYSTEM_PURESIZE_EXTRA) [CYGWIN]: Set to 10000. (Bug#17112) 2014-03-28 12:32:54 -04:00
Glenn Morris
f49dcb3a3e Backport NEWS tweak from trunk 2014-03-27 21:43:01 -04:00
YAMAMOTO Mitsuharu
08be62f4b1 Adjust image background width on X11 accordingly when its x position is adjusted. (Bug#17115) 2014-03-28 09:50:53 +09:00
YAMAMOTO Mitsuharu
0c4e715c98 Fix bug #17115 with displaying on w32 images that have 'box' face.
src/w32term.c (x_draw_image_glyph_string): Fix computation of height
 and width of image background when it is displayed with a 'box'
 face.
2014-03-27 18:25:17 +02:00
Dmitry Gutov
8de64bb862 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
special globals with font-lock-builtin-face.

Fixes: debbugs:17057
2014-03-27 10:21:15 +02:00
Dmitry Gutov
42ebc34ea8 Fix bug#17097
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function):
Don't propertize `?' or `!' as symbol constituent when after
colon.
2014-03-27 08:53:13 +02:00
Juanma Barranquero
857ba6ec46 lisp/frameset.el: Fix bug#17046.
(frameset--restore-frame): Remove workaround for bug#14795
which is no longer needed and causes trouble in GTK builds.
2014-03-27 02:01:36 +01:00
Juanma Barranquero
b1c870c9e8 lisp/emacs-lisp/package-x.el: Follow-up to change in package.el.
(package--archive-contents-from-url): Use url-insert-file-contents;
package-handle-response no longer exists.
2014-03-27 01:20:50 +01:00
Paul Eggert
3fd3e73693 More backward-compatible fix to char-equal core dump.
* editfns.c (Fchar_equal): In unibyte buffers, assume values in
range 128-255 are raw bytes.  Suggested by Eli Zaretskii.

Fixes: debbugs:17011
2014-03-26 10:55:31 -07:00
Juanma Barranquero
196716cf35 * lisp/emacs-lisp/package.el: Fix bug#16733 (again).
(url-http-parse-response, url-http-end-of-headers, url-recreate-url)
  (url-http-target-url): Remove unused declarations.
  (package-handle-response): Remove.
  (package--with-work-buffer): Use url-insert-file-contents and simplify.
  (package--download-one-archive): Use current-buffer instead of
  dynamic binding of `buffer'.
  (describe-package-1): Do not decode readme-string.

* lisp/url/url-handlers.el (url-http-parse-response): Add autoload.
  (url-insert-file-contents): Signal file-error in case of HTTP error.
2014-03-26 16:21:17 +01:00
Michael Albinus
589d1988d8 Fix wrong timestamp. 2014-03-26 14:02:16 +01:00
Paul Eggert
05b250c2c0 Fix core dump in char-equal.
* editfns.c (Fchar_equal): Do not use MAKE_CHAR_MULTIBYTE in
unibyte buffers, as we can't tell whether the characters are
actually unibyte.

Fixes: debbugs:17011
2014-03-25 22:35:38 -07:00
Paul Eggert
cefcfbcc1b Merge from gnulib.
This incorporates:
2014-03-26 strftime: wrap macros in "do {...} while(0)"
* lib/strftime.c, doc/misc/texinfo.tex: Update from gnulib.
2014-03-25 21:16:13 -07:00
Paul Eggert
b18d7820f3 * insdel.c (adjust_markers_for_delete): Remove unused local. 2014-03-25 21:07:25 -07:00
Barry O'Reilly
657e54f709 Addendum to: Undo in region after markers in undo history relocated
* simple.el (primitive-undo): Correction to 2014-03-24 change.

Fixes: debbugs:16818
2014-03-25 19:30:08 -04:00
Eli Zaretskii
75b7e407e8 Improve doc of file-symlink-p per bug #17073.
doc/lispref/files.texi (Kinds of Files): Improve documentation of
 file-symlink-p.  Add cross-references.
2014-03-25 18:08:45 +02:00
Michael Albinus
08cf935b84 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly): In the
`rename' case, check whether source directory has set the sticky bit.
2014-03-25 10:49:37 +01:00
Michael Albinus
1f73d6c675 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
* net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
from 2014-03-07, it decreases performance unnecessarily.  Let-bind
`remote-file-name-inhibit-cache' to nil in the second pass.
(tramp-find-executable): Do not call "which" on SunOS.
(tramp-send-command-and-check): Fix docstring.
2014-03-25 09:16:49 +01:00
Michael Albinus
c7d0e04c9d Fix last ChangeLog entry. 2014-03-25 08:34:30 +01:00
Barry O'Reilly
37ea8275f7 Undo in region after markers in undo history relocated
* simple.el (primitive-undo): Only process marker adjustments
validated against their corresponding (TEXT . POS).  Issue warning
for lone marker adjustments in undo history.  (Bug#16818)
(undo-make-selective-list): Add marker adjustments to selective
undo list based on whether their corresponding (TEXT . POS) is in
the region.  Remove variable adjusted-markers, which was unused
and only non nil during undo-make-selective-list.
(undo-elt-in-region): Return nil when passed a marker adjustment
and explain in function doc.

Have (MARKER . ADJUSTMENT) undo records always be immediately
after their corresponding (TEXT . POS) record in undo list.
(Bug#16818)
* lisp.h (record-delete): New arg record_markers.
(record_marker_adjustment): No longer needed outside undo.c.
* insdel.c (adjust_markers_for_delete): Move calculation of marker
adjustments to undo.c's record_marker_adjustments.  Note that
fileio.c's decide_coding_unwind is another caller to
adjust_markers_for_delete.  Because it has undo list bound to t,
it does not rely on adjust_markers_for_delete to record marker
adjustments.
(del_range_2): Swap call to record_delete and
adjust_markers_for_delete so as undo marker adjustments are
recorded before current deletion's adjustments, as before.
(adjust_after_replace):
(replace_range): Pass value for new record_markers arg to
delete_record.
* undo.c (record_marker_adjustment): Renamed to
record_marker_adjustments and made static.
(record_delete): Check record_markers arg and call
record_marker_adjustments.
(record_change): Pass value for new record_markers arg to
delete_record.
(record_point): at_boundary calculation no longer needs to account
for marker adjustments.

* undo-tests.el (undo-test-marker-adjustment-nominal):
(undo-test-region-t-marker): New tests of marker adjustments.
(undo-test-marker-adjustment-moved):
(undo-test-region-mark-adjustment): New tests to demonstrate
bug#16818, which fail without the fix.

* markers.texi (Moving Marker Positions): The 2014-03-02 doc
change mentioning undo's inability to handle relocated markers no
longer applies.  See bug#16818.
* text.texi (Undo): Expand documentation of (TEXT . POS) and
(MARKER . ADJUSTMENT) undo elements.
2014-03-24 22:47:39 -04:00
Dmitry Gutov
3e2377ce2f Fix bug#16762
* lisp/emacs-lisp/package.el (package--add-to-archive-contents):
Include already installed and built-in packages in
`package-archive-contents'.
(package-install): Don't include already installed packages in the
options on interactive invocation.
2014-03-25 00:38:06 +02:00
Daniel Colascione
544ab460f5 Backport &key-parsing improvement from trunk 2014-03-24 13:41:08 -07:00
Juanma Barranquero
c3561529d2 lisp/frameset.el (frameset--initial-params): Fix typo in parameter name. 2014-03-24 21:01:21 +01:00
Nicolas Richard
74be16492f lisp/align.el (align-region): Do not fail when end-mark is nil (bug#17088). 2014-03-24 17:54:24 +01:00
Dmitry Gutov
c2d6c639cf Match special globals in Ruby better
* lisp/progmodes/ruby-mode.el (ruby-expression-expansion-re):
Match special global variables without curlies, too.
(ruby-font-lock-keywords): Simplify the matcher for special global
variables.  Don't require a non-word character after the variable.

Fixes: debbugs:17057
2014-03-24 10:53:56 +02:00
Martin Rudalics
f2999a33d0 Refine previous fix of x_set_window_size to handle Bug#17077.
* w32term.c (x_set_window_size): Refine fix from 2014-03-14
(Bug#17077).
2014-03-24 09:50:17 +01:00
Michael Albinus
39e98ed4ff * tramp.texi (Frequently Asked Questions): Add fish shell settings. 2014-03-24 09:09:42 +01:00
Glenn Morris
33f0ba7e49 * src/fileio.c (Ffile_symlink_p): Doc fix.
Fixes: debbugs:17073
2014-03-23 16:38:40 -07:00
Stefan Monnier
f6614a4770 * lisp/simple.el (redisplay-highlight-region-function): Increase priority of
overlay to make sure boundaries are visible.
* src/buffer.c (struct sortvec): Add field `spriority'.
(compare_overlays): Use it.
(sort_overlays): Set it.

Fixes: debbugs:15899
2014-03-23 18:30:47 -04:00