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
Martin Rudalics
37ab5092e9
Fix some recent changes in debug.el.
...
* emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
value.
(debug): Don't remove debugger window when debugger is expected
to be back.
2012-09-18 09:07:13 +02:00
Chong Yidong
ed1f0bd388
Doc fixes for defface and friends.
...
* lisp/cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
* lisp/custom.el (defface): Doc fix.
* doc/lispref/customize.texi (Customization): Define customization more
carefully.
(Common Keywords): Add xref to Constant Variables.
* doc/lispref/display.texi (Faces): Discuss anonymous faces.
(Face Attributes): Tweak intro.
(Defining Faces): Move after the Face Attributes node. Copyedits.
(Displaying Faces): Describe role of inheritance.
* doc/lispref/variables.texi (Defining Variables): Link to defcustom's node
instead of the higher-level Customization chapter.
Fixes: debbugs:11440
2012-09-18 13:14:42 +08:00
Martin Blais
a11035b8cd
* lisp/progmodes/compile.el (compilation-start): Use compilation-always-kill
...
to initialize query-on-exit; then test that instead.
Fixes: debbugs:12288
2012-09-18 00:18:36 -04:00
Andreas Schwab
d3612ac370
* Makefile.in (bootstrap): Revert last change. Run config.status
...
after config.status --recheck, run configure from $(srcdir).
(config.status): Run configure from $(srcdir).
2012-09-18 00:43:12 +02:00
Paul Eggert
dee26dfa11
* Makefile.in: Run autogen/copy_autogen if autogen.sh fails,
...
to create 'configure'; problem reported by Andreas Schwab in
<http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00438.html >.
* autogen.sh: Exit with status 1 when failing due to missing tools,
reverting the 2012-09-10 change to this file.
* autogen/copy_autogen: Fail if one of the subsidiary actions fail.
Use 'cp -f' for the build-aux files, since the destinations are
typically read-only.
2012-09-17 15:35:28 -07:00
Paul Eggert
50bfc8243c
* Makefile.in: Fix build error on FreeBSD.
...
($(MAKEFILE_NAME)): Pass MAKE='$(MAKE)' to config.status's env.
Suggested by Wolfgang Jenker in
<http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00430.html >.
(MAKE_CONFIG_STATUS): Remove. Remaining use expanded.
This undoes part of the 2012-09-10 patch.
(bootstrap): Run ./configure, rather than trying to run config.status
if it exists. That builds src/epaths.h more reliably.
2012-09-17 14:33:14 -07:00
Eli Zaretskii
c8b9f1bcbf
Fix bug #12196 with infloop when cache-long-line-scans is non-nil.
...
src/search.c (scan_buffer): Use character positions in calls to
region_cache_forward and region_cache_backward, not byte
positions.
2012-09-17 23:11:34 +03:00
Glenn Morris
51eed9b88f
Fix typo in previous
2012-09-17 15:53:27 -04:00
Stefan Merten
64f6a73693
2012-09-17 Stefan Merten <smerten@oekonux.de>
...
* rst.el: Add support for `testcover'.
(rst-defcustom-testcover, rst-testcover-add-compose)
(rst-testcover-add-1value): New functions.
(rst-portable-mark-active-p): Replace by `use-region-p'.
(rst-update-section, rst-classify-adornment)
(rst-find-title-line): Mark `1value' forms.
(rst-classify-adornment): Remove superfluous form.
(rst-update-section, rst-get-adornments-around)
(rst-adornment-complete-p, rst-get-next-adornment)
(rst-adjust, rst-promote-region)
(rst-display-adornments-hierarchy, rst-straighten-adornments)
(rst-find-pfx-in-region, rst-section-tree-rec)
(rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
(rst-toc-node, rst-toc, rst-forward-section)
(rst-iterate-leftmost-paragraphs)
(rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
(rst-bullet-list-region)
(rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
(rst-compile-find-conf, rst-compile)
(rst-repeat-last-character): Fix style.
2012-09-17 19:38:09 +02:00
Glenn Morris
6b250df614
Add ChangeLog bug refs
2012-09-17 13:15:27 -04:00
Chong Yidong
580bd8683b
Make pcomplete less eager to add an extra space.
...
* comint.el (comint--complete-file-name-data): Don't add a space
if the status is `sole'; that adds a gratuitous space in the
completion-cycling case.
* pcomplete.el (pcomplete-completions-at-point): Likewise.
Fixes: debbugs:12092
2012-09-17 22:45:51 +08:00
Juanma Barranquero
caf4040f9e
nt/config.nt: Sync with autogen/config.in.
...
(BROKEN_SA_RESTART, SYNC_INPUT): Remove.
2012-09-17 15:22:45 +02:00
Richard M. Stallman
0dee970c88
When toggling mime processing off, just don't do mime processing.
2012-09-17 07:49:10 -04:00
Richard M. Stallman
acb1c47be0
rmail-retry-failure must avoid mime processing.
2012-09-17 07:44:48 -04:00
Richard M. Stallman
cdfca592b0
message-in-body-p should not alter anything.
2012-09-17 07:41:39 -04:00
Richard M. Stallman
2e8efb2f47
Handle Mail mode correctly. Some code cleanup.
2012-09-17 07:39:41 -04:00
Glenn Morris
bb7dce392f
Auto-commit of generated files.
2012-09-17 06:17:50 -04:00
Richard M. Stallman
69de3ec61f
Fix bug when a name has no key.
2012-09-17 05:49:55 -04:00
Eli Zaretskii
9b318728ab
Fix a typo in a comment.
2012-09-17 11:22:32 +03:00
Eli Zaretskii
b4c932a221
Set pending_signals to 1 in w32term.c's read-socket hook.
...
src/w32term.c (w32_read_socket): Set pending_signals to 1, like
xterm.c does. Reported by Daniel Colascione <dancol@dancol.org>.
2012-09-17 10:56:20 +03:00
Eli Zaretskii
45ba16c706
Fix the value of __malloc_extra_blocks.
...
src/ralloc.c (r_alloc_init) [!SYSTEM_MALLOC]: Initialize
__malloc_extra_blocks to 32 instead of 64, like alloc.c did in
emacs_blocked_malloc, now deleted.
2012-09-17 10:54:32 +03:00
Glenn Morris
dcddaabb77
* admin/admin.el (add-log-time-format): Declare.
2012-09-17 00:35:17 -07:00
Glenn Morris
dcf8834bac
Reduce version number duplication in etc/refcards
...
* etc/refcards/emacsver.tex: New file.
* etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
* etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
* refcards/emacsver.tex, etc/refcards/fr-dired-ref.tex:
* etc/refcards/fr-refcard.tex, etc/refcards/fr-survival.tex:
* etc/refcards/orgcard.tex, etc/refcards/pl-refcard.tex:
* etc/refcards/pt-br-refcard.tex, etc/refcards/refcard.tex:
* etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
* etc/refcards/sk-survival.tex, etc/refcards/survival.tex:
* etc/refcards/vipcard.tex, etc/refcards/viperCard.tex: Include emacsver.tex.
* refcards/calccard.tex (\emacsversionnumber):
Rename to \versionemacs, same as all the other refcards.
* etc/refcards/Makefile (ENVADD): New variable.
(sk-dired-ref.pdf, sk-survival.pdf, pl-refcard.pdf)
(%.pdf, %,dvi, sk-dired-ref.dvi, sk-survival.dvi, pl-refcard.dvi):
Depend on emacsver.tex. Add "." to TEXINPUTS for TeX commands.
* admin/admin.el (set-version): Set major version in
etc/refcards/ru-refcard.tex and etc/refcards/emacsver.tex.
(set-copyright): In etc/refcards, only change ru-refcard.tex
and emacsver.tex.
* admin.el (cusver-scan, cusver-check): Bind local variables.
* .bzrignore: Add etc/refcards TeX intermediate files.
2012-09-17 00:22:17 -07:00
Chong Yidong
865fe16fd2
Update docstrings and comments to use "init file" terminology.
...
* bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
* comint.el (comint-prompt-read-only):
* custom.el (defcustom):
* hi-lock.el (hi-lock-mode):
* ibuffer.el (ibuffer-formats):
* ielm.el (ielm-prompt-read-only):
* novice.el (disable-command):
* saveplace.el (toggle-save-place):
* speedbar.el (speedbar-supported-extension-expressions):
* startup.el (auto-save-list-file-prefix, init-file-user)
(after-init-hook, inhibit-startup-echo-area-message):
* strokes.el (strokes-help):
* time-stamp.el (time-stamp):
* calendar/calendar.el (calendar, diary-file):
* calendar/diary-lib.el (diary-mail-entries, diary)
(diary-list-entries-hook):
* calendar/holidays.el (holidays, calendar-holidays):
* calendar/lunar.el (lunar-phases):
* calendar/solar.el (sunrise-sunset):
* emulation/edt.el (edt-load-keys):
* emulation/viper.el (viper-mode):
* eshell/em-alias.el (eshell-command-aliases-list):
* eshell/esh-util.el (eshell-convert-numeric-arguments):
* international/ogonek.el (ogonek-information):
* net/tramp-cmds.el (tramp-bug):
* net/quickurl.el (quickurl-reread-hook-postfix):
* play/decipher.el (decipher-font-lock-keywords):
* progmodes/cc-styles.el (c-set-style):
* progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
* progmodes/inf-lisp.el (inferior-lisp-prompt):
* progmodes/octave-mod.el (octave-mode):
* progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
* progmodes/verilog-mode.el (verilog-read-defines):
* textmodes/two-column.el (2C-mode): Likewise.
2012-09-17 13:41:04 +08:00
Chong Yidong
d079ee5ffe
Convert several shell.el defvars to defcustoms.
...
* shell.el (shell-file-name-chars, shell-file-name-quote-list)
(shell-dynamic-complete-functions): Convert to defcustom.
(shell-prompt-pattern, shell-completion-fignore): Doc fix.
2012-09-17 13:01:10 +08:00
Chong Yidong
9e9da87389
Doc fix for removed var gdb-use-separate-io-buffer.
...
* building.texi (GDB User Interface Layout): Remove reference to
removed variable gdb-use-separate-io-buffer.
Fixes: debbugs:12454
2012-09-17 11:24:32 +08:00