]> git.eshelyaron.com Git - emacs.git/log
emacs.git
12 years agoChangeLog date fixes
Glenn Morris [Sat, 11 Aug 2012 04:46:38 +0000 (21:46 -0700)]
ChangeLog date fixes

12 years agoMerge from emacs-24; up to 2012-05-02T11:38:01Z!lekktu@gmail.com
Chong Yidong [Sat, 11 Aug 2012 02:13:55 +0000 (10:13 +0800)]
Merge from emacs-24; up to 2012-05-02T11:38:01Z!lekktu@gmail.com

12 years ago* lib/makefile.w32-in (STAT_TIME_H): New macro.
Juanma Barranquero [Fri, 10 Aug 2012 21:29:38 +0000 (23:29 +0200)]
* lib/makefile.w32-in (STAT_TIME_H): New macro.
(FTOASTR_C, $(BLD)/stat-time.$(O), $(BLD)/timespec.$(O))
($(BLD)/u64.$(O)): Update dependencies.

12 years ago* lisp/gnus/gnus-agent.el (gnus-agent-cat-defaccessor, gnus-agent-cat-groups):
Stefan Monnier [Fri, 10 Aug 2012 21:20:24 +0000 (17:20 -0400)]
* lisp/gnus/gnus-agent.el (gnus-agent-cat-defaccessor, gnus-agent-cat-groups):
Use defsetf.

12 years ago* lisp/emacs-lisp/rx.el (rx-constituents): Don't define as constant.
Stefan Monnier [Fri, 10 Aug 2012 21:03:10 +0000 (17:03 -0400)]
* lisp/emacs-lisp/rx.el (rx-constituents): Don't define as constant.
(rx-form): Simplify.

12 years ago* test/automated/ruby-mode-tests.el (ruby-should-indent):
Dmitry Gutov [Fri, 10 Aug 2012 20:25:43 +0000 (16:25 -0400)]
* test/automated/ruby-mode-tests.el (ruby-should-indent):
Add docstring, check (current-indentation) instead of (current-column).
(ruby-should-indent-buffer): New function.
Add tests for `ruby-deep-indent-paren' behavior.
Port all tests from test/misc/test_ruby_mode.rb in Ruby repo.

Fixes: debbugs:12169
12 years agoMerge stuff from upsteam ruby-mode, part 1.
Dmitry Gutov [Fri, 10 Aug 2012 20:19:09 +0000 (16:19 -0400)]
Merge stuff from upsteam ruby-mode, part 1.
* lisp/progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
binding (use `M-;' instead).
(ruby-expr-beg, ruby-parse-partial): ?, _, and : are symbol
constituents, ! is not (but kinda should be).
(ruby-singleton-class-p): New function.
(ruby-expr-beg, ruby-in-here-doc-p)
(ruby-syntax-propertize-heredoc): Use it.
(ruby-syntax-propertize-function): Adjust for changes in
`ruby-syntax-propertize-heredoc'.

* test/automated/ruby-mode-tests.el (ruby-should-indent)
(ruby-assert-state): New functions.
Add new tests.

Fixes: debbugs:12169
12 years ago* lisp/emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
Stefan Monnier [Fri, 10 Aug 2012 19:34:36 +0000 (15:34 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.

12 years agoMove IF_LINT from lisp.h to conf_post.h
Glenn Morris [Fri, 10 Aug 2012 18:23:45 +0000 (14:23 -0400)]
Move IF_LINT from lisp.h to conf_post.h

* src/conf_post.h (IF_LINT, lint_assume): Move here from lisp.h.
* src/lisp.h (IF_LINT, lint_assume): Move to conf_post.h.

* lib-src/make-docfile.c (IF_LINT):
* lib-src/emacsclient.c (IF_LINT): Remove (in config.h now).

12 years agoRemove some unnecessary bindings of same-window-* variables.
Chong Yidong [Fri, 10 Aug 2012 16:46:07 +0000 (00:46 +0800)]
Remove some unnecessary bindings of same-window-* variables.

* lisp/progmodes/python.el (python-shell-get-process-name): Don't mess
with same-window-buffer-names.

* lisp/eshell/eshell.el (eshell-add-to-window-buffer-names)
(eshell-remove-from-window-buffer-names): Make obsolete.
(eshell-buffer-name, eshell-unload-hook): Don't use them.
(eshell): Just use pop-to-buffer-same-window instead.

12 years agoBind M-= back to count-words-region, and let it accept a prefix arg.
Chong Yidong [Fri, 10 Aug 2012 16:02:48 +0000 (00:02 +0800)]
Bind M-= back to count-words-region, and let it accept a prefix arg.

* lisp/bindings.el: Bind M-= back to count-words-region.

* lisp/simple.el (count-words-region): Accept a prefix arg for acting
on the entire buffer.
(count-words--buffer-message): New helper function.

12 years ago* lisp/term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
Stefan Monnier [Fri, 10 Aug 2012 14:47:12 +0000 (10:47 -0400)]
* lisp/term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
* lisp/subr.el (eventp): `nil' is not an event, and eventp is not hot.
(event-start, event-end): Use posn-at-point to return a more
informative posn.
(posnp): New function.
* lisp/mouse.el (popup-menu-normalize-position): Use it.

12 years agolisp/gnus/auth-source.el: (auth-source-plstore-search, auth-source-secrets-search...
Daiki Ueno [Fri, 10 Aug 2012 14:38:37 +0000 (14:38 +0000)]
lisp/gnus/auth-source.el: (auth-source-plstore-search, auth-source-secrets-search): Ignore :require and :type in search spec

12 years agoFix last change to allow compilation with low optimization levels.
Dmitry Antipov [Fri, 10 Aug 2012 13:24:20 +0000 (17:24 +0400)]
Fix last change to allow compilation with low optimization levels.
* intervals.c (INTERVALS_INLINE): Define to EXTERN_INLINE.
Reported by Jan Djärv <jan.h.d@swipnet.se>.

12 years ago* lisp/mouse.el (popup-menu-normalize-position): New function.
Masatake YAMATO [Fri, 10 Aug 2012 12:44:06 +0000 (08:44 -0400)]
* lisp/mouse.el (popup-menu-normalize-position): New function.
(popup-menu): Use `popup-menu-normalize-position' to normalize
the form for POSITION argument.
* lisp/term/x-win.el (x-menu-bar-open):
Use the value returend from (posn-at-point) as position
passed to `popup-menu'.

12 years agoAuto-commit of generated files.
Glenn Morris [Fri, 10 Aug 2012 10:17:28 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoUse common inline syntax in intervals.h.
Dmitry Antipov [Fri, 10 Aug 2012 09:37:43 +0000 (13:37 +0400)]
Use common inline syntax in intervals.h.
* intervals.h (INTERVALS_INLINE): New macro.
Change all users from LISP_INLINE.

12 years agoDefine Qnone once for all platforms.
Dmitry Antipov [Fri, 10 Aug 2012 09:24:03 +0000 (13:24 +0400)]
Define Qnone once for all platforms.
* frame.c (Qnone): Define here.
(syms_of_frame): DEFSYM it.
* lisp.h (Qnone): New declaration.
* nsfns.m, nsterm.h, nsterm.m, w32fns.c, w32font.c:
* xfns.c: Remove duplication.  Adjust users.

12 years agoRemove unused macros from intervals.h.
Dmitry Antipov [Fri, 10 Aug 2012 09:04:19 +0000 (13:04 +0400)]
Remove unused macros from intervals.h.
* intervals.h (MERGE_INSERTIONS, DISPLAY_INVISIBLE_GLYPH): Remove.
* intervals.c: Adjust comment.

12 years agoImprove commit in 2012-08-10T06:54:37Z!eliz@gnu.org.
Eli Zaretskii [Fri, 10 Aug 2012 07:16:58 +0000 (10:16 +0300)]
Improve commit in 2012-08-10T06:54:37Z!eliz@gnu.org.

 src/w32fns.c <w32_unicode_gui>: New static variable.
 (globals_of_w32fns): Initialize it according to os_subtype.
 (w32_init_class, w32_msg_pump, w32_wnd_proc): Use it instead of
 testing os_subtype.

12 years ago* test/automated/files.el (files-test-disable-local-variables): New test.
Glenn Morris [Fri, 10 Aug 2012 07:13:06 +0000 (00:13 -0700)]
* test/automated/files.el (files-test-disable-local-variables): New test.

12 years agoComments
Glenn Morris [Fri, 10 Aug 2012 07:07:07 +0000 (00:07 -0700)]
Comments

12 years agoChangeLog fixes
Glenn Morris [Fri, 10 Aug 2012 07:00:40 +0000 (00:00 -0700)]
ChangeLog fixes

12 years ago* admin/bzrmerge.el (bzrmerge-resolve): Disable local eval:.
Glenn Morris [Fri, 10 Aug 2012 06:57:34 +0000 (23:57 -0700)]
* admin/bzrmerge.el (bzrmerge-resolve): Disable local eval:.

12 years ago* lisp/emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
Glenn Morris [Fri, 10 Aug 2012 06:56:01 +0000 (23:56 -0700)]
* lisp/emacs-lisp/copyright.el (copyright-update-directory): Logic fix.

12 years agoFix bug #10299 with Unicode characters sent on MS-Windows by MSKLC.
Eli Zaretskii [Fri, 10 Aug 2012 06:54:37 +0000 (09:54 +0300)]
Fix bug #10299 with Unicode characters sent on MS-Windows by MSKLC.

 src/w32fns.c (INIT_WINDOW_CLASS): New macro.
 (w32_init_class): Use it to initialize the Emacs class with either
 ANSI or Unicode API calls.
 (w32_msg_pump): Call GetMessageW and DispatchMessageW on NT and
 later.
 (w32_wnd_proc): If the character code sent by WM_CHAR or
 WM_SYSCHAR is above 255, post a WM_UNICHAR message, not the
 original message.  Call DefWindowProcW on NT and later.

12 years agoDisable local eval: in some places
Glenn Morris [Fri, 10 Aug 2012 06:53:52 +0000 (23:53 -0700)]
Disable local eval: in some places

* tutorial.el (help-with-tutorial):
* emacs-lisp/copyright.el (copyright-update-directory):
* emacs-lisp/autoload.el (autoload-find-generated-file)
(autoload-find-file): Disable local eval: (for insurance).

12 years ago* src/Makefile.in (config_h): Fix conf_post.h out-of-tree build location.
Glenn Morris [Fri, 10 Aug 2012 00:47:21 +0000 (20:47 -0400)]
* src/Makefile.in (config_h): Fix conf_post.h out-of-tree build location.

12 years agoRemove some make-docfile.c undes that are no longer needed
Glenn Morris [Fri, 10 Aug 2012 00:16:33 +0000 (20:16 -0400)]
Remove some make-docfile.c undes that are no longer needed

* lib-src/make-docfile.c (main):
(fopen) [!WINDOWSNT]:
(chdir) [!DOS_NT]: No more need to undef.

12 years agoMove DIRECTORY_SEP from lisp.h to config.h
Glenn Morris [Fri, 10 Aug 2012 00:02:10 +0000 (20:02 -0400)]
Move DIRECTORY_SEP from lisp.h to config.h

* configure.ac (DIRECTORY_SEP): Move here from src/lisp.h.

* src/lisp.h (DIRECTORY_SEP): Let configure set it.

* nt/config.nt (DIRECTORY_SEP): Move here from src/lisp.h.

* lib-src/movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
* lib-src/make-docfile.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
* lib-src/emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP):
Remove (they are in config.h now).

12 years agoComments
Glenn Morris [Thu, 9 Aug 2012 23:59:38 +0000 (19:59 -0400)]
Comments

12 years ago* lib-src/ebrowse.c (PATH_LIST_SEPARATOR): Remove
Glenn Morris [Thu, 9 Aug 2012 23:53:07 +0000 (19:53 -0400)]
* lib-src/ebrowse.c (PATH_LIST_SEPARATOR): Remove
Replace with SEPCHAR from config.h.

12 years agocalccomp.el (math-compose-expr): Add extra argument indicating that
Jay Belanger [Thu, 9 Aug 2012 14:46:03 +0000 (09:46 -0500)]
calccomp.el (math-compose-expr): Add extra argument indicating that
parentheses should be put around products in denominators.  Give
multiplication precedence over division during composition.

12 years agoConvert several man.el defvars to defcustoms.
Chong Yidong [Thu, 9 Aug 2012 13:37:31 +0000 (21:37 +0800)]
Convert several man.el defvars to defcustoms.

* man.el (Man-switches, Man-sed-command, Man-awk-command)
(Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
(Man-untabify-command, manual-program): Convert to defcustom.

Fixes: debbugs:10429
12 years agoAuto-commit of generated files.
Glenn Morris [Thu, 9 Aug 2012 10:17:30 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years ago* lisp/vc/add-log.el (change-log-mode): Bind comment-start to nil.
Chong Yidong [Thu, 9 Aug 2012 08:16:13 +0000 (16:16 +0800)]
* lisp/vc/add-log.el (change-log-mode): Bind comment-start to nil.

This fixes M-q for Change Log entries which contain "(Bug#123)".

12 years ago* descr-text.el (describe-char): Don't insert extra newlines.
Chong Yidong [Thu, 9 Aug 2012 08:10:32 +0000 (16:10 +0800)]
* descr-text.el (describe-char): Don't insert extra newlines.

Fixes: debbugs:10127
12 years agoUpdate docstrings for last change.
Chong Yidong [Thu, 9 Aug 2012 07:50:49 +0000 (15:50 +0800)]
Update docstrings for last change.

12 years ago* lisp/vc/log-view.el (log-view-diff): Use use-region-p.
Chong Yidong [Thu, 9 Aug 2012 07:45:23 +0000 (15:45 +0800)]
* lisp/vc/log-view.el (log-view-diff): Use use-region-p.
(log-view-diff-changeset, log-view-minor-wrap): Likewise.

Fixes: debbugs:10133
12 years ago* align.el (align-region): Delete temporary markers.
Chong Yidong [Thu, 9 Aug 2012 07:34:53 +0000 (15:34 +0800)]
* align.el (align-region): Delete temporary markers.
Plus some code cleanups.

Fixes: debbugs:10047
12 years agoChangeLog merge date fixes
Glenn Morris [Thu, 9 Aug 2012 07:15:04 +0000 (00:15 -0700)]
ChangeLog merge date fixes

12 years ago* etc/images/splash.svg, etc/images/splash.png: Tweak SVG paths
Chong Yidong [Thu, 9 Aug 2012 05:25:21 +0000 (13:25 +0800)]
* etc/images/splash.svg, etc/images/splash.png: Tweak SVG paths
to improve legibility.

12 years agoUse TSET for write access to Lisp_Object slots of struct terminal.
Dmitry Antipov [Thu, 9 Aug 2012 05:14:23 +0000 (09:14 +0400)]
Use TSET for write access to Lisp_Object slots of struct terminal.
* termhooks.h (TSET): New macro.
* coding.c, terminal.c, xselect.c: Adjust users.

12 years ago* progmodes/python.el (python-pdbtrack-tracked-buffer)
Fabián Ezequiel Gallina [Thu, 9 Aug 2012 04:08:29 +0000 (01:08 -0300)]
* progmodes/python.el (python-pdbtrack-tracked-buffer)
(python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
(python-shell-internal-last-output): Use make-local-variable
instead of make-variable-buffer-local.

12 years ago* progmodes/python.el: Enhancements to forward-sexp.
Fabián Ezequiel Gallina [Thu, 9 Aug 2012 03:30:37 +0000 (00:30 -0300)]
* progmodes/python.el: Enhancements to forward-sexp.
(python-nav-forward-sexp): Rename from
python-nav-forward-sexp-function.
(python-nav--forward-sexp, python-nav--backward-sexp): New
functions.

12 years agocalc/calc-menu.el (calc-modes-menu): Fix menu item.
Jay Belanger [Thu, 9 Aug 2012 03:19:34 +0000 (22:19 -0500)]
calc/calc-menu.el (calc-modes-menu): Fix menu item.

12 years agocalc-menu.el (calc-modes-menu): Add entries for matrix modes
Jay Belanger [Thu, 9 Aug 2012 02:51:58 +0000 (21:51 -0500)]
calc-menu.el (calc-modes-menu): Add entries for matrix modes
and simplification modes.

12 years ago* lisp/delsel.el (delete-selection-pre-hook): Don't propagate the
Stefan Monnier [Thu, 9 Aug 2012 02:18:50 +0000 (22:18 -0400)]
* lisp/delsel.el (delete-selection-pre-hook): Don't propagate the
file-supersession signals.

Fixes: debbugs:12161
12 years ago* src/xdisp.c (safe_eval_handler): Remove prototype. Receive args describing
Stefan Monnier [Wed, 8 Aug 2012 19:53:44 +0000 (15:53 -0400)]
* src/xdisp.c (safe_eval_handler): Remove prototype.  Receive args describing
the failing expression, include them in the error message.
* src/eval.c (internal_condition_case_n): Pass nargs and args to hfun.
* src/lisp.h (internal_condition_case_n): Update declaration.

12 years ago* lisp/emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
Stefan Monnier [Wed, 8 Aug 2012 18:56:01 +0000 (14:56 -0400)]
* lisp/emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
(cl-map-extents): Add compatibility aliases.

Fixes: debbugs:12135
12 years agoFix and document recently introduced configuration options.
Dmitry Antipov [Wed, 8 Aug 2012 16:17:15 +0000 (20:17 +0400)]
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.

12 years agoRemove reference to src/s file
Glenn Morris [Wed, 8 Aug 2012 16:07:24 +0000 (09:07 -0700)]
Remove reference to src/s file

12 years agoRefill comment
Glenn Morris [Wed, 8 Aug 2012 16:03:04 +0000 (09:03 -0700)]
Refill comment

12 years agoComments
Glenn Morris [Wed, 8 Aug 2012 16:01:28 +0000 (09:01 -0700)]
Comments

12 years agoTiny comment updates
Glenn Morris [Wed, 8 Aug 2012 15:53:52 +0000 (08:53 -0700)]
Tiny comment updates

12 years agoChangeLog fix
Glenn Morris [Wed, 8 Aug 2012 15:47:21 +0000 (08:47 -0700)]
ChangeLog fix

12 years agoInline functions to examine and change buffer overlays.
Dmitry Antipov [Wed, 8 Aug 2012 14:47:11 +0000 (18:47 +0400)]
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.

12 years ago* net/tramp-sh.el (tramp-find-file-exists-command): Protect the
Michael Albinus [Wed, 8 Aug 2012 13:40:45 +0000 (15:40 +0200)]
* 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)

12 years agoInline functions to examine and change buffer intervals.
Dmitry Antipov [Wed, 8 Aug 2012 12:12:40 +0000 (16:12 +0400)]
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.

12 years agoInline functions to examine and change string intervals.
Dmitry Antipov [Wed, 8 Aug 2012 10:23:04 +0000 (14:23 +0400)]
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.

12 years ago* lisp/bookmark.el: Add `defaults' property to the bookmark record.
Juri Linkov [Wed, 8 Aug 2012 08:48:57 +0000 (11:48 +0300)]
* 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
12 years ago* lisp/files.el (basic-save-buffer): Use `buffer-name' as the default
Juri Linkov [Wed, 8 Aug 2012 08:17:13 +0000 (11:17 +0300)]
* 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
12 years ago* lisp/info.el (Info-isearch-search): Doc fix.
Juri Linkov [Wed, 8 Aug 2012 08:05:58 +0000 (11:05 +0300)]
* 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
12 years ago* test/automated/files.el: New file.
Glenn Morris [Wed, 8 Aug 2012 07:33:10 +0000 (00:33 -0700)]
* test/automated/files.el: New file.

12 years agoMerge language/persian.el into language/misc-lang.el
Glenn Morris [Wed, 8 Aug 2012 07:19:58 +0000 (00:19 -0700)]
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.

12 years agoCleanup intervals.
Dmitry Antipov [Wed, 8 Aug 2012 06:11:29 +0000 (10:11 +0400)]
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.

12 years ago* unexmacosx.c (copy_data_segment): Copy initialized data in statically linked librar...
YAMAMOTO Mitsuharu [Wed, 8 Aug 2012 05:44:53 +0000 (14:44 +0900)]
* unexmacosx.c (copy_data_segment): Copy initialized data in statically linked libraries from input file rather than memory.

12 years agoCheck total length of intervals with eassert.
Dmitry Antipov [Wed, 8 Aug 2012 05:23:02 +0000 (09:23 +0400)]
Check total length of intervals with eassert.
* intervals.h (CHECK_TOTAL_LENGTH): Remove.
* intervals.c: Change all users to eassert.

12 years ago* vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
Oscar Fuentes [Wed, 8 Aug 2012 04:41:35 +0000 (00:41 -0400)]
* vc/diff-mode.el (diff-remove-trailing-whitespace): New function.

12 years ago* progmodes/python.el Fixed defsubst warning.
Fabián Ezequiel Gallina [Wed, 8 Aug 2012 02:30:08 +0000 (23:30 -0300)]
* 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.

12 years agocalc-misc.el (calc-record-why): Don't record a message twice.
Jay Belanger [Wed, 8 Aug 2012 01:30:58 +0000 (20:30 -0500)]
calc-misc.el (calc-record-why):  Don't record a message twice.

12 years ago* emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
Andreas Schwab [Tue, 7 Aug 2012 21:52:54 +0000 (23:52 +0200)]
* emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
a defcustom that is quoted with backquote.

12 years ago* test/automated/Makefile.in (all): Fix typo.
Glenn Morris [Tue, 7 Aug 2012 19:11:18 +0000 (15:11 -0400)]
* test/automated/Makefile.in (all): Fix typo.

12 years agohack-local-variables-filter fix for bug#12155
Glenn Morris [Tue, 7 Aug 2012 18:41:39 +0000 (14:41 -0400)]
hack-local-variables-filter fix for bug#12155

* lisp/files.el (hack-local-variables-filter): If an eval: form is not
known to be safe, and enable-local-variables is :safe, then ignore
the form totally, as is done for non-eval forms.

12 years agoDefer to configure.ac for required automake version
Glenn Morris [Tue, 7 Aug 2012 17:02:30 +0000 (13:02 -0400)]
Defer to configure.ac for required automake version

12 years agoFix .gdbinit to match changes with INTERNAL_FIELD.
Eli Zaretskii [Tue, 7 Aug 2012 16:53:38 +0000 (19:53 +0300)]
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.

12 years ago* calc/calc-prog.el (math-do-defmath): Use backquote forms. Fix
Andreas Schwab [Tue, 7 Aug 2012 16:12:20 +0000 (18:12 +0200)]
* 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.

12 years agoRevert and cleanup Lisp_Cons, Lisp_Misc and Lisp_Symbol things.
Dmitry Antipov [Tue, 7 Aug 2012 13:37:21 +0000 (17:37 +0400)]
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.

12 years agoBasic functions to set Lisp_Object and pointer slots of intervals.
Dmitry Antipov [Tue, 7 Aug 2012 11:28:41 +0000 (15:28 +0400)]
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.

12 years ago* progmodes/autoconf.el (font-lock-syntactic-keywords): Don't
Andreas Schwab [Tue, 7 Aug 2012 11:13:23 +0000 (13:13 +0200)]
* progmodes/autoconf.el (font-lock-syntactic-keywords): Don't
declare.

12 years ago* nt/config.nt: Sync with autogen/config.nt.
Juanma Barranquero [Tue, 7 Aug 2012 11:03:48 +0000 (13:03 +0200)]
* 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.

12 years agoAuto-commit of generated files.
Glenn Morris [Tue, 7 Aug 2012 10:17:30 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoDrop PGET and revert read access to Lisp_Objects slots of Lisp_Process.
Dmitry Antipov [Tue, 7 Aug 2012 07:42:34 +0000 (11:42 +0400)]
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.

12 years agoDrop WGET and revert read access to Lisp_Objects slots of struct window.
Dmitry Antipov [Tue, 7 Aug 2012 07:33:18 +0000 (11:33 +0400)]
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.

12 years agoCheck for live frames explicitly in window.c functions which need it.
Chong Yidong [Tue, 7 Aug 2012 07:02:04 +0000 (15:02 +0800)]
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
12 years agoGrammar fixes
Glenn Morris [Tue, 7 Aug 2012 06:56:08 +0000 (23:56 -0700)]
Grammar fixes

12 years agoDrop FGET and revert read access to Lisp_Objects slots of struct frame.
Dmitry Antipov [Tue, 7 Aug 2012 05:29:25 +0000 (09:29 +0400)]
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.

12 years agoPreserve text properties when saving primary selection.
Chong Yidong [Tue, 7 Aug 2012 04:52:15 +0000 (12:52 +0800)]
Preserve text properties when saving primary selection.

* lisp/simple.el (deactivate-mark): Preserve text properties when
saving the primary selection.

Fixes: debbugs:8384
12 years agoUpdate cl-loaddefs.el.
Chong Yidong [Tue, 7 Aug 2012 04:50:55 +0000 (12:50 +0800)]
Update cl-loaddefs.el.

12 years ago* configure.ac: New option --disable-features.
Dmitry Antipov [Tue, 7 Aug 2012 04:16:47 +0000 (08:16 +0400)]
* configure.ac: New option --disable-features.
(OPTION_DEFAULT_ON): Change to use enable_features.
* INSTALL: Explain --disable-features.

12 years agoFix two woman bugs.
Kevin Ryde [Tue, 7 Aug 2012 03:57:05 +0000 (11:57 +0800)]
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
12 years agoAdd new load commands for OS X 10.8.
YAMAMOTO Mitsuharu [Tue, 7 Aug 2012 03:47:26 +0000 (12:47 +0900)]
Add new load commands for OS X 10.8.

12 years agoMerge from emacs-24; up to 2012-05-02T07:12:52Z!rgm@gnu.org.
Chong Yidong [Tue, 7 Aug 2012 03:33:37 +0000 (11:33 +0800)]
Merge from emacs-24; up to 2012-05-02T07:12:52Z!rgm@gnu.org.

12 years agoBackport 2012-06-23T12:54:59Z!cyd@gnu.org from trunk
Chong Yidong [Tue, 7 Aug 2012 03:24:52 +0000 (11:24 +0800)]
Backport 2012-06-23T12:54:59Z!cyd@gnu.org from trunk

12 years agoBackport 2012-06-23T12:48:24Z!cyd@gnu.org from trunk
Chong Yidong [Tue, 7 Aug 2012 03:24:35 +0000 (11:24 +0800)]
Backport 2012-06-23T12:48:24Z!cyd@gnu.org from trunk

12 years agoSet a minimum automake version
Glenn Morris [Tue, 7 Aug 2012 01:03:44 +0000 (21:03 -0400)]
Set a minimum automake version

* configure.ac: Require automake 1.11 (fairly arbitrarily).
* autogen.sh (automake_min): Get it from configure.ac.

12 years agosrc/w32.c: Silence compiler warnings.
Juanma Barranquero [Mon, 6 Aug 2012 22:07:01 +0000 (00:07 +0200)]
src/w32.c: Silence compiler warnings.
(map_w32_filename): Remove unused variable `is_fat'.
(chase_symlinks): Add parentheses around expression.

12 years ago* doc/misc/url.texi (Parsed URLs): Adjust to the code's use of defstruct.
Aurélien Aptel [Mon, 6 Aug 2012 21:50:25 +0000 (17:50 -0400)]
* doc/misc/url.texi (Parsed URLs): Adjust to the code's use of defstruct.

Fixes: debbugs:12096
12 years agoRevert typo in previous
Glenn Morris [Mon, 6 Aug 2012 21:33:21 +0000 (17:33 -0400)]
Revert typo in previous

12 years ago* lisp/help-fns.el (help-fns--key-bindings, help-fns--signature)
Stefan Monnier [Mon, 6 Aug 2012 21:05:48 +0000 (17:05 -0400)]
* 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.