1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00
Commit graph

107106 commits

Author SHA1 Message Date
Masatake YAMATO
c69f56a207 * 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'.
2012-08-10 08:44:06 -04:00
Glenn Morris
9ff736dc87 Auto-commit of generated files. 2012-08-10 06:17:28 -04:00
Dmitry Antipov
42b3a44436 Use common inline syntax in intervals.h.
* intervals.h (INTERVALS_INLINE): New macro.
Change all users from LISP_INLINE.
2012-08-10 13:37:43 +04:00
Dmitry Antipov
9fb0c95731 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.
2012-08-10 13:24:03 +04:00
Dmitry Antipov
65e8ee5293 Remove unused macros from intervals.h.
* intervals.h (MERGE_INSERTIONS, DISPLAY_INVISIBLE_GLYPH): Remove.
* intervals.c: Adjust comment.
2012-08-10 13:04:19 +04:00
Eli Zaretskii
9b855fd632 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.
2012-08-10 10:16:58 +03:00
Glenn Morris
0aa8781fc0 Comments 2012-08-10 00:07:07 -07:00
Glenn Morris
39cb9e56e9 ChangeLog fixes 2012-08-10 00:00:40 -07:00
Eli Zaretskii
d30be705df 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.
2012-08-10 09:54:37 +03:00
Glenn Morris
4b94e8cfe5 * src/Makefile.in (config_h): Fix conf_post.h out-of-tree build location. 2012-08-09 20:47:21 -04:00
Glenn Morris
9748df5d77 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.
2012-08-09 20:16:33 -04:00
Glenn Morris
9374581a24 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).
2012-08-09 20:02:10 -04:00
Glenn Morris
59a428eb3f Comments 2012-08-09 19:59:38 -04:00
Glenn Morris
3565663879 * lib-src/ebrowse.c (PATH_LIST_SEPARATOR): Remove
Replace with SEPCHAR from config.h.
2012-08-09 19:53:07 -04:00
Jay Belanger
3167378035 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.
2012-08-09 09:46:03 -05:00
Chong Yidong
dee4ef9388 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
2012-08-09 21:37:31 +08:00
Glenn Morris
ee77919d83 Auto-commit of generated files. 2012-08-09 06:17:30 -04:00
Chong Yidong
73e2bbc5a3 * 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)".
2012-08-09 16:16:13 +08:00
Chong Yidong
3e861c8a0d * descr-text.el (describe-char): Don't insert extra newlines.
Fixes: debbugs:10127
2012-08-09 16:10:32 +08:00
Chong Yidong
c7fe9adcd4 Update docstrings for last change. 2012-08-09 15:50:49 +08:00
Chong Yidong
a9f5a6491c * lisp/vc/log-view.el (log-view-diff): Use use-region-p.
(log-view-diff-changeset, log-view-minor-wrap): Likewise.

Fixes: debbugs:10133
2012-08-09 15:45:23 +08:00
Chong Yidong
dab7711b38 * align.el (align-region): Delete temporary markers.
Plus some code cleanups.

Fixes: debbugs:10047
2012-08-09 15:34:53 +08:00
Glenn Morris
0e1a094ff8 ChangeLog merge date fixes 2012-08-09 00:15:04 -07:00
Chong Yidong
b8d26eb32e * etc/images/splash.svg, etc/images/splash.png: Tweak SVG paths
to improve legibility.
2012-08-09 13:25:21 +08:00
Dmitry Antipov
a275282808 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.
2012-08-09 09:14:23 +04:00
Fabián Ezequiel Gallina
e0cc4efac7 * 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.
2012-08-09 01:08:29 -03:00
Fabián Ezequiel Gallina
489af14fa5 * 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.
2012-08-09 00:30:37 -03:00
Jay Belanger
b5e94c8e46 calc/calc-menu.el (calc-modes-menu): Fix menu item. 2012-08-08 22:19:34 -05:00
Jay Belanger
0fc5030365 calc-menu.el (calc-modes-menu): Add entries for matrix modes
and simplification modes.
2012-08-08 21:51:58 -05:00
Stefan Monnier
5d65606a7e * lisp/delsel.el (delete-selection-pre-hook): Don't propagate the
file-supersession signals.

Fixes: debbugs:12161
2012-08-08 22:18:50 -04:00
Stefan Monnier
cc92c454ad * 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.
2012-08-08 15:53:44 -04:00
Stefan Monnier
4250fdf5b3 * lisp/emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
(cl-map-extents): Add compatibility aliases.

Fixes: debbugs:12135
2012-08-08 14:56:01 -04:00
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