Commit graph

108902 commits

Author SHA1 Message Date
Glenn Morris
72ff76bbc2 * doc/misc/cl.texi (Equality Predicates): Fix eq/eql pedantry. 2013-02-03 11:40:00 -08:00
Alan Mackenzie
d23b0804fb Fix bug in the state cache mechanism. Remove 'BOD "strategy". Refactor.
cc-engine.el (c-get-fallback-scan-pos): Remove.
(c-parse-state-get-strategy): Don't return 'BOD any more.
(c-append-lower-brace-pair-to-state-cache): Extra parameter HERE instead
of narrowing.  Widen to top of buffer before searching backwards for a
brace pair.
(c-state-push-any-brace-pair): Add HERE parameter to function call.
(c-append-to-state-cache): Extra parameter HERE in place of narrowing.
Narrow to parameter HERE, in place of being called narrowed.
(c-remove-stale-state-cache): Extra parameter HERE in place of narrowing.
Check there's an open brace in the cache before searching for its match.
(c-invalidate-state-cache-1): Add HERE parameter to function call.
(c-parse-state-1): Don't narrow here for 'forward strategy, instead
passing extra parameter HERE to several functions.  Remove 'BOD strategy.
2013-02-02 18:24:10 +00:00
Eli Zaretskii
970b321fd0 Update nt/INSTALL. 2013-02-02 10:23:52 +02:00
Stefan Monnier
13841bfcc2 * lisp/mouse.el (mouse-drag-track): Always deactivate the mark before
running the final event's command since that command is in charge of
activating the mark if needed.

Fixes: debbugs:13523
2013-02-01 18:40:55 -05:00
Juri Linkov
dc2bc29527 * lisp/replace.el (perform-replace): Move let-bindings of isearch-*
variables deeper to the loop that searches for the next match.
Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
Use `isearch-search-fun-default' instead of `isearch-search-fun'.

* lisp/isearch.el (isearch-search-fun-default): Check for null
first element of isearch-cmds as a precaution when it's used
with inactive isearch.

Fixes: debbugs:13579
2013-02-02 01:38:41 +02:00
Andrew W. Nosenko
f864e0ea83 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
error when buffer in question is narrowed so position 1 is out of
visible part.
2013-02-01 22:10:08 +01:00
Glenn Morris
25b4eb90f9 Auto-commit of loaddefs files. 2013-02-01 07:18:14 -05:00
Eli Zaretskii
e7c3fb0624 Make sure program names are encoded before using them to invoke subprocesses.
src/callproc.c (Fcall_process): Make sure program name in PATH and
 new_argv[0] is encoded, if needed.  Otherwise, un-encoded string
 is passed to exec/spawnve, which fails unless the file-name
 encoding is UTF-8.
2013-02-01 12:15:36 +02:00
Eli Zaretskii
18a80473ed w32proc.c (sys_spawnve): Initialize escape_char.
src/w32proc.c (sys_spawnve): Make sure escape_char is initialized,
 even if w32-quote-process-args is nil.
2013-02-01 11:23:23 +02:00
David Engster
be798504fa Sync CEDET and EIEIO version numbers with upstream. 2013-01-31 20:58:56 +01:00
Glenn Morris
fb77fe0fb7 * lisp/textmodes/remember.el (remember-clipboard): Doc fix. 2013-01-31 09:03:53 -08:00
Stefan Monnier
c517ec69d8 * lisp/progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
properties.

Fixes: debbugs:13179
2013-01-30 15:43:02 -05:00
Glenn Morris
c491dd7037 mouse-drag-line changes for mouse-1 in header-line
* lisp/mouse.el (mouse-drag-line): Avoid pushing same event onto
unread-command-events twice in some cases.  This tries to implement
the 2012-07-26 changes in a different way.

Fixes: debbugs:13560
2013-01-30 09:14:24 -08:00
Fabián Ezequiel Gallina
6ff930c3d2 * progmodes/python.el
(python-pdbtrack-comint-output-filter-function): Enhancements on
stacktrace detection.  (thanks @gnovak)
2013-01-30 12:02:58 -03:00
Glenn Morris
fe93f41aa0 ChangeLog date fix 2013-01-29 23:47:11 -08:00
Glenn Morris
1886a16d27 * imenu.el (imenu-default-create-index-function):
Put back a version of the infinite loop test removed 2013-01-23.
2013-01-29 23:46:28 -08:00
Fabián Ezequiel Gallina
e44970863d * progmodes/python.el (python-shell-parse-command): Find
python-shell-interpreter with modified environment.
2013-01-28 18:59:42 -03:00
Glenn Morris
268c041e44 Sync Version: headers with -version variables 2013-01-27 16:34:22 -08:00
Eli Zaretskii
224f4ec129 Tentative fix for bug #13546 with failure to save files on Windows.
src/w32.c (sys_open): Zero out the flags for the new file descriptor.
 (sys_close): Zero out the flags for the file descriptor before
 closing it.
2013-01-27 10:04:16 +02:00
Stefan Monnier
beb6d07d10 * lisp/emacs-lisp/cl.el (cl-set-getf): Add compatibility alias. 2013-01-26 19:17:11 -05:00
Eli Zaretskii
806fed21f1 Fix bug #13553 with usage of IS_DIRECTORY_SEP on MS-Windows under DBCS.
src/w32.c (parse_root, get_volume_info, readdir, read_unc_volume)
 (logon_network_drive, stat_worker, symlink, chase_symlinks): Use
 CharNextExA and CharPrevExA to iterate over file names encoded in
 DBCS.
2013-01-26 14:49:34 +02:00
Eli Zaretskii
26854e9c9e Use file-name-coding-system when decoding symlinks on MS-Windows.
src/w32.c (readlink): Use the current file-name-coding-system, not the ANSI
 codepage, to decode and handle targets of symlinks.
2013-01-25 16:47:37 +02:00
Eli Zaretskii
6ee4509abf Support MS-Windows file names encoded in multibyte encodings.
src/w32.c (w32_get_long_filename, init_environment, readlink):
 Support file names encoded in DBCS codepages.
2013-01-25 16:34:26 +02:00
Fabián Ezequiel Gallina
345f866e04 * lisp/progmodes/python.el: Enhancements to header documentation about
skeletons.

Fixes: debbugs:5716
2013-01-23 22:24:09 -03:00
Fabián Ezequiel Gallina
ddc62155d2 * imenu.el (imenu-default-create-index-function): Remove useless
infinite loop check.

Fixes: debbugs:13438
2013-01-23 18:55:46 -03:00
Alan Mackenzie
267eacb5e3 Fix a bug in the state cache mechanism. Refactor this a bit.
cc-engine.el (c-parse-state-get-strategy): Remove the `cache-pos' element
from the return value.
(c-append-lower-brace-pair-to-state-cache): "Narrow" to end of buffer to
enable proper searching from beyond HERE.
Amend the test for detecting the sought brace pair.  Amend the value
written to the "brace desert cache" when the brace isn't found.
(c-remove-stale-state-cache): Rename `good-pos' to `start-point', and
several other variables analogously.
(c-remove-stale-state-cache-backwards): Change `cache-pos' from a
parameter to a locally calculated variable.
(c-parse-state-1): Change the calling conventions to the two defuns
involving `cache-pos'.
2013-01-23 18:58:11 +00:00
Eli Zaretskii
6d2851de77 Fix bug #13515 with processing DBCS file names on MS-Windows.
src/w32.c (max_filename_mbslen): New function.
 (normalize_filename, readdir): Use it to detect locales where ANSI
 encoding of file names uses a double-byte character set (DBCS).
 If a DBCS encoding is used, advance by characters using
 CharNextExA, instead of incrementing a 'char *' pointer.  Use
 _mbslwr instead of _strlwr.
2013-01-23 18:11:04 +02:00
Chong Yidong
4d4ddaa78c * xml.el (xml-entity-or-char-ref-re): Fix regexp.
This bug was reported by Jae-oh Kim; it was posted to bug-gnu-emacs
but didn't show up in the bug tracker for some reason.  It is a
regression against Emacs 24.2.
2013-01-23 14:25:50 +08:00
Eli Zaretskii
81abbb9544 Fix bug #13065 with file selector dialog on Windows 7.
src/w32heap.c (allocate_heap) [!_WIN64]: Decrease the initial
 request of memory reservation to 1.7GB.
2013-01-22 15:30:17 +02:00
Andreas Schwab
ba14c607ba Fixes: debbugs:13505
* src/coding.c (detect_coding_iso_2022): Move back mis-reordered code
at check_extra_latin label.
2013-01-20 23:59:47 +01:00
Glenn Morris
114d4d84c8 Comment 2013-01-19 15:59:48 -08:00
Leo Liu
2fc71e3c45 Prune erroneous values in dired-get-marked-files
Fixes: debbugs:13152
2013-01-19 02:35:44 +08:00
Glenn Morris
e17b97778d * doc/emacs/custom.texi (Directory Variables): Fix paren typo. 2013-01-17 20:53:34 -05:00
Glenn Morris
19503d5abf etags.el fix for bug#13412
* lisp/progmodes/etags.el (tags-table-check-computed-list):
Preserve point in tags buffer.
2013-01-16 21:07:25 -05:00
Glenn Morris
085d34c46a * src/fns.c (Frandom): Doc fix. 2013-01-16 21:05:16 -05:00
Glenn Morris
5dfac85d20 Auto-commit of loaddefs files. 2013-01-16 07:21:01 -05:00
Glenn Morris
f1488a0bb0 Auto-commit of generated files. 2013-01-16 07:17:36 -05:00
Glenn Morris
64420fcd99 NEWS tweak 2013-01-16 00:10:18 -08:00
Glenn Morris
cfbcc10b45 Backport configure.ac message tweak from trunk 2013-01-16 00:08:34 -08:00
Glenn Morris
ecde036852 * doc/emacs/trouble.texi (Crashing): Not all addr2line have -p. (Bug#13445) 2013-01-15 21:11:10 -05:00
Glenn Morris
f8a42ad607 Doc fixes related to "(declare (indent symbol))" (bug#13450)
* doc/lispref/macros.texi (Indenting Macros):
Fix order of an indent symbol's arguments.

* lisp/emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2013-01-15 21:03:06 -05:00
Glenn Morris
827253f738 * doc/emacs/custom.texi (Custom Themes): Fix typo. 2013-01-15 20:47:40 -05:00
Glenn Morris
41b057adee * rmailmm.el (rmail-insert-mime-forwarded-message): Revert 2012-12-29 change
Ref:
<http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00360.html>

(Do not merge to trunk)
2013-01-15 20:44:11 -05:00
Glenn Morris
94898d72a3 * Makefile.in (install-arch-indep): Put back a chmod
that was removed 2012-05-19.  (Bug#13430)
2013-01-15 20:41:31 -05:00
Jan Djärv
2e7a189249 Fix spelling error. 2013-01-13 20:36:05 +01:00
Jan Djärv
b826986f36 * nsfont.m (LCD_SMOOTHING_MARGIN): New define.
(nsfont_draw): Remove disabling of LCD smoothing.
(ns_glyph_metrics): Add LCD_SMOOTHING_MARGIN to bearings to fix
Bug#11484 with LCD smooting on.
2013-01-13 15:29:22 +01:00
Bastien Guerry
a89c8ef024 Merge Org 7.9.3d (commit e8f5b0ad). 2013-01-13 11:33:16 +01:00
Glenn Morris
f5e9cbd447 ChangeLog fix (no need to merge to trunk) 2013-01-12 11:31:25 -08:00
Jan Djärv
38693137f6 * gtkutil.c (xg_initialize): Backport from trunk.
Add ifdef HAVE_FREETYPE around x_last_font_name.

Fixes: debbugs:13403
2013-01-11 02:22:49 +01:00
Paul Eggert
45b7bfdd54 Backport typo fix from trunk, for AIX.
* eval.c (mark_backtrace) [BYTE_MARK_STACK]: Remove stray '*'.
This follows up on the 2012-09-29 patch that removed indirection
for the 'function' field.  Reported by Sergey Vinokurov in
<http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00263.html>.

Fixes: debbugs:13408
2013-01-10 23:51:25 -08:00