Dmitry Antipov
da3d210583
Fix and document recently introduced configuration options.
...
* configure.ac (--disable-features): Rename to --without-all.
(OPTION_DEFAULT_ON): Change to use with_features.
* INSTALL: Fix description.
* etc/NEWS: Mention --without-all and --enable-link-time-optimization.
2012-08-08 20:17:15 +04:00
Glenn Morris
128a5c0d89
Remove reference to src/s file
2012-08-08 09:07:24 -07:00
Glenn Morris
7eaa9e447d
Refill comment
2012-08-08 09:03:04 -07:00
Glenn Morris
b33dcadbc2
Comments
2012-08-08 09:01:28 -07:00
Glenn Morris
08bb53058a
Tiny comment updates
2012-08-08 08:53:52 -07:00
Glenn Morris
f8c1afd5e1
ChangeLog fix
2012-08-08 08:47:21 -07:00
Dmitry Antipov
4cb3e6b38a
Inline functions to examine and change buffer overlays.
...
* buffer.c (unchain_both): New function.
* buffer.h (buffer_get_overlays, buffer_set_overlays):
(buffer_has_overlays): New function.
(enum overlay_type): New enum.
* alloc.c, buffer.c, editfns.c, fileio.c, indent.c:
* insdel.c, intervals.c, print.c, xdisp.c: Adjust users.
2012-08-08 18:47:11 +04:00
Michael Albinus
d9f9b46541
* net/tramp-sh.el (tramp-find-file-exists-command): Protect the
...
tests by `ignore-error'.
(tramp-find-shell): Open also a new shell, when cache is already
set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2012-08-08 15:40:45 +02:00
Dmitry Antipov
8707c1e56c
Inline functions to examine and change buffer intervals.
...
* alloc.c (mark_interval_tree): Remove.
(MARK_INTERVAL_TREE): Simplify.
(UNMARK_BALANCE_INTERVALS): Remove. Adjust users.
* intervals.c (buffer_balance_intervals): New function.
(graft_intervals_into_buffer): Adjust indentation.
(set_intervals_multibyte): Simplify.
* buffer.h (BUF_INTERVALS): Remove.
(buffer_get_intervals, buffer_set_intervals): New function.
* alloc.c, buffer.c, editfns.c, fileio.c, indent.c, insdel.c:
* intervals.c, textprop.c: Adjust users.
2012-08-08 16:12:40 +04:00
Dmitry Antipov
ad8c997f72
Inline functions to examine and change string intervals.
...
* lisp.h (STRING_INTERVALS, STRING_SET_INTERVALS): Remove.
(string_get_intervals, string_set_intervals): New function.
* alloc.c, buffer.c, editfns.c, fns.c, insdel.c, intervals.c:
* lread.c, print.c, textprop.c: Adjust users.
2012-08-08 14:23:04 +04:00
Juri Linkov
ce0fcefa27
* lisp/bookmark.el: Add `defaults' property to the bookmark record.
...
(bookmark-current-buffer): Doc fix.
(bookmark-make-record): Add `defaults' property with default values
to the bookmark record.
(bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
with `bookmark-insert-current-bookmark'.
(bookmark-set): Get `defaults' property from the bookmark record
and use it in `read-from-minibuffer'.
(bookmark-insert-current-bookmark): Remove function.
* lisp/info.el (Info-bookmark-make-record): Add `defaults' property
with values of canonical Info node name, the current Info file name
and the current Info node name.
Fixes: debbugs:12107
2012-08-08 11:48:57 +03:00
Juri Linkov
53fa865294
* lisp/files.el (basic-save-buffer): Use `buffer-name' as the default
...
of `read-file-name' when buffer is not visiting a file.
Fixes: debbugs:12128
2012-08-08 11:17:13 +03:00
Juri Linkov
242c0a9565
* lisp/info.el (Info-isearch-search): Doc fix.
...
(Info-search): Change search-failed message from "initial node" to
"end of node".
(Info-isearch-search): Change `isearch-string-state' to
`isearch--state-string'.
Fixes: debbugs:12078
2012-08-08 11:05:58 +03:00
Glenn Morris
32ac3a6ba3
Merge language/persian.el into language/misc-lang.el
...
* lisp/language/persian.el: Remove file.
* lisp/language/misc-lang.el: Move non-unique part of persian.el here.
* lisp/loadup.el: Remove language/persian.
* src/lisp.mk (lisp): Remove language/persian.elc.
* etc/NEWS: Improve entry.
2012-08-08 00:19:58 -07:00
Dmitry Antipov
77c7bcb115
Cleanup intervals.
...
* intervals.h (NULL_INTERVAL, DEFAULT_INTERVAL): Remove.
(NULL_INTERVAL_P): Likewise. Adjust users.
(FRONT_STICKY_P, END_NONSTICKY_P, FRONT_NONSTICKY_P): Adjust
comment. Move under #if 0.
* alloc.c, buffer.c, editfns.c, fns.c, insdel.c, intervals.c:
* print.c, syntax.c, textprop.c, xdisp.c: Adjust users.
2012-08-08 10:11:29 +04:00
Dmitry Antipov
9c08a8d4b5
Check total length of intervals with eassert.
...
* intervals.h (CHECK_TOTAL_LENGTH): Remove.
* intervals.c: Change all users to eassert.
2012-08-08 09:23:02 +04:00
Oscar Fuentes
2c2d9c9cd0
* vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2012-08-08 00:41:35 -04:00
Fabián Ezequiel Gallina
2d79ec42a2
* progmodes/python.el Fixed defsubst warning.
...
(python-syntax-context) Rename from python-info-ppss-context.
(python-syntax-context-type): Rename from
python-info-ppss-context-type.
(python-syntax-comment-or-string-p): Rename from
python-info-ppss-comment-or-string-p.
2012-08-07 23:30:08 -03:00
Jay Belanger
2bd255dd8f
calc-misc.el (calc-record-why): Don't record a message twice.
2012-08-07 20:30:58 -05:00
Andreas Schwab
6125983ea6
* emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
...
a defcustom that is quoted with backquote.
2012-08-07 23:52:54 +02:00
Glenn Morris
9b21910420
Defer to configure.ac for required automake version
2012-08-07 13:02:30 -04:00
Eli Zaretskii
26d16b356c
Fix .gdbinit to match changes with INTERNAL_FIELD.
...
src/.gdbinit (xframe, xwindow, nextcons, xcar, xcdr, xlist): Rename
fields to match removal of FGET and WGET and disuse of
INTERNAL_FIELD in Lisp_Cons.
2012-08-07 19:53:38 +03:00
Andreas Schwab
651eaf36f2
* calc/calc-prog.el (math-do-defmath): Use backquote forms. Fix
...
handling of interactive spec when the body uses return.
(math-do-arg-check, math-define-function-body): Use backquote forms.
* calc/calc-ext.el (math-defcache): Likewise.
* calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
* allout.el (allout-new-exposure): Likewise.
* calc/calcalg2.el (math-tracing-integral): Likewise.
* info.el (Info-last-menu-item): Likewise.
* emulation/vip.el (vip-loop): Likewise.
* textmodes/artist.el (artist-funcall): Likewise.
* menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
Construct menu-item directly.
* cedet/ede/base.el (ede-with-projectfile): Use backquote forms.
2012-08-07 18:12:20 +02:00
Dmitry Antipov
c644523bd8
Revert and cleanup Lisp_Cons, Lisp_Misc and Lisp_Symbol things.
...
* src/lisp.h (struct Lisp_Symbol): Change xname to meaningful
name since all xname users are fixed long time ago. Do not use
INTERNAL_FIELD.
(set_symbol_name, set_symbol_function, set_symbol_plist):
(set_symbol_next, set_overlay_plist): New function.
(struct Lisp_Cons): Do not use INTERNAL_FIELD.
(struct Lisp_Overlay): Likewise.
(CVAR, MVAR, SVAR): Remove.
* src/alloc.c, src/buffer.c, src/buffer.h, src/bytecode.c:
* src/cmds.c, src/data.c, src/doc.c, src/eval.c, src/fns.c:
* src/keyboard.c, src/lread.c, src/nsselect.m, src/xterm.c:
Adjust users.
* src/.gdbinit: Change to use name field of struct Lisp_Symbol
where appropriate.
* admin/coccinelle/overlay.cocci, admin/coccinelle/symbol.cocci:
Remove.
2012-08-07 17:37:21 +04:00
Dmitry Antipov
6a3d20cc46
Basic functions to set Lisp_Object and pointer slots of intervals.
...
* intervals.h (interval_set_parent, interval_set_object):
(interval_set_left, interval_set_right, interval_set_plist):
(interval_copy_parent): New function.
(SET_INTERVAL_OBJECT, SET_INTERVAL_PARENT, INTERVAL_PTR_SIZE): Remove.
(RESET_INTERVAL, COPY_INTERVAL_CACHE, MERGE_INTERVAL_CACHE): Adjust
indentation.
(INTERVAL_SIZE): Remove. Adjust users.
* alloc.c, intervals.c, lread.c, textprop.c: Use new functions.
2012-08-07 15:28:41 +04:00
Andreas Schwab
c395097f51
* progmodes/autoconf.el (font-lock-syntactic-keywords): Don't
...
declare.
2012-08-07 13:13:23 +02:00
Juanma Barranquero
a8ab93b0f6
* nt/config.nt: Sync with autogen/config.nt.
...
(BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
(PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
* nt/inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
2012-08-07 13:03:48 +02:00
Glenn Morris
c0528ebe51
Auto-commit of generated files.
2012-08-07 06:17:30 -04:00
Dmitry Antipov
4d2b044cdc
Drop PGET and revert read access to Lisp_Objects slots of Lisp_Process.
...
* process.h (PGET): Remove.
(struct Lisp_Process): Do not use INTERNAL_FIELD.
* gnutls.c, print.c, process.c, sysdep.c, w32.c, xdisp.c: Adjust users.
2012-08-07 11:42:34 +04:00
Dmitry Antipov
d3d50620ed
Drop WGET and revert read access to Lisp_Objects slots of struct window.
...
* window.h (WGET): Remove.
(struct window): Do not use INTERNAL_FIELD.
* alloc.c, buffer.c, composite.c, dispextern.h, dispnew.c, editfns.c:
* fileio.c, font.c, fontset.c, frame.c, frame.h, fringe.c, indent.c:
* insdel.c, keyboard.c, keymap.c, lisp.h, minibuf.c, msdos.c, nsfns.m:
* nsmenu.m, nsterm.m, print.c, textprop.c, w32fns.c, w32menu.c:
* w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c:
Adjust users.
2012-08-07 11:33:18 +04:00
Chong Yidong
d10a51dcdf
Check for live frames explicitly in window.c functions which need it.
...
* window.c (Fwindow_edges, Fwindow_pixel_edges)
(Fwindow_absolute_pixel_edges, Fdelete_other_windows_internal)
(Fdelete_window_internal): Signal an error if the window is not on
a live frame.
Fixes: debbugs:12025
2012-08-07 15:02:04 +08:00
Glenn Morris
1ff8a4e98c
Grammar fixes
2012-08-06 23:56:08 -07:00
Dmitry Antipov
e69b096079
Drop FGET and revert read access to Lisp_Objects slots of struct frame.
...
* frame.h (FGET): Remove.
(struct frame): Do not use INTERNAL_FIELD.
* buffer.c, data.c, dispnew.c, dosfns.c, eval.c, fontset.c, frame.c:
* fringe.c, gtkutil.c, minibuf.c, msdos.c, nsfns.m, nsmenu.m, nsterm.m:
* print.c, term.c, w32fns.c, w32menu.c, w32term.c, window.c, window.h:
* xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c: Adjust users.
2012-08-07 09:29:25 +04:00
Chong Yidong
5fb50dd302
Preserve text properties when saving primary selection.
...
* lisp/simple.el (deactivate-mark): Preserve text properties when
saving the primary selection.
Fixes: debbugs:8384
2012-08-07 12:52:15 +08:00
Chong Yidong
c7feb5c081
Update cl-loaddefs.el.
2012-08-07 12:50:55 +08:00
Dmitry Antipov
c30d4aef54
* configure.ac: New option --disable-features.
...
(OPTION_DEFAULT_ON): Change to use enable_features.
* INSTALL: Explain --disable-features.
2012-08-07 08:16:47 +04:00
Kevin Ryde
54eea61817
Fix two woman bugs.
...
* lisp/woman.el (woman0-if): Quietly treat ".if v" as false.
(woman-parse-numeric-value): On a bad .IP line, issue a warning
and continue processing.
Fixes: debbugs:12110 debbugs:12109
2012-08-07 11:57:05 +08:00
Chong Yidong
9f6f48455f
Merge from emacs-24; up to 2012-05-02T07:12:52Z!rgm@gnu.org.
2012-08-07 11:33:37 +08:00
Chong Yidong
7178e7222c
Backport 2012-06-23T12:54:59Z!cyd@gnu.org from trunk
2012-08-07 11:24:52 +08:00
Chong Yidong
de655540a9
Backport 2012-06-23T12:48:24Z!cyd@gnu.org from trunk
2012-08-07 11:24:35 +08:00
Glenn Morris
7d732d1a24
Set a minimum automake version
...
* configure.ac: Require automake 1.11 (fairly arbitrarily).
* autogen.sh (automake_min): Get it from configure.ac.
2012-08-06 21:03:44 -04:00
Juanma Barranquero
25a20a3ad8
src/w32.c: Silence compiler warnings.
...
(map_w32_filename): Remove unused variable `is_fat'.
(chase_symlinks): Add parentheses around expression.
2012-08-07 00:07:01 +02:00
Aurélien Aptel
5a4c42ba30
* doc/misc/url.texi (Parsed URLs): Adjust to the code's use of defstruct.
...
Fixes: debbugs:12096
2012-08-06 17:50:25 -04:00
Glenn Morris
074945e333
Revert typo in previous
2012-08-06 17:33:21 -04:00
Stefan Monnier
f91b35be60
* lisp/help-fns.el (help-fns--key-bindings, help-fns--signature)
...
(help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
describe-function-1.
(describe-function-1): Use them. Move compiler macro after sig.
(help-fns--compiler-macro): Use function-get. Assume we're already in
standard-output. Adjust layout to new call order.
2012-08-06 17:05:48 -04:00
Glenn Morris
a4fe537621
Grammar fixes
2012-08-06 17:05:25 -04:00
Glenn Morris
d2d92e2425
Remove non-standard comment from license section of commentary
2012-08-06 16:53:28 -04:00
Glenn Morris
1db4583ad2
Guard against potential configure bug wrt HAVE_GETWD
...
* configure.ac (BROKEN_GETWD) [unixware]: New define.
* src/sysdep.c: Respect BROKEN_GETWD.
2012-08-06 16:29:45 -04:00
Glenn Morris
1c6f11f42a
Remove GNU_LIBRARY_PENDING_OUTPUT_COUNT
...
* configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
(PENDING_OUTPUT_COUNT): Absorb GNU_LIBRARY_PENDING_OUTPUT_COUNT.
(DISPNEW_NEEDS_STDIO_EXT): New define.
* src/dispnew.c (GNU_LIBRARY_PENDING_OUTPUT_COUNT, PENDING_OUTPUT_COUNT):
Let configure handle it.
(stdio_ext.h) [DISPNEW_NEEDS_STDIO_EXT]: Include it.
* nt/config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
(PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
* admin/CPP-DEFINES (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
2012-08-06 16:22:22 -04:00
Stefan Monnier
ea3768613f
* lisp/emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
...
re-binding a symbol that has a symbol-macro.
Fixes: debbugs:12119
2012-08-06 15:53:45 -04:00