Paul Eggert
e41c05e55d
Merge from gnulib.
2012-09-22 02:46:20 -07:00
Stefan Merten
48a24920cc
* rst.el: Revamp section title faces.
...
(rst-official-version)
(rst-package-emacs-version-alist): Sync with official version
V1.4.0.
(rst-faces-defaults, rst-set-level-default)
(rst-level-face-max, rst-level-face-base-color)
(rst-level-face-base-light, rst-level-face-format-light)
(rst-level-face-step-light, rst-define-level-faces): Obsolete.
(rst-adornment-faces-alist): Match new setup.
(rst-level-1, rst-level-2, rst-level-3, rst-level-4)
(rst-level-5, rst-level-6): New faces.
2012-09-22 11:16:00 +02:00
Paul Eggert
703342f8d8
Do not truncate strsignal output.
2012-09-22 01:22:49 -07:00
Paul Eggert
01108e3f45
* emacs.c (shut_down_emacs): Don't assume stderr is buffered,
...
or that fprintf is async-signal-safe. POSIX doesn't require
either assumption.
2012-09-22 00:34:52 -07:00
Chong Yidong
471333800d
* frames.texi (Pop-Up Menus): Minor clarification for x-popup-menu.
...
Fixes: debbugs:11148
2012-09-22 11:29:37 +08:00
Chong Yidong
82f8cd940f
Fix auto-save and locking for indirect buffers.
...
* lisp/simple.el (undo): Handle indirect buffers.
* buffer.c (Fset_buffer_modified_p): Handle indirect buffers.
Fixes: debbugs:8207
2012-09-22 11:07:39 +08:00
Kenichi Handa
fa42927fd0
merge trunk
2012-09-22 11:26:05 +09:00
Kenichi Handa
3cccbd8726
composite.c (composition_reseat_it): Handle the case that a grapheme cluster is not covered by a single font (Bug#12352).
2012-09-22 11:15:29 +09:00
Paul Eggert
58f3a196fc
* trouble.texi (Crashing): Document addr2line.
2012-09-21 12:28:41 -07:00
Chong Yidong
09c01941f4
Fix list duplication error in define_image_type.
...
* image.c (define_image_type): Avoid adding duplicate types to
image_types. Suggested by Jörg Walter.
Fixes: debbugs:12463
2012-09-21 11:52:23 +08:00
Glenn Morris
ab199df27b
ChangeLog date fix
2012-09-20 20:22:27 -07:00
Chong Yidong
acfa068f4a
Merge from emacs-24; up to 2012-05-07T14:57:18Z!michael.albinus@gmx.de
2012-09-21 11:03:48 +08:00
Juri Linkov
eb2deaffd1
* lisp/replace.el (query-replace-read-from): Use `read-regexp' instead
...
of `read-from-minibuffer' when `regexp-flag' is non-nil.
(occur-read-primary-args): Use `read-regexp' instead of
`read-string'.
(multi-occur-in-matching-buffers): Use `read-regexp' instead of
`read-from-minibuffer'.
* lisp/isearch.el (isearch-occur): Use `read-regexp' instead of
`read-string'.
* lisp/dired.el (dired-read-regexp): Use `read-regexp' instead of
`read-from-minibuffer'.
* lisp/progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
of `read-string'.
Fixes: debbugs:7567
2012-09-21 00:57:13 +03:00
Juri Linkov
5825610b41
* lisp/replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
...
and allow accepting a list of strings prepended to a list of
standard default values. Doc fix.
Fixes: debbugs:12321
2012-09-21 00:35:40 +03:00
Juri Linkov
eebbf404b8
* lisp/replace.el (read-regexp): Add HISTORY arg.
...
Fixes: debbugs:7567
2012-09-21 00:28:47 +03:00
Juri Linkov
41a97e6fcf
* lisp/replace.el (read-regexp): Don't add ": " when PROMPT already
...
ends with a colon and space.
Fixes: debbugs:12321
2012-09-21 00:21:46 +03:00
Tassilo Horn
c9e452d3a1
* doc-view.el (doc-view-display): Better fix for the cl-assertion
...
error.
2012-09-20 21:53:40 +02:00
Stefan Merten
ee97deeedd
* rst.el: Integrate support for imenu' and which-function'.
...
Fixes feature request bug#11711.
(rst-mode): Create `imenu-create-index-function'.
(rst-get-stripped-line): Delete after refactoring.
(rst-section-tree, rst-section-tree-rec)
(rst-section-tree-point): Refactor and document properly.
(rst-imenu-find-adornments-for-position)
(rst-imenu-convert-cell, rst-imenu-create-index): New
function.
2012-09-20 20:59:00 +02:00
Stefan Monnier
95b9712e9e
* lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
...
(macroexp--expand-all): Use it.
(macroexp--funcall-and-return): Remove by folding it into its sole
caller (macroexp--warn-and-return).
* lisp/emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
Use macroexp--obsolete-warning.
2012-09-20 09:46:36 -04:00
Stefan Monnier
f490dab981
* lisp/calc/calc.el: Fix last change by removing the whole chunk, since it
...
was only needed back when Calc was not bundled.
2012-09-20 09:44:45 -04:00
Martin Rudalics
96e8d4114d
In debug restore assignment to debugger-old-buffer.
...
* emacs-lisp/debug.el (debug): Restore assignment to
debugger-old-buffer removed on 2012-09-08.
2012-09-20 15:35:13 +02:00
Glenn Morris
9b154e20db
Auto-commit of loaddefs files.
2012-09-20 06:19:05 -04:00
Juri Linkov
0876a82d85
* lisp/dired-aux.el (dired-diff): Remove (require 'diff) since
...
`diff-latest-backup-file' is now autoloaded.
2012-09-20 12:03:51 +03:00
YAMAMOTO Mitsuharu
d3fa327c47
Fix space in last commit.
2012-09-20 17:35:35 +09:00
YAMAMOTO Mitsuharu
e25c1a3064
Add new load command for Xcode 4.5.
2012-09-20 17:28:48 +09:00
Chong Yidong
9f7c28f0f6
* vc/diff.el (diff-latest-backup-file): Autoload.
2012-09-20 12:29:04 +08:00
Stefan Monnier
e6f0a80dd2
* lisp/calc/calc.el: Remove redundant autoload shape check.
...
(sel-mode): Don't defvar.
(calc-get-stack-element): Add `sel-mode' arg instead.
(calc-top, calc-top-list): Pass it this additional argument.
* lisp/calc/calc-store.el (calc-store-map):
* lisp/calc/calc-map.el (calc-apply, calc-reduce, calc-map)
(calc-map-equation, calc-outer-product, calc-inner-product):
* lisp/calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2012-09-19 23:44:57 -04:00
Stefan Monnier
7a04bee953
* lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2012-09-19 23:29:41 -04:00
Stefan Monnier
e99f70c8cd
* src/alloc.c (mark_object) <PVEC_WINDOW>: Mark prev/next_buffers *after*
...
calling mark_vectorlike since that's the one that marks the window.
(mark_discard_killed_buffers): Mark the final cdr.
* src/window.h (struct window): Move prev/next_buffers to the
non-standard fields.
* src/window.c (make_window): Initialize prev/next_buffers manually.
2012-09-19 23:10:52 -04:00
Paul Eggert
f75beb4787
Omit unused arg EXPECTED from socket hooks.
...
* keyboard.c (gobble_input, read_avail_input, tty_read_avail_input):
* nsterm.m (ns_term_init):
* termhooks.h (struct terminal.read_socket_hook):
* w32inevt.c (w32_console_read_socket):
* w32term.c (w32_read_socket):
* xterm.c (XTread_socket):
Omit unused arg EXPECTED. All callers changed.
(store_user_signal_events): Return void, not int, since callers no
longer care about the return value. All uses changed.
2012-09-19 18:37:07 -07:00
Juanma Barranquero
b019b76a18
src/w32gui.h (XParseGeometry): Do not declare.
2012-09-20 03:02:21 +02:00
Paul Eggert
e4bce92acb
* w32inevt.c (w32_console_read_socket): Return -1 on failure, not 0.
...
Ignore 'expected'. See Eli Zaretskii in
<http://bugs.gnu.org/12471#8 > (last line).
2012-09-19 14:38:00 -07:00
Juri Linkov
127342224e
* lisp/dired-aux.el (dired-diff): Add (require 'diff) because
...
`diff-latest-backup-file' is not autoloaded.
(dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
of `dired-get-filename' to t to not report error when there is
no default file on the current line.
2012-09-19 23:09:55 +03:00
Stefan Monnier
ce97595bd4
* lisp/emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
...
macroexp--eval-if-compile.
(macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
(macroexp--expand-all): Use them.
Fixes: debbugs:12371
2012-09-19 15:59:52 -04:00
Stefan Monnier
46624b4fa1
* lisp/doc-view.el (doc-view-guess-paper-size)
...
(doc-view-scale-bounding-box): Fix unbound `caddr'.
2012-09-19 13:54:59 -04:00
Tassilo Horn
db8a5a189e
New feature: set optimal slice from BoundingBox information.
...
* doc-view.el (doc-view-mode-map): Add keybinding.
(doc-view-menu): Add menu entry.
(doc-view-set-slice): Adapt docstring.
(doc-view-get-bounding-box, doc-view-guess-paper-size)
(doc-view-scale-bounding-box)
(doc-view-set-slice-from-bounding-box): New functions.
(doc-view-paper-sizes): New defvar.
* doc/emacs/misc.texi (DocView Slicing): Document new slice from
BoundingBox feature.
2012-09-19 19:35:18 +02:00
Paul Eggert
05642592f0
* frame.c (read_integer): Remove. All uses replaced by strtol/strtoul.
...
(XParseGeometry): Now static. Substitute extremal values for
values that are out of range.
2012-09-19 10:28:13 -07:00
Glenn Morris
35f5b19d7a
Partial fix for bug#12371
...
* emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
(byte-compile-log-warning): Autoload.
2012-09-19 09:09:43 -07:00
Glenn Morris
a732eace5f
Auto-commit of generated files.
2012-09-19 06:17:35 -04:00
Glenn Morris
69f6644cd4
Allow customization of calendar month header text
...
* lisp/calendar/calendar.el (calendar-american-month-header)
(calendar-european-month-header, calendar-iso-month-header)
(calendar-month-header): New options.
(calendar-set-date-style): Set calendar-month-header. Redraw calendar.
(calendar-generate-month): Use calendar-month-header.
Fixes: debbugs:9510
2012-09-19 00:27:29 -07:00
Chong Yidong
4ef1567b27
* killing.texi (Yanking): Minor clarification.
...
Fixes: debbugs:12469
2012-09-19 14:51:33 +08:00
Jan Djärv
e543ae9174
* lisp/startup.el (command-line-ns-option-alist): Add -g and --geometry.
...
* src/frame.c (read_integer, XParseGeometry): Moved from w32xfns.c.
(Fx_parse_geometry): If there is a space in string, call
Qns_parse_geometry, otherwise do as on other terms.
* src/w32xfns.c (read_integer, XParseGeometry): Move to frame.c.
* src/nsfns.m (XParseGeometry): Remove.
(Fx_create_frame): Call x_set_offset to correctly interpret
top_pos in geometry.
Fixes: debbugs:12368
2012-09-19 08:47:01 +02:00
Juri Linkov
2fd5e67d92
* lisp/dired-aux.el (dired-diff): Restore original functionality of
...
getting the default value, but keep new feature of using the
latest existing backup file (`diff-latest-backup-file').
2012-09-19 02:40:39 +03:00
Juri Linkov
42917e790e
* lisp/dired.el (dired-mark): If the region is active in Transient Mark
...
mode, mark all files in the active region. Doc fix.
(dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
Doc fix.
Fixes: debbugs:10624
2012-09-19 02:18:06 +03:00
Juri Linkov
20f70ede43
* lisp/dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
...
attributes for M-n are pulled from the file at point.
(dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
Suggested by Drew Adams.
Fixes: debbugs:10624
2012-09-19 01:57:45 +03:00
Dmitry Gutov
32fb816220
* lisp/progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
...
whitespace after "end".
(ruby-do-end-to-brace): Collapse block to one line if it fits
within fill-column.
2012-09-19 02:10:19 +04:00
Jan Djärv
5fb91e7197
* configure.ac (HAVE_GTK): Mention if we use GTK2 or GTK3.
2012-09-18 20:13:01 +02:00
Eli Zaretskii
ae97707fa2
Fix bug #12464 with test for giflib 5.0.0 on MS-Windows.
...
nt/configure.bat: Include stddef.h before gif_lib.h, to have size_t
defined, as needed by giflib-5.0.0.
2012-09-18 13:49:33 +03:00
Glenn Morris
9d83259abd
Auto-commit of loaddefs files.
2012-09-18 06:17:43 -04:00
Glenn Morris
fefa299077
rmailedit comment
2012-09-18 00:19:25 -07:00