* lisp/international/characters.el (glyphless-set-char-table-range): New fun.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
bd3921f0
PS
12013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2
3 * international/characters.el (glyphless-set-char-table-range): New fun.
4 (update-glyphless-char-display): Use it (bug#13744).
5
ccc4f9f1
TZ
62013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
7
8 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
9 namespaces in the syntax, indent closer for hanging brace
10 correctly, allow single-quote delimited 'strings', and make
11 `cfengine3-mode' the default.
12
6ff2c8f1
JPG
132013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
14
15 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
16 Use lexical-binding. Fix up docstring according to conventions.
17 (gdbmi-debug-mode): New var.
18 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
19 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
20 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
21 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
22 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
23 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
24 (gdbmi-bnf-incomplete-record-result): New functions.
25 (gdb-car<): Remove function.
26 (gdbmi-record-list): Remove variable.
27 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
28 (gdbmi-bnf-result-state-configs): New const.
29 (gud-gdbmi-marker-filter): Rewrite.
30 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
31 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
32 Add `token' argument.
33 (gdb-done, gdb-error): New functions.
34 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
35
9b593980
SM
362013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
37
2523c845
SM
38 * term/xterm.el (xterm--report-background-handler): Don't burp
39 upon timeout.
40 (xterm--version-handler): Extract from terminal-init-xterm.
41 (xterm--query): Don't mishandle timeout. Remove debugging messages.
42 Allow multiple handlers.
43 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
44
9b593980
SM
45 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
46 (xterm--report-background-handler, xterm--query): New functions.
47 (terminal-init-xterm): Use them.
48
e18e61cf
MM
492013-03-11 Michael R. Mauger <michael@mauger.com>
50
51 * progmodes/sql.el Version 3.2
52 Please note that my address changed to <michael@mauger.com>;
53 the <mmaug@yahoo.com> address remains active.
54 (sql-connection-alist): Updates documentation to fix bug#13715.
55 (sql-connect): Handle missing `sql-connection-alist' correctly.
56 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
57 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
58 property.
59 (sql-default-value): New function.
60 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
61 values were not used.
62 (sql-rename-buffer): Make sure alternate buffer name has no text
63 properties.
64 (sql-input-sender, sql-execute-feature): Fetch variable with
65 `buffer-local-value' rather than `with-current-buffer'.
66 (sql-*): Use #' function syntax consistently.
67 (sql-*): Use message/error/user-error consistently.
68
25c09217
SM
692013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
70
71 * xt-mouse.el (xterm-mouse-event-read): Remove.
72 (xterm-mouse--read-event-sequence-1000)
73 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
74
d0ebc826
SM
752013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
76
d3e9f3a8
SM
77 * term/xterm.el (xterm-function-map): Support format used with
78 formatOtherKeys=1 (bug#13839).
79
17f32327
SM
80 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
81 (with-no-warnings): Use `declare'.
82
33f5bc1c
SM
83 * whitespace.el (whitespace-enable-predicate): New variable.
84 (whitespace-enable-predicate): Use it.
85
d0ebc826
SM
86 * comint.el (comint-send-input, comint-snapshot-last-prompt)
87 (comint-output-filter, comint-update-fence):
88 Use with-silent-modifications.
89
45ba025e
J
902013-03-10 Jambunathan K <kjambunathan@gmail.com>
91
92 * replace.el (occur-read-regexp-defaults-function): New var.
93 (occur-read-regexp-defaults): New defun.
94 (occur-read-primary-args): Propagate above change (bug#13892).
95
74dd4abc
SM
962013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
97
98 * mouse.el (mouse-drag-track): Remove left-over debugging code.
99
3675b169
MA
1002013-03-09 Michael Albinus <michael.albinus@gmx.de>
101
102 Major rewrite due to changed D-Bus interface of GVFS 1.14.
103
104 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
105 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
106 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
107 New defconst.
74dd4abc
SM
108 (tramp-gvfs-file-name-handler-alist) [directory-files]
109 [directory-files-and-attributes, file-exists-p, file-modes]:
110 Use Tramp default handler.
3675b169
MA
111 [file-acl, file-selinux-context, process-file, set-file-acl]:
112 [set-file-modes, set-file-selinux-context, shell-command]:
d0ebc826 113 [start-file-process]: Remove handler.
3675b169
MA
114 [verify-visited-file-modtime]: New handler.
115 (tramp-gvfs-dbus-string-to-byte-array)
116 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
117 calls of `dbus-string-to-byte-array' and
118 `tramp-gvfs-dbus-byte-array-to-string'.
119 (tramp-gvfs-handle-copy-file)
120 (tramp-gvfs-handle-delete-directory)
121 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
122 (tramp-gvfs-handle-file-directory-p)
123 (tramp-gvfs-handle-file-executable-p)
124 (tramp-gvfs-handle-file-name-all-completions)
125 (tramp-gvfs-handle-file-readable-p)
126 (tramp-gvfs-handle-file-writable-p)
127 (tramp-gvfs-handle-insert-directory)
128 (tramp-gvfs-handle-insert-file-contents)
129 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
130 (tramp-gvfs-handle-set-visited-file-modtime)
131 (tramp-gvfs-handle-write-region): Rewrite.
132 (tramp-gvfs-handle-file-acl)
133 (tramp-gvfs-handle-file-selinux-context)
134 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
135 (tramp-gvfs-handle-set-file-modes)
136 (tramp-gvfs-handle-set-file-selinux-context)
137 (tramp-gvfs-handle-shell-command)
138 (tramp-gvfs-handle-start-file-process)
139 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
140 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
141 over the symlinks. Fix user handling.
142 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
143 of the D-Bus signals.
144 (tramp-gvfs-connection-mounted-p): Handle different names of the
145 D-Bus methods.
146 (tramp-gvfs-mount-spec-entry): New defun.
147 (tramp-gvfs-mount-spec): Use it.
148 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
149 there is a share name. Handle different names of the D-Bus
150 signals and methods.
151 (tramp-gvfs-maybe-open-connection): Set connection properties
152 needed for `tramp-check-cached-permissions'.
153 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
154 Return t or nil.
155
156 * net/tramp.el (tramp-backtrace): Move up.
157 (tramp-error): Apply a backtrace into the debug buffer when
158 `tramp-verbose > 9.
159 (tramp-file-mode-type-map, tramp-file-mode-from-int)
160 (tramp-file-mode-permissions, tramp-get-local-uid)
161 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
162 tramp-sh.el.
163
164 * net/tramp-sh.el (tramp-file-mode-type-map)
165 (tramp-check-cached-permissions, tramp-file-mode-from-int)
166 (tramp-file-mode-permissions, tramp-get-local-uid)
167 (tramp-get-local-gid): Move to tramp.el.
168
27a98a62
SM
1692013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
170
171 Separate mouse-1-click-follows-link from mouse-drag-region.
172 * mouse.el (mouse--down-1-maybe-follows-link): New function.
173 (key-translation-map): Use it to implement mouse-1-click-follows-link.
174 (mouse-drag-line, mouse-drag-track):
175 Remove mouse-1-click-follows-link code.
176 (mouse--remap-link-click-p): Remove.
177
eb1a6e15
J
1782013-03-08 Jambunathan K <kjambunathan@gmail.com>
179
180 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
181 (hi-lock-read-regexp-defaults): New defun.
182 (hi-lock-line-face-buffer, hi-lock-face-buffer)
27a98a62
SM
183 (hi-lock-face-phrase-buffer): Propagate above change.
184 Update docstring (bug#13892).
eb1a6e15
J
185
186 * subr.el (find-tag-default-as-regexp): New defun.
187 * replace.el (read-regexp): Propagate above change.
188
6d7ebb72
JB
1892013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
190
191 * calc/calc-units.el (calc-convert-units): Fix the way that default
192 new units are stored.
193
c34ae9da 1942013-03-07 Matthias Meulien <orontee@gmail.com>
c095b770
KF
195
196 * bookmark.el: Define a face to highlight bookmark names in
197 bookmark menu buffers, where the default is a bold face similarly
c34ae9da 198 to buffer names in buffer menu buffers.
c095b770
KF
199 (bookmark-menu-bookmark): New face to highlight bookmark names.
200 (bookmark-insert-location): Remove duplicated text property to
201 conform to buffer list (see `list-buffers').
202 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
203 `bookmark-menu-bookmark' to bookmark names.
204
c34ae9da
GM
2052013-03-07 Matthias Meulien <orontee@gmail.com>
206 Karl Fogel <kfogel@red-bean.com>
7a78e19f
KF
207
208 * bookmark.el: Display the bookmark list header similarly to the
209 buffer list header (see `list-buffers'), where the default is now
c34ae9da 210 an immovable/immutable header line.
7a78e19f
KF
211 (bookmark-bmenu-use-header-line): New variable.
212 (bookmark-bmenu-inline-header-height): New name for
213 `bookmark-bmenu-header-height', to avoid confusion with the code
214 for the new immovable header. All references changed.
215 (bookmark-bmenu-set-header): New function.
216 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
217 Conditionalize header construction accordingly.
218 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
219 the inline header height.
220 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
221 Conditionalize the skipping of the inline header height.
222
94e48c7d
DG
2232013-03-07 Dmitry Gutov <dgutov@yandex.ru>
224
27a98a62
SM
225 * progmodes/js.el (js--multi-line-declaration-indentation):
226 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
94e48c7d 227
ab89e9f9
DG
2282013-03-06 Dmitry Gutov <dgutov@yandex.ru>
229
27a98a62
SM
230 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
231 Only propertize regexp when not inside a string (Bug#13885).
ab89e9f9 232
33d1e2f5
AM
2332013-03-06 Alan Mackenzie <acm@muc.de>
234
235 Correct the position of point in some line-up functions.
236 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
237 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
238 point at column 0 rather than at a random place in the line.
239
11f4d68f
MA
2402013-03-05 Michael Albinus <michael.albinus@gmx.de>
241
27a98a62
SM
242 * net/tramp-compat.el (tramp-compat-delete-directory):
243 Implement TRASH argument.
11f4d68f 244
c7a409b6
DG
2452013-03-05 Dmitry Gutov <dgutov@yandex.ru>
246
247 Keep pre-existing highlighting in completion candidates (Bug#13250).
248 * minibuffer.el (completions-first-difference): State that the
249 face is "added" in the docstring.
250 (completions-common-part): Same. And don't inherit from default.
251 (completion-hilit-commonality): Prepend 'completions-common-part
252 and 'completion-first-difference faces to the 'face property,
253 instead of replacing the value(s).
254 (completion--insert-strings): Same with 'completions-annotations face.
255 (completion-hilit-commonality): Use 'face instead of
256 'font-lock-face, because it gets priority if the completion
257 strings already have 'face set.
258
e0bc0f33
AM
2592013-03-04 Alan Mackenzie <acm@muc.de>
260
261 Replace `last-command-event' by `last-command-char' in XEmacs.
262 * progmodes/cc-defs.el (c-last-command-char): New macro.
263 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
264 (c-semi&comma-no-newlines-before-nonblanks)
265 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
266 in place of `last-command-event'.
267 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
268 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
269 (c-electric-paren, c-electric-continued-statement): Use the new
270 macro in place of `last-command-event'.
271
cb05411f
GM
2722013-03-04 Glenn Morris <rgm@gnu.org>
273
274 * files.el (inhibit-local-variables-regexps):
275 Add .diff and .patch. (Bug#13862)
276
9a0f9ec3
MA
2772013-03-03 Michael Albinus <michael.albinus@gmx.de>
278
279 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
280 whether the "su" command is available on the device.
281
7d11fc27
MA
2822013-03-01 Michael Albinus <michael.albinus@gmx.de>
283
284 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
285 (tramp-adb-handle-process-file): Remove superfluous setting.
286 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
287 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
288 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
289
b5a5723d
SM
2902013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
293 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
294 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
295 Use dict-key rather than dict-name for the error message.
296
7944eaa3
TV
2972013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
298
299 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
300 when reverting (bug#13831).
301
325b66a6
AM
3022013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
303
7944eaa3 304 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
325b66a6
AM
305 Always expand affix-file before storing to protect against changed
306 `default-directory'.
307 (ispell-print-if-debug): Make sure message is printed at the end
308 of the debug buffer.
309
36a8b68b
MA
3102013-03-01 Michael Albinus <michael.albinus@gmx.de>
311
312 * net/tramp.el (tramp-obsolete-methods): New defconst.
313 (tramp-warned-obsolete-methods): New defvar.
314 (tramp-find-method): Check for obsolete methods. Map them to a
315 replacement method if appropriate.
316
317 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
318 Remove methods.
319 (top): Remove completion functions for "scp1", "scp2", "ssh1",
320 "ssh2" and "plink1".
321
4a83d19e
DS
3222013-02-28 Dale Sedivec <dale@codefu.org>
323
324 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
325 Return valid syntax-table property value when converting
326 quotes within text from string syntax to punctuation syntax (bug#13844).
327
9d232fc4
JL
3282013-02-28 Juri Linkov <juri@jurta.org>
329
330 * dired-aux.el (dired-diff): If file at point is a backup file,
331 use its original as the default value, and reverse the order
332 of arguments to the `diff' call. Doc fix. (Bug#13772)
333
779451da
MA
3342013-02-28 Michael Albinus <michael.albinus@gmx.de>
335
336 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
337 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
338
ef3761e3
AM
3392013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
340
341 Initial support for hunspell dictionaries auto-detection (Bug#13639)
342
343 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
344 Ask hunspell about available and default dictionaries.
345 (ispell-parse-hunspell-affix-file): Extract relevant info from
346 hunspell affix file.
347 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
348 `ispell-dictionary-alist' entry for given dictionary after info
349 provided by `ispell-parse-hunspell-affix-file'.
350 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
351 of parsed hunspell dicts and associated affix files.
352 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
353 of parsed hunspell dicts and associated parameters.
354 (ispell-set-spellchecker-params):
355 Call `ispell-find-hunspell-dictionaries' if hunspell and not
356 previously done.
357 (ispell-start-process):
358 Call `ispell-hunspell-fill-dictionary-entry' for current
359 dictionary if it is not initialized.
360
930de676
SM
3612013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
362
363 * imenu.el: Comment nitpicks.
364
3602cceb
SS
3652013-02-28 Sam Steingold <sds@gnu.org>
366
367 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
368 See <http://stackoverflow.com/questions/14720205>.
369
bd0dd755
TV
3702013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
371
372 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
373 (net-utils-mode): Use it.
374 (net-utils--revert-cmd): New var.
375 (net-utils-run-simple): Set it, and remove bogus interactive spec.
376 (traceroute): Use net-utils-run-simple.
377
929aeac6 3782013-02-28 Glenn Morris <rgm@gnu.org>
f0e19dc1
GM
379
380 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
381
e7a1c32d
SM
3822013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
385 (doc-view-fallback-mode): Remove overlays here.
386 (doc-view-toggle-display): Instead of here. Don't throw away
387 image-mode-winprops-alist.
388 (doc-view-goto-page): Don't mess with hscroll.
389
f2c88400
TV
3902013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
391
392 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
393 &optional (bug#13819).
394
fa550654
MA
3952013-02-27 Michael Albinus <michael.albinus@gmx.de>
396
397 * net/tramp-adb.el (tramp-adb-parse-device-names)
398 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
399
58bd4aa2
MA
4002013-02-26 Michael Albinus <michael.albinus@gmx.de>
401
f2c88400
TV
402 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
403 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
58bd4aa2
MA
404 defined. POSIX environments fall back to the "C" locale then and
405 emit a warning, which shall be suppressed.
406
9f70f91e
SM
4072013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
408
409 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
410 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
411
4c514b0f
SM
4122013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
415
cd27a76d
JL
4162013-02-25 Juri Linkov <juri@jurta.org>
417
418 * replace.el (read-regexp): Let-bind `default' to the first
419 element of `defaults' if it's a list, otherwise it should be
420 a string or nil. Let-bind `suggestions' to `defaults' if it's
421 a list, otherwise make a list with the string value. Doc fix.
422 (Bug#13805)
423
343a2aef
EZ
4242013-02-25 Eli Zaretskii <eliz@gnu.org>
425
426 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
427 that match "\`\.#", to avoid compiling lock files, even if they
428 are readable (as they are on MS-Windows).
429
944c37ef
SM
4302013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
431
432 * files.el (basic-save-buffer): Remove redundant directory-creation.
433
7a91562f
JB
4342013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
435
436 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
437 Add option to force `pi' to remain symbolic.
438 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
439 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
440 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
441 derivatives, when necessary.
442
2ae3d736
PK
4432013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
444
445 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
446 (ps-mode-octal-region): Use string-make-unibyte.
447
fd743628
GM
4482013-02-23 Glenn Morris <rgm@gnu.org>
449
e8ba2352
GM
450 * emulation/viper-cmd.el (viper-submit-report):
451 * progmodes/ps-mode.el (ps-mode-maintainer-address):
452 * progmodes/vera-mode.el (vera-mode-help-address):
453 * textmodes/artist.el (artist-maintainer-address):
454 * textmodes/reftex.el (reftex-report-bug):
455 * vc/ediff-util.el (ediff-submit-report):
456 Add bug-gnu-emacs to bug report address.
457
3296c443
GM
458 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
459 Remove bug report entries.
460 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
461
fd743628
GM
462 * emacs-lisp/bytecomp.el (byte-compile-level): New.
463 (byte-compile-file, byte-compile-from-buffer):
464 Use separate input/output buffers for each level of recursive
465 byte-compile-file calls. (Bug#13787)
466
c57a0aff
MA
4672013-02-23 Michael Albinus <michael.albinus@gmx.de>
468
469 * net/tramp.el (tramp-methods): Fix docstring.
470 (tramp-ssh-controlmaster-options): Rename it from
471 `tramp-ssh-controlmaster-template'. Return a string.
472 (tramp-default-method): Adapt check for
473 `tramp-ssh-controlmaster-options'.
474
4c514b0f
SM
475 * net/tramp-sh.el (tramp-methods):
476 Replace `tramp-ssh-controlmaster-template' by "%c".
c57a0aff
MA
477 (tramp-do-copy-or-rename-file-out-of-band)
478 (tramp-maybe-open-connection): Use it in format spec. Ensure,
479 that it is applied for the first hop only.
480
bba90ab2 4812013-02-22 Juri Linkov <juri@jurta.org>
54d9de11
JL
482
483 * isearch.el (isearch-lazy-highlight-new-loop):
484 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
485 to `isearch-other-end' if it is not nil. (Bug#13402)
486
487 * replace.el (replace-highlight): Let-bind `isearch-other-end'
488 to `match-beg'.
489
490 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
491 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
492 and `isearch-error' to nil.
493
29bb19dc
MA
4942013-02-22 Michael Albinus <michael.albinus@gmx.de>
495
496 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
497
4c514b0f
SM
498 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
499 Handle multibyte file names.
29bb19dc 500
153dd4d0
GM
5012013-02-22 Glenn Morris <rgm@gnu.org>
502
5c11fc55
GM
503 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
504 (sgml-transformation-function): Give it a :set function.
505 (sgml-tag): Doc fix.
506
f4146d98
GM
507 * cmuscheme.el (scheme-buffer):
508 * progmodes/inf-lisp.el (inferior-lisp-buffer):
509 * progmodes/tcl.el (inferior-tcl-buffer):
510 * textmodes/tex-mode.el (tex-command): Doc fixes.
511
5db881d0
GM
512 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
513
153dd4d0
GM
514 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
515
e224eb41
BG
5162013-02-21 Bastien Guerry <bzg@gnu.org>
517
518 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
519
cfbf790d 5202013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
c132ab79 521
4c514b0f
SM
522 * progmodes/python.el (python-info-current-defun):
523 Enhance match-data cluttering prevention.
c132ab79 524
cfbf790d 5252013-02-21 Glenn Morris <rgm@gnu.org>
e233e100
GM
526
527 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
528 loaded while outline-regexp is let bound. (Bug#9584)
529
cfbf790d 5302013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
33c0cb25
FEG
531
532 * progmodes/python.el (python-info-current-defun): Fix failed
533 defun name retrieval because of unwanted match-data cluttering.
534
886bae77
MA
5352013-02-21 Michael Albinus <michael.albinus@gmx.de>
536
d20e6e90
MA
537 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
538 defconst. Apply independent check for ControlPersist.
539
886bae77
MA
540 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
541 temporarily, via "env".
542
bed1791a
GM
5432013-02-21 Glenn Morris <rgm@gnu.org>
544
5313bbc7
GM
545 * info.el (Info-enable-edit): Remove.
546 (Info-edit): Disable it rather than using Info-enable.
547 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
548 (Info-cease-edit): Make editing of Info files obsolete.
549
bed1791a
GM
550 * informat.el (Info-tagify):
551 Handle buffers not visiting files. (Bug#13763)
552
c1bf363a
JB
5532013-02-21 Juanma Barranquero <lekktu@gmail.com>
554
555 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
556
b367ec7b
GM
5572013-02-21 Glenn Morris <rgm@gnu.org>
558
559 * files.el (basic-save-buffer): Move check for existing parent
560 directory after hooks. (Bug#13773)
561
b6c2bfff
SM
5622013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
563
564 * simple.el (command-execute): Move from C. Add obsolete check.
565 (extended-command-history): Move from C.
566
3bf1099f
UM
5672013-02-20 Ulrich Müller <ulm@gentoo.org>
568
569 * jka-cmpr-hook.el (jka-compr-compression-info-list)
570 (jka-compr-mode-alist-additions): Handle .txz suffix for
571 XZ-compressed tar archives (bug#13770).
572
d8d2d18a
BG
5732013-02-20 Bastien Guerry <bzg@gnu.org>
574
3bf1099f
UM
575 * outline.el (outline-regexp, outline-heading-end-regexp):
576 Make variables, not options (bug#13731).
d8d2d18a 577
1dfcc79e
GM
5782013-02-20 Glenn Morris <rgm@gnu.org>
579
dc504515
GM
580 * image.el (image-current-frame): Change from variable to function.
581 (image-show-frame): Rename from image-nth-frame. Update callers.
582 * image-mode.el (image-multi-frame): New variable.
583 (image-mode-map, image-mode, image-goto-frame):
584 Use image-multi-frame rather than image-current-frame.
585 (image-mode, image-goto-frame): Use image-current-frame as
586 function rather than as variable.
587
1dfcc79e
GM
588 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
589 * emacs-lisp/cl-macs.el (cl--make-type-test)
590 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
591
81ed22e4
MA
5922013-02-19 Michael Albinus <michael.albinus@gmx.de>
593
594 * net/tramp-cache.el (tramp-get-hash-table): New defun.
595 (tramp-get-file-property, tramp-set-file-property)
596 (tramp-get-connection-property, tramp-set-connection-property): Use it.
597 (tramp-flush-file-property, tramp-flush-directory-property):
598 Rename argument to KEY.
599 (tramp-flush-connection-property): Simplify a little bit.
600 (tramp-connection-property-p): New defun.
601 (top): Reapply saved values only if there isn't a corresponding
602 entry in `tramp-connection-properties'.
603
2af3b9c1
FEG
6042013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
605
872faefb
GM
606 * progmodes/python.el (python-indent-context):
607 Fix python-info-line-ends-backslash-p call.
2af3b9c1 608 (python-info-line-ends-backslash-p)
872faefb
GM
609 (python-info-beginning-of-backslash): Respect line-number argument.
610 (python-info-current-line-comment-p):
611 Fix behavior when not at beginning-of-line.
2af3b9c1
FEG
612 (python-util-position): Remove function.
613 (python-util-goto-line): New function.
614
872faefb 6152013-02-19 Michael Albinus <michael.albinus@gmx.de>
c9bcc580
MA
616
617 * eshell/em-unix.el (eshell/su): Require tramp.
618 (eshell/sudo): Require tramp. Remove now unnecessary check.
619
620 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
621 `tramp-current-connection' in order to avoid an error when several
622 commands are invoked in a short time in eshell and friends.
623
8ca4f1e0
SM
6242013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 Cleanup some of EIEIO's namespace.
627 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
628 Use it to define all the class-* and object-* field accessors (renamed
629 to eieio--class-* and eieio--object-*). Update all uses.
630 (eieio--class-num-slots, eieio--object-num-slots): Rename from
631 class-num-slots and object-num-slots.
632 (eieio--check-type): New macro.
633 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
634 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
635 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
636 (object-assoc-list-safe): Use it.
637 (eieio-defclass): Tighten regexp.
638 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
639 Remove unreachable code.
640 (object-class-fast): Declare obsolete.
641 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
642 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
643 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
644 Rename from class-name, object-name, object-set-name-string,
645 object-class, object-class-name, class-parents, class-children,
646 class-precedence-list, class-parent; with obsolete alias.
647 (class-of, class-direct-superclasses, class-direct-subclasses):
648 Declare obsolete.
649 (eieio-defmethod): Use `memq'; remove unreachable code.
650 * emacs-lisp/eieio-base.el (eieio-persistent-read):
651 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
652 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
653
654
587feed4
MH
6552013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
656
657 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
658 Use font-lock-keyword-face for macros and special forms (bug#8345).
659
a51e9ff7 6602013-02-17 Didier Verna <didier@didierverna.net>
e5b246e9
DV
661
662 * net/network-stream.el (network-stream-open-starttls):
663 Check that response to the starttls-command is non-nil. (Bug#13706)
664
913274cb
SM
6652013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
668 Don't assume all identifier chars have syntax word.
669 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
670 Remove bar-not-symbol. Adjust callers.
671 (lisp-mode-variables): Don't set a font-lock-syntax-table.
672
53db1d8b
LL
6732013-02-17 Leo Liu <sdl.web@gmail.com>
674
675 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
676
e630f18a
GM
6772013-02-17 Glenn Morris <rgm@gnu.org>
678
1bb1e038
GM
679 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
680
f05e2ff2
GM
681 * image-mode.el (image-mode-map): Add image-dired menu entry.
682
e630f18a
GM
683 * image-dired.el (tumme): Make this alias obsolete.
684
783b7b75
GM
6852013-02-16 Glenn Morris <rgm@gnu.org>
686
ed8d7fca
GM
687 * image.el (image-animated-types): Remove.
688 (image-multi-frame-p): Rename from image-animated-p, and generalize.
689 (image-animated-p): Make obsolete alias.
690 (image-animate, image-nth-frame, image-animate-timeout):
691 Use image-multi-frame-p.
692 (image-animate-timeout): If no delay, use image-default-frame-delay.
693 * image-mode.el (image-mode, image-toggle-animation):
694 Use image-multi-frame-p. (Bug#763, bug#10739)
695 (image-mode): Adjust startup message for a multi-frame image.
696
783b7b75
GM
697 * image-mode.el (image-mode-map): Give it a menu.
698
61addbc2
MA
6992013-02-16 Michael Albinus <michael.albinus@gmx.de>
700
701 * net/tramp-cache.el (tramp-connection-properties): New customer
702 option.
703 (tramp-get-connection-property): Use it.
704
705 * net/tramp-compat.el (top): Require 'trampver.
706
913274cb
SM
707 * net/tramp-sh.el (tramp-remote-process-environment):
708 Set tramp-autoload cookie.
61addbc2 709
a9bc03e2
KR
7102013-02-16 Kevin Ryde <user42@zip.com.au>
711
712 * info-look.el (info-lookup-select-mode): If major-mode has no
713 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
714
2b0afdd9
J
7152013-02-16 Jambunathan K <kjambunathan@gmail.com>
716
717 * replace.el (read-regexp): Tighten the regexp that matches tag.
718 When tag is retrieved with `find-tag-default', use regexp that
719 matches tag at point. Also update docstring (Bug#13687).
720
a7a84eea
EZ
7212013-02-16 Eli Zaretskii <eliz@gnu.org>
722
723 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
724 add watch for the file, not its parent directory, since w32notify
725 sets up the watch for the directory internally. (Bug#13725)
726
c0211c4e
GM
7272013-02-16 Glenn Morris <rgm@gnu.org>
728
99e619b6
GM
729 * image.el (image-default-frame-delay): New variable.
730 (image-animated-p): Use image-default-frame-delay.
731 (image-minimum-frame-delay): New constant.
732 (image-animate-timeout): Use image-minimum-frame-delay.
733
c0211c4e
GM
734 * image.el (image-nth-frame): New, split from image-animate-timeout.
735 (image-animate-timeout): Use image-nth-frame.
736 * image-mode.el (image-goto-frame, image-next-frame)
737 (image-previous-frame): New commands.
738 (image-mode-map): Add new frame commands.
739
6b6d804b
JB
7402013-02-16 Jonas Bernoulli <jonas@bernoul.li>
741
742 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
743 If col-desc already has help-echo, use it. (Bug#13563)
744
ef5ae980
GM
7452013-02-16 Glenn Morris <rgm@gnu.org>
746
bb9dfee1
GM
747 * image.el (image-current-frame): New variable.
748 (image-animate-timeout): Set image-current-frame.
749 * image-mode.el (image-mode): For animated images,
750 display a frame counter via mode-line-process.
751
ef5ae980
GM
752 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
753
6c8f113e
SM
7542013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
755
756 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
757
f852f6d8
AM
7582013-02-15 Alan Mackenzie <acm@muc.de>
759
760 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
761 global minor mode has been enabled, call the minor mode function
762 for a new buffer once only, after the major mode hook, whilst
763 allowing that hook explicitly to disable the minor mode.
6c8f113e
SM
764 (MODE-disable-in-buffer): New (generated) function.
765 (disable-MODE): New (generated) buffer local variable.
f852f6d8 766
d7e76a89
J
7672013-02-15 Jambunathan K <kjambunathan@gmail.com>
768
769 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
770 `iswitchb-next-match' and `iswitchb-prev-match' resply.
d7e76a89
J
771 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
772 `ido-next-match' and `ido-prev-match' resply.
d7e76a89
J
773 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
774 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
775 `icomplete-backward-completions' (Bug#13708).
776
ef5ae980 7772013-02-15 Glenn Morris <rgm@gnu.org>
9e16c3b4
GM
778
779 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
780
648e5523 7812013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
213ac168
SM
782
783 * net/goto-addr.el (goto-address-fontify): Add start and end args.
784 (goto-address-fontify-region): Use them instead of narrowing, so
785 syntax-ppss has access to the whole buffer.
786
648e5523 7872013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
ea5f4192
FEG
788
789 * progmodes/python.el: Explain how to restore "cc-mode"-like
790 forward-sexp movement in header documentation (Bug#13642).
791 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
792 comments and strings (GH bug 114).
793
648e5523 7942013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
5cd3d1e5
FEG
795
796 * progmodes/python.el (python-info-current-defun): Fix current
797 defun detection (Bug#13618).
798
648e5523 7992013-02-15 Chong Yidong <cyd@gnu.org>
a1d23eb5
CY
800
801 * xml.el (xml-parse-string): Fix typo in handling of bad character
802 references.
803
dec2a322
GM
8042013-02-15 Glenn Morris <rgm@gnu.org>
805
806 * play/fortune.el (fortune-compile): Simplify and fix previous change.
807
5267e6d3
MA
8082013-02-14 Michael Albinus <michael.albinus@gmx.de>
809
6c8f113e
SM
810 * net/tramp.el (tramp-debug-message):
811 Add `tramp-condition-case-unless-debug'.
5267e6d3
MA
812 (tramp-debug-on-error): New defvar.
813 (tramp-condition-case-unless-debug): New defun.
814 (tramp-file-name-handler): Use it.
815
f6b6e113
JL
8162013-02-14 Juri Linkov <juri@jurta.org>
817
818 * info.el (Info-isearch-filter): Treat non-nil values of
819 `search-invisible' including its default value `open'
820 like the value `t' to match hidden text. (Bug#13402)
821
6a378d89
GM
8222013-02-14 Glenn Morris <rgm@gnu.org>
823
824 * help-fns.el (find-lisp-object-file-name): Give special treatment
825 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
826
3ca2c015
DB
8272013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
828
829 * net/quickurl.el (quickurl-save-urls):
830 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
831
53ca88c4
DG
8322013-02-14 Dmitry Gutov <dgutov@yandex.ru>
833
834 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
835 depth for unfinished percent literal. Not using it in the caller.
836 (ruby-move-to-block): Jump over multiline literals of all types,
837 ignoring code-looking contents inside them.
71a048c1
DG
838 (ruby-add-log-current-method): Improve performance at the expense
839 of accuracy. `ruby-block-contains-point' is relatively slow, so
840 only use it for method and singleton class blocks.
53ca88c4 841
d7291032
MA
8422013-02-13 Michael Albinus <michael.albinus@gmx.de>
843
844 Use ControlMaster where applicable. (Bug#13677)
845
846 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
847 replacing `tramp-detect-ssh-controlmaster'.
848 (tramp-default-method): Use it.
849
850 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
851 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
852 arguments.
853 [scpc, rsyncc]: Remove methods.
854 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
855 and "ssh2_old".
856 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
857 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
858
1ead7dbd
SM
8592013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 * emacs-lisp/package.el (package--initialized): Move before first use.
862
5cbfe5b9
J
8632013-02-13 Jambunathan K <kjambunathan@gmail.com>
864
865 * icomplete.el (icomplete-hide-common-prefix): New user option.
866 (icomplete-first-match): New face.
867 (icomplete-completions): Correct handling of "complete but not
868 unique" (Bug#12638).
869
67f3e54a
YQ
8702013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
871
872 * descr-text.el (describe-char): Display the script (bug#13698).
873
4d0463b9
SM
8742013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
875
876 * tmm.el: Use lexical-binding and current-active-maps.
877 (tmm-menubar): Use map-keymap and pcase.
878 (tmm--completion-table): New function.
879 (tmm-prompt): Use it to fix the menu order.
880 (tmm-get-keybind): Use current-active-maps.
881
a2a538b1
CS
8822013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
883
884 Add dired-hide-details-mode. (Bug#6799)
885
886 * locate.el (locate-mode): Set parent mode property to dired-mode.
887
888 * find-dired.el (find-dired): Call dired-insert-set-properties on
889 initial information line. Set process mark on end of buffer.
890 (find-dired-sentinel):
891 Call dired-insert-set-properties on summary.
892
893 * dired.el (dired-hide-details-hide-symlink-targets)
894 (dired-hide-details-hide-information-lines): New options.
895 (dired-insert-directory):
896 Set properties after final treatment of output.
897 (dired-insert-set-properties):
898 Set dired-hide-details-* properties.
899 (dired-mode-map): Bind dired-hide-details-mode.
900 (dired-mode): Set buffer-invisibility-spec to a list.
901 (dired-next-line): Skip hidden lines.
902 (dired-previous-line): Use dired-next-line.
903 (dired-hide-details-mode): New minor mode.
904 (dired-hide-details-update-invisibility-spec): New function.
905
4e16ddf4
GM
9062013-02-13 Glenn Morris <rgm@gnu.org>
907
908 * play/yow.el: Move to obsolete/. (Bug#9384)
909
ef79c6ed
JL
9102013-02-13 Juri Linkov <juri@jurta.org>
911
912 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
913 to select `ediff-control-frame' and set input focus correctly on Xfce.
914 (Bug#12218)
915
9cec74cf
JL
9162013-02-13 Juri Linkov <juri@jurta.org>
917
918 * image-mode.el (image-mode-map):
919 * doc-view.el (doc-view-mode-map):
920 * vc/ediff-util.el (ediff-setup-keymap):
921 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
922
7132e457
DG
9232013-02-13 Dmitry Gutov <dgutov@yandex.ru>
924
925 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
926 performance. Instead of recalculating indentation fully for each
927 line, sum up indentation depth based only on visited lines.
928 (ruby-parse-partial): Increase the depth after "do" even when END
929 is right after it.
930 (ruby-parse-partial): When END is in the middle of a percent
931 literal, increase the depth if the delimiter chars belong to the
932 paren syntax class.
933
3c4a4b23
KK
9342013-02-13 Kirill A. Korinskiy <catap@catap.ru>
935
936 * play/fortune.el (fortune-compile): Also make the compiled file
937 if it does not exist at all, not just if it is old. (Bug#5338)
938
eeb468da
GM
9392013-02-13 Glenn Morris <rgm@gnu.org>
940
941 * emacs-lisp/package.el (package-menu-execute): Doc fix.
942
9432013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
a7da0114
YB
944
945 * lisp/emacs-lisp/package.el (package-menu-execute):
946 Add optional noquery argument. (Bug#13625)
947
01fcc3a5 9482013-02-13 Michael Albinus <michael.albinus@gmx.de>
e08e7d91
MA
949
950 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
951 if DIR exists and PARENTS is non-nil.
952
d6596b94
JB
9532013-02-13 Juanma Barranquero <lekktu@gmail.com>
954
955 * progmodes/js.el (js--multi-line-declaration-indentation):
956 Silence byte-compiler warning.
957
f1f05871
MA
9582013-02-12 Michael Albinus <michael.albinus@gmx.de>
959
960 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
961
962 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
963 only if it doesn't exist.
964
6c8f113e
SM
965 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
966 Set process marker.
f1f05871 967
62c0e847
TH
9682013-02-12 Tassilo Horn <tsdh@gnu.org>
969
970 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
971 UserInstallation when calling soffice to work around LibreOffice
972 bug 37531.
973
958614cf
GM
9742013-02-12 Glenn Morris <rgm@gnu.org>
975
0b244335
GM
976 * files.el (basic-save-buffer):
977 Offer to create a non-existing directory. (Bug#3016)
978
958614cf
GM
979 * calc/calc-graph.el (calc-graph-show-dumb):
980 * calendar/calendar.el (calendar-mode-map):
981 * cus-edit.el (custom-mode-map):
982 * ehelp.el (electric-help-map):
983 * emulation/vip.el (vip-mode-map):
984 * epa.el (epa-key-list-mode-map):
985 * info.el (Info-mode-map):
986 * mail/rmail.el (rmail-mode-map):
987 * mail/rmailsum.el (rmail-summary-mode-map):
988 * man.el (Man-mode-map):
989 * net/newst-plainview.el (newsticker-mode-map):
990 * progmodes/cpp.el (cpp-edit-mode-map):
991 * progmodes/grep.el (grep-mode-map):
992 * progmodes/idlw-help.el (idlwave-help-mode-map):
993 * simple.el (special-mode-map):
994 * startup.el (splash-screen-keymap):
995 * view.el (view-mode-map):
996 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
997
4fa60c54
EP
9982013-02-11 Elias Pipping <pipping@lavabit.com>
999
1000 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
7e561c10 1001 (bug#13679).
4fa60c54 1002
99d0d6dc
SM
10032013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1004
1005 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1006
31db8c31
GM
10072013-02-11 Glenn Morris <rgm@gnu.org>
1008
5109429f
GM
1009 * vc/diff.el (diff-use-labels): New variable.
1010 (diff-no-select): Use --label rather than -L, and first
1011 check that it is supported. (Bug#11067)
1012
97a1cd9d
GM
1013 * files.el (enable-dir-local-variables): New variable.
1014 (hack-dir-local-variables): Respect enable-dir-local-variables.
1015 * tutorial.el (help-with-tutorial):
1016 Ignore directory-local variables. (Bug#11127)
1017
31db8c31
GM
1018 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1019 (vc-svn-global-switches): ... to here. (Bug#13513)
1020
2f108463
CS
10212013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1022
99d0d6dc
SM
1023 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1024 Handle "foo (bar, default: xxx): " prompts.
2f108463 1025
490a9458 10262013-02-10 Chong Yidong <cyd@gnu.org>
e78e7e48 1027
0ccdf61e
CY
1028 * files.el (basic-save-buffer-1): Do not set
1029 buffer-file-coding-system-explicit (Bug#4533).
1030
e78e7e48
CY
1031 * mail/emacsbug.el (report-emacs-bug): Change binding of
1032 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1033
5d9c6f17
JB
10342013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1035
1036 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1037 * calc/calc-units.el (calc-convert-units): Use new variable.
1038
8549f9e8
EZ
10392013-02-09 Eli Zaretskii <eliz@gnu.org>
1040
2d050423
EZ
1041 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1042
8549f9e8
EZ
1043 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1044 buffer-file-type.
1045
1046 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1047 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1048 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1049 coding-system-for-write instead.
1050
1051 * jka-compr.el (jka-compr-write-region): Don't bind
1052 buffer-file-type.
1053
1054 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1055 buffer-file-type.
1056
1057 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1058 (insert-file-contents-literally): Remove reference to
1059 file-name-buffer-file-type-alist.
1060
1061 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1062 make-obsolete.
1063 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1064 (find-buffer-file-type-coding-system): Remove references to
1065 find-buffer-file-type-match, find-buffer-file-type, and
1066 buffer-file-type.
1067 Don't put find-buffer-file-type-coding-system into
1068 file-coding-system-alist.
1069 (find-file-binary, find-file-text): Bind coding-system-for-read
1070 instead of file-name-buffer-file-type-alist.
1071
9cbab8d6 10722013-02-09 Jambunathan K <kjambunathan@gmail.com>
f63f9398
TH
1073
1074 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
9cbab8d6
GM
1075 converter (Bug#13622).
1076 (doc-view-unoconv-program): Make obsolete alias.
f63f9398
TH
1077 (doc-view-odf->pdf-converter-program): New variable.
1078 (doc-view-odf->pdf-converter-function): New variable.
1079 (doc-view-mode-p): Use it.
9cbab8d6
GM
1080 (doc-view-odf->pdf-converter-unoconv):
1081 Rename from `doc-view-odf->pdf-converter-unoconv'.
f63f9398 1082 (doc-view-odf->pdf-converter-soffice): New function.
9cbab8d6
GM
1083 (doc-view-convert-current-doc):
1084 Use `doc-view-odf->pdf-converter-function'.
f63f9398 1085
044a9eac
CY
10862013-02-09 Chong Yidong <cyd@gnu.org>
1087
123ecb68
CY
1088 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1089 view-echo-area-messages (Bug#13340).
1090
1091 * help.el (view-echo-area-messages): Use display-buffer.
1092
044a9eac
CY
1093 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1094 (Bug#13561).
1095
1a601680
SM
10962013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1097
7f526211
SM
1098 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1099 Eval body right away, now that we do eager macroexpansion (bug#13605).
1100
c9586acc
SM
1101 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1102 (fundamental-mode): Use run-mode-hooks.
1103
1a601680
SM
1104 * eshell/esh-proc.el (eshell/kill): Fix last change.
1105 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1106
276a61a6
AG
11072013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1108
1109 * eshell/esh-proc.el (eshell/kill): Rewrite.
1110
1111 * eshell/em-ls.el (show-almost-all): Declare.
1112 (eshell-do-ls): Add support for -A argument.
1113
6130b96a
J
11142013-02-08 Jambunathan K <kjambunathan@gmail.com>
1115
1116 * icomplete.el (icomplete-forward-completions)
1117 (icomplete-backward-completions): Handle corner case (bug#13602).
1118
fed00072
MA
11192013-02-07 Michael Albinus <michael.albinus@gmx.de>
1120
1121 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1122 be nil. Handle this. (Bug#13636)
1123
469c5a60
RS
11242013-02-07 Richard Stallman <rms@gnu.org>
1125
1126 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1127 `save-buffer-coding-system'.
1128
8c4b24b2 11292013-02-07 Alan Mackenzie <acm@muc.de>
d23b0804 1130
8c4b24b2 1131 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
d23b0804
AM
1132 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1133 (c-parse-state-get-strategy): Don't return 'BOD any more.
8c4b24b2
GM
1134 (c-append-lower-brace-pair-to-state-cache):
1135 Extra parameter HERE instead of narrowing.
1136 Widen to top of buffer before searching backwards for a brace pair.
1137 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1138 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1139 Narrow to parameter HERE, in place of being called narrowed.
d23b0804
AM
1140 (c-remove-stale-state-cache): Extra parameter HERE in place of
1141 narrowing. Check there's an open brace in the cache before
1142 searching for its match.
1143 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1144 (c-parse-state-1): Don't narrow here for 'forward strategy,
8c4b24b2
GM
1145 instead passing extra parameter HERE to several functions.
1146 Remove 'BOD strategy.
d23b0804 1147
55b056ba
NR
11482013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1149
1150 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1151 used to install the package.
1152
e86762ec
GM
11532013-02-06 Glenn Morris <rgm@gnu.org>
1154
5fd03926
GM
1155 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1156 if we can't get user input. (Bug#6567)
1157
e86762ec
GM
1158 * startup.el (command-line): If simple.el is missing,
1159 test and warn about for some possible causes.
1160
6871e574
JD
11612013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1162
1163 * cus-start.el (all): Add ns-use-native-fullscreen.
1164
3505fa02
GM
11652013-02-05 Glenn Morris <rgm@gnu.org>
1166
ed746aa7
GM
1167 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1168
3505fa02
GM
1169 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1170 Fix directory creation in fallback case.
1171
50fdf399
TV
11722013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1173
1174 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1175 (vc-update-change-log): Use dolist.
1176
6e5c1569
CY
11772013-02-04 Chong Yidong <cyd@gnu.org>
1178
1179 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1180 code from ffap.el.
1181 (thing-at-point-beginning-of-url-regexp): New var.
1182 (thing-at-point-uri-schemes): Update list of URI schemes.
1183 (thing-at-point-url-regexp): Variable deleted.
1184 (thing-at-point-markedup-url-regexp): Disallow newlines.
1185 (thing-at-point-newsgroup-regexp)
1186 (thing-at-point-newsgroup-heads)
1187 (thing-at-point-default-mail-uri-scheme): New variables.
1188 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
50fdf399
TV
1189 method to find the possible bounds of the URI at point.
1190 New optional argument to find ill-formed URIs.
6e5c1569
CY
1191 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1192 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1193 the scheme-adding heuristics from ffap-url-at-point.
50fdf399
TV
1194 (thing-at-point--bounds-of-well-formed-url): New function.
1195 Do parens matching to decide whether to include parens in the URI
6e5c1569
CY
1196 (Bug#9153).
1197
1198 * ffap.el: Require thingatpt.
1199 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1200 All URI-valid characters are now recognized (Bug#5673).
1201 (ffap-string-at-point): Use use-region-p.
1202 (ffap-url-regexp): Extra character is handled by thing-at-point.
1203 (ffap-string-at-point-mode-alist): Allow parentheses.
1204 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1205 Convert to aliases; code moved to thingatpt.el.
1206 (ffap-gnus-hook): Use setq-local.
1207
84a06b50
GM
12082013-02-04 Glenn Morris <rgm@gnu.org>
1209
1210 * emacs-lisp/ert.el (ert--explain-format-atom):
1211 Don't try to print non-characters as characters. (Bug#13543)
1212
5870b2b1
MA
12132013-02-03 Michael Albinus <michael.albinus@gmx.de>
1214
1215 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1216 (tramp-backtrace): New defun.
1217 (tramp-handle-insert-file-contents): Use `visit' when inserting
1218 the local copy.
1219
50fdf399
TV
1220 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1221 Use `remote-file-name-inhibit-cache'.
5870b2b1 1222
659a9010
SM
12232013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1224
4813c453
SM
1225 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1226 (bug#13614).
1227
659a9010
SM
1228 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1229 current-load-list (bug#13366).
1230
35114711
CS
12312013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1232
1233 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1234 Identify g++ template instantiation trace. (Bug#12287)
85a83ea0
CS
1235 (compilation-mode-hook, compilation-start-hook)
1236 (compilation-window-height): Simplify docstrings. (Bug#13379)
35114711 1237
94fbc901 12382013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13841bfc
SM
1239
1240 * mouse.el (mouse-drag-track): Always deactivate the mark before
1241 running the final event's command since that command is in charge of
1242 activating the mark if needed (bug#13523).
1243
94fbc901 12442013-02-02 Juri Linkov <juri@jurta.org>
dc2bc295
JL
1245
1246 * replace.el (perform-replace): Move let-bindings of isearch-*
1247 variables deeper to the loop that searches for the next match.
1248 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1249 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1250 (Bug#13579)
1251
1252 * isearch.el (isearch-search-fun-default): Check for null
1253 first element of isearch-cmds as a precaution when it's used
1254 with inactive isearch.
1255
94fbc901 12562013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
f864e0ea
AN
1257
1258 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1259 error when buffer in question is narrowed so position 1 is out of
1260 visible part.
1261
94fbc901 12622013-02-02 Glenn Morris <rgm@gnu.org>
fb77fe0f
GM
1263
1264 * textmodes/remember.el (remember-clipboard): Doc fix.
1265
94fbc901 12662013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
c517ec69
SM
1267
1268 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1269 properties (bug#13179).
1270
98da8c0f
JL
12712013-02-02 Juri Linkov <juri@jurta.org>
1272
1273 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1274 instead of hard-coded default face `match'. (Bug#9438)
1275
7b6d5ecf
CS
12762012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1277
af314ba0
CS
1278 * vc/vc-arch.el (vc-arch-registered):
1279 * vc/vc-bzr.el (vc-bzr-registered):
1280 * vc/vc-cvs.el (vc-cvs-registered):
1281 * vc/vc-git.el (vc-git-registered):
1282 * vc/vc-hg.el (vc-hg-registered):
1283 * vc/vc-mtn.el (vc-mtn-registered):
1284 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1285 (Bug#13139)
1286
7b6d5ecf
CS
1287 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1288 prefix argument. (Bug#11656)
1289
686d9fb6
SM
12902013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1293
48c828b9
GM
12942013-02-01 Glenn Morris <rgm@gnu.org>
1295
1f4f0f46
GM
1296 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1297 if the backend is known not to support it.
1298
48c828b9
GM
1299 * imenu.el (imenu-default-create-index-function):
1300 Tweak infinite loop test to check for forward motion as well as none.
1301
cd87ae10
AH
13022013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1303
1304 * net/soap-client.el (soap-invoke): Encode the string for
686d9fb6
SM
1305 `url-request-data' as UTF-8.
1306 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
cd87ae10 1307
86e100a6
GM
13082013-02-01 Glenn Morris <rgm@gnu.org>
1309
1310 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1311
0eb61895
GM
1312 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1313
61642d9a
MA
13142013-01-31 Michael Albinus <michael.albinus@gmx.de>
1315
1316 * net/tramp.el (tramp-tramp-file-p): Comment check for
1317 `string-as-unibyte'. The function does not exist on XEmacs, and
1318 likely we need another approach.
1319
1320 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1321 `tramp-gw-*' variables are bound.
1322
9dbda100
GM
13232013-01-31 Glenn Morris <rgm@gnu.org>
1324
1325 * files.el (basic-save-buffer-2): Choose coding system for
1326 writing the file before backing it up, to reduce delay between
1327 backing up and writing the new version. (Bug#13522)
1328
ad4de702
MN
13292013-01-31 Michal Nazarewicz <mina86@mina86.com>
1330
1331 * simple.el (cycle-spacing): New command.
1332 (just-one-space): Use it.
1333
9ca243c6
SM
13342013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1335
c4f268a1
SM
1336 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1337 (opascal-newline-always-indents): Remove custom.
1338 (opascal-tab, opascal-newline): Remove commands.
1339 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1340 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1341 (opascal-save-match-data): Remove, use save-match-data instead.
1342 (opascal-save-state): Use with-silent-modifications.
1343
9ca243c6
SM
1344 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1345 (bug#13585).
1346
64ced394
JL
13472013-01-30 Juri Linkov <juri@jurta.org>
1348
1349 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1350 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1351 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1352
c56d2269
SM
13532013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1354
1355 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1356 column if we're just deleting the backslashes.
1357 (makefile-fill-paragraph): Use eolp.
1358
382936d1
MA
13592013-01-30 Michael Albinus <michael.albinus@gmx.de>
1360
1361 * autorevert.el (auto-revert-use-notify): Fix docstring.
1362
dd331297
LL
13632013-01-30 Leo Liu <sdl.web@gmail.com>
1364
686d9fb6 1365 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
dd331297 1366
c491dd70
GM
13672013-01-30 Glenn Morris <rgm@gnu.org>
1368
1369 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1370 unread-command-events twice in some cases. This tries to implement
1371 the 2012-07-26 changes in a different way. (Bug#13560)
1372
6ff930c3
FEG
13732013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1374
1375 * progmodes/python.el
1376 (python-pdbtrack-comint-output-filter-function): Enhancements on
1377 stacktrace detection. (thanks @gnovak)
1378
1d4e7225
SM
13792013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1380
1381 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1382 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1383 Use defvar-local.
1384 (jit-lock-register): Use setq-local.
1385
7c3fb76f
JB
13862013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1387
1388 * calc-units.el (math-default-units-table): Remove initial value.
1389 (calc-convert-units): Treat expressions where all the units cancel as
1390 if they didn't have units.
1391
8bc8712e
MA
13922013-01-30 Michael Albinus <michael.albinus@gmx.de>
1393
1394 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1395 (tramp-completion-reread-directory-timeout): Fix type.
1396 (tramp-connection-min-time-diff): New defcustom.
1397
1398 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1399
1886a16d
GM
14002013-01-30 Glenn Morris <rgm@gnu.org>
1401
1402 * imenu.el (imenu-default-create-index-function):
1403 Put back a version of the infinite loop test removed 2013-01-23.
1404
3f82a88a 14052013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
e4497086 1406
1d4e7225
SM
1407 * progmodes/python.el (python-shell-parse-command):
1408 Find python-shell-interpreter with modified environment.
e4497086 1409
3f82a88a 14102013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
beb6d07d
SM
1411
1412 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1413
953e5b8c
AM
14142013-01-29 Alan Mackenzie <acm@muc.de>
1415
1416 Amend to fontify /regexp/s in actions correctly.
1417 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1d4e7225 1418 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
953e5b8c
AM
1419 are no longer included.
1420 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1421 What used to be these variables without "-line" in the name.
686d9fb6 1422 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
953e5b8c
AM
1423 (c-awk-non-arith-op-bra-re): Now also matches {.
1424 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1425 "return", and "case".
1426 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1427 by /.
1428 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
686d9fb6 1429 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
953e5b8c 1430
1b69262a
MA
14312013-01-29 Michael Albinus <michael.albinus@gmx.de>
1432
1d4e7225
SM
1433 * autorevert.el (auto-revert-use-notify):
1434 Use `custom-initialize-default' for initialization. (Bug#13583)
2f52b560 1435
1b69262a
MA
1436 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1437
1d4e7225
SM
1438 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1439 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1b69262a 1440 in `tramp-file-name-handler'.
ea55064c
MA
1441 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1442 compatibility.
1443 (tramp-compute-multi-hops): Check, whether
1444 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1b69262a 1445
b2dc4f52
SM
14462013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1449 (bug#13297).
1450
499572e4
DG
14512013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1452
1453 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1454 checks made superfluous by the \_< operator.
a324b8c7
DG
1455 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1456 temporarily) broken indentation.
b2dc4f52
SM
1457 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1458 Highlight nested constants, too. \_< broke that.
499572e4
DG
1459
14602013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1461
1462 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1463 instead of "\\b".
1464
629cb6ec
MA
14652013-01-27 Michael Albinus <michael.albinus@gmx.de>
1466
1467 * autorevert.el (auto-revert-handler): Notifications which result
1468 from a saved file shall not be taken into account. (Bug#13557)
1469
cc17363f
AS
14702013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1471
1472 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1473 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1474 (lisp-mode): Pass t for it. (Bug#13556)
1475
b7aea0ff
AM
14762013-01-25 Alan Mackenzie <acm@muc.de>
1477
1478 AWK Mode: Fix indentation bug at top level. Bug #12274.
1479
1480 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1481 just before CASE 5D.
1482
1314a64c
DA
14832013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1484
1485 * net/socks.el (socks-nslookup-host): Use string-to-number.
1486
ef3544f6
MA
14872013-01-25 Michael Albinus <michael.albinus@gmx.de>
1488
1489 * autorevert.el (auto-revert-remote-files)
1490 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1491 (auto-revert-notify-enabled, auto-revert-use-notify)
1492 (auto-revert-notify-watch-descriptor-hash-list)
1493 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1494 (auto-revert-notify-event-descriptor)
1495 (auto-revert-notify-event-action)
1496 (auto-revert-notify-event-file-name): Doc fix.
1497 (global-auto-revert-mode): Reorder checks.
1498 (auto-revert-notify-rm-watch): Respect changed values of
1499 `auto-revert-notify-watch-descriptor-hash-list'.
1500 (auto-revert-notify-add-watch): Check for
1501 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1502 `inotify-add-watch'. Watch `default-directory' instead of
1503 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1504 has a changed meaning now. (Bug#13540)
1505 (auto-revert-notify-handler): Change implementation wrt events
1506 returning from a directory.
1507 (auto-revert-handler): Reorder implementation for checks of remote
1508 files.
1509 (auto-revert-buffers): Fix parentheses error.
1510
830e46e6 15112013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
345f866e
FEG
1512
1513 * progmodes/python.el: Enhancements to header documentation about
1514 skeletons. (Bug#5716)
1515
ddc62155
FEG
1516 * imenu.el (imenu-default-create-index-function): Remove useless
1517 infinite loop check. (Bug#13438)
1518
830e46e6 15192013-01-25 Alan Mackenzie <acm@muc.de>
267eacb5
AM
1520
1521 Fix a bug in the state cache mechanism. Refactor this a bit.
1522
1523 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1524 `cache-pos' element from the return value.
1525 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1526 buffer to enable proper searching from beyond HERE. Amend the
1527 test for detecting the sought brace pair. Amend the value written
1528 to the "brace desert cache" when the brace isn't found.
1529 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1530 and several other variables analogously.
1531 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1532 parameter to a locally calculated variable.
1533 (c-parse-state-1): Change the calling conventions to the two
1534 defuns involving `cache-pos'.
1535
830e46e6 15362013-01-25 Chong Yidong <cyd@gnu.org>
4d4ddaa7
CY
1537
1538 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1539
3d4147ba
BG
15402013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1541
1542 * paren.el (show-paren-function): Make sure to set 'priority and
1543 'face only if the overlay does exist.
1544
e1ffa412
MA
15452013-01-24 Michael Albinus <michael.albinus@gmx.de>
1546
1547 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1548
1549 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1550 basic attributes.
1551 (tramp-sh-handle-set-file-acl): Improve error checking.
1552
5ad86e34
DA
15532013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1554
1555 * doc-view.el (doc-view-display): Force mode line update until all
1556 document is converted. Suggested by Stefan Monnier (Bug#13164).
1557
d6f9c03f
BG
15582013-01-23 Bastien Guerry <bzg@gnu.org>
1559
1560 * paren.el (show-paren-function): Make sure an overlay exists
1561 before trying to delete it. Also use `pos' as a position only
1562 when it is an integer.
1563
3544e11a
DA
15642013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1565
1566 * play/gametree.el (gametree-break-line-here): Use point-marker.
1567
19b50424
MA
15682013-01-22 Michael Albinus <michael.albinus@gmx.de>
1569
b2dc4f52
SM
1570 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1571 Mark descriptive parts with `display' property.
19b50424 1572
7fd5a843
AM
15732013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1574
1575 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1576 New variable to map standard dict names to hunspell ones.
1577 (ispell-set-spellchecker-params): Make sure specific dict names
1578 are used for standard dicts with hunspell.
1579
e6aff855
TH
15802013-01-21 Tassilo Horn <tsdh@gnu.org>
1581
1582 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1583 chars for note (%N) and url (%U).
1584 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1585
c84b0881
JL
15862013-01-21 Juri Linkov <juri@jurta.org>
1587
1588 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1589 in addition to existing separate binding `meta f10' in `global-map'.
1590 (Bug#13484)
1591
a36e2d26
MA
15922013-01-21 Michael Albinus <michael.albinus@gmx.de>
1593
1594 Improve XEmacs compatibility.
1595
1596 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1597
1598 * net/tramp-adb.el (top): Require `time-date'.
1599 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
b2dc4f52
SM
1600 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1601 Use `tramp-file-name-handler'.
1602 (tramp-adb-maybe-open-connection):
1603 Use `tramp-compat-set-process-query-on-exit-flag'.
a36e2d26 1604
b2dc4f52
SM
1605 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1606 Use `tramp-compat-funcall'.
a36e2d26
MA
1607
1608 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1609 `tramp-compat-funcall'.
1610
88c7dfa3
JH
16112013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1612
1613 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1614 reimplementation using "adb shell command ..." instead of running
1615 remote shell interactively.
1616
15df6fa4
GM
16172013-01-20 Glenn Morris <rgm@gnu.org>
1618
a576cc76
GM
1619 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1620 Add native profiler menu entries.
1621
15df6fa4
GM
1622 * profiler.el (profiler-running-p): New function.
1623 (profiler-cpu-profile): Use profiler-running-p.
1624 (profiler-report-mode-map): Add some more menu entries.
1625
c4d1e0c3
GM
16262013-01-19 Glenn Morris <rgm@gnu.org>
1627
1628 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1629 fixes 2012-12-07 change. (Bug#13499)
1630
795e7a5b 16312013-01-19 Leo Liu <sdl.web@gmail.com>
2fc71e3c
LL
1632
1633 * dired.el (dired-get-marked-files): Prune erroneous values due to
1634 last change. (Bug#13152)
1635
795e7a5b 16362013-01-19 Glenn Morris <rgm@gnu.org>
19503d5a
GM
1637
1638 * progmodes/etags.el (tags-table-check-computed-list):
1639 Preserve point in tags buffer. (Bug#13412)
1640
f8a42ad6
GM
1641 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1642
20de6ab6
CW
16432013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1644 Chong Yidong <cyd@gnu.org>
1645
b2dc4f52
SM
1646 * image-mode.el (image-next-file, image-previous-file):
1647 New commands (Bug#8453).
20de6ab6
CW
1648 (image-mode-map): Bind them to n and p.
1649 (image-mode--images-in-directory): New helper function.
1650
2a43515a
CY
16512013-01-19 Chong Yidong <cyd@gnu.org>
1652
1653 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1654 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1655 save and restore the old window configuration.
1656
b1170947
LL
16572013-01-18 Leo Liu <sdl.web@gmail.com>
1658
1659 * progmodes/js.el: Tweak autoload cookie for alias.
1660
0eb87688
MA
16612013-01-17 Michael Albinus <michael.albinus@gmx.de>
1662
1663 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1664 buffer local, again. This was lost with the fix on 2013-01-12.
1665
99d36ea8
JH
16662013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1667
1668 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1669 order to support several eshell buffers in parallel.
1670
68a08a32
MA
16712013-01-17 Michael Albinus <michael.albinus@gmx.de>
1672
1673 * autorevert.el (auto-revert-use-notify): In the :set function, do
1674 not modify `kill-buffer-hook'.
b2dc4f52
SM
1675 (auto-revert-notify-rm-watch):
1676 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
68a08a32
MA
1677 (auto-revert-notify-add-watch): Do not call
1678 `auto-revert-notify-rm-watch', but add it to a buffer local
1679 `kill-buffer-hook'.
1680
e59eee43
SM
16812013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1682
1683 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1684 call to `eval' rather than a backquoted lambda.
1685
6e8cd0ae
SM
16862013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1687
cb9c0a53
SM
1688 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1689 to return an explicit nil.
1690 (advice--remove-function): Change accordingly.
1691
1692 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1693 the use of nadvice.el.
1694
6e8cd0ae
SM
1695 * progmodes/which-func.el (which-function): Silence imenu errors
1696 (bug#13433).
1697
4586ce8a
MM
16982013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1699
6e8cd0ae 1700 * progmodes/sql.el: (sql-imenu-generic-expression):
4586ce8a
MM
1701 (sql-mode-font-lock-object-name): Match schema qualified names.
1702 (sql-connect): Use string keys.
1703 (sql-product-interactive): Wait for interpreter prompt.
1704 (sql-comint-oracle): Set process coding based on NLS_LANG.
1705
9d55215c
MM
17062013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1707
1708 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
1709 (sql-interactive-remove-continuation-prompt):
1710 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 1711
57dd9e68
LL
17122013-01-14 Leo Liu <sdl.web@gmail.com>
1713
1714 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1715 (Bug#13420)
1716
51e73492
GM
17172013-01-14 Glenn Morris <rgm@gnu.org>
1718
1719 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1720 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1721
c0511b57 17222013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 1723
6e8cd0ae
SM
1724 * progmodes/python.el (python-nav-end-of-statement):
1725 Fix cornercase when handling multiline strings.
50620051 1726
4c0a6d4a
RS
17272013-01-13 Richard Stallman <rms@gnu.org>
1728
9f7e86ef
RS
1729 * mail/sendmail.el (mail-position-on-field): Add doc string.
1730
6e8cd0ae
SM
1731 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1732 Get current message boundaries and pass them to
4c0a6d4a
RS
1733 message-forward-make-body-mime. Minor style changes.
1734
ad33a799
EZ
17352013-01-13 Eli Zaretskii <eliz@gnu.org>
1736
1737 * cus-start.el (all): Avoid warnings about
6e8cd0ae 1738 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 1739
616763d5
JD
17402013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1741
1742 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1743
e5b5a34d
SM
17442013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1745
1746 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1747 (jit-lock--debug-fontifying): New var.
1748 (jit-lock--debug-fontify): New function.
1749 * subr.el (condition-case-unless-debug): Don't prevent catching the
1750 error, just let the debbugger run.
1751 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1752 timer code and don't drop errors silently.
1753
2daddd9e
MA
17542013-01-12 Michael Albinus <michael.albinus@gmx.de>
1755
1756 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1757 `permanent-local' property.
71c661e4 1758 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 1759
86fbb162
EZ
17602013-01-12 Eli Zaretskii <eliz@gnu.org>
1761
1762 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1763 file notification by ACTION. For filtering by file name, compare
1764 only the non-directory part of the file name.
1765
a0784609
SM
17662013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1767
96c421bb
SM
1768 * autorevert.el: Use cl-lib instead of cl.
1769
a0784609
SM
1770 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1771 (vc-bzr-checkin): Use it.
1772 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1773 will preserve match-data.
1774
f90ff906 17752013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 1776
f90ff906
FD
1777 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1778 (js--declaration-keyword-re): New var.
1779 (js--multi-line-declaration-indentation): New function.
1780 (js--proper-indentation): Use it.
9fc9a531 1781
f90ff906 17822013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 1783
f90ff906
FD
1784 * calc/calc.el (calc-highlight-selections-with-faces)
1785 (calc-dispatch):
1786 * comint.el (comint-history-isearch-message):
1787 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
1788 * ffap.el (ffap-string-at-point-region, ffap-next)
1789 (ffap-string-at-point, ffap-string-around)
1790 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 1791 (ffap-literally):
9fc9a531 1792 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
1793 (font-lock-removed-keywords-alist):
1794 * help-mode.el (help-xref-symbol-regexp):
1795 * info.el (Info-find-emacs-command-nodes):
1796 * international/mule.el (add-to-coding-system-list):
1797 * isearch.el (isearch-message-function, isearch-fail-pos):
1798 * misearch.el (multi-isearch-next-buffer-function):
1799 * newcomment.el (comment-box):
9fc9a531 1800 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 1801 (pr-setting-database):
9fc9a531
AH
1802 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1803 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1804 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
1805 (pike-font-lock-keywords-3):
1806 * progmodes/compile.el (compile):
9fc9a531 1807 * progmodes/etags.el (tags-table-files)
f90ff906 1808 (tags-table-files-function, tags-included-tables-function):
9fc9a531 1809 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 1810 (gdb-restore-windows):
9fc9a531 1811 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
1812 (ps-n-up-filling-database):
1813 * server.el (server-buffer, server-log):
9fc9a531
AH
1814 * simple.el (newline, delete-backward-char, delete-forward-char)
1815 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 1816 (temporary-goal-column):
9fc9a531 1817 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
1818 (flyspell-default-deplacement-commands):
1819 * textmodes/ispell.el (ispell-accept-output):
1820 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 1821 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
1822 (compare-ignore-case, compare-windows-dehighlight):
1823 * vc/diff.el (diff):
9fc9a531
AH
1824 * whitespace.el (whitespace-point)
1825 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 1826 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 1827
65adfa20
MA
18282013-01-11 Michael Albinus <michael.albinus@gmx.de>
1829
1830 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1831 (auto-revert-notify-rm-watch): Ignore errors.
1832 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
1833 inotify, and '(size last-write-time) for w32notify.
1834 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
1835 watch fails - this is a fallback to the file modification check.
1836 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1837 (auto-revert-notify-event-action)
1838 (auto-revert-notify-event-file-name): New defuns.
1839 (auto-revert-notify-handler): Use them. Implement first
1840 plausibility checks.
1841 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1842
43b2e2e7
JD
18432013-01-11 Julien Danjou <julien@danjou.info>
1844
1845 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1846 max are almost equal. Also return the correct value for V which is
1847 already between 0 and 1.
1848
30818a23
DA
18492013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1850
1851 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1852
10e714d5
EZ
18532013-01-11 Eli Zaretskii <eliz@gnu.org>
1854
1855 * autorevert.el (auto-revert-notify-rm-watch)
1856 (auto-revert-notify-add-watch): Fix typos in w32notify function
1857 names.
1858
a778dd57
MA
18592013-01-10 Michael Albinus <michael.albinus@gmx.de>
1860
1861 * autorevert.el (auto-revert-notify-enabled): Move up.
1862 (auto-revert-use-notify): New defcustom.
1863 (auto-revert-mode, global-auto-revert-mode)
1864 (auto-revert-notify-add-watch, auto-revert-handler)
1865 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1866 `auto-revert-notify-enabled'.
1867
72781fef
EP
18682013-01-10 Elias Pipping <pipping@exherbo.org>
1869
1870 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1871 * doc-view.el (doc-view-document->bitmap):
1872 Use doc-view-single-page-converter-function instead of
1873 single-page-converter arg; adjust callers.
1874
e6ed8f08
FL
18752013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1876
1877 * progmodes/which-func.el (which-function): Understand Semantic's use
1878 of overlays in imenu--index-alist.
1879
327a6cca
WJ
18802013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1881
1882 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1883 (Man-man-k-use-anchor): New var.
1884 (Man-parse-man-k): New function.
1885 (Man-completion-table): Use it.
1886 (man): Flush the completion cache between uses.
1887
ed911257
MA
18882013-01-10 Michael Albinus <michael.albinus@gmx.de>
1889
1890 * autorevert.el: Add file watch support.
1891 (auto-revert-notify-enabled): New defconst.
1892 (auto-revert-notify-watch-descriptor-hash-list)
1893 (auto-revert-notify-watch-descriptor)
1894 (auto-revert-notify-modified-p): New defvars.
1895 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1896 (auto-revert-notify-handler): New defuns.
1897 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1898 when mode is disabled.
1899 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1900 (auto-revert-buffers): Add file watches for active buffers.
1901
58cc0a01
DA
19022013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1903
1904 * cus-start.el (toplevel): Only allow float values for
1905 scroll-up-aggressively and scroll-down-aggressively.
1906 Allow any number for line-spacing.
1907
bbc7ff25
SM
19082013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1909
1910 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1911 (doc-view-pdf->png-converter-function): Use mupdf if available.
1912 (doc-view-djvu->png-converter-function)
1913 (doc-view-ps->png-converter-function): Remove.
1914 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1915 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1916 (doc-view-already-converted-p): Adjust accordingly.
1917 (doc-view-mode-p): Simplify.
1918 (doc-view-enlarge): Use setq-local.
1919 (doc-view-pdf->png-converter-ghostscript)
1920 (doc-view-djvu->png-converter-ddjvu)
1921 (doc-view-pdf->png-converter-mupdf): Rework to call
1922 doc-view-start-process directly.
1923 (doc-view-pdf/ps->png): Simplify accordingly.
1924 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1925 (doc-view-document->bitmap): Rename from doc-view-document->png.
1926 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1927 (doc-view-set-slice-from-bounding-box): Fix completion table.
1928 (doc-view-mode): Use add-hook for after-revert-hook.
1929
3c855b96
GM
19302013-01-10 Glenn Morris <rgm@gnu.org>
1931
1932 * emacs-lisp/authors.el (authors-ignored-files)
1933 (authors-valid-file-names, authors-renamed-files-alist):
1934 Add some more entries.
1935
3f9549e8 19362013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
1937
1938 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1939 `t' pseudo-window entry.
1940
3f9549e8 19412013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
1942
1943 Fix bugs in the c-parse-state mechanism. Reuse some markers
1944 instead of continually generating new ones.
1945
1946 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1947 (c-state-old-cpp-end-marker): New variables.
1948 (c-append-lower-brace-pair-to-state-cache): Start a backward
1949 search for "}" definitively outside CPP constructs.
1950 (c-remove-stale-state-cache): Inform the caller of a need to
1951 search back for a brace pair in certain circumstances.
1952 (c-state-maybe-marker): New macro.
1953 (c-parse-state): Reuse markers when appropriate.
1954
3f9549e8 19552013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
1956
1957 * simple.el (execute-extended-command): Doc fix.
1958 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1959
3f9549e8 19602013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
1961
1962 * faces.el (read-face-name): Doc fix.
1963
b14abca9
RW
19642013-01-10 Roland Winkler <winkler@gnu.org>
1965
1966 * emacs-lisp/crm.el: Allow any regexp for separators.
1967 (crm-default-separator): All spaces around the default comma separator.
1968 (crm--completion-command): New macro.
1969 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1970 (crm-complete-and-exit): Handle non-single-char separators.
1971
2b541f9a
EP
19722013-01-09 Elias Pipping <pipping@lavabit.com>
1973
1974 * doc-view.el: Add support for DjVu (bug#13164).
1975 (doc-view-djvu->png-converter-function): New config var.
1976 (doc-view-single-page-converter-function, doc-view--image-type)
1977 (doc-view--image-file-extension): New vars.
1978 (doc-view-mode): Initialize them.
1979 (doc-view-goto-page): Use them.
1980 (doc-view-mode-p): Add support for ddjvu.
1981 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1982 (doc-view-set-up-single-converter): New funs.
1983 (doc-view-pdf/ps->png): Extend for djvu.
1984 (doc-view-document->png): Rename from doc-view-pdf->png.
1985 (doc-view-convert-current-doc): Handle djvu.
1986 (doc-view-insert-image, doc-view-display)
1987 (doc-view-already-converted-p): Don't hardcode png.
1988 (doc-view-set-doc-type): Recognize djvu docs.
1989
85f17e35
EP
19902013-01-09 Elias Pipping <pipping@lavabit.com>
1991
1992 * doc-view.el: Add support for mupdf converter (bug#13164).
1993 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1994 (doc-view-ps->png-converter-function): New config vars.
1995 (doc-view-pdf->png-converter-ghostscript)
1996 (doc-view-ps->png-converter-ghostscript)
1997 (doc-view-pdf->png-converter-mupdf): New functions.
1998 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1999
ccd04887
MA
20002013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2001
2002 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2003 first in session cache: When `tramp-own-remote-path' is in
2004 `tramp-remote-path', the remote path is only set in the session
2005 cache.
2006
c5ad92de
GM
20072013-01-09 Glenn Morris <rgm@gnu.org>
2008
fb9f7146
GM
2009 * emacs-lisp/trace.el (trace-function-foreground)
2010 (trace-function-background): Doc fix.
c5ad92de 2011
39a0786e
JL
20122013-01-09 Juri Linkov <juri@jurta.org>
2013
2014 * international/mule-cmds.el (read-char-by-name): Move let-binding
2015 of completion-ignore-case around completing-read to fix regression
2016 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2017 `string-match-p' using the nil value of `case-fold-search' and
2018 `completion-ignore-case' in `completion-pcm--all-completions'.
2019 (Bug#12615).
2020
fb9f7146 20212013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
2022
2023 * progmodes/compile.el (compilation-parse-errors):
2024 Fix typo. (Bug#13369)
2025
fb9f7146 20262013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
2027
2028 * comint.el (comint-send-input): Check size of buffer before
2029 waiting for process output, in case already accepted. (Bug#13290)
2030
677d5c92
PE
20312013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2032
2033 Spelling fixes.
2034 * net/tramp-adb.el (tramp-adb-get-toolbox):
2035 Fix misspelling of 'unknown'.
2036
073ca75b
JL
20372013-01-08 Juri Linkov <juri@jurta.org>
2038
2039 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2040 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2041 Use underline style wave on terminals that support it. (Bug#13000)
2042
a4648137
SM
20432013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2044
4bdc3526
SM
2045 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2046 the predicate returns nil.
2047
a4648137
SM
2048 * simple.el: Use lexical-binding.
2049 (primitive-undo): Use pcase.
2050 (minibuffer-history-isearch-push-state): Use a closure.
2051
3bace969
AH
20522013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2053
2054 * simple.el (primitive-undo): Move from undo.c.
2055
a731fc1b
SM
20562013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2057
1c851e98
SM
2058 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2059 (cvs-mode-remove-handled): Use it (bug#13380).
2060
a731fc1b
SM
2061 * emacs-lisp/nadvice.el (advice--tweak): New function.
2062 (advice--remove-function, advice--subst-main): Use it.
2063
2064 * emacs-lisp/advice.el: Update commentary.
2065
2a22c83b
MA
20662013-01-08 Michael Albinus <michael.albinus@gmx.de>
2067
a731fc1b
SM
2068 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2069 Remove spurious entry.
2a22c83b 2070
83c1803a
GM
20712013-01-08 Glenn Morris <rgm@gnu.org>
2072
2073 * net/tramp.el (tramp-default-host-alist): Add :version.
2074
8a2e287c
JL
20752013-01-08 Juri Linkov <juri@jurta.org>
2076
2077 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2078 single completion. (Bug#12456)
2079 (info--manual-names): Expand node completions into an explicit list
2080 before appending it to another list. Filter out internal buffers
2081 with the leading space in the buffer name. (Bug#10771)
2082
c6a22ce2
JL
20832013-01-08 Juri Linkov <juri@jurta.org>
2084
2085 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2086 that defaults to the Top node.
2087 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2088 the short format (FILENAME) goes to the Top node.
2089 (Info-build-node-completions): Rename arg `file' to `filename'.
2090 (Bug#13365)
2091
acfe10b7
BG
20922013-01-07 Bastien Guerry <bzg@gnu.org>
2093
a731fc1b
SM
2094 * menu-bar.el (menu-bar-search-documentation-menu):
2095 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
2096
20972013-01-07 Bastien Guerry <bzg@gnu.org>
2098
2099 * apropos.el (apropos-do-all): Update docstring.
2100 (apropos-user-option-button): New face.
2101 (apropos-user-option): Rename from `apropos-variable' and update
2102 docstring.
2103 (apropos-variable): Rewrite, now show all variables by default.
2104 (apropos-print): Mention "User option" instead of "Variable" when
2105 printing doc for user options. (Bug#13276)
2106
62bcf670
JH
21072013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2108
2109 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2110 Handle filename correctly, when parsing "source -> target" symlink
2111 output.
2112 (tramp-adb-handle-set-file-times): New defun.
2113
4986fa21
SM
21142013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2115
2116 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2117 advice list when the interactive-spec of ad-Advice-* changes.
2118
3bee311e
KY
21192013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2120
2121 * wid-edit.el (widget-default-get): Work for inlined elements.
2122 (Bug#12670)
2123
b49eebcc
MA
21242013-01-07 Michael Albinus <michael.albinus@gmx.de>
2125
2126 * net/tramp.el (tramp-default-host-alist): New defcustom.
2127 (tramp-find-host): Use it.
4986fa21 2128 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
2129 `eshell-directory-change-hook'.
2130
2131 * net/tramp-adb.el (top): Add adb specific entry in
2132 `tramp-default-host-alist'.
2133 (tramp-adb-file-name-host): Remove function.
2134 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2135 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2136
3bee311e 2137 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 2138
84f6744a
JH
21392013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2140
2141 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2142
b6cfbcd0
MA
21432013-01-06 Michael Albinus <michael.albinus@gmx.de>
2144
2145 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 2146 consist of more than one digit.
4986fa21
SM
2147 (tramp-adb-file-name-handler-alist):
2148 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
2149 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2150 (tramp-adb-handle-file-exists-p): Remove function.
2151 (tramp-adb-file-name-host): New defun.
2152 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2153 Use it.
2154 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2155
58ba7b1b
CY
21562013-01-06 Chong Yidong <cyd@gnu.org>
2157
2158 * vc/vc.el (vc-next-action): Detect buffer modifications
2159 conflicting with locking VCS operation (Bug#11490).
2160
2161 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2162
f4566fe9
MA
21632013-01-05 Michael Albinus <michael.albinus@gmx.de>
2164
2165 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2166 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2167
838cf298
MA
21682013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2169
2170 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2171 parsing of ls output using regular expression (handle filenames
2172 with spaces). Use virtual device number.
2173 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2174 cleanup).
2175
1bd71e9f
DU
21762013-01-04 Daiki Ueno <ueno@gnu.org>
2177
2178 * epg.el: Silence byte-compiler warnings.
2179 (epg--start): Use delete-char instead of delete-backward-char.
2180 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2181
00cd4c1c
DU
21822013-01-04 Daiki Ueno <ueno@gnu.org>
2183
2184 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2185 Suggested by Eli Zaretskii <eliz@gnu.org>.
2186
f99ced35
MA
21872013-01-04 Michael Albinus <michael.albinus@gmx.de>
2188
2189 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2190 non-negative integers. Otherwise, the default values are used.
2191 (tramp-convert-file-attributes): Convert uid and gid to integers.
2192
0f668a4d 21932013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 2194
d2be4dcc
GM
2195 * term.el (term-handle-colors-array): Ensure face attributes
2196 are fully specified, not nil. (Bug#13337)
2197
5b00b749
GM
2198 * term.el (term-default-fg-color, term-default-bg-color):
2199 Fix custom type.
2200
220740a3
GM
2201 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2202 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2203 rather than 'jka-compr being loaded. (Bug#13338)
2204
bdd9367d
WD
22052013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2206
2207 * icomplete.el (icomplete-completions):
2208 Honor icomplete-prospects-height once more following
2209 2012-11-29 changes. (Bug#13224)
2210
96dd18b1
SM
22112013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2212
c0bd248c
SM
2213 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2214 of called-interactively-p as well (bug#13237).
2215
4a74c818
SM
2216 * view.el (view--enable, view--disable): Rename from view-mode-enable
2217 and view-mode-disable and assume it's called from view-mode.
2218 (view-mode-enable, view-mode-disable): Redefine as obsolete
2219 compatibility layer above view-mode.
2220 (view-mode-enter): Call `view-mode'.
2221
2222 * files.el (after-find-file): Call `view-mode'.
2223
96dd18b1
SM
2224 * doc-view.el (doc-view-scale-internally): New var.
2225 (doc-view-enlarge, doc-view-insert-image): Obey it.
2226
c2cf1829
DU
22272013-01-03 Daiki Ueno <ueno@gnu.org>
2228
2229 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2230 exist. (Bug#13344)
2231
ad235a8b
GM
22322013-01-03 Glenn Morris <rgm@gnu.org>
2233
a8aa6c2d
GM
2234 * mail/rmail.el (rmail-set-header-1): Ignore case.
2235 Handle multi-line headers. (Bug#13330)
2236
a6d6c20b
GM
2237 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2238 Handle paragraph starting at beginning of buffer.
2239
ed5bdeb9
GM
2240 * subr.el (eval-after-load): Don't purecopy the form, so that it
2241 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2242
ad235a8b
GM
2243 * emacs-lisp/byte-run.el (defun): Place cl declarations
2244 after any interactive spec. (Bug#13265)
2245
9539d465 22462013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
2247
2248 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2249 defun. Don't check for DECL if DOCSTRING isn't a string.
2250 (defun): Likewise.
2251
9539d465 22522013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 2253
5ee1772e
GM
2254 * eshell/em-cmpl.el (eshell-pcomplete):
2255 More thoroughly imitate pcomplete. (Bug#13293)
2256
4cddca30
GM
2257 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2258 Return nil for empty path elements. (Bug#13296)
2259
9539d465 22602013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
2261
2262 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2263 order to improve efficiency (Based on Daniel Colascione's
2264 <dancol@dancol.org> patch). (Bug#13182)
2265
9539d465 22662013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
2267
2268 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2269
9539d465 22702013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
2271
2272 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2273 neither DOCSTRING nor DECL was given. (Bug#13316)
2274
aca3d51d
MA
22752013-01-02 Michael Albinus <michael.albinus@gmx.de>
2276
2277 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2278 `error' call.
2279 (tramp-do-copy-or-rename-file): Ignore errors when calling
2280 `set-file-extended-attributes'.
2281
4986fa21
SM
2282 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2283 Add handler for `file-acl'.
aca3d51d
MA
2284 (tramp-smb-handle-file-acl): New defun.
2285
87e65f96
JB
22862013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2287
2288 * calc/README: Mention ISO 8601 week-numbering dates.
2289
0aac98ac
MR
22902013-01-01 Martin Rudalics <rudalics@gmx.at>
2291
2292 * view.el (view-mode-enable): New argument run-view-mode-hook.
2293 Run view-mode-hook only when it's non-nil (Bug#13315).
2294 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2295 argument t.
2296
1a82330c
JH
22972012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2298
2299 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2300 (No device connected, invalid device name). (Bug #13299)
2301
27fcfe31
MR
23022012-12-31 Martin Rudalics <rudalics@gmx.at>
2303
2304 * window.el (window-resizable--p): Rename to window-resizable-p.
2305 (window-resize-no-error): New function.
2306
2307 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2308 broken in fix from 2012-12-28.
2309
96c052a5
SM
23102012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2311
2312 * subr.el (special-form-p): Don't signal errors on undef aliases.
2313
fd1f1603
JB
23142012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2315
2316 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
2317 `math-parse-iso-date' when it looks like it might be needed.
2318 Allow times of 24:00.
fd1f1603
JB
2319 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2320 of 24:00.
2321
8db39aeb
GM
23222012-12-30 Glenn Morris <rgm@gnu.org>
2323
2324 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2325 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2326 (rmail-summary-displayed, rmail-summary): Declare.
2327 (mairix-rmail-display): Just require rmail.
2328
d5e5e7b4 23292012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
2330
2331 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2332 check for the tarball contents.
2333
d5e5e7b4 23342012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
2335
2336 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2337 tarfile content listings (Bug#13136).
2338
d5e5e7b4 23392012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 2340
96c052a5
SM
2341 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2342 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 2343
4f752957
MA
23442012-12-30 Michael Albinus <michael.albinus@gmx.de>
2345
3ee24a3b
MA
2346 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2347 integers, if they are real numbers. (Bug#13282)
2348
4f752957
MA
2349 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2350 Return `t' on success.
2351
96c052a5
SM
2352 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2353 Add handler for `set-file-selinux-context'.
4f752957 2354
eff2eb58
MA
23552012-12-29 Michael Albinus <michael.albinus@gmx.de>
2356
2357 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2358 (tramp-sh-handle-set-file-acl): Return `t' on success.
2359
ccad023b
EZ
23602012-12-29 Eli Zaretskii <eliz@gnu.org>
2361
96c052a5
SM
2362 * files.el (backup-buffer-copy, basic-save-buffer-2):
2363 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 2364 instead of signaling an error. (Bug#13298)
7e56b103 2365 (basic-save-buffer): Likewise.
ccad023b 2366
ccb1c17e
FEG
23672012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2368
2369 * progmodes/python.el: Support other commands triggering
2370 python-indent-line so indentation cycling continues to work.
2371 (python-indent-trigger-commands): New defcustom.
2372 (python-indent-line): Use it.
2373
16768034
FEG
23742012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2375
2376 * progmodes/python.el (python-shell-send-region): Add blank lines
2377 for non sent code so backtraces remain correct.
2378
66164d2f
FEG
23792012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2380
2381 * progmodes/python.el: Remove cl dependency.
2382 (python-syntax-count-quotes): Replace incf call.
2383 (python-fill-string): Replace setf call.
2384
761231d1
DC
23852012-12-29 Damien Cassou <damien.cassou@gmail.com>
2386
43ebd12b 2387 * info.el (info-other-window): New arg, for consistency with info.
761231d1 2388
7c3e220a
MR
23892012-12-28 Martin Rudalics <rudalics@gmx.at>
2390
96c052a5
SM
2391 * mail/rmail.el (rmail-maybe-display-summary):
2392 Rewrite (Bug#13066).
7c3e220a 2393
361828b5
AS
23942012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2395
2396 * epg.el (epg--start): Modify process-environment locally.
2397
23bd348c
DU
23982012-12-28 Daiki Ueno <ueno@gnu.org>
2399
2400 * epg.el: Support pinentry-curses.
2401 Suggested by Werner Koch in
2402 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2403 (epg-agent-file, epg-agent-mtime): New variable.
2404 (epg--start): Record the modified time of gpg-agent socket file,
2405 to restore Emacs frame after pinentry-curses termination.
2406 (epg-wait-for-completion): Restore Emacs frame here.
2407
313f39aa
JL
24082012-12-27 Juri Linkov <juri@jurta.org>
2409
2410 * info.el (Info-file-completions): New variable.
2411 (Info-read-node-name-1): Complete node names in the Info file
2412 when a file name is given. Call `Info-build-node-completions'
2413 with a file name.
2414 (Info-build-node-completions): Add new arg `file'. When it is
2415 non-nil, visit it in a temporary buffer and cache its completions in
2416 `Info-current-file-completions'. Move most of the function body to
2417 `Info-build-node-completions-1'.
2418 (Info-build-node-completions-1): New function with the body from
2419 `Info-build-node-completions'. (Bug#12456)
2420
a45b7647
JL
24212012-12-27 Juri Linkov <juri@jurta.org>
2422
2423 * frame.el (frame-maximization-style): Remove user option.
2424 (cycle-frame-maximized): Remove function.
2425 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2426 (toggle-frame-fullscreen): New command bound to <f11> instead of
2427 `toggle-frame-maximized'.
2428 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2429
10ffd0be
MA
24302012-12-27 Michael Albinus <michael.albinus@gmx.de>
2431
2432 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2433
2434 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2435 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2436 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2437 for `file-accessible-directory-p'. (Bug#13275)
2438
fd146719
SS
24392012-12-27 Sam Steingold <sds@gnu.org>
2440
2441 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2442 continuations, see <http://stackoverflow.com/questions/3582436>.
2443
82e2a1f0 24442012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
2445
2446 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
2447 "module" and "def" to have indentation before them.
2448 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 2449
ea0857a1
DG
2450 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2451
82e2a1f0 24522012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
2453
2454 Speed up fontification where there's large brace blocks.
2455 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2456 to a call of c-beginning-of-decl-1.
2457
c34339f3
VS
24582012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2459
2460 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
2461 (comint-postoutput-scroll-to-bottom):
2462 Call comint-adjust-window-point (Bug#13248).
c34339f3 2463
78269b95
DG
24642012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2465
2466 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2467 Rakefile regexp.
2468 (auto-mode-alist): Associate .gemspec files with ruby-mode
2469 (https://bugs.ruby-lang.org/issues/5453).
2470
bd8c13f9
JH
24712012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2472
96c052a5
SM
2473 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2474 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 2475 CyanogenMod).
bd8c13f9
JH
2476 (tramp-adb-handle-file-attributes)
2477 (tramp-adb-handle-insert-directory)
2478 (tramp-adb-handle-file-name-all-completions): Use it.
2479 (tramp-adb-get-toolbox): New defun. Check for remote shell
2480 implementation (BusyBox or Toolbox).
2481
dc646358
CK
24822012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2483
2484 * startup.el (initial-buffer-choice): Allow function as value
2485 (Bug#13251).
2486 (command-line-1): Handle case where initial-buffer-choice
2487 specifies a function.
2488 * server.el (server-execute): Handle case where
2489 initial-buffer-choice specifies a function.
2490
e7d52a4d
LI
24912012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2492
2493 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2494 its own function.
2495 (smtpmail-try-auth-methods): Forget the user name/password if the
2496 login is unsuccessful (bug#12424).
2497
cdb07539
MA
24982012-12-22 Michael Albinus <michael.albinus@gmx.de>
2499
1ef5f225
MA
2500 * notifications.el (notifications-notify): Protect body with
2501 `with-demoted-errors'.
2502
96c052a5
SM
2503 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2504 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
2505 change.
2506
594f37aa
CY
25072012-12-21 Chong Yidong <cyd@gnu.org>
2508
2509 * sort.el (sort-subr): Doc fix (Bug#13056).
2510
a4b0cca1 25112012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 2512
acc650b8
BG
2513 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2514
0e9c7693
MA
25152012-12-21 Michael Albinus <michael.albinus@gmx.de>
2516
2517 * simple.el (process-file): Overwrite stderr file, if exists.
2518
c6609164
DU
25192012-12-21 Daiki Ueno <ueno@gnu.org>
2520
2521 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 2522 (epg-error): Set `error-message' property.
c6609164 2523
aa26f345
CY
25242012-12-21 Chong Yidong <cyd@gnu.org>
2525
34b4b7eb
CY
2526 * international/mule-cmds.el (read-char-by-name): Signal an error
2527 if the user does not supply a valid character (Bug#13177).
2528
aa26f345
CY
2529 * simple.el (transpose-subr-1): Preserve marker positions by
2530 changing the insertion sequence (Bug#13122).
2531
05c22d87
KD
25322012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2533
2534 * simple.el (kill-region): Deactivate mark even for empty regions
2535 (Bug#13169).
2536
f5733f87
CY
25372012-12-21 Chong Yidong <cyd@gnu.org>
2538
2539 * help-fns.el (describe-variable): Make sure we get the right
2540 buffer name (Bug#13105). Suggested by Kelly Dean.
2541
fab6916d
MM
25422012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2543
2544 * comint.el (comint-redirect-previous-input-string): New variable.
2545 (comint-redirect-setup, comint-redirect-cleanup)
2546 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2547 (comint-redirect-preoutput-filter): Fix verbose message.
2548
91b982a0
MA
25492012-12-20 Michael Albinus <michael.albinus@gmx.de>
2550
2551 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2552 is too long for Tramp. See discussion in
2553 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2554
2555 * progmodes/compile.el (compilation-start): Remove line escape
2556 template.
2557
87523aed
DA
25582012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2559
2560 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2561 Adjust comment.
2562
ee3c0aec
JB
25632012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2564
2565 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2566 following non-comment text (bug#13207).
2567 (lm-header-multiline): Continuation lines need to be indented more than
2568 the first line.
2569 (lm-homepage): New function.
2570 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 2571
4a74c818
SM
25722012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2573
f4d79bd0
SM
2574 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2575 very beginning of a hunk (e.g. killing the first line).
2576
3c532af6
MA
25772012-12-19 Michael Albinus <michael.albinus@gmx.de>
2578
2579 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2580 and text properties from returned ACL string.
2581 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2582 for "setfacl" command.
2583
e0d01ef3
MA
25842012-12-18 Michael Albinus <michael.albinus@gmx.de>
2585
2586 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2587 `tramp-cleanup-this-connection', when the process has died.
2588 (Bug#13151)
2589
2387610d
SM
25902012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2591
2592 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2593
19156242
KR
25942012-12-17 Kevin Ryde <user42@zip.com.au>
2595
2596 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2597
53b6a8b1
MA
25982012-12-17 Michael Albinus <michael.albinus@gmx.de>
2599
2600 Add support for preserving ACL entries of files.
2601
2602 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2603 `set-file-acl' handlers.
2604
19156242
KR
2605 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2606 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 2607
19156242
KR
2608 * net/tramp-compat.el (tramp-compat-copy-file):
2609 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 2610
19156242
KR
2611 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2612 Add `file-acl' and `set-file-acl' handlers.
2613 (tramp-gvfs-handle-copy-file):
2614 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2615 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2616 New defuns.
53b6a8b1 2617
19156242
KR
2618 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2619 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
2620 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2621 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
2622 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2623 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 2624
19156242
KR
2625 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2626 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
2627 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2628
6ae57a67
KD
26292012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2630
2631 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 2632 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
2633 *Metahelp* with a leading space (Bug#13190).
2634
7c3d167f
RF
26352012-12-16 Romain Francoise <romain@orebokech.com>
2636
2637 * files.el (file-extended-attributes)
2638 (set-file-extended-attributes): New functions.
2639 (backup-buffer): Use them to handle both SELinux context and ACL
2640 entries.
2641 (backup-buffer-copy): Work with an alist of extended attributes,
2642 rather than an SELinux context.
2643 (basic-save-buffer-2): Ditto.
2644
19b748ad
TM
26452012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2646
2647 * battery.el (battery-bsd-apm): New function.
2648
70042c64
JB
26492012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2650
2651 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2652 standard date formats.
2653
279f9b06
JL
26542012-12-15 Juri Linkov <juri@jurta.org>
2655
2656 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2657 `isearch-insert-char-by-name'.
2658 (with-isearch-suspended): New defmacro with body mostly from
2659 `isearch-edit-string' except the part that sets
2660 `isearch-new-string' and `isearch-new-message'.
2661 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2662 body that sets `isearch-new-string' and `isearch-new-message'.
2663 (isearch-insert-char-by-name): New command.
2664 * international/mule-cmds.el (read-char-by-name): Let-bind
2665 `enable-recursive-minibuffers' to t.
2666 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2667
8370def5
JL
26682012-12-15 Juri Linkov <juri@jurta.org>
2669
2670 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2671 (Bug#13175)
2672
178fb95d
CS
26732012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2674
2675 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2676 the prompt. (Bug#13045)
2677
a5f74442
GM
26782012-12-14 Glenn Morris <rgm@gnu.org>
2679
2680 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2681 Try to include filename in non-bytecomp warning. (Bug#13132)
2682
97976f9f
PE
26832012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2684
2685 Fix permissions bugs with setgid directories etc. (Bug#13125)
2686 * files.el (backup-buffer): Don't rely on 9th output of
2687 file-attributes, as it's now a placeholder. Instead, use the new
2688 optional arg of file-ownership-preserved-p.
2689 (file-ownership-preserved-p): New optional arg GROUP.
2690 Fix mishandling of setuid directories that would cause this
2691 function to return t when it should have returned nil.
2692 Document what happens if the file does not exist, and when
2693 it's not known whether the ownership will be preserved.
2694 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2695 Likewise.
2696 (tramp-get-local-gid): Use group-gid for integer, as that's
2697 faster and more reliable.
2698
016b2a42
JD
26992012-12-14 Julien Danjou <julien@danjou.info>
2700
19156242
KR
2701 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2702 Update keywords list, data type and PL/pgSQL.
016b2a42 2703
665e5e07
DA
27042012-12-14 Dave Abrahams <dave@boostpro.com>
2705
2706 * vc/ediff-util.el (ediff-buffer-type): New function.
2707 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2708 rather than taking it as as argument.
2709 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2710
d72e9e92
RC
27112012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2712
2713 * json.el: Add pretty-print option (bug#12634).
2714 (json-encoding-separator, json-encoding-default-indentation)
2715 (json--encoding-current-indentation, json-encoding-pretty-print)
2716 (json-encoding-lisp-style-closings): New vars.
2717 (json--with-indentation): New macro.
2718 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2719 (json-encode-array): Use it to obey json-encoding-pretty-print.
2720 (json-pretty-print-buffer, json-pretty-print): New commands.
2721
dbb530d9
DG
27222012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2723
2724 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2725 Extract `ruby-syntax-propertize-expansions'.
2726 (ruby-syntax-propertize-expansions): Only change syntax on
2727 certain string delimiters, to punctuation. This way the common
2728 functions like forward-word and thing-at-point still work.
2729 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
2730 (ruby-block-contains-point): New function.
2731 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 2732
ce0440ff
JB
27332012-12-13 Juanma Barranquero <lekktu@gmail.com>
2734
2735 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2736 unload-feature finishes even when aborting an ongoing edebug session.
2737 Also, do not worry about edebug-mode, unload-feature takes care of it.
2738
f10331bf
AS
27392012-12-13 Andreas Schwab <schwab@suse.de>
2740
2741 * net/tls.el (tls-program): Update customize type.
2742
5f3a3bb1
JB
27432012-12-13 Juanma Barranquero <lekktu@gmail.com>
2744
2745 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2746 (edebug-setup-hook, cl-read-load-hooks): Use it.
2747 (edebug-unload-function): New function. (Bug#13163)
2748
6ce21463
MA
27492012-12-13 Michael Albinus <michael.albinus@gmx.de>
2750
2751 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2752 Otherwise, there could be errors in autoloading. (Bug#13151)
2753
d754b364
JH
27542012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2755
2756 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2757 sequences.
2758
727f9739 27592012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
2760
2761 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2762 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2763 around `forward-comment' not recognizing ^M as whitespace.
2764
727f9739 27652012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
2766
2767 * progmodes/python.el (python-skeleton-class)
2768 (python-skeleton-def): Do not add space after defun name.
2769
eb8006c6
SM
27702012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2771
2772 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2773 (cl--symbol-function): Remove (now that funbound is like nil).
2774
4c74b1e4
GM
27752012-12-12 Glenn Morris <rgm@gnu.org>
2776
2777 * button.el (button--area-button-p): Fix typo.
2778
37f38bca
SS
27792012-12-12 Sam Steingold <sds@gnu.org>
2780
2781 * frame.el (frame-maximization-style): New user option.
2782 (toggle-frame-maximized): Toggle frame maximization according to
2783 `frame-maximization-style', bound to <f11>.
2784 (cycle-frame-maximized): Cycle between all maximization styles and
2785 non-maximized frame, bound to shift-<f11>.
2786
fd49a218
DC
27872012-12-12 David Cadé <codename68@gmail.com>
2788
2789 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2790
69e1c203
JB
27912012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2792
2793 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2794 (eieio-override-prin1): Don't quote kewords and booleans.
2795 (object-write) <eieio-default-superclass>: Don't put closing parens
2796 on new line, avoid needless empty lines, align values that are objects
2797 with the slot keyword (instead of beginning on the same line).
2798 (eieio-list-prin1): Align value with slot keyword; increase
2799 eieio-print-depth before printing members of the list.
2800
4b0df848
SM
28012012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2802
030f4af5
SM
2803 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2804 a display text-property.
2805 (report-emacs-bug-hook): Don't bother deleting it any more.
2806
6ac1f8ca
SM
2807 * hilit-chg.el (highlight-save-buffer-state): Delete.
2808 Use with-silent-modifications instead.
2809 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2810
4b0df848
SM
2811 * button.el: Handle buttons in display text-properties.
2812 (button--area-button-p, button--area-button-string):
2813 Use (STRING . STRING-POS) representation instead of just STRING.
2814
d46d2d3a
EZ
28152012-12-11 Eli Zaretskii <eliz@gnu.org>
2816
2817 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2818 subdirectory be skipped.
2819
a0099d31
GM
28202012-12-11 Glenn Morris <rgm@gnu.org>
2821
36327e4f
GM
2822 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2823
a0099d31
GM
2824 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2825 Treat preprocessor lines embedded in continuations like comments.
2826 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2827
ff3f6c26
JB
28282012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2829
2830 * calc/calc.el (calc-standard-date-formats): Add more date
2831 formats.
2832 * calc/calc-forms.el (math-parse-iso-date): New function.
2833 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2834 (math-parse-iso-date-validate): Add extra error checking.
2835 (calc-date-notation): Add ability to access new date formats.
2836
ed6f2cd4
SM
28372012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2838
2839 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2840 font-lock as well as when there's no text-property.
2841
c868b919
J
28422012-12-10 Jambunathan K <kjambunathan@gmail.com>
2843
2844 * hi-lock.el: Refine the choice of default face.
2845 (hi-lock-keyword->face): New function. Use it wherever we used
2846 cadadadr instead.
2847 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2848 (hi-lock--last-face): Remove var.
2849 (hi-lock--unused-faces): New var to replace it.
2850 (hi-lock-read-face-name): Use/maintain it.
2851 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2852 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2853 if it has another face.
2854
2b8c9064
EZ
28552012-12-10 Eli Zaretskii <eliz@gnu.org>
2856
2857 * subr.el (w32notify-handle-event): New function.
2858 (inotify-handle-event): Doc fix.
2859
81606b10
RS
28602012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2861
2862 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2863
265c2fbf 28642012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
2865
2866 * simple.el (just-one-space): Doc fix.
2867
265c2fbf 28682012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 2869
c868b919 2870 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 2871
265c2fbf 28722012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
2873
2874 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2875 narrowed buffer (bug#12361).
2876
265c2fbf 28772012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
2878
2879 * vc/vc-hooks.el (vc-state): Doc fix.
2880
265c2fbf 28812012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
2882
2883 * mail/rmail.el (rmail-maybe-display-summary):
2884 Preserve buffer, in case select-window changes it. (Bug#13066)
2885
265c2fbf 28862012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
2887
2888 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2889 cl-load-hook where they belong.
2890
bad162fd
SM
28912012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2892
2893 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2894
ca065258
EZ
28952012-12-09 Eli Zaretskii <eliz@gnu.org>
2896
2897 Parallelize byte compilation on MS-Windows.
2898 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 2899 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
2900 (WINS_BASIC): Define as concatenation of the above.
2901 (compile): Subdivide into 4 separate and independent jobs that can
2902 be run in parallel.
2903 (compile0-CMD, compile0-SH): New targets for compiling
2904 COMPILE_FIRST files, which are prerequisites for the rest of the
2905 byte-compilation.
bad162fd
SM
2906 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2907 New targets for parallel compilation with cmd.exe.
ca065258
EZ
2908 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2909 compiling under a Unixy shell.
2910
5dea55d2
CY
29112012-12-09 Chong Yidong <cyd@gnu.org>
2912
2913 * simple.el (set-mark-default-inactive): Delete this
2914 accidentally-introduced option.
2915 (set-mark-command, exchange-point-and-mark): Remove calls.
2916
c6c08d3f
GM
29172012-12-09 Glenn Morris <rgm@gnu.org>
2918
2919 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2920 Respect a defcustom's :set function, if appropriate. (Bug#109)
2921 (eval-defun): Doc fix.
2922
858aab4c
JL
29232012-12-08 Juri Linkov <juri@jurta.org>
2924
2925 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2926 (Info-fontify-node, Info-bookmark-make-record): Remove the
2927 file extension from Info-current-file (Bug#13016).
2928
2e4ad7e5
SM
29292012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2930
2931 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2932 point, still provide some default.
2933 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2934 names, since we don't use it right now. Actually return the list.
2935 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2936
75498db0
CY
29372012-12-07 Chong Yidong <cyd@gnu.org>
2938
ffe7ba8f
CY
2939 * novice.el (disabled-command-function): Remove a spurious help
2940 xref (Bug#13043). Suggested by Kelly Dean.
2941
454eb095
CY
2942 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2943 syntax is specified (Bug#13025).
2944
75498db0
CY
2945 * info.el (Info-set-mode-line): Remove the file extension from
2946 Info-current-file if there is one (Bug#13016).
2947
13a40633
GM
29482012-12-07 Glenn Morris <rgm@gnu.org>
2949
54c8b5ba
GM
2950 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2951 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2952 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2953 and rmail-mime-decoded. (Bug#9841)
2954
13a40633
GM
2955 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2956 (batch-unrmail, unrmail): Doc fixes.
2957 (unrmail): Respect unrmail-mbox-format.
2958 * mail/rmail.el (rmail-mbox-format): New option.
2959 (rmail-show-message-1): Respect rmail-mbox-format.
2960
4611a3cc
SM
29612012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2962
2963 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2964
1812c724
SM
29652012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2966
338bfefa
SM
2967 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2968 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2969 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2970 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2971 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2972 (cl-progv): Don't rely on dynamic scoping to find the body.
2973 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2974 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2975 (cl-declaim): Use backquotes.
2976 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2977 Use "cl--" prefix for the object's tag.
2978
1812c724
SM
2979 * ses.el: Use advice-add/remove.
2980 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2981 (copy-region-as-kill, yank): Use advice-add.
2982 (ses-unload-function): Use advice-remove.
2983
24fc9480
JB
29842012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2985
2986 * button.el: Make them work in header-lines (bug#12817).
2987 (button-map): Add bindings for header-line and mode-line use.
2988 (button-get, button-put, button-label): `button' may now be a string.
2989 (button-activate): Don't make it a defsubst.
2990 (button--area-button-p, button--area-button-string): New functions.
2991 (make-text-button): Fix the return value when `beg' was a string.
2992 (push-button): Handle the mode-line case.
2993
853c1ffc
SM
29942012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2995
93852cb0
SM
2996 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2997 (sql-signum): Remove. Use `cl-signum' instead.
2998 (sql-read-passwd): Remove; use read-passwd instread.
2999 (sql-get-login-ext): Use read-string.
3000 (sql-get-login): Use dolist and pcase.
3001 (sql--completion-table): Rename from sql-try-completion.
3002 Use complete-with-action.
3003 (sql-mode): Don't change abbrev-all-caps globally.
3004 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3005 (sql-postgres-completion-object): Initialize vars in their `let'.
3006 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3007 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3008 (sql-comint-interbase): Use a single append, without setq.
3009 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3010
853c1ffc
SM
3011 * hi-lock.el: Rework the default face and the serialize regexp code.
3012 (hi-lock--auto-select-face-defaults): Remove.
3013 (hi-lock-string-serialize-serial): Remove.
3014 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3015 make weak.
3016 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3017 equal string.
3018 (hi-lock-set-pattern): Adjust accordingly.
3019 (hi-lock--regexps-at-point): Simplify accordingly.
3020 (hi-lock--auto-select-face-defaults): Remove.
3021 (hi-lock--last-face): New var to replace it.
3022 (hi-lock-read-face-name): Rewrite (bug#11095).
3023 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3024
5504e2c7
MA
30252012-12-06 Michael Albinus <michael.albinus@gmx.de>
3026
853c1ffc
SM
3027 * net/tramp.el (tramp-replace-environment-variables):
3028 Hide compiler warning.
5504e2c7
MA
3029 (tramp-file-name-for-operation): Remove `executable-find',
3030 `start-process', `call-process' and `call-process-region'.
3031
853c1ffc 3032 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
3033
3034 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3035 compatibility.
3036
3037 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3038
e1d51545
CY
30392012-12-06 Chong Yidong <cyd@gnu.org>
3040
3041 * ffap.el (ffap-replace-file-component): Fix typo.
3042
d8ad4d3f 30432012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
3044
3045 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3046 fix open-paren-like token test (bug#12785).
3047
d8ad4d3f 30482012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
3049
3050 * mail/rmailsum.el (rmail-new-summary): Tweak for
3051 rmail-maybe-display-summary changing buffer. (Bug#13066)
3052
d8ad4d3f 30532012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
3054
3055 * info.el (Info-fontify-node): Don't hide the last newline.
3056 (Bug#12272)
3057
9ad948e2
KY
30582012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3059
3060 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3061 so as to enable message-read-from-minibuffer to expand mail aliases.
3062
4b5c89ee
SM
30632012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3064
3065 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3066 the `intangible' property.
3067 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3068
5602a53a
DD
30692012-12-05 Deniz Dogan <deniz@dogan.se>
3070
3071 * net/rcirc.el (rcirc-urls): Update documentation.
3072 (rcirc-condition-filter): New function.
3073 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3074 and exclude consecutive duplicate URLs (Bug#6082).
3075
51b890ac
MA
30762012-12-05 Michael Albinus <michael.albinus@gmx.de>
3077
d5f97f62
MA
3078 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3079 Check return code of copy command.
3080
853c1ffc
SM
3081 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3082 Use group `tramp'. Add version.
51b890ac 3083
04b14f2b
CY
30842012-12-05 Chong Yidong <cyd@gnu.org>
3085
a3680194
CY
3086 * ffap.el (ffap-url-regexp): Don't require matching at front of
3087 string (Bug#4952).
3088 (ffap-url-p): If only a substring matches, return that.
3089 (ffap-url-at-point): Use the return value of ffap-url-p.
3090 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3091 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3092 (ffap-guess-file-name-at-point): Likewise.
3093 (ffap-replace-file-component): Fix typo.
3094
04b14f2b
CY
3095 * info.el (info-display-manual): Add existing Info buffers, whose
3096 files may not be in Info-directory-list, to the completion.
3097 (info--manual-names): New helper function.
3098
49596095
GM
30992012-12-05 Glenn Morris <rgm@gnu.org>
3100
3101 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3102 New functions, for detecting and resolving conflicts. (Bug#10709)
3103
b85aec93
J
31042012-12-04 Jambunathan K <kjambunathan@gmail.com>
3105
3106 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3107 (hi-lock-auto-select-face-defaults): New buffer local variable.
3108 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3109 (hi-lock-unface-buffer): Prompt user with useful defaults.
3110 With prefix arg, unhighlight all hi-lock patterns in buffer.
3111
8515507f
SM
31122012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3113
3114 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3115
72cebfb7
MA
31162012-12-04 Michael Albinus <michael.albinus@gmx.de>
3117
3118 * Makefile.in (TRAMP_SRC):
3119 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3120
0ec3f7ea
JH
31212012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3122
3123 * net/tramp-adb.el: New package.
3124
770de7cf
CY
31252012-12-04 Chong Yidong <cyd@gnu.org>
3126
ce3e7725
CY
3127 * terminal.el: Move to obsolete/.
3128
770de7cf
CY
3129 * longlines.el: Move to obsolete/.
3130
3131 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3132 Remove code referring to longlines mode.
3133
c38a186c
JL
31342012-12-03 Juri Linkov <juri@jurta.org>
3135
3136 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3137
329bfd64
AM
31382012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3139
3140 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
3141 (ispell-start-process, ispell-internal-change-dictionary):
3142 Make sure personal dictionary name is expanded after initial
3143 `default-directory' value. Use expanded strings for
3144 keep/restart checks and for value (Bug#13019).
329bfd64 3145
77a74935
JB
31462012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3147
3148 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3149
c5bc2d1d 31502012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
3151
3152 * files.el (dir-locals-read-from-file): Check file non-empty
3153 before reading. (Bug#13038)
3154
c5bc2d1d 31552012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
3156
3157 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3158 Remove any version extension before checking filename. (Bug#13006)
3159 (jka-compr-compression-info-list): Belated :version bump.
3160
c5bc2d1d 31612012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 3162
8ecba97d
CY
3163 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3164
a5bf43ba
CY
3165 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3166 (buffer-menu): Doc fix (Bug#12294).
3167
c5bc2d1d 31682012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
3169
3170 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3171 of diary-show-all-entries in the diary buffer (Bug#12994).
3172
c5bc2d1d 31732012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
3174
3175 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3176 "<STDIN>". This is binary safe.
3177
682ceaf8
JB
31782012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3179
3180 * calc/calc-forms.el (math-absolute-from-iso-dt)
3181 (math-date-to-iso-dt, math-parse-iso-date-validate)
3182 (math-iso-dt-to-date): New functions.
3183 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3184 (math-fd-isoweekday): New variables.
3185 (calc-date-notation, math-parse-standard-date, math-format-date)
3186 (math-format-date-part): Add support for more formatting codes.
3187
db47d5e9
DG
31882012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3189
3190 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3191 current buffer's file name when called interactively (Bug#12488).
3192
3faf4944
JL
31932012-12-02 Juri Linkov <juri@jurta.org>
3194
3195 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 3196 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 3197
cb5d51dc
YN
31982012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3199
3200 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3201 before using it for comparison (Bug#5297).
3202
f38cd76e
JA
32032012-12-01 Jari Aalto <jari.aalto@cante.net>
3204
3205 * textmodes/css-mode.el (css-current-defun-name): New function.
3206 (css-mode): Use it.
3207
3208 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3209 (html-mode): Use it.
3210
ba03d0d9
CY
32112012-12-01 Chong Yidong <cyd@gnu.org>
3212
3213 Modularize add-log-current-defun (Bug#2224).
3214 Suggested by Jari Aalto.
3215
3216 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3217 (add-log-current-defun): Move mode-specific code to other files.
3218 (add-log-lisp-like-modes, add-log-c-like-modes)
3219 (add-log-tex-like-modes): Variables deleted.
3220
3221 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3222 (lisp-mode-variables): Use it.
3223
3224 * progmodes/cc-mode.el (c-common-init):
3225 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3226 add-log-current-defun-function.
3227
3228 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3229 (m4-mode): Use it.
3230
3231 * progmodes/perl-mode.el (perl-current-defun-name): New.
3232 (perl-mode): Use it.
3233
853c1ffc
SM
3234 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3235 Use lisp-current-defun-name.
ba03d0d9
CY
3236
3237 * textmodes/tex-mode.el (tex-current-defun-name): New.
3238 (tex-common-initialization): Use it.
3239
3240 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3241 (texinfo-mode): Use it.
3242
92eadba5
CY
32432012-12-01 Chong Yidong <cyd@gnu.org>
3244
3245 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3246 * progmodes/autoconf.el (autoconf-mode):
3247 * progmodes/js.el (js-mode):
3248 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3249 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3250 * progmodes/perl-mode.el (perl-mode):
3251 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3252 * textmodes/css-mode.el (css-mode):
3253 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3254 (sgml-tags-invisible, sgml-guess-indent):
3255 * textmodes/tex-mode.el (tex-common-initialization)
3256 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3257 (doctex-mode, plain-tex-mode, latex-mode):
3258 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3259
3ddbf803
KK
32602012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3261
3262 * vc/vc-hg.el (vc-hg-next-revision):
3263 Ensure use of default "tip" output format. (Bug#6968)
3264
f0b6ae63
KS
32652012-12-01 Kim F. Storm <storm@cua.dk>
3266
3267 * startup.el (fancy-startup-tail): Add a clickable link
3268 (Bug#2176).
3269
c01bf73e
CY
32702012-12-01 Chong Yidong <cyd@gnu.org>
3271
3272 * startup.el (fancy-startup-tail): Improve the message about
3273 auto-save files (Bug#2176).
3274
f0b6ae63
KS
3275 * files.el (recover-session): Improve the descriptive message, and
3276 use substitute-command-keys.
3277
a9400458
GM
32782012-12-01 Glenn Morris <rgm@gnu.org>
3279
3280 * ido.el (ido-file-internal):
3281 Handle other-window, other-frame for dired. (Bug#13036)
3282
fb3bf6ce
GM
32832012-11-30 Glenn Morris <rgm@gnu.org>
3284
3285 * icomplete.el (icomplete-separator): Fix :version.
3286
a813fe3f
CY
32872012-11-30 Chong Yidong <cyd@gnu.org>
3288
3289 * shell.el (shell): For C-u M-x shell, use an inactive shell
3290 buffer as the default (Bug#1975).
276479fd
CY
3291 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3292 (shell-mode): Use them to reapply ansi colorization if Shell mode
3293 is re-enabled.
a813fe3f 3294
a8b733a5
CY
32952012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3296
3297 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3298
6fccd6e8
SB
32992012-11-30 Samuel Bronson <naesten@gmail.com>
3300
3301 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3302 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3303
53c9a337
TT
33042012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3305
3306 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3307 by move-to-column (Bug#3234).
3308
ccf520bb
CY
33092012-11-30 Chong Yidong <cyd@gnu.org>
3310
3311 * longlines.el (longlines-wrap-line, longlines-encode-region):
3312 Preserve text properties (Bug#1425).
3313
171b0949
OT
33142012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3315
3316 * vc/vc.el (vc-register): Allow registering a file which is
3317 already registered with a different backend (Bug#10589).
3318
cc37e70f
J
33192012-11-29 Jambunathan K <kjambunathan@gmail.com>
3320 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 * icomplete.el: Change separator; add ido-style commands.
3323 (icomplete-show-key-bindings): Remove custom var.
3324 (icomplete-get-keys): Remove function.
3325 (icomplete-forward-completions, icomplete-backward-completions):
3326 New commands.
3327 (icomplete-minibuffer-map): New var.
3328 (icomplete-minibuffer-setup): Use it.
3329 (icomplete-exhibit): Don't delay if the list of completions is known.
3330 (icomplete-separator): New custom.
3331 (icomplete-completions): Use it.
3332 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3333 (minibuffer-force-complete-and-exit): New command.
3334 (minibuffer--complete-and-exit): New function extracted from
3335 minibuffer-complete-and-exit.
3336 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
3337
3338 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3339 error message when the file doesn't exist (bug#12974).
3340
31646597
KD
33412012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3342
3343 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3344
e9df8f87
GM
33452012-11-29 Glenn Morris <rgm@gnu.org>
3346
824eefe4
GM
3347 * files.el (hack-dir-local-variables): Warn if try to set
3348 coding via dir-locals, since it doesn't work. (Bug#7169)
3349
4ad900d9
GM
3350 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3351 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3352 Set buffer-local value of desktop-save-buffer.
3353 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3354 New functions.
3355 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3356 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3357
e9df8f87
GM
3358 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3359 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3360 Doc fix.
3361 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3362 Doc fixes.
3363
e7c8fcc4
JB
33642012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3365
3366 * calc/calc-forms.el (calc-date-notation): Fix regexp
3367 used to find time codes. Fix symbol for seconds.
3368
48d6d9c0
GM
33692012-11-27 Glenn Morris <rgm@gnu.org>
3370
3371 * emacs-lisp/derived.el (derived-mode-make-docstring):
3372 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3373
369f945d
SM
33742012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3375
3376 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3377 lexically scoped variables (bug#13005).
3378
5c9cf0a3 33792012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 3380
999e745e
GM
3381 * vc/vc-hooks.el (vc-mistrust-permissions):
3382 Default to t, to avoid data-loss. (Bug#11490)
98f99594 3383
5c9cf0a3 33842012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 3385
999e745e
GM
3386 * progmodes/python.el (python-indent-guess-indent-offset):
3387 If indentation is guessed make python-indent-offset buffer-local.
3388
207cb73c 3389 Fix Imenu regression.
999e745e
GM
3390 * progmodes/python.el (python-nav-beginning-of-defun):
3391 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
3392 (python-imenu-prev-index-position): New function.
3393
5c9cf0a3 33942012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
3395
3396 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3397
3398 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 3399 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 3400
5c9cf0a3 34012012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
3402
3403 * hippie-exp.el (hippie-expand-try-functions-list):
3404 Re-autoload it. (Bug#12982)
3405
5c9cf0a3 34062012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 3407
369f945d
SM
3408 * descr-text.el (describe-char-padded-string):
3409 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 3410
5c9cf0a3 34112012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
3412
3413 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3414 and obsoletion message.
3415
5c9cf0a3 34162012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
3417
3418 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3419 the constructs to keep outside of the `cl-block' (bug#12977).
3420
5c9cf0a3 34212012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
3422
3423 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3424 keep reading until we get the up-event anyway, in order to process
3425 the up-event for mouse-1-click-follows-link (Bug#12971).
3426
848a2dd1
SM
34272012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3428
3429 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3430 base function is not yet defined (bug#12965).
3431 (ad-activate-advised-definition): Use ad-compile-function.
3432 (ad-activate): Use cond.
3433
9ad79506
LL
34342012-11-25 Leo Liu <sdl.web@gmail.com>
3435
3436 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3437 (Bug#12979)
3438
e2cb57f5
VB
34392012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3440
3441 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3442 reftex-section-info-function in order to be compatible with
3443 Texinfo integration.
3444
3445 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
3446 (reftex-section-post-regexp, reftex-section-info-function):
3447 New variable.
3448 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3449 reftex-section-post-regexp, and reftex-section-info-function in order
3450 to be compatible with Texinfo integration.
3451
3452 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3453 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
3454 Texinfo integration.
3455
1c4f115d
CY
34562012-11-25 Chong Yidong <cyd@gnu.org>
3457
3458 * faces.el: Make face-spec-set more analogous to setq.
3459 (face-spec-set): Change the third arg to specify whether this
3460 function is being called via defface, customize, or a third party.
3461 Set the appropriate symbol properties. Clear the override spec if
3462 setting via Custom. Initialize face if necessary. (Bug#4988)
3463 (face-spec-recalc): Allow theme faces to completely replace the
3464 defface spec, in the same way as custom faces (Bug#8454).
3465
3466 * cus-face.el (custom-declare-face): Move face initialization to
3467 face-spec-set.
3468 (custom-theme-set-faces): Don't initialize the face name here, as
3469 that is now done in face-spec-set.
3470
3471 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3472 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3473 Simplify by using the new arg to face-spec-set.
3474
3475 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3476 reset face-override-spec too, and use custom-declare-face.
3477
c2350548
JD
34782012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3479
3480 * term/ns-win.el (ns-initialize-window-system): Move creation of
3481 fontsets here (Bug#11964).
3482
ecfc364c
VB
34832012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3484
3485 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3486 cell renaming.
3487
0917cc54
CY
34882012-11-24 Chong Yidong <cyd@gnu.org>
3489
433212bf
CY
3490 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3491 obsolete.
3492
0917cc54
CY
3493 * custom.el (custom-theme-set-variables): Use a topological sort
3494 for ordering by custom dependencies (Bug#12952).
3495 (custom--sort-vars, custom--sort-vars-1): New functions.
3496
d125ca15 34972012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
3498
3499 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3500 lexical-binding (bug#12938).
3501
d125ca15 35022012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
3503
3504 * image-mode.el (image-transform-check-size): Use assertions only
3505 for images of type imagemagick.
3506
3507 Otherwise no error, image-transform-fit-to-{width,height} is
3508 silently ignored, as before. Doc fix.
3509
d125ca15 35102012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
3511
3512 * faces.el (color-defined-p): Doc fix (Bug#12853).
3513
d125ca15 35142012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
3515
3516 * dired.el (dired-mark): Add optional arg `interactive'.
3517 Check for `use-region-p' if `interactive' is non-nil.
3518 (dired-unmark, dired-flag-file-deletion): Add optional arg
3519 `interactive'. Call `dired-mark' with the arg `interactive'.
3520 (Bug#10624)
3521
cc4c01bd
JL
3522 * wdired.el: Revert 2012-10-17 change partly and replace it with
3523 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3524 (wdired-finish-edit): Add marks for new file names to
3525 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3526 after `revert-buffer'.
3527 (wdired-do-renames): Remove calls to `dired-remove-file',
3528 `dired-add-file', `dired-add-entry'. (Bug#11795)
3529
d125ca15 35302012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 3531
dc310ed0
AM
3532 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3533
b03aabda
AM
3534 Fix bugs in the state cache. Enhance a debugging mechanism.
3535 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3536 "brace at column zero" strategy for C++.
3537 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3538 (c-parse-state-point): New variable.
3539 (c-record-parse-state-state): Record old parse state with
3540 `copy-tree'. Record previous value of point.
3541 (c-debug-parse-state-double-cons): New debugging function.
3542 (c-debug-parse-state): Call the above new function.
3543 (c-toggle-parse-state-debug): Output a confirmatory message.
3544
002c019c
SM
3545 * progmodes/cc-mode.el (c-before-change, c-after-change):
3546 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
3547 `c-after-change'.
3548
930a6273
CY
35492012-11-23 Chong Yidong <cyd@gnu.org>
3550
3551 * find-cmd.el (find-constituents): Add executable, ipath,
3552 readable, samefile, writable, daystart, regextype (Bug#12856).
3553
15c9d04e
SM
35542012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3555
3556 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3557
2ecb2679
PE
35582012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3559
3560 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3561 definition. This fixes a bootstrap failure.
a14a5a40
PE
3562 (calc-gregorian-switch): In menu, put dates before regions.
3563 This is easier to follow, lines up better in the menu, and lets us
3564 coalesce regions that switch at the same time. Give country
15c9d04e
SM
3565 names, not "Vatican", as that's better for non-expert users.
3566 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
3567 Bohemia and Moravia (which existed then and now) and not
3568 Czechoslovakia (which didn't exist then and doesn't exist now).
3569 What is now the U.S. mostly did not switch at the same time as
3570 Britain, so omit the U.S. Correct spelling of "Britain".
3571 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 3572
723da6aa
JB
35732012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3574
3575 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3576 after the variable is changed.
3577
21fa2482
DC
35782012-11-21 Daniel Colascione <dancol@dancol.org>
3579
3580 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
3581 in SQL declarations for font-lock.
3582 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 3583
3ca2f1bf
GM
35842012-11-21 Glenn Morris <rgm@gnu.org>
3585
1bf335cf
GM
3586 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3587 (face-italic-p): Add optional argument "inherit".
3588
3ca2f1bf
GM
3589 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3590 Remove -p suffix from names, for consistency with other set-face-*.
3591 (set-face-inverse-video): Fix interactive spec.
3592 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3593 * textmodes/table.el (table--update-cell-face):
3594 Use set-face-inverse-video rather than now obsolete alias.
3595
6ef2e5ef 35962012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
3597
3598 * simple.el (line-move): Don't call line-move-partial if
3599 scroll-conservatively is in effect. (Bug#12927)
3600
6ef2e5ef 36012012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 3602
93b05041
SM
3603 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3604 Fallback on completion-at-point rather than
3605 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3606 (eshell-cmpl-initialize): Setup completion-at-point.
3607
3608 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3609
bc715d67
SM
3610 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3611
6ef2e5ef 36122012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
3613
3614 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3615 are remote, check out-of-band property for both.
3616
6ef2e5ef 36172012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
3618
3619 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3620 code rewrite.
3621
6ef2e5ef 36222012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 3623
535efd4a
PE
3624 More minor time fixes.
3625 * calendar/time-date.el: Commentary fix.
3626 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3627 too much other code depends on (0 0) time stamps.
3628 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3629 Add a couple of FIXME comments.
3630
0c93aa38
PE
3631 Minor cleanup for times as lists of four integers.
3632 * files.el (dir-locals-directory-cache):
3633 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3634 Doc fixes.
3635 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3636 * ps-bdf.el (bdf-file-newer-than-time):
3637 Process four-integers time stamps, not two. Doc fixes.
3638
23ba2705
SM
36392012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3640
2e31777b
SM
3641 * uniquify.el (uniquify-managed): Use defvar-local.
3642 (rename-buffer, create-file-buffer): Advise with advice-add.
3643 (uniquify-unload-function): Unadvise accordingly.
3644
8b62d742
SM
3645 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3646 (trace-buffer): Don't purecopy.
3647 (trace-entry-message, trace-exit-message): Add `context' arg.
3648 (trace--timer): New var.
3649 (trace-make-advice): Adjust for use in nadvice.
3650 Add `context' argument. Delay `display-buffer' via a timer.
3651 (trace-function-internal): Use advice-add.
3652 (trace--read-args): New function.
3653 (trace-function-foreground, trace-function-background): Use it.
3654 (trace-function): Rename to trace-function-foreground and redefine as
3655 an alias to that new name.
3656 (untrace-function, untrace-all): Adjust to the use of nadvice.
3657
5d0ccd95
SM
3658 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3659
3837d988
SM
3660 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3661
23ba2705
SM
3662 * subr.el (called-interactively-p-functions): New var.
3663 (internal--called-interactively-p--get-frame): New macro.
3664 (called-interactively-p, interactive-p): Rewrite in Lisp.
3665 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3666 (called-interactively-p-functions): Use it.
3667 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3668 (called-interactively-p-functions): Use it.
3669 * allout.el (allout-called-interactively-p): Don't assume
3670 called-interactively-p is a subr.
3671
b0636be7
GM
36722012-11-20 Glenn Morris <rgm@gnu.org>
3673
3674 * profiler.el (profiler-report-mode-map): Add a menu.
3675 No need to bind `q' because we derive from special-mode.
3676 (profiler-report-find-entry): Handle calls from the menu-bar.
3677
855b17af
SM
36782012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3679
14146222
SM
3680 * emacs-lisp/byte-run.el (defun-declarations-alist):
3681 Allow a compiler-macro to be a lambda expression.
3682
3683 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3684 eval-when-compile.
3685 (python-syntax-context): Add compiler-macro.
3686 (python-font-lock-keywords): Simplify with De Morgan.
3687
1000d895
SM
3688 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3689
ac5392dc
SM
3690 * files.el (load-file): Require match in minibuffer selection, as was
3691 the case in Emacs-20 before we changed the spec to allow .elc files
3692 (bug#12935).
3693
19dc7206
SM
3694 * json.el: Don't require cl since we don't use it.
3695 * color.el: Don't require cl.
3696 (color-complement): `caddr' -> `nth 2'.
3697
855b17af
SM
3698 * calendar/time-date.el (time-to-seconds): De-obsolete.
3699
e8909bdc
JB
37002012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3701
3702 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3703 year numbers.
3704 (math-date-to-julian-dt): Adjust the initial approximation for the
3705 year to deal with the new definition of the DATE.
3706
6e9f7997
DC
37072012-11-19 Daniel Colascione <dancol@dancol.org>
3708
855b17af
SM
3709 * term/w32-win.el (cygwin-convert-path-from-windows):
3710 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 3711
6a3dd257
CY
37122012-11-18 Chong Yidong <cyd@gnu.org>
3713
3714 * filecache.el (file-cache--read-list): New function.
3715 (file-cache-add-directory-list, file-cache-add-file-list)
3716 (file-cache-delete-file-list, file-cache-delete-directory-list):
3717 Use it to read a list of files or directories (Bug#12846).
3718 (file-cache-add-file, file-cache-add-directory)
3719 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3720 (file-cache-delete-directory): Print an message.
3721
eef97f35
JB
37222012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3723
3724 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3725 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3726
913c8291
GM
37272012-11-18 Glenn Morris <rgm@gnu.org>
3728
3729 * image.el (insert-image, insert-sliced-image): Doc fix.
3730
2ac9538d 37312012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
3732
3733 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3734 (Bug#12810).
3735
2ac9538d 37362012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
3737
3738 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3739 response when the target file is in a subdirectory (Bug#12757).
3740
2ac9538d 37412012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
3742
3743 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3744
2ac9538d 37452012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 3746
9a5e2ee3
GM
3747 * emacs-lisp/cl-lib.el (face-underline-p):
3748 Use set-face-underline rather than the alias set-face-underline-p.
3749
65463c40 3750 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
3751 * subr.el (with-output-to-temp-buffer):
3752 Add doc xref to with-temp-buffer-window.
65463c40 3753
c9ed8e3d
JB
37542012-11-18 Juanma Barranquero <lekktu@gmail.com>
3755
3756 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3757 * calc/calc.el (math-format-date-cache): Declare.
3758
310e60d9
PE
37592012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3760
6f6b82d6
PE
3761 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3762 It also uses January 1, 1 AD as its day number 1.
310e60d9 3763 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 3764 (math-julian-date-beginning-int): Implement this.
310e60d9 3765
d7fe6352
JB
37662012-11-17 Juanma Barranquero <lekktu@gmail.com>
3767
3768 * descr-text.el (quail-find-key):
3769 * dired.el (desktop-file-name):
3770 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3771 * generic-x.el (comint-mode, comint-exec):
3772 * image-dired.el (widget-forward):
3773 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3774 (speedbar-change-expand-button-char)
3775 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3776 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3777 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3778 (widget-field-action, widget-value-set):
3779 * speedbar.el (imenu--make-index-alist):
3780 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3781 (ring-length, ring-insert):
3782 * vcursor.el (compare-windows-skip-whitespace):
3783 * woman.el (dired-get-filename):
3784 Declare functions.
3785
3786 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3787
c9f618db
JB
37882012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3789
3790 * calc/calc.el (calc-gregorian-switch): New variable.
3791
3792 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3793 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3794 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3795 (math-leap-year-p): Add option to distinguish between Julian
3796 and Gregorian calendars.
3797 (math-day-number): Use `math-day-in-year' to do the computations.
3798 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3799 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3800 to do the computations.
3801 (math-date-to-dt): Use `math-date-to-julian-dt' and
3802 `math-date-to-gregorian-dt' to do the computations.
3803 (calcFunc-weekday, math-format-date-part): Use the new version of
3804 the DATE to determine the weekday.
3805 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3806 when necessary.
3807
3804f7bc
EZ
38082012-11-17 Eli Zaretskii <eliz@gnu.org>
3809
3810 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3811 Cygwin; otherwise use 'file:'. (Bug#12914)
3812 (cygwin-convert-path-from-windows): Declare, to avoid
3813 byte-compiler warnings.
3814
de959d4d
AP
38152012-11-17 Andreas Politz <politza@fh-trier.de>
3816
3817 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3818 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3819 prefix and negative numeric prefix args (Bug#12795).
3820
e45deaef
SB
38212012-11-17 Stephen Berman <stephen.berman@gmx.net>
3822
3823 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3824 Don't signal an error with a score that is too low to add to the
3825 list of top scores. (Bug#12779)
3826
ec15e0ff
CY
38272012-11-17 Chong Yidong <cyd@gnu.org>
3828
8e7696a1
CY
3829 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3830
ec15e0ff
CY
3831 * filecache.el (file-cache-add-file): Handle relative file name in
3832 the argument (Bug#12694).
3833
60c4ee66
JH
38342012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3835
3836 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3837
cdc5d88c
SM
38382012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3839
dd0c5bbb
SM
3840 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3841
cdc5d88c
SM
3842 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3843
0ff7851c
MR
38442012-11-16 Martin Rudalics <rudalics@gmx.at>
3845
3846 * window.el (enlarge-window, shrink-window): Don't mention return
3847 value in doc-string (Bug#12896).
3848 (window--display-buffer): Don't resize frames - it won't work
3849 with all window managers and defeat pop-up-frame-alist.
3850 (display-buffer-alist): In doc-string explain that CONDITION can
3851 be a function and which arguments are passed to it (Bug#12854).
3852 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3853 expressions (Bug#12854).
3854 (display-buffer): Pass ACTION argument to
3855 display-buffer-assq-regexp.
3856
dedd1884
GM
38572012-11-16 Glenn Morris <rgm@gnu.org>
3858
7c82753d
GM
3859 * window.el (fit-frame-to-buffer-bottom-margin)
3860 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3861
dedd1884
GM
3862 * faces.el (face-underline-p): Use face-attribute-specified-or.
3863
96e05507 38642012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
3865
3866 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3867
96e05507 38682012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
3869
3870 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3871
96e05507 38722012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 3873
17c083ac
GM
3874 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3875 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3876
bde3c6c0
GM
3877 * faces.el (face-underline-p): Doc fix. Handle :underline being
3878 things other than `t' (a string, a list).
3879 (face-inverse-video-p): Doc fix.
3880 (set-face-underline): Rename it back from set-face-underline-p.
3881 Doc fix. Allow interactive input of values other than t.
3882 (read-face-attribute): Apply formatting to :underline,
3883 since like :box and :stipple it can take list values.
3884
e2e13f18
GM
3885 * term.el (ansi-term): Don't let C-x escape-char binding
3886 clobber the more standard C-c binding. (Bug#12842)
3887
e0ea8060
GM
3888 * subr.el (set-temporary-overlay-map): Doc fix.
3889
96e05507 38902012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
3891
3892 * window.el (record-window-buffer)
3893 (display-buffer-record-window): When copying the markers to
3894 window-point preserve window-point-insertion-type. (Bug#12588)
3895
96e05507 38962012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
3897
3898 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3899 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3900 Use new names for hooks rather than obsolete aliases.
3901
faeafc01
DC
39022012-11-15 Daniel Colascione <dancol@dancol.org>
3903
3904 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
3905 prefix instead of "file:" so that when FILE-NAME begins with "//",
3906 as it does when the target file is on a network share, url-handler
3907 isn't confused.
3908
1232d6c2
SM
39092012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3910
3911 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3912 a preactivated advice from an old advice.el; they're not compatible!
3913
47f01a8a
KY
39142012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3915
3916 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3917 Fix string-spec case.
3918
3919 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3920
a61428c4
SM
39212012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3924 (advice--buffer-local-function-sample): New var.
3925 (advice--set-buffer-local, advice--buffer-local): New functions.
3926 (add-function, remove-function): Use them.
3927
875ce3a7
DA
39282012-11-15 Drew Adams <drew.adams@oracle.com>
3929
3930 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3931
589fc479
SM
39322012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3933
3934 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3935 potential binding of print-gensym to t, and prettify (back)quotes in
3936 case they appear in args's default values (bug#12884).
3937
1668ea90
SM
39382012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3939
3940 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3941 (advice-eval-interactive-spec): New function.
3942 (advice--make-interactive-form): Support around advice (bug#12844).
3943
8619323f
DG
39442012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3945
3946 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3947 more strict. Add docstring.
c62792e7
DG
3948 (ruby-expression-expansion-re): Extract from
3949 `ruby-match-expression-expansion'.
3950 (ruby-syntax-propertize-function): After everything else, search
3951 for expansions in string literals, mark their insides as
3952 whitespace syntax and save match data for font-lock.
3953 (ruby-font-lock-keywords): Use the 2nd group from expression
3954 expansion matches.
3955 (ruby-match-expression-expansion): Use the match data saved to the
3956 text property in ruby-syntax-propertize-function.
8619323f 3957
9c3912d3
SM
39582012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3959
3960 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3961 (bug#12879).
3962
5e9419e8
DG
39632012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3964
3965 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3966 start/end keyword a bit harder. Works with different values of N.
3967 Add more comments.
3968 (ruby-end-of-block): Update accordingly.
3969
3c442f8b
SM
39702012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3971
fa470af0
SM
3972 * woman.el (woman-file-name): Don't mess with unread-command-events
3973 (bug#12861).
3974
3c442f8b
SM
3975 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3976 Remove out of date self-require hack.
3977 (ad-do-advised-functions): Use simple `dolist'.
3978 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3979 (ad-advice-definition): Redefine as functions.
3980 (ad-advice-classes): Move before first use.
3981 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 3982 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 3983 (ad--defalias-fset): Remove functions.
fa470af0 3984 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
3985 (ad-get-orig-definition): Rewrite.
3986 (ad-make-advised-definition-docstring): Change base docstring.
3987 (ad-real-orig-definition): Rewrite.
3988 (ad-map-arglists): Change name of called function.
3989 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3990 (ad-make-advised-definition): Simplify.
3991 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 3992 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
3993 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3994 function and call ad-activate if needed.
3995 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3996 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3997 (ad-compile-function): Compile ad-Advice-*.
3998 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3999 (ad-start-advice, ad-stop-advice): Remove.
4000
5745cae6
DG
40012012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4002
4003 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4004 period before class method names, not after. Remove handling of
4005 one impossible case. Add comments.
4006
413d4689
SM
40072012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4008
7db1bda8
SM
4009 * emacs-lisp/advice.el: Remove support for freezing.
4010 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4011 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4012 Remove support for `freeze'.
4013
413d4689
SM
4014 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4015 override the default.
4016 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4017 cl--dotimes/dolist.
4018 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4019 `cl' is loaded.
4020
4021 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4022 from add-advice.
4023 (advice--strip-macro): New function.
4024 (advice--defalias-fset): Use them to handle macros.
4025 (advice-add): Use them.
4026 (advice-member-p): Correctly handle macros.
4027
f178c32d
DG
40282012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4029
7db1bda8
SM
4030 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4031 Never font-lock the beginning of singleton class as heredoc.
f178c32d 4032
f78ee6af 40332012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
4034
4035 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4036
f78ee6af 40372012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
4038
4039 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
4040 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4041 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 4042
f78ee6af 40432012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
4044
4045 Fix end-of-defun misbehavior.
4046 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4047 python-beginning-of-defun-function. Handle nested defuns
4048 correctly.
4049 (python-nav-end-of-defun): Rename from
4050 python-end-of-defun-function. Ensure forward movement.
f8705f6e 4051 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
4052 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4053 parent defuns as soon as possible.
4054
f78ee6af 40552012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
4056
4057 * progmodes/flymake.el (flymake-error-bitmap)
4058 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4059 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4060
f78ee6af 40612012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
4062
4063 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4064 backward, always stop at indentation. Reverts the change from
4065 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4066
f78ee6af 40672012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 4068
a1d3e07e
GM
4069 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4070 Add ibuffer-filter-by-derived-mode.
4071
84acf328
GM
4072 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4073 the same name shadowing each other.
4074
38785e75
GM
4075 * window.el (with-temp-buffer-window): Doc tweak.
4076
57fc0fee
GM
4077 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4078
6ba6a3e5
GM
4079 * help.el (temp-buffer-max-height):
4080 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
4081 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4082
231d8498
SM
40832012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4084
4085 * emacs-lisp/nadvice.el: New package.
4086 * subr.el (special-form-p): New function.
4087 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4088 (elp-all-instrumented-list): Remove var.
4089 (elp-not-profilable): Remove elp-wrapper.
4090 (elp-profilable-p): Use autoloadp and special-form-p.
4091 (elp--advice-name): New const.
4092 (elp-instrument-function): Use advice-add.
4093 (elp--instrumented-p): New predicate.
4094 (elp-restore-function): Use advice-remove.
4095 (elp-restore-all, elp-reset-all): Use mapatoms.
4096 (elp-set-master): Use elp--instrumented-p.
4097 (elp--make-wrapper): Rename from elp-wrapper, return a function
4098 suitable for advice-add. Use cl-inf.
4099 (elp-results): Use mapatoms+elp--instrumented-p.
4100 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4101 (debug-function-list): Remove var.
4102 (debug): Rename arg, and then let-bind it explicitly inside.
4103 (debugger-setup-buffer): Rename arg.
4104 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4105 (debugger-frame-number): Adjust to new debug-on-entry setup.
4106 (debug--implement-debug-on-entry): Rename from
4107 implement-debug-on-entry, add argument.
4108 (debugger-special-form-p): Remove, use special-form-p instead.
4109 (debug-on-entry): Use advice-add.
4110 (debug--function-list): New function.
4111 (cancel-debug-on-entry): Use it, along with advice-remove.
4112 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4113 (debugger-list-functions): Use debug--function-list instead of
4114 debug-function-list.
4115 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4116 (ad-special-form-p): Remove, use special-form-p instead.
4117 (ad-set-advice-info): Use add-function and remove-function.
4118 (ad--defalias-fset): Adjust accordingly.
4119
19e09879
GM
41202012-11-10 Glenn Morris <rgm@gnu.org>
4121
714cebd1
GM
4122 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4123 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4124 (report-emacs-bug-create-existing-bugs-buffer)
4125 (report-emacs-bug-parse-query-results)
4126 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4127
bf67dafa
GM
4128 * term.el (term-default-fg-color, term-default-bg-color):
4129 Make obsolete, rather than just saying "deprecated" in the doc.
4130
19e09879
GM
4131 * term.el (term): Rename from `term-face'.
4132 (term-current-face, ansi-term-color-vector)
4133 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4134 Update all users.
4135
6baf66d5 41362012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
4137
4138 * server.el (server-create-window-system-frame): Handle Nextstep
4139 specially (Bug#12780).
4140
6baf66d5 41412012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
4142
4143 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4144 Unautoload, and make obsolete. (Bug#7449)
4145
6baf66d5 41462012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
4147
4148 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4149 rename from diff-remove-trailing-whitespace (Bug#12831).
4150
6baf66d5 41512012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
4152
4153 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4154 miscompilation of trace.el.
4155
6baf66d5 41562012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
4157
4158 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4159
6baf66d5 41602012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
4161
4162 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4163 (bug#12812).
4164
6baf66d5 41652012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
4166
4167 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4168 a defcustom with an appropriate :set function.
4169 (minibuffer-default--in-prompt-regexps): New function.
4170
6baf66d5 41712012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 4172
031b2ea7
GM
4173 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4174 (define-modify-macro): Doc fixes.
4175
2ee1d59f
GM
4176 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4177 (gv-define-simple-setter): Update doc of `fix-return'.
4178
6baf66d5 41792012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 4180
b715ed44
SM
4181 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4182 twice when `fix-return' is set (bug#12813).
4183
d57c286e
SM
4184 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4185 gv-define-simple-setter (bug#12812).
4186
c9cac599
SM
4187 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4188 (bug#12756).
4189
6baf66d5 41902012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
4191
4192 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4193
5593ed90
GM
4194 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4195 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4196 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4197 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4198
4199 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4200
05a859c1
LL
42012012-11-10 Leo Liu <sdl.web@gmail.com>
4202
4203 * ido.el (ido-set-matches-1): Improve flex matching performance by
4204 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4205
32e5c58c
SM
42062012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4207
4208 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4209 (ad--defalias-fset): New function.
4210 (ad-safe-fset): Remove.
4211 (ad-make-freeze-definition): Use cl-letf*.
4212
f5925cd9
SM
42132012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4214
da03ef8a
SM
4215 * subr.el (dolist): Don't bind VAR in RESULT.
4216
6858633a
SM
4217 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4218 (fset, documentation): Don't save real def since we don't advise.
4219 (ad-do-advised-functions): Remove problematic `result-form'.
4220 (ad-safe-fset): `ad-real-fset' => `fset'.
4221 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4222 uses CL's dolist internally.
4223 (ad-arglist): Remove unused arg `name'.
4224 (ad-docstring, ad-make-advised-docstring):
4225 `ad-real-documentation' => `documentation'.
4226 (warning-suppress-types): Declare.
4227 (ad-set-arguments): Simple CSE.
4228 (ad-recover-normality): Sanity check.
4229
f5925cd9
SM
4230 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4231 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4232
93a66b3a
VB
42332012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4234
4235 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
4236 `ses-cell'. This means that the same mapping is done for all SES
4237 sheets. That is good enough for cells with standard A1 names, but
4238 not for named cell. So a hash map is added for the latter.
4239 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
4240 (ses-sym-rowcol): Use hashmap for named cell.
4241 (ses-is-cell-sym-p): New defun.
4242 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
4243 (ses-create-cell-variable): Add cell to hashmap when name is not
4244 A1-like.
93a66b3a
VB
4245 (ses-rename-cell): Check that cell new name is not already in
4246 spreadsheet with the use of ses-is-cell-sym-p
4247 (ses-rename-cell): Use hash map for named cells, but accept also
4248 renaming back to A1-like.
4249
67dd8ad1
SM
42502012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4251
57618ecf
SM
4252 * emacs-lisp/advice.el: Use new dynamic docstrings.
4253 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4254 Use dynamic-docstring-function instead of ad-advice-info.
4255 (ad--make-advised-docstring): New function extracted from
4256 ad-make-advised-docstring.
4257 (ad-make-advised-docstring): Use it.
4258 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4259 from sql-help.
4260 (sql-help): Use it with dynamic-docstring-function.
4261
67dd8ad1
SM
4262 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4263
be883b34
SM
42642012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4265
d41706aa
SM
4266 * files.el (hack-one-local-variable--obsolete): New function.
4267 (hack-one-local-variable): Use it for obsolete settings.
4268
85e55412
SM
4269 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4270 the new name.
4271
be883b34
SM
4272 * progmodes/js.el (js--filling-paragraph): New var.
4273 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4274 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4275 less sneaky.
4276
cabc040a
JD
42772012-11-08 Julien Danjou <julien@danjou.info>
4278
4279 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4280 `auto-mode-alist' (Bug#12835).
4281
d14bb752
SM
42822012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4283
79b3e376
SM
4284 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4285 (perl--prettify-symbols-alist): New const.
4286 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4287 New functions.
4288 (perl-font-lock-keywords-2): Use them.
4289 (perl-electric-noindent-p): New function.
4290 (perl-mode): Use it to set up electric-indent-mode.
4291 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4292 (perl-mode-map): Remove bindings for them.
4293 (perl-imenu-generic-expression, perl-outline-level):
4294 Match functions&packages in column>0.
4295
3b11e6ac
SM
4296 * env.el (env--substitute-vars-regexp): New const.
4297 (substitute-env-vars): Use it. Add `only-defined' arg.
4298 * net/tramp.el (tramp-replace-environment-variables): Use it.
4299
784c1a7b
SM
4300 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4301 Byte-compile *before* eval in eval-and-compile.
4302 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4303 (byte-compile-file-form-autoload): Don't hide actual definition.
4304 (byte-compile-maybe-guarded): Accept `functionp' as well.
4305
d14bb752
SM
4306 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4307
499a0f7a
MA
43082012-11-07 Michael Albinus <michael.albinus@gmx.de>
4309
4310 * notifications.el (notifications-get-server-information-method):
4311 New defconst.
4312 (notifications-get-capabilities): Fix docstring.
4313 (notifications-get-server-information): New defun.
4314
f0704a9a
AM
43152012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4316
4317 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4318 readability.
4319
b159a1fd
AM
4320 * textmodes/ispell.el: Experimental support for support debugging.
4321 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4322 buffer for ispell.
4323 (ispell-print-if-debug): New function to print stuff to
4324 `ispell-debug-buffer' if debugging is enabled.
4325 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4326 show some debugging info.
4327 (ispell-buffer-with-debug): New function that creates a debugging
4328 buffer and calls `ispell-buffer' with debugging enabled.
4329
056cb3a1
AM
4330 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4331 comment in autoconf mode. (Bug#12768)
4332
8e6a67b7
DA
43332012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4334
4335 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4336 frame-first-window, frame-root-window, frame-selected-window,
4337 minibuffer-selected-window, minibuffer-window,
4338 window-absolute-pixel-edges, window-at, window-body-height,
4339 window-body-width, window-display-table, window-combination-limit,
4340 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4341 window-inside-edges, window-inside-pixel-edges, window-left-child,
4342 window-left-column, window-margins, window-next-buffers,
4343 window-next-sibling, window-new-normal, window-new-total,
4344 window-normal-size, window-parameter, window-parameters, window-parent,
4345 window-pixel-edges, window-point, window-prev-buffers,
4346 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4347 window-start, window-text-height, window-top-child, window-top-line,
4348 window-total-height, window-total-width and window-use-time to the list
4349 of functions without side-effects.
4350 (toplevel): Add window-valid-p to the list of error-free functions
4351 without side-effects.
4352
53fc914f
AM
43532012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4354
f5925cd9
SM
4355 * textmodes/ispell.el (ispell-program-name):
4356 Update spellchecker parameters when customized.
53fc914f 4357
9749e2b0
GM
43582012-11-04 Glenn Morris <rgm@gnu.org>
4359
4360 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4361
2cbafa56
CY
43622012-11-04 Chong Yidong <cyd@gnu.org>
4363
4364 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4365 same-window-* variables.
4366
85178ca1
JL
43672012-11-04 Juri Linkov <juri@jurta.org>
4368
4369 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4370 (isearch-describe-key, isearch-describe-mode): Use a display
4371 action instead of binding same-window-* variables (Bug#10040).
4372
5c677d44
GM
43732012-11-03 Glenn Morris <rgm@gnu.org>
4374
49138400
GM
4375 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4376 Rename handler properties back from cl-- to cl-. (Bug#12788)
4377
5c677d44
GM
4378 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4379
1d4341f9
EZ
43802012-11-03 Eli Zaretskii <eliz@gnu.org>
4381
4382 * term/pc-win.el: Don't load term/internal from here.
4383
4384 * loadup.el: Load term/internal from here.
4385
12fd5ee1
FEG
43862012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4387
4388 * progmodes/python.el (inferior-python-mode): Fix hang in
4389 jit-lock (Bug#12645).
4390
43bcfda6
MR
43912012-11-03 Martin Rudalics <rudalics@gmx.at>
4392
4393 * window.el (switch-to-visible-buffer)
4394 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4395
376a8e83
GM
43962012-11-03 Glenn Morris <rgm@gnu.org>
4397
4398 * emacs-lisp/cl-lib.el (cl--random-time):
4399 Rename from cl-random-time. (Bug#12773)
4400 (cl--gensym-counter, cl--random-state): Update callers.
4401 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4402
0f7b074f
CY
44032012-11-03 Chong Yidong <cyd@gnu.org>
4404
4405 * cus-start.el: Make cursor-type customizable (Bug#11633).
4406
3a6851d9
GM
44072012-11-02 Glenn Morris <rgm@gnu.org>
4408
00a3b041
GM
4409 * filecache.el: No need to load find-lisp when compiling.
4410 (find-lisp-find-files): Autoload it.
4411 (file-cache-add-directory-recursively): Don't require find-lisp.
4412
11fef14a
GM
4413 * image.el (image-type-from-file-name): Trivial simplification.
4414
3a6851d9
GM
4415 * emacs-lisp/bytecomp.el (byte-compile-eval):
4416 Decouple "noruntime" and "cl-functions" warnings.
4417
b4b096e4
SB
44182012-11-01 Stephen Berman <stephen.berman@gmx.net>
4419
4420 * play/gomoku.el (gomoku-display-statistics): Update mode line
4421 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4422
218e997a
MR
44232012-10-31 Martin Rudalics <rudalics@gmx.at>
4424
4425 * window.el (quit-restore-window): If the window has been
4426 created on an existing frame and ended up as the sole window on
4427 that frame, do not delete it (Bug#12764).
4428
b08b6da7
SM
44292012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4430
3618df45
SM
4431 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4432 Rename from sh--inside-arithmetic-expression, handle more cases
4433 (bug#11263).
4434
b08b6da7
SM
4435 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4436 (sh-font-lock-open-heredoc): Use it (bug#12770).
4437
4ddedf94
GM
44382012-10-30 Glenn Morris <rgm@gnu.org>
4439
f43a5263
GM
4440 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4441
4ddedf94
GM
4442 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4443
748b0d84
CY
44442012-10-29 Chong Yidong <cyd@gnu.org>
4445
b5dd9a77
CY
4446 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4447 function key is stored in a keyboard macro (Bug#4894).
4448
748b0d84
CY
4449 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4450
e07fcbdc
SM
44512012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4452
d7f9cc85
SM
4453 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4454 header comments".
4455 (diff-unified->context, diff-context->unified)
4456 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4457
c606253c
SM
4458 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4459
e07fcbdc
SM
4460 * files.el (find-alternate-file): Only ask one question (bug#12487).
4461
894b9dd9
CY
44622012-10-29 Chong Yidong <cyd@gnu.org>
4463
1dc2755a
CY
4464 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4465 Suggested by Dan Nicolaescu (Bug#6326).
4466
329c48d8
CY
4467 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4468
2230fa5b 4469 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 4470
e84cad57
CY
4471 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4472
1913c5f5
CY
4473 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4474
894b9dd9
CY
4475 * face-remap.el (face-remap-add-relative): Handle the case where a
4476 face-remapping-alist entry is a cons cell (Bug#12762).
4477
329c48d8
CY
44782012-10-29 Kevin Ryde <user42@zip.com.au>
4479
4480 * woman.el (woman-parse-numeric-value): Handle picas correctly
4481 (Bug#12639).
4482
a0ccbcbd
GM
44832012-10-29 Glenn Morris <rgm@gnu.org>
4484
4485 * emacs-lisp/cl.el (defsetf): Doc fix.
4486
b3871e59
SM
44872012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4490 syntax to the matching opener, if any (bug#12547).
4491 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4492 matching open as a "case-(".
4493 (sh-smie-rc-grammar): Add a corresponding rule for it.
4494
cd44022c
DH
44952012-10-28 Daniel Hackney <dan@haxney.org>
4496
4497 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4498 "PKGNAME-autoloads.el" in case we created it.
4499
70edffb1
SM
45002012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4501
86957a0c
SM
4502 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4503 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 4504 (completion--twq-all): Disable too-strict assertions.
86957a0c 4505
70edffb1
SM
4506 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4507
d069271c
EZ
45082012-10-27 Eli Zaretskii <eliz@gnu.org>
4509
4510 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4511 text to match the real keybindings.
4512
e2f022a3
JL
45132012-10-27 Juri Linkov <juri@jurta.org>
4514
4515 * wdired.el (wdired-keep-marker-rename): New defcustom.
4516 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4517 (Bug#11795)
4518
4519 * dired.el (dired-keep-marker-rename): Add reference to
4520 `wdired-keep-marker-rename' in the docstring.
4521 Add default character value ?R to display initially in
4522 Customization UI instead of ?@.
4523
df171c23
MR
45242012-10-27 Martin Rudalics <rudalics@gmx.at>
4525
4526 * window.el (display-buffer): In doc-string describe
4527 window-height and window-width alist entries.
4528
4529 * time.el (display-time-world): Restore fit-window-to-buffer
4530 behavior.
4531
05b621a6
CY
45322012-10-27 Chong Yidong <cyd@gnu.org>
4533
4534 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4535
55f197b2
J
45362012-10-26 Jambunathan K <kjambunathan@gmail.com>
4537
4538 * minibuffer.el (completion-category-overrides): New completion
4539 category `bookmark' (bug#11131).
4540
372212df
SM
45412012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4542
150f809c
SM
4543 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4544 Silence bogus compiler warnings for ad-do-it.
4545
372212df
SM
4546 * bookmark.el (bookmark-completing-read): Set the completion category
4547 to `bookmark' (bug#11131).
4548
c5772569
B
45492012-10-26 Bastien <bzg@altern.org>
4550 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * face-remap.el: Use lexical-binding.
4553 (text-scale-adjust): Improve docstring. Use itself for the temporary
4554 overlay-map bindings, so as to repeat the "Use..." message each time.
4555
a2be0357
SM
45562012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4557
63314e57
SM
4558 * emacs-lisp/macroexp.el (macroexp--expand-all):
4559 Obey byte-compile-warning-enabled-p (bug#12486).
4560
a2be0357
SM
4561 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4562 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4563
8c7727c3
MR
45642012-10-26 Martin Rudalics <rudalics@gmx.at>
4565
4566 * mouse.el (mouse-drag-line): Move last form into preceding when
4567 clause (Bug#12731).
4568
4569 * help.el (resize-temp-buffer-window): Fix doc-string.
4570
3f2a848d
DE
45712012-10-25 David Engster <deng@randomsample.de>
4572
4573 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 4574 Remove. This feature is already integrated in imenu.
3f2a848d
DE
4575
4576 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4577 always loaded. Require `speedbar' unconditionally.
4578
a7723be6
SM
45792012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4580
aaabfc8b
SM
4581 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4582
414a8595
SM
4583 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4584
fb5b9475
SM
4585 * net/ldap.el (ldap-search-internal): The official ldif format starts
4586 with a "version: 1" header (bug#12724).
4587
a7723be6
SM
4588 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4589 (bug#12721).
4590
a05cb6e3
GM
45912012-10-25 Glenn Morris <rgm@gnu.org>
4592
4593 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4594
3c92de70
SM
45952012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4596
4597 * minibuffer.el (minibuffer-force-complete): Use one more marker
4598 for the temporary-overlay-map command (bug#12619).
4599
a4b6d7c6
CY
46002012-10-24 Chong Yidong <cyd@gnu.org>
4601
4602 * time.el (display-time-world-mode): Derive from special-mode.
4603 (display-time-world): Use display-buffer (Bug#12708).
4604 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
4605 (display-time-world-display): Wrap the final delete-char inside
4606 inhibit-read-only.
a4b6d7c6 4607
75e8f9d2
CY
46082012-10-24 Chong Yidong <cyd@gnu.org>
4609
cd996018
CY
4610 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4611 Doc fix.
4612
75e8f9d2
CY
4613 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4614
d92df117
SM
46152012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4616
4617 * minibuffer.el (completion--all-sorted-completions-location): New var.
4618 (completion--cache-all-sorted-completions)
4619 (completion--flush-all-sorted-completions): Use it.
4620 (completion-in-region, completion-in-region--postch)
4621 (completion-at-point, completion-help-at-point): Use markers in
4622 completion-in-region--data (bug#12619).
4623
9c3e39f3
SM
46242012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4625
c79825bd
SM
4626 * progmodes/compile.el (compilation-start): Try to handle common
4627 quoting of `cd' argument (bug#12640).
4628
9c3e39f3
SM
4629 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4630 (bug#12671).
4631
a6709bc7
GM
46322012-10-23 Glenn Morris <rgm@gnu.org>
4633
4634 * progmodes/gud.el (gud-menu-map):
4635 Check gdb-active-process is bound. (Bug#12358)
4636
d1069532
SM
46372012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4638
d20d69c0
SM
4639 * repeat.el (repeat): Set real-this-command (bug#12232).
4640
d1069532
SM
4641 * htmlfontify.el (hfy-post-html-hook):
4642 * filesets.el (filesets-cache-fill-content-hook):
4643 * arc-mode.el (archive-extract-hook):
4644 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4645 * net/rcirc.el (rcirc-sentinel-functions)
4646 (rcirc-receive-message-functions, rcirc-activity-functions)
4647 (rcirc-print-functions):
4648 * net/dbus.el (dbus-event-error-functions):
4649 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4650 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4651 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4652 * term/sun.el (sun-raw-prefix-hooks):
4653 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4654
f7eac6d8
MA
46552012-10-23 Michael Albinus <michael.albinus@gmx.de>
4656
d1069532
SM
4657 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4658 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
4659 (tramp-smb-wait-for-output): Add timeout to
4660 `tramp-accept-process-output' calls.
4661
608d9d7c
CY
46622012-10-23 Chong Yidong <cyd@gnu.org>
4663
49238e7f
CY
4664 * faces.el (font-list-limit): Define as an obsolete variable.
4665
4666 * startup.el (command-line):
4667 * cus-start.el: Don't refer to font-list-limit.
4668
608d9d7c
CY
4669 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4670
4ff5b1b2
SM
46712012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4672
4673 * subr.el (internal-temp-output-buffer-show): Rename from
4674 temp-output-buffer-show, since previously compiled files expect this name.
4675
ea1d4aac
GM
46762012-10-23 Glenn Morris <rgm@gnu.org>
4677
4678 * image.el (image-type-from-file-name): If multiple types match,
4679 return the first one that is supported. (Bug#9045)
4680
eda82a31
GM
46812012-10-22 Glenn Morris <rgm@gnu.org>
4682
4683 * image.el (imagemagick-enabled-types): Doc fix.
4684
4f020bec
TA
46852012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4686
4687 * progmodes/which-func.el (which-func-current): The hash-table may have
4688 an explicit nil (bug#12338).
4689
c77d37e2
SM
46902012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4691
4692 * electric.el (electric-pair-delete-selection-self-insert-function):
4693 Rename to electric-pair-will-use-region, return a boolean.
4694 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4695
4696 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4697 (delete-selection-pre-hook): Use use-region-p.
4698 (delete-selection-self-insert-function): Remove.
4699 (self-insert-command): Obey self-insert-uses-region-functions.
4700 (self-insert-iso): Revert to previous setting, since we don't actually
4701 know what that command does.
4702 (delete-selection-self-insert-hooks): Remove.
4703
b1d39ccc
SL
47042012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4705
4706 * delsel.el (delete-selection-helper): New function, extracted from
4707 delete-selection-pre-hook.
4708 (delete-selection-pre-hook): Use it.
4709 (delete-selection-self-insert-function): New function.
4710 (delete-selection-self-insert-hooks): New hook.
4711 (self-insert-command, self-insert-iso): Use it.
4712 * electric.el (electric-pair-syntax): New function, extracted from
4713 electric-pair-post-self-insert-function.
4714 (electric-pair-post-self-insert-function): Use it.
4715 (electric-pair-delete-selection-self-insert-function): New function.
4716 (electric-pair-mode): Require delsel and setup
4717 delete-selection-self-insert-hooks (bug#11520).
4718
045ef729
CY
47192012-10-20 Chong Yidong <cyd@gnu.org>
4720
4c5d08a8
CY
4721 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4722 no changes to show (Bug#12586).
4723
045ef729
CY
4724 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4725 list explicitly (Bug#12571).
4726
3503c798 47272012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 4728
b1d39ccc
SL
4729 * progmodes/flymake.el (flymake-create-temp-inplace):
4730 Use file-truename.
79e1997a 4731
2068905b
EZ
47322012-10-20 Eli Zaretskii <eliz@gnu.org>
4733
4734 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4735
4c9e9550
JB
47362012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4737
4738 * calc/calc-units.el (math-extract-units): Properly extract powers
4739 of units.
4740
1a6e7e38
DC
47412012-10-20 Daniel Colascione <dancol@dancol.org>
4742
4743 * frame.el (make-frame): Set x-display-name as we used to in order
4744 to unbreak creating an X11 frame from an Emacs daemon started
4745 without a display.
4746
8e808318
SM
47472012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4748
4749 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 4750 the same completion-field (bug#12221).
8e808318 4751
fb0104da
MR
47522012-10-19 Martin Rudalics <rudalics@gmx.at>
4753
4754 * emacs-lisp/debug.el (debug): Record height of debugger window
4755 also when debugger will be back (Bug#8789).
4756
8c27235e
CY
47572012-10-18 Chong Yidong <cyd@gnu.org>
4758
4759 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4760 Convert to defcustom.
4761 (gdb-get-source-file): Don't bind pop-up-windows.
4762
4763 * progmodes/gud.el (gud-display-line): Don't specially re-use
4764 other frames for the gdb-mi case (Bug#12648).
4765
90eacf99
SM
47662012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4767
aaf0c300
SM
4768 * emacs-lisp/advice.el: Clean up commentary a bit.
4769 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4770 (byte-code-function-p): Never redefine.
4771
90eacf99
SM
4772 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4773
281c9d2b
GM
47742012-10-18 Glenn Morris <rgm@gnu.org>
4775
40714e3d
GM
4776 * dired.el (dired-sort-toggle): Some ls implementations only allow
4777 a single option string. (Bug#12666)
4778
281c9d2b
GM
4779 * minibuffer.el (completion-cycle-threshold): Doc fix.
4780
b278604e
KH
47812012-10-17 Kenichi Handa <handa@gnu.org>
4782
90eacf99
SM
4783 * international/mule.el (set-keyboard-coding-system):
4784 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
4785 Supply TERMINAL arg to set-input-meta-mode.
4786
df171c23 47872012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
4788
4789 * wdired.el (wdired-old-marks): New variable.
4790 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4791 (wdired-do-renames): Move point with renamed file and don't lose
4792 mark status (Bug#11795).
4793
e5a94ec4
JL
47942012-10-16 Juri Linkov <juri@jurta.org>
4795
4796 * replace.el (query-replace-help): Mention multi-buffer replacement
4797 keys in the Help message. (Bug#12655)
4798
d18a0d24
CY
47992012-10-15 Chong Yidong <cyd@gnu.org>
4800
4801 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4802
8111f5e6
EZ
48032012-10-14 Eli Zaretskii <eliz@gnu.org>
4804
7b9abf24
EZ
4805 * window.el (display-buffer): Doc fix.
4806
8111f5e6
EZ
4807 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4808 Adjust the msft regexp to the output of Studio 2010, and move msft
4809 before edg-1. See the discussion on emacs-devel,
4810 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4811 for the details.
4812
5046ef67
SM
48132012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4814
9760c73c
SM
4815 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4816 (oset): Move uses of object-class-fast macro after its definition.
4817
5046ef67
SM
4818 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4819
0d11ff1c
CY
48202012-10-13 Chong Yidong <cyd@gnu.org>
4821
4822 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4823 enabled, re-enable it (Bug#11963).
4824
88ded8ac
MR
48252012-10-13 Martin Rudalics <rudalics@gmx.at>
4826
4827 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4828 non-nil, restore window configuration (Bug#12623).
4829
bd0ffffd
SM
48302012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4831
06485aa8
SM
4832 * help-fns.el (describe-variable, describe-function-1):
4833 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4834
bd0ffffd
SM
4835 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4836
3a989246
GM
48372012-10-12 Glenn Morris <rgm@gnu.org>
4838
4839 * mail/rmailsum.el (rmail-header-summary):
4840 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4841
55cd00c8
FEG
48422012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4843
bd0ffffd
SM
4844 * progmodes/python.el (python-mode-map):
4845 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
4846 (python-nav--up-list): Fix behavior for blocks on the same level.
4847
ac9fc2c7
SM
48482012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4849
d8cc4c00 4850 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 4851
5253a5fd
SM
4852 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4853 changes to the format of load-history.
4854
ac9fc2c7
SM
4855 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4856 completion-ignore-case in case that var is buffer-local (bug#12615).
4857
cde44a77
KH
48582012-10-11 Kenichi Handa <handa@gnu.org>
4859
4860 * international/eucjp-ms.el: Re-generated.
4861
4ef4a10d
KH
48622012-10-10 Kenichi Handa <handa@gnu.org>
4863
4864 * select.el (xselect--encode-string): If a coding is specified for
4865 selection, and that is compatible with COMPOUND_TEXT, use it.
4866
9d7f027b
MR
48672012-10-10 Martin Rudalics <rudalics@gmx.at>
4868
4869 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
4870 (switch-to-buffer):
4871 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 4872
238f3a58
SM
48732012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4874
4875 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4876 Don't document nil as a useful value (bug#12583).
4877
1d51f99c
MA
48782012-10-09 Michael Albinus <michael.albinus@gmx.de>
4879
238f3a58
SM
4880 * net/tramp.el (tramp-debug-message):
4881 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
4882 (with-tramp-progress-reporter): Rename from
4883 `tramp-with-progress-reporter'.
238f3a58
SM
4884 (with-tramp-file-property, with-tramp-connection-property):
4885 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
4886 `with-connection-property', respectively.
4887
4888 * net/tramp-cache.el: Remove `with-file-property' and
4889 `with-connection-property'.
4890
4891 * net/tramp.el:
4892 * net/tramp-gvfs.el:
4893 * net/tramp-sh.el:
4894 * net/tramp-smb.el: Adapt callees.
4895
4896 * net/trampver.el: Update release number.
4897
26b77251
GM
48982012-10-09 Glenn Morris <rgm@gnu.org>
4899
9a5f296f
GM
4900 * w32-fns.el (set-message-beep):
4901 * term/w32-win.el (set-message-beep): Update declarations.
4902
94c66ce5
SM
49032012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4904
10766e9e
SM
4905 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4906 (mode-line-widen, mode-line-input-method-map)
4907 (mode-line-coding-system-map, mode-line-remote)
4908 (mode-line-unbury-buffer, mode-line-bury-buffer)
4909 (mode-line-next-buffer, mode-line-previous-buffer):
4910 Replace save-selected-window+select-window => with-selected-window.
4911
f754db08
SM
4912 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4913 * progmodes/cc-vars.el (bq-process): Remove, unused.
4914
94c66ce5
SM
4915 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4916
a4ff7fe1
FEG
49172012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4918
4919 Implemented `backward-up-list'-like navigation.
4920 * progmodes/python.el (python-nav-up-list)
4921 (python-nav-backward-up-list): New functions.
4922 (python-mode-map): Define substitute key for backward-up-list to
4923 python-nav-backward-up-list.
4924
24517d82
FEG
49252012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4926
4927 * progmodes/python.el (python-fill-paragraph): Rename from
4928 python-fill-paragraph-function. Fixed fill-paragraph for
4929 decorators (Bug#12605).
4930
51867ae2
FEG
49312012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4932
4933 * progmodes/python.el (python-shell-output-filter): Handle extra
4934 carriage return in OSX (Bug#12409).
4935
a5b773c4
FEG
49362012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4937
4938 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 4939 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
4940 (python-syntax-propertize-function): Use it.
4941 (python-shell-output-syntax-table): New var.
4942 (inferior-python-mode): Prevent unbalanced parens/quotes from
4943 previous output mess with current input context.
4944
13373538
JB
49452012-10-08 Juanma Barranquero <lekktu@gmail.com>
4946
4947 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4948 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4949
775a132d
MA
49502012-10-08 Michael Albinus <michael.albinus@gmx.de>
4951
4952 * ffap.el (ffap-replace-file-component): Support Tramp file name
4953 syntax, not only ange-ftp's one.
4954
3ab44929
GM
49552012-10-08 Glenn Morris <rgm@gnu.org>
4956
57f1dee4
GM
4957 * cus-start.el (message-log-max): Set :version.
4958
3ab44929
GM
4959 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4960
6a088630
MR
49612012-10-08 Martin Rudalics <rudalics@gmx.at>
4962
4963 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4964 the minibuffer window (Bug#10851).
4965
8dbce54c
FEG
49662012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4967
4968 Enhancements on forward-sexp movement.
4969 * progmodes/python.el (python-nav-beginning-of-statement)
4970 (python-nav-end-of-statement): Return point-marker.
4971 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4972 (python-info-current-symbol)
4973 (python-info-statement-starts-block-p): Rename from
4974 python-info-beginning-of-block-p.
4975 (python-info-statement-ends-block-p): Rename from
4976 python-info-end-of-block-p.
4977 (python-info-beginning-of-statement-p)
4978 (python-info-end-of-statement-p)
4979 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4980 New functions.
4981
5acd2b3e
SM
49822012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4983
4984 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4985 frame-selected-windows.
4986
e08348a0
DC
49872012-10-08 Daniel Colascione <dancol@dancol.org>
4988
4989 * battery.el (battery-status-function): Check for
4990 w32-battery-status itself, not system-time windows-nt.
4991
4992 * frame.el: Require cl-lib.
4993 (display-format-alist): New variable mapping frame types to
4994 functions that initialize them.
4995 (window-system-for-display): New function: interprets
4996 display-format-alist.
4997 (make-frame-on-display): Remove existing display-selection logic
4998 and just forward to make-frame, which will now DTRT.
4999 (make-frame): Restructure to use window-system-for-display to
5000 figure out how to create a frame on a given display.
5001 (display-mouse-p): Look for frame-type w32, not a particular
5002 system-type.
5003
5004 * loadup.el: Load w32 lisp code when we have the w32 feature.
5005
5006 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5007 system-type windows-nt.
5008
5009 * server.el (server-create-window-system-frame): Look for window
5010 type.
5011 (server-proces-filter): Only force a window system when windows-nt
5012 _and_ w32. Explain why.
5013
5014 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5015 of window systems we configure for the mode.
5016
5017 * startup.el (command-line): Mark window system is initialized
5018 after we've done it.
5019
5020 * common-win.el (x-select-text): Look for w32, not windows-nt.
5021
5022 * ns-win.el: Require cl-lib. Add ourselves to
5023 display-format-alist.
5024 (ns-initialize-window-system): Assert we're not initialized twice.
5025
5026 * w32-win.el: Enable lexical binding; require cl-lib; add
5027 ourselves to display-format-alist.
5028 (w32-handle-dropped-file): Convert incoming dropped files from
5029 Windows paths to Cygwin ones before passing them on to the rest of
5030 Emacs.
5031 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5032 (w32-initialize-window-system): Assert we're not initialized twice.
5033
5034 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5035 (x-initialize-window-system): Assert we're not initialized twice.
5036
5037 * w32-common-fns.el: New File.
5038 (w32-version, w32-using-nt, w32-get-clipboard-data)
5039 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5040 (w32-charset-info-alist, x-last-selected, text)
5041 (x-get-selection-value, x-selection-value): Move here.
5042
5043 * w32-fns.el: Require w32-common-fns.
5044 (w32-version, w32-using-nt, w32-get-clipboard-data)
5045 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5046 (w32-charset-info-alist, x-last-selected, text)
5047 (x-get-selection-value, x-selection-value): Move to
5048 w32-common-fns.
5049
5050 * w32-vars.el:
5051 (w32-allow-system-shell, w32-system-shells): Define only in
5052 non-cygwin case.
5053
795b1482
SM
50542012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5055
5056 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5057 (read-passwd): Remove a few more potential sources of leaks.
5058
f27c99dc
FEG
50592012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5060
5061 * progmodes/python.el (inferior-python-mode)
795b1482 5062 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
5063 variables copied from parent buffer.
5064
fcacb558
JD
50652012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5066
5067 * term/ns-win.el (ns-read-file-name): Update declaration to match
5068 nsfns.m.
5069 (ns-respond-to-change-font): Change fontsize separatly so we are sure
5070 it is set when font is acted upon.
5071
be0d5bae
FEG
50722012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5073
5074 Enhancements to indentation.
5075 * progmodes/python.el (python-indent-context): Give priority to
5076 inside-string context. Make comments indentation markers.
5077 (python-indent-region): Do not mess with strings, unless it's the
5078 enclosing set of quotes.
5079
13af0d10
SM
50802012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5081
662a9d0e
SM
5082 * window.el (internal--before-save-selected-window)
5083 (internal--after-save-selected-window): New functions extracted from
5084 save-selected-window. Make sure we return the `alist' we construct.
5085 (save-selected-window): Use them.
5086
5087 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5088 Use with-selected-window.
5089
13af0d10
SM
5090 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5091 forms that define macros (bug#12593).
5092
6aa75fb6
KH
50932012-10-07 Kenichi Handa <handa@gnu.org>
5094
13af0d10
SM
5095 * international/mule-conf.el (compound-text-with-extensions):
5096 Add :mime-charset property as x-ctext.
6aa75fb6 5097
78d876b9
SM
50982012-10-07 Stefan Merten <smerten@oekonux.de>
5099
5100 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5101 (rst-indent-literal-normal, rst-indent-literal-minimized)
5102 (rst-indent-comment): Correct :version tag.
557337e9 5103 (rst-official-cvs-rev): Correct version string.
78d876b9 5104
99a1e701
GM
51052012-10-07 Glenn Morris <rgm@gnu.org>
5106
5107 * mail/rmailmm.el (rmail-mime-process-multipart):
5108 Do not confuse a multipart message with an epilogue
5109 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5110
08f18c3d
FEG
51112012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5112
5113 Fix shell output retrieval and comint-prompt-regexp init.
5114 * progmodes/python.el (inferior-python-mode):
5115 (python-shell-make-comint): Fix initialization of
5116 comint-prompt-regexp from copied file local variables.
5117 (python-shell-fetched-lines): Remove var.
5118 (python-shell-output-filter-in-progress): Rename from
5119 python-shell-fetch-lines-in-progress.
5120 (python-shell-output-filter-buffer): Rename from
5121 python-shell-fetch-lines-string.
5122 (python-shell-fetch-lines-filter): Delete function.
5123 (python-shell-output-filter): New function.
5124 (python-shell-send-string-no-output): Use them.
5125
82ed3ab4
GM
51262012-10-07 Glenn Morris <rgm@gnu.org>
5127
1595ecfa
GM
5128 * hi-lock.el (hi-lock-process-phrase):
5129 Try to make it less fragile. (Bug#7161)
5130
82ed3ab4
GM
5131 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5132
f1f4dba0
GM
51332012-10-06 Glenn Morris <rgm@gnu.org>
5134
addc11ed 5135 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
5136 non-existent mode `help'.
5137 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 5138
460042b8
GM
5139 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5140 (reftex-create-bibtex-footer): Fix custom types.
5141
67667c70
GM
5142 * progmodes/sh-script.el (sh-indent-after-continuation):
5143 Add explicit :group.
5144
18dec750
GM
5145 * textmodes/rst.el (rst-preferred-decorations)
5146 (rst-shift-basic-offset): Clarify obsolescence versions.
5147
d1a1c7e6
GM
5148 * profiler.el (profiler): Add missing group :version tag.
5149 * avoid.el (mouse-avoidance-banish-position):
5150 * proced.el (proced-renice-command):
5151 * calc/calc.el (calc-ensure-consistent-units):
5152 * calendar/icalendar.el (icalendar-import-format-uid):
5153 * net/tramp.el (tramp-save-ad-hoc-proxies):
5154 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5155 * progmodes/flymake.el (flymake-error-bitmap)
5156 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5157 * progmodes/sh-script.el (sh-indent-after-continuation):
5158 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5159 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5160 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5161 (vhdl-array-index-record-field-in-sensitivity-list)
5162 (vhdl-indent-comment-like-next-code-line):
5163 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5164 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5165 (reftex-cite-key-separator, reftex-create-bibtex-header)
5166 (reftex-create-bibtex-footer):
5167 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5168 (rst-indent-literal-normal, rst-indent-literal-minimized)
5169 (rst-indent-comment): Add missing custom :version tags.
5170
ef35abb4
GM
5171 * calendar/timeclock.el (timeclock-modeline-display):
5172 Add missing obsolete alias for renamed user option.
5173
d1aae614
GM
5174 * strokes.el (strokes-modeline-string):
5175 * emulation/crisp.el (crisp-mode-modeline-string):
5176 * eshell/esh-mode.el (eshell-status-in-modeline):
5177 Aliases to defcustoms must come before the defcustom.
5178
f1f4dba0
GM
5179 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5180 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5181 (cal-tex-cursor-week-monday): Doc fixes.
5182 (cal-tex-cursor-week2-summary): Doc fix.
5183 Rename from cal-tex-cursor-week-at-a-glance.
5184
5185 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5186 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5187
5188 * calendar/calendar.el (calendar-mode-map):
5189 Add cal-tex-cursor-week2-summary.
5190
d39109c3
SM
51912012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5192
685f87b0
SM
5193 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5194
d39109c3
SM
5195 * subr.el (read-passwd-map): New var.
5196 (read-passwd): Use `read-string' again.
5197 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5198
5694896d
J
51992012-10-06 Jambunathan K <kjambunathan@gmail.com>
5200
5201 * register.el (append-to-register, prepend-to-register):
5202 Deactivate mark, as does `copy-to-register' (bug#12389).
5203
9414dd8d
CY
52042012-10-06 Chong Yidong <cyd@gnu.org>
5205
5206 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5207
2b89bca4
KH
52082012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5209
5210 * international/characters.el: Fix simple mistake ((car chars) ->
5211 elt), delete duplicated code.
5212
d5acb99a
GM
52132012-10-06 Glenn Morris <rgm@gnu.org>
5214
5215 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5216
123ec157
JS
52172012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5218
5219 * color.el (color-hsl-to-rgb): Fix incorrect results for
5220 small and large hue values. (Bug#12559)
5221
7fa36ccb
FEG
52222012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5223
5224 Enhancements to docstring formatting when filling paragraphs.
5225 * progmodes/python.el (python-fill-docstring-style): Rename from
5226 python-fill-string-style. Added new style.
5227 (python-fill-string): Use new style. Better checks for
5228 docstrings.
5229
d8788e1e
GM
52302012-10-05 Glenn Morris <rgm@gnu.org>
5231
204f3953
GM
5232 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5233
d8788e1e
GM
5234 * color.el (color-name-to-rgb, color-rgb-to-hex)
5235 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5236 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5237 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5238 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5239
8d956cef
GM
5240 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5241
e8757f09 52422012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
5243
5244 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5245 to get the correct size across symlinks.
5246
e8757f09
GM
5247 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5248
0e2ae83d
JL
52492012-10-04 Juri Linkov <juri@jurta.org>
5250
5251 * replace.el (query-replace-interactive): Declare obsolete.
5252 (query-replace-read-from): Add the last incremental search string
5253 to the list of default values accessible via M-n.
5254 (map-query-replace-regexp): Use `read-regexp'.
5255 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5256 (map-query-replace-regexp, replace-string, replace-regexp):
5257 Fix docstrings to replace mentions of `query-replace-interactive'
5258 with alternatives. (Bug#12526)
5259
93cacb6d
JL
52602012-10-04 Juri Linkov <juri@jurta.org>
5261
5262 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5263 (dired-pop-to-buffer): Declare obsolete.
5264 (dired-mark-pop-up): Doc fix.
5265
fc345011
FEG
52662012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5267
5268 Allow user to set docstring style for fill-paragraph.
5269 * progmodes/python.el
5270 (python-fill-comment-function, python-fill-string-function)
5271 (python-fill-decorator-function, python-fill-paren-function):
5272 Remove :safe for defcustoms.
5273 (python-fill-string-style): New defcustom
5694896d 5274 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
5275 (python-fill-string): Honor python-fill-string-style settings.
5276
6bab5d8b
MR
52772012-10-04 Martin Rudalics <rudalics@gmx.at>
5278
5279 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5280 after setting its buffer (Bug#10805).
5281
a1a9f411
FEG
52822012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5283
5284 Fix cornercase for string syntax.
5285 * progmodes/python.el (python-syntax-propertize-function):
5286 Simplify and enhance the regexp for unescaped quotes. Now it also
5287 matches quotes in weird situations like the single quote in
5288 "something\"'".
5289 (python-syntax-stringify): Simplify num-quotes detecting code.
5290
05e153a6
GM
52912012-10-03 Glenn Morris <rgm@gnu.org>
5292
5293 * help-macro.el (three-step-help):
5294 Revert 2012-09-29 change. (Bug#12567)
5295
2e566ecb
MR
52962012-10-03 Martin Rudalics <rudalics@gmx.at>
5297
96ef9ccd
MR
5298 * menu-bar.el (kill-this-buffer): Don't do anything when
5299 `menu-frame' is not alive or visible (Bug#8184).
5300
2e566ecb
MR
5301 * emacs-lisp/debug.el (debug): When quitting the debugger window
5302 restore current buffer (Bug#12502).
5303
a96e1cb7
CY
53042012-10-02 Chong Yidong <cyd@gnu.org>
5305
5694896d
J
5306 * progmodes/hideif.el (hif-lookup, hif-defined):
5307 Handle semantic-c-takeover-hideif.
a96e1cb7 5308
b3ecad33
PE
53092012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5310
5311 Change sampling interval units from ms to ns.
5312 * profiler.el (profiler-sampling-interval): Change units
5313 from ms to ns, multiplying the default by 1000000 so that
5314 it remains 1 ms.
5315 (profiler-report-cpu-line-format): Give enough room for
5316 the maximum counters on 64-bit hosts.
5317 (profiler-report-render-calltree-1): Call them "CPU samples",
5318 not "Time (ms)", since they are not milliseconds now (and
5319 never really were).
5320
8cb51b66 53212012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 5322
5694896d
J
5323 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5324 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 5325
fd795bf4
CY
53262012-10-02 Chong Yidong <cyd@gnu.org>
5327
5328 * emacs-lisp/eieio.el: Restore Version header.
5329
fe0a74f9
SM
53302012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5331
6be9197e
SM
5332 * vc/diff-mode.el (diff--auto-refine-data): New var.
5333 (diff-hunk): Use it to delay refinement.
5334 (diff-mode): Remove overlays when we turn off font-lock.
5335
18486139
SM
5336 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5337 (table-initialize-table-fixed-width-mode)
5338 (table-set-table-fixed-width-mode): Remove functions.
5339 (table-command-list): Move initialization into declaration.
5340 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5341 (table-with-cache-buffer): Use `declare'.
5342 (table-span-cell): Simplify via CSE.
5343 (table-fixed-width-mode): Use define-minor-mode.
5344 (table-call-interactively, table-funcall, table-apply): Remove.
5345 (table-function): New function, to replace them.
5346
d83ef976
SM
5347 * bookmark.el (bookmark-search-pattern): Remove var.
5348 (bookmark-read-search-input): Remove function.
5349 (bookmark-bmenu-search): Reimplement using a minibuffer.
5350
cd386662
SM
5351 * faces.el (modeline): Remove obsolete face name.
5352
fe0a74f9
SM
5353 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5354 and give a non-nil default value.
5355 (add-change-log-entry): Simplify accordingly.
5356
9f7b98f8
DG
53572012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5358
5359 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5360 (vc-git-log-edit-toggle-amend): New function.
5361 (vc-git-log-edit-toggle-signoff): New function.
5362 (vc-git-log-edit-mode): New major mode.
5363 (vc-git-log-edit-mode-map): Keymap for it.
5364 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5365
5366 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5367 header names.
5368 (log-edit-toggle-header): New function.
5369 (log-edit-extract-headers): Accept function values in HEADERS alist.
5370
62a81506
CY
53712012-10-01 David Engster <deng@randomsample.de>
5372
5373 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5374 from symbol property and change message to be more consistent with
5375 Emacs proper.
5376 (eieio-describe-generic): Add filename for each implementation.
5377 Fix indices for generic and normal methods.
5378 (eieio-method-def, eieio-class-def): New buttons.
5379 (eieio-help-find-method-definition)
5380 (eieio-help-find-class-definition): New functions.
5381 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5382 class, constructor and method definitions.
5383
5384 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5385 information in symbol property.
5386 (scoped-class): Remove.
5387 (eieio-slot-name-index, call-next-method): Check if it is bound.
5388
53892012-10-01 Leo P. White <lpw25@cam.ac.uk>
5390
5391 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5392 (eieio-custom-mode): New major mode.
5393 (eieio-customize-object): Use it.
5394
53952012-10-01 Eric Ludlam <zappo@gnu.org>
5396
5397 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5398 specifying the expected class, and whether subclassing is allowed.
5399 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
5400 (eieio-persistent-validate/fix-slot-value)
5401 (eieio-persistent-slot-type-is-class-p): New functions.
5402 (eieio-named::slot-missing): Doc fix.
62a81506
CY
5403
5404 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5405 Stop using unused publd variable.
5406
5407 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5408 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5409 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5410 (eieio-speedbar-handle-click): Do not specify a class for the
5411 method. Fixes method invocation order problems with EDE.
5412
375e49d4
SM
54132012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5414
5415 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5416 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5417
16ce6ccd
KF
54182012-10-01 Karl Fogel <kfogel@red-bean.com>
5419
5420 * bookmark.el (bookmark-version-control): Give tags in the
5421 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
5422 (bookmark-write-file): Bind `print-circle' to `t' to allow
5423 circular custom bookmark types. (Bug#12503)
16ce6ccd 5424
19e54a4d
PE
54252012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5426
86ec63ba
PE
5427 Revert the FOLLOW-SYMLINKS change for file-attributes.
5428 * files.el (remote-file-name-inhibit-cache, after-find-file):
5429 * time.el (display-time-file-nonempty-p): Undo last change.
5430
19e54a4d
PE
5431 * profiler.el (profiler-sampling-interval): Change default back to 1.
5432 See Stefan Monnier in
5433 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5434
0478776b
FEG
54352012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5436
5437 Shell output catching a la gud-gdb.
5438 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
5439 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5440 New Vars.
0478776b
FEG
5441 (python-shell-fetch-lines-filter): New function.
5442 (python-shell-send-string-no-output): Use them.
5443
c22bac2c
TM
54442012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5445
5446 * profiler.el (profiler-sampling-interval): Rename from
5447 profiler-sample-interval.
5448 (profiler-sampling-interval): Default to 10.
5449 (profiler-find-profile): New command (was profiler-find-log).
5450 (profiler-find-profile-other-window): New command.
5451 (profiler-find-profile-other-frame): New command.
5452 (profiler-profile): Introduce API-level data structure.
5453
e7a2937b
PE
54542012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5455
5456 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5457 * files.el (remote-file-name-inhibit-cache):
5458 * time.el (display-time-file-nonempty-p): Use it.
5459 * files.el (after-find-file): Don't chase links before calling
5460 file-exists-p, as file-exists-p already does the right thing.
5461
4f595e15
RA
54622012-09-30 Ralf Angeli <angeli@caeruleus.net>
5463
5464 Merge from standalone RefTeX repository.
5465
5466 The following ChangeLog entries are shortened versions of the
5467 original ones with file paths adapted. A not so strongly edited
5468 version of the original ChangeLog can be found in the commit log.
5469
5470 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
5471 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5472 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
5473
5474 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
5475 that entries with whitespace at various places are found.
5476 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
5477 Include @String definitions in the resulting bib file. Add header
5478 and footer defined in `reftex-create-bibtex-header' and
5479 `reftex-create-bibtex-footer'.
5480 (reftex-do-citation): Make it possible again to insert
5481 non-existent entries. Save match data when asking for optional
5482 arguments. Return all keys, not just the first one.
5483 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5484 all citations in the same line.
5485 (reftex-parse-bibtex-entry): Accept additional optional argument
5486 `raw' and keep quotes or braces if it is non-nil. Match fields
5487 containing hyphens besides word constituents.
5488 (reftex-get-string-refs): New function.
5489 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5490 and ask if it should be reread in case it did.
5491 (reftex-pop-to-bibtex-entry)
5492 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5493 entries with spaces or tabs in front of arguments.
5494 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
5495 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5496 Match entries containing numbers and symbol constituents.
5497 (reftex-do-citation, reftex-figure-out-cite-format):
5498 Use `reftex-cite-key-separator'.
4f595e15
RA
5499
5500 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5501 (reftex-mouse-view-crossref): Explain why point is set.
5502
5503 * textmodes/reftex-global.el: Whitespace changes.
5504
5505 * textmodes/reftex-index.el: Move provide statement to end of
5506 file.
5507 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5508 (reftex-index-visit-phrases-buffer): Set marker when visiting
5509 buffer. This allows for returning from the phrases file to the
5510 file one was just editing instead of the file where the last
5511 phrases was added from.
5512 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5513 punctuation syntax as it usually is not used as string quote in
5514 TeX-related modes and may occur unmatched. The change also
5515 prevents fontification of quoted content.
5516 (reftex-index-phrases-mode): Use it.
5517
375e49d4
SM
5518 * textmodes/reftex-parse.el (reftex-parse-from-file):
5519 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
5520 (reftex-parse-from-file): Use beginning of match instead of end as
5521 bound.
5522
5523 * textmodes/reftex-ref.el: Adapt creation of
5524 `reftex-<package>-<macro>' functions to new structure of
5525 `reftex-ref-style-alist'.
375e49d4
SM
5526 (reftex-reference): Use `reftex-ref-style-list' function.
5527 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
5528 reference macro if `reftex-ref-macro-prompt' is non-nil.
5529 (reftex-reference): Pass refstyle to `reftex-format-special'.
5530 Determine reference macro by looking at
375e49d4
SM
5531 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5532 Use only one special format function.
4f595e15
RA
5533 (reftex-varioref-vref, reftex-fancyref-fref)
5534 (reftex-fancyref-Fref): Remove definitions. The functions are now
5535 generated from `reftex-ref-style-alist'.
5536 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5537 Remove.
5538 (reftex-format-special): New function.
5539
5540 * textmodes/reftex-sel.el
5541 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5542 of `reftex-ref-style-alist'. Remove code for testing macro type.
5543 (reftex-select-toggle-varioref)
5544 (reftex-select-toggle-fancyref): Remove.
5545 (reftex-select-cycle-ref-style-internal)
5546 (reftex-select-cycle-ref-style-forward)
5547 (reftex-select-cycle-ref-style-backward): New functions.
5548 (reftex-select-label-map): Use `v' and `V' for general cycling
5549 through reference styles. Add `p' for switching between number
5550 and page reference types.
5551
375e49d4
SM
5552 * textmodes/reftex-toc.el (reftex-re-enlarge):
5553 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
5554 the horizontal version throws an error even if the parameter is 0.
5555
5556 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5557 (reftex-plug-into-AUCTeX): Doc fix.
5558 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5559 string. Adapt to new name.
5560 (reftex-ref-style-alist): Change structure so that it is not
5561 possible to use multiple different package names within a style.
375e49d4
SM
5562 Remove the symbols for symbols for macro type distinction.
5563 Add characters for macro selection.
4f595e15
RA
5564 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5565 (reftex-create-bibtex-footer): New variables.
5566 (reftex-format-ref-function): Mention third argument of special
5567 format function.
375e49d4
SM
5568 (reftex-ref-style-alist, reftex-ref-style-default-list):
5569 New variables.
4f595e15
RA
5570 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5571 to new implementation. Mark as obsolete. Add compatibility code
5572 for honoring the variable values in case they are set.
375e49d4
SM
5573 (reftex-cite-format-builtin, reftex-bibliography-commands):
5574 Add support for ConTeXt.
5575 (reftex-format-ref-function, reftex-format-cite-function):
5576 Fix custom type.
4f595e15
RA
5577 (reftex-cite-key-separator): New variable.
5578
5579 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5580 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5581 `reftex-syntax-table' because parens have to retain their paren
5582 syntax in order for parsing of BibTeX entries like @book(...) to
5583 work.
5584 (reftex-in-comment): Do not error out if `comment-start-skip' is
5585 not set. Deal correctly with escaped comment characters.
375e49d4
SM
5586 (reftex-tie-multifile-symbols): Add doc string.
5587 Initialize `reftex-ref-style-list'.
4f595e15
RA
5588 (reftex-untie-multifile-symbols): Add doc string.
5589 (reftex-add-index-macros): Doc fix.
5590 (reftex-ref-style-activate, reftex-ref-style-toggle)
5591 (reftex-ref-style-list): New functions.
5592 (reftex-mode-menu): Use them. Adapt to new structure of
5593 `reftex-ref-style-alist'.
5594 (reftex-select-with-char): Kill the RefTeX Select buffer when
5595 done.
5596 (reftex-remove-if): New function.
5597 (reftex-erase-all-selection-and-index-buffers)
5598 (reftex-mode-menu): Reference styles are now computed from
5599 `reftex-ref-style-alist'. Fix typo.
5600 (reftex-report-bug): New function.
5601 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5602 algorithms with O(n log n). Introduce optional argument SORT (not
5603 yet used).
5604
440ba395
FEG
56052012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5606
5607 Enhancements for triple-quote string syntax.
375e49d4
SM
5608 * progmodes/python.el (python-syntax-propertize-function):
5609 Match both quote cases in one regexp.
440ba395
FEG
5610 (python-syntax-stringify): Handle matches properly.
5611
4c478e6b
JL
56122012-09-30 Juri Linkov <juri@jurta.org>
5613
5614 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 5615 to nil around the call to `insert' to prevent
4c478e6b
JL
5616 directory time modification by lock_file. (Bug#2295)
5617 * tar-mode.el (tar-summarize-buffer): Idem.
5618
d80d54b2
JL
56192012-09-30 Juri Linkov <juri@jurta.org>
5620
5621 * facemenu.el (list-colors-sort): Add option "Luminance".
5622 (list-colors-sort-key): Implement it.
5623
5624 * vc/diff-mode.el (diff-refine-removed):
5625 * vc/ediff-init.el (ediff-fine-diff-A):
5626 * vc/smerge-mode.el (smerge-refined-removed):
5627 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5628
d7e642cc
JD
56292012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5630
5631 * term/ns-win.el (x-file-dialog): New function.
5632
ee41332b
JB
56332012-09-30 Juanma Barranquero <lekktu@gmail.com>
5634
5635 * ido.el (ido-max-directory-size): Default to nil; the current
5636 default is small for POSIX systems, and impractical on Windows 7
5637 now that lstat returns directory sizes for NTFS.
5638
5938d519
MR
56392012-09-30 Martin Rudalics <rudalics@gmx.at>
5640
5641 In buffer display functions handle window-height/window-width
5642 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
5643 * window.el (window--display-buffer): New argument ALIST.
5644 Obey window-height and window-width alist entries.
5645 (window--try-to-split-window): New argument ALIST.
5646 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
5647 changed and window-combination-limit equals `window-size'.
5648 (display-buffer-in-atom-window)
5649 (display-buffer-in-major-side-window)
5650 (display-buffer-in-side-window, display-buffer-same-window)
5651 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5652 (display-buffer-pop-up-window, display-buffer-below-selected)
5653 (display-buffer-at-bottom, display-buffer-in-previous-window)
5654 (display-buffer-use-some-window): Adjust all callers of
5655 window--display-buffer and window--try-to-split-window.
5656 (fit-frame-to-buffer): New option.
5657 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5658 is non-nil.
5659 (display-buffer-in-major-side-window): Evaluate window-height /
5660 window-width alist entries.
5661
5662 * help.el (temp-buffer-resize-frames)
5663 (temp-buffer-resize-regexps): Remove options.
5664 (temp-buffer-resize-mode): Adjust doc-string.
5665 (resize-temp-buffer-window): Don't consult
5666 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5667 temp-buffer-resize-frames.
5668
375e49d4
SM
5669 * dired.el (dired-mark-pop-up):
5670 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
5671 entry.
5672
c4c0c2df
CY
56732012-09-30 Chong Yidong <cyd@gnu.org>
5674
48de8b12
CY
5675 * server.el (server-host): Document the security implications.
5676 (server-auth-key): Doc fix.
5677
5678 * startup.el (initial-buffer-choice): Doc fix.
5679
5680 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5681
a97dc380
CY
5682 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5683 restriction change.
5684
d39d3c8e
CY
5685 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5686
c4c0c2df
CY
5687 * help-fns.el (help-fns--obsolete): Fix last change.
5688
98a5e33b
SM
56892012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5690
34cf6f39
SM
5691 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5692 (minor-mode-map-alist): Remove redundant code.
5693
e01c13fe
SM
5694 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5695 visited in a buffer.
5696 (cvs-insert-visited-file): New function.
5697 (find-file-hook): Use it.
5698
5699 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5700
02661b3a
SM
5701 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5702 chose face.
5703 (log-edit-empty-buffer-p): Don't require a space after a header.
5704
43711d4b
SM
5705 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5706
38a30d64
SM
5707 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5708
4ffb41a9
SM
5709 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5710 a proper minor-mode.
5711
98a5e33b
SM
5712 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5713
de82e29b
GM
57142012-09-29 Glenn Morris <rgm@gnu.org>
5715
5cc2e639
GM
5716 * winner.el (winner-mode): Remove variable (let define-minor-mode
5717 handle it).
5718 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5719 Doc fixes.
5720 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5721 (winner-mode): Use define-minor-mode.
5722
7bd302eb
GM
5723 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5724 the full definition in loaddefs, rather than duplicating it.
5725
2923922f 5726 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 5727
0e3e4156
GM
5728 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5729 (inferior-lisp-program, inferior-lisp-load-command)
5730 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 5731 No need to autoload defcustoms.
0e3e4156 5732
de82e29b
GM
5733 * hippie-exp.el (hippie-expand-try-functions-list)
5734 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5735 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5736 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 5737 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
5738 * progmodes/vhdl-mode.el (vhdl-line-expand):
5739 Explicitly load hippie-exp, so it does not get autoloaded
5740 while hippie-expand-try-functions-list is let-bound.
5741
e60b51ab
GM
57422012-09-28 Glenn Morris <rgm@gnu.org>
5743
277f0cfa
GM
5744 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5745
e60b51ab
GM
5746 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5747 Only "cl.el" counts as cl these days.
5748
53baf48a
JL
57492012-09-28 Juri Linkov <juri@jurta.org>
5750
5751 Display archive errors in the echo area instead of inserting
5752 to the file buffer.
5753
5754 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5755 to STDERR-TEST that can be a regexp matching a successful output.
5756 Create a temporary file and redirect stderr to it. Search for
5757 STDERR-TEST in the stderr output and display it in the echo area
5758 if no match is found.
5759 (archive-extract-by-file): New function like
5760 `archive-extract-by-stdout' but extracting archives to files
5761 and looking for successful matches in stdout. Function body is
5762 mostly copied from `archive-rar-extract'.
5763 (archive-rar-extract): Use `archive-extract-by-file'.
5764 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5765
9c1228c3
LL
57662012-09-28 Leo Liu <sdl.web@gmail.com>
5767
375e49d4
SM
5768 * pcomplete.el (pcomplete-show-completions):
5769 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 5770
9c1228c3
LL
5771 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5772
7f457c06
SM
57732012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5774
3df749b0
SM
5775 * type-break.el: Use lexical-binding.
5776 (type-break-mode): Use define-minor-mode.
5777
7f457c06
SM
5778 * emacs-lisp/pcase.el (pcase--mark-used): New.
5779 (pcase--u1): Use it (bug#12512).
5780
5781 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5782 in load-history with the right file name.
5783
c00ebc98
TH
57842012-09-28 Tassilo Horn <tsdh@gnu.org>
5785
5786 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5787 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5788 (doc-view-get-bounding-box): Make bounding box slicing work for
5789 ODF and DVI documents.
5790
96fb7170
GM
57912012-09-28 Glenn Morris <rgm@gnu.org>
5792
5793 * type-break.el (type-break-mode, type-break-interval)
5794 (type-break-good-rest-interval, type-break-keystroke-threshold):
5795 No need to autoload.
5796 (type-break-good-rest-interval, type-break-keystroke-threshold):
5797 Add :set-after.
5798
5bc93c67
CY
57992012-09-28 Chong Yidong <cyd@gnu.org>
5800
5801 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5802 Add :version tag.
5803
9cad61d6
SM
58042012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5805
e28e67b3 5806 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 5807
daee954c
GM
58082012-09-27 Glenn Morris <rgm@gnu.org>
5809
a88324d4
GM
5810 * faces.el (x-display-name): Declare (for without-x builds).
5811
8e5064e5
GM
5812 * linum.el (linum-format): Don't autoload it. Improve :type.
5813
cc1783c2
GM
5814 * progmodes/tcl.el: Don't require outline when compiling.
5815 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
5816 * textmodes/sgml-mode.el: Don't require outline when compiling.
5817 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5818
48c339f2
GM
5819 * term.el (term-ansi-reset):
5820 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5821
daee954c
GM
5822 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5823 files for RCS and SCCS. (Bug#9781)
5824
b7f42161
CY
58252012-09-27 Chong Yidong <cyd@gnu.org>
5826
5827 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5828 change; value should be t.
5829
a2e770db
SM
58302012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5831
83600dc8
SM
5832 * image-mode.el: Use lexical-binding.
5833 (image-mode-winprops): Use t to stand for the window of
5834 a buffer that's not displayed.
5835 * doc-view.el (doc-view-new-window-function): Handle the new
5836 t in winprops.
5837 (doc-view-enlarge): Make it a real nop if the size is not changed.
5838 (doc-view-display): Handle the case where the buffer is not (yet?)
5839 displayed in any window.
5840 (doc-view-saved-settings): New var.
5841 (doc-view-mode): Use it.
5842 (doc-view-fallback-mode): Set it.
5843
a2e770db
SM
5844 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5845 Set lexical-binding.
5846 (minibuffer-eldef-shorten-default): New var.
5847 (minibuffer-default-in-prompt-regexps): Use it for new default.
5848 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5849
e3b60857
JB
58502012-09-26 Juanma Barranquero <lekktu@gmail.com>
5851
5852 * international/uni-bidi.el:
5853 * international/uni-category.el:
5854 * international/uni-name.el:
5855 * international/uni-numeric.el: Regenerate.
5856
3a880af4
SM
58572012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5858 Stefan Monnier <monnier@iro.umontreal.ca>
5859
5860 * profiler.el: New file.
5861
07b1a5fb
SM
58622012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5863
5864 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5865 (testcover-reinstrument): Simplify with CSE.
5866
42019c2e
JB
58672012-09-26 Juanma Barranquero <lekktu@gmail.com>
5868
5869 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5870
179f044b
WS
58712012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5872
5873 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5874 (verilog-auto-input, verilog-auto-insert-lisp)
5875 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5876 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5877 (verilog-auto-unused, verilog-auto-wire)
5878 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5879 newline. Reported by Andrew Jones.
5880 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5881 Reported by Brad Dobbie.
07b1a5fb
SM
5882 (verilog-batch-delete-trailing-whitespace):
5883 Create verilog-batch-delete-trailing-whitespace.
5884 Reported by Brad Dobbie.
179f044b
WS
5885 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5886 parameters from another module. Reported by Dan Katz.
5887 (verilog-auto, verilog-auto-assign-modport)
5888 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5889 AUTOINOUTMODPORT for UVM interface module shell generation.
5890 Reported by Brad Dobbie.
5891 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5892 standard behavior.
5893 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5894 Reported by Matt Martin.
5895
9c52dd5a
MR
58962012-09-25 Martin Rudalics <rudalics@gmx.at>
5897
5898 * window.el (window--resize-child-windows): When resizing child
5899 windows proportionally, process them in reverse order to
5900 preserve the "when splitting a window the new one gets the odd
5901 line" behavior.
5902 (window--resize-root-window-vertically): When resizing the
5903 minibuffer window try to affect only windows at the bottom of the
5904 frame. (Bug#12419)
5905
863666eb
CY
59062012-09-25 Chong Yidong <cyd@gnu.org>
5907
5908 * subr.el (declare): Doc fix.
5909
5910 * help-fns.el (help-fns--obsolete): Handle macros properly.
5911
59f7af81
CY
59122012-09-25 Chong Yidong <cyd@gnu.org>
5913
5914 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5915 this function obsolete.
5916
5917 * calendar/cal-x.el (calendar-two-frame-setup)
5918 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5919 * calendar/calendar.el (american-calendar, european-calendar)
5920 (calendar-for-loop):
5921 * comint.el (comint-dynamic-simple-complete)
5922 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5923 * desktop.el (desktop-load-default):
5924 * dired-x.el (dired-omit-here-always)
5925 (dired-hack-local-variables, dired-default-directory):
5926 * emacs-lisp/derived.el (derived-mode-class):
5927 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5928 * emacs-lock.el (toggle-emacs-lock):
5929 * epa.el (epa-display-verify-result):
5930 * epg.el (epg-sign-keys, epg-start-sign-keys)
5931 (epg-passphrase-callback-function):
5932 * eshell/esh-util.el (eshell-for):
5933 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5934 (eshell-add-to-window-buffer-names):
5935 * files.el (locate-file-completion):
5936 * imenu.el (imenu-example--create-c-index)
5937 (imenu-example--create-lisp-index)
5938 (imenu-example--lisp-extract-index-name)
5939 (imenu-example--name-and-position):
5940 * international/mule-cmds.el (princ-list):
5941 * international/mule-diag.el (decode-codepage-char):
5942 * international/mule-util.el (detect-coding-with-priority):
5943 * iswitchb.el (iswitchb-read-buffer):
5944 * mail/mailalias.el (mail-complete):
5945 * mail/sendmail.el (mail-sent-via):
5946 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5947 (mouse-major-mode-menu):
5948 * password-cache.el (password-read-and-add):
5949 * pcomplete.el (pcomplete-parse-comint-arguments):
5950 * progmodes/sh-script.el (sh-maybe-here-document):
5951 * replace.el (query-replace-regexp-eval):
5952 * savehist.el (savehist-load):
5953 * simple.el (choose-completion-delete-max-match):
5954 * term.el (term-dynamic-simple-complete):
5955 * vc/ediff-init.el (ediff-check-version):
5956 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5957 * vc/vc.el (vc-diff-switches-list):
5958 * view.el (view-return-to-alist-update): Likewise.
5959
5960 * subr.el (eval-next-after-load, makehash, insert-string)
5961 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5962 mark obsolete.
5963 (mode-line-inverse-video): Variable deleted.
5964
5965 * international/mule-util.el (string-to-sequence): Remove.
5966
5967 * calendar/calendar.el (calendar-version):
5968 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5969 (icalendar-convert-diary-to-ical):
5970 * cus-edit.el (custom-mode):
5971 * ansi-color.el (ansi-color-unfontify-region):
5972 * international/latin1-disp.el (latin1-char-displayable-p):
5973 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
5974 * progmodes/which-func.el (which-func-update-1):
5975 Use define-obsolete-function-alias.
59f7af81
CY
5976
5977 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
5978 * net/newst-treeview.el (newsticker-groups-filename):
5979 Fix incorrect obsolescence declaration.
59f7af81
CY
5980
5981 * allout.el (allout-passphrase-hint-string): Likewise.
5982 (allout-init): Use a declare form to mark obsolete.
5983
5984 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5985 this applies to functions.
5986
5987 * iswitchb.el (iswitchb-read-buffer): Move code of
5988 iswitchb-define-mode-map here, and delete that obsolete function.
5989
5990 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5991 font-lock-reference-face.
5992
cca96c97
GM
59932012-09-25 Glenn Morris <rgm@gnu.org>
5994
b06eeda8
GM
5995 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5996 Doc fixes.
5997
cca96c97
GM
5998 * eshell/em-term.el (eshell-term-name):
5999 Default to term-term-name. (Bug#12485)
6000
dc4f818b
FEG
60012012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6002
cca96c97
GM
6003 * progmodes/python.el (python-shell-send-buffer): Better handling
6004 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 6005
289c24bd
GM
60062012-09-24 Glenn Morris <rgm@gnu.org>
6007
6008 * eshell/esh-cmd.el (eshell-find-alias-function):
6009 Tighten up file-name regexp. (Bug#12499)
6010
8fb8b88f
FEG
60112012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6012
6013 Enhancements for triple-quote string syntax.
6014 * progmodes/python.el (python-quote-syntax): Remove.
6015 (python-syntax-propertize-function): New value.
07b1a5fb
SM
6016 (python-syntax-count-quotes, python-syntax-stringify):
6017 New functions.
8fb8b88f 6018
6c27f0f8
CY
60192012-09-24 Chong Yidong <cyd@gnu.org>
6020
a5f2b6ec
CY
6021 * mail/supercite.el (sc-version): Remove obsolete function.
6022 (sc-describe): Don't mark as obsolete, since it is bound.
6023 (sc-submit-bug-report): Remove.
6024
6025 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6026 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
6027 (log-edit-require-final-newline)
6028 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
6029
6030 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6031 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6032 * vc/vc.el (vc-checkout-carefully): Likewise.
6033
6034 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6035 (emerge-version): Remove.
6036
6037 * progmodes/compile.el (compile-internal): Remove.
6038 (compilation-parse-errors-function): Fix typo.
6039
6040 * international/mule.el (set-char-table-default): Remove.
6041 (set-coding-priority, make-coding-system, generic-char-p)
6042 (charset-list, charset-bytes, charset-id): Use declare to mark
6043 functions as obsolete.
6044
6045 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6046 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6047 * vc/vc-hooks.el (vc-default-registered): Don't use
6048 vc-master-templates.
6049
07b1a5fb
SM
6050 * font-lock.el (font-lock-reference-face):
6051 Use define-obsolete-variable-alias.
6c27f0f8
CY
6052
6053 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6054 * calendar/calendar.el (calendar-font-lock-keywords):
6055 * calendar/diary-lib.el (diary-font-lock-keywords)
6056 (diary-fancy-font-lock-keywords):
6057 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6058 * textmodes/reftex-index.el (reftex-insert-index):
6059 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6060 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6061 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6062 * progmodes/prolog.el (prolog-font-lock-keywords):
6063 * progmodes/idlwave.el (idlwave-idl-keywords):
6064 * progmodes/ada-mode.el (ada-font-lock-keywords):
6065 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6066
bcc0adbf
GM
60672012-09-24 Glenn Morris <rgm@gnu.org>
6068
6069 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6070
095bb823
FEG
60712012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6072
6073 * progmodes/python.el (python-indent-line): More consistent cursor
6074 movement behavior.
6075
70efc5c9
SM
60762012-09-23 Stefan Merten <smerten@oekonux.de>
6077
6078 * textmodes/rst.el: Fix compiler warning.
6079
2f438239
RW
60802012-09-23 Roland Winkler <winkler@gnu.org>
6081
07b1a5fb
SM
6082 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6083 Transcribe also LaTeX hyphenation.
2f438239
RW
6084 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6085 bibtex-reformat-previous-options.
6086
936ad041
RW
60872012-09-23 Roland Winkler <winkler@gnu.org>
6088
6089 * proced.el (proced-renice-command): New variable.
6090 (proced-marked-processes): New function.
6091 (proced-with-processes-buffer): New macro.
6092 (proced-send-signal): Use them.
6093 (proced-renice): New command bound to r.
6094
6fab0274
RW
60952012-09-23 Roland Winkler <winkler@gnu.org>
6096
6097 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6098 ibuffer-saved-filter-groups has one element, shortcut the call of
6099 completing-read. (Bug#12331)
6100
9a930676
CY
61012012-09-23 Chong Yidong <cyd@gnu.org>
6102
6103 * bindings.el (mode-line-toggle-read-only):
6104 * bs.el (bs-toggle-readonly):
6105 * buff-menu.el (Buffer-menu-toggle-read-only):
6106 * dired.el (dired-toggle-read-only):
6107 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6108
d07ff9db
CY
61092012-09-23 Chong Yidong <cyd@gnu.org>
6110
6111 * image.el (image-type-available-p): Adapt to init-image-library
6112 argument changes.
6113
51c4474e
JL
61142012-09-22 Juri Linkov <juri@jurta.org>
6115
6116 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6117 `dired-toggle-read-only'. (Bug#12462)
6118
43bf5e8e
MR
61192012-09-22 Martin Rudalics <rudalics@gmx.at>
6120
6121 * subr.el (temp-output-buffer-show): New function.
6122 (with-output-to-temp-buffer): Call temp-output-buffer-show
6123 instead of internal-temp-output-buffer-show.
6124
c88b867f
CY
61252012-09-22 Chong Yidong <cyd@gnu.org>
6126
3df47cd5
CY
6127 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6128 (Bug#12462).
6129
c88b867f
CY
6130 * repeat.el (repeat): Doc fix (Bug#12348).
6131
6132 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6133 (Bug#10909).
6134
6135 * simple.el (shell-command-on-region): Doc fix.
3171e303 6136 (read-only-mode): Doc fix.
c88b867f 6137
df9685f3
EZ
61382012-09-22 Eli Zaretskii <eliz@gnu.org>
6139
6140 * emacs-lisp/timer.el (run-with-idle-timer)
6141 (timer-activate-when-idle): Warn against reinvoking an idle timer
6142 from within its own timer action. (Bug#12447)
6143
8e17c9ba
MR
61442012-09-22 Martin Rudalics <rudalics@gmx.at>
6145
6146 * cus-start.el (window-combination-limit): Add new optional
6147 values.
6148 * window.el (temp-buffer-window-show)
6149 (window--try-to-split-window): Handle new values of
6150 window-combination-limit (Bug#1806).
6151 (split-window): Test window-combination-limit for t instead of
6152 non-nil.
6153 (display-buffer-at-bottom): New buffer display action function.
6154 * help.el (temp-buffer-resize-regexps): New option.
6155 (temp-buffer-resize-mode): Rewrite doc-string.
6156 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 6157 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 6158
48a24920
SM
61592012-09-22 Stefan Merten <smerten@oekonux.de>
6160
70efc5c9 6161 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
6162 (rst-official-version)
6163 (rst-package-emacs-version-alist): Sync with official version
6164 V1.4.0.
6165 (rst-faces-defaults, rst-set-level-default)
6166 (rst-level-face-max, rst-level-face-base-color)
6167 (rst-level-face-base-light, rst-level-face-format-light)
6168 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6169 (rst-adornment-faces-alist): Match new setup.
6170 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6171 (rst-level-5, rst-level-6): New faces.
6172
82f8cd94
CY
61732012-09-22 Chong Yidong <cyd@gnu.org>
6174
6175 * simple.el (undo): Handle indirect buffers (Bug#8207).
6176
acfa068f 61772012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
6178
6179 IDO: Disable match re-ordering for buffer switching.
2bc9406c 6180 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
6181 (ido-set-matches-1): Use it. (Bug#2042)
6182
acfa068f 61832012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
6184
6185 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6186 Fix 2011-05-17 change. (Bug#12418)
6187
acfa068f 61882012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
6189
6190 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6191
acfa068f 61922012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
6193
6194 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6195 Be more robust about locating simple.el.
6196
acfa068f 61972012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
6198
6199 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6200
acfa068f
CY
62012012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6202
6203 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6204
41a97e6f
JL
62052012-09-20 Juri Linkov <juri@jurta.org>
6206
eb2deaff
JL
6207 * replace.el (query-replace-read-from): Use `read-regexp' instead
6208 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6209 (occur-read-primary-args): Use `read-regexp' instead of
6210 `read-string'.
6211 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6212 `read-from-minibuffer'.
6213 * isearch.el (isearch-occur): Use `read-regexp' instead of
6214 `read-string'.
6215 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6216 `read-from-minibuffer'.
6217 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6218 of `read-string'. (Bug#7567)
6219
5825610b
JL
6220 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6221 and allow accepting a list of strings prepended to a list of
6222 standard default values. Doc fix. (Bug#12321)
6223
eebbf404
JL
6224 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6225
41a97e6f
JL
6226 * replace.el (read-regexp): Don't add ": " when PROMPT already
6227 ends with a colon and space. (Bug#12321)
6228
c9e452d3
TH
62292012-09-20 Tassilo Horn <tsdh@gnu.org>
6230
6231 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6232 error.
6233
ee97deee
SM
62342012-09-20 Stefan Merten <smerten@oekonux.de>
6235
70efc5c9 6236 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
6237 Fixes feature request bug#11711.
6238 (rst-mode): Create `imenu-create-index-function'.
6239 (rst-get-stripped-line): Delete after refactoring.
6240 (rst-section-tree, rst-section-tree-rec)
6241 (rst-section-tree-point): Refactor and document properly.
6242 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
6243 (rst-imenu-convert-cell, rst-imenu-create-index):
6244 New function.
ee97deee 6245
f490dab9
SM
62462012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6247
95b9712e
SM
6248 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6249 (macroexp--expand-all): Use it.
6250 (macroexp--funcall-and-return): Remove by folding it into its sole
6251 caller (macroexp--warn-and-return).
6252 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6253 Use macroexp--obsolete-warning.
6254
f490dab9
SM
6255 * calc/calc.el: Fix last change by removing the whole chunk, since it
6256 was only needed back when Calc was not bundled.
6257
96e8d411
MR
62582012-09-20 Martin Rudalics <rudalics@gmx.at>
6259
6260 * emacs-lisp/debug.el (debug): Restore assignment to
6261 debugger-old-buffer removed on 2012-09-08.
6262
0876a82d
JL
62632012-09-20 Juri Linkov <juri@jurta.org>
6264
6265 * dired-aux.el (dired-diff): Remove (require 'diff) since
6266 `diff-latest-backup-file' is now autoloaded.
6267
9f7c28f0
CY
62682012-09-20 Chong Yidong <cyd@gnu.org>
6269
6270 * vc/diff.el (diff-latest-backup-file): Autoload.
6271
7a04bee9
SM
62722012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6273
e6f0a80d
SM
6274 * calc/calc.el: Remove redundant autoload shape check.
6275 (sel-mode): Don't defvar.
6276 (calc-get-stack-element): Add `sel-mode' arg instead.
6277 (calc-top, calc-top-list): Pass it this additional argument.
6278 * calc/calc-store.el (calc-store-map):
6279 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6280 (calc-map-equation, calc-outer-product, calc-inner-product):
6281 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6282
7a04bee9
SM
6283 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6284
12734222
JL
62852012-09-19 Juri Linkov <juri@jurta.org>
6286
6287 * dired-aux.el (dired-diff): Add (require 'diff) because
6288 `diff-latest-backup-file' is not autoloaded.
6289 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6290 of `dired-get-filename' to t to not report error when there is
6291 no default file on the current line.
6292
46624b4f
SM
62932012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6294
ce97595b
SM
6295 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6296 macroexp--eval-if-compile.
6297 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6298 (macroexp--expand-all): Use them (bug#12371).
6299
46624b4f
SM
6300 * doc-view.el (doc-view-guess-paper-size)
6301 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6302
db8a5a18
TH
63032012-09-19 Tassilo Horn <tsdh@gnu.org>
6304
6305 New feature: set optimal slice from BoundingBox information.
6306 * doc-view.el (doc-view-mode-map): Add keybinding.
6307 (doc-view-menu): Add menu entry.
6308 (doc-view-set-slice): Adapt docstring.
6309 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6310 (doc-view-scale-bounding-box)
6311 (doc-view-set-slice-from-bounding-box): New functions.
6312 (doc-view-paper-sizes): New defvar.
6313
69f6644c
GM
63142012-09-19 Glenn Morris <rgm@gnu.org>
6315
35f5b19d
GM
6316 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6317 (byte-compile-log-warning): Autoload. (Bug#12371)
6318
69f6644c
GM
6319 * calendar/calendar.el (calendar-american-month-header)
6320 (calendar-european-month-header, calendar-iso-month-header)
6321 (calendar-month-header): New options.
6322 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6323 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6324
e543ae91
JD
63252012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6326
6327 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6328
2fd5e67d
JL
63292012-09-18 Juri Linkov <juri@jurta.org>
6330
6331 * dired-aux.el (dired-diff): Restore original functionality of
6332 getting the default value, but keep new feature of using the
6333 latest existing backup file (`diff-latest-backup-file').
6334
42917e79
JL
63352012-09-18 Juri Linkov <juri@jurta.org>
6336
6337 * dired.el (dired-mark): If the region is active in Transient Mark
6338 mode, mark all files in the active region. Doc fix.
6339 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6340 Doc fix. (Bug#10624)
6341
20f70ede
JL
63422012-09-18 Juri Linkov <juri@jurta.org>
6343
6344 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6345 attributes for M-n are pulled from the file at point.
6346 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6347 Suggested by Drew Adams. (Bug#10624)
6348
32fb8162
DG
63492012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6350
6351 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6352 whitespace after "end".
6353 (ruby-do-end-to-brace): Collapse block to one line if it fits
6354 within fill-column.
6355
37ab5092
MR
63562012-09-18 Martin Rudalics <rudalics@gmx.at>
6357
6358 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6359 value.
6360 (debug): Don't remove debugger window when debugger is expected
6361 to be back.
6362
ed1f0bd3
CY
63632012-09-18 Chong Yidong <cyd@gnu.org>
6364
6365 * custom.el (defface): Doc fix.
6366
6367 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6368
a11035b8
MB
63692012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6370
6371 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6372 to initialize query-on-exit; then test that instead (bug#12288).
6373
64f6a736
SM
63742012-09-17 Stefan Merten <smerten@oekonux.de>
6375
70efc5c9 6376 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
6377 (rst-defcustom-testcover, rst-testcover-add-compose)
6378 (rst-testcover-add-1value): New functions.
6379 (rst-portable-mark-active-p): Replace by `use-region-p'.
6380 (rst-update-section, rst-classify-adornment)
6381 (rst-find-title-line): Mark `1value' forms.
6382 (rst-classify-adornment): Remove superfluous form.
6383 (rst-update-section, rst-get-adornments-around)
6384 (rst-adornment-complete-p, rst-get-next-adornment)
6385 (rst-adjust, rst-promote-region)
6386 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6387 (rst-find-pfx-in-region, rst-section-tree-rec)
6388 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6389 (rst-toc-node, rst-toc, rst-forward-section)
6390 (rst-iterate-leftmost-paragraphs)
6391 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6392 (rst-bullet-list-region)
6393 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6394 (rst-compile-find-conf, rst-compile)
6395 (rst-repeat-last-character): Fix style.
6396
580bd868
CY
63972012-09-17 Chong Yidong <cyd@gnu.org>
6398
6399 * comint.el (comint--complete-file-name-data): Don't add a space
6400 if the status is `sole'; that adds a gratuitous space in the
6401 completion-cycling case (Bug#12092).
6402
6403 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6404
69de3ec6
RS
64052012-09-17 Richard Stallman <rms@gnu.org>
6406
0dee970c
RS
6407 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6408 only in the mime-shown mode, not in raw mode.
6409 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 6410 mime processing. (Bug#12305)
0dee970c 6411
6b250df6
GM
6412 * mail/rmail.el (rmail-retry-failure):
6413 Turn off mime processing first. (Bug#12037)
acb1c47b 6414
69de3ec6
RS
6415 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6416
d079ee5f
CY
64172012-09-17 Chong Yidong <cyd@gnu.org>
6418
6419 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6420 (shell-dynamic-complete-functions): Convert to defcustom.
6421 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6422
865fe16f
CY
6423 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6424 * comint.el (comint-prompt-read-only):
6425 * custom.el (defcustom):
6426 * hi-lock.el (hi-lock-mode):
6427 * ibuffer.el (ibuffer-formats):
6428 * ielm.el (ielm-prompt-read-only):
6429 * novice.el (disable-command):
6430 * saveplace.el (toggle-save-place):
6431 * speedbar.el (speedbar-supported-extension-expressions):
6432 * startup.el (auto-save-list-file-prefix, init-file-user)
6433 (after-init-hook, inhibit-startup-echo-area-message):
6434 * strokes.el (strokes-help):
6435 * time-stamp.el (time-stamp):
6436 * calendar/calendar.el (calendar, diary-file):
6437 * calendar/diary-lib.el (diary-mail-entries, diary)
6438 (diary-list-entries-hook):
6439 * calendar/holidays.el (holidays, calendar-holidays):
6440 * calendar/lunar.el (lunar-phases):
6441 * calendar/solar.el (sunrise-sunset):
6442 * emulation/edt.el (edt-load-keys):
6443 * emulation/viper.el (viper-mode):
6444 * eshell/em-alias.el (eshell-command-aliases-list):
6445 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6446 * international/ogonek.el (ogonek-information):
6447 * net/tramp-cmds.el (tramp-bug):
6448 * net/quickurl.el (quickurl-reread-hook-postfix):
6449 * play/decipher.el (decipher-font-lock-keywords):
6450 * progmodes/cc-styles.el (c-set-style):
6451 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6452 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6453 * progmodes/octave-mod.el (octave-mode):
6454 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6455 * progmodes/verilog-mode.el (verilog-read-defines):
6456 * textmodes/two-column.el (2C-mode): Likewise.
6457
48093eb9
KY
64582012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6459
6460 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6461 that holds many addresses.
6462
c584eaf9
CY
64632012-09-16 Chong Yidong <cyd@gnu.org>
6464
40d70ecb
CY
6465 * align.el (align-areas): Call the indication function with
6466 positions instead of markers for arguments (Bug#12343).
6467
1667e065
CY
6468 * files.el (parse-colon-path): Use split-string (Bug#12351).
6469
fdc2806d 6470 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 6471 (display-buffer-function): Mark as obsolete.
fdc2806d 6472
f1be615c 6473 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
6474 values similar to font-lock-keywords (Bug#12136).
6475 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
6476 (compilation-error-regexp-alist): Doc fix.
6477
f40a9709
GM
64782012-09-15 Glenn Morris <rgm@gnu.org>
6479
72aa16e1
GM
6480 * version.el (emacs-bzr-version-bzr): New function.
6481 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6482
82375160
GM
6483 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6484 checkouts, check the parent dirstate matches the branch.
6485 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6486 empty string.
6487
f40a9709
GM
6488 * version.el (emacs-bzr-version): Doc fix.
6489 (emacs-bzr-version-dirstate): New function.
6490 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6491 is local try and check that it matches the branch. If not, just
6492 use dirstate information. (Bug#12441)
6493
cb26b7f5
JL
64942012-09-14 Juri Linkov <juri@jurta.org>
6495
6496 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6497 (Bug#12399)
6498
2de39f08
SM
64992012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6500
0fb3cb7c
SM
6501 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6502
2de39f08
SM
6503 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6504 Remove obsolete byte-compiler hack that tried to silence some warnings.
6505 (edebug-submit-bug-report): Remove.
6506 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6507 Remove aliases, use the un-prefixed name instead.
6508 (edebug-pop-to-buffer): Consider other frames.
6509 (edebug-original-read):: Make it more obvious that it's always defined.
6510 (edebug--make-form-data-entry, edebug--form-data-name)
6511 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6512 single-dashed name, and implement with cl-defstruct.
6513 (edebug-set-form-data-entry): Use the standard accessors.
6514 (edebug-make-top-form-data-entry): Use push.
6515 (edebug-no-match): Drop useless `funcall'.
6516 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6517 to functions.
6518 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6519 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6520 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6521 (easy-menu-define, with-custom-print): Remove redundant specs.
6522 (edebug-outside-overriding-local-map)
6523 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6524 (edebug--display): Bind unread-command-events directly to nil rather
6525 than binding it to unread-command-events and later setting it to nil.
6526 (edebug--display): Kill edebug-eval-buffer here...
6527 (edebug--recursive-edit): ...rather than here.
6528 Bind standard-output and standard-input.
6529 (edebug-eval): Check cl-macroexpand-all is fboundp.
6530 (edebug-temp-display-freq-count): Fix last change.
6531
6532 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6533 * subr.el (noreturn, 1value): Add `debug' spec.
6534 * emacs-lisp/advice.el: Require cl-lib.
6535 (ad-copy-tree): Remove, use copy-tree instead.
6536 (ad-dolist): Remove use dolist or cl-dolist instead.
6537 (ad-do-return): Remove, use cl-return instead.
6538 (defadvice): Add `debug' spec.
6539
5b68b333
JL
65402012-09-13 Juri Linkov <juri@jurta.org>
6541
6542 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6543 (Bug#12399)
6544
b9800ec4
GM
65452012-09-13 Glenn Morris <rgm@gnu.org>
6546
6a2e6868
GM
6547 * calc/calc.el (math-compose-expr):
6548 * calc/calc-ext.el (math-compose-expr):
6549 * progmodes/cc-defs.el (cl-macroexpand-all):
6550 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6551 (cl-macroexpand-all): Update declarations.
6552
b9800ec4
GM
6553 * vc/vc.el: No need to require ediff.
6554 (ediff-load-version-control): Declare.
6555 (ediff-vc-internal): Fix declaration.
6556 (vc-version-ediff): Require ediff.
6557
c18e885b
PE
65582012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6559
6560 Use a more backwards-compatible timer format (Bug#12430).
6561 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6562 being right after USECS, as that better supports old code that
6563 inadvisedly looked directly at the timer vector.
6564
d607d303
KH
65652012-09-13 Kenichi Handa <handa@gnu.org>
6566
6567 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6568 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6569 `coding-priority' property of these language environment.
6570
72eac303
PE
65712012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6572
6573 Fix glitches caused by addition of psec to timers (Bug#12430).
6574 * image.el (image-animate-timer):
6575 * time.el (display-time-world-timer):
6576 Use timer--function and timer--args rather than raw access to
6577 timer vector.
6578
2168fe4f
GM
65792012-09-13 Glenn Morris <rgm@gnu.org>
6580
6581 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6582 If not compiling a file, try using load-file-name.
6583
bd8d6108
SM
65842012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6585
c0c54fbd
SM
6586 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6587 Fix last change.
6588 (edebug-update-eval-list): Use `push'.
6589
bd8d6108
SM
6590 * emacs-lisp/edebug.el: Use lexical-binding.
6591 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6592 Mark unused args with underscore.
6593 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6594 (edebug-form-data): Use defvar-local.
6595 (edebug-make-before-and-after-form, edebug-make-after-form):
6596 Use backquote.
6597 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6598 Not dynamically scoped any more.
6599 (edebug--enter-trace): Add arguments `function' and `args'.
6600 Rename from edebug-enter-trace.
6601 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6602 (edebug--update-coverage): Add `after-index' and `value' args.
6603 Rename from edebug-update-coverage.
6604 (edebug-slow-after): Call it accordingly.
6605 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6606 edebug-recursive-edit.
6607 (edebug--display): Call it accordingly. Add args `value',
6608 `offset-index', and `arg-mode'. Rename from edebug-display.
6609 (edebug-debugger, edebug): Call it accordingly.
6610 (edebug-eval-display-list): Use dolist.
6611
a9f9d9de
JL
66122012-09-12 Juri Linkov <juri@jurta.org>
6613
6614 * info.el (Info-search): Don't check for isearch-mode and
6615 isearch-regexp before let-binding search-spaces-regexp to
6616 Info-search-whitespace-regexp.
6617 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6618 search-whitespace-regexp if isearch-lax-whitespace or
6619 isearch-regexp-lax-whitespace is non-nil.
6620 (Info-mode): Don't set local variable search-whitespace-regexp.
6621 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6622
bfeae2cf
SM
66232012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6626 (debugger-env-macro): Remove support for unread-command-char.
6627
6628 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6629 the temporary map re-appearing on emulation-mode-map-alists.
6630
6631 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6632 since 22.1.
6633
6634 * ehelp.el (with-electric-help): Accept functions in
6635 electric-help-form-to-execute.
6636 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6637 And replace unread-command-char -> unread-command-events.
6638
fbbcaf1b
MA
66392012-09-12 Michael Albinus <michael.albinus@gmx.de>
6640
6641 Sync with Tramp 2.2.6.
6642
6643 * net/tramp.el (tramp-accept-process-output): Don't use
6644 JUST-THIS-ONE in the XEmacs case.
6645
6646 * net/trampver.el: Update release number.
6647
4dece104
MR
66482012-09-12 Martin Rudalics <rudalics@gmx.at>
6649
bfeae2cf
SM
6650 * emacs-lisp/debug.el (debugger-previous-window-height):
6651 New variable.
4dece104
MR
6652 (debug): When debugger-jumping-flag is non-nil try to restore
6653 height of debugger window. (Bug#8789)
6654
45b82ad0
SM
66552012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6656
60c49c0f
SM
6657 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6658 overriding-local-map and pre/post-command-hook here.
6659 (edebug-recursive-edit): Do it here instead (bug#12345).
6660 (edebug-outside-unread-command-char): Remove all uses of
6661 unread-command-char.
6662
45b82ad0
SM
6663 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6664 inhibit-debugger is bound instead.
6665
baa26ea0
BG
66662012-09-11 Bastien Guerry <bzg@gnu.org>
6667
6668 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 6669 (Bug#12346)
baa26ea0 6670
04e8abfa
BG
66712012-09-11 Bastien Guerry <bzg@gnu.org>
6672
96d03571 6673 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 6674 (Bug#12347)
96d03571
BG
6675
66762012-09-11 Bastien Guerry <bzg@gnu.org>
6677
fc0c31f8 6678 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 6679
04e082b0
MM
66802012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6681
6682 * progmodes/sql.el: Version 3.1
6683 (sql-db2-escape-newlines): New variable.
6684 (sql-escape-newlines-filter): Use it.
6685
399a361b
JB
66862012-09-10 Juanma Barranquero <lekktu@gmail.com>
6687
6688 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6689
0780c517
DN
66902012-09-10 Dan Nicolaescu <dann@gnu.org>
6691
45b82ad0
SM
6692 * vc/diff-mode.el (diff-mode-menu):
6693 Bind diff-remove-trailing-whitespace.
0780c517 6694
9b851e25
SM
66952012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6696
6697 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
6698 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6699 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
6700 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6701 (eval-defun-2): Remove bogus interactive spec.
6702 (lisp-indent-line): Remove redundant whole-exp code, now done in
6703 indent-according-to-mode.
6704 (save-match-data): Remove redundant indent data.
6705
6706 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6707 Use `declare'.
6708
3231d532
JL
67092012-09-09 Juri Linkov <juri@jurta.org>
6710
6711 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6712 (replace-lax-whitespace, query-replace-regexp)
6713 (query-replace-regexp-eval, replace-regexp): Doc fix.
6714 (perform-replace, replace-highlight): Let-bind
6715 isearch-lax-whitespace to replace-lax-whitespace and
6716 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6717
6718 * isearch.el (isearch-query-replace): Let-bind
6719 replace-lax-whitespace to isearch-lax-whitespace and
6720 replace-regexp-lax-whitespace to
6721 isearch-regexp-lax-whitespace. (Bug#10885)
6722
70fe8236
SM
67232012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6726
8ed43f15
AM
67272012-09-09 Alan Mackenzie <acm@muc.de>
6728
70fe8236
SM
6729 * progmodes/cc-engine.el (c-state-cache-init):
6730 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6731 (c-record-parse-state-state):
6732 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 6733
bfabf70a
AS
67342012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6735
6736 * register.el (register-separator): Rename from
6737 separator-register. All uses changed. Doc fix.
6738 (register): Fix version.
6739
011474aa
CY
67402012-09-09 Chong Yidong <cyd@gnu.org>
6741
6742 * replace.el (query-replace-map): Bind four new symbols for
6743 requesting window scrolling.
6744
6745 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6746 query-replace-map (Bug#8948).
6747
6748 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6749
6750 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6751 since they are now in query-replace-map.
6752
6753 * window.el (scroll-other-window-down): Make the arg optional.
6754
a8b7cd8d
CY
67552012-09-09 Chong Yidong <cyd@gnu.org>
6756
6757 * files.el (hack-local-variables-confirm): Use quit-window to kill
6758 the *Local Variables* buffer.
6759
c3268831
DG
67602012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6761
6762 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6763 not just expect to be at its beginning. Adjust callees.
6764 Succeed when do-end block has no space before the pipe character.
6765 (ruby-brace-to-do-end): When the original block is one-liner,
6766 convert to multiline. Reindent the result.
6767
0979429b
J
67682012-09-08 Jambunathan K <kjambunathan@gmail.com>
6769
6770 * register.el (register): New group.
27359e99 6771 (separator-register): New user option.
0979429b
J
6772 (increment-register): Route it to `append-to-register', if
6773 register contains text. Implication is that `C-x r +' can now be
6774 used for appending to a text register (bug#12217).
6775 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 6776 `separator-register'.
0979429b 6777
ace2989a
AM
67782012-09-08 Alan Mackenzie <acm@muc.de>
6779
6780 AWK Mode: make auto-newline work when there's "==" in the pattern.
6781 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6782 correctly.
0979429b
J
6783 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6784 Test more rigorously for "=" token.
ace2989a 6785
616c6c36
DG
67862012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6787
0979429b
J
6788 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6789 Only fail when reached LIMIT.
616c6c36 6790
35d98877
CY
67912012-09-08 Chong Yidong <cyd@gnu.org>
6792
6793 * dired.el (dired-mode-map): Don't bind M-=.
6794
6795 * dired-aux.el (dired-diff): Use backup file as default.
6796
1715f2db
DA
67972012-09-08 Drew Adams <drew.adams@oracle.com>
6798
6799 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6800
6dcef6ec
CY
68012012-09-08 Chong Yidong <cyd@gnu.org>
6802
6803 * subr.el (syntax-after, syntax-class): Doc fix.
6804
fa2bcf43
MR
68052012-09-08 Martin Rudalics <rudalics@gmx.at>
6806
6807 * window.el (display-buffer-in-previous-window): New buffer
6808 display action function.
6809
6810 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6811 (debugger-previous-window): New variable.
6812 (debug): Rewrite using display-buffer-in-previous-window,
6813 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6814
daac280a
SM
68152012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6818
9dd40b00
MM
68192012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6820
daac280a
SM
6821 * progmodes/python.el (python-shell-send-string):
6822 When default-directory is remote, create temp file on remote
9dd40b00
MM
6823 filesystem.
6824 (python-shell-send-file): When file is remote, pass local view of
6825 file paths to remote Python interpreter. (Bug#12340)
6826
145823ec
CY
68272012-09-07 Chong Yidong <cyd@gnu.org>
6828
cee2e90d
CY
6829 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6830
0d7eb2ea
CY
6831 * files.el (after-find-file): Don't fail on a read-only buffer if
6832 require-final-newline is `visit' or `visit-save' (Bug#11156).
6833
145823ec
CY
6834 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6835
daac280a
SM
6836 * userlock.el (ask-user-about-supersession-threat):
6837 Use read-char-choice (Bug#12093).
145823ec 6838
74c582e6
CY
68392012-09-07 Chong Yidong <cyd@gnu.org>
6840
e5c2edf7
CY
6841 * subr.el (buffer-narrowed-p): New function.
6842
6843 * ses.el (ses-widen):
6844 * simple.el (count-words--buffer-message):
1f9f395d 6845 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
6846
6847 * simple.el (count-words-region): Don't signal an error if there
6848 is a non-nil prefix arg and the mark is not set.
c640e87d 6849
74c582e6
CY
6850 * help.el (describe-key-briefly): Allow the message to be seen
6851 when invoked from the minibuffer (Bug#7014).
6852
d81ceaaf
DG
68532012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6854
6855 * progmodes/ruby-mode.el (ruby-end-of-defun)
6856 (ruby-beginning-of-defun): Simplify, allow indentation before
6857 block beginning and end keywords.
8f06acce
DG
6858 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6859 (ruby-end-of-defun): Expect that the point is at the beginning of
6860 the defun.
d81ceaaf 6861
d458ef98
SM
68622012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6863
6864 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6865 (bug#12367).
6866 (cl--make-usage-args): Strip _ from argument names.
6867
20367d28
RS
68682012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6869
6870 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6871 obsolete alias speedbar-key-map.
6872 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6873 (vhdl-index-menu-init): Don't use obsolete variable
6874 font-lock-maximum-size.
6875
3424a4f6
CY
68762012-09-06 Chong Yidong <cyd@gnu.org>
6877
6878 * frame.el (window-system-version): Mark as obsolete.
6879
fcbfbdea
CY
6880 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6881 of obsolete variable speedbar-key-map.
6882
826b3235
JL
68832012-09-06 Juri Linkov <juri@jurta.org>
6884
6885 * replace.el (replace-lax-whitespace): New defcustom.
6886 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6887 (replace-string, replace-regexp): Mention it in docstrings.
6888 (perform-replace, replace-highlight): Let-bind
6889 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6890 to the values of replace-lax-whitespace and regexp-flag.
6891 Don't let-bind search-whitespace-regexp. (Bug#10885)
6892
6893 * isearch.el (isearch-query-replace): Let-bind
6894 replace-lax-whitespace instead of let-binding
6895 replace-search-function and replace-re-search-function.
6896 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6897 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6898 (isearch-toggle-symbol): Set isearch-regexp to nil
6899 in isearch-word mode (like in isearch-toggle-word).
6900
1ec5e41d
JL
69012012-09-06 Juri Linkov <juri@jurta.org>
6902
6903 * replace.el (replace-search-function)
6904 (replace-re-search-function): Set default values to nil.
6905 (perform-replace): Let-bind isearch-related variables based on
6906 replace-related values, call `isearch-search-fun' and let-bind
6907 the result to `search-function'. Remove code that sets
6908 `search-function' and `search-string' separately for
6909 `delimited-flag'.
6910 (replace-highlight): Add new argument `delimited-flag' and
6911 rename other arguments to the names used in `perform-replace'.
6912 Let-bind `isearch-word' to the argument `delimited-flag'.
6913 (Bug#10885, bug#10887)
6914
0ba2d4b6
DG
69152012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6916
6917 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6918 ruby-beginning-of-indent, simplify, allow all keywords to have
6919 indentation before them.
6920 (ruby-beginning-of-indent): Adjust for above. Search until the
6921 found point is not inside a string or comment.
6922 (ruby-font-lock-keywords): Allow symbols to start with "@"
6923 character, give them higher priority than variables.
6924 (ruby-syntax-propertize-function)
6925 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6926 matchers. Expression expansions are not comments when inside a
6927 string, and there comment syntax status is irrelevant.
6928 (ruby-match-expression-expansion): New function. Check that
6929 expression expansion is inside a string, and it's not escaped.
6930 (ruby-font-lock-keywords): Use it.
6931
ef654460
MR
69322012-09-05 Martin Rudalics <rudalics@gmx.at>
6933
6934 * help.el (temp-buffer-max-height): New default value.
6935 (temp-buffer-resize-frames): New option.
6936 (resize-temp-buffer-window): Optionally resize frame.
6937
6938 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6939 (fit-frame-to-buffer): New function.
6940
7e570fbf 69412012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
6942
6943 * emulation/cua-rect.el (cua--init-rectangles):
6944 * textmodes/picture.el (picture-mode-map):
6945 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6946 like forward-char and backward-char. (Bug#12317)
6947
7e570fbf 69482012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
6949
6950 * progmodes/flymake.el (flymake-warning-re): New variable.
6951 (flymake-parse-line): Use it.
6952
7e570fbf 69532012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
6954
6955 * calendar/holidays.el (holiday-christian-holidays):
6956 Rename an entry. (Bug#12289)
6957
7e570fbf 69582012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
6959
6960 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6961 (bug#12222).
6962
972debf2
SM
69632012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * loadup.el: Load macroexp. Remove hack.
6966 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6967 (macroexp--expand-all): Use it to get better warnings.
6968 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6969 (internal-macroexpand-for-load): New functions.
6970 (macroexp--pending-eager-loads): New var.
6971 (emacs-startup-hook): New hack to replace one in loadup.el.
6972 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6973 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6974 (cl-psetf): Simplify.
6975 (cl-defstruct): Add indent rule.
6976
8ce192e3
LI
69772012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6978
6979 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6980 over `user-mail-address' for the SMTP MAIL FROM envelope.
6981 (smtpmail-via-smtp): Ditto.
6982
6578b4d8
DG
69832012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6984
6985 * progmodes/ruby-mode.el: Clean up keybindings.
6986 (ruby-mode-map): Don't bind ruby-electric-brace,
6987 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6988 backward-kill-word, reindent-then-newline-and-indent.
6989 (ruby-mark-defun): Remove.
6990 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6991 (ruby-mode): Set local beginning-of-defun-function and
6992 end-of-defun-function values.
6993
c5e28e39
MR
69942012-09-03 Martin Rudalics <rudalics@gmx.at>
6995
6996 * window.el (temp-buffer-window-setup-hook)
6997 (temp-buffer-window-show-hook): New hooks.
6998 (temp-buffer-window-setup, temp-buffer-window-show)
6999 (with-temp-buffer-window): New functions.
972debf2
SM
7000 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7001 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
7002
7003 * help.el (temp-buffer-resize-mode): Fix doc-string.
7004 (resize-temp-buffer-window): New optional argument WINDOW.
7005
7006 * files.el (recover-file, save-buffers-kill-emacs):
7007 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7008
73406194
MA
70092012-09-02 Michael Albinus <michael.albinus@gmx.de>
7010
7011 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7012 remote definition of `default-directory', ensure we can connect.
7013
63dd1c6f
JL
70142012-09-02 Juri Linkov <juri@jurta.org>
7015
7016 Toggle whitespace matching mode with M-s SPC.
7017 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7018
7019 * isearch.el (search-whitespace-regexp): Doc fix.
7020 Remove cons cell customization.
7021 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7022 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7023 New variables.
7024 (isearch-forward, isearch-forward-regexp): Doc fix.
7025 (isearch-toggle-lax-whitespace): New command.
7026 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7027 (re-search-forward-lax-whitespace)
7028 (re-search-backward-lax-whitespace): New functions.
7029 (isearch-whitespace-regexp): Remove function.
7030 (isearch-query-replace): Let-bind replace-search-function and
7031 replace-re-search-function.
7032 (isearch-occur): Let-bind search-spaces-regexp according to the
7033 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7034 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7035 condition for C-q SPC.
7036 (isearch-search-fun-default): Use new functions mentioned above.
7037 (isearch-search-forward, isearch-search-backward): Remove functions.
7038 (isearch-search): Don't let-bind search-spaces-regexp.
7039 (isearch-lazy-highlight-space-regexp): Remove variable.
7040 (isearch-lazy-highlight-lax-whitespace)
7041 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7042 (isearch-lazy-highlight-new-loop): Use them.
7043 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7044
af7dda05
CY
70452012-09-02 Chong Yidong <cyd@gnu.org>
7046
7047 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7048
d67d3afd
GM
70492012-09-02 Glenn Morris <rgm@gnu.org>
7050
7051 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7052
69678719
GM
70532012-09-01 Glenn Morris <rgm@gnu.org>
7054
7055 * term.el: Tidy up menu definitions.
7056 (term-mode-map): Use easymenu for In/Out, Complete menus.
7057 (term-pager-break-map): Initialize in the defvar.
7058 (term-terminal-menu, term-signals-menu): Define with easymenu.
7059 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7060 (term-pager-menu): New, extracted from term-process-pager.
7061 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7062 (term-update-mode-line): Propertize line/char and page items.
7063 (term-process-pager): Move keymap initialization elsewhere.
7064
78dd6ab1
MR
70652012-09-01 Martin Rudalics <rudalics@gmx.at>
7066
7067 * window.el (switch-to-prev-buffer): Handle additional values of
7068 BURY-OR-KILL argument. Don't switch in minibuffer window.
7069 (switch-to-next-buffer): Don't switch in minibuffer window.
7070 (quit-restore-window): New function based on quit-window.
7071 Handle additional values of former KILL argument.
7072 (quit-window): Call quit-restore-window with appropriate
7073 interpretation of KILL argument.
7074 (display-buffer-below-selected): New buffer display action
7075 function.
7076
3d10e134
SM
70772012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7078
7079 * minibuffer.el (completion-at-point-functions): Complete docstring
7080 (bug#12254).
7081
0e23ef9d
PE
70822012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7083
7084 Better seed support for (random).
7085 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7086 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7087 * play/mpuz.el, play/tetris.el, play/zone.el:
7088 * calc/calc-comb.el (math-init-random-base):
7089 * play/blackbox.el (bb-init-board):
7090 * play/life.el (life):
7091 * server.el (server-use-tcp):
7092 * type-break.el (type-break):
7093 Remove unnecessary call to (random t).
7094 * net/sasl.el (sasl-unique-id-function):
7095 Change (random t) to (random), now that the latter is more random.
7096 * play/life.el (life-initialized): Remove no-longer-needed var.
7097
862382df
MR
70982012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7099
7100 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7101 Consider frame's buffer predicate when choosing the buffer.
7102 (Bug#12081)
7103
262a66e1
RS
71042012-08-30 Richard Stallman <rms@gnu.org>
7105
7106 * simple.el (special-mode-map): Delete binding for `z'.
7107
f17e1d00
AS
71082012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7109
7110 * progmodes/compile.el (compilation-always-kill): Doc fix.
7111
24777832
CY
71122012-08-30 Chong Yidong <cyd@gnu.org>
7113
7114 * window.el (display-buffer-reuse-frames): Make the obsolescence
7115 message more informative.
7116
69ba1f04
GM
71172012-08-30 Glenn Morris <rgm@gnu.org>
7118
7119 * paren.el (show-paren-delay):
7120 Add a :set function. Doc fix. (Bug#12297)
7121
f0019ede
MB
71222012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7123
7124 * progmodes/compile.el (compilation-always-kill): New var.
7125 (compilation-start): Use it.
7126
35e62fc9
SM
71272012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7128
af070a1c
SM
7129 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7130 * files.el (read-only-mode): Move to simple.el.
7131
35e62fc9
SM
7132 * files.el (read-only-mode): New minor mode.
7133 (toggle-read-only): Use it and mark obsolete.
7134 (find-file--read-only):
7135 * vc/vc.el (vc-next-action, vc-checkout):
7136 * vc/vc-cvs.el (vc-cvs-checkout):
7137 * obsolete/vc-mcvs.el (vc-mcvs-update):
7138 * ffap.el (ffap--toggle-read-only): Update callers.
7139
c2c43c23
MA
71402012-08-29 Michael Albinus <michael.albinus@gmx.de>
7141
7142 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
7143 remote shell scripts.
7144 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
7145
7146 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7147 "/usr/local/sbin".
7148
9fba804b
SM
71492012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7150
7151 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7152
eada0861 71532012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 7154
806f0cc7
LL
7155 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7156 completion-at-point. (Bug#12220)
7157
3bb213b9
LL
7158 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7159
22ab32ef
LL
7160 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7161
eada0861 71622012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 7163
19c17fc1
CY
7164 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7165 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 7166
eada0861 71672012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
7168
7169 * progmodes/hideif.el (hif-compress-define-list):
7170 Fix typo. (Bug#11951)
7171
eada0861 71722012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
7173
7174 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7175 buffer local setting.
7176
27d6c5a8
LL
7177 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7178 rcirc-encode-coding-system.
7179
eada0861 71802012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
7181
7182 * net/rcirc.el (rcirc-split-message): New function.
7183 (rcirc-send-message): Use it. (Bug#12051)
7184
d44688e4
JL
71852012-08-28 Juri Linkov <juri@jurta.org>
7186
7187 * info.el (Info-fontify-node): Hide empty lines at the end of
7188 the node. (Bug#12272)
7189
34f10d41
MR
71902012-08-27 Drew Adams <drew.adams@oracle.com>
7191
7192 * dired.el (dired-pop-to-buffer): Make window start at beginning
7193 of buffer (Bug#12281).
7194
77f1f99c
CY
71952012-08-26 Chong Yidong <cyd@gnu.org>
7196
7197 * window.el (special-display-regexps, special-display-frame-alist)
7198 (special-display-buffer-names, special-display-function)
7199 (display-buffer-reuse-frames): Mark as obsolete.
7200
7201 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7202
7203 * help.el (help-print-return-message): Don't treat
7204 display-buffer-reuse-frames specially.
7205
d97af5a0
CY
72062012-08-26 Chong Yidong <cyd@gnu.org>
7207
9fba804b
SM
7208 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7209 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
7210 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7211 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7212 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7213 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7214 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7215 the functions directly with gdb-display-buffer-other-frame-action.
7216 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7217 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7218 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7219 (gdb-display-registers-buffer): Define directly.
7220 (def-gdb-display-buffer): Macro deleted.
7221 (gdb-display-buffer): Remove second and third args, callers don't
7222 use them. Defer to the default display-buffer behavior, apart
7223 from making windows dedicated.
7224 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7225
7226 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7227
7228 * window.el (display-buffer-pop-up-frame): Handle a
7229 pop-up-frame-parameters alist entry.
7230 (display-buffer): Document it.
7231
dd7ffad6
CY
72322012-08-26 Chong Yidong <cyd@gnu.org>
7233
7234 * isearch.el (search-whitespace-regexp): Make string and nil
7235 values apply to both ordinary and regexp search. Allow a cons
7236 cell value to distinguish between the two.
7237 (isearch-whitespace-regexp, isearch-search-forward)
7238 (isearch-search-backward): New functions.
7239 (isearch-occur, isearch-search-fun-default, isearch-search)
7240 (isearch-lazy-highlight-new-loop): Use them.
7241 (isearch-forward, isearch-forward-regexp): Doc fix.
7242
4c47bd1e
CY
72432012-08-26 Chong Yidong <cyd@gnu.org>
7244
7245 * faces.el (help-argument-name): Always inherit from italic
7246 (Bug#12213).
7247
9aba119d
MR
72482012-08-25 Martin Rudalics <rudalics@gmx.at>
7249
7250 * window.el (window--even-window-heights): Even heights when
7251 WINDOW and the selected window form a vertical combination.
7252 (display-buffer-use-some-window): Provide that window used gets
7253 sized back by quit-window. (Bug#11880) and (Bug#12091)
7254
ca5256ad
PE
72552012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7256
7257 Fix file time stamp problem with bzr and CVS (Bug#12001).
7258 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7259 in the file's time stamp, since the version control system loses
7260 that information.
7261
d1c0d176
JL
72622012-08-22 Juri Linkov <juri@jurta.org>
7263
7264 * info.el (Info-fontify-node): Hide the suffix of the
7265 Info file name in the header line. (Bug#12187)
7266
141562ff
GM
72672012-08-22 Glenn Morris <rgm@gnu.org>
7268
7269 * calendar/cal-tex.el (cal-tex-weekly-common):
7270 Restore leading blank page.
7271
3a21537c 72722012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
7273
7274 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
7275 the region under `shift-select-mode'. (Bug#12231)
7276
72772012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
7278
7279 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7280 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7281 gives details on why the space is never needed.
7282
ea95074e
MR
72832012-08-22 Martin Rudalics <rudalics@gmx.at>
7284
9fba804b
SM
7285 * window.el (walk-window-tree, window-with-parameter):
7286 New optional argument MINIBUF to control whether these functions
ea95074e
MR
7287 should run on the minibuffer window.
7288 (window-at-side-list): Don't operate on minibuffer window.
7289 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
7290 (window--size-ignore): Rename to window--size-ignore-p.
7291 Update callers.
caceae25
MR
7292 (display-buffer-in-atom-window, window--major-non-side-window)
7293 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
7294 (delete-side-window, display-buffer-in-side-window):
7295 New functions.
caceae25
MR
7296 (window--side-check, window-deletable-p, delete-window)
7297 (delete-other-windows, split-window): Handle side windows and
7298 atomic windows appropriately.
7299 (window--display-buffer): Call display-buffer-record-window also
7300 when the window buffer did not change.
ea95074e 7301
80a51fa0
CS
73022012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7303
7304 * help-fns.el (help-fns--key-bindings):
7305 Abbreviate non-symbol remap targets. (Bug#12174)
7306
fbb6300b
MR
73072012-08-22 Martin Rudalics <rudalics@gmx.at>
7308
7309 * dired.el (dired-mark-remembered): Don't clobber point.
7310 (Bug#11795)
7311
2b2c0794
GM
73122012-08-22 Glenn Morris <rgm@gnu.org>
7313
7314 * progmodes/bug-reference.el (bug-reference): New custom group.
7315 (bug-reference-bug-regexp): Make it a defcustom.
7316
37219830
DU
73172012-08-22 Daiki Ueno <ueno@unixuser.org>
7318
7319 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7320 (js-paren-indent-offset, js-square-indent-offset)
7321 (js-curly-indent-offset): Add :safe (Bug#12257).
7322
94e0e559
EC
73232012-08-22 Edward O'Connor <hober0@gmail.com>
7324
7325 * json.el (json-key-format): Add error properties.
7326 (json-encode-key): New function.
7327 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7328 Use json-encode-key.
7329
da485f5e
GM
73302012-08-22 Glenn Morris <rgm@gnu.org>
7331
7332 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7333 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7334 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7335 Update for above change.
7336
c6cc78b8
AS
73372012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7338
7339 * cus-face.el (custom-face-attributes): Fix customize type for the
7340 :underline attribute. (Bug#11805)
7341
5481664a
MR
73422012-08-21 Martin Rudalics <rudalics@gmx.at>
7343
7344 * window.el (window-point-1, set-window-point-1): Remove.
7345 (window-in-direction, record-window-buffer)
7346 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
7347 (window--state-get-1, display-buffer-record-window):
7348 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
7349 window-point and set-window-point respectively.
7350
6d74698e
GM
73512012-08-21 Glenn Morris <rgm@gnu.org>
7352
b7fa2691
GM
7353 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7354 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7355 Use it.
7356
52f56d5a
GM
7357 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7358 (cal-tex-shortday): New function.
7359 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7360 (cal-tex-cursor-filofax-daily): Use the above.
7361
9f1ee09e
GM
7362 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7363 New functions.
7364 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7365 (cal-tex-cursor-filofax-week): Use them.
7366
79858159
GM
7367 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7368 New constants.
7369 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7370 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7371
d346b2b4
GM
7372 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7373 (cal-tex-end-document): Don't rely on buffer name.
7374
b2403709
GM
7375 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7376 Use cal-tex-vspace.
7377 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7378 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
7379 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7380 Use cal-tex-arg.
b2403709 7381
1cebb5c0
GM
7382 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7383 (cal-tex-cursor-week, cal-tex-cursor-week2)
7384 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7385 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7386 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7387 (cal-tex-insert-preamble, cal-tex-b-document)
7388 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7389 Improve cal-tex-cmd usage.
7390
c68cd5d4
GM
7391 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7392 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7393 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7394 (cal-tex-weekly-paper): New function.
7395 (cal-tex-cursor-week, cal-tex-cursor-week2)
7396 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7397 (cal-tex-cursor-day): Use it.
7398
9dca4801
GM
7399 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7400 (cal-tex-cursor-filofax-week): Remove leading blank page.
7401
1941e134
GM
7402 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7403 Add autoload cookie. For now at least, don't use color, since
7404 no other cal-tex function does.
7405
6d74698e
GM
7406 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7407 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7408 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7409
64cde199
JL
74102012-08-21 Juri Linkov <juri@jurta.org>
7411
7412 * info.el (Info-file-attributes): New variable.
7413 (info-insert-file-contents): Add file attributes to
7414 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7415 `Info-toc-nodes' when previous modtime of the Info file is less
7416 than new modtime.
7417 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7418 of info.el. (Bug#12230)
7419
32757648
GM
74202012-08-20 Glenn Morris <rgm@gnu.org>
7421
7422 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7423 * calendar/holidays.el (calendar-holiday-list):
7424 Report errors with display-warning rather than beep'n'sleep.
7425
a32fbbcf
MA
74262012-08-20 Michael Albinus <michael.albinus@gmx.de>
7427
7428 * net/tramp.el (tramp-accept-process-output): Accept only output
7429 from PROC. Otherwise, process filters and sentinels might be
7430 confused. (Bug#12145)
7431
a05731a0
CY
74322012-08-20 Chong Yidong <cyd@gnu.org>
7433
7434 * descr-text.el (describe-text-properties-1): Use overlays-in to
7435 report on empty overlays (Bug#3322).
7436
36e8d1eb
GM
74372012-08-20 Glenn Morris <rgm@gnu.org>
7438
3d300447
GM
7439 * mail/rmailout.el (rmail-output-read-file-name):
7440 Trap and report errors in rmail-output-file-alist elements.
7441
36e8d1eb
GM
7442 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7443 since most non-font-lock faces are not also variables).
7444
b96e5814
ER
74452012-08-20 Edward Reingold <reingold@iit.edu>
7446
7447 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7448 New function. (Bug12160)
7449
7cef3569
GM
74502012-08-19 Glenn Morris <rgm@gnu.org>
7451
7452 * mail/rmailout.el (rmail-output-read-file-name):
7453 Fix previous change (when the alist is nil or does not match).
7454
17975d7f
CY
74552012-08-19 Chong Yidong <cyd@gnu.org>
7456
7457 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7458 (Bug#12228).
7459
2170b1bd
CY
74602012-08-18 Chong Yidong <cyd@gnu.org>
7461
7462 * simple.el (yank-handled-properties): New defcustom.
7463 (yank-excluded-properties): Add font-lock-face and category.
7464 (yank): Doc fix.
7465
9fba804b
SM
7466 * subr.el (remove-yank-excluded-properties):
7467 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
7468 and category is now done this way, instead of being hard-coded.
7469 (insert-for-yank-1): Remove font-lock-face handling.
7470 (yank-handle-font-lock-face-property)
7471 (yank-handle-category-property): New function.
7472
ee218151
GM
74732012-08-17 Glenn Morris <rgm@gnu.org>
7474
7475 * mail/rmailout.el (rmail-output-read-file-name):
7476 Check rmail-output-file-alist against the full message body
7477 in the correct rmail buffer. (Bug#12214)
7478
4a6bc3fd
MA
74792012-08-17 Michael Albinus <michael.albinus@gmx.de>
7480
9fba804b
SM
7481 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7482 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 7483
383dcbf9
CY
74842012-08-17 Chong Yidong <cyd@gnu.org>
7485
7486 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7487 font spec, set the font directly (Bug#3228).
7488
998c4a6a
MR
74892012-08-17 Martin Rudalics <rudalics@gmx.at>
7490
7491 * window.el (delete-window): Fix last fix.
7492
52162052
MR
74932012-08-16 Martin Rudalics <rudalics@gmx.at>
7494
7495 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
7496 (window-child, window-child-count, window-last-child)
7497 (window-normalize-window, window-combined-p)
7498 (window-combinations, window-atom-root, window-min-size)
7499 (window-sizable, window-sizable-p, window-size-fixed-p)
7500 (window-min-delta, window-max-delta, window--resizable)
7501 (window--resizable-p, window-resizable, window-total-size)
7502 (window-full-height-p, window-full-width-p, window-body-size)
7503 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7504 (minimize-window, window-deletable-p, delete-window)
7505 (delete-other-windows, set-window-buffer-start-and-point)
7506 (next-buffer, previous-buffer, split-window, balance-windows-2)
7507 (set-window-text-height, window-buffer-height)
7508 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
7509 (truncated-partial-width-window-p): Minor code adjustments.
7510 In doc-strings state whether the argument window has to denote a
85c2386b 7511 live, valid or any window.
52162052 7512
1c308380
PS
75132012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7514
7515 * progmodes/subword.el (subword-forward-function)
7516 (subword-backward-function, subword-forward-regexp)
7517 (subword-backward-regexp): New variables.
7518 (subword-forward, subword-forward-internal, subword-backward-internal):
7519 Use new variables, eg so that different "word" definitions
7520 can be easily used. (Bug#11411)
7521
94c9ece1
SM
75222012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7523
7524 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7525 for composite selectors.
7526 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7527 operation just because we can't find a previous revision.
7528
f2045622
CY
75292012-08-15 Chong Yidong <cyd@gnu.org>
7530
7531 * frame.el (set-frame-font): Accept font objects.
7532
582db660
SM
75332012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7536
2f29c200
WJ
75372012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7538
456e62c2
WJ
7539 * man.el (Man-overstrike-face, Man-underline-face)
7540 (Man-reverse-face): Remove variables.
7541 (Man-overstrike, Man-underline, Man-reverse): New faces.
7542 (Man-fontify-manpage): Use them instead of the variables.
7543 (Man-cleanup-manpage): Comment change.
7544 (Man-ansi-color-map): New variable.
7545 (Man-fontify-manpage): Use it.
7546 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7547
2f29c200
WJ
7548 Implement ANSI SGR parameters 22-27 (bug#12146).
7549 * ansi-color.el (ansi-colors): Doc fix.
7550 (ansi-color-context, ansi-color-context-region): Doc fix.
7551 (ansi-color--find-face): New function.
7552 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7553 Rename the local variable `face' to `codes' since it is now a list of
7554 ansi codes. Doc fix.
7555 (ansi-color-get-face): Remove.
7556 (ansi-color-parse-sequence): New function, derived from
7557 ansi-color-get-face.
7558 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7559 codes 22-27.
7560
b4f5e9df
SM
75612012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * subr.el (read-passwd): Allow use from a minibuffer.
7564
ba025fbd
EZ
75652012-08-14 Eli Zaretskii <eliz@gnu.org>
7566
7567 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7568 inside comments and strings as identifiers.
7569
7570 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7571 expression to evaluate. This allows to evaluate expressions with
7572 embedded whitespace.
7573 (gud-tooltip-tips): Add a blank before the newline in the
7574 message-box text, for the benefit of message-box emulation on
7575 MS-Windows.
7576
7577 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7578 messages from GDB, pop them up in a tooltip to give feedback to
7579 user.
b4f5e9df
SM
7580 (gdb-tooltip-print-1): Quote the expression to evaluate.
7581 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
7582 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7583 if the TTY name is nil or empty (which happens when communicating
7584 with the inferior via pipes, e.g. on MS-Windows).
7585 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7586 don't send that to the GUD buffer.
7587
c548f821
GM
75882012-08-14 Glenn Morris <rgm@gnu.org>
7589
7590 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7591 Optimize away setq-default with no args, as for setq. (Bug#12195)
7592
55802e4a
CY
75932012-08-14 Chong Yidong <cyd@gnu.org>
7594
4abcdac8
CY
7595 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7596
55802e4a
CY
7597 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7598 (Bug#12085).
7599
3c3cda1a
GM
76002012-08-14 Glenn Morris <rgm@gnu.org>
7601
7602 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7603
e1873bd0
MA
76042012-08-14 Michael Albinus <michael.albinus@gmx.de>
7605
7606 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7607 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7608 Use cached shell name.
7609
925411b4
FEG
76102012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7611
7612 * progmodes/python.el (python-shell-send-string):
3c3cda1a 7613 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 7614
e636fafe
DG
76152012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7616
7617 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7618 (ruby-percent-literal-beg-re): New constant.
7619 (ruby-syntax-general-delimiters-goto-beg): Rename to
7620 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7621 (ruby-syntax-propertize-general-delimiters): Rename to
7622 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7623 popular term. Adjust comments everywhere.
7624 (ruby-syntax-propertize-percent-literal): Only propertize when not
7625 inside a simple string or comment. When the literal is unclosed,
7626 leave the text after it unpropertized.
f063063a
DG
7627 (ruby-syntax-methods-before-regexp): New constant.
7628 (ruby-syntax-propertize-function): Use it to recognize regexps.
7629 Don't look at the text after regexp, just use the whitelist.
e636fafe 7630
e5b19827
AS
76312012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7632
7633 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7634 non-nil always load the compiled file if it exists. (Bug#12197)
7635
a9f6f311
CY
76362012-08-14 Chong Yidong <cyd@gnu.org>
7637
7638 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7639 (hi-lock-set-pattern): When deciding whether to use font lock or
7640 overlays, look at font-lock-mode instead of font-lock-fontified
7641 (Bug#12168).
7642 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7643 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7644
7d806b1e
DU
76452012-08-14 Daiki Ueno <ueno@unixuser.org>
7646
7647 * subr.el (internal--after-with-selected-window): Fix typo
7648 (Bug#12193).
7649
5beed586
FEG
76502012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7651
7652 Use `completion-table-dynamic' for completion functions.
7653 * progmodes/python.el
7654 (python-shell-completion--do-completion-at-point)
e636fafe
DG
7655 (python-shell-completion--get-completions):
7656 Remove functions.
5beed586
FEG
7657 (python-shell-completion-complete-at-point): New function.
7658 (python-completion-complete-at-point): Use it.
7659
92cb3b04
J
76602012-08-13 Jambunathan K <kjambunathan@gmail.com>
7661
7662 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7663 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7664
89660017
SM
76652012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7666
3c98c962
SM
7667 * subr.el (function-get): Refine `autoload' arg so it can also
7668 autoload functions for gv.el (bug#12191).
7669 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7670 autoloads macros.
7671
aa7c6dbe
SM
7672 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7673 Prefer pcase-let over destructuring-bind.
7674 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7675 Also, remove whitespace as we go, rather than after accumulating the
7676 various places.
7677
89660017
SM
7678 * subr.el (internal--before-with-selected-window)
7679 (internal--after-with-selected-window): Fix typo seleted->selected.
7680 (with-selected-window): Adjust callers.
7681 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7682
31cd32c9
BG
76832012-08-13 Bastien Guerry <bzg@gnu.org>
7684
0fcd3d9f 7685 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
7686 enhancement. (Bug#12172)
7687
1b15d8ad
AS
76882012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7689
31e54db0
AS
7690 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7691 type 1-6.
7692 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7693 extended headers.
7694
1b15d8ad
AS
7695 * files.el (hack-local-variables-filter): Remove useless eval.
7696
35cb9c06
MR
76972012-08-13 Martin Rudalics <rudalics@gmx.at>
7698
7699 * subr.el (with-selected-window): Fix last change.
7700
1439443b
SM
77012012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7702
7703 * subr.el (internal--before-with-seleted-window)
7704 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
7705 (with-selected-window): Use them, to replace dependency on
7706 tty-top-frame.
1439443b 7707
0d9e2599
NN
77082012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7709
7710 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7711 binding for `newline'.
7712 (ruby-move-to-block): When moving backward, stop at block opening,
7713 not indentation.
7714 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7715 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7716 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7717 `ruby-toggle-block'.
7718
ba10c48c
SM
77192012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7720
7721 * ibuffer.el (ibuffer-do-toggle-read-only):
7722 * dired.el (dired-toggle-read-only):
7723 * buff-menu.el (Buffer-menu-toggle-read-only):
7724 * bindings.el (mode-line-toggle-read-only):
7725 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7726
9229c658
AS
77272012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7728
7729 * descr-text.el (describe-char): Put the overlays over the
7730 "displayed as" character.
7731
0fd09128
JB
77322012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7733
7734 * calc/calc-units.el (math-default-units-table): Give an
7735 initial value.
7736 (math-put-default-units): Add options to put composite units and
7737 unit systems in the default units table.
7738 (calc-convert-units): Send composite units to
7739 `math-put-default-units' when appropriate.
7740
9ff9402d 77412012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 7742
fbb5e336
GM
7743 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7744
7aacaf15
GM
7745 * tutorial.el (help-with-tutorial):
7746 * emacs-lisp/copyright.el (copyright-update-directory):
7747 * emacs-lisp/autoload.el (autoload-find-generated-file)
7748 (autoload-find-file): Disable local eval: (for insurance).
7749
f40b9f10
GM
7750 * files.el (hack-local-variables-filter): If an eval: form is not
7751 known to be safe, and enable-local-variables is :safe, then ignore
7752 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 7753 This is CVE-2012-3479.
f40b9f10 7754
daa9f1a6
SM
77552012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7756
7757 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7758 (rx-form): Simplify.
7759
9cd80478
DG
77602012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7761
0d9e2599
NN
7762 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7763 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7764 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7765 (ruby-syntax-propertize-function): Adjust for changes in
7766 `ruby-syntax-propertize-heredoc'.
7767
77682012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7769
9cd80478
DG
7770 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7771 binding (use `M-;' instead).
9cd80478 7772 (ruby-singleton-class-p): New function.
0d9e2599 7773 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 7774
d301b413
SM
77752012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7776
7777 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7778
1530c98e
CY
77792012-08-10 Chong Yidong <cyd@gnu.org>
7780
7781 * progmodes/python.el (python-shell-get-process-name): Don't mess
7782 with same-window-buffer-names.
7783
7784 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7785 (eshell-remove-from-window-buffer-names): Make obsolete.
7786 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7787 (eshell): Just use pop-to-buffer-same-window instead.
7788
e1293765
CY
77892012-08-10 Chong Yidong <cyd@gnu.org>
7790
7791 * bindings.el: Bind M-= back to count-words-region.
7792
7793 * simple.el (count-words-region): Accept a prefix arg for acting
7794 on the entire buffer.
7795 (count-words--buffer-message): New helper function.
7796
e1894109
SM
77972012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7798
7799 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7800 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7801 (event-start, event-end): Use posn-at-point to return a more
7802 informative posn.
7803 (posnp): New function.
7804 * mouse.el (popup-menu-normalize-position): Use it.
7805
c69f56a2
MY
78062012-08-10 Masatake YAMATO <yamato@redhat.com>
7807
7808 * mouse.el (popup-menu-normalize-position): New function.
7809 (popup-menu): Use `popup-menu-normalize-position' to normalize
7810 the form for POSITION argument.
7811
7812 * term/x-win.el (x-menu-bar-open):
7813 Use the value returend from (posn-at-point) as position
7814 passed to `popup-menu'.
7815
31673780
JB
78162012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7817
7818 * calc/calccomp.el (math-compose-expr): Add extra argument
7819 indicating that parentheses should be put around products in
7820 denominators. Give multiplication precedence over division during
7821 composition.
7822
dab7711b
CY
78232012-08-09 Chong Yidong <cyd@gnu.org>
7824
dee4ef93
CY
7825 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7826 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7827 (Man-untabify-command, manual-program): Convert to defcustom
7828 (Bug#10429).
7829
73e2bbc5
CY
7830 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7831
3e861c8a
CY
7832 * descr-text.el (describe-char): Don't insert extra newlines
7833 (Bug#10127).
7834
a9f5a649
CY
7835 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7836 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7837
dab7711b
CY
7838 * align.el (align-region): Delete temporary markers (Bug#10047).
7839 Plus some code cleanups.
7840
e0cc4efa
FEG
78412012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7842
7843 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7844 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7845 (python-shell-internal-last-output): Use make-local-variable
7846 instead of make-variable-buffer-local.
7847
489af14f
FEG
78482012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7849
7850 * progmodes/python.el: Enhancements to forward-sexp.
7851 (python-nav-forward-sexp): Rename from
7852 python-nav-forward-sexp-function.
c69f56a2
MY
7853 (python-nav--forward-sexp, python-nav--backward-sexp):
7854 New functions.
489af14f 7855
0fc50303
JB
78562012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7857
7858 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7859 modes and simplification modes.
7860
5d65606a
SM
78612012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7862
7863 * delsel.el (delete-selection-pre-hook): Don't propagate the
7864 file-supersession signals (bug#12161).
7865
4250fdf5
SM
78662012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7867
7868 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7869 (cl-map-extents): Add compatibility aliases (bug#12135).
7870
d9f9b465
MA
78712012-08-08 Michael Albinus <michael.albinus@gmx.de>
7872
7873 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7874 tests by `ignore-error'.
7875 (tramp-find-shell): Open also a new shell, when cache is already
7876 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7877
ce0fcefa
JL
78782012-08-08 Juri Linkov <juri@jurta.org>
7879
7880 * bookmark.el: Add `defaults' property to the bookmark record.
7881 (bookmark-current-buffer): Doc fix.
7882 (bookmark-make-record): Add `defaults' property with default values
7883 to the bookmark record.
7884 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7885 with `bookmark-insert-current-bookmark'.
7886 (bookmark-set): Get `defaults' property from the bookmark record
7887 and use it in `read-from-minibuffer'.
7888 (bookmark-insert-current-bookmark): Remove function.
7889
7890 * info.el (Info-bookmark-make-record): Add `defaults' property
7891 with values of canonical Info node name, the current Info file
7892 name and the current Info node name. (Bug#12107)
7893
53fa8652
JL
78942012-08-08 Juri Linkov <juri@jurta.org>
7895
7896 * files.el (basic-save-buffer): Use `buffer-name' as the default
7897 of `read-file-name' when buffer is not visiting a file (bug#12128).
7898
242c0a95
JL
78992012-08-08 Juri Linkov <juri@jurta.org>
7900
7901 * info.el (Info-isearch-search): Doc fix.
7902 (Info-search): Change search-failed message from "initial node" to
7903 "end of node" (bug#12078).
7904 (Info-isearch-search): Change `isearch-string-state' to
7905 `isearch--state-string'.
7906
32ac3a6b
GM
79072012-08-08 Glenn Morris <rgm@gnu.org>
7908
7909 * language/persian.el: Remove file.
f8c1afd5 7910 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
7911 * loadup.el: Remove language/persian.
7912
2c2d9c9c
OF
79132012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7914
7915 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7916
2d79ec42
FEG
79172012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7918
3c855b96 7919 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
7920 (python-syntax-context) Rename from python-info-ppss-context.
7921 (python-syntax-context-type): Rename from
7922 python-info-ppss-context-type.
7923 (python-syntax-comment-or-string-p): Rename from
7924 python-info-ppss-comment-or-string-p.
7925
2bd255dd
JB
79262012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7927
7928 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7929
c395097f
AS
79302012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7931
6125983e
AS
7932 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7933 a defcustom that is quoted with backquote.
7934
4250fdf5
SM
7935 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7936 Fix handling of interactive spec when the body uses return.
651eaf36
AS
7937 (math-do-arg-check, math-define-function-body): Use backquote forms.
7938 * calc/calc-ext.el (math-defcache): Likewise.
7939 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7940 * allout.el (allout-new-exposure): Likewise.
7941 * calc/calcalg2.el (math-tracing-integral): Likewise.
7942 * info.el (Info-last-menu-item): Likewise.
7943 * emulation/vip.el (vip-loop): Likewise.
7944 * textmodes/artist.el (artist-funcall): Likewise.
7945 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7946 Construct menu-item directly.
7947
4250fdf5
SM
7948 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7949 Don't declare.
c395097f 7950
5fb50dd3
CY
79512012-08-07 Chong Yidong <cyd@gnu.org>
7952
7953 * simple.el (deactivate-mark): Preserve text properties when
7954 saving the primary selection (Bug#8384).
7955
54eea618
KR
79562012-08-07 Kevin Ryde <user42@zip.com.au>
7957
7958 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7959 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7960 and continue processing (Bug#12110).
7961
638eaeb9
SM
79622012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7963
7964 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7965 syntax-propertize-function (bug#10095).
7966
ea376861
SM
79672012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7968
f91b35be
SM
7969 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7970 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7971 describe-function-1.
7972 (describe-function-1): Use them. Move compiler macro after sig.
7973 (help-fns--compiler-macro): Use function-get. Assume we're already in
7974 standard-output. Adjust layout to new call order.
7975
ea376861
SM
7976 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7977 re-binding a symbol that has a symbol-macro (bug#12119).
7978
d5be7bd0
MB
79792012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7980
7981 * language/persian.el: New file. (Bug#11812)
7982 * loadup.el: Add language/persian.el.
7983
90749b53
CY
79842012-08-06 Chong Yidong <cyd@gnu.org>
7985
7986 * window.el (window--maybe-raise-frame): New function.
7987 (window--display-buffer): Split off from here.
7988 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7989 (display-buffer-pop-up-window, display-buffer-use-some-window):
7990 Obey an inhibit-switch-frame action alist entry.
7991 (display-buffer): Update doc.
7992
7993 * replace.el (occur-after-change-function): Avoid losing focus by
7994 using the inhibit-switch-frame display parameter (Bug#12139).
7995
ba7b0154
FEG
79962012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7997
7998 Make internal shell process buffer names start with space.
7999 * progmodes/python.el (python-shell-make-comint): Add optional
8000 argument INTERNAL.
8001 (run-python-internal): Use it.
8002 (python-shell-internal-get-or-create-process): Check for new
8003 internal buffer names.
8004
5eaeacb5
GM
80052012-08-06 Glenn Morris <rgm@gnu.org>
8006
e296d94b 8007 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
8008 Do less getting and setting of environment variables.
8009
b7ccbdc2
CY
80102012-08-05 Chong Yidong <cyd@gnu.org>
8011
777fe95e
CY
8012 * proced.el (proced): Add substitution string to docstring to
8013 trigger autoloading of the proced library on C-h f (Bug#1768).
8014
4250fdf5
SM
8015 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8016 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
8017
8018 * imenu.el (imenu-generic-expression): Move documentation here
8019 from imenu--generic-function.
8020 (imenu--generic-function): Refer to imenu-generic-expression.
8021
9e3b7800 80222012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
8023
8024 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8025 indentation declaration.
8026 (viper-loop): Add indentation declaration (Bug#7025).
8027
e5d9c0d1
CY
80282012-08-05 Chong Yidong <cyd@gnu.org>
8029
f0422feb
CY
8030 * help-fns.el (describe-variable): Add hyperlink for
8031 directory-local variables files. Improve buffer-local and
8032 permanent-local reporting; suggested by MON KEY (Bug#6644).
8033
8034 * help-mode.el (help-dir-local-var-def): New button type.
8035
e5d9c0d1
CY
8036 * files.el (kill-buffer-hook): Provide a defvar.
8037
a4f2deaa
GM
80382012-08-05 Glenn Morris <rgm@gnu.org>
8039
8040 * eshell/esh-ext.el (eshell/addpath):
8041 Also update eshell-path-env. (Bug#12013)
8042
a9dd5754
CY
80432012-08-05 Chong Yidong <cyd@gnu.org>
8044
a4f2deaa 8045 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 8046
d014c740
CY
8047 * fringe.el (fringe-styles): Add docstring.
8048 (fringe--check-mode): New function.
8049 (set-fringe-mode, set-fringe-style): Use it.
8050 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8051
a9dd5754
CY
8052 * files.el (set-auto-mode): Fix invalid setq call.
8053
7c2dc8bd
SM
80542012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8055
8056 * isearch.el: Misc simplification; use defstruct.
8057 (isearch-mode-map): Dense maps now work like sparse ones.
8058 (isearch--state): New defstruct.
8059 (isearch-string-state, isearch-message-state, isearch-point-state)
8060 (isearch-success-state, isearch-forward-state)
8061 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8062 (isearch-wrapped-state, isearch-barrier-state)
8063 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8064 replaced by defstruct's accessors.
8065 (isearch--set-state): Rename from isearch-top-state and change
8066 calling convention.
8067 (isearch-push-state): Use new isearch--get-state.
8068 (isearch-toggle-word): Disable regexp when enabling word.
8069 (isearch-message-prefix): Remove unused arg _c-q-hack.
8070 (isearch-message-suffix): Remove unused arg _ellipsis.
8071
7fcc0070
AS
80722012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8073
8074 * simple.el (list-processes--refresh): For a server use :host or
8075 :local as the address.
97ad0769 8076 (list-processes): Doc fix.
7fcc0070 8077
a11035b8 80782012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
8079
8080 * lisp/mpc.el: Support password in host argument.
8081 (mpc--proc-connect): Parse and use new password element.
8082 Set mpc-proc variable instead of returning process.
8083 (mpc-proc): Adjust accordingly.
8084
6dad7178
EZ
80852012-08-03 Eli Zaretskii <eliz@gnu.org>
8086
18949c2f
EZ
8087 * whitespace.el (whitespace-display-mappings): Use Unicode
8088 codepoints, instead of emacs-mule codepoints. See
8089 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8090 for the details.
8091
6dad7178
EZ
8092 * files.el (file-truename): Don't skip symlink-chasing part on
8093 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
8094 Windows into the loop that recursively chases symlinks.
8095 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
8096 MS-DOS.
8097
385b0198
CY
80982012-08-03 Chong Yidong <cyd@gnu.org>
8099
6200f3c4
CY
8100 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8101
385b0198
CY
8102 * sort.el (sort-regexp-fields): Doc fix.
8103
b9e74744
TH
81042012-08-03 Tassilo Horn <tsdh@gnu.org>
8105
8106 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8107 labels regex position point at the expected place.
8108
41013cb4
MK
81092012-08-03 MON KEY <monkey@sandpframing.com>
8110
8111 * net/imap.el (imap-interactive-login, imap-authenticate)
8112 (imap-mailbox-lsub, imap-mailbox-list)
8113 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8114 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8115 (imap-parse-response): Doc fix.
8116
0ffee616
JT
81172012-08-03 João Távora <joaotavora@gmail.com>
8118
8119 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8120 if sexp scanning does not move point (Bug#5734).
8121
cfcc9cc8
TH
81222012-08-02 Tassilo Horn <tsdh@gnu.org>
8123
8124 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8125 Add listings, minted, and ctable packages.
8126 (reftex-label-alist-builtin): Move listings, minted, and ctable
8127 entries before LaTeX.
a01bbb84 8128 (reftex-label-alist): Docfix.
cfcc9cc8 8129
66ec2442
BG
81302012-08-02 Bastien Guerry <bzg@gnu.org>
8131
8132 * replace.el (occur): Fix docstring (bug#12122).
8133
837b365b
GM
81342012-08-02 Glenn Morris <rgm@gnu.org>
8135
8136 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8137
e098de97
PE
81382012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8139
8140 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8141 * international/mule-cmds.el: Create
8142 inactivate-current-input-method-function as an obsolete alias for
8143 deactivate-current-input-method-function. See Katsumi Yamaoka in
8144 <http://bugs.gnu.org/10150#46>.
8145
a0f95636
JB
81462012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8147
8148 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8149 of nested `if's.
8150
0d26d7c4
GM
81512012-08-01 Glenn Morris <rgm@gnu.org>
8152
8153 * progmodes/autoconf.el (autoconf-definition-regexp):
8154 Add AH_TEMPLATE, adjust submatch numbering.
8155 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8156 (autoconf-current-defun-function): Update for above change.
8157 (autoconf-current-defun-function): First skip to end of current word.
8158
b686ba06
RS
81592012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8160
8161 * calendar/cal-html.el (cal-html-insert-agenda-days):
8162 Fix typo. (Bug#12018)
8163
0d49da68
FEG
81642012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8165
8166 Shell processes: enhancements to startup and CEDET compatibility.
8167 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8168 (python-shell-make-comint): accept-process-output at startup.
8169 (run-python-internal): Set inferior-python-mode-hook to nil.
8170 (python-shell-internal-get-or-create-process): call sit-for.
8171 (python-preoutput-result): Add obsolete alias.
8172 (python-shell-internal-send-string): Use it.
8173 (python-shell-send-setup-code): Remove call to
8174 accept-process-output.
8175
f1a71c6e
AS
81762012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8177
8178 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8179 (Bug#12108)
8180
d2605269
JB
81812012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8182
8183 * calc-mode.el (calc-basic-simplification-mode): Rename from
8184 `calc-limited-simplification-mode'.
8185 (calc-alg-simplification-mode): New function.
fc0c31f8 8186 (calc-set-simplify-mode): Adjust message.
f1a71c6e 8187
d2605269
JB
8188 * calc.el (calc-set-mode-line): Adjust mode line display for
8189 basic simplification mode.
8190
8191 * calc-help.el (calc-m-prefix-help): Update help message.
8192
8193 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8194 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8195
a3827a43
BG
81962012-07-31 Bastien Guerry <bzg@gnu.org>
8197
8198 * man.el (man): Fix comment. (bug#12101)
8199
502e3f89
MR
82002012-07-31 Martin Rudalics <rudalics@gmx.at>
8201
8202 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8203 Don't return a non-nil value when no suitable buffer was found.
8204
d7714961
FEG
82052012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8206
8207 * progmodes/python.el (run-python-internal): Disable font lock for
8208 internal shells.
8209
1f45e27e
SM
82102012-07-30 Stefan Merten <smerten@oekonux.de>
8211
70efc5c9 8212 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
8213 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8214 (rst-official-version, rst-official-cvs-rev)
8215 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8216 (rst-mode-map): New key binding.
8217
0aee6912
PE
82182012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8219
8220 Update .PHONY listings in makefiles.
8221 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8222 autoloads, update-subdirs, updates, bzr-update, update-authors,
8223 compile-onefile, compile-calc, backup-compiled-files,
8224 compile-after-backup, compile-one-process, mh-autoloads,
8225 bootstrap-clean, distclean, maintainer-clean.
8226
9052f9f0
JB
82272012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8228
1823ac5a
JB
8229 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8230 (calc-set-mode-line): Don't display "AlgSimp ".
8231
8232 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8233 (calc-lim-simplify-mode): New function.
8234 (calc-set-simplify-mode): Default to 'alg.
8235 (calc-default-simplify-mode): Make algebraic simplifications
8236 the default.
8237
8238 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8239 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8240
8d7c7eed 8241 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
8242 indicate new simplification modes.
8243
1823ac5a
JB
8244 * calc/README: Mention new default simplification mode.
8245
9052f9f0
JB
8246 * calc/calc.el (math-normalize-error): New variable.
8247 (math-normalize): Set `math-normalize-error' to t
8248 when there's an error.
8249
8250 * calc/calc-alg.el (math-simplify): Don't simplify when
8251 `math-normalize' returns an error.
8252
20ba0cb4
EZ
82532012-07-29 Eli Zaretskii <eliz@gnu.org>
8254
8255 * international/mule-cmds.el (set-locale-environment): Revert last
8256 change, since display-graphic-p returns nil when this function is
8257 called during startup. Instead...
8258
8259 * term/w32console.el (terminal-init-w32console): ...setup the
8260 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8261
a5dcc929
JL
82622012-07-29 Juri Linkov <juri@jurta.org>
8263
8264 * simple.el (goto-line): Don't display default line number in the
8265 prompt because it should be displayed by `read-number' (bug#9952).
8266 Add the current line number to the defaults of `goto-line' to
8267 allow its easier modification by users with `M-n' (bug#9201).
8268
8269 * subr.el (read-number): Support multiple default values like in
8270 other minibuffer reading functions. Replace `read' with
8271 `string-to-number' for consistency with `number-to-string'.
8272
72b255c7
PE
82732012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8274
8275 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8276 * emulation/viper-init.el (viper-deactivate-input-method-action):
8277 Rename from viper-inactivate-input-method-action.
8278 (viper-deactivate-input-method):
8279 Rename from viper-inactivate-input-method.
8280 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8281 * international/mule-cmds.el (deactivate-input-method):
8282 Rename from inactivate-input-method.
8283 Also run input-method-deactivate-hook.
8284 (deactivate-current-input-method-function):
8285 Rename from inactivate-current-input-method-function.
8286 (input-method-deactivate-hook): New hook.
8287 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
8288 (inactivate-input-method): Mark obsolete.
8289
72b255c7
PE
8290 * international/quail.el (quail-activate):
8291 Also run quail-deactivate-hook.
8292 (quail-deactivate): Rename from quail-inactivate.
8293 * international/robin.el (robin-activate):
8294 Also run robin-deactivate-hook.
8295 (robin-deactivate): Rename from robin-inactivate.
8296
2549c068
CY
82972012-07-29 Chong Yidong <cyd@gnu.org>
8298
8299 * simple.el (indicate-copied-region): New function.
8300 (kill-ring-save): Split off from here.
8301
8302 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8303 (kill-rectangle): Set deactivate-mark to t on read-only error.
8304
8305 * register.el (copy-to-register, copy-rectangle-to-register):
8306 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
8307 (append-to-register, prepend-to-register): Call indicate-copied-region.
8308
83092012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
8310
8311 * simple.el (async-shell-command-buffer): New defcustom.
8312 (shell-command): Use it. (Bug#4719)
8313
01bd1b0d
EZ
83142012-07-28 Eli Zaretskii <eliz@gnu.org>
8315
8316 * international/mule-cmds.el (set-locale-environment): In a
8317 console session on MS-Windows, set up keyboard and terminal
8318 encoding from the OEM codepage, not the ANSI codepage.
8319 (Bug#12055)
8320
a55739d3
CY
83212012-07-28 Chong Yidong <cyd@gnu.org>
8322
8323 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8324 gdb-get-location.
8325
0e1a094f 83262012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
8327
8328 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8329 the alist (bug#12029).
8330
20329d73
EZ
83312012-07-28 Eli Zaretskii <eliz@gnu.org>
8332
8333 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8334 (compile-always, compile-first)
8335 ($(lisp)/calendar/cal-loaddefs.el)
8336 ($(lisp)/calendar/diary-loaddefs.el)
8337 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8338 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8339 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8340 instead of on update-subdirs.
8341 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8342
345a2258
CY
83432012-07-28 Chong Yidong <cyd@gnu.org>
8344
1eee6341
CY
8345 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8346 directory if vc-deduce-backend returns nil (Bug#7350).
8347
345a2258
CY
8348 * simple.el (delete-trailing-lines): New option.
8349 (delete-trailing-whitespace): Obey it (Bug#11879).
8350
049a0936
DE
83512012-07-28 David Engster <deng@randomsample.de>
8352
8353 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8354 Explanation of new 'symbol-qnames feature in doc-strings.
8355 (xml-maybe-do-ns): Return expanded names as plain symbols if
8356 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8357 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8358
aa81af71
FEG
83592012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8360
8361 Consistent completion in inferior python with emacs -nw.
8362 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8363 binding in inferior-python-mode-map with "\t".
8364 (python-shell-completion-complete-at-point)
8365 (python-completion-complete-at-point): Remove interactive spec.
8366
e827b1eb
JB
83672012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8368
8369 * calc/calccomp.el (math-compose-expr): Undo previous change.
8370
a90dfb95
FEG
83712012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8372
4250fdf5 8373 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
8374 run-python.
8375 (python-shell-make-comint): Fix pop-to-buffer call.
8376 (run-python): Autoload. New arg SHOW.
8377 (python-shell-get-or-create-process): Do not pop python process
8378 buffer.
8379
32770973 83802012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
8381
8382 * notifications.el (notifications-on-action-signal)
8383 (notifications-on-closed-signal): Use also the bus address for the map.
8384 (notifications-notify, notifications-close-notification)
fc0c31f8 8385 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 8386
86332df2
TH
83872012-07-27 Tassilo Horn <tsdh@gnu.org>
8388
4250fdf5
SM
8389 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8390 Add support for the lstlisting and minted environments, and for the
86332df2
TH
8391 ctable macro.
8392 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8393 labels written in keyvals syntax.
8394
ca1302a4
JB
83952012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8396
8397 * calc/calccomp.el (math-compose-expr): Use parentheses when
8398 there is a product in the denominator of a fraction.
8399
f8b91036
EZ
84002012-07-26 Eli Zaretskii <eliz@gnu.org>
8401
8402 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8403 ($(lisp)/calendar/diary-loaddefs.el)
8404 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
8405 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8406 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
8407 rewritten while the autoload files are built at the same time,
8408 which needs to load subdirs.el.
8409
c8e5a42c
MR
84102012-07-26 Martin Rudalics <rudalics@gmx.at>
8411
8412 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8413 (mouse-drag-line): Don't exit tracking when a switch-frame or
8414 switch-window event occurs (Bug#12006).
8415
670d85ea
SM
84162012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8417
8418 * mouse.el (popup-menu): Fix last change.
8419
7abaf5cc
SM
84202012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8421
8422 Autoload from Lisp with more care. Follow aliases when looking for
8423 function properties.
8424 * subr.el (autoloadp): New function.
8425 (symbol-file): Use it.
8426 (function-get): New function.
8427 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8428 autoload-do-load.
8429 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8430 (lisp-indent-function):
8431 * emacs-lisp/gv.el (gv-get):
8432 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8433 * emacs-lisp/byte-opt.el (byte-optimize-form):
8434 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8435 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8436 Use function-get.
8437 * emacs-lisp/cl.el: Don't propagate function properties any more.
8438
8439 * speedbar.el (speedbar-add-localized-speedbar-support):
8440 * emacs-lisp/disass.el (disassemble-internal):
8441 * desktop.el (desktop-load-file):
8442 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8443 (describe-function-1):
8444 * emacs-lisp/find-func.el (find-function-noselect):
8445 * emacs-lisp/elp.el (elp-instrument-function):
8446 * emacs-lisp/advice.el (ad-has-proper-definition):
8447 * apropos.el (apropos-safe-documentation, apropos-macrop):
8448 * emacs-lisp/debug.el (debug-on-entry):
8449 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8450 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8451 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8452
b1364986
AA
84532012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8454
8455 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8456 function, not an obsolete variable (Bug#12046).
8457
67ada220
AS
84582012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8459
8460 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8461
f08088e3
CS
84622012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8463
8464 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8465 window only if it is still live (Bug#12034).
8466
8137e7b3
MR
84672012-07-25 Martin Rudalics <rudalics@gmx.at>
8468
8469 * subr.el (redirect-frame-focus): Add advertised calling
8470 convention (Bug#12030).
8471
09ae5da1
PE
84722012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8473
8474 Prefer typical American spelling for "acknowledgment".
8475 * vc/add-log.el (change-log-acknowledgment): Rename from
8476 change-log-acknowledgement, with an alias for the old name.
8477
3cc5a3a8
JB
84782012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8479
8480 * calc-alg.el (math-simplify-divide): Don't cross multiply
8481 in an equation when the lhs is a variable.
8482
b7af7f62
JD
84832012-07-24 Julien Danjou <julien@danjou.info>
8484
8485 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8486 Remove, unused.
8487
ec1b09b1
EZ
84882012-07-23 Eli Zaretskii <eliz@gnu.org>
8489
8490 * startup.el (command-line): Don't display an empty user name in
8491 the error message about non-existent home directory, when
8492 init-file-user was set to an empty string. See
8493 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8494 for the details and context.
8495
b525fd8a
VB
84962012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8497
8498 * ses.el (ses-cell-formula-aset): New macro.
8499 (ses-cell-references-aset): New macro.
8500 (ses-cell-p): New function.
8501 (ses-rename-cell): Do no longer rely on complex operations like
8502 ses-cell-set-formula or ses-set-cell to change the cell and handle
8503 the undo at the same time, but rather use lower level new macros
8504 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 8505 the undo directly. Refresh the mode line.
b525fd8a 8506
2c73e345
LL
85072012-07-21 Leo Liu <sdl.web@gmail.com>
8508
670d85ea
SM
8509 * progmodes/cc-cmds.el (c-defun-name):
8510 Use match-string-no-properties instead for consistency.
2c73e345 8511
542dfbde
LL
85122012-07-20 Leo Liu <sdl.web@gmail.com>
8513
3646bcd6
LL
8514 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8515 (Bug#7879)
8516
542dfbde
LL
8517 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8518
25721031
CY
85192012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8520
8521 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8522 * progmodes/bug-reference.el, misearch.el: Provide themselves
8523 (bug#11915).
8524
8525 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8526 of narrowed buffer (bug#11966).
8527
316e68a7
VB
85282012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8529
8530 * ses.el (ses-rename-cell): Set new name also in reference list of
8531 cells of which the renamed cell depends.
8532
bbf0e7d9
MY
85332012-07-20 Masatake YAMATO <yamato@redhat.com>
8534
8535 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8536 to check whether menu-bar is shown or not. If not shown,
8537 show the menu-bar as a popup menu instead of using tmm.
8538 * mouse.el (popup-menu): Accept `point' as `position' argument.
8539
c28662a8
DG
85402012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8541
8542 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8543 up inside string symbol literal (bug#11923).
8544
87ab808f
EZ
85452012-07-20 Eli Zaretskii <eliz@gnu.org>
8546
8547 * startup.el (fancy-startup-text): Read the whole tutorial, not
8548 just its first 256 bytes. Prevents gibberish in display of the
8549 tutorial title.
8550
89dea803
DA
85512012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8552
8553 Drop idle buffer compaction due to an absence of the
8554 proved efficiency.
8555 * compact.el: Remove.
8556
8a4e6db8
SS
85572012-07-19 Sam Steingold <sds@gnu.org>
8558
8559 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8560 vc-bzr-pull & vc-bzr-merge-branch.
8561 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8562 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8563 for consistency with compilation-error-regexp-alist.
8564 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8565 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8566 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8567 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8568
5db81e33
SM
85692012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8570
8571 * emacs-lisp/chart.el: Use lexical-binding.
8572 (chart-emacs-storage): Don't hardcode the list of entries.
8573
5b835e1d
DA
85742012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8575
8576 Next round of tweaks caused by Fgarbage_collect changes.
8577 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8578
9cd47b72
DA
85792012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8580
8581 Compact buffers when idle.
8582 * compact.el: New file.
8583
1d6fc0df
SM
85842012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8585
8586 * subr.el (eventp): Presume that if it looks vaguely like an event,
8587 it's an event (bug#10190).
8588
1d29cc7d
FEG
85892012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8590
8591 Enhancements to ppss related code (thanks Stefan).
8592 * progmodes/python.el (python-indent-context)
8593 (python-indent-calculate-indentation, python-indent-dedent-line)
8594 (python-indent-electric-colon, python-nav-forward-block)
8595 (python-mode-abbrev-table)
1d6fc0df 8596 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
8597 for ppss context.
8598 (python-info-continuation-line-p): Cleanup.
8599 (python-info-ppss-context): Do not catch 'quote.
8600 (python-info-ppss-context-type)
8601 (python-info-ppss-comment-or-string-p): Simplify.
8602
d583cbe6
FEG
86032012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8604
8605 * progmodes/python.el: Enhancements to eldoc support.
8606 (python-info-current-symbol): New function.
8607 (python-eldoc-at-point): Use python-info-current-symbol.
8608 (python-info-current-defun): Fix cornercase on first defun scan.
8609 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8610 and signal error when no inferior python process is available.
8611
eceb6feb
DG
86122012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8613
8614 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8615 assume it's always t.
8616 (vc-git-registered): Remove caching, the function is only called
8617 once.
8618 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8619
4c8ff0fe
CY
86202012-07-18 Chong Yidong <cyd@gnu.org>
8621
19fb7186
CY
8622 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8623
9587c688
CY
8624 * simple.el (count-words): Report on narrowing (Bug#9959).
8625
0fe776a1
CY
8626 * bindings.el: Bind M-= to count-words.
8627
4c8ff0fe
CY
8628 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8629
7f5331cc
MY
86302012-07-18 Masatake YAMATO <yamato@redhat.com>
8631
8632 * progmodes/sh-script.el (sh-imenu-generic-expression):
8633 Capture a function with `function' keyword and without parentheses
8634 like "function FOO" (bug#11856).
8635
2dc2a609
TH
86362012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8637
8638 * window.el (split-window-sensibly): Make WINDOW argument
8639 optional.
8640
439f7677
CY
86412012-07-18 Chong Yidong <cyd@gnu.org>
8642
9aeb25a6
CY
8643 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8644
439f7677
CY
8645 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8646 and make C-x 8 RET exit isearch (Bug#11439).
8647
8648 * international/iso-transl.el: Move isearch-mode-map key
8649 definitions to isearch.el.
8650
12999ea8
SM
86512012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8652
8653 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8654 (eieio-defclass): Use gv-define-setter when possible.
8655
3ab6e069
DA
86562012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8657
8658 Reflect recent changes in Fgarbage_collect.
8659 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8660 reflect new format of data returned by Fgarbage_collect.
8661
0a60bc10
FEG
86622012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8663
8664 New utility functions + python-info-ppss-context fix (Bug#11910).
8665 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8666 (python-info-ppss-comment-or-string-p): New functions.
8667 (python-info-ppss-context): Small fix for string check.
8668
6dafa0d5
JL
86692012-07-17 Juri Linkov <juri@jurta.org>
8670
8671 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8672 (dired-do-async-shell-command): Don't add `*' at the end of the
8673 command (Bug#11815).
8674 (dired-do-shell-command): Doc fix.
8675 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8676 Join the individual commands using either "&" or ";" as the
8677 separator depending on the values of these trailing characters.
8678 At the end re-add the trailing "&". (Bug#10598)
8679
8680 * simple.el (async-shell-command): Sync the interactive spec with
8681 `shell-command'. Doc fix.
8682 (shell-command): Doc fix.
8683
b19dd9d1
JL
86842012-07-17 Juri Linkov <juri@jurta.org>
8685
8686 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8687
bcdc27d7 86882012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 8689
bcdc27d7 8690 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
8691 * progmodes/python.el (python-nav-beginning-of-statement):
8692 Rename from python-nav-statement-start.
bcdc27d7
FEG
8693 (python-nav-end-of-statement): Rename from
8694 python-nav-statement-end.
8695 (python-nav-beginning-of-block): Rename from
8696 python-nav-block-start.
8697 (python-nav-end-of-block): Rename from python-nav-block-end.
8698
191da00e
FEG
86992012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8700
7f5331cc
MY
8701 * progmodes/python.el (python-shell-send-string-no-output):
8702 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
8703 future interactions (Bug#11868).
8704
4dc7c8d5 87052012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 8706
88ecaf8f
SM
8707 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8708
ef501ef0
SM
8709 * emacs-lisp/elint.el (elint-find-args-in-code):
8710 Use help-function-arglist, so as to handle lexical byte-code.
8711
aa7aaf8f
SM
8712 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8713 change (bug#11826).
8714
45fd731c
SM
87152012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8716
2143fa32
SM
8717 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8718 Avoid spuriously marking the buffer as modified because of c-is-sws.
8719
efc26dbe
SM
8720 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8721 as not-a-comment (bug#11946).
8722
f5695c9a
SM
8723 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8724 for uninterned vars.
8725
8726 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8727 Use read-event since we don't really want to read chars but bytes.
8728
45fd731c
SM
8729 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8730 $$..$$ but also $..$ using regexps (bug#11953).
8731 Use tex-verbatim for \url and \path.
8732 (tex-font-lock-keywords): Define as defconst like the others.
8733 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8734
ddfc8813
RK
87352012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8736
8737 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8738 alias for insert-char.
8739
758e556a
FEG
87402012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8741
8742 * progmodes/python.el: Simplified imenu implementation.
8743 (python-nav-jump-to-defun): Remove command.
8744 (python-mode-map): Use `imenu' instead.
8745 (python-nav-list-defun-positions-cache)
8746 (python-imenu-include-defun-type, python-imenu-make-tree)
8747 (python-imenu-subtree-root-label, python-imenu-index-alist):
8748 Remove vars.
8749 (python-nav-list-defun-positions, python-nav-read-defun)
8750 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
8751 (python-imenu-make-tree, python-imenu-create-index):
8752 Remove functions.
758e556a
FEG
8753 (python-mode): Update to interact with imenu by setting
8754 `imenu-extract-index-name-function' only.
8755
032d23ab
FEG
87562012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8757
8758 * progmodes/python.el: Enhancements to navigation commands.
8759 (python-nav-backward-sentence)
8760 (python-nav-forward-sentence): Remove.
8761 (python-nav-backward-statement, python-nav-forward-statement)
8762 (python-nav-statement-start, python-nav-statement-end)
8763 (python-nav-backward-block, python-nav-forward-block)
8764 (python-nav-block-start, python-nav-block-end)
8765 (python-nav-forward-sexp-function)
8766 (python-info-current-line-comment-p)
8767 (python-info-current-line-empty-p): New functions.
8768 (python-indent-context): Use `python-nav-statement-start'.
8769
01795a1b
MA
87702012-07-16 Michael Albinus <michael.albinus@gmx.de>
8771
9328d9aa
MA
8772 * eshell/em-ls.el (eshell/ls): Use `apply'.
8773
8774 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8775 multi-hops, instead of Tramp internals.
8776
01795a1b
MA
8777 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8778
8779 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8780 when F1 and F2 are located on different hosts.
8781
63408057
CY
87822012-07-14 Chong Yidong <cyd@gnu.org>
8783
8784 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8785 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8786 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8787 (xterm-mouse--read-event-sequence-1000)
8788 (xterm-mouse--read-event-sequence-1006): New functions. For old
8789 mouse protocol, handle M-mouse-X events correctly.
8790 (xterm-mouse-event): New arg specifying mouse protocol.
8791 (turn-on-xterm-mouse-tracking-on-terminal)
8792 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
8793 sequence to toggle extended coordinates on newer XTerms.
8794 This appears to be harmless on terminals which do not support this.
63408057 8795
cd276f6e
LL
87962012-07-14 Leo Liu <sdl.web@gmail.com>
8797
28ca98ac
LL
8798 Add fringe bitmap indicators for flymake. (Bug#11253)
8799 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8800 (flymake-make-overlay): New arg BITMAP.
8801 (flymake-error-bitmap, flymake-warning-bitmap)
8802 (flymake-fringe-indicator-position): New user variables.
8803
cd276f6e
LL
8804 * fringe.el: New bitmap exclamation-mark.
8805
04408072
JD
88062012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8807
8808 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8809 also (Bug#7879).
8810
b5cf7fc4
CY
88112012-07-14 Chong Yidong <cyd@gnu.org>
8812
8813 * electric.el (electric-pair-post-self-insert-function): Fix pair
8814 insertion in empty-region case (Bug#11520).
8815
be755c79
RT
88162012-07-14 Chong Yidong <cyd@gnu.org>
8817
45fd731c
SM
8818 * bindings.el: Consolidate ctl-x-r-map bindings.
8819 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
8820
8821 * rect.el, register.el: Move bindings to bindings.el.
8822
88232012-07-14 Reuben Thomas <rrt@sc3d.org>
8824
8825 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8826
7f5b3198
AS
88272012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8828
8829 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8830
97662200
JB
88312012-07-13 Juanma Barranquero <lekktu@gmail.com>
8832
80185fed
JB
8833 * bindings.el (top): Use `mapc' instead of `mapcar'.
8834
97662200
JB
8835 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8836
2bb1ae55
MA
88372012-07-13 Michael Albinus <michael.albinus@gmx.de>
8838
8839 * progmodes/sql.el (sql-comint): Suppress the check for program on
8840 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8841 (Bug#11908)
8842
dea31bd3
CY
88432012-07-13 Chong Yidong <cyd@gnu.org>
8844
8845 * bindings.el: Assign a non-nil permanent-local property to
8846 per-buffer variables which lack a default value (Bug#11930).
8847
8848 * help-fns.el (describe-variable): In the "automatically becomes
8849 local" notice, take note of permanent-local variables.
8850
b68b3337
CY
88512012-07-13 Chong Yidong <cyd@gnu.org>
8852
8853 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8854 to allow printing the message when called from Lisp.
8855
8856 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8857 Remove toggle-read-only.
8858
8859 * bs.el (bs-toggle-readonly):
45fd731c
SM
8860 * buff-menu.el (Buffer-menu-toggle-read-only):
8861 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
8862
8863 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8864 Remove with-no-warnings around toggle-read-only.
8865 (ffap-read-only, ffap-read-only-other-window)
8866 (ffap-read-only-other-frame): Callers changed.
8867
8868 * help-mode.el: Don't require view package.
8869 (help-mode-finish): Set buffer-read-only instead of calling
8870 toggle-read-only.
8871
8872 * bindings.el (mode-line-toggle-read-only):
8873 * dired.el (dired-toggle-read-only):
8874 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8875 with non-nil second arg.
8876
8877 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8878 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8879 directly.
8880
56bc1586
EZ
88812012-07-12 Eli Zaretskii <eliz@gnu.org>
8882
8883 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8884 not incf.
8885
a464a6c7
SM
88862012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8887
8888 More CL cleanups and reduction of use of cl.el.
8889 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8890 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8891 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8892 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8893 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8894 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8895 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8896 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8897 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8898 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8899 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8900 * eshell/em-cmpl.el, eshell/em-banner.el:
8901 * calendar/parse-time.el: Use cl-lib.
8902 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8903 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8904 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8905 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8906 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8907 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8908 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8909 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8910 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8911 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8912 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8913 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8914 `lambda' rather than with `quote'.
8915 (eshell-do-opt): Adjust accordingly.
8916 (eshell-process-option): Simplify.
8917 * eshell/esh-var.el:
8918 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8919 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8920 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8921 to `pcase--dontcare'.
8922 * emacs-lisp/cl.el (labels): Mark obsolete.
8923 (cl--letf, letf): Move to cl-lib.
8924 (cl--letf*, letf*): Remove.
8925 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8926 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8927 (cl-progv): Rewrite.
8928 (cl--letf, cl-letf): Move from cl.el.
8929 (cl-letf*): New macro.
8930 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8931
7ad4afe1
MA
89322012-07-11 Michael Albinus <michael.albinus@gmx.de>
8933
8934 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8935
9af57756
CY
89362012-07-11 Chong Yidong <cyd@gnu.org>
8937
8938 * vc/log-edit.el (log-edit-vc-backend): New variable.
8939 (log-edit): Doc fix.
8940
8941 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8942 argument of log-edit to set up all local variables.
8943 (vc-start-logentry): New optional arg specifying VC backend.
8944
8945 * vc/vc.el (vc-checkin): Use it.
8946 (vc-deduce-fileset): Handle Log Edit buffers.
8947 (vc-diff): Make first argument optional too.
8948
8949 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8950
8477cc7a
MA
89512012-07-10 Michael Albinus <michael.albinus@gmx.de>
8952
8953 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8954 command, just in case. The function is not needed anymore.
8955 (eshell-external-command): Do not call `eshell-remote-command'.
8956
19faa8e8
SM
89572012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8958
f58e0fd5
SM
8959 Reduce use of (require 'cl).
8960 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8961 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8962 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8963 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8964 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8965 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8966 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8967 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8968 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8969 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8970 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8971 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8972 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8973 (byte-compile-unfold-bcf, byte-compile-check-variable):
8974 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8975 (byte-compile-nilconstp):
8976 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8977 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8978
2519d43a
SM
8979 * emacs-lisp/gv.el (cond): Make it a valid place.
8980 (if): Simplify slightly.
8981
19faa8e8
SM
8982 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8983 (pcase--self-quoting-p): New function.
8984 (pcase--u1): Use it.
8985
c4907a5e
GM
89862012-07-10 Glenn Morris <rgm@gnu.org>
8987
8988 * emacs-lisp/authors.el (authors-fixed-entries):
8989 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8990
c4444d16
PE
89912012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8992
8993 Rename configure.in to configure.ac (Bug#11603).
8994 * emacs-lisp/authors.el (authors-canonical-file-name):
8995 * progmodes/autoconf.el (autoconf-mode):
8996 Prefer configure.ac to configure.in.
8997
d75be97d
CY
89982012-07-08 Chong Yidong <cyd@gnu.org>
8999
01ac65bd
CY
9000 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9001 Implement the mouse-1-click-follows-link handling properly.
9002
9003 * info.el (Info-link-keymap): Use follow-link mechanism for
9004 header-line links (Bug#374).
9005
d75be97d
CY
9006 * simple.el (deactivate-mark): Do not set the primary selection
9007 if another program has acquired it (Bug#11772).
9008
87a92845 90092012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
9010
9011 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9012 (woman-decode-region): Replace escaped-escapes without destroying
9013 bold or underline (Bug#11552).
87a92845 9014 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 9015
621b9d6c
CY
90162012-07-07 Chong Yidong <cyd@gnu.org>
9017
9018 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
9019 (interprogram-cut-function, interprogram-paste-function):
9020 Mention that we typically mean the clipboard.
621b9d6c 9021
133a11fc
GM
90222012-07-06 Glenn Morris <rgm@gnu.org>
9023
0d27a45e
GM
9024 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9025
133a11fc
GM
9026 * files.el (toggle-read-only): Restrict message to interactive use.
9027
07b151f1
MA
90282012-07-06 Michael Albinus <michael.albinus@gmx.de>
9029
9030 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9031
9032 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9033
211b896b
GM
90342012-07-06 Glenn Morris <rgm@gnu.org>
9035
50394322
GM
9036 * Makefile.in (compile-one-process): Rename from "recompile".
9037
211b896b
GM
9038 * Makefile.in (bzr-update): "compile" is the same as "recompile
9039 autoloads", but parallelizable, so use that instead.
9040
4737eec9
DG
90412012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9042
9043 * window.el (quit-window): Always restore window height when
8137e7b3 9044 it's saved in quit-restore parameter (Bug#11810).
4737eec9 9045
226c3633 90462012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
9047
9048 * simple.el (kill-whole-line): Doc tweak.
9049
226c3633 90502012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
9051
9052 * files.el (file-relative-name): Compare file names
9053 case-insensitively if on MS-Windows or MS-DOS, or if
9054 read-file-name-completion-ignore-case is non-nil. Don't use
9055 case-fold-search for this purpose. (Bug#11827)
9056
4dc7c8d5
SM
90572012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9058
9059 * calendar/cal-dst.el (calendar-current-time-zone):
9060 Return calendar-current-time-zone-cache if non-nil.
9061
90622012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 90632012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 9064
19faa8e8
SM
9065 * calendar/cal-dst.el (calendar-current-time-zone):
9066 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 9067
60198fc9
GM
90682012-07-06 Glenn Morris <rgm@gnu.org>
9069
9070 * Makefile.in (cvs-update): Remove old alias.
9071
957b3189
MA
90722012-07-05 Michael Albinus <michael.albinus@gmx.de>
9073
9074 Sync with Tramp 2.2.6-pre.
9075
9076 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9077 compatible declaration.
9078
19faa8e8
SM
9079 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9080 Protect `list-load-path-shadows' call.
957b3189
MA
9081
9082 * net/tramp-compat.el (top): Require packages, which aren't
9083 autoloaded anymore for XEmacs. Protect call of
9084 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9085 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9086 it hurts at least for SXEmacs.
9087 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9088 standard-value for `temporary-file-directory'.
9089
9090 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9091 Redirect stderr to /dev/null.
9092 (tramp-sh-handle-write-region): uid and gid can be floats.
9093 Reported by Russell Sim <russell.sim@gmail.com>.
9094 (tramp-sh-handle-vc-registered): Hide errors.
9095 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9096 and `start-file-process'.
9097 (tramp-maybe-open-connection): Check also whether `non-essential'
9098 is bound.
9099
566df3fc
CY
91002012-07-04 Chong Yidong <cyd@gnu.org>
9101
9102 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9103 (xml-parse-tag): Likewise, and avoid changing entity tables.
9104 (xml-syntax-table): Define from scratch, making sure not to give
9105 x2000 and other Unicode spaces whitespace syntax, since those are
9106 not spaces in XML.
9107 (xml-parse-fragment): Delete unused function.
9108 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9109 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9110 (xml-entity-ref, xml-pe-reference-re)
9111 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9112 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9113 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9114 (xml-entity-value-re): Use syntax references in regexps where
9115 possible; no need to define inside a let-binding.
9116 (xml-parse-dtd): Use xml-pe-reference-re.
9117 (xml-entity-or-char-ref-re): New defconst.
9118 (xml-parse-string, xml-substitute-special): Use it.
9119
30eabd7a
SM
91202012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9121
0781098a
SM
9122 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9123 (find-file--read-only): New function.
9124 (find-file-read-only, find-file-read-only-other-window)
9125 (find-file-read-only-other-frame): Use it.
9126 (insert-file-contents-literally): Don't `fset'.
9127 (get-free-disk-space): Use locate-dominating-file.
9128
b5771c0d
SM
9129 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9130 function is already compiled.
9131
30eabd7a
SM
9132 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9133
b4886f6e
MA
91342012-07-03 Michael Albinus <michael.albinus@gmx.de>
9135
9136 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9137 files on the same host.
9138
b9d82339
AS
91392012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9140
9141 * help-fns.el (describe-function-1): Only call
9142 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9143
a76e6535
CY
91442012-07-03 Chong Yidong <cyd@gnu.org>
9145
9146 * xml.el: Protect parser against XML bombs.
9147 (xml-entity-expansion-limit): New variable.
9148 (xml-parse-string, xml-substitute-special): Use it.
9149 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9150
b544fef2
GM
91512012-07-03 Glenn Morris <rgm@gnu.org>
9152
9153 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9154 Allow linking to specific messages in debbugs reports (eg 123#5).
9155
a7aef6f5
CY
91562012-07-02 Chong Yidong <cyd@gnu.org>
9157
9158 * xml.el: Fix entity and character reference expansion, allowing
9159 them to expand into markup as per XML spec.
9160 (xml-default-ns): New variable.
9161 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
9162 (xml-parse-region): Make first two arguments optional.
9163 Discard text properties.
9164 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9165 All callers changed.
a7aef6f5
CY
9166 (xml-parse-tag): Call xml-parse-tag-1. For backward
9167 compatibility, this function should not modify buffer contents.
9168 (xml-parse-tag-1): Fix opening-tag regexp.
9169 (xml-parse-string): Rewrite, handling entity and character
9170 references properly.
9171 (xml--entity-replacement-text): Signal an error if a parameter
9172 entity is undefined.
9173
3df31c9f
SM
91742012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9175
2b5208f1
SM
9176 * comint.el (comint-output-filter): Filter out repeated prompts.
9177
3df31c9f
SM
9178 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9179 and file-name-absolute-p.
9180 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9181 internal calls.
9182
e3ac1281
PE
91832012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9184
9185 Spelling fixes.
9186 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9187 Rename from byte-compile--refiy-function. All uses changed.
9188
fbf2e7ad
CY
91892012-07-01 Chong Yidong <cyd@gnu.org>
9190
9191 * xml.el (xml--parse-buffer): New function. Move most of
9192 xml-parse-region here.
9193 (xml-parse-region): Copy region into a temporary buffer, since
9194 parameter entity substitution requires changing buffer contents.
9195 Use xml--parse-buffer.
9196 (xml-parse-file): Use xml--parse-buffer.
9197 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 9198 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 9199
9bf0aa15
GM
92002012-06-30 Glenn Morris <rgm@gnu.org>
9201
bbce2853
GM
9202 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9203
9bf0aa15
GM
9204 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9205 Remove outdated and unnecessary dbus declarations.
9206
0d23c240
EZ
92072012-06-30 Eli Zaretskii <eliz@gnu.org>
9208
9209 * emacs-lisp/timer.el (timer-until): Subtract results of
9210 float-time, instead of taking float-time of the result of
9211 time-subtract, since float-time signals an error for negative time
9212 arguments.
9213
b3218de1
CY
92142012-06-30 Chong Yidong <cyd@gnu.org>
9215
9216 * xml.el (xml-*-re): Convert defvars into defconsts, and
9217 eval-and-compile them so eval-and-compile works on derivatives.
9218 (xml--entity-replacement-text): Use eval-and-comple.
9219
a40c87a0
MA
92202012-06-30 Michael Albinus <michael.albinus@gmx.de>
9221
9222 * vc/vc-git.el (vc-git-registered): Use cache property
9223 `git-registered'.
9224 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9225 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 9226 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 9227
ac87de97
DG
92282012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9229
9230 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 9231 removed (likely outside Emacs). (Bug#11757)
ac87de97 9232
ac10fe06
SM
92332012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9234
3df31c9f 9235 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 9236
7f3fbd5d
CY
92372012-06-30 Chong Yidong <cyd@gnu.org>
9238
9239 * xml.el: Implement XML parameter entities.
9240 (xml-parameter-entity-alist): New variable.
9241 (xml-parse-region, xml-parse-fragment): Preserve previous values
9242 of xml-entity-alist and xml-parameter-entity-alist, so that
9243 repeated calls on different documents do not change them.
9244 (xml-parse-tag): Fix doctype regexp.
9245 (xml--entity-replacement-text): New function.
9246 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9247 properly requires url retrieval which is unimplemented.
9248 (xml-escape-string): Doc fix.
9249
3cfbebba
SM
92502012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9253
2af3565e
DA
92542012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9255
9256 * fringe.el (fringe-mode): Doc fix.
9257
929df0e7
MA
92582012-06-29 Michael Albinus <michael.albinus@gmx.de>
9259
9260 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9261 is non-nil.
9262 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9263 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9264
c8d3a25c 92652012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 9266
c8d3a25c
GM
9267 * calendar/cal-dst.el (calendar-current-time-zone):
9268 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 9269
c8d3a25c 92702012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
9271
9272 * progmodes/which-func.el (which-func-format):
9273 Add mouse-face. (Bug#11698)
9274
c8d3a25c
GM
92752012-06-29 Leo Liu <sdl.web@gmail.com>
9276
9277 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9278
92792012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9280
9281 * minibuffer.el (minibuffer-confirm-exit-commands):
9282 Add completion-at-point (bug#11725).
9283
92842012-06-29 Glenn Morris <rgm@gnu.org>
9285
9286 * progmodes/f90.el (f90-font-lock-keywords-2):
9287 Add some preprocessor elements. (Bug#10499)
9288
92892012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9290
9291 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9292 Use syntax-propertize (bug#11739).
9293
2badeec4
JB
92942012-06-28 Juanma Barranquero <lekktu@gmail.com>
9295
9296 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9297
ae4969c2
JD
92982012-06-28 Julien Danjou <julien@danjou.info>
9299
9300 * term.el (term-handle-colors-array): Use a set of new faces to
9301 color the terminal. Also uses :inverse-video property.
9302 (term-default-fg-color): Set to nil by default, deprecate in favor
9303 of `term-face'.
9304 (term-default-bg-color): Set to nil by default, deprecate in favor
9305 of `term-face'.
9306 (term-current-face): Use `term-face' by default.
9307 (term-bold-attribute): Variable deleted.
9308
1c9bd870
GM
93092012-06-28 Glenn Morris <rgm@gnu.org>
9310
9311 * simple.el (completion-list-mode-finish):
9312 Don't use toggle-read-only. (Since completion-list-mode has
9313 a special mode-class, it wasn't doing anything extra anyway.)
9314
c207708c
SM
93152012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9316
9317 Make inlining of other-mode interpreted functions work (bug#11799).
9318 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9319 (byte-compile): Use it to fix compilation of lexical-binding closures.
9320 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9321 function, if needed.
9322
3fd56834
SM
93232012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9324
04901786
SM
9325 * help-mode.el (help-make-xrefs): Don't just withstand
9326 cyclic-variable-indirection but any error in documentation-property.
9327
1ec4b7b2
SM
9328 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9329 memory use.
9330 * bindings.el (bindings--define-key): New function.
9331 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9332 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9333 * bindings.el: Use it to purecopy define-key bindings.
9334
e309e2a5
SM
9335 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9336
d5c6faf9
SM
9337 * emacs-lisp/cl.el (flet): Mark obsolete.
9338 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9339 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9340 * progmodes/js.el (js-c-fill-paragraph):
9341 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9342 (ebrowse-switch-member-buffer-to-derived-class):
9343 * play/5x5.el (5x5-solver): Use cl-flet.
9344
6e9590e2
SM
9345 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9346 (cl--symbol-function): New macro.
9347 (cl--letf, cl--letf*): Use it.
9348
3fd56834
SM
9349 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9350 Strip "toggle-" if any.
9351
35ff222c
GM
93522012-06-27 Glenn Morris <rgm@gnu.org>
9353
1ba6038a
GM
9354 * info.el (Info-default-directory-list): Move here from paths.el.
9355 * paths.el: Remove file, which is now empty.
9356 * loadup.el: No longer load "paths".
9357
0ea0e51b
GM
9358 * custom.el (custom-initialize-delay): Doc fix.
9359
35ff222c
GM
9360 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9361 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9362 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9363 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9364 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9365 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9366 * eshell/eshell.el (eshell-defgroup): Remove alias.
9367
c89926a5
CY
93682012-06-27 Chong Yidong <cyd@gnu.org>
9369
9370 * help.el (help-enable-auto-load): New variable.
9371
9372 * help-fns.el (help-fns--autoloaded-p): New function.
9373 (describe-function-1): Refer to a function as "autoloaded" if it
9374 was autoloaded at any time in the past. Perform autoloading if
9375 help-enable-auto-load is non-nil.
9376
cc06e7e7
EZ
93772012-06-26 Eli Zaretskii <eliz@gnu.org>
9378
9379 * makefile.w32-in (compile, compile-always): Depend on
9380 update-subdirs, not on subdirs.el. Otherwise, several different
9381 sub-targets of 'bootstrap' running in parallel could
9382 simultaneously write to subdirs.el, producing a garbled file.
9383
d2c32364
SS
93842012-06-26 Sam Steingold <sds@gnu.org>
9385
9386 * files.el (file-name-base): New convenience function.
0d14cc21
GM
9387 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9388 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9389 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9390 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9391 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
9392 * textmodes/tex-mode.el: Use it.
9393 Did not touch cedet and org because they are maintained elsewhere.
9394
5cf983b2
MR
93952012-06-26 Martin Rudalics <rudalics@gmx.at>
9396
9397 * calendar/calendar.el (calendar-exit): Don't try to delete or
9398 iconify last frame. See:
9399 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9400
8c4f2952
JD
94012012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9402
9403 * server.el (server-process-filter): Remember dir in the
9404 process's `server-client-directory' properties.
9405
772b2e2c
CY
94062012-06-24 Chong Yidong <cyd@gnu.org>
9407
9408 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9409 non-tag text.
9410
711b11e1
JB
94112012-06-23 Juanma Barranquero <lekktu@gmail.com>
9412
9413 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9414
dc5d230c
SM
94152012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9416
9417 * help-fns.el (describe-variable): Don't croak when doc is not found.
9418 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9419 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9420 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9421 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9422 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9423 ((lambda ..) ..).
9424 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9425
136e1c1d
CY
94262012-06-23 Chong Yidong <cyd@gnu.org>
9427
e8c1cabf
CY
9428 * info.el (Info-mouse-follow-link): Accept symbol values of
9429 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
9430 (Info-fontify-node): Use Info-link-keymap for all navigation
9431 buttons, with link-args property to perform the desired action.
9432 (Info-link-keymap): Doc fix.
9433 (Info-next-link-keymap, Info-prev-link-keymap)
9434 (Info-up-link-keymap): Delete now-unused keymaps.
9435
0e9e6c6a
CY
94362012-06-23 Chong Yidong <cyd@gnu.org>
9437
05e89fea
CY
9438 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9439
0e9e6c6a
CY
9440 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9441 system abbrevs.
9442
9443 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9444
e33c6771
SM
94452012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9446
b68581e2
SM
9447 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9448 (bug#11719).
9449
e33c6771
SM
9450 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9451 the requote function doesn't work properly (bug#11714).
9452
7117e105
GM
94532012-06-23 Glenn Morris <rgm@gnu.org>
9454
9455 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9456
36cec983
SM
94572012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 Further GV/CL cleanups.
9460 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9461 gv-expander.
9462 (gv--defun-declaration): New function.
9463 (defun-declarations-alist): Use it.
9464 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9465 (gv-place): Autoload.
9466 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9467 original definition of dotimes and dolist.
9468 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9469 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9470 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9471 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9472 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9473 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9474 to the function's definition.
9475 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9476 * window.el:
9477 * files.el:
9478 * faces.el:
9479 * env.el: Don't use CL.
9480
d35af63c
PE
94812012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9482
9483 Support higher-resolution time stamps (Bug#9000).
9484
9485 * calendar/time-date.el (with-decoded-time-value): New arg
9486 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9487 (encode-time-value): New optional arg PICO. New type 3.
9488 (time-to-seconds) [!float-time]: Support the new picoseconds
9489 component if it's used.
9490 (seconds-to-time, time-subtract, time-add):
9491 Support ps-resolution time stamps as well.
9492
9493 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9494 (timerp): Timer vectors now have length 9, not 8.
9495 (timer--time): Support new-style (4-part) time stamps.
9496 (timer-next-integral-multiple-of-time): Time stamps now have
9497 picosecond resolution, so take a bit more care about rounding.
9498 (timer-relative-time, timer-inc-time): New optional arg psecs.
9499 (timer-set-time-with-usecs): Set psecs to 0.
9500 (timer--activate): Check psecs component, too.
9501
9502 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9503
ac77b21a
SM
95042012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9505
f143bfe3
SM
9506 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9507 Move the non-essential binding to the post/pre-command-hook where it is
9508 more obviously correct.
9509
ac77b21a
SM
9510 * subr.el (read-passwd): Don't use a history at all.
9511 * savehist.el (savehist-save): Remove password saved accidentally
9512 because of the above bug.
9513
76386c5a
BG
95142012-06-22 Bastien Guerry <bzg@gnu.org>
9515
9516 * files.el (toggle-read-only): Display a message telling whether
9517 the buffer is read-only or not (bug#11726).
9518
2ee3d7f0
SM
95192012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9520
9521 * emacs-lisp/gv.el: New file.
9522 * subr.el (push, pop): Extend to generalized variables.
9523 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9524 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9525 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9526 gv-define-simple-setter, and gv-define-expander.
9527 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9528 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9529 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9530 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9531 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9532 gv-letplace.
9533 (cl-defstruct): Don't define setf-method any more.
9534 * emacs-lisp/cl.el (flet): Don't autoload.
9535 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9536 (define-setf-expander, defsetf, define-modify-macro)
9537 (cl-struct-setf-expander): Move from cl-lib.el.
9538 * emacs-lisp/syntax.el:
9539 * emacs-lisp/ewoc.el:
9540 * emacs-lisp/smie.el:
9541 * emacs-lisp/cconv.el:
9542 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9543 (timer--time): Use gv-define-simple-setter.
9544 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9545 to avoid coding-system problems in subr.el. Adjust all users.
9546 (macroexp--maxsize, macroexp-small-p): New functions.
9547 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9548 * scroll-bar.el (scroll-bar-mode):
9549 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9550 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9551 * winner.el (winner-configuration, winner-make-point-alist)
9552 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9553 * files.el (locate-file-completion-table): Avoid list*.
9554
c5695d1d
CY
95552012-06-22 Chong Yidong <cyd@gnu.org>
9556
9557 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9558 (dired-create-files): Doc fix (Bug#11329).
9559 (dired-do-copy): Doc fix (Bug#11334).
9560 (dired-mark-read-string): Doc fix (Bug#11553).
9561
2ee3d7f0
SM
9562 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9563 Doc fix (Bug#11326).
c5695d1d
CY
9564 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9565 (dired-dwim-target): Doc fix.
9566
9567 * wdired.el (wdired-mode): Doc fix.
9568
89b5595a
GM
95692012-06-22 Glenn Morris <rgm@gnu.org>
9570
575db3f1
GM
9571 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9572 (pcmpl-rpm-cache-stamp-file): New constant.
9573 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9574 (pcmpl-rpm-packages): Optionally cache list of packages.
9575
a4c8dd51
GM
9576 * pcmpl-rpm.el (pcmpl-rpm): New group.
9577 (pcmpl-rpm-query-options): New option.
9578 (pcmpl-rpm-packages): No need to inline it.
9579 Use pcmpl-rpm-query-options.
9580
89b5595a
GM
9581 * calendar/calendar.el (calendar-in-read-only-buffer):
9582 Avoid some needless mode changes.
9583
e76f0800
CY
95842012-06-21 Chong Yidong <cyd@gnu.org>
9585
9586 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9587 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 9588 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 9589
297a8f1d
CY
95902012-06-20 Chong Yidong <cyd@gnu.org>
9591
9592 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9593
d34c18b1
DR
95942012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9595
9596 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9597 (bug#11201).
9598
32f7f28e
CY
95992012-06-20 Chong Yidong <cyd@gnu.org>
9600
9601 * term.el (term-window-width): Handle the case of a missing right
9602 fringe (Bug#8837).
9603 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
9604 (term-mode): Use define-derived-mode. Minor cleanups.
9605 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
9606 (term-move-columns, term-insert-char, term-emulate-terminal)
9607 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 9608
493c6688
MA
96092012-06-20 Michael Albinus <michael.albinus@gmx.de>
9610
d34c18b1
DR
9611 * net/ange-ftp.el (ange-ftp-get-passwd):
9612 Bind `enable-recursive-minibuffers'.
493c6688
MA
9613 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9614
3f06ecf4
DR
96152012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9616
9617 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9618
68f12411
GM
96192012-06-19 Glenn Morris <rgm@gnu.org>
9620
9621 * progmodes/python.el (python-mode): Derive from prog-mode.
9622
b3820318
KG
96232012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9624
9625 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9626 (edt-user-menu-bar-update-buffers): New functions.
9627 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9628
c6bf3022
CY
96292012-06-19 Chong Yidong <cyd@gnu.org>
9630
9631 * subr.el (with-selected-window): Preserve the selected window's
9632 terminal's top-frame (Bug#4702).
9633
9634 * window.el (save-selected-window): Likewise.
9635
25f09295
SM
96362012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9637
9638 * progmodes/python.el (python-rx-constituents): Move backquote.
9639 (python-skeleton-define, python-define-auxiliary-skeleton):
9640 Use `declare'.
9641
6b11952a
MA
96422012-06-18 Michael Albinus <michael.albinus@gmx.de>
9643
9644 * minibuffer.el (read-file-name-default): Revert the patch from
9645 2012-06-17.
9646
ee4b1330
SM
96472012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9648
9649 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9650 (pcase--u1, pcase--q1): Don't use apply-partially.
9651
35647f79
GM
96522012-06-18 Glenn Morris <rgm@gnu.org>
9653
9654 * progmodes/python.el (python-proc, python-buffer)
9655 (python-send-receive, python-send-string): Fix obsolete versions.
9656
24b0cff0
MR
96572012-06-18 Martin Rudalics <rudalics@gmx.at>
9658
9659 * window.el (special-display-p): Completely remove stringp
9660 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9661
29855149
MA
96622012-06-17 Michael Albinus <michael.albinus@gmx.de>
9663
9664 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9665
9666 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9667
9668 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9669 * net/tramp-sh.el (tramp-maybe-open-connection):
9670 Throw if `non-essential' is non-nil.
9671
07463363
MR
96722012-06-17 Martin Rudalics <rudalics@gmx.at>
9673
9674 * window.el (special-display-p): Signal an error if BUFFER-NAME
9675 is not a string (Bug#11713).
9676
48d1354e
PE
96772012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9678
9679 * progmodes/python.el (python-info-beginning-of-backslash):
9680 Rename from python-info-beginning-of-backlash, as a spelling fix.
9681
eb4a8a9a
CY
96822012-06-17 Chong Yidong <cyd@gnu.org>
9683
9684 * term.el (term-emulate-terminal): If term-check-size is called,
9685 move point to the process mark without resetting point (Bug#4635).
9686
ddfbf826 96872012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
9688
9689 * international/mule-cmds.el (mule-menu-keymap)
9690 (set-language-environment, set-locale-environment): Doc tweaks.
9691
9b0e3eba
AA
96922012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9693
9694 * cus-face.el (custom-face-attributes): Add wave-style underline
9695 attribute.
9696 * faces.el (set-face-attribute): Update docstring to describe
9697 wave-style underline attribute.
9698
771e3eae
CY
96992012-06-16 Chong Yidong <cyd@gnu.org>
9700
9701 * term/xterm.el (terminal-init-xterm): Discard input before
9702 querying background mode (Bug#10959).
9703
7ae2ea10
SM
97042012-06-16 Stefan Merten <smerten@oekonux.de>
9705
9706 * textmodes/rst.el: Added and corrected some comments.
9707 (rst-re-alist-def): Improve symbol syntax.
9708 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
9709 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9710 (rst-official-version, rst-official-cvs-rev): Update version
9711 information.
7ae2ea10 9712
b6974efa
JB
97132012-06-15 Juanma Barranquero <lekktu@gmail.com>
9714
9715 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9716 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9717
8826d473
GM
97182012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9719
9720 * progmodes/python.el: New python.el merge.
9721 (python-guess-indent): Obsolete var.
9722 (python-indent-guess-indent-offset): New defcustom.
9723 (python-indent): Obsolete var.
9724 (python-indent-offset): New defcustom.
9725 (python-python-command, python-jython-command): Delete var.
9726 (python-shell-interpreter): New defcustom.
9727 (python-pdbtrack-do-tracking-p): Delete var.
9728 (python-pdbtrack-activate): New defcustom.
9729 (python-use-skeletons): Obsolete var.
9730 (python-skeleton-autoinsert): New defcustom.
9731 (inferior-python-filter-regexp, python-continuation-offset)
9732 (python-honour-comment-indentation, python-indent-string-contents)
9733 (python-jython-packages, python-mode-hook)
9734 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9735 (python-shell-prompt-alist)
9736 (python-source-modes): Delete defcustoms.
9737 (python-check-buffer-name, python-eldoc-setup-code)
9738 (python-eldoc-string-code, python-ffap-setup-code)
9739 (python-ffap-string-code, python-fill-comment-function)
9740 (python-fill-decorator-function, python-fill-paren-function)
9741 (python-fill-string-function, python-imenu-include-defun-type)
9742 (python-imenu-make-tree, python-imenu-subtree-root-label)
9743 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9744 (python-shell-compilation-regexp-alist)
9745 (python-shell-completion-module-string-code)
9746 (python-shell-completion-pdb-string-code)
9747 (python-shell-completion-setup-code)
9748 (python-shell-completion-string-code)
9749 (python-shell-enable-font-lock, python-shell-exec-path)
9750 (python-shell-extra-pythonpaths)
9751 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9752 (python-shell-process-environment)
9753 (python-shell-prompt-block-regexp)
9754 (python-shell-prompt-output-regexp)
9755 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9756 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9757 (python-shell-virtualenv-path): New defcustoms.
9758 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9759 (inferior-python-mode-syntax-table, python--prompt-regexp)
9760 (python-buffer, python-command python-python-command)
9761 (python-default-template, python-imports, python-indent-index)
9762 (python-indent-list, python-indent-list-length)
9763 (python-mode-running, python-pdbtrack-is-tracking-p)
9764 (python-preoutput-continuation, python-preoutput-leftover)
9765 (python-preoutput-result, python-preoutput-skip-next-prompt)
9766 (python-prev-dir/file, python-recursing)
9767 (python-saved-check-command, python-version-checked)
9768 (python-which-func-length-limit)
9769 (view-return-to-alist): Delete vars.
9770 (python-check-custom-command, python-dotty-syntax-table)
9771 (python-imenu-index-alist, python-indent-current-level)
9772 (python-indent-dedenters, python-indent-levels)
9773 (python-nav-beginning-of-defun-regexp)
9774 (python-nav-list-defun-positions-cache)
9775 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9776 (python-shell-internal-buffer)
9777 (python-skeleton-available): New vars.
9778 (def-python-skeleton): Delete macro.
9779 (python-skeleton-define): New macro.
9780 (python-define-auxiliary-skeleton, python-rx): New macros.
9781 (python-insert-class): Delete command.
9782 (python-skeleton-class): New command.
9783 (python-insert-def): Delete command.
9784 (python-skeleton-def): New command.
9785 (python-insert-for): Delete command.
9786 (python-skeleton-for): New command.
9787 (python-insert-if): Delete command.
9788 (python-skeleton-if): New command.
9789 (python-insert-try/except, python-insert-try/finally): Delete commands.
9790 (python-skeleton-try): New command.
9791 (python-insert-while): Delete command.
9792 (python-skeleton-while): New command.
9793 (python-backspace): Delete command.
9794 (python-indent-dedent-line-backspace): New command.
9795 (python-electric-colon): Delete command.
9796 (python-indent-electric-colon): New command.
9797 (python-guess-indent): Delete command.
9798 (python-indent-guess-indent-offset): New command.
9799 (python-shift-left): Delete command.
9800 (python-indent-shift-left): New command.
9801 (python-shift-right): Delete command.
9802 (python-indent-shift-right): New command.
9803 (python-find-function): Delete command.
9804 (python-nav-jump-to-defun): New command.
9805 (python-next-statement): Delete command.
9806 (python-nav-forward-sentence): New command.
9807 (python-previous-statement): Delete command.
9808 (python-nav-backward-sentence): New command.
9809 (python-fill-paragraph): Delete command.
9810 (python-fill-paragraph-function): New command.
9811 (python-send-buffer): Delete command.
9812 (python-shell-send-buffer): New command.
9813 (python-send-defun): Delete command.
9814 (python-shell-send-defun): New command.
9815 (python-send-region, python-send-region-and-go): Delete commands.
9816 (python-shell-send-region)
9817 (python-shell-switch-to-shell): New commands.
9818 (python-send-string): Delete command.
9819 (python-shell-send-string): New command.
9820 (python-switch-to-python): Delete command.
9821 (python-shell-switch-to-shell): New command.
9822 (python-describe-symbol): Delete command.
9823 (python-eldoc-at-point): New command.
9824 (python--set-prompt-regexp, python-args-to-list)
9825 (python-after-info-look, python-check-version)
9826 (python-check-comint-prompt, python-find-imports)
9827 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9828 (python-unload-function, python-expand-template)
9829 (python-maybe-jython, python-preoutput-filter)
9830 (python-pdbtrack-get-source-buffer)
9831 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9832 (python-pdbtrack-toggle-stack-tracking)
9833 (python-pdbtrack-track-stack-file, python-initial-text)
9834 (python-first-word, python-comment-line-p, python-send-command)
9835 (python-setup-brm, python-sentinel, python-set-proc)
9836 (python-skip-out, python-input-filter, python-outdent-p)
9837 (python-outline-level, python-backslash-continuation-line-p)
9838 (python-end-of-block, python-end-of-statement, python-mark-block)
9839 (python-beginning-of-block, python-beginning-of-statement)
9840 (python-blank-line-p, python-beginning-of-string)
9841 (python-open-block-statement-p): Delete functions.
9842 (python-indent-line, python-indent-line-1): Delete functions.
9843 (python-indent-line): New function.
9844 (python-indentation-levels): Delete function.
9845 (python-indent-calculate-levels): New function.
9846 (python-proc): Delete function.
9847 (python-shell-get-process): New function.
9848 (python-send-receive): Delete function.
9849 (python-shell-send-string-no-output): New function.
9850 (python-module-path): Delete function.
9851 (python-ffap-module-path): New function.
9852 (python-completion-at-point)
9853 (python-symbol-completions): Delete functions.
9854 (python-completion-complete-at-point): New function.
9855 (python-load-file): Delete function.
9856 (python-shell-send-file): New function.
9857 (python-calculate-indentation): Delete function.
9858 (python-indent-calculate-indentation): New function.
9859 (python-skip-comments/blanks): Delete function.
9860 (python-util-forward-comment): New function.
9861 (python-continuation-line-p): Delete function.
9862 (python-info-continuation-line-p): New function.
9863 (python-which-func, python-current-defun): Delete function.
9864 (python-info-current-defun): New function.
9865 (python-beginning-of-defun): Delete function.
9866 (python-nav-beginning-of-defun): New function.
9867 (python-close-block-statement-p)
9868 (python-block-end-p): Delete function.
9869 (python-info-closing-block): New function.
9870 (python-comint-output-filter-function)
9871 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9872 (python-fill-comment, python-fill-decorator, python-fill-paren)
9873 (python-fill-string, python-imenu-make-element-tree)
9874 (python-imenu-make-tree, python-imenu-tree-assoc)
9875 (python-indent-context, python-indent-dedent-line)
9876 (python-indent-line-function)
9877 (python-indent-post-self-insert-function)
9878 (python-indent-toggle-levels)
9879 (python-info-assignment-continuation-line-p)
9880 (python-info-beginning-of-backlash)
9881 (python-info-block-continuation-line-p)
9882 (python-info-closing-block-message)
9883 (python-info-line-ends-backslash-p)
9884 (python-info-looking-at-beginning-of-defun)
9885 (python-info-ppss-context, python-info-ppss-context-type)
9886 (python-nav-list-defun-positions, python-nav-read-defun)
9887 (python-nav-sentence-end, python-nav-sentence-start)
9888 (python-pdbtrack-comint-output-filter-function)
9889 (python-pdbtrack-set-tracked-buffer)
9890 (python-shell-calculate-exec-path)
9891 (python-shell-calculate-process-environment)
9892 (python-shell-completion--do-completion-at-point)
9893 (python-shell-completion--get-completions)
9894 (python-shell-completion-complete-at-point)
9895 (python-shell-completion-complete-or-indent)
9896 (python-shell-get-or-create-process)
9897 (python-shell-get-process-name)
9898 (python-shell-internal-get-or-create-process)
9899 (python-shell-internal-get-process-name)
9900 (python-shell-internal-send-string, python-shell-make-comint)
9901 (python-shell-parse-command, python-shell-send-setup-code)
9902 (python-skeleton-add-menu-items)
9903 (python-util-clone-local-variables, python-util-position)
9904 (run-python-internal, python-indentation-levels)
9905 (python-nav-beginning-of-defun)
9906 (python-completion-complete-at-point): New functions.
9907 (run-python): Change arguments. New API requirements.
9908
4302f5ba
SM
99092012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9910
f38ea36d
SM
9911 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9912 (bug#11649).
9913
9914 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9915 (macroexp--expand-all): Use it.
9916
4302f5ba
SM
9917 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9918 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9919 Use `cl-function' instead.
9920
33377562
JB
99212012-06-14 Juanma Barranquero <lekktu@gmail.com>
9922
9923 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9924 Suggested by Stefan Monnier while discussing bug#11657.
9925
54c5ba1a
SS
99262012-06-14 Sam Steingold <sds@gnu.org>
9927
9928 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9929
f9f1b1fe
AS
99302012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9931
9932 * play/doctor.el (doctor-doc): Remove parameter and use
9933 doctor-sent instead of sent.
9934 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9935
a81068ba
SM
99362012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9937
5a315f9c
SM
9938 * files.el: Require cl-lib.
9939 (file-name-non-special): Replace case -> cl-case.
9940
9941 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9942
a81068ba
SM
9943 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9944 mapping from #' to function*.
9945
8cca9703
CY
99462012-06-13 Chong Yidong <cyd@gnu.org>
9947
9948 * mouse.el (mouse-drag-track): Do not set the mark if the user
9949 releases the mouse without selecting anything (Bug#11588).
9950
a12ac9d7
SM
99512012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9952
ccf1dc18
SM
9953 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9954 as well (bug#11646).
9955
ef62b23d
SM
9956 * loadup.el: Count byte-code functions as well.
9957
c4c8444a
SM
9958 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9959 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9960
a12ac9d7
SM
9961 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9962 (bug#11649). Add cl-defun and cl-defmacro.
9963
87e6e64f
DA
99642012-06-13 Drew Adams <drew.adams@oracle.com>
9965
9966 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9967 Fix last change.
9968
682cefaf
MA
99692012-06-13 Michael Albinus <michael.albinus@gmx.de>
9970
9971 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9972 Otherwise, it blocks in batch mode.
9973
773e1f08
JB
99742012-06-13 Juanma Barranquero <lekktu@gmail.com>
9975
9976 * help-mode.el (bookmark-make-record-default): Declare.
9977
60057926
CY
99782012-06-13 Chong Yidong <cyd@gnu.org>
9979
9980 * emacs-lisp/package.el (list-packages): Compute a list of
9981 packages that are newly-available since the last list-packages
9982 invocation.
9983 (package-menu--new-package-list): New var.
9984 (package-menu--generate, package-menu--print-info)
9985 (package-menu--status-predicate, package-menu-mark-install):
9986 Handle new status label "new".
9987
ad4d226c
SM
99882012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9989
9990 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9991 conversion to backquotes.
9992
f1a4e679
CY
99932012-06-12 Chong Yidong <cyd@gnu.org>
9994
9995 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9996 Rename from gud-inhibit-global-bindings.
9997
9998 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9999
10000 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10001 hook from nxml-glyph-set-hook.
10002
10003 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10004 declaration.
10005
10006 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10007
10008 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10009 Convert to defcustom.
10010
0c9e42b5
DA
100112012-06-12 Drew Adams <drew.adams@oracle.com>
10012
10013 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10014 New functions.
10015 (help-mode): Use them.
10016
09e06855
GM
100172012-06-11 Glenn Morris <rgm@gnu.org>
10018
10019 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10020 Use preprocessor face for directives.
10021 (fortran-directive-re): Doc fix.
10022
71adb94b
SM
100232012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10024
2eb87922
SM
10025 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10026 conversion to backquotes (bug#11652).
10027
71adb94b
SM
10028 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10029 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10030 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10031 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10032 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10033 (cl-ninth, cl-tenth): Mark them as inlinable.
10034 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10035 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10036 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10037 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10038 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10039 (cl-list*, cl-adjoin): Don't put an autoload manually.
10040 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10041 (cl--compiler-macro-list*): Add autoload cookie.
10042 (cl--compiler-macro-cXXr): New function.
2eb87922 10043
71adb94b
SM
10044 * help-fns.el (help-fns--compiler-macro): New function extracted from
10045 describe-function-1; follow aliases and use `compiler-macro' property.
10046 (describe-function-1): Use it.
10047
a6674402
CY
100482012-06-11 Chong Yidong <cyd@gnu.org>
10049
10050 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10051 is uninstalled, if imagemagick is installed.
10052
bb3faf5b
SM
100532012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10054
10055 * emacs-lisp/cl-lib.el: Use lexical-binding.
10056 (cl-map-extents, cl-maclisp-member): Remove.
10057 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10058 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10059 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10060 * emacs-lisp/cl-extra.el: Use lexical-binding.
10061 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10062 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10063 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10064 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10065 * emacs-lisp/cl-seq.el: Use lexical-binding.
10066 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10067 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10068 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10069 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10070 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10071 CL's internals.
10072
2fe4b125
MA
100732012-06-11 Michael Albinus <michael.albinus@gmx.de>
10074
10075 Sync with Tramp 2.2.6-pre.
10076
10077 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10078 `print-length' and `print-level' to nil, in order to avoid
10079 truncation. Reported by Christopher Schmidt
10080 <christopher@ristopher.com>.
10081
10082 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10083
10084 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10085 New defmacro.
10086 (tramp-compat-copy-directory): Add optional argument
10087 COPY-CONTENTS. It is not handled yet.
10088
10089 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10090 (tramp-ftp-file-name-p): Simplify.
10091
10092 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10093 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10094 connection vector.
10095
10096 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10097 (tramp-methods): Do not use `tramp-password-end-of-line'.
10098 (tramp-completion-function-alist-putty): Handle UNIX case.
10099 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10100 (tramp-do-file-attributes-with-stat)
10101 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10102 gid as real numbers. They could run out of integer range on cygwin.
10103 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10104 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
10105 (tramp-open-connection-setup-interactive-shell):
10106 Use `tramp-cleanup'. Move check for busyboxes ...
10107 (tramp-find-shell): ... here. Simplify implementation.
10108 Set "remote-shell" property also for alternative shells.
10109 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10110 If failing, a regular file would be written otherwise.
10111 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
10112 (tramp-find-inline-encoding): Cache the coding commands in the
10113 process cache. Apply test command on the remote side, if defined.
10114 (tramp-find-inline-compress): Cache the compress commands in the
10115 process cache.
10116 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10117 when requested. Handle hops.
10118 (tramp-current-connection): New defvar.
87e6e64f
DA
10119 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10120 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 10121 Handle user interrupt. (Bug#10187)
87e6e64f
DA
10122 (tramp-get-inline-compress, tramp-get-inline-coding):
10123 Read connection properties from the process cache.
2fe4b125
MA
10124
10125 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
10126 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10127 New defconsts.
2fe4b125
MA
10128 (tramp-smb-prompt): Extend for powershell prompt.
10129 (tramp-smb-file-name-handler-alist): Add handlers for
10130 `process-file', `shell-command' and `start-file-process'.
10131 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10132 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10133 (tramp-smb-file-name-p): Simplify.
10134 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10135 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10136 (tramp-smb-shell-quote-argument): New defuns.
10137 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10138 Implement using "tar". By this, time-stamps are preserved.
10139 (tramp-smb-handle-copy-file): Handle also the case of directories.
10140 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
10141 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10142 Use `tramp-get-connection-buffer').
2fe4b125
MA
10143 (tramp-smb-handle-rename-file): Use "rename", when source and
10144 target are on the same share.
87e6e64f
DA
10145 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10146 Use `tramp-smb-server-version'.
2fe4b125
MA
10147 (tramp-smb-wait-for-output): Remove prompt.
10148
10149 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
10150 (tramp-methods, tramp-rsh-end-of-line):
10151 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
10152 (tramp-save-ad-hoc-proxies): New defcustom.
10153 (tramp-completion-function-alist): Adapt docstring.
10154 (tramp-default-password-end-of-line): Remove defcustom.
10155 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10156 (tramp-user-regexp, tramp-file-name-regexp-unified)
10157 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10158 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10159 (tramp-remote-file-name-spec-regexp): New defconst.
10160 (tramp-file-name-structure): Extend structure for hops.
10161 (tramp-get-method-parameter): Move up.
10162 (tramp-file-name-p, tramp-dissect-file-name)
10163 (with-parsed-tramp-file-name): Handle hops.
10164 (tramp-file-name-hop): New defun.
10165 (tramp-make-tramp-file-name): New optional arg HOP.
10166 (tramp-message-show-progress-reporter-message): New defvar.
10167 (tramp-with-progress-reporter): Use it. We cannot use
10168 `tramp-message-show-message' here, because this suppresses also
10169 error buffers.
10170 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
10171 `tramp-message-show-message' is nil.
10172 Use `tramp-get-connection-buffer'.
2fe4b125
MA
10173 (tramp-cleanup): New defun.
10174 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10175 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10176 an error unchanged.
10177 (tramp-completion-handle-file-name-all-completions): Handle hops.
10178 Fix an error when called from ido.
10179 (tramp-completion-dissect-file-name): Use better local variable
10180 name. Add hop to the vector.
10181 (tramp-handle-insert-file-contents): Use progress-reporter for the
10182 whole scenario.
10183 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10184 to `t'.
10185 (tramp-check-for-regexp): Simplify search.
10186 (tramp-enter-password): Remove it. Move implementation ...
10187 (tramp-action-password): ... here.
10188 (tramp-mode-string-to-int, tramp-local-host-p)
10189 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
10190 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10191 Set tramp-autoload cookie.
2fe4b125
MA
10192
10193 * net/trampver.el: Update release number.
10194
101952012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10196 Michael Albinus <michael.albinus@gmx.de>
10197
10198 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10199 (tramp-parse-group, tramp-parse-file)
10200 (tramp-parse-shostkeys-sknownhosts): New defuns.
10201 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10202 (tramp-parse-shosts-group, tramp-parse-sconfig)
10203 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10204 (tramp-parse-sknownhosts, tramp-parse-hosts)
10205 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10206 Use them.
10207 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10208 (tramp-parse-putty-group): Don't narrow.
10209 (tramp-parse-putty): Make a loop.
10210 (tramp-file-name-handler): Catch the `suppress' signal.
10211
72834e10
CY
102122012-06-11 Chong Yidong <cyd@gnu.org>
10213
10214 * image.el (imagemagick-register-types): Put the ImageMagick entry
10215 at the end of image-type-file-name-regexps.
10216
a4712e11
JB
102172012-06-11 Johan Bockgård <bojohan@gnu.org>
10218
10219 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10220 (pcase, pcase-let*, pcase-dolist): Use them.
10221
82ad98e3
SM
102222012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10223
10224 * emacs-lisp/pcase.el (pcase--let*): New function.
10225 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10226 (pcase--expand): Use macroexp-let².
10227
f80efb86
SM
102282012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10231 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10232 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10233 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10234 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10235 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10236
31ca4639 102372012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 10238
31ca4639
CY
10239 * mail/rmail.el (rmail-yank-current-message): Leave point at
10240 correct position. (Bug#11660)
94f0aa34 10241
31ca4639 102422012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 10243
31ca4639 10244 * allout-widgets.el: Fix code header.
9e1b8ec4 10245
31ca4639 102462012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 10247
f80efb86
SM
10248 * cus-edit.el (customize-changed-options-previous-release):
10249 Bump to 24.1.
31ca4639 10250
642b6d30
AS
102512012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10252
10253 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10254
4f5d2ba1
CY
102552012-06-09 Chong Yidong <cyd@gnu.org>
10256
10257 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10258
e75852fd
MR
102592012-06-09 Martin Rudalics <rudalics@gmx.at>
10260
10261 * window.el (special-display-popup-frame): Don't use
10262 window--display-buffer (Bug#11651).
10263
1e48e282
EZ
102642012-06-09 Eli Zaretskii <eliz@gnu.org>
10265
8a26b487
EZ
10266 Fix parallel builds: make sure loaddefs.el is not being written
10267 while Lisp files are compiled.
10268 (compile): Don't depend on 'mh-autoloads'.
10269 (compile-CMD, compile-SH): Depend on 'autoloads'.
10270 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10271
1e48e282
EZ
10272 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10273
6175e34b
CY
102742012-06-09 Chong Yidong <cyd@gnu.org>
10275
10276 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10277 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10278 Doc fixes (Bug#11225).
10279
d9857e53
SM
102802012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10281
10282 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10283 a function if there's a clear indication that it has a compiler-macro.
10284 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10285 (macro-declarations-alist): Add arglist to declaration functions.
10286 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10287 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10288 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10289 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10290 Also add autoload to find the compiler macro.
10291 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10292 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10293 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10294 (cl--compiler-macro-get): New functions, replacing calls to
10295 cl-define-compiler-macro.
10296 (cl-typep) [compiler-macro]: Use macroexp-let².
10297
f81298f8 102982012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
10299
10300 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10301 string properly, fixes Bug#11473.
10302
4b56d0fe
CY
103032012-06-08 Chong Yidong <cyd@gnu.org>
10304
10305 * faces.el (set-face-attribute): Doc fix.
10306 (modify-face): Don't use :bold and :italic.
10307 (error, warning, success): Tweak definitions.
10308
10309 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10310 (custom-modified, custom-set, custom-changed, custom-themed)
10311 (custom-saved, custom-button, custom-button-mouse)
10312 (custom-button-pressed, custom-state, custom-comment-tag)
10313 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10314 (custom-group-subtitle): Use new-style face specs.
10315 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10316 (custom-set-face, custom-changed-face, custom-saved-face)
10317 (custom-button-face, custom-button-pressed-face)
10318 (custom-documentation-face, custom-state-face)
10319 (custom-comment-face, custom-comment-tag-face)
10320 (custom-variable-tag-face, custom-variable-button-face)
10321 (custom-face-tag-face, custom-group-tag-face-1)
10322 (custom-group-tag-face): Remove obsolete face alias.
10323
10324 * epa.el (epa-validity-high, epa-validity-medium)
10325 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10326 (epa-field-name, epa-field-body):
10327 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10328 (font-lock-keyword-face, font-lock-builtin-face)
10329 (font-lock-function-name-face, font-lock-variable-name-face)
10330 (font-lock-type-face, font-lock-constant-face):
10331 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10332 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10333 * speedbar.el (speedbar-button-face, speedbar-file-face)
10334 (speedbar-directory-face, speedbar-tag-face)
10335 (speedbar-selected-face, speedbar-highlight-face)
10336 (speedbar-separator-face):
10337 * whitespace.el (whitespace-newline, whitespace-space)
10338 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10339 (whitespace-line, whitespace-space-before-tab)
10340 (whitespace-space-after-tab, whitespace-indentation)
10341 (whitespace-empty):
10342 * emulation/cua-base.el (cua-global-mark):
10343 * eshell/em-prompt.el (eshell-prompt):
10344 * net/newst-plainview.el (newsticker-new-item-face)
10345 (newsticker-old-item-face, newsticker-immortal-item-face)
10346 (newsticker-obsolete-item-face, newsticker-date-face)
10347 (newsticker-statistics-face, newsticker-default-face):
10348 * net/newst-reader.el (newsticker-feed-face)
10349 (newsticker-extra-face, newsticker-enclosure-face):
10350 * net/newst-treeview.el (newsticker-treeview-face)
10351 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10352 (newsticker-treeview-immortal-face)
10353 (newsticker-treeview-obsolete-face)
10354 (newsticker-treeview-selection-face):
10355 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10356 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10357 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10358 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10359 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10360 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10361 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10362 (mpuz-text):
10363 * progmodes/vera-mode.el (vera-font-lock-number)
10364 (vera-font-lock-function, vera-font-lock-interface):
10365 * textmodes/table.el (table-cell): Use new-style face specs, and
10366 don't use the old :bold and :italic attributes.
10367
10368 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10369 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10370 (ebrowse-member-class, ebrowse-progress): Likewise.
10371 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10372 (ebrowse-file-name-face, ebrowse-default-face)
10373 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10374 (ebrowse-progress-face): Remove obsolete faces.
10375
10376 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10377 Inherit from error and warning faces respectively.
10378
10379 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10380 Likewise.
f80efb86
SM
10381 (flyspell-incorrect-face, flyspell-duplicate-face):
10382 Remove obsolete aliases.
4b56d0fe 10383
03310646
MA
103842012-06-08 Michael Albinus <michael.albinus@gmx.de>
10385
10386 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10387 Avoid infloop.
10388
513749ee
SM
103892012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10390
10391 * startup.el (argv, argi): Make lexically scoped.
10392 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10393 * emacs-lisp/cl-macs.el: Use lexical-binding.
10394 Rename cl-bind-* to cl--bind-*.
10395 * files.el: Don't require `cl' since it doesn't use it.
10396 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10397
595ef4ad
JB
103982012-06-08 Juanma Barranquero <lekktu@gmail.com>
10399
10400 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10401 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10402 instead of calling external sort utility.
10403 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10404
e9f66fcb
EZ
104052012-06-08 Eli Zaretskii <eliz@gnu.org>
10406
10407 * descr-text.el (describe-char): Mention how to insert the
10408 character, if the current input method doesn't support it.
10409 See the discussion in this thread for the details:
10410 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10411
3d10db47
SS
104122012-06-08 Sam Steingold <sds@gnu.org>
10413
10414 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10415 XF86Back to previous-buffer.
10416 (minibuffer-local-map): Bind them to next-history-element and
10417 previous-history-element respectively.
10418 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10419 help-go-back respectively.
10420 * info.el (Info-mode-map): Bind them to Info-history-forward and
10421 Info-history-back respectively.
10422 These are the keys next to Up on the ThinkPad keyboard.
10423
de7e2b36
SM
104242012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10425
10426 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10427 * emacs-lisp/cl-macs.el: Provide itself.
10428 (cl--labels-convert-cache): New var.
10429 (cl--labels-convert): New function.
10430 (cl-flet, cl-labels): New implementation with new semantics, relying on
10431 lexical-binding.
10432 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10433 (cl-closure-vars, cl--function-convert-cache)
10434 (cl--function-convert): Move from cl-macs.el.
10435 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10436 rename by removing the "cl-" prefix.
10437 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10438
6fa6c4ae
SM
104392012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10440
10441 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10442 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10443 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10444 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10445 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10446 (cl-hash-table-count): Add old compatibility aliases.
10447
10448 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10449 Use macroexpand-all-environment instead.
10450 (cl--old-macroexpand): New var.
10451 (cl--sm-macroexpand): New function.
10452 (cl-symbol-macrolet): Use it during macro expansion.
10453 (cl--function-convert-cache): New var.
10454 (cl--function-convert): New function, extracted from
10455 cl-macroexpand-all.
10456 (cl-lexical-let): Use it.
10457
10458 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10459 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10460 (cl-member): Remove old alias.
10461
10462 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10463 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10464 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10465 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10466 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10467 (cl-macroexpand-cmacs): Remove var.
10468 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10469 Use macroexpand-all instead.
10470
4dd1c416
SM
104712012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10472
10473 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10474 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10475 (macroexp-copyable-p): New functions and macros.
10476 * emacs-lisp/edebug.el (edebug-unwrap):
10477 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10478 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10479 (pcase--let*): Remove.
10480 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10481 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10482 macroexp-const-p instead.
10483 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10484
10485 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10486 instead of "cl-" for internal definitions. Use macroexp-const-p.
10487 (cl-old-bc-file-form): Remove var.
10488 (cl-const-exprs-p): Remove fun.
10489 (cl-labels, cl-macrolet): Use backquote.
10490 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10491 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10492 (cl-define-setf-expander): Rename from cl-define-setf-method.
10493 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10494
10495 * international/mule-cmds.el: Don't require CL.
10496 (view-hello-file): Don't use `letf'.
10497
ed8bd4d7
SM
104982012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10499
7287f2f3
SM
10500 * tmm.el (tmm-prompt): Use string-prefix-p.
10501 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10502 (tmm-add-prompt): Use minibuffer-completion-help.
10503 (tmm-delete-map): Remove.
10504
ed8bd4d7
SM
10505 * subr.el (kbd): Make it its own function.
10506
7b4cdbf4
SM
105072012-06-07 Stefan Merten <smerten@oekonux.de>
10508
10509 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10510 Silence compiler warnings. Fix versions.
ed8bd4d7 10511 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 10512 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 10513 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
10514 (rst-package-emacs-version-alist): Correct Emacs version to
10515 represent major merge with upstream.
ed8bd4d7 10516 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 10517
2b48d721
GM
105182012-06-06 Glenn Morris <rgm@gnu.org>
10519
10520 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10521 Only print environment variables if set.
10522
fa779ab0
SM
105232012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10524
10525 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10526 (macroexp--cons): Rename from maybe-cons.
10527 (macroexp--accumulate): Rename from macroexp-accumulate.
10528 (macroexp--all-forms): Rename from macroexpand-all-forms.
10529 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10530 (macroexp--expand-all): Rename from macroexpand-all-1.
10531
628299e0
SS
105322012-06-06 Sam Steingold <sds@gnu.org>
10533
10534 * calendar/calendar.el (calendar-in-read-only-buffer):
10535 Call `special-mode' to enable the standard read-only keybindings.
10536
b7bb5838
SM
105372012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10538
10539 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10540 with "loading" messages (bug#11635).
10541
dfb308ba
MA
105422012-06-06 Michael Albinus <michael.albinus@gmx.de>
10543
10544 * files.el (enable-remote-dir-locals): New option.
10545 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10546
0372ee92
MA
10547 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10548 Ensure, that the temp directory is local.
10549
10550 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10551 `temporary-file-directory'.
10552
eed0bb91
MA
10553 * progmodes/python.el (python-send-region): Ensure, that the
10554 temporary file is created also in the remote case.
10555
7a58f64d
GM
105562012-06-06 Glenn Morris <rgm@gnu.org>
10557
f7dd4e98
GM
10558 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10559 (vc-rcs-update-changelog): Use it.
10560
090bd7cb 10561 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 10562
7a58f64d
GM
10563 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10564 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10565 (vc-sccs-diff): Replace use of the external vcdiff script.
10566
daed4003
GM
105672012-06-05 Glenn Morris <rgm@gnu.org>
10568
10569 * ledit.el: Move to obsolete/.
10570
48c455c7
SS
105712012-06-05 Sam Steingold <sds@gnu.org>
10572
ed9265fc 10573 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
10574 patch (Bug#11140).
10575
57a7d507
SM
105762012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10577
090bd7cb 10578 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 10579
53aacf21
SM
10580 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10581 compiler-macro expansion.
10582
57a7d507
SM
10583 Add native compiler-macro support.
10584 * emacs-lisp/macroexp.el (macroexpand-all-1):
10585 Support compiler-macros directly. Properly follow aliases and apply
10586 the compiler macros more thoroughly.
10587 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10588 macroexpand now properly follows aliases.
10589 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10590 (cl-compiler-macroexpand): Use new prop.
10591 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10592
10593 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10594
51a5f9d8
MR
105952012-06-05 Martin Rudalics <rudalics@gmx.at>
10596
10597 * window.el (get-lru-window, get-mru-window, get-largest-window):
10598 New argument NOT-SELECTED to avoid picking the selected window.
10599 (window--display-buffer-1, window--display-buffer-2): Replace by
10600 new function window--display-buffer
10601 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
10602 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10603 Use window--display-buffer.
51a5f9d8
MR
10604 (display-buffer-use-some-window): Remove temporary dedication
10605 hack by calling get-lru-window and get-largest-window with
10606 NOT-SELECTED argument non-nil. Call window--display-buffer.
10607
08f9f738
GM
106082012-06-05 Glenn Morris <rgm@gnu.org>
10609
10610 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10611 Replace external vcdiff script.
10612
e364a2b7
SM
106132012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10614
10615 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10616
041df390
CY
106172012-06-04 Chong Yidong <cyd@gnu.org>
10618
e364a2b7
SM
10619 * image.el (imagemagick-types-inhibit): Revert last change.
10620 Add INFO and M.
47b36b94 10621 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 10622
7c1898a7
SM
106232012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10624
10625 * emacs-lisp/cl-lib.el: Rename from cl.el.
10626 * emacs-lisp/cl.el: New compatibility file.
10627 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10628 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10629 to obey the "cl-" prefix.
10630 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10631
0c3461de
GM
106322012-06-03 Glenn Morris <rgm@gnu.org>
10633
1e266c88
GM
10634 * emacs-lisp/authors.el (authors-aliases): Addition.
10635
0c3461de
GM
10636 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10637 Fix :version.
10638
d8a52e15
SM
106392012-06-03 Stefan Merten <smerten@oekonux.de>
10640
10641 * textmodes/rst.el: Add comments.
10642 (rst-transition, rst-adornment): New faces.
10643 (rst-adornment-faces-alist): Make default safe to reevaluate.
10644 Fixes
10645 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10646 Improve customization tags.
10647 (rst-define-level-faces): Clarify meaning.
10648
5205d6f6
CY
106492012-06-03 Chong Yidong <cyd@gnu.org>
10650
10651 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
10652 (compilation-mode-line-run, compilation-mode-line-exit):
10653 New faces.
5205d6f6
CY
10654 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10655
757ee657
JD
106562012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10657
7c1898a7
SM
10658 * progmodes/which-func.el (which-func-update-ediff-windows):
10659 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 10660
5f2c76c6
CY
106612012-06-03 Chong Yidong <cyd@gnu.org>
10662
10663 * bindings.el: Remove explicit help text from format-mode-line.
10664 It is now supplied by mode-line-default-help-echo.
10665 (mode-line-front-space, mode-line-end-spaces)
10666 (mode-line-misc-info): New variables.
10667 (mode-line-modes, mode-line-position): Move the default value to
10668 the variable definition.
10669 (mode-line-default-help-echo): New defcustom.
383f7350
CY
10670 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10671 (mode-line-modified-help-echo): New functions.
10672 (mode-line-mule-info, mode-line-modified): Use them.
10673 (mode-line-eol-desc, propertized-buffer-identification):
10674 Consistency fixes for help text.
cbe46e5f
CY
10675 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10676 set-buffer-file-coding-system (Bug#289).
10677 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 10678
f2d6a3df
SM
106792012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10680
10681 * simple.el (execute-extended-command): Set real-this-command
10682 (bug#11506).
10683
37269466
CY
106842012-06-02 Chong Yidong <cyd@gnu.org>
10685
10686 Remove incorrect uses of "modeline" in comments, docstrings, and
10687 function/variable names (Bug#10329).
10688
10689 * cus-edit.el (mode-line):
10690 * dframe.el (dframe-mouse-hscroll):
10691 * emacs-lisp/re-builder.el:
10692 * emacs-lisp/easy-mmode.el (define-minor-mode):
10693 * frame.el (set-frame-name):
10694 * help.el (lookup-minor-mode-from-indicator):
10695 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10696 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10697 (c-toggle-hungry-state):
10698 * progmodes/antlr-mode.el (antlr-language-alist):
10699 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10700 * progmodes/vhdl-mode.el (vhdl-mode):
10701 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10702 * term/ns-win.el (ns-face-at-pos):
10703 * term/sup-mouse.el (sup-mouse-report):
10704 * textmodes/flyspell.el (flyspell-mode-line-string):
10705 * textmodes/ispell.el (ispell-highlight-face):
10706 * textmodes/reftex-global.el:
10707 * vc/vc-arch.el (vc-arch-mode-line-string):
10708 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10709 * vc/vc-git.el (vc-git-mode-line-string):
10710 * vc/vc-hooks.el (vc-display-status)
10711 (vc-default-mode-line-string):
10712 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10713
10714 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10715
10716 * dired.el (dired-sort-set-mode-line): Rename from
10717 dired-sort-set-modeline. All callers changed.
10718
10719 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10720 eshell-status-in-modeline.
10721
10722 * foldout.el (foldout-mode-line-string): Rename from
10723 foldout-modeline-string. All callers changed.
10724 (foldout-update-mode-line): Rename from foldout-update-modeline.
10725
10726 * subr.el (redraw-modeline): Make into obsolete alias.
10727
10728 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10729 timeclock-modeline-display. Make old name an alias.
10730 (timeclock-update-mode-line): Likewise. All callers changed.
10731 (timeclock-mode-line-display): No need to check before using
10732 add-hook.
10733 (timeclock-relative, timeclock-day-over-hook)
10734 (timeclock-use-elapsed, timeclock-mode-string)
10735 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10736
10737 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10738 crisp-mode-modeline-string.
10739
10740 * play/solitaire.el (solitaire-build-mode-line): Rename from
10741 solitaire-build-modeline. All callers changed.
10742
10743 * play/zone.el (zone-hiding-mode-line): Rename from
10744 zone-hiding-modeline. All callers changed.
10745 (zone): Remove unusued `modeline-hidden-level' property.
10746
10747 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10748 xscheme-modeline-initialize. All callers changed.
10749
10750 * strokes.el (strokes-lighter): Rename from
10751 strokes-modeline-string.
10752
10753 * textmodes/sgml-mode.el (html-face-tag-alist)
10754 (html-tag-face-alist): Use mode-line face instead of obsolete
10755 alias modeline.
10756
42152ee4
SM
107572012-06-02 Stefan Merten <smerten@oekonux.de>
10758
10759 * textmodes/rst.el: Always require `cl'.
4cf9b38d 10760 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 10761
95f520b5
CY
107622012-06-02 Chong Yidong <cyd@gnu.org>
10763
10764 * image.el (imagemagick-enabled-types): Rename from
10765 imagemagick-types-enable. Add many more types.
10766 (imagemagick-types-inhibit): Change default to nil.
10767 (imagemagick-filter-types): Caller changed.
10768
4a5f187a
SM
107692012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10770
03fef3e6
SM
10771 * emacs-lisp/cl-macs.el: Use backquotes.
10772 (cl-transform-function-property): Use eval-and-compile rather than
10773 abusing `require'.
10774 (defstruct): Use declare-function instead of with-no-warnings.
10775
4a5f187a
SM
10776 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10777 (byte-compile-output-docform): Re-add the print-circle bindings.
10778 (byte-compile-fix-header): Use #$ just because it's shorter.
10779 (byte-compile-output-file-form): Remove defun/defmacro.
10780
bd56924f
MR
107812012-06-01 Martin Rudalics <rudalics@gmx.at>
10782
10783 * simple.el (choose-completion): Remove now obsolete binding for
10784 owindow.
10785
046e38ce
MA
107862012-06-01 Michael Albinus <michael.albinus@gmx.de>
10787
10788 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10789 in order to avoid "Stack overflow in regexp matcher".
10790
32d72c2f
GM
107912012-05-31 Glenn Morris <rgm@gnu.org>
10792
10793 * image.el: For clarity, call imagemagick-register-types at
10794 top-level, rather than relying on a custom :initialize.
10795 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
10796 (imagemagick-filter-types): New function. (Bug#7406)
10797 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
10798 If disabling support, remove elements altogether rather
10799 than using an impossible regexp.
10800 (imagemagick-types-inhibit): Give it the default init function.
10801
dd41169b
SM
108022012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10803
4a5f187a
SM
10804 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10805 Handle arbitrary file name lengths (Bug#11585).
dd41169b 10806
efc00ab1 108072012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
10808
10809 * desktop.el (desktop-read): Clear previous and next buffers for
10810 all windows and bury *Messages* buffer (bug#11556).
10811
500fcedc
SM
108122012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10813
10814 Add `declare' for `defun'. Align `defmacro's with it.
10815 * emacs-lisp/easy-mmode.el (define-minor-mode)
10816 (define-globalized-minor-mode): Don't autoload the var definitions.
10817 * emacs-lisp/byte-run.el: Use lexical-binding.
10818 (defun-declarations-alist, macro-declarations-alist): New vars.
10819 (defmacro, defun): Use them.
10820 (make-obsolete, define-obsolete-function-alias)
10821 (make-obsolete-variable, define-obsolete-variable-alias):
10822 Use `declare'.
10823 (macro-declaration-function): Mark obsolete.
10824 * emacs-lisp/autoload.el: Use lexical-binding.
10825 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10826
6e8a1786
AM
108272012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10828
10829 * textmodes/ispell.el (ispell-with-no-warnings):
10830 Define as a macro.
500fcedc
SM
10831 (ispell-kill-ispell, ispell-change-dictionary):
10832 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
10833 `interactive-p'.
10834
61b108cc
SM
108352012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10836
10837 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10838 (macro-declaration-function): Move var from C code.
10839 (macro-declaration-function): Define function with defalias.
10840 * emacs-lisp/macroexp.el (macroexpand-all-1):
10841 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10842 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10843 defun/defmacro any more.
10844 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10845 Provide fallback for unknown arglist.
10846 (byte-compile-arglist-warn): Change calling convention.
10847 (byte-compile-output-file-form): Move print-vars binding.
10848 (byte-compile-output-docform): Simplify accordingly.
10849 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10850 (byte-compile-defmacro-declaration): Remove.
10851 (byte-compile-file-form-defmumble): Generalize to defalias.
10852 (byte-compile-output-as-comment): Return byte-positions.
10853 Simplify callers accordingly.
10854 (byte-compile-lambda): Use `assert'.
10855 (byte-compile-defun, byte-compile-defmacro): Remove.
10856 (byte-compile-file-form-defalias):
10857 Use byte-compile-file-form-defmumble.
10858 (byte-compile-defalias-warn): Remove.
10859
6d3f7c2f
SM
108602012-05-29 Stefan Merten <smerten@oekonux.de>
10861
10862 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 10863 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
10864
10865 (rst-mode-abbrev-table): Merge definition.
10866 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10867 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10868
6dbaa1c7
UJ
108692012-05-29 Ulf Jasper <ulf.jasper@web.de>
10870
10871 * calendar/icalendar.el
10872 (icalendar-export-region): Export UID properly.
10873
d209e2fb 108742012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
10875 * calendar/icalendar.el (icalendar-import-format):
10876 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
10877 (icalendar-import-format-uid): New.
10878 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10879 Export UID.
10880
6876a58d
SM
108812012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10882
10883 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10884 different alternative patterns.
10885 (pcase-codegen): Be more careful to preserve identity.
10886 (pcase--u1): Don't forget to mark vars as used.
10887
10888 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10889 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10890 (byte-compile-from-buffer): ...rather than here.
10891
10892 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10893 functions from byte-compile-function-environment.
10894
46b7967e
TN
108952012-05-29 Troels Nielsen <bn.troels@gmail.com>
10896
10897 * window.el (window-deletable-p): Avoid deleting the root window
10898 of a frame with an active minibuffer.
10899
69d565e2
MR
109002012-05-29 Martin Rudalics <rudalics@gmx.at>
10901
10902 * simple.el (choose-completion): Use quit-window (Bug#11567).
10903
a149fa51
CY
109042012-05-29 Chong Yidong <cyd@gnu.org>
10905
10906 * whitespace.el (whitespace-cleanup): Fix usage of
10907 whitespace-empty-at-bob-regexp (Bug#11492).
10908
2b311310
AH
109092012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10910
10911 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10912 revert (Bug#11488).
10913
b9cb2387
JL
109142012-05-29 Juri Linkov <juri@jurta.org>
10915
10916 * isearch.el (isearch-mode-map): Bind `M-s _' to
10917 `isearch-toggle-symbol'. Bind `M-s c' to
10918 `isearch-toggle-case-fold'.
10919 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10920 (isearch-forward): Add `M-s _' to the docstring.
10921 (isearch-forward-symbol, isearch-toggle-case-fold)
10922 (isearch-symbol-regexp): New functions. (Bug#11381)
10923
d5e61c1c
JL
109242012-05-29 Juri Linkov <juri@jurta.org>
10925
10926 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10927 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10928 a function, call it to get the regexp.
10929 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10930 property `isearch-message-prefix' instead of the string "word ".
10931 (isearch-search-fun-default): For the case of `isearch-word',
10932 return a lambda that calls re-search-forward/re-search-backward
10933 with a regexp returned by `word-search-regexp' or by the function
10934 in `isearch-word'.
10935
8cbd80f7
JL
109362012-05-29 Juri Linkov <juri@jurta.org>
10937
10938 * isearch.el (isearch-search-fun-default): New function.
10939 (isearch-search-fun): Move default part to the new function
10940 `isearch-search-fun-default'.
10941 (isearch-search-fun-function): Set the default value to
10942 `isearch-search-fun-default'. (Bug#11381)
10943
10944 * comint.el (comint-history-isearch-end):
10945 Use `isearch-search-fun-default'.
10946 (comint-history-isearch-search): Use `isearch-search-fun-default'
10947 and remove spacial case for `isearch-word'.
10948 (comint-history-isearch-wrap): Remove spacial case for
10949 `isearch-word'.
10950
10951 * hexl.el (hexl-isearch-search-function):
10952 Use `isearch-search-fun-default'.
10953
10954 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10955 Use `word-search-regexp' for `isearch-word'.
10956
10957 * misearch.el (multi-isearch-search-fun):
10958 Use `isearch-search-fun-default'.
10959
10960 * simple.el (minibuffer-history-isearch-search):
10961 Use `isearch-search-fun-default' and remove spacial case for
10962 `isearch-word'.
10963 (minibuffer-history-isearch-wrap): Remove spacial case for
10964 `isearch-word'.
10965
10966 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10967 Remove spacial case for `isearch-word'.
10968 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10969
85c8c5b6
AM
109702012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10971
10972 Decrease XEmacs incompatibilities.
10973 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10974 Use `string-match'.
10975 (flyspell-delete-region-overlays): Use alternative definition for
10976 XEmacs.
10977 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10978 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10979 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10980 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10981 `define-obsolete-face-alias' under XEmacs, but old method.
10982
10983 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10984 `with-no-warnings' definition or Emacs alias.
10985 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10986 (ispell-word): Do not use `region-p' if XEmacs.
10987
8cab9efc
AM
109882012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10989
10990 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10991 Check for `ispell-dictionary-base-alist' instead of full
10992 `ispell-dictionary-alist'.
10993 (ispell-init-process): Show spellchecker when starting new Ispell
10994 process.
10995
fda91268
RZ
109962012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10997
10998 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10999 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11000
694ea8e3
JB
110012012-05-27 Juanma Barranquero <lekktu@gmail.com>
11002
11003 * version.el (motif-version-string, gtk-version-string)
11004 (ns-version-string): Declare.
11005
e4d4f539
JL
110062012-05-27 Juri Linkov <juri@jurta.org>
11007
11008 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11009 after the `eval-defun-1' specialcaseing
11010 like in `edebug-eval-defun' (bug#10181).
11011
11012 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11013 like in `eval-defun-1'.
11014
33017faf 110152012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 11016
fda91268
RZ
11017 * mail/sendmail.el (mail-yank-region):
11018 Recognize rmail-yank-current-message in addition to insert-buffer.
11019 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
11020 a *mail* buffer created through rmail-start-mail with sendmail as
11021 mail-user-agent.
11022
33017faf
GM
110232012-05-27 Chong Yidong <cyd@gnu.org>
11024
11025 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11026 Default to 256 (Bug#11267).
11027
11028 * help.el (describe-mode): Doc fix.
11029
04188bb9
GM
110302012-05-26 Glenn Morris <rgm@gnu.org>
11031
38264cc9
GM
11032 * w32-fns.el (w32-init-info): Remove.
11033 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11034
eb7afdad
GM
11035 * info.el (info-initialize): For self-contained NS builds, put the
11036 included info/ directory at the front. (Bug#2791)
11037
04188bb9
GM
11038 * paths.el (Info-default-directory-list): Make it a defcustom,
11039 mainly so that we can use custom-initialize-delay.
11040
a179e3f7
SM
110412012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11042
43416392
SM
11043 * subr.el (buffer-has-markers-at): Mark obsolete.
11044
a179e3f7 11045 * subr.el (lambda): Use declare.
43416392 11046
a179e3f7
SM
11047 * emacs-lisp/lisp-mode.el (lambda):
11048 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11049
34a008d9
AH
110502012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11051
11052 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11053
0a3b289f
GM
110542012-05-26 Glenn Morris <rgm@gnu.org>
11055
11056 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11057
758c81e8
GM
110582012-05-25 Glenn Morris <rgm@gnu.org>
11059
f9f334f0
GM
11060 * paths.el: Remove no-byte-compile.
11061 * loadup.el: No need to load paths.el uncompiled.
11062
87eb79c2
GM
11063 * image.el (imagemagick-types-inhibit): Doc fix.
11064
758c81e8
GM
11065 * version.el: Remove no-byte-compile and associated formatting.
11066 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11067 is ancient code from when there was an "inc-vers.el".
11068
e7e85dc0
SM
110692012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11070
11071 * progmodes/gdb-mi.el: Minor style changes.
11072 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11073 Turn into minor modes.
11074 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11075 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11076 (gdb-shell): Remove unneeded let-binding.
11077 (gdb-get-many-fields): Eliminate O(n²) behavior.
11078
f31237a4
EZ
110792012-05-25 Eli Zaretskii <eliz@gnu.org>
11080
11081 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11082 platforms that don't link in fontset.c.
11083
bc1b21bb
JL
110842012-05-25 Juri Linkov <juri@jurta.org>
11085
11086 Use the same diff color scheme as in modern VCSes (bug#10181).
11087
11088 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11089 to avoid confusion with `diff-added' that now uses green colors.
11090 (diff-removed): Use shades of red.
11091 (diff-added): Use shades of green.
11092 (diff-changed): Leave just the yellow color.
11093 (diff-use-changed-face): New variable.
11094 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11095 how to highlight context diff changes.
11096 (diff-refine-change): Use shades of yellow.
11097 (diff-refine-removed): New face that uses shades of red.
11098 (diff-refine-added): New face that uses shades of green.
11099 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11100 `diff-refine-removed' in the call to `smerge-refine-subst'
11101 depending on the value of `diff-use-changed-face'.
11102
11103 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11104 (smerge-other): Use shades of green.
11105 (smerge-base): Use shades of yellow.
11106 (smerge-refined-change): Empty face.
11107 (smerge-refined-removed): New face that uses shades of red.
11108 (smerge-refined-added): New face that uses shades of green.
11109 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11110 args `props-r' and `props-a', and use them. Doc fix.
11111 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11112 on its value use different faces `smerge-refined-change',
11113 `smerge-refined-removed', `smerge-refined-added' in the call to
11114 `smerge-refine-subst'.
11115
11116 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11117 Add face condition `min-colors 88' with shades of red.
11118 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11119 `min-colors 88' with shades of green.
11120 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11121 `min-colors 88' with shades of yellow.
11122
6df9112c
GM
111232012-05-24 Glenn Morris <rgm@gnu.org>
11124
ead5edc0
GM
11125 * paths.el (prune-directory-list, remote-shell-program): Move to...
11126 * files.el (prune-directory-list, remote-shell-program): ...here.
11127 For the latter, delay initialization, prefer ssh, just search PATH.
11128
f18b81e6
GM
11129 * paths.el (term-file-prefix): Move to faces.el (the only user).
11130 * faces.el (term-file-prefix): Move here, make it a defcustom.
11131
ee2f89a6
GM
11132 * paths.el (news-directory, news-path, news-inews-program):
11133 Move to gnus/nnspool.el.
61a583ca 11134
f8815e4c
GM
11135 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11136
c8f3b42c
GM
11137 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11138 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11139 Make the latter a defcustom, with a delayed initialization.
11140
6df9112c
GM
11141 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11142 These were deleted from Gnus itself late 2010.
11143
5dadff36
JB
111442012-05-22 Juanma Barranquero <lekktu@gmail.com>
11145
9e1701c6
JB
11146 * progmodes/which-func.el (which-func-ff-hook):
11147 Check against user-error, not error.
11148
bd7239f5 11149 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
11150 cl-specs.el, which no longer exists.
11151
3290526d
GM
111522012-05-22 Glenn Morris <rgm@gnu.org>
11153
11154 * info.el (info-emacs-bug): New command.
11155 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11156 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11157
ff0c3cfb
GM
111582012-05-21 Glenn Morris <rgm@gnu.org>
11159
11160 * makefile.w32-in (update-subdirs-SH):
11161 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11162
5814f126
SM
111632012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11164
a52c0aa0
SM
11165 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11166
5814f126
SM
11167 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11168 Simplify Maven regexp, and make sure the file can't start with a space
11169 (bug#11517).
11170
b847032c
GM
111712012-05-21 Glenn Morris <rgm@gnu.org>
11172
11173 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11174 Scrap superfluous subshells.
11175
3858bfe7
SM
111762012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11179 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11180
d14b0029
JB
111812012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11182
11183 * calc/calc.el (calc-ensure-consistent-units): New variable.
11184
a52c0aa0
SM
11185 * calc/calc-units.el (math-consistent-units-p)
11186 (math-check-unit-consistency): New functions.
11187 (calc-quick-units, calc-convert-units):
11188 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11189 is non-nil.
d14b0029
JB
11190 (calc-extract-units): Fix typo.
11191
60c4db3a
SM
111922012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11193
77f3b62e
SM
11194 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11195
60c4db3a
SM
11196 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11197 (flyspell-default-deplacement-commands): Don't spell check after
11198 repeated window/frame switches (e.g. triggered by mouse-movement).
11199 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11200 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11201 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11202 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11203 Remove unused vars.
11204 (flyspell-get-casechars, flyspell-get-not-casechars):
11205 Simplify; Don't bother removing a ] just to add it back.
11206 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11207
d209e2fb 112082012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
11209
11210 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11211 New functions.
bd7239f5 11212 (math-function-table): Add support for more C functions.
b1a10716 11213
3f1b25b5
AM
112142012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11215
090bd7cb
JB
11216 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11217 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11218 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 11219
b581bb5c
SM
112202012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11221
11222 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11223 their respective macro declarations.
11224 * skeleton.el (define-skeleton):
11225 * progmodes/compile.el (define-compilation-mode):
11226 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11227 (define-ibuffer-filter):
11228 * emacs-lisp/generic.el (define-generic-mode):
11229 * emacs-lisp/easy-mmode.el (define-minor-mode)
11230 (define-globalized-minor-mode):
11231 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11232 * emacs-lisp/byte-run.el (defsubst):
11233 * custom.el (deftheme): Add doc-string metadata.
11234
70b8ef8f
SM
112352012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11238
b1198e17
SM
112392012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11240
9abdc45d
SM
11241 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11242
b1198e17
SM
11243 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11244 * emacs-lisp/cl-macs.el: Idem.
11245 * emacs-lisp/cl-specs.el: Remove.
11246
4735906a
SM
112472012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11248
11249 Minor renaming of internal CL functions and variables.
11250 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11251 (cl--position): Rename from cl-position.
11252 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11253 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11254 (cl--random-state): Rename from *random-state*.
11255
ac348012
SM
112562012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11257
11258 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11259 parens around the arg list (bug#11499).
11260
a0a79cde
JL
112612012-05-17 Juri Linkov <juri@jurta.org>
11262
11263 * isearch.el (word-search-regexp, word-search-backward)
11264 (word-search-forward, word-search-backward-lax)
11265 (word-search-forward-lax): Move functions from search.c
11266 (bug#10145, bug#11381).
11267
65034a51
AM
112682012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11269
090bd7cb
JB
11270 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11271 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11272 Delay for otherchars as for normal word components.
65034a51 11273
1a72a195
SM
112742012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11275
11276 * minibuffer.el (completion--sifn-requote): Fix last change.
11277 (minibuffer-local-must-match-filename-map):
11278 Move define-obsolete-variable-alias before its var.
11279
fdb058c2
SM
112802012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11281
c41045e6
SM
11282 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11283
036dfb8b
SM
11284 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11285 behavior.
11286 (completion--string-equal-p): New function.
11287 (completion--twq-all): Use it to get better assertion failure data.
11288
2473256d
SM
11289 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11290 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11291 (shell--requote-argument): New functions.
11292 (shell-completion-vars): Use them.
11293 (shell--parse-pcomplete-arguments): Rename from
11294 shell-parse-pcomplete-arguments.
11295 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11296 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11297 Obey comint-file-name-quote-list.
11298
fdb058c2
SM
11299 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11300 (smie-indent-keyword): Use it.
11301
51fa99f1
SM
113022012-05-14 Stefan Merten <smerten@oekonux.de>
11303
11304 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11305
e18afed7 113062012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
11307
11308 * net/rlogin.el (rlogin-mode-map): Fix last change.
11309
e18afed7 113102012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
11311
11312 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11313 the following \r\n using a single `process-send-string', since the
11314 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 11315 with two `process-send-string's (Bug#11444).
8633b1f4 11316
e18afed7 113172012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 11318
fdb058c2
SM
11319 * shell.el (shell-parse-pcomplete-arguments):
11320 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 11321
2d21d7f6
WJ
113222012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11323
e18afed7 11324 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
11325 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11326 (image-transform-width, image-transform-fit-width): New functions.
11327 (image-transform-properties): Use them.
11328 (image-transform-check-size): New function.
11329 (image-toggle-display-image): Use it (for testing).
11330 (image-transform-set-rotation): Reduce angle mod 360.
11331 Delete obsolete comment.
11332
7102e6d0
WJ
113332012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11334
11335 * image-mode.el: Fix scaling (bug#11399).
11336 (image-transform-resize): Doc fix.
11337 (image-transform-properties): Default scale is 1 and height should
11338 be an integer.
11339
06bc5e6e
SM
113402012-05-13 Johan Bockgård <bojohan@gnu.org>
11341
11342 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11343 than hard-coding `car', to fix misbehavior when moving forward.
11344
0ae03b6a
CY
113452012-05-13 Chong Yidong <cyd@gnu.org>
11346
11347 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11348 (tabulated-list-entries, tabulated-list-padding)
11349 (tabulated-list-sort-key): Make permanent-local.
11350
11351 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11352 (electric-buffer-list): Put electric buffer menu
11353 command descriptions in this docstring, instead of the docstring
11354 of electric-buffer-menu-mode. Code cleanups.
11355 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11356 Electric-buffer-menu-mode.
11357 (electric-buffer-update-highlight): Minor code cleanup.
11358
205a7391
MA
113592012-05-13 Michael Albinus <michael.albinus@gmx.de>
11360
11361 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11362 (Bug#11447)
11363
e5bd0a28
SM
113642012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11365
11366 Move define-obsolete-variable-alias before the var's definition.
11367 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11368 * tooltip.el (tooltip-hook):
11369 * textmodes/reftex-toc.el (reftex-toc-map):
11370 * textmodes/reftex-sel.el (reftex-select-label-map)
11371 (reftex-select-bib-map):
11372 * textmodes/reftex-index.el (reftex-index-map)
11373 (reftex-index-phrases-map):
11374 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11375 * progmodes/meta-mode.el (meta-mode-map):
11376 * novice.el (disabled-command-hook):
11377 * loadhist.el (unload-hook-features-list):
11378 * frame.el (blink-cursor):
11379 * files.el (find-file-not-found-hooks, write-file-hooks)
11380 (write-contents-hooks):
11381 * emulation/tpu-edt.el (GOLD-map):
11382 * emacs-lock.el (emacs-lock-from-exiting):
11383 * emacs-lisp/generic.el (generic-font-lock-defaults):
11384 * emacs-lisp/chart.el (chart-map):
11385 * dos-fns.el (register-name-alist):
11386 * dired-x.el (dired-omit-files-p):
11387 * desktop.el (desktop-enable):
11388 * cus-edit.el (custom-mode-hook):
11389 * buff-menu.el (buffer-menu-mode-hook):
11390 * bookmark.el (bookmark-read-annotation-text-func)
11391 (bookmark-exit-hooks):
11392 * allout.el (allout-mode-deactivate-hook)
11393 (allout-exposure-change-hook, allout-structure-added-hook)
11394 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11395 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11396 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11397 comes before the corresponding variable's definition.
11398
ac59c2f6
CY
113992012-05-12 Chong Yidong <cyd@gnu.org>
11400
11401 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
11402 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11403 (Buffer-menu-mode-map): Bind it.
11404 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 11405
dee6c9a3
SM
114062012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11407
2171cea5
SM
11408 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11409 (prolog-upper-case-string, prolog-lower-case-string)
11410 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11411 (prolog-use-smie, prolog-smie-grammar): New vars.
11412 (prolog-smie-forward-token, prolog-smie-backward-token)
11413 (prolog-smie-rules): New funs.
11414 (prolog-comment-indent): Remove.
11415 (prolog-mode-variables): Use default comment indentation instead.
11416 Setup SMIE.
11417 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11418 (prolog-mode): Don't call them any more.
11419 (prolog-electric-colon, prolog-electric-dash)
11420 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11421
aa0382bd
SM
11422 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11423
dbacb4bd
SM
11424 * minibuffer.el (completion--twq-all): Again, allow case differences.
11425
13bdd94c
SM
11426 * term.el: Move keymap initialization code to be more idiomatic.
11427 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11428 (term-terminal-menu): Move initialization into declaration.
11429 (term-escape-char): Let the user set it in her .emacs.
11430
ff46c759
SM
11431 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11432 Provide SMIE-based indentation (not enabled by default yet).
11433 (sh-mode-map): Don't bind electric keys.
11434 Use electric-pair-mode instead of skeleton-pair.
11435 (sh-assignment-regexp): Fit within 80 columns.
11436 (sh-indent-supported): Specify actual shell name instead of boolean.
11437 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11438 (sh-maybe-here-document): Use it. Make obsolete.
11439 (sh-electric-here-document-mode) New minor mode.
11440 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11441 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11442 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11443 (sh-smie-rc-grammar, sh-use-smie): New vars.
11444 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11445 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11446 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11447 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11448 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11449 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11450 (sh-set-shell): Use smie-setup if requested.
11451
dee6c9a3
SM
11452 * term.el (term-set-escape-char): Properly set term-escape-char.
11453 See http://stackoverflow.com/questions/10524656.
11454
9f9aa044
CY
114552012-05-10 Chong Yidong <cyd@gnu.org>
11456
11457 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11458 Use url-generic-parse-url, and handle host names and Windows
11459 filenames properly.
11460 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11461 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11462 URL schemes to work on.
11463 (ffap--toggle-read-only): New function.
11464 (ffap-read-only, ffap-read-only-other-window)
11465 (ffap-read-only-other-frame): Use it.
11466 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11467 necessary for ffap-url-unwrap-remote.
11468
836d29b3
DA
114692012-05-10 Dave Abrahams <dave@boostpro.com>
11470
11471 * cus-start.el (create-lockfiles): Add it.
11472
00fd78ed
CY
114732012-05-09 Chong Yidong <cyd@gnu.org>
11474
11475 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11476 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11477
666b903b 114782012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
11479
11480 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11481
666b903b 114822012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
11483
11484 * ansi-color.el (ansi-color-process-output): Check for validity of
11485 comint-last-output-start before using it. This avoids a bad
11486 interaction with gdb-mi's input/output buffer.
11487
666b903b 114882012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
11489
11490 * files.el (dir-locals-read-from-file):
11491 Mention dir-locals in any error message.
11492
666b903b 114932012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
11494
11495 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11496 package (Bug#11410).
11497
f677562b
CY
11498 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11499 variables into description.
11500
666b903b 115012012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
11502
11503 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11504 shell-delimiter-argument-list (bug#11348).
11505 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11506
b499d8d0
JB
115072012-05-09 Juanma Barranquero <lekktu@gmail.com>
11508
8f6b6da8
JB
11509 * textmodes/rst.el: Silence byte-compiler warnings.
11510 (rst-re-alist, rst-reset-section-caches): Move around.
11511 (rst-re): Use `characterp', not `char-valid-p'.
11512 (font-lock-beg, font-lock-end): Declare.
11513
4824146a
JB
11514 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11515 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11516
b499d8d0
JB
11517 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11518
ad89bb83
GM
115192012-05-08 Glenn Morris <rgm@gnu.org>
11520
11521 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11522
8bba5a75
SM
115232012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11524
49ed9c8e
SM
11525 * vc/log-edit.el: Add GNU coding standards highlighting.
11526 (log-edit-font-lock-gnu-style)
11527 (log-edit-font-lock-gnu-keywords): New vars.
11528 (log-edit-font-lock-keywords): New fun.
11529 (log-edit-mode): Don't fold case in font-lock.
11530 (log-edit-font-lock-keywords): Do not assume case-folding.
11531
07d00b56
SM
11532 * imenu.el: Misc cleanup. Make docstrings out of comments.
11533 Use lexical-binding.
11534 (imenu--index-alist, imenu--last-menubar-index-alist)
11535 (imenu-menubar-modified-tick): Use defvar-local.
11536 (imenu--split-menu): Remove unused var.
11537 (imenu--cleanup-seen): Declare as global.
11538 (imenu--cleanup): Use dolist.
11539
8bba5a75
SM
11540 * subr.el (defvar-local): Add debug spec and doc-string position.
11541
5075bdb5
GM
115422012-05-08 Glenn Morris <rgm@gnu.org>
11543
090bd7cb 11544 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
11545 * language/english.el, language/georgian.el, language/greek.el:
11546 * language/japanese.el, language/khmer.el, language/korean.el:
11547 * language/lao.el, language/misc-lang.el, language/romanian.el:
11548 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11549 * language/thai.el, language/utf-8-lang.el:
11550 Remove no-byte-compile setting.
11551
5075bdb5
GM
11552 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11553
06f679a7
AH
115542012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11555
11556 * progmodes/make-mode.el (makefile-browse):
11557 Remove unnecessary interactive. (Bug#11324)
11558
03794570
GM
115592012-05-07 Glenn Morris <rgm@gnu.org>
11560
af8630f4
GM
11561 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11562
03794570
GM
11563 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11564
f0809a9d
SM
115652012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11566
28be5ce7
SM
11567 * loadup.el: Preload newcomment.el.
11568 * newcomment.el: Move autoload-only code to toplevel.
11569
f0809a9d
SM
11570 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11571 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11572 Handle new :right-align column property.
11573 (tabulated-list-print-col): Idem, plus use `display' text-property to
11574 try and preserve alignment for variable pitch fonts.
11575
1241b724
CY
115762012-05-07 Chong Yidong <cyd@gnu.org>
11577
11578 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11579 (tabulated-list-use-header-line): New var.
11580 (tabulated-list-init-header): Use it.
11581 (tabulated-list-print-fake-header): New function.
11582 (tabulated-list-print): Use it.
11583 (tabulated-list-sort-button-map): Add non-header-line commands.
11584 (tabulated-list-init-header): Add column name property to basic
11585 labels as well.
11586 (tabulated-list-col-sort): Handle non-header-line button case.
11587 (tabulated-list--sort-by-column-name): Fix a corner case.
11588
f0809a9d
SM
11589 * buff-menu.el (list-buffers--refresh):
11590 Handle Buffer-menu-use-header-line.
1241b724 11591
e5f9458f
CY
115922012-05-06 Chong Yidong <cyd@gnu.org>
11593
11594 * buff-menu.el: Convert to Tabulated List mode.
11595 (Buffer-menu-buffer+size-width): Make obsolete.
11596 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11597 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11598 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11599 documentation into docstring of buffer-menu.
11600 (Buffer-menu-toggle-files-only): Add an informative message.
11601 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11602 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11603 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11604 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11605 (Buffer-menu-execute, Buffer-menu-select)
11606 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11607 (Buffer-menu-bury): Use Tabulated List machinery.
11608 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11609 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 11610 Delete.
e5f9458f
CY
11611 (list-buffers--refresh): New function.
11612 (list-buffers-noselect): Use it.
11613 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11614 (Buffer-menu--pretty-file-name): New helper functions.
11615
11616 * loadup.el: Preload tabulated-list.
11617
11618 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11619 tabulated-list-sort-column.
11620 (tabulated-list-init-header): Add the initial aligning space even
11621 if tabulated-list-padding is zero.
11622
e129292c
CS
116232012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11624
11625 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11626 whose cdr is not a cons cell correctly (bug#11038).
11627
6632d361
CY
116282012-05-06 Chong Yidong <cyd@gnu.org>
11629
e129292c
CS
11630 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11631 Accept additional plist in column descriptors.
6632d361
CY
11632 (tabulated-list-init-header): Obey it.
11633 (tabulated-list-get-entry): New function.
11634 (tabulated-list-put-tag): Use it. Use string-width instead of
11635 length.
11636 (tabulated-list--column-number): New function.
11637 (tabulated-list-print): Use it.
e129292c
CS
11638 (tabulated-list-print-col): New function.
11639 Set `tabulated-list-column-name' property on each column's text.
6632d361 11640 (tabulated-list-print-entry): Use it.
e129292c
CS
11641 (tabulated-list-delete-entry, tabulated-list-set-col):
11642 New functions.
6632d361
CY
11643 (tabulated-list-sort-column): New command (Bug#11337).
11644
3cc99f68
CY
11645 * buff-menu.el (list-buffers): Move C-x C-b binding from
11646 buff-menu.el to bindings.el.
11647
11648 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11649 :advertised-binding feature.
11650
52b61776
TN
116512012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11652
11653 * progmodes/compile.el (compilation-internal-error-properties):
11654 Calculate start position correctly when end-col is set but
11655 end-line is not (Bug#11382).
11656
ebfe2597
WJ
116572012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11658
11659 * man.el (Man-unindent): Use text-property-default-nonsticky to
11660 prevent untabify from inheriting face properties (Bug#11408).
11661
6d3f7c2f
SM
116622012-05-05 Stefan Merten <smerten@oekonux.de>
11663
11664 * textmodes/rst.el: Major merge with upstream development up to
11665 Docutils SVN r7399 / rst.el V1.2.1.
11666
11667 Clarify maintainership and authors.
11668
11669 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11670 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11671 (rst-official-version, rst-official-cvs-rev, rst-version)
11672 (rst-package-emacs-version-alist): New functions and variables
11673 for version information.
11674
11675 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11676 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11677 (rst-mode-syntax-table, rst-mode): New and corrected functions
11678 and variables representing reStructuredText features.
11679
11680 (rst-re): New function for reStructuredText regexes. Use in
11681 many places.
11682
11683 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11684 (rst-mode-map): Rebind keys.
11685
11686 (rst-mode-lazy, rst-font-lock-keywords)
11687 (rst-font-lock-extend-region)
11688 (rst-font-lock-extend-region-internal)
11689 (rst-font-lock-extend-region-extend)
11690 (rst-font-lock-find-unindented-line-limit)
11691 (rst-font-lock-find-unindented-line-match)
11692 (rst-adornment-level, rst-font-lock-adornment-level)
11693 (rst-font-lock-adornment-match)
11694 (rst-font-lock-handle-adornment-pre-match-form)
11695 (rst-font-lock-handle-adornment-matcher): Major revision of
11696 font-locking. Integrate with other code. Use `jit-lock-mode'.
11697
11698 (rst-preferred-adornments, rst-adjust-hook)
11699 (rst-new-adornment-down, rst-preferred-bullets)
11700 (rst-preferred-bullets, rst-indent, rst-indent-width)
11701 (rst-indent-field, rst-indent-literal-normal)
11702 (rst-indent-literal-minimized, rst-indent-comment): Change,
11703 extend and improve customization.
11704
11705 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11706 (rst-normalize-cursor-position, rst-get-decoration)
11707 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11708 (rst-rstrip, rst-toc-insert-find-delete-contents)
11709 (rst-shift-fill-region, rst-compute-bullet-tabs)
11710 (rst-debug-print-tabs, rst-debug-mark-found)
11711 (rst-shift-region-guts, rst-shift-region-right)
11712 (rst-shift-region-left, rst-use-char-classes)
11713 (rst-font-lock-keywords-function)
11714 (rst-font-lock-indentation-point)
11715 (rst-font-lock-find-unindented-line-begin)
11716 (rst-font-lock-find-unindented-line-end)
11717 (rst-font-lock-find-unindented-line)
11718 (rst-font-lock-adornment-point, rst-font-lock-level)
11719 (rst-adornment-level-alist): Remove functions and variables.
11720
11721 (rst-compare-adornments, rst-get-adornment-match)
11722 (rst-suggest-new-adornment, rst-get-adornments-around)
11723 (rst-adornment-complete-p, rst-get-next-adornment)
11724 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11725 (rst-straighten-adornments): Standardize function names to
11726 use "adornment" instead of "decoration". Correct callers.
11727 Similar standardizing in many places.
11728
11729 (rst-update-section, rst-adjust, rst-promote-region)
11730 (rst-enumerate-region, rst-bullet-list-region)
11731 (rst-repeat-last-character): Correct use of `interactive'.
11732
11733 (rst-classify-adornment, rst-find-all-adornments)
11734 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11735 (rst-find-leftmost-column, rst-repeat-last-character):
11736 Refactor functions.
11737
11738 (rst-find-title-line, rst-reset-section-caches)
11739 (rst-get-adornments-around, rst-adjust-adornment-work)
11740 (rst-arabic-to-roman, rst-roman-to-arabic)
11741 (rst-insert-list-pos, rst-insert-list-new-item)
11742 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11743 New functions.
11744
11745 (rst-all-sections, rst-section-hierarchy)
11746 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11747 New variables.
11748
11749 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11750 configuration instead of only buffer. Change where necessary.
11751
11752 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11753 (rst-shift-region, rst-adaptive-fill): New functions for
11754 indentation and filling.
11755
11756 (rst-comment-line-break, rst-comment-indent)
11757 (rst-comment-insert-comment, rst-comment-region)
11758 (rst-uncomment-region): New functions for handling comments.
11759
11760 (rst-compile): Quote shell arguments.
11761
11762 (rst-compile-pdf-preview, rst-compile-slides-preview):
11763 Delete temporary files after use.
11764
a43f98b3
GM
117652012-05-05 Glenn Morris <rgm@gnu.org>
11766
48176e8b
GM
11767 * calendar/cal-html.el: Optionally include holidays in the output.
11768 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11769 (cal-html-holidays): New option.
11770 (cal-html-css-default): Add holiday entry.
11771 (holiday-in-range): Autoload it.
11772 (cal-html-htmlify-entry): Add optional class argument.
11773 (cal-html-htmlify-list): Add optional holidays argument.
11774 (cal-html-insert-agenda-days): Include holidays in the output.
11775 (cal-html-one-month): Maybe include holidays.
11776
a43f98b3
GM
11777 * calendar/holidays.el (holiday-in-range):
11778 Move here from cal-tex-list-holidays.
11779 * calendar/cal-tex.el (cal-tex-list-holidays):
11780 Make it an obsolete alias for holiday-in-range. Update all callers.
11781
fef9d149 117822012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
11783
11784 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11785 Nextstep.
11786
248da2f4
RW
117872012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11788
11789 * files.el (file-auto-mode-skip): New var.
11790 (set-auto-mode-1): Use it.
11791
f95e9344
SM
117922012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11793
df96ab1e
SM
11794 * repeat.el: Use lexical-binding.
11795 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11796 (repeat-undo-count): Remove.
11797 (repeat):
11798 * progmodes/octave-mod.el (octave-abbrev-start):
11799 * progmodes/f90.el (f90-abbrev-start):
11800 * face-remap.el (text-scale-adjust):
11801 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11802
5342bb06
SM
11803 * emacs-lisp/pcase.el (pcase--let*): New function.
11804 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11805 a bit more.
11806 (pcase--split-pred): Be more clever about ruling out overlap between
11807 a predicate and some constant pattern.
11808 (pcase--q1): Use `null' instead of (eq foo nil).
11809
f95e9344
SM
11810 * subr.el (setq-local, defvar-local): New macros.
11811 (kbd): Redefine as an alias.
11812 (with-selected-window): Leave unrelated frames alone.
11813 (set-temporary-overlay-map): New function.
11814
71873e2b
SM
118152012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11816
11817 * subr.el (user-error): New function.
11818 * window.el (switch-to-buffer):
11819 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11820 (smerge-match-conflict):
11821 * simple.el (previous-matching-history-element)
11822 (next-matching-history-element, goto-history-element, undo-more)
11823 (undo-start):
11824 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11825 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11826 (next-file, tags-loop-scan, list-tags, complete-tag):
11827 * progmodes/compile.el (compilation-loop):
11828 * mouse.el (mouse-minibuffer-check):
11829 * man.el (Man-bgproc-sentinel, Man-goto-page):
11830 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11831 (Info-history-forward, Info-follow-reference, Info-menu)
11832 (Info-extract-menu-item, Info-extract-menu-counting)
11833 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11834 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11835 (Info-next-reference, Info-prev-reference, Info-index)
11836 (Info-index-next, Info-follow-nearest-node)
11837 (Info-copy-current-node-name):
11838 * imenu.el (imenu--make-index-alist)
11839 (imenu-default-create-index-function, imenu-add-to-menubar):
11840 * files.el (basic-save-buffer, recover-file):
11841 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11842 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11843 (checkdoc-message-text, checkdoc-defun):
11844 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11845 * cus-edit.el (customize-changed-options, customize-rogue)
11846 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11847 (custom-variable-mark-to-reset-standard)
11848 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11849 (custom-file):
11850 * completion.el (check-completion-length):
11851 * comint.el (comint-search-arg)
11852 (comint-previous-matching-input-string-position)
11853 (comint-previous-matching-input)
11854 (comint-replace-by-expanded-history-before-point, comint-send-input)
11855 (comint-copy-old-input, comint-backward-matching-input)
11856 (comint-goto-process-mark, comint-set-process-mark):
11857 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11858 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11859
8a61ee22
SM
118602012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11861
66408d1e
SM
11862 * dabbrev.el (dabbrev--ignore-case-p): New function.
11863 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11864 Use it.
11865
8a61ee22
SM
11866 * files.el (automount-dir-prefix): Mark as obsolete.
11867
3c74813a
GM
118682012-05-04 Glenn Morris <rgm@gnu.org>
11869
11870 * patcomp.el, play/bruce.el: Move to obsolete/.
11871
0bfcf5c5
PE
118722012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11873
11874 Fix minor Y10k bugs.
11875 * arc-mode.el (archive-unixdate):
11876 * autoinsert.el (auto-insert-alist):
11877 * calc/calc-forms.el (math-this-year):
11878 * emacs-lisp/copyright.el (copyright-current-year)
11879 (copyright-update-year, copyright):
11880 * tar-mode.el (tar-clip-time-string):
11881 * time.el (display-time-update):
11882 Don't assume years have 4 digits.
11883
78f3273a
CY
118842012-05-04 Chong Yidong <cyd@gnu.org>
11885
11886 * dos-w32.el (file-name-buffer-file-type-alist)
11887 (direct-print-region-use-command-dot-com):
11888 * ffap.el (ffap-menu-regexp):
11889 * find-file.el (ff-special-constructs):
11890 * follow.el (follow-debug):
11891 * forms.el (forms--debug):
11892 * iswitchb.el (iswitchb-all-frames):
11893 * ido.el (ido-all-frames):
11894 * emacs-lisp/timer.el (timer-max-repeats):
11895 * mail/feedmail.el (feedmail-mail-send-hook)
11896 (feedmail-mail-send-hook-queued):
11897 * mail/footnote.el (footnote-signature-separator):
11898 * mail/mailabbrev.el (mail-alias-separator-string)
11899 (mail-abbrev-mode-regexp):
11900 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11901 * progmodes/idlwave.el (idlwave-libinfo-file)
11902 (idlwave-default-completion-case-is-down)
11903 (idlwave-library-routines): Convert defvars to defcustoms.
11904
11905 * mail/rmail.el (rmail-decode-mime-charset):
11906 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11907 (idlwave-shell-fix-inserted-breaks)
11908 (idlwave-shell-activate-alt-keybindings)
11909 (idlwave-shell-use-breakpoint-glyph):
11910 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11911
f7ae6719
SM
119122012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11913
11914 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11915
47086495
WS
119162012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11917
11918 * progmodes/verilog-mode.el (font-lock-keywords):
11919 Fix mis-highligting auto. Reported by Craig Barner.
11920 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 11921 defines from global name space. Reported by Dan Dever.
47086495
WS
11922 (verilog-auto-reset, verilog-auto-reset-widths)
11923 (verilog-auto-tieoff): Support using unbased numbers for
11924 AUTORESET and AUTOTIEOFF.
11925 (verilog-submit-bug-report): Update variable list.
11926 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 11927 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
11928 (verilog-auto-template-lint): Fix hash error when linting modules
11929 with no used templates.
11930 (verilog-warn, verilog-warn-error)
11931 (verilog-warn-fatal): When non-interactive report multiple
11932 warnings before exiting. Suggested by Brad Dobbie.
11933 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11934 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11935 to report unused template errors. Reported by Brad Dobbie.
11936 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 11937 nets, bug438. Reported by Vns Blore.
47086495
WS
11938 (verilog-auto-inout-module, verilog-auto-reg)
11939 (verilog-read-decls, verilog-read-sub-decls-sig)
11940 (verilog-signals-edit-wire-reg, verilog-signals-with):
11941 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 11942 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
11943 "reg" for backwards compatibility presuming Verilog 2001.
11944 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11945 (verilog-preprocess): Fix replication of preprocess output.
11946 Reported by Brad Dobbie.
11947 (verilog-auto-inst-interfaced-ports):
11948 Create verilog-auto-inst-interfaced-ports, bug429.
11949 Reported by Julian Gorfajn.
11950 (verilog-after-save-font-hook)
11951 (verilog-before-save-font-hook): New variable.
11952 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11953 (verilog-save-font-mods): Wrap disabling fontification, reported
11954 by David Rogoff.
11955 (verilog-do-indent, verilog-pretty-declarations-auto)
11956 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11957 Reported by Pierre-David Pfister.
11958 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11959 of class declarations, bug292. Reported by Kevin Heilman.
11960 (verilog-read-decls): Fix 'parameter type' not appearing in
11961 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11962 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 11963 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
11964 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11965 Reported by David Kravitz.
11966
119672012-05-03 Michael McNamara <mac@mail.brushroad.com>
11968
11969 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11970 assignment with tests in ifs and for loops.
11971 (verilog-extended-complete-re, verilog-complete-reg): Change so
11972 that DPI inport functions don't look like fuction declarations.
11973 (verilog-pretty-expr): Don't line up assignment
11974 operations to the test and increment in if and for loops
11975 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 11976 that DPI inport functions don't look like fuction declarations.
47086495 11977
2e51d4b5
KH
119782012-05-03 Kenichi Handa <handa@m17n.org>
11979
11980 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 11981 decoding, and show a warning message without signaling an error
2e51d4b5
KH
11982 (Bug#11282).
11983
2bd785a2
SM
119842012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11985
11986 * emacs-lisp/bytecomp.el
11987 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11988 since cconv.el might have introduced :fun-body, internal-make-closure,
11989 and friends for bytecomp to handle (bug#11391).
11990 * custom.el (defcustom): Avoid ((λ ..) ..).
11991
99d27583
SM
119922012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11993
11994 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11995
55a71479
JB
119962012-05-02 Juanma Barranquero <lekktu@gmail.com>
11997
11998 * notifications.el (dbus-debug):
11999 * term/linux.el (gpm-mouse-enable):
12000 * term/screen.el (xterm-register-default-colors): Declare.
12001
7b97c764
CY
120022012-05-02 Chong Yidong <cyd@gnu.org>
12003
2bc356d7
CY
12004 * cus-start.el (gc-cons-percentage, exec-suffixes)
12005 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12006 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12007 (make-cursor-line-fully-visible, void-text-area-pointer)
12008 (font-list-limit): Add customization data.
12009
7b97c764
CY
12010 * allout.el (allout-exposure-change-functions)
12011 (allout-structure-added-functions)
12012 (allout-structure-deleted-functions)
12013 (allout-structure-shifted-functions): Rename abnormal hooks from
12014 *-hook, and convert to defcustoms.
5d3385a0
JB
12015 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12016 Convert to defcustoms.
7b97c764
CY
12017 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12018
12019 * allout-widgets.el: Hook callers changed.
12020
90207a15 120212012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
12022
12023 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12024 the yanked message in preference to the default value of
12025 buffer-file-coding-system.
12026
90207a15 120272012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 12028
5d3385a0
JB
12029 * window.el (display-buffer--action-function-custom-type):
12030 Fix entry.
d9558cad 12031
90207a15 120322012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
12033
12034 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12035
d80ac57b
GM
120362012-05-01 Glenn Morris <rgm@gnu.org>
12037
976f7668
GM
12038 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12039
beb83b5a
GM
12040 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12041
d80ac57b
GM
12042 * cus-edit.el (custom-variable-documentation): Simplify with format.
12043
b593d6a9 120442012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 12045 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
12046
12047 * simple.el (suggest-key-bindings, execute-extended-command):
12048 Move from keyboard.c.
12049
782fbf2a
CY
120502012-05-01 Chong Yidong <cyd@gnu.org>
12051
12052 * follow.el: Eliminate advice.
12053 (set-process-filter, process-filter, sit-for): Advice deleted.
12054 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
12055 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12056 Vars deleted.
782fbf2a
CY
12057 (follow-auto): Use a :set function.
12058 (follow-mode): Rewritten. Don't advise process filters.
12059 (follow-switch-to-current-buffer-all, follow-scroll-up)
12060 (follow-scroll-down): Assume follow-mode is bound.
12061 (follow-comint-scroll-to-bottom)
12062 (follow-align-compilation-windows): New functions.
12063 (follow--window-sorter): New function.
12064 (follow-all-followers): Use it to explicitly sort windows by their
12065 positions; don't make assumptions about next-window order.
12066 (follow-windows-start-end, follow-delete-other-windows-and-split)
12067 (follow-calc-win-start): Doc fix.
12068 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12069 vertical-motion unnecessarily.
12070 (follow-adjust-window): New function.
12071 (follow-post-command-hook): Use it.
12072 (follow-call-set-process-filter, follow-call-process-filter)
12073 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12074 (follow-stop-intercept-process-output, follow-generic-filter):
12075 Functions deleted.
12076 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
12077 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12078 New functions, replacing advice on scroll-bar-* commands.
87233a14 12079 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
12080
12081 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
12082 (comint-postoutput-scroll-to-bottom): Use it.
12083 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 12084
290af740
GM
120852012-05-01 Glenn Morris <rgm@gnu.org>
12086
12087 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12088 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12089 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12090 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12091 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12092 Remove no-byte-compile setting.
12093
6eac8dc9
SM
120942012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12095
12096 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12097 all-completions code to not return a number in the last cdr.
12098
9cc7819c
LL
120992012-04-30 Leo Liu <sdl.web@gmail.com>
12100
12101 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12102 read-only error.
12103
c93b886f
CY
121042012-04-29 Chong Yidong <cyd@gnu.org>
12105
12106 * follow.el (follow-calc-win-end): Rewrite to handle partial
12107 screen lines correctly (Bug#8390).
12108 (follow-avoid-tail-recenter): Minor cleanup.
12109
8b6c19f4
SM
121102012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12111
12112 Avoid the obsolete `assoc' package.
12113 * speedbar.el (speedbar-refresh): Avoid adelete.
12114 (speedbar-file-lists): Simplify and avoid aput.
12115 * man.el (Man--sections, Man--refpages): New vars, replacing
12116 Man-sections-alist and Man-refpages-alist.
12117 (Man-build-section-alist, Man-build-references-alist):
12118 Use them; avoid aput.
12119 (Man--last-section, Man--last-refpage): New vars.
12120 (Man-follow-manual-reference): Use them.
12121 Use the `default' arg of completing-read.
12122 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12123
c5bb7569
CY
121242012-04-27 Chong Yidong <cyd@gnu.org>
12125
d1d2e2e8
CY
12126 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12127
15cd8efd
CY
12128 * startup.el (x-apply-session-resources): New function.
12129
12130 * term/ns-win.el (ns-initialize-window-system):
12131 * term/w32-win.el (w32-initialize-window-system):
12132 * term/x-win.el (x-initialize-window-system): Use it to properly
12133 set menu-bar-mode and other vars from X resources, even if the
12134 initial frame is not a window-system frame (Bug#2299).
12135
c5bb7569
CY
12136 * subr.el (read-key): Avoid running filter function when setting
12137 up temporary tool bar entries (Bug#9922).
12138
a8e7d6d7 121392012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
12140
12141 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12142 (Bug#11344)
12143
a8e7d6d7 121442012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
12145
12146 * select.el (xselect--encode-string): New function, split from
12147 xselect-convert-to-string.
12148 (xselect-convert-to-string): Use it.
12149 (xselect-convert-to-filename, xselect-convert-to-os)
12150 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12151 returned strings are properly encoded (Bug#11315).
12152
a8e7d6d7 121532012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
12154
12155 * simple.el (delete-active-region): Move to killing custom group.
12156
a8e7d6d7 121572012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
12158
12159 * progmodes/which-func.el (which-func-current): Quote %
12160 characters for mode-line processing.
12161
578c1d4b 121622012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
12163
12164 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12165 reaching eob (Bug#11286).
12166
a8e7d6d7 121672012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
12168
12169 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12170 (gdb): Make it buffer-local and init to zero.
12171 (gdb-control-commands-regexp): New variable.
12172 (gdb-send): Don't wrap in "-interpreter-exec console" if
12173 gdb-control-level is positive. Increment gdb-control-level
12174 whenever the command matches gdb-control-commands-regexp, and
12175 decrement it each time the command is "end". (Bug#11279)
12176
a8e7d6d7 121772012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
12178
12179 * window.el (adjust-window-trailing-edge, enlarge-window)
12180 (shrink-window, window-resize):
12181 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12182 windows (Bug#11276).
12183
b3608390
CY
121842012-04-27 Chong Yidong <cyd@gnu.org>
12185
12186 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 12187 fix "missing prefix" warning. All callers changed.
b3608390 12188
797e6e88
SM
121892012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12190
12191 * emacs-lisp/assoc.el: Move to obsolete/.
12192
e95a67dc
SM
121932012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12194
657c21e4 12195 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
12196
12197 * term/ns-win.el (ns-define-service):
12198 * progmodes/pascal.el (pascal-goto-defun):
12199 * progmodes/js.el (js--read-tab):
12200 * progmodes/etags.el (tags-lazy-completion-table):
12201 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12202 * emacs-lisp/ewoc.el (ewoc--wrap):
12203 * emacs-lisp/assoc.el (aput, adelete, amake):
12204 * doc-view.el (doc-view-convert-current-doc):
12205 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12206
cb3e7ae0
CY
122072012-04-26 Chong Yidong <cyd@gnu.org>
12208
dce04f7f
CY
12209 * image.el (image-type-from-buffer): Only return supported image
12210 type (Bug#9045).
12211
cb3e7ae0
CY
12212 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12213 value, for symmetry with diff-end-of-hunk.
12214 (diff-split-hunk, diff-find-source-location)
12215 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12216 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12217 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12218 compute the relevant hunk or file properly (Bug#6005).
12219 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12220
0d42eb3e
SM
122212012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12222
12223 * vc/vc-mtn.el:
12224 * vc/vc-hg.el:
12225 * vc/vc-git.el:
12226 * vc/vc-dir.el:
12227 * vc/vc-cvs.el:
12228 * vc/vc-bzr.el:
12229 * vc/vc-arch.el:
12230 * vc/vc.el: Replace lexical-let by lexical-binding.
12231 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12232 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12233 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12234
f08ae1c9
CY
122352012-04-26 Chong Yidong <cyd@gnu.org>
12236
8b71081d
CY
12237 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12238 (diff-mode-shared-map): Bind it to / and [remap undo].
12239
f08ae1c9
CY
12240 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12241 (ediff-window-setup-function): Use it as the default, to set up
12242 windows based on whether the current frame is graphical (Bug#2138).
12243 (ediff-choose-window-setup-function-automatically): Make obsolete.
12244
12245 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12246
ef24141c
SM
122472012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12248
cc356a5d
SM
12249 * ffap.el: Remove old code for obsolete package.
12250 (ffap-complete-as-file-p): Remove.
12251
b4ff4f1f
SM
12252 Use completion-table-with-quoting for comint and pcomplete.
12253 * comint.el (comint--unquote&requote-argument)
12254 (comint--unquote-argument, comint--requote-argument): New functions.
12255 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12256 (comint-quote-filename): Use regexp-opt-charset.
12257 (comint--common-suffix, comint--common-quoted-suffix)
12258 (comint--table-subvert): Remove.
12259 (comint-unquote-function, comint-requote-function): New vars.
12260 (comint--complete-file-name-data): Use them with
12261 completion-table-with-quoting.
12262 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12263 * pcomplete.el (pcomplete-arg-quote-list)
12264 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12265 (pcomplete-unquote-argument-function): Default to non-nil.
12266 (pcomplete-unquote-argument): Simplify.
12267 (pcomplete--common-quoted-suffix): Remove.
12268 (pcomplete-requote-argument-function): New var.
12269 (pcomplete--common-suffix): New function.
12270 (pcomplete-completions-at-point): Use completion-table-with-quoting
12271 and completion-table-subvert.
12272
79c4eeb4
SM
12273 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12274 (minibuffer--double-dollars): Preserve properties.
12275 (completion--sifn-requote): New function.
12276 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12277
ef24141c
SM
12278 * minibuffer.el: Add support for completion of quoted/escaped data.
12279 (completion-table-with-quoting, completion-table-subvert): New funs.
12280 (completion--twq-try, completion--twq-all): New functions.
12281 (completion--nth-completion): New function.
12282 (completion-try-completion, completion-all-completions): Use it.
12283
784e7d6e
LL
122842012-04-25 Leo Liu <sdl.web@gmail.com>
12285
dd2ac746
SM
12286 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12287 Use compilation-message if available to find real filename.
784e7d6e 12288
07875ee7
CY
122892012-04-25 Chong Yidong <cyd@gnu.org>
12290
12291 * vc/diff-mode.el (diff-setup-whitespace): New function.
12292 (diff-mode): Use it.
12293
12294 * vc/diff.el (diff-sentinel):
12295 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12296 Whitespace mode variables based on diff style (Bug#8612).
12297
5055880d
LL
122982012-04-25 Leo Liu <sdl.web@gmail.com>
12299
daf75653
LL
12300 * progmodes/python.el (python-send-region): Add suffix .py to the
12301 temp file.
12302
5055880d
LL
12303 * files.el (auto-mode-alist): Use javascript-mode instead.
12304
db9b177b
AH
123052012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12306
ef24141c 12307 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 12308
090bd7cb 12309 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 12310 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 12311 references, see Bug#9.
ef24141c 12312 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 12313 when receiving a fault reply.
ef24141c 12314 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 12315
090bd7cb 12316 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 12317 (soap-inspect-simple-type): New function.
db9b177b 12318
090bd7cb 12319 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 12320 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
12321 (soap-decode-basic-type, soap-encode-basic-type):
12322 support unsignedInt and double basic types.
db9b177b 12323 (soap-resolve-references-for-simple-type)
ef24141c
SM
12324 (soap-parse-simple-type, soap-encode-simple-type): New function.
12325 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 12326
090bd7cb 12327 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
12328 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12329 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12330 the local name of "soapenc:Array".
12331 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
12332 decoding integer, byte and anyURI xsd types.
12333
1fc6097b
CY
123342012-04-25 Chong Yidong <cyd@gnu.org>
12335
12336 * cus-edit.el (custom-buffer-create-internal): Update header text.
12337
afc6df87
EZ
123382012-04-25 Eli Zaretskii <eliz@gnu.org>
12339
12340 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12341 settings on 'system-type', not on 'window-system'. On MS-Windows,
12342 set interactive-mode on in GDB.
12343
dfbd787f
SM
123442012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12345
12346 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12347 (ruby-syntax-propertize-regexp): Remove.
12348 (ruby-syntax-propertize-function): Split regexp into chunks.
12349 Match following code directly.
12350
85222d44
DG
123512012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12352
51a8ea2a
DG
12353 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12354 (ruby-syntax-propertize-regexp): New function.
12355 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12356 by a special keyword.
12357
85222d44
DG
12358 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12359 (ruby-syntax-general-delimiters-goto-beg)
12360 (ruby-syntax-propertize-general-delimiters): New functions.
12361 (ruby-syntax-propertize-function): Use them to handle GDL.
12362 (ruby-font-lock-keywords): Move old handling of GDL...
12363 (ruby-font-lock-syntactic-keywords): .. to here.
12364 (ruby-calculate-indent): Adjust indentation for GDL.
12365
b613912b
MA
123662012-04-24 Michael Albinus <michael.albinus@gmx.de>
12367
b5380639
MA
12368 * notifications.el (top): Remove unneeded declarations.
12369 (notifications-specification-version): Change to "1.2".
e43042fe 12370 (notifications-interface, notifications-notify-method)
b613912b
MA
12371 (notifications-close-notification-method): Fix docstring.
12372 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
12373 (notifications-notify): Add :action-items, :resident and
12374 :transient hints. Change "image_data" to "image-data" and
12375 "image_path" to "image-path".
b613912b
MA
12376 (notifications-get-capabilities): New defun.
12377
257440aa
LL
123782012-04-24 Leo Liu <sdl.web@gmail.com>
12379
12380 * progmodes/python.el: Move hideshow setup to the end.
12381
b1bac16e
MR
123822012-04-24 Martin Rudalics <rudalics@gmx.at>
12383
12384 * window.el (handle-select-window): Clear echo area since this is
12385 no more done by read_char (Bug#11304).
12386
d81bd059
SM
123872012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12388
12389 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12390 and `/ M' to filter-derived-mode.
12391 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12392 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12393 (ibuffer-mark-by-mode): Use default rather than initial-input.
12394 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12395
c4cf6d91
IA
123962012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12397
12398 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12399 (ibuffer-filter-by-derived-mode): New filter.
12400 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12401
7511ded8
CY
124022012-04-23 Andreas Politz <politza@fh-trier.de>
12403
12404 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12405
775c916b
CY
124062012-04-23 Chong Yidong <cyd@gnu.org>
12407
12408 * cus-edit.el (customize-apropos, customize-apropos-options):
12409 Disable matching of non-option variables (Bug#11176).
12410 (customize-option, customize-option-other-window)
12411 (customize-changed-options): Doc fix.
12412 (customize-apropos-options, customize-apropos-faces)
12413 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12414
12415 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 12416 Fix word list splitting (Bug#11132).
46c71e23
CY
12417 (apropos-symbol, apropos-keybinding, apropos-label)
12418 (apropos-property, apropos-function-button)
12419 (apropos-variable-button, apropos-misc-button): New faces.
12420 (apropos-symbol-face, apropos-keybinding-face)
12421 (apropos-label-face, apropos-property-face, apropos-match-face):
12422 Variables removed (Bug#8396).
12423 (apropos-library-button, apropos-format-plist, apropos-print)
12424 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 12425
2df41f9c
MA
124262012-04-23 Michael Albinus <michael.albinus@gmx.de>
12427
12428 * net/xesam.el (xesam-mode-map): Use let-bound map in
12429 initialization. (Bug#11292)
12430
da00640a
AM
124312012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12432
12433 Preserve ispell session localwords when switching back to
12434 original buffer.
12435
090bd7cb
JB
12436 * textmodes/ispell.el (ispell-buffer-session-localwords):
12437 New buffer-local variable to hold buffer session localwords.
ed9265fc 12438 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
12439 localwords.
12440 (ispell-command-loop, ispell-change-dictionary)
12441 (ispell-buffer-local-words): Preserve session localwords when
12442 needed.
12443
090bd7cb
JB
12444 * textmodes/flyspell.el (flyspell-process-localwords)
12445 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 12446
f621ccf5
AM
124472012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12448
090bd7cb
JB
12449 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12450 using obsolete `translation-table-for-input'.
ef24141c
SM
12451 (ispell-word, ispell-process-line, ispell-complete-word):
12452 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 12453
c2d1019e
CY
124542012-04-22 Chong Yidong <cyd@gnu.org>
12455
12456 * cus-edit.el (custom-variable-menu)
12457 (custom-variable-reset-saved, custom-face-menu)
12458 (custom-face-reset-saved): If there is no saved value, make the
12459 "reset-saved" operation bring back the default (Bug#9509).
12460 (custom-face-state): Properly detect themed faces.
12461
eeddc531
CY
12462 * faces.el (face-spec-set): Stop supporting deprecated form of
12463 third arg.
12464
dcbf5805
MA
124652012-04-22 Michael Albinus <michael.albinus@gmx.de>
12466
12467 Move functions from C to Lisp. Make non-blocking method calls
12468 the default. Implement further D-Bus standard interfaces.
12469
ef24141c
SM
12470 * net/dbus.el (dbus-message-internal): Declare function.
12471 Remove unneeded function declarations.
dcbf5805
MA
12472 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12473 (dbus-message-type-method-return, dbus-message-type-error)
12474 (dbus-message-type-signal): Declare variables. Remove local
12475 definitions.
12476 (dbus-interface-dbus, dbus-interface-peer)
12477 (dbus-interface-introspectable, dbus-interface-properties)
12478 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12479 Adapt docstring.
12480 (dbus-interface-objectmanager): New defconst.
12481 (dbus-call-method, dbus-call-method-asynchronously)
12482 (dbus-send-signal, dbus-method-return-internal)
12483 (dbus-method-error-internal, dbus-register-service)
12484 (dbus-register-signal, dbus-register-method): New defuns, moved
12485 from dbusbind.c
12486 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
12487 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12488 New defuns.
dcbf5805
MA
12489 (dbus-call-method-non-blocking): Make it an obsolete function.
12490 (dbus-unregister-object, dbus-unregister-service)
12491 (dbus-handle-event, dbus-register-property)
12492 (dbus-property-handler): Obey the new structure of
12493 `bus-registered-objects'.
12494 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12495 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12496 Use `dbus-call-method'.
12497
cf20dee0
CY
124982012-04-22 Chong Yidong <cyd@gnu.org>
12499
12500 * cus-edit.el (custom-commands, custom-reset-menu)
12501 (Custom-reset-standard): Tweak labels.
12502 (custom-reset-button-menu): Change default to t.
12503 (custom-buffer-create-internal): For the custom-reset-button-menu
12504 case, put the revert button first.
12505 (custom-group-subtitle): New face.
12506 (custom-group-value-create): Align docstring to a specific column.
12507
12508 * wid-edit.el (widget-documentation-link-add): Don't handle
12509 indentation in this function.
12510 (widget-documentation-string-indent-to): New function.
12511 (widget-documentation-string-value-create): Use it.
12512
12513 * autorevert.el (auto-revert):
12514 * epg-config.el (epg):
12515 * ibuffer.el (ibuffer):
12516 * mpc.el (mpc):
12517 * ses.el (ses):
12518 * eshell/eshell.el (eshell):
12519 * net/ange-ftp.el (ange-ftp):
12520 * progmodes/ebnf2ps.el (postscript):
12521 * progmodes/flymake.el (flymake):
12522 * progmodes/prolog.el (prolog):
12523 * progmodes/verilog-mode.el (verilog-mode):
12524 * progmodes/which-func.el (which-func):
12525 * term/xterm.el (xterm):
12526 * textmodes/picture.el (picture):
12527 * textmodes/tildify.el (tildify):
12528 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12529 customization buffers.
12530
583e23bd
AM
125312012-04-22 Alan Mackenzie <acm@muc.de>
12532
12533 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12534 Adding a ) can hide the resulting (..) from searches. Fix it.
12535 Bound the backward search to the position of the existing (.
12536
7dd51bf1
JB
125372012-04-21 Juanma Barranquero <lekktu@gmail.com>
12538
12539 * progmodes/verilog-mode.el (verilog-mode): Check whether
12540 which-func-modes is t before adding verilog-mode.
12541 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12542
d64a438f
LL
125432012-04-21 Leo Liu <sdl.web@gmail.com>
12544
7dd51bf1 12545 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 12546
081e8d65
MV
125472012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12548
12549 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12550 filling of the last column of a table (Bug#5635).
12551 (woman-find-next-control-line): New arg, specifying an additional
12552 regexp component for the control line.
12553 (woman2-roff-buffer): Use it.
12554 (woman-break-table): New function.
12555 (woman2-TS): Use it.
12556
125572012-04-21 Chong Yidong <cyd@gnu.org>
12558
12559 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12560 (woman-horizontal-escapes, woman-negative-vertical-space)
12561 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12562 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12563
ed571ccb
SM
125642012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12565
12566 * minibuffer.el (completion-file-name-table): Complete user names.
12567
39773899
LL
125682012-04-20 Leo Liu <sdl.web@gmail.com>
12569
12570 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12571 and pcase-let*.
12572
de6ff46d
CY
125732012-04-20 Chong Yidong <cyd@gnu.org>
12574
12575 * server.el (server-execute): Respect initial-buffer-choice if it
12576 is a string and there are no files to open (Bug#2825).
12577 (server-create-window-system-frame, server-create-tty-frame):
12578 Don't switch buffers here.
2d0e8e61
CY
12579 (server-process-filter): Only try to open a window system frame if
12580 compiled with graphical support (Bug#8314).
de6ff46d 12581
54071013
DN
125822012-04-20 Dan Nicolaescu <dann@gnu.org>
12583
12584 * battery.el (battery-echo-area-format): Display remaining time
12585 for sysfs backend too (Bug#11269).
12586 (battery-linux-sysfs): Fix conditional for the charge.
12587
f30d612a
CY
125882012-04-20 Chong Yidong <cyd@gnu.org>
12589
c07a4c0b 12590 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
12591 (gdb-inferior-io--init-proc): New function.
12592 (gdb-init-1): Use it.
12593 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12594 responsible for allocating a new pty and hooking it to gdb when
12595 the old pty gets an EIO due to process exit.
12596 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12597 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12598 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12599
2116e93c
EZ
126002012-04-20 Eli Zaretskii <eliz@gnu.org>
12601
12602 * window.el (window-min-size, window-sizable, window-min-delta)
12603 (window-max-delta, window--resizable, window-resizable)
12604 (window-total-size, window-full-height-p, window-full-width-p)
12605 (window-in-direction, window--resize-mini-window, window-resize)
12606 (window--resize-child-windows-normal)
12607 (window--resize-child-windows, window--resize-siblings)
12608 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 12609 (enlarge-window, shrink-window): Doc fixes.
2116e93c 12610
c07a4c0b 126112012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 12612
ef24141c
SM
12613 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12614 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
12615 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12616 pty process (Bug#11273).
12617 (gdb-update): New arg to suppress talking to the gdb process.
12618 (gdb-done-or-error): Use it.
12619 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12620 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12621 sentinel not being called.
12622
12623 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12624
d02766ab
CY
12625 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12626
c07a4c0b 126272012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
12628
12629 * net/network-stream.el (open-network-stream): Doc fix.
12630
c07a4c0b 126312012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
12632
12633 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12634
c07a4c0b 126352012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
12636
12637 Ensure searching for keywords is case sensitive.
12638
12639 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12640 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12641 (c-defun-name, c-mark-function, c-cpp-define-name)
12642 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 12643 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 12644
ef24141c
SM
12645 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12646 Bind case-fold-search to nil.
f0f6bc35 12647
c07a4c0b 126482012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
12649
12650 * mail/sendmail.el (mail-bury): Call return action with the right
12651 Rmail buffer (Bug#11242).
12652
9a864fa2
CY
12653 * server.el (server-process-filter): Handle corner case where both
12654 tty and nowait options are present (Bug#11102).
12655
539aa513
EZ
126562012-04-20 Eli Zaretskii <eliz@gnu.org>
12657
12658 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
12659 (top level): Put into the executable the ident-style '$Id:' tag on
12660 windows-nt as well.
539aa513 12661
cfc7d5da
SM
126622012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12663
12664 * electric.el (electric-indent-post-self-insert-function): Check that
12665 electric-indent-mode is enabled in current buffer.
12666
5b01685c
JB
126672012-04-19 Juanma Barranquero <lekktu@gmail.com>
12668
12669 * imenu.el (imenu-progress-message): Restore; it is "used" in
12670 erc/erc-imenu.el and net/snmp-mode.el.
12671
4d6769e1
JB
126722012-04-19 Juanma Barranquero <lekktu@gmail.com>
12673
12674 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12675 (mouse-avoidance-nudge-mouse): Remove unused binding.
12676
12677 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12678
12679 * descr-text.el (describe-char):
12680 * progmodes/python.el (python-describe-symbol):
12681 Don't call `toggle-read-only', set `buffer-read-only'.
12682
12683 * imenu.el (imenu-default-goto-function): Mark unused args.
12684 (imenu-progress-message): Remove obsolete macro; all callers changed.
12685
12686 * subr.el (keymap-canonicalize): Remove unused binding.
12687 (read-passwd): Mark unused arg.
12688
12689 * tutorial.el (tutorial--display-changes): Remove unused binding.
12690 (tutorial--save-tutorial-to): Remove unused variable.
12691
12692 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12693 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12694 (package-generate-autoloads, package-menu--generate)
12695 (package-menu--find-upgrades): Remove unused bindings.
12696
12697 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12698 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12699 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12700 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12701 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12702 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12703 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12704 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12705 (cua-delete-char-rectangle): Mark unused args.
12706 (cua-align-rectangle): Remove unused binding.
12707
12708 * mail/rmail.el (compilation--message->loc)
12709 (epa--find-coding-system-for-mime-charset): Declare.
12710
12711 * net/dbus.el (dbus-register-service): Declare.
12712 (dbus-name-owner-changed-handler): Remove unused binding.
12713
12714 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12715 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12716 (nxml-scan-backward-within): Mark unused arg.
12717 (nxml-dynamic-markup-word): Remove unused binding.
12718
12719 * mouse.el (mouse-menu-major-mode-map):
12720 * emacs-lisp/authors.el (authors-scan-change-log)
12721 (authors-add-to-author-list):
12722 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12723 * emacs-lisp/smie.el (smie-auto-fill):
12724 * mail/sendmail.el (mail-bury):
12725 * mail/unrmail.el (unrmail):
12726 * net/tls.el (open-tls-stream):
12727 * textmodes/picture.el (picture-mouse-set-point):
12728 Remove unused bindings.
12729
8c8fc5df
MA
127302012-04-19 Michael Albinus <michael.albinus@gmx.de>
12731
12732 * net/tramp.el (tramp-action-password): Let-bind
12733 `enable-recursive-minibuffers' to t.
12734
a77b0ac9
SS
127352012-04-18 Sam Steingold <sds@gnu.org>
12736
12737 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12738 instead of 'string to accommodate values like [f11].
12739 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12740 * progmodes/gdb-mi.el: Likewise.
12741
12a106a9
LL
127422012-04-18 Leo Liu <sdl.web@gmail.com>
12743
12744 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12745 current buffer.
12746 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12747 LOCAL is nil.
12748
bc6494ef
CY
127492012-04-18 Chong Yidong <cyd@gnu.org>
12750
12751 * simple.el (line-move): Use forward-line if in batch mode
12752 (Bug#11053).
12753
c09c46b2
CS
127542012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12755
12756 * files.el (after-find-file): Do not try to add a final newline if
12757 the buffer is read-only (Bug#11156).
12758
5f6530ea
RS
127592012-04-17 Richard Stallman <rms@gnu.org>
12760
12761 * mail/rmail.el (rmail-start-mail):
12762 Pass (rmail-mail-return...) for the return-action.
12763 Pass (rmail-yank-current-message...) for the yank-action.
12764 (rmail-yank-current-message): New function.
12765 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12766 (rmail-reply): Likewise.
12767 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12768
12769 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 12770 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
12771 buffer, not newbuf.
12772
197b6f3c
JB
127732012-04-17 Juanma Barranquero <lekktu@gmail.com>
12774
12775 * server.el (server-ensure-safe-dir): Simplify.
12776
2311d8e5 127772012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 12778
2311d8e5
GM
12779 * emacs-lisp/smie.el: Provide smarter auto-filling.
12780 (smie-auto-fill): New function.
12781 (smie-setup): Use it.
98fb480e 12782
2311d8e5
GM
12783 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12784
127852012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
12786
12787 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12788 (comment-indent): Use it.
12789
2311d8e5 127902012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
12791
12792 * ses.el: The overall change is to add cell renaming, that is
12793 setting fancy names for cell symbols other than name matching
12794 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 12795 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 12796 (ses-create-cell-variable): New defun.
2311d8e5 12797 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
12798 (ses-relocate-formula): Relocate formulas only for cells the
12799 symbols of which are not renamed, i.e. symbols whose names do not
12800 match regexp "\\`[A-Z]+[0-9]+\\'".
12801 (ses-relocate-all): Relocate values only for cells the symbols of
12802 which are not renamed.
12803 (ses-load): Create cells variables as the (ses-cell ...) are read,
12804 in order to check row col consistency with cell symbol name only
12805 for cells that are not renamed.
12806 (ses-replace-name-in-formula): New defun.
12807 (ses-rename-cell): New defun.
4bdf2ad2 12808
fc72b15c
PO
128092012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12810
12811 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12812 New option (bug#11118).
12813 (perl-calculate-indent): Respect it.
12814
12e10e61
GM
128152012-04-17 Glenn Morris <rgm@gnu.org>
12816
12817 * dired-aux.el (dired-mark-read-string): Doc fix.
12818
30009afd
DA
128192012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12820
12821 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12822 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12823
41f03f4d
GM
128242012-04-17 Glenn Morris <rgm@gnu.org>
12825
12826 * mouse.el (mouse-drag-track):
12827 * speedbar.el (speedbar-frame-mode):
12828 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12829
f45f90f3
LL
128302012-04-16 Leo Liu <sdl.web@gmail.com>
12831
12832 * progmodes/python.el: Trivial cleanup.
12833
94ee8db5
GM
128342012-04-16 Glenn Morris <rgm@gnu.org>
12835
121b8917
GM
12836 * vc/vc.el (vc-string-prefix-p):
12837 * vc/pcvs-util.el (cvs-string-prefix-p):
12838 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12839 * mpc.el (mpc-string-prefix-p):
12840 Make all of these into obsolete aliases for string-prefix-p.
12841 Update callers.
12842 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12843
1197ecfa
GM
12844 * textmodes/two-column.el: Move custom options to the start.
12845 (frame-width): Remove compat definition.
12846 (2C-associate-buffer, 2C-dissociate):
12847 Use with-current-buffer rather than save-excursion.
12848 (2C-dissociate): Force a mode-line update.
12849 (2C-autoscroll): Use ignore-errors.
12850
099e7202
GM
12851 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12852 Autoload trivia.
12853
bf350d6a
GM
12854 * emacs-lisp/cl-extra.el (*random-state*):
12855 Remove unnecessary declaration.
12856
0e829eab
GM
12857 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12858
e3ad7552
GM
12859 * play/cookie1.el (cookie-snarf):
12860 Give an explicit error if input file cannot be read.
12861
68892d27
GM
12862 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12863
20f0c46d
GM
12864 * progmodes/perl-mode.el (c-macro-expand):
12865 Remove unnecessary autoload (it is in loaddefs.el).
12866
5a0978ce
GM
12867 * textmodes/picture.el (picture-desired-column)
12868 (picture-update-desired-column): Convert comments to doc-strings.
12869 (picture-substitute): Remove function.
12870 (picture-mode-map): Initialize in the defvar.
12871
6b955486
GM
12872 * woman.el: Remove eval-after-load for tar-mode.
12873 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12874 (woman-tar-extract-file): Autoload it.
12875
94ee8db5
GM
12876 * frame.el (automatic-hscrolling): Make this alias obsolete.
12877
177eca34
AM
128782012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12879
090bd7cb 12880 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 12881 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
12882 (ispell-dictionary-base-alist): Revert to original XEmacs
12883 friendly version for default. [:alpha:] will be added in
090bd7cb 12884 `ispell-set-spellchecker-params' if needed.
177eca34 12885
c505aaeb
CY
128862012-04-16 Chong Yidong <cyd@gnu.org>
12887
b19dd9d1 12888 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
12889 (imagemagick-register-types): Use it.
12890 (imagemagick-types-inhibit): Add :set function. Allow new value
12891 of t to inhibit all types.
12892
12893 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12894 so we can preload it.
12895
12896 * loadup.el (fboundp): Preload regexp-opt, needed by
12897 imagemagick-register-types.
12898
60efac0f
CY
128992012-04-15 Chong Yidong <cyd@gnu.org>
12900
12901 * frame.el (scrolling): Remove nearly unused customization group.
12902
12903 * scroll-all.el (scroll-all-mode): Move to windows group.
12904
5dd1713e
CY
129052012-04-15 Chong Yidong <cyd@gnu.org>
12906
12907 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12908
e6fd457e
CY
129092012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12910
12911 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 12912 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 12913
e153c136
GM
129142012-04-15 Glenn Morris <rgm@gnu.org>
12915
12916 * simple.el (process-file-side-effects): Doc fix.
12917
e6fd457e 129182012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
12919
12920 * international/mule-cmds.el (set-language-environment): Doc fix.
12921
3603c3b1
JB
129222012-04-14 Juanma Barranquero <lekktu@gmail.com>
12923
12924 * server.el (server-auth-key, server-generate-key): Doc fixes.
12925 (server-get-auth-key): Doc fix. Use `string-match-p'.
12926 (server-start): Reflow docstring.
12927
e6de100c
LI
129282012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12929
12930 * server.el (server-generate-key): `called-interactively-p'
12931 requires a parameter.
12932
29734c21
MN
129332012-04-14 Michal Nazarewicz <mina86@mina86.com>
12934
12935 * server.el (server-auth-key): New variable.
75f1671a 12936 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
12937 (server-start): Use the new variable and functions to allow
12938 setting a permanent server key (bug#9423).
12939
d65c9521
LL
129402012-04-14 Leo Liu <sdl.web@gmail.com>
12941
12942 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12943
5ae255c7
PE
129442012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12945
12946 Spelling fixes.
12947 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12948 Emacs uses American spelling.
12949
d5e6342e
JB
129502012-04-14 Juanma Barranquero <lekktu@gmail.com>
12951
12952 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12953 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12954 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12955 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12956
ab036cd7
SM
129572012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12958
12959 * progmodes/which-func.el (which-func-modes): Change default.
12960
35dc09a1 129612012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
12962
12963 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12964 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12965
35dc09a1 129662012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
12967
12968 * custom.el (custom-theme-set-variables): Doc fix.
12969
35dc09a1 129702012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
12971
12972 * international/mule.el (set-auto-coding-for-load): Doc fix.
12973
35dc09a1 129742012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 12975
35dc09a1
GM
12976 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12977 imenu work again for Objective C Mode. Correct the *-index values,
12978 these having been disturbed by a previous change in 2011-08.
57f845ee 12979
0de3da9f
AM
12980 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12981 Correct two search limits.
12982
35dc09a1 129832012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
12984
12985 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12986
35dc09a1 129872012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
12988
12989 * international/characters.el: Fix sorting.
12990
35dc09a1 129912012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
12992
12993 * international/characters.el: Add more missing Latin case pairs.
12994
35dc09a1 129952012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
12996
12997 * files.el (dir-locals-set-class-variables): Doc fix.
12998
35dc09a1 129992012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 13000
3f1b5bf8
EZ
13001 * international/characters.el: Add set-case-syntax-pair call for
13002 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13003 counterpart. (Bug#11209)
13004
9f847f41
EZ
13005 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13006
35dc09a1 130072012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
13008
13009 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13010
35dc09a1 130112012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 13012
35dc09a1
GM
13013 * textmodes/ispell.el (ispell-dictionary-base-alist):
13014 Add data for Hebrew.
e2627d21 13015
35dc09a1 130162012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 13017
35dc09a1
GM
13018 * net/rcirc.el (rcirc-cmd-quit):
13019 Revert 2012-03-18 change (Bug#11192).
5c14e333 13020
35dc09a1 130212012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
13022
13023 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13024
35dc09a1 130252012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 13026
4517fe3a
SM
13027 * minibuffer.el (completion-in-region-mode-map):
13028 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 13029
b472a594
VD
130302012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13031
13032 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13033
09b95ce3
MY
130342012-04-13 Masatake YAMATO <yamato@redhat.com>
13035
13036 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13037 to allow `C-M-f' and `C-M-b' to move to the nearest path
13038 separator (bug#9511).
13039
4b63a9ca
LI
130402012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13041
13042 * avoid.el: Require cl when compiling. And also move the
13043 `provide' to the end.
13044
7b55b8bf
TV
130452012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13046
13047 * avoid.el (mouse-avoidance-banish-position): New variable.
13048 (mouse-avoidance-banish-destination): Use it (bug#10165).
13049
adedaa1f
LL
130502012-04-13 Leo Liu <sdl.web@gmail.com>
13051
13052 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13053
70e74021
KB
130542012-04-13 Ken Brown <kbrown@cornell.edu>
13055
13056 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 13057 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
13058 (browse-url-filename-alist): For the same reason, don't modify
13059 file:// URLs on Cygwin.
13060
e75e89ba
SM
130612012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13062
13063 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13064 the region on shift if the binding is already shifted (bug#11221).
13065
82f289a4
GM
130662012-04-12 Glenn Morris <rgm@gnu.org>
13067
13068 * mail/mailpost.el: Move to obsolete/.
13069
d333dc4c
DA
130702012-04-12 Drew Adams <drew.adams@oracle.com>
13071
13072 * imenu.el (imenu--generic-function): Ignore invisible definitions
13073 (bug#10123).
13074
0d15b5ba
VD
130752012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13076
13077 * hexl.el (hexl-bits): New variable.
13078 (hexl-options): Mention the variable in the doc string.
75f1671a 13079 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 13080 (hexl-mode): Mention the new variable.
75f1671a
JB
13081 (hexl-mode, hexl-current-address, hexl-current-address):
13082 Use the displen.
0d15b5ba
VD
13083 (hexl-ascii-start-column): New function.
13084 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13085 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13086
64a440db
AM
130872012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13088
13089 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13090 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13091 the encoding, as expected by hunspell.
13092
6decb6c2
SM
130932012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13094
13095 * battery.el (battery--linux-sysfs-regexp): New const.
13096 (battery-status-function): Use it. Remove yeeloong special case.
13097 (battery-yeeloong-sysfs): Remove.
13098 (battery-echo-area-format): Remove yeeloong special case.
13099
088be6fb
SM
131002012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13101
6622e416
SM
13102 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13103 Reported by Noah Friedman.
13104
088be6fb
SM
13105 * subr.el (read-passwd): Use read-string.
13106
b49f886e
LMI
131072012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13108
13109 * vcursor.el (vcursor-move): Increase the priority of the overlay
13110 (bug#9663).
13111
a63067fc
DD
131122012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13113
13114 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13115 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13116
ac3cf14a
WS
131172012-04-11 William Stevenson <yhvh2000@gmail.com>
13118
13119 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13120 define-minor-mode (bug#10760).
13121
c4fc691b 131222012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 13123
4d6769e1 13124 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
13125 that directories matching `grep-find-ignored-files' won't be
13126 pruned (bug#10351).
13127
af23e2e5
CY
131282012-04-11 Chong Yidong <cyd@gnu.org>
13129
13130 * startup.el (command-line): Remove support for long-obsolete
13131 variable font-lock-face-attributes.
13132
ab7ce8c1
GM
131332012-04-11 Glenn Morris <rgm@gnu.org>
13134
13135 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13136
de8c03dc
SM
131372012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13138
13139 * window.el (window--state-get-1): Obey window-point-insertion-type.
13140
050cc68b
LB
131412012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13142
13143 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13144 to previous function when point is on the first character of a
75f1671a 13145 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 13146
a38c310c
GM
131472012-04-11 Glenn Morris <rgm@gnu.org>
13148
effed0c2
GM
13149 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13150 not just file-errors.
13151
a38c310c
GM
13152 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13153 (vc-bzr-sha1): Use internal sha1.
13154
0221e323
SM
131552012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13156
13157 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13158
43956923
SG
131592012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13160
13161 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13162 that start in the middle of the line (bug#10496).
13163
6a8c9eaf
DN
131642012-04-10 Dan Nicolaescu <dann@gnu.org>
13165
13166 * battery.el (battery-linux-proc-acpi): Only one battery is
13167 discharged at a time, but that seems to confuse battery.el when
13168 computing `rate-type' for the battery not being discharged
13169 (bug#10332).
13170
1930bf5d
SM
131712012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13172
2a718f6f
SM
13173 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13174
599430d0
SM
13175 * international/quail.el: Use dolist and simplify.
13176 (quail-define-package, quail-update-keyboard-layout)
13177 (quail-define-rules): Use dolist.
13178 (quail-insert-kbd-layout, quail-get-translation): CSE.
13179
a2754b6c
SM
13180 * tmm.el: Use dolist, remove left over hook.
13181 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13182 Use dolist.
13183 (calendar-load-hook): Don't mess with it.
13184
1930bf5d
SM
13185 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13186 Use derived-mode-p. Run the diff asynchronously.
13187
9f67961c
LMI
131882012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13189
13190 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13191
2a8ce227
JB
131922012-04-10 Juanma Barranquero <lekktu@gmail.com>
13193
13194 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13195 (list-dynamic-libraries--loaded): New function.
13196 (list-dynamic-libraries--refresh): Use it.
13197
8f33b5f8
NW
131982012-04-10 Nathan Weizenbaum <nweiz@google.com>
13199
1930bf5d
SM
13200 * progmodes/python.el (python-fill-paragraph):
13201 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
13202 disabled (bug#7018).
13203
b12f0439
L
132042012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13205
1930bf5d 13206 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
13207 DOS/MS Windows for the Baltic languages. There are still plenty
13208 of texts written in this encoding/codepage (bug#6519).
b12f0439 13209
57c3bd01
GM
132102012-04-10 Glenn Morris <rgm@gnu.org>
13211
13212 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13213 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13214
6c3eab30
FA
132152012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13216
1930bf5d 13217 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
13218 next-line "n" and previous-line "p" in order to make recentf more
13219 consistent with ibuffer, dired or org-mode (bug#9387).
13220
24d78a88
LMI
132212012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13222
bc72b5d9
LMI
13223 * image.el (put-image): Return the overlay created instead of the
13224 optional input string (bug#7834). Note that this may break code
13225 that is (for some reason or other) depending on `put-image'
13226 returning the string.
13227
bd2dba5a
LMI
13228 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13229
74beb59f
LMI
13230 * simple.el (zap-to-char): Allow zapping using input methods
13231 (bug#1580).
13232
24d78a88
LMI
13233 * textmodes/fill.el (fill-region): Leave point and mark where they
13234 were before filling (bug#5399).
13235
263f20cd
GM
132362012-04-09 Glenn Morris <rgm@gnu.org>
13237
13238 * version.el (emacs-bzr-get-version):
13239 Handle lightweight checkouts of local branches.
13240
58d1f797
AS
132412012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13242
263f20cd 13243 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 13244
b4d3bc10
CY
132452012-04-09 Chong Yidong <cyd@gnu.org>
13246
13247 * custom.el (custom-variable-p): Return nil for non-symbol
13248 arguments instead of signaling an error.
13249 (user-variable-p): Obsolete alias for custom-variable-p.
13250
13251 * apropos.el (apropos-variable):
13252 * files-x.el (read-file-local-variable):
13253 * simple.el (set-variable):
13254 * woman.el (woman-mini-help):
13255 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13256
fd06db5d
GM
132572012-04-09 Glenn Morris <rgm@gnu.org>
13258
e5fcdb5e
GM
13259 * startup.el (normal-top-level): Don't look for leim-list.el
13260 in places where it will not be found. (Bug#910)
13261
fd06db5d
GM
13262 * international/mule-cmds.el (set-default-coding-systems):
13263 * files.el (normal-mode):
13264 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13265 This function was removed with ucs-tables.el in 2008.
13266
b39bb7e1
EZ
132672012-04-08 Eli Zaretskii <eliz@gnu.org>
13268
13269 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13270 ispell-encoding8-command to "-i", without a trailing space.
13271 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13272 separate command-line arguments, to specify the encoding, since
13273 that's how hunspell expects it.
13274
5c5b8e23
GM
132752012-04-08 Glenn Morris <rgm@gnu.org>
13276
13277 * loadup.el: Load bindings before cus-start.
13278 This reduces somewhat the number of "rogue" settings in emacs -Q.
13279
a1ed8b05
GM
132802012-04-07 Glenn Morris <rgm@gnu.org>
13281
13282 * version.el (emacs-bzr-get-version): New function.
dfae128a 13283 (emacs-bzr-version): New variable.
a1ed8b05
GM
13284 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13285 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13286
b142f158
EZ
132872012-04-07 Eli Zaretskii <eliz@gnu.org>
13288
dfae128a
GM
13289 * international/uni-bidi.el, international/uni-category.el:
13290 * international/uni-combining.el, international/uni-decimal.el:
13291 * international/uni-decomposition.el, international/uni-digit.el:
13292 * international/uni-lowercase.el, international/uni-mirrored.el:
13293 * international/uni-name.el, international/uni-numeric.el:
13294 * international/uni-titlecase.el, international/uni-uppercase.el:
13295 Update for Unicode 6.1.
b142f158 13296
9078ead6
EZ
132972012-04-07 Eli Zaretskii <eliz@gnu.org>
13298
13299 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13300
f23d2c7d
LMI
133012012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13302
13303 * window.el (shrink-window): Mention the `window-min-height'
13304 variable in the doc string.
13305
0a0a3573
BG
133062012-04-05 Bastien Guerry <bzg@altern.org>
13307
13308 * color.el (color-lighten-name): Fix typo.
13309
e5248ac9
SM
133102012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13311
13312 * server.el (server--on-display-p): New function.
13313 (server--on-display-p): Use it.
13314
a8e4d516 133152012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
b4243e22
GV
13316
13317 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13318 (bug#11145).
13319
305d9f44
SM
133202012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13321
13322 * comint.el (comint--common-quoted-suffix): Check string boundary
13323 before comparing (bug#11158).
13324 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13325
3d439cd1
CY
133262012-04-04 Chong Yidong <cyd@gnu.org>
13327
321cc491
CY
13328 * minibuffer.el (completion-extra-properties): Doc fix.
13329
3d439cd1
CY
13330 * subr.el (delayed-warnings-hook): Doc fix.
13331
2d562c0f
DU
133322012-04-04 Daiki Ueno <ueno@unixuser.org>
13333
13334 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13335 selection (Bug#11159).
13336 (epa-insert-keys): Inform that the default public key will be
13337 exported if no key is selected.
13338
4443f204
RS
133392012-04-04 Richard Stallman <rms@gnu.org>
13340
13341 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13342
529c06b6
CY
133432012-04-03 Chong Yidong <cyd@gnu.org>
13344
13345 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13346 mail-insert-file, not its obsolete alias mail-attach-file.
13347
66b907dc
MA
133482012-04-03 Michael Albinus <michael.albinus@gmx.de>
13349
13350 * notifications.el (notifications-notify): Fix docstring.
13351
c0ea195d
GM
133522012-04-02 Glenn Morris <rgm@gnu.org>
13353
13354 * emacs-lisp/authors.el (authors-aliases): Another addition.
13355
5ca64e00
MA
133562012-04-02 Michael Albinus <michael.albinus@gmx.de>
13357
13358 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13359 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13360 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13361
42ee526b
CY
133622012-04-01 Chong Yidong <cyd@gnu.org>
13363
13364 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13365 Handle root directory properly.
13366 (copy-directory): Caller changed.
13367
13368 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13369 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13370
0b021094
GM
133712012-03-31 Glenn Morris <rgm@gnu.org>
13372
40f86458
GM
13373 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13374
7019c177
GM
13375 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13376
a1daddd6
GM
13377 * calendar/calendar.el (calendar-window-list)
13378 (calendar-hide-window): Restore. (Bug#11140)
13379 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13380
0b021094
GM
13381 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13382
40311efc
TV
133832012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13384
13385 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13386 Check if file is a symlink (Bug#10489).
13387
13388 * files.el (copy-directory): Likewise.
13389
5319014e
CY
133902012-03-30 Chong Yidong <cyd@gnu.org>
13391
13392 * image.el (imagemagick-types-inhibit)
13393 (imagemagick-register-types): Doc fix.
13394
935d1290
AM
133952012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13396
090bd7cb 13397 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 13398 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 13399 and treats ~word as ordinary words in pipe mode.
935d1290 13400
61c6e8fd
GM
134012012-03-30 Glenn Morris <rgm@gnu.org>
13402
13403 * tutorial.el (help-with-tutorial): Ensure local variables don't
13404 happen to make the buffer read-only. (Bug#11127)
13405
81fdff00
SM
134062012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13407
13408 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13409 (perl-calculate-indent): Return `noindent' in strings.
13410
6e7a6ec0
SS
134112012-03-28 Sam Steingold <sds@gnu.org>
13412
13413 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13414 instead of the broken adhockery which does not prevent calendar
13415 buffers from being displayed at random after exit.
13416 (calendar-window-list, calendar-hide-window): Remove the broken
13417 adhockery.
13418
fee88ca0
GM
134192012-03-28 Glenn Morris <rgm@gnu.org>
13420
13421 * replace.el (query-replace-map): Doc fix.
13422
38de3354
AS
134232012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13424
13425 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13426 contents. (Bug#11109)
13427
b973155e
SM
134282012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13429
13430 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13431 (bug#11077).
13432 (avl-tree--check, avl-tree--check-node): New funs.
13433
dcb6e7b3
MR
134342012-03-27 Martin Rudalics <rudalics@gmx.at>
13435
13436 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
13437 (switch-to-prev-buffer, switch-to-next-buffer):
13438 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
13439 showing a buffer already is done on the same frame.
13440
b4fa35fa
GM
134412012-03-27 Glenn Morris <rgm@gnu.org>
13442
13443 * startup.el (mail-host-address): Doc fix.
13444
f9210e18
SM
134452012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13446
13447 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13448 than 197 variables.
13449
c0bf7753
AF
134502012-03-26 Ami Fischman <ami@fischman.org>
13451
13452 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13453
33da7b16
GM
134542012-03-26 Glenn Morris <rgm@gnu.org>
13455
02243d9d
GM
13456 * files.el (save-buffers-kill-emacs): Doc fix.
13457
33da7b16
GM
13458 * startup.el (normal-top-level, command-line, command-line-1):
13459 Give them doc strings.
13460
e5a69fd0
EZ
134612012-03-25 Eli Zaretskii <eliz@gnu.org>
13462
13463 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 13464 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 13465
9a69676a
CY
134662012-03-25 Chong Yidong <cyd@gnu.org>
13467
4125cb8b
CY
13468 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13469 theme if it was previously enabled before (Bug#11031).
13470
dd470960
CY
13471 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13472 spec with custom-face-get-current-spec if its :shown-value is not
13473 determined yet (Bug#9337).
4125cb8b 13474 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 13475
9a69676a
CY
13476 * button.el (button-at): Minor addition to docstring.
13477
6e7e90fa
SL
134782012-03-24 Simon Leinen <simon.leinen@gmail.com>
13479
13480 * vc/vc.el (vc-merge): Fix a prompt.
13481
f06e2758
CY
134822012-03-24 Chong Yidong <cyd@gnu.org>
13483
13484 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13485 point (Bug#9623).
13486
6e7e90fa
SL
13487 * button.el (button-at): Minor addition to docstring.
13488
b9d0879b
SM
134892012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13490
13491 * newcomment.el (comment-choose-indent): No space after BOL.
13492
e71cebb3
SS
134932012-03-22 Sam Steingold <sds@gnu.org>
13494
13495 * window.el (switch-to-prev-buffer): Revert last patch because the
13496 bug turned out to be an advertised feature (Elisp manual 28.14).
13497
335aff35
GM
134982012-03-22 Glenn Morris <rgm@gnu.org>
13499
13500 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13501 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13502
c676576a
LMI
135032012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13504
13505 * net/network-stream.el (network-stream-open-starttls): Make error
13506 message under Windows be less misleading.
13507
126f3d39
LW
135082012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13509
13510 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13511 understands (bug#9942).
13512
64fee311
CY
135132012-03-22 Chong Yidong <cyd@gnu.org>
13514
13515 * simple.el (end-of-visible-line): Handle return value of
13516 next-single-property-change properly (Bug#9371).
13517
a640d29a
KH
135182012-03-22 Kenichi Handa <handa@m17n.org>
13519
13520 * international/quail.el (quail-insert-kbd-layout): Fix previous
13521 change. To avoid unwanted bidi reordering, use
13522 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13523
39675016
DG
135242012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13525
13526 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13527 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13528 (ruby-beginning-of-indent): Be more careful with the difference
13529 between word-boundary and symbol boundary.
13530 (ruby-mode-syntax-table): Make : a symbol constituent.
13531
0a6934fc 135322012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 13533
3d008e4f
SM
13534 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13535
0a6934fc
SM
135362012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13537
af67c9d7
SM
13538 * progmodes/etags.el (tags-completion-at-point-function):
13539 Improve last fix.
13540
1acad97c
SM
13541 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13542
e298b5da
SS
135432012-03-21 Sam Steingold <sds@gnu.org>
13544
13545 * progmodes/etags.el (tags-completion-at-point-function):
13546 Avoid the error when point is inside the pattern.
13547
91d82a70
JY
135482012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13549
13550 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13551 line (Bug#10855).
13552
69188b79
CY
135532012-03-21 Drew Adams <drew.adams@oracle.com>
13554
13555 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13556
99fc91fe
AK
135572012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13558
13559 * ido.el (ido-set-current-directory, ido-read-internal)
13560 (ido-choose-completion-string, ido-completion-help): Handle nil
13561 value of ido-completion-buffer (Bug#11008).
13562
087bbb4c
SS
135632012-03-21 Sam Steingold <sds@gnu.org>
13564
13565 * window.el (switch-to-prev-buffer): Do not switch to a visible
13566 window previous buffer, just like with the frame previous buffers.
13567
fb5b8aca
CY
135682012-03-21 Chong Yidong <cyd@gnu.org>
13569
13570 * faces.el (make-face, make-empty-face, copy-face):
13571 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13572 Doc fixes.
13573
dc9924b8
SM
135742012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13577 (widget-complete): Remove broken use of it.
13578
f0bcceb9
CY
135792012-03-20 Chong Yidong <cyd@gnu.org>
13580
dc9924b8
SM
13581 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13582 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
13583 characters.
13584
ee52ebf3
TH
135852012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13586
13587 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13588 to draw rectangles, not squares. (Regression introduced by revno
13589 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13590
4c5779ab
CY
135912012-03-18 Chong Yidong <cyd@gnu.org>
13592
13593 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13594 it is not yet defined (for temacs).
13595
15360934
LL
135962012-03-18 Leo Liu <sdl.web@gmail.com>
13597
735135f9
PE
13598 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13599 prefix.
15360934 13600
d9a8eb66
EZ
136012012-03-17 Eli Zaretskii <eliz@gnu.org>
13602
13603 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13604 (ispell-choices-win-default-height, ispell-silently-savep)
13605 (ispell-dictionary-alist, ispell-encoding8-command)
13606 (ispell-check-version, ispell-aspell-find-dictionary)
13607 (ispell-valid-dictionary-list, ispell-words-keyword)
13608 (ispell-get-word, ispell-internal-change-dictionary)
13609 (ispell-region, ispell-skip-region-list)
13610 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13611 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13612 (ispell-message-text-end, ispell-message)
13613 (ispell-buffer-local-parsing): Doc fix.
13614
f02ff80d
J
136152012-03-13 Jambunathan K <kjambunathan@gmail.com>
13616
13617 * htmlfontify.el: Add support for code block fontification for ODT
13618 export (Bug #9914).
13619 (hfy-optimisations): Define new option
13620 `body-text-only'
13621 (hfy-fontify-buffer): Honor above setting.
13622 (hfy-begin-span, hfy-end-span): New routines factored out form
13623 `hfy-fontify-buffer'.
13624 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13625 that permit insertion of custom tags.
13626 (hfy-fontify-buffer): Use above handlers.
13627 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13628 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 13629 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 13630 over multiple runs. This is made possible by having the caller let
f02ff80d
J
13631 bind a special variable `hfy-user-sheet-assoc'.
13632 (htmlfontify-string): New defun.
13633 (hfy-compile-face-map): Make sure that the last char in the
13634 buffer is correctly fontified.
13635 (hfy-face-resolve-face): Whitespace only change.
13636
9ac7a13f
EZ
136372012-03-17 Eli Zaretskii <eliz@gnu.org>
13638
13639 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13640 message more clear.
13641
e2b5bdd7
LL
136422012-03-16 Leo Liu <sdl.web@gmail.com>
13643
13644 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13645
2e492df3
AM
136462012-03-16 Alan Mackenzie <acm@muc.de>
13647
677d5c92 13648 Further optimize the handling of large macros.
2e492df3
AM
13649
13650 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13651 limit to a call of `c-literal-limits'.
13652 (c-determine-+ve-limit): New function.
dc9924b8
SM
13653 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13654 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
13655 In CASE 5B, restrict a search limit to 500.
13656 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13657
13658 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13659 Restrict macro bounds to +-500 from after-change's BEG END.
13660
50e94f0c
LL
136612012-03-16 Leo Liu <sdl.web@gmail.com>
13662
13663 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13664
6f09f6ed
AH
136652012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13666
13667 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 13668 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 13669
c7e73d51
GM
136702012-03-16 Glenn Morris <rgm@gnu.org>
13671
da986230
GM
13672 * view.el (view-buffer, view-buffer-other-window)
13673 (view-buffer-other-frame): Doc fixes re special mode-class.
13674
0835f01e
GM
13675 * subr.el (eval-after-load): If named feature is provided not from
13676 a file, run after-load forms. (Bug#10946)
13677
c7e73d51
GM
13678 * calendar/calendar.el (calendar-insert-at-column):
13679 Handle non-unit-width characters a bit better. (Bug#10978)
13680
3f2eafd1
CY
136812012-03-15 Chong Yidong <cyd@gnu.org>
13682
13683 * emacs-lisp/ring.el (ring-extend): New function.
13684 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13685
13686 * comint.el (comint-read-input-ring)
13687 (comint-add-to-input-history): Grow comint-input-ring lazily.
13688
103af3fe
SM
136892012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13690
663b1677
SM
13691 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13692 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13693
103af3fe
SM
13694 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13695 (imenu-add-to-menubar): Don't add a redundant index.
13696 (imenu-update-menubar): Handle a dynamically composed keymap.
13697
899cb7cb
KY
136982012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13699
13700 * mail/sendmail.el (mail-encode-header):
13701 Bind rfc2047-encode-encoded-words to nil.
13702
3809f91d
GM
137032012-03-13 Glenn Morris <rgm@gnu.org>
13704
13705 * calendar/calendar.el (calendar-string-spread):
13706 Handle non-unit-width characters a bit better. (Bug#10978)
13707
9e345a01
LL
137082012-03-13 Leo Liu <sdl.web@gmail.com>
13709
13710 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13711 directory and file as argument (Bug#10822).
13712
4a07df36
KS
137132012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13714
13715 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13716 For dynamically generated code, follow $PC.
13717 (gdb-disassembly-handler-custom): Handle no function name case.
13718
4aaa9356
TL
137192012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13720
13721 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13722 * emulation/ws-mode.el (ws-query-replace):
13723 * sort.el (sort-regexp-fields):
13724 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13725
225979da
SM
137262012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13727
13728 * dabbrev.el: Fix cycle completion order (bug#10963).
13729 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13730 (dabbrev-completion): Don't use an obarray; provide
13731 a cycle-sort-function.
13732
e2f1fdab
LL
137332012-03-12 Leo Liu <sdl.web@gmail.com>
13734
dc9924b8 13735 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
13736 (kill-do-not-save-duplicates): Doc fix.
13737
b19490ed
SM
137382012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13739
13740 * dabbrev.el: Fix cycle completion (bug#10963).
13741 Use lexical binding and wrap to 80 columns.
13742 (dabbrev-completion): Delay computing the list of completions.
13743
4b05d722
KH
137442012-03-12 Kenichi Handa <handa@m17n.org>
13745
13746 * international/quail.el (quail-insert-kbd-layout): Surround each
13747 row by LRO and PDF instead of inserting many LRMs. Pad the left
13748 and right of each non-spacing marks. Insert invisible space
13749 between lower and upper characters to prevent composition.
13750
dbbc2e69
SM
137512012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13752
13753 * minibuffer.el (minibuffer-complete): Don't get confused when the
13754 function is run twice via different commands (bug#10958).
13755 (complete-with-action): Fix docstring.
13756
292112ed
CY
137572012-03-12 Chong Yidong <cyd@gnu.org>
13758
5d1ac394
CY
13759 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13760 (nxml-completion-at-point-function): New function.
13761 (nxml-mode): Use it.
13762 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13763
292112ed
CY
13764 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13765 Load generated autoloads file before byte compiling (Bug#10970).
13766 (package--make-autoloads-and-compile): New helper fun.
13767
4098f8f7
CS
137682012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13769
13770 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13771
8f754691
MA
137722012-03-11 Michael Albinus <michael.albinus@gmx.de>
13773
13774 * autorevert.el (auto-revert-handler): Ensure, that
13775 file-readable-p is applied only for local files or in
13776 auto-revert-tail-mode.
13777
e29ab36b
AS
137782012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13779
dbbc2e69
SM
13780 * server.el (server-eval-at): Handle non-tcp connections.
13781 Decode result string.
ad0bf5b6 13782
e29ab36b
AS
13783 * server.el (server-msg-size): New constant.
13784 (server-reply-print): New function.
13785 (server-eval-and-print): Use it.
13786 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13787 Handle -print-nonl.
13788
de5939ba
CS
137892012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13790
13791 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13792 (Bug#10987).
13793
0c93eabf
CY
137942012-03-11 Chong Yidong <cyd@gnu.org>
13795
397a688f
CY
13796 * simple.el (goto-line): Doc fix (Bug#9938).
13797
2cc775f9
CY
13798 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13799
0c93eabf
CY
13800 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13801 when finished (Bug#10963).
13802
c491fa41
MR
138032012-03-11 Martin Rudalics <rudalics@gmx.at>
13804
13805 * window.el (split-window-below): Fix bug in case where
13806 split-window-keep-point is nil (Bug#10971).
13807
300e8fa5
JL
138082012-03-11 Juri Linkov <juri@jurta.org>
13809
13810 * replace.el (replace-highlight): Set isearch-word to nil
13811 unconditionally. (Bug#10887)
13812
dbf6c5a1
EZ
138132012-03-10 Eli Zaretskii <eliz@gnu.org>
13814
13815 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13816 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 13817 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
13818 (mairix-widget-create-query): Add usage information about mairix
13819 search forms: negating words, searching for substrings, etc.
13820
b9e501de
JP
138212012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13822
13823 * international/fontset.el (font-encoding-alist): Add an entry for
13824 ksx1001 (Bug#5667).
13825
92795c91
RS
138262012-03-10 Richard Stallman <rms@gnu.org>
13827
1694e6c1
RS
13828 * mail/sendmail.el (mail-encode-header):
13829 Set rfc2047-encode-encoded-words.
13830
607e8555
RS
13831 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13832
de3bc99a
RS
13833 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13834 view buffer means not swapped.
13835 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13836 (rmail-write-region-annotate): Error if real text has disappeared.
13837
92795c91
RS
13838 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13839
699bd04e
CY
138402012-03-10 Chong Yidong <cyd@gnu.org>
13841
13842 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
13843 * emulation/cua-base.el (cua--init-keymaps):
13844 Add delete-forward-char to remappings (Bug#9666).
699bd04e 13845
570a1714
MR
138462012-03-10 Martin Rudalics <rudalics@gmx.at>
13847
dbbc2e69
SM
13848 * speedbar.el (speedbar-unhighlight-one-tag-line):
13849 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 13850
82dcf4e4
CY
138512012-03-10 Chong Yidong <cyd@gnu.org>
13852
7a2c7ca7
CY
13853 * minibuffer.el (completion-in-region, completion-help-at-point):
13854 Give the completion field overlay a high priority (Bug#6830).
13855
82dcf4e4
CY
13856 * dired.el (dired-goto-file): Recognize absolute file name
13857 listings (Bug#7126).
13858 (dired-goto-file-1): New helper function.
13859 (dired-toggle-read-only): Inhibit warnings.
13860
052e28ac
MA
138612012-03-09 Michael Albinus <michael.albinus@gmx.de>
13862
75f1671a 13863 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
13864 there are no properties.
13865
95d5e396
LL
138662012-03-09 Leo Liu <sdl.web@gmail.com>
13867
13868 * savehist.el (savehist-printable): Stricter check for string
13869 value (Bug#10937).
13870
3f018d6d
EZ
138712012-03-09 Eli Zaretskii <eliz@gnu.org>
13872
dbbc2e69
SM
13873 * mail/smtpmail.el (smtpmail-send-it):
13874 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
13875 valid mbox format.
13876
f7fd3d79
GM
138772012-03-09 Glenn Morris <rgm@gnu.org>
13878
13879 * files.el (dir-locals-find-file):
13880 Don't check result is regular, readable.
13881 (dir-locals-read-from-file): Demote errors.
13882
6ff6e72f
EZ
138832012-03-08 Eli Zaretskii <eliz@gnu.org>
13884
dbbc2e69
SM
13885 * international/quail.el (quail-insert-kbd-layout):
13886 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
13887 layout cell, to prevent their reordering by bidi display engine.
13888 For details, see the discussion in
13889 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13890
9cec7834
AM
138912012-03-08 Alan Mackenzie <acm@muc.de>
13892
13893 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13894 the starting position; make it extend the marked region when
13895 invoked repeatedly - all under appropriate circumstances.
13896 Fixes bugs #5525, #10906.
13897
9a40b8d4
GM
138982012-03-08 Glenn Morris <rgm@gnu.org>
13899
13900 * files.el (locate-dominating-file, dir-locals-find-file):
13901 Undo 2012-03-06 change.
13902
7a08ed35
EZ
139032012-03-07 Eli Zaretskii <eliz@gnu.org>
13904
dbbc2e69
SM
13905 * international/quail.el (quail-help):
13906 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
13907 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13908 for the reason.
13909
5aca4f71 139102012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
13911
13912 Avoid superfluous registering of signals. (Bug#10807)
13913
13914 * notifications.el (notifications-on-action-object)
13915 (notifications-on-close-object): New defvars.
13916 (notifications-on-action-signal, notifications-on-closed-signal):
13917 Unregister the signal if not needed any longer.
13918 (notifications-notify): Register `notifications-action-signal' or
13919 `notifications-closed-signal', if :on-action or :on-close has been
13920 passed as argument.
13921
78e8b10a
CY
139222012-03-07 Chong Yidong <cyd@gnu.org>
13923
13924 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13925 non-X platforms.
13926
69481eb8
GM
139272012-03-06 Glenn Morris <rgm@gnu.org>
13928
13929 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13930 (x-disown-selection-internal, x-get-selection-internal):
13931 Doc fix (add arglist signatures). (Bug#10783)
13932
133b8e11
KS
139332012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13934
13935 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13936 Handle breakpoints with no "type".
13937
99a83064
GM
139382012-03-06 Glenn Morris <rgm@gnu.org>
13939
13940 * files.el (locate-dominating-file): Add optional predicate argument.
13941 (dir-locals-find-file): Make use of above change.
13942
17798e78
TTN
139432012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13944
13945 * info.el (Info-insert-dir): Also try "dir.gz".
13946
eb182446
GM
139472012-03-06 Glenn Morris <rgm@gnu.org>
13948
8f2114ee
GM
13949 * files.el (dir-locals-find-file):
13950 Ignore non-readable or non-regular files. (Bug#10928)
13951
eb182446
GM
13952 * files.el (locate-dominating-file): Doc fix.
13953
24679323
AS
139542012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13955
13956 * calendar/calendar.el (calendar-set-mode-line):
13957 `getenv' returns a string. (Bug#10951)
13958
01d972a9
LL
139592012-03-05 Leo Liu <sdl.web@gmail.com>
13960
109aa8a9
LL
13961 * simple.el (backward-delete-char-untabify): Constrain point to
13962 field (Bug#10939).
13963
01d972a9
LL
13964 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13965
10607bea
CY
139662012-03-05 Chong Yidong <cyd@gnu.org>
13967
13968 * simple.el (count-words): If called from Lisp, return the word
13969 count, for symmetry with `count-lines'. Arglist changed.
13970 (count-words--message): Args changed. Consolidate counting code
13971 from count-words and count-words-region.
13972 (count-words-region): Caller changed.
13973 (count-lines-region): Make it an obsolete alias.
13974
5dd11cfe
TH
139752012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13976
13977 * saveplace.el (save-place-to-alist)
13978 (save-place-ignore-files-regexp): Allow value nil to disable this
13979 feature.
13980
c349f4e6
CY
139812012-03-04 Chong Yidong <cyd@gnu.org>
13982
13983 * faces.el (face-spec-reset-face): For the default face, reset the
13984 attributes to default values (Bug#10748).
13985
e627be4c
LMI
139862012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13987
13988 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13989 previous patch: Check `message-send-mail-function', and not the
13990 default function (bug#10897).
13991
ebeabff4
MA
139922012-03-04 Michael Albinus <michael.albinus@gmx.de>
13993
a41a6cf4
MA
13994 * notifications.el (notifications-on-action-signal)
13995 (notifications-on-closed-signal): Check for unique service name of
13996 incoming event. Fix error in removing entry.
ebeabff4 13997 (top): Register for signals with wildcard service name.
a41a6cf4 13998 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 13999
c1ca42b4
CY
140002012-03-04 Chong Yidong <cyd@gnu.org>
14001
dc9924b8 14002 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 14003
ea16568d
GM
140042012-03-04 Glenn Morris <rgm@gnu.org>
14005
14006 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14007 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14008 (expand-abbrev, define-abbrev-table): Doc fixes.
14009
fbae4637
LMI
140102012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14011
14012 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14013 `message-default-send-mail-function' and not `send-mail-function'
14014 when doing the prompting for `sendmail-query-once' before sending
14015 in Message buffers (bug#10897).
14016
a1e7225c
LMI
14017 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14018 This is inconsistent with all the other stream functions, which leave
14019 the setting up to the higher levels (if so wanted) (bug#10931).
14020
56d093a9
AM
140212012-03-02 Alan Mackenzie <acm@muc.de>
14022
14023 Depessimize the handling of very large macros.
14024
14025 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14026 (c-macro-cache-syntactic): New variables to implement a one
14027 element macro cache.
14028 (c-invalidate-macro-cache): New function.
14029 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14030 Adapt to use the new cache.
14031 (c-state-safe-place): Use better the cache of safe positions.
14032 (c-state-semi-nonlit-pos-cache)
14033 (c-state-semi-nonlit-pos-cache-limit):
14034 New variables for...
14035 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14036 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
14037 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14038 Use c-state-semi-safe-place.
56d093a9 14039
dbbc2e69
SM
14040 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14041 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 14042
817e5c3d
MA
140432012-03-02 Michael Albinus <michael.albinus@gmx.de>
14044
dbbc2e69
SM
14045 * jka-compr.el (jka-compr-call-process):
14046 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
14047 not remote.
14048
a032a702
MA
140492012-03-01 Michael Albinus <michael.albinus@gmx.de>
14050
14051 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14052 access of FILE2, if FILE1 does not exist.
14053
99a54f21
MA
14054 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14055 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14056
14057 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14058 Add "PAGER=" to `process-environment'.
14059
f6561e1f
MM
140602012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14061
14062 * progmodes/sql.el: Bug fix
14063 (sql-get-login-ext): Save login values in globals.
14064 (sql-get-login): Use new version of `sql-get-login-ext'.
14065 (sql-interactive-mode): Set global `sql-connection' to nil.
14066 (sql-connect): Set global values for connection.
14067 (sql-product-interactive): Save global values as buffer local.
14068
2d44d9cc
LL
140692012-02-29 Leo Liu <sdl.web@gmail.com>
14070
14071 * abbrev.el (define-abbrevs): Reset sys to nil.
14072
96b49301 140732012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14074
bf7f9bc5
JB
14075 * files.el (file-equal-p): Rename from `files-equal-p'.
14076 Return nil when one or both files don't exist.
96b49301 14077 (file-subdir-of-p): Now only top directory must exists,
14078 return nil if it doesn't.
bf7f9bc5
JB
14079 (copy-directory): No need to test with `file-subdir-of-p' after
14080 creating dir.
14081 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14082 to `file-equal-p'.
96b49301 14083
44e97401
GM
140842012-02-28 Glenn Morris <rgm@gnu.org>
14085
14086 * shell.el (shell-mode):
14087 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14088 * play/landmark.el (landmark-font-lock-face-O):
14089 * play/handwrite.el (handwrite):
14090 * play/gomoku.el (gomoku-O):
14091 * net/browse-url.el (browse-url-browser-display):
14092 * international/mule.el (define-charset):
14093 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14094 * filesets.el (filesets-find-file-delay):
14095 * eshell/em-xtra.el (eshell-xtra):
14096 * eshell/em-unix.el (eshell-grep):
14097 * emulation/viper.el (viper-mode):
14098 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14099 * emacs-lisp/easymenu.el (easy-menu-define):
14100 * calendar/timeclock.el (timeclock-use-display-time):
14101 * bs.el (bs-mode):
14102 * bookmark.el (bookmark-save-flag):
14103 Doc fix (standardize possessive apostrophe usage).
14104
c98c6276
CY
141052012-02-27 Chong Yidong <cyd@gnu.org>
14106
bf7f9bc5
JB
14107 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14108 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 14109
c98c6276
CY
14110 * font-lock.el (font-lock-specified-p): Rename from
14111 font-lock-spec-present. Callers changed.
14112
9c62cd04 141132012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 14114
bf7f9bc5
JB
14115 * emacs-lisp/package.el (package-compute-transaction):
14116 Handle holding a package version to t in package-load-list.
8ac9e529 14117
530739c9
MA
141182012-02-26 Michael Albinus <michael.albinus@gmx.de>
14119
14120 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14121 (tramp-get-inode, tramp-get-device): Use cached values.
14122
487915d7
AM
141232012-02-26 Alan Mackenzie <acm@muc.de>
14124
14125 Check there is a font-lock specification before doing initial
14126 fontification.
14127
14128 * font-core.el (font-lock-mode): Move the conditional from
14129 :after-hook to font-lock-initial-fontify.
14130 (font-lock-default-function): Move the check for a specification
14131 to font-lock-spec-present.
14132
dc9924b8 14133 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
14134 (font-lock-spec-present): New function.
14135
4fd96557
JB
141362012-02-26 Jim Blandy <jimb@red-bean.com>
14137
14138 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14139 (gdb-send): Apply it to the operand of the '-interpreter-exec
14140 console' command, so that we can pass arguments with (say) quotes
14141 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14142
9a4888c0
CY
141432012-02-26 Chong Yidong <cyd@gnu.org>
14144
07498861
CY
14145 * help-fns.el (describe-function-1): Clarify description of
14146 remapping (Bug#10844).
14147
9a4888c0
CY
14148 * files.el (files-equal-p): Doc fix.
14149 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14150 and quit the loop once a mismatch is found.
14151
ea8fb88d
JB
141522012-02-25 Juanma Barranquero <lekktu@gmail.com>
14153
14154 * bs.el (bs--show-with-configuration): Don't throw an error
14155 if the window cannot be split; otherwise, subsequent calls to
14156 bs-show fail, restoring a stale window config. (Bug#10882)
14157
525795c1
JD
141582012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14159
14160 * term/ns-win.el (global-map): Bind ns-drag-file to
14161 ns-find-file (Bug#5855, Bug#10050).
14162
f008086f
AS
141632012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14164
14165 * calendar/parse-time.el (parse-time-string): Allow extractor to
14166 return nil.
14167
a3fcfa99
MA
141682012-02-25 Michael Albinus <michael.albinus@gmx.de>
14169
91027d08
JB
14170 * net/tramp.el (tramp-file-name-for-operation):
14171 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
14172
14173 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
14174 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14175 Add COPY-CONTENTS argument.
a3fcfa99 14176
67b0de11
CY
141772012-02-25 Chong Yidong <cyd@gnu.org>
14178
14179 Add custom groups for VC backends, for consistency with vc-bzr.
14180
14181 * vc/vc-arch.el (vc-arch):
14182 * vc/vc-cvs.el (vc-cvs):
14183 * vc/vc-git.el (vc-git):
14184 * vc/vc-hg.el (vc-hg):
14185 * vc/vc-mtn.el (vc-mtn):
14186 * vc/vc-rcs.el (vc-rcs):
14187 * vc/vc-sccs.el (vc-sccs):
14188 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14189 All relevant defcustoms reassigned.
14190
3c9dfce6
CY
141912012-02-25 Chong Yidong <cyd@gnu.org>
14192
1339bf43
CY
14193 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14194
3c9dfce6
CY
14195 * term/x-win.el (x-initialize-window-system): Reduce default for
14196 x-selection-timeout to 5 seconds (Bug#8869).
14197
25b2e303 141982012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14199
ec70a47d
GM
14200 * files.el (files-equal-p, file-subdir-of-p): New functions.
14201 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 14202 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
14203 * dired-aux.el (dired-copy-file-recursive): Same.
14204 (dired-create-files): Modify destination when source is equal to
14205 dest when copying files.
53a46cd0 14206 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 14207
914260cd
MA
142082012-02-24 Michael Albinus <michael.albinus@gmx.de>
14209
14210 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14211 (Bug#10874)
14212
2cb228f7
AM
142132012-02-23 Alan Mackenzie <acm@muc.de>
14214
14215 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14216 parameter "after-hook:" to allow the expansion to run code after
14217 the execution of the mode hooks.
14218
14219 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 14220 from font-lock-mode-internal.
2cb228f7 14221
91027d08 14222 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
14223 :after-hook.
14224
8f0fde21
SM
142252012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14226
3e88618b
SM
14227 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14228 (completion--cache-all-sorted-completions): New function.
14229 (completion-all-sorted-completions): Use it.
14230 (completion--do-completion, minibuffer-force-complete):
14231 Use it to re-instate the flush hook.
14232
8f0fde21
SM
14233 * icomplete.el (icomplete-completions): Replace last fix with a better
14234 one (bug#10850).
14235
8e911f6f
DG
142362012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14237
14238 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14239 when it might call us back infinitely (bug#10797).
14240
49fe4321
GM
142412012-02-23 Glenn Morris <rgm@gnu.org>
14242
14243 * minibuffer.el (completion-category-overrides): Doc fix.
14244
b291b572
SM
142452012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14246
14247 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14248 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14249
31a9ef2e
GM
142502012-02-23 Glenn Morris <rgm@gnu.org>
14251
5e6e6794 14252 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
14253 (authors-obsolete-files-regexps, authors-ignored-files)
14254 (authors-ambiguous-files, authors-renamed-files-alist):
14255 Add more entries.
14256
0bd1e074
JL
142572012-02-23 Juri Linkov <juri@jurta.org>
14258
14259 * isearch.el (isearch-occur): Sync interactive spec with occur's
14260 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14261
b617673c
JL
14262 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14263
19e9789e
JL
142642012-02-22 Juri Linkov <juri@jurta.org>
14265
14266 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14267 (ucs-insert): Doc fix. Check for hex digits in the string.
14268 Don't display `nil' in the error message. (Bug#10857)
14269
f41ce09d
AM
142702012-02-22 Alan Mackenzie <acm@muc.de>
14271
7a71b18d 14272 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 14273
ac2eceee
GM
142742012-02-22 Glenn Morris <rgm@gnu.org>
14275
14276 * ffap.el (ffap-c-path):
14277 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14278
abd1f678
CY
142792012-02-22 Chong Yidong <cyd@gnu.org>
14280
14281 * custom.el (load-theme): Doc fix.
14282
f25aef2e
GM
142832012-02-22 Glenn Morris <rgm@gnu.org>
14284
14285 * dired-x.el (dired-guess-shell-alist-default):
14286 Remove escape sequences from nroff output. (Bug#172)
14287
5f8dc2ca
GM
142882012-02-21 Glenn Morris <rgm@gnu.org>
14289
6ff86ec4
GM
14290 * vc/emerge.el (emerge-defvar-local):
14291 Set `permanent-local' property rather than unused `preserved'.
14292
be3223a3 14293 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
14294 (picture-mode-map): Use it. (Bug#10860)
14295 (picture-mode): Doc fix.
14296
3fe58f4f
JB
142972012-02-21 Juanma Barranquero <lekktu@gmail.com>
14298
14299 * newcomment.el (uncomment-region-default): Remove unused binding.
14300
f9a998c3
GM
143012012-02-21 Glenn Morris <rgm@gnu.org>
14302
14303 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14304 (picture-self-insert, picture-tab-chars): Doc fix.
14305 (picture-mode-map): Fix C-a, C-e.
14306
c6029348
GM
143072012-02-20 Glenn Morris <rgm@gnu.org>
14308
14309 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14310
ab1ce9d7
LL
143112012-02-20 Leo Liu <sdl.web@gmail.com>
14312
14313 * icomplete.el (icomplete-completions): Check FROM arg before
14314 passing to substring (Bug#10850).
14315
0fd40f89
CY
143162012-02-19 Chong Yidong <cyd@gnu.org>
14317
14318 * comint.el: Require ansi-color.
14319 (comint-output-filter-functions): Add ansi-color-process-output.
14320
14321 * ansi-color.el: Don't set comint-output-filter-functions; it is
14322 now in the initial value defined in comint.el.
14323 (ansi-color-apply-face-function): New variable.
14324 (ansi-color-apply-on-region): Use it.
14325 (ansi-color-apply-overlay-face): New function.
14326
14327 * shell.el (shell): No need to require ansi-color.
14328 (shell-mode): Use ansi-color-apply-face-function to highlight
14329 color escapes using font-lock-face property (Bug#10835).
14330
20af2394
CY
143312012-02-19 Chong Yidong <cyd@gnu.org>
14332
14333 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14334 mode-line formats (Bug#10839).
14335
e23a3fbe
GM
143362012-02-18 Glenn Morris <rgm@gnu.org>
14337
b474519e
GM
14338 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14339
14340 * mail/undigest.el (unforward-rmail-message): Doc fix.
14341
e23a3fbe
GM
14342 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14343
57939ff4
EZ
143442012-02-18 Eli Zaretskii <eliz@gnu.org>
14345
14346 * international/characters.el (script-list): Sync with the latest
14347 Unicode Character Database.
14348
0c23686e
AS
143492012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14350
14351 * international/titdic-cnv.el: Remove duplicate coding tag.
14352 * language/cham.el: Likewise.
14353 * language/tai-viet.el: Likewise.
14354
6818b449
GM
143552012-02-18 Glenn Morris <rgm@gnu.org>
14356
14357 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14358 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14359 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14360 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14361 * calendar/holidays.el (holiday-bahai-holidays)
14362 (calendar-holidays, list-holidays):
14363 Use utf-8 Bahá'í in doc-strings, menus, etc.
14364
0311a3fc
TH
143652012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14366
14367 * saveplace.el (save-place-ignore-files-regexp): New variable
14368 allowing for excluding files from saving their location of point.
14369 The default value matches the temporary commit message editing
14370 files from Git, SVN, Bazaar, and Mercurial.
14371 (save-place-to-alist): Use it.
14372
d209e2fb 143732012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 14374 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
14375
14376 * newcomment.el (uncomment-region-default): Don't leave extra space
14377 when an arg is provided (bug#8150).
14378
ee0ce425
TZ
143792012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14380
eb864a71 14381 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 14382
95ddf442
GM
143832012-02-17 Glenn Morris <rgm@gnu.org>
14384
14385 * net/socks.el: Require network-stream. (Bug#10599)
14386
48dd1e39 143872012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
14388
14389 * international/charprop.el:
14390 * international/uni-name.el:
14391 * international/uni-old-name.el:
14392 * international/uni-comment.el: Regenerate.
14393
d68cd087
GM
143942012-02-16 Glenn Morris <rgm@gnu.org>
14395
14396 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14397 Interactively in calendar buffer, give an error if not on a date.
14398
13932042
GM
143992012-02-15 Glenn Morris <rgm@gnu.org>
14400
14401 * shell.el (shell-delimiter-argument-list):
14402 Revert 2011-02-17 change. (Bug#8027)
14403
c3a70e2b
CY
144042012-02-15 Chong Yidong <cyd@gnu.org>
14405
60236b0d
CY
14406 * minibuffer.el (completion-at-point-functions): Doc fix.
14407
c3a70e2b
CY
14408 * custom.el (defcustom): Doc fix; note use of defvar.
14409
9f26dc24
GM
144102012-02-15 Glenn Morris <rgm@gnu.org>
14411
14412 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14413 Doc fixes.
14414
6546b134
GM
144152012-02-14 Glenn Morris <rgm@gnu.org>
14416
14417 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14418
d29b2b4c
LI
144192012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14420
14421 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14422 way the ports list is computed.
835bdcba
LI
14423 (smtpmail-query-smtp-server): Prompt the user for a port number if
14424 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 14425
08dcdbc9
TZ
144262012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14427
14428 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14429
2605051a
GM
144302012-02-13 Glenn Morris <rgm@gnu.org>
14431
14432 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14433
7ee99f32
TZ
144342012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14435
14436 * net/gnutls.el (gnutls-trustfiles): New variable.
14437 (gnutls-negotiate): Use it.
14438
5f0af64f
LI
144392012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14440
14441 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14442 does its stuff if Gnus is running.
14443
c14fcc95
AM
144442012-02-13 Alan Mackenzie <acm@muc.de>
14445
14446 Fix a loop in c-set-fl-decl-start.
14447
7a71b18d 14448 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
14449 c-backward-syntactic-ws actually moves backwards.
14450
142b4d90
LL
144512012-02-13 Leo Liu <sdl.web@gmail.com>
14452
14453 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14454 beginning so that all \C-o chars are removed.
14455
fa9958a6
TZ
144562012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14457
dc9924b8 14458 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 14459
0bc5886a
AM
144602012-02-12 Alan Mackenzie <acm@muc.de>
14461
14462 Fix infinite loop with long macros.
4d6769e1 14463 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 14464
d4bd55e7
CY
144652012-02-12 Chong Yidong <cyd@gnu.org>
14466
14467 * window.el (display-buffer): Doc fix (Bug#10785).
14468
66f3fe22
GM
144692012-02-12 Glenn Morris <rgm@gnu.org>
14470
bd7da63e
GM
14471 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14472 (x-disown-selection-internal, x-get-selection-internal):
14473 Sync docs with the xselect.c versions.
14474
66f3fe22
GM
14475 * allout-widgets.el: Add missing license notice.
14476
3e0d2fa7
GM
144772012-02-11 Glenn Morris <rgm@gnu.org>
14478
cfecdf09
GM
14479 * select.el (x-get-selection-internal, x-own-selection-internal)
14480 (x-disown-selection-internal):
14481 * x-dnd.el (x-get-selection-internal): Update declarations.
14482
6d216d7f
GM
14483 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14484
2bed3f04
GM
14485 * window.el (window-sides-slots):
14486 * tool-bar.el (tool-bar-position):
14487 * term/xterm.el (xterm-extra-capabilities):
14488 * ses.el (ses-self-reference-early-detection):
14489 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14490 (verilog-auto-wire-type)
14491 (verilog-auto-delete-trailing-whitespace)
14492 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14493 (verilog-auto-tieoff-declaration):
14494 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14495 (sql-oracle-statement-starters, sql-oracle-scan-on):
14496 * progmodes/prolog.el (prolog-align-comments-flag)
14497 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14498 (prolog-left-indent-regexp, prolog-paren-indent-p)
14499 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14500 (prolog-types, prolog-mode-specificators)
14501 (prolog-determinism-specificators, prolog-directives)
14502 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14503 (prolog-electric-dot-flag)
14504 (prolog-electric-dot-full-predicate-template)
14505 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14506 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14507 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14508 (prolog-program-switches, prolog-prompt-regexp)
14509 (prolog-debug-on-string, prolog-debug-off-string)
14510 (prolog-trace-on-string, prolog-trace-off-string)
14511 (prolog-zip-on-string, prolog-zip-off-string)
14512 (prolog-use-standard-consult-compile-method-flag)
14513 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14514 (prolog-imenu-max-lines, prolog-info-predicate-index)
14515 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14516 (prolog-char-quote-workaround):
14517 * progmodes/cc-vars.el (c-defun-tactic):
14518 * net/tramp.el (tramp-encoding-command-interactive)
14519 (tramp-local-end-of-line):
14520 * net/soap-client.el (soap-client):
14521 * net/netrc.el (netrc-file):
14522 * net/gnutls.el (gnutls):
14523 * minibuffer.el (completion-category-overrides)
14524 (completion-cycle-threshold)
14525 (completion-pcm-complete-word-inserts-delimiters):
14526 * man.el (Man-name-local-regexp):
14527 * mail/feedmail.el (feedmail-display-full-frame):
14528 * international/characters.el (glyphless-char-display-control):
14529 * eshell/em-ls.el (eshell-ls-date-format):
14530 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14531 (lisp-lambda-list-keyword-parameter-indentation)
14532 (lisp-lambda-list-keyword-parameter-alignment):
14533 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14534 * dired-x.el (dired-omit-verbose):
14535 * cus-theme.el (custom-theme-allow-multiple-selections):
14536 * calc/calc.el (calc-highlight-selections-with-faces)
14537 (calc-lu-field-reference, calc-lu-power-reference)
14538 (calc-note-threshold):
14539 * battery.el (battery-mode-line-limit):
14540 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14541 (archive-7z-update):
14542 * allout.el (allout-prefixed-keybindings)
14543 (allout-unprefixed-keybindings)
14544 (allout-inhibit-auto-fill-on-headline)
14545 (allout-flattened-numbering-abbreviation):
14546 * allout-widgets.el (allout-widgets-auto-activation)
14547 (allout-widgets-icons-dark-subdir)
14548 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14549 (allout-widgets-theme-dark-background)
14550 (allout-widgets-theme-light-background)
14551 (allout-widgets-item-image-properties-emacs)
14552 (allout-widgets-item-image-properties-xemacs)
14553 (allout-widgets-run-unit-tests-on-load)
14554 (allout-widgets-time-decoration-activity)
14555 (allout-widgets-hook-error-post-time)
14556 (allout-widgets-track-decoration):
14557 Add missing :version tags to new defcustoms and defgroups.
14558
5fec1b8e
GM
14559 * progmodes/sql.el (sql-ansi-statement-starters)
14560 (sql-oracle-statement-starters): Add custom type.
14561
3e0d2fa7
GM
14562 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14563 (prolog-system-version): Give it a type.
14564
90b671e2
EZ
145652012-02-11 Eli Zaretskii <eliz@gnu.org>
14566
14567 * term/pc-win.el (x-select-text, x-selection-owner-p)
14568 (x-own-selection-internal, x-disown-selection-internal)
14569 (x-get-selection-internal): Sync doc strings and argument lists
14570 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14571
5eac0c02
LL
145722012-02-11 Leo Liu <sdl.web@gmail.com>
14573
14574 * progmodes/python.el (python-end-of-statement): Fix infinite
14575 loop. (Bug#10788)
14576
f82cb659
GM
145772012-02-10 Glenn Morris <rgm@gnu.org>
14578
14579 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14580 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14581
cc26d239
LI
145822012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14583
14584 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14585 about SMTP before checking the From header.
14586
91027d08 14587 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
14588 into own function for reuse by emacsbug.el.
14589
1be3ca5a
LL
145902012-02-10 Leo Liu <sdl.web@gmail.com>
14591
14592 * subr.el (condition-case-unless-debug): Rename from
14593 condition-case-no-debug. All callers changed.
14594 (with-demoted-errors): Fix caller.
14595
14596 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14597 * nxml/rng-valid.el (rng-do-some-validation):
14598 * emacs-lisp/package.el (package-refresh-contents)
14599 (package-menu-execute):
14600 * desktop.el (desktop-create-buffer):
91027d08 14601 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 14602
b011fbfe
GM
146032012-02-10 Glenn Morris <rgm@gnu.org>
14604
b2096d72
GM
14605 * textmodes/bibtex.el:
14606 Add missing :version tags for new/changed defcustoms.
14607
b011fbfe
GM
14608 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14609
4c7e65bf
LI
146102012-02-09 Lars Ingebrigtsen <larsi@rusty>
14611
14612 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14613 (smtpmail-via-smtp): Use it, or fall back on the From address.
14614 (smtpmail-send-it): Ditto.
14615
f3934f6f
SM
146162012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14617
14618 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14619 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14620 (byte-compile-tmp-var): New const.
14621 (byte-compile-defvar): Use it to minimize .elc size.
14622 Just use `defvar' rather than simulate it (bug#10761).
14623
a075a2c5
GM
146242012-02-09 Glenn Morris <rgm@gnu.org>
14625
cf3aa21b
GM
14626 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14627
354998cd
GM
14628 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14629 Add :version tags.
14630
dc9924b8
SM
14631 * progmodes/compile.el (compilation-error-screen-columns)
14632 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 14633
dab3703d
GM
14634 * vc/log-view.el (log-view-toggle-entry-display):
14635 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14636
3f88cd72
GM
14637 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14638 (report-emacs-bug-can-use-xdg-email):
14639 (report-emacs-bug-insert-to-mailer): Doc fixes.
14640 (report-emacs-bug): Message fix.
14641
d95b247d
GM
14642 * net/browse-url.el (browse-url-can-use-xdg-open)
14643 (browse-url-xdg-open): Doc fixes.
14644
a075a2c5
GM
14645 * electric.el (electric-indent-mode, electric-pair-mode)
14646 (electric-layout-rules, electric-layout-mode): Doc fixes.
14647 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14648
ffb6157e
MR
146492012-02-08 Martin Rudalics <rudalics@gmx.at>
14650
14651 * server.el (server-unselect-display): Don't inadvertently kill
14652 the current buffer. (Bug#10729)
14653
e1ac4066
GM
146542012-02-08 Glenn Morris <rgm@gnu.org>
14655
34e8a2da
GM
14656 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14657 (sql-list-table): Doc fixes.
14658
b4ac6e8c
GM
14659 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14660 Comment out (does nothing).
14661
e1ac4066
GM
14662 * completion.el (dynamic-completion-mode):
14663 * dirtrack.el (dirtrack-debug-mode):
14664 * electric.el (electric-layout-mode):
14665 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14666 * face-remap.el (text-scale-mode, buffer-face-mode):
14667 * iimage.el (iimage-mode):
14668 * image-mode.el (image-transform-mode):
14669 * minibuffer.el (completion-in-region-mode):
14670 * scroll-lock.el (scroll-lock-mode):
14671 * simple.el (next-error-follow-minor-mode):
14672 * tar-mode.el (tar-subfile-mode):
14673 * tooltip.el (tooltip-mode):
14674 * vcursor.el (vcursor-use-vcursor-map):
14675 * wid-browse.el (widget-minor-mode):
14676 * emulation/tpu-edt.el (tpu-edt-mode):
14677 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14678 * international/iso-ascii.el (iso-ascii-mode):
14679 * language/thai-util.el (thai-word-mode):
14680 * mail/supercite.el (sc-minor-mode):
14681 * net/goto-addr.el (goto-address-mode):
14682 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14683 * progmodes/cwarn.el (cwarn-mode):
14684 * progmodes/flymake.el (flymake-mode):
14685 * progmodes/glasses.el (glasses-mode):
14686 * progmodes/hideshow.el (hs-minor-mode):
14687 * progmodes/pascal.el (pascal-outline-mode):
14688 * textmodes/enriched.el (enriched-mode):
14689 * vc/smerge-mode.el (smerge-mode):
14690 Doc fixes (minor mode argument).
14691
5e0d957f
EZ
146922012-02-07 Eli Zaretskii <eliz@gnu.org>
14693
14694 * ls-lisp.el (ls-lisp-sanitize): New function.
14695 (ls-lisp-insert-directory): Use it to fix or remove any elements
14696 in file-alist with missing attributes. (Bug#4673)
14697
98d7371e
AM
146982012-02-07 Alan Mackenzie <acm@muc.de>
14699
14700 Fix spurious recognition of c-in-knr-argdecl.
14701
14702 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14703 putative K&R region.
14704
667ced3a
AM
147052012-02-07 Alan Mackenzie <acm@muc.de>
14706
eb864a71
LM
14707 * progmodes/cc-engine.el (c-forward-objc-directive):
14708 Prevent looping in "#pragma mark @implementation".
667ced3a 14709
5b77774d
MA
147102012-02-07 Michael Albinus <michael.albinus@gmx.de>
14711
14712 * notifications.el (notifications-on-closed-signal): Make `reason'
14713 optional. (Bug#10744)
14714
af008560
GM
147152012-02-07 Glenn Morris <rgm@gnu.org>
14716
60d47423
GM
14717 * emacs-lisp/easy-mmode.el (define-minor-mode):
14718 Doc fixes for the macro and the mode it defines.
14719
dd605cc4
GM
14720 * image.el (imagemagick-types-inhibit): Doc fix.
14721
af008560
GM
14722 * cus-start.el (imagemagick-render-type): Add it.
14723
5cc59a37
LI
147242012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14725
4d6769e1
JB
14726 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14727 Set the default at load time, too, so that `font-lock-fontify-buffer'
14728 can be called without setting up the entire mode first. This fixes
14729 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 14730
9a6dd747
CY
147312012-02-06 Chong Yidong <cyd@gnu.org>
14732
2d16b285
CY
14733 * simple.el (list-processes--refresh): Delete exited processes
14734 (Bug#8094).
14735
171e9b6e
CY
14736 * comint.el (comint-next-prompt): next-single-char-property-change
14737 and prev-single-char-property-change never return nil (Bug#8657).
14738
9a6dd747
CY
14739 * custom.el (defcustom): Doc fix (Bug#9711).
14740
aa4589a7
CY
147412012-02-05 Chong Yidong <cyd@gnu.org>
14742
5c2a252f
CY
14743 * cus-edit.el (custom-variable-reset-backup): Quote the value
14744 before storing it in the customized-value property (Bug#6712).
4aab9006 14745 (custom-display): Add a customization type tag.
983b9602 14746 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 14747
aa4589a7
CY
14748 * wid-edit.el (widget-field-value-get): New optional arg to
14749 suppress trailing whitespace truncation.
14750 (character): Use it (Bug#2689).
14751
1ff980ae
AS
147522012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14753
14754 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14755 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14756
03988c98
CY
147572012-02-05 Chong Yidong <cyd@gnu.org>
14758
eeb6cc88
CY
14759 * cus-edit.el (custom-variable-value-create): For mismatched
14760 types, show the current value (Bug#7600).
14761
03988c98
CY
14762 * custom.el (defcustom): Doc fix.
14763
f8cdeef0
GM
147642012-02-05 Glenn Morris <rgm@gnu.org>
14765
14766 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14767
0696d255
JB
147682012-02-05 Juanma Barranquero <lekktu@gmail.com>
14769
14770 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14771 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14772 (pp-last-sexp): Use `looking-at-p'.
14773
34c99998
GM
147742012-02-04 Glenn Morris <rgm@gnu.org>
14775
8f05da42
GM
14776 * files.el (revert-buffer):
14777 Doc fix (mention revert-buffer-in-progress-p).
14778
f160676e
GM
14779 * emacs-lisp/ert-x.el (ert-simulate-command):
14780 Check deferred-action-list (which is obsolete) is bound.
14781
c7291ad9
GM
14782 * subr.el (with-wrapper-hook): Doc fixes.
14783
34c99998
GM
14784 * simple.el (filter-buffer-substring-functions)
14785 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14786
6283a7d3
LL
147872012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14788
14789 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14790 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14791
e96e3013
LL
147922012-02-04 Leo Liu <sdl.web@gmail.com>
14793
14794 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14795
8ded50f2
GM
147962012-02-04 Glenn Morris <rgm@gnu.org>
14797
82ff1d13
GM
14798 * image.el (image-extension-data): Add obsolete alias.
14799
987a0a16
GM
14800 * isearch.el (isearch-update): Doc fix.
14801
ea32ef46
GM
14802 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14803
8ded50f2
GM
14804 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14805
eea14f31
GM
148062012-02-03 Glenn Morris <rgm@gnu.org>
14807
14808 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14809 (image-animate-timeout): Doc fix.
14810
14811 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14812
12f381b7
GM
148132012-02-02 Glenn Morris <rgm@gnu.org>
14814
953cebf5
GM
14815 * server.el (server-auth-dir): Doc fix.
14816 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14817
12f381b7
GM
14818 * subr.el (run-mode-hooks): Doc fix.
14819
953a8c3b
JL
148202012-02-02 Juri Linkov <juri@jurta.org>
14821
14822 * image-mode.el (image-toggle-display-image): Remove tautological
14823 `major-mode' from the `derived-mode-p' test.
14824
c5d3843c
KH
148252012-02-02 Kenichi Handa <handa@m17n.org>
14826
9f6e692e 14827 * composite.el (compose-region): Cancel previous change.
c5d3843c 14828
159462d4 148292012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
14830
14831 * composite.el (compose-region, compose-string): Signal error for
14832 a null string component (Bug#6988).
14833
9f562668
CY
148342012-02-01 Chong Yidong <cyd@gnu.org>
14835
e2cef717
CY
14836 * view.el (view-buffer-other-window, view-buffer-other-frame):
14837 Handle special modes like view-buffer (Bug#10650).
14838 (view-buffer): Simplify.
14839
9f562668
CY
14840 * frame.el (set-frame-font): Tweak meaning of third argument.
14841
9f6e692e
JB
14842 * dynamic-setting.el (font-setting-change-default-font):
14843 Use set-frame-font (Bug#9982).
9f562668 14844
781acb9f
GM
148452012-02-01 Glenn Morris <rgm@gnu.org>
14846
6035be52
GM
14847 * progmodes/compile.el (compilation-internal-error-properties):
14848 Respect compilation-first-column in the "*compilation*" buffer.
14849
781acb9f
GM
14850 * emacs-lisp/easy-mmode.el (define-minor-mode):
14851 Relax :variable's test for a named function.
14852
abbceb00
AM
148532012-01-31 Alan Mackenzie <acm@muc.de>
14854
14855 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14856 off by one error.
14857
fce3fdeb
CY
148582012-01-31 Chong Yidong <cyd@gnu.org>
14859
14860 * frame.el (set-frame-font): New arg ALL-FRAMES.
14861
14862 * menu-bar.el (menu-set-font): Use set-frame-font.
14863
14864 * faces.el (face-spec-reset-face): Don't apply unspecified
14865 attribute values to the default face.
14866
47893581
JB
148672012-01-31 Juanma Barranquero <lekktu@gmail.com>
14868
14869 * progmodes/cwarn.el (cwarn): Remove dead link.
14870 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14871 Remove * from defcustom docstrings.
14872 (turn-on-cwarn-mode): Make obsolete.
14873 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14874 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14875
e58e988a
GM
148762012-01-31 Glenn Morris <rgm@gnu.org>
14877
60dc2671 14878 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 14879 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 14880 Allow named functions to be used as the cdr of :variable.
e58e988a 14881
7a3f511d
GM
148822012-01-30 Glenn Morris <rgm@gnu.org>
14883
14884 * emacs-lisp/authors.el (authors-fixed-entries):
14885 Remove reference to deleted file rnewspost.el.
14886
cb882333
JB
148872012-01-29 Juanma Barranquero <lekktu@gmail.com>
14888
14889 * window.el (window-with-parameter): Remove unused variable `windows'.
14890 (window--side-check): Remove unused variable `code'.
14891 (window--resize-siblings): Remove unused variable `first'.
14892 (adjust-window-trailing-edge): Remove unused variable `failed'.
14893 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14894 Use `let', not `let*'.
14895 (balance-windows-2): Remove unused variable `found'.
14896 (window--state-put-2): Remove unused variable `splits'.
14897 (window-state-put): Remove unused variable `selected'.
14898 (same-window-p): Use `string-match-p'.
14899 (display-buffer-assq-regexp): Remove unused variable `value'.
14900 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14901 Mark argument ALIST as ignored.
14902 (pop-to-buffer): Remove unused variable `old-window'.
14903
907201af
EZ
149042012-01-29 Eli Zaretskii <eliz@gnu.org>
14905
14906 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14907 and .lzma compressed files.
14908
ea162670
CY
149092012-01-29 Chong Yidong <cyd@gnu.org>
14910
5b95ee8a
CY
14911 * frame.el (window-system-default-frame-alist): Doc fix.
14912
ea162670
CY
14913 * dynamic-setting.el (font-setting-change-default-font): Don't
14914 change the default face if SET-FONT argument is non-nil (Bug#9982).
14915
6fccd6e8 149162012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
14917
14918 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14919
0f29fa41 149202012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
14921
14922 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14923 breakpoints in files outside current directory (Bug#6098).
14924
db174434
CY
149252012-01-29 Chong Yidong <cyd@gnu.org>
14926
6b25e4e2
SE
14927 * progmodes/python.el: Require ansi-color at top-level.
14928
6df6ae42
JB
14929 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14930 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
14931 (lisp-mode-abbrev-table): Add doc.
14932 (lisp-mode-variables): Don't set local-abbrev-table.
14933 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14934
e70ee681
RW
149352012-01-28 Roland Winkler <winkler@gnu.org>
14936
14937 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14938
ace88aa2
RW
149392012-01-28 Roland Winkler <winkler@gnu.org>
14940
14941 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14942 (bibtex-set-dialect): Use it. Either set global values of
14943 dialect-dependent variables or bind these variables buffer-locally
14944 (Bug#10254).
14945 (bibtex-mode): Call bibtex-set-dialect via
14946 hack-local-variables-hook.
eb864a71
LM
14947 (bibtex-dialect): Update docstring.
14948 Add safe-local-variable predicate.
ace88aa2
RW
14949 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14950 bibtex-set-dialect.
14951 (bibtex-mode-map): Define menu for each dialect.
14952 (bibtex-entry): Fix docstring.
14953
93376c5b
CY
149542012-01-28 Chong Yidong <cyd@gnu.org>
14955
14956 * eshell/esh-arg.el (eshell-quote-argument): New function.
14957
14958 * eshell/esh-ext.el (eshell-invoke-batch-file):
14959 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14960 first arg to eshell-parse-command (Bug#10523).
14961
4372494f
DA
149622012-01-28 Drew Adams <drew.adams@oracle.com>
14963
14964 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14965 `default-directory' is non-nil.
14966
4d4ec1f8
EZ
149672012-01-28 Eli Zaretskii <eliz@gnu.org>
14968
14969 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14970 line that displays system-configuration-options. (Bug#9924)
14971
7c188927
DA
149722012-01-28 Drew Adams <drew.adams@oracle.com>
14973
14974 * descr-text.el (describe-char): Show information about POS, in
14975 addition to information about the character at POS. Improve and
14976 update the doc string. Change "code point" to "code point in
14977 charset", to avoid confusion with the character's Unicode code
14978 point shown above that. (Bug#10129)
14979
e0da685a
EZ
149802012-01-28 Eli Zaretskii <eliz@gnu.org>
14981
14982 * descr-text.el (describe-char): Show the raw character, not only
14983 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14984 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14985 for the reasons.
14986
70550acf
PH
149872012-01-28 Phil Hagelberg <phil@hagelb.org>
14988
eb864a71
LM
14989 * emacs-lisp/package.el (package-install):
14990 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 14991
0ce8e868
CY
149922012-01-28 Chong Yidong <cyd@gnu.org>
14993
cb882333
JB
14994 * emacs-lisp/package.el (package-maybe-load-descriptor):
14995 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
14996 (package-maybe-load-descriptor): Use it.
14997 (package-download-transaction): Fully load required packages
14998 inside the loop, so that `require' calls work (Bug#10593).
14999 (package-install): No need to call package-initialize now.
15000
2e7f3bea
CY
150012012-01-28 Chong Yidong <cyd@gnu.org>
15002
6e9bad14
CY
15003 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15004
f823b8ca
CY
15005 * tooltip.el (tooltip-mode): Doc fix.
15006 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15007
2680c309
CY
15008 * frame.el (set-cursor-color): Doc fix (Bug#352).
15009
d7a9e63b
CY
15010 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15011 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15012
2e7f3bea
CY
15013 * cus-edit.el (custom-buffer-create-internal): Fix search button
15014 action (Bug#10542).
2ae01800 15015 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 15016
fc4f7a23
EW
150172012-01-27 Eduard Wiebe <usenet@pusto.de>
15018
15019 * dired.el (dired-mark-files-regexp):
15020 Include any subdirectory components. (Bug#10445)
15021
7dd37071
ML
150222012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15023
15024 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15025 Handle [host]:port syntax. (Bug#10533)
15026
a268160b
AH
150272012-01-27 Alex Harsanyi <harsanyi@mac.com>
15028
15029 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15030
e43273ef
GM
150312012-01-26 Glenn Morris <rgm@gnu.org>
15032
15033 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15034 * term.el (term-raw-escape-map): Use Control-X-prefix.
15035 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15036
1edf595d
MR
150372012-01-25 Martin Rudalics <rudalics@gmx.at>
15038
15039 * window.el (window-state-get, window--state-get-1): Don't deal
15040 with fixed-sizeness of windows. Simplify code.
15041
fa8eafef
JC
150422012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15043
6df6ae42
JB
15044 * window.el (window--state-get-1, window--state-put-2):
15045 Don't save and restore the mark.
fa8eafef 15046
0b21c100
CY
150472012-01-25 Chong Yidong <cyd@gnu.org>
15048
15049 * custom.el (custom-variable-p): Doc fix.
15050
5ae1a6c8
GM
150512012-01-25 Glenn Morris <rgm@gnu.org>
15052
40047858
GM
15053 * dired.el (dired-goto-file): Handle some of the more common
15054 characters that `ls -b' escapes. (Bug#10596)
15055
5ddce96c
GM
15056 * progmodes/compile.el (compilation-next-error-function):
15057 Respect compilation-first-column in the "*compilation*" buffer.
15058 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15059
5ae1a6c8
GM
15060 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15061
b559f1a9
GM
150622012-01-24 Glenn Morris <rgm@gnu.org>
15063
15064 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15065
6725d21a
JD
150662012-01-24 Julien Danjou <julien@danjou.info>
15067
15068 * color.el (color-rgb-to-hsl): Fix value computing.
15069 (color-hue-to-rgb): New function.
15070 (color-hsl-to-rgb): New function.
15071 (color-clamp, color-saturate-hsl, color-saturate-name)
15072 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15073 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15074
70df4bbe
GM
150752012-01-24 Glenn Morris <rgm@gnu.org>
15076
15077 * vc/vc-rcs.el (vc-rcs-create-tag):
15078 * vc/vc-sccs.el (vc-sccs-create-tag):
15079 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15080
802a2ae2
ML
150812012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15082
15083 * eshell/esh-util.el (eshell-read-hosts-file):
15084 Skip comment lines. (Bug#10549)
15085
d7128bb1
ML
15086 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15087
d1a5c3b4
JB
150882012-01-23 Juanma Barranquero <lekktu@gmail.com>
15089
2724d9c7
JB
15090 * subr.el (display-delayed-warnings): Doc fix.
15091 (collapse-delayed-warnings): New function to collapse identical
15092 adjacent warnings.
15093 (delayed-warnings-hook): Add it.
d1a5c3b4 15094
a5509865
MA
150952012-01-22 Michael Albinus <michael.albinus@gmx.de>
15096
15097 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15098
a5509865
MA
15099 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15100 (tramp-default-user-alist): Don't add "pscp".
15101 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15102 property "login-as", if set. (Bug#10530)
15103
cc6d5805
MA
151042012-01-21 Michael Albinus <michael.albinus@gmx.de>
15105
15106 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15107 "plink1" and "psftp". (Bug#10530)
15108
151092012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
15110
15111 * international/mule-cmds.el (prefer-coding-system): Show a
15112 warning message if the default value of file-name-coding-system
15113 was not changed.
15114
f0960428
JC
151152012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15116
cb882333
JB
15117 * windmove.el (windmove-reference-loc):
15118 Fix windmove-reference-loc miscalculation.
f0960428 15119
dd6f2a63
JB
151202012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15121
15122 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15123 default unit.
15124
7b447e9b
GM
151252012-01-21 Glenn Morris <rgm@gnu.org>
15126
117a9ea1
GM
15127 * international/mule.el (auto-coding-alist): Add .tbz.
15128
7b447e9b
GM
15129 * files.el (local-enable-local-variables): Doc fix.
15130 (inhibit-local-variables-regexps): Rename from
15131 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15132 Doc fix. Add some extensions from auto-coding-alist.
15133 (inhibit-local-variables-suffixes):
15134 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15135 (inhibit-local-variables-p):
15136 New function, extracted from set-auto-mode-1.
15137 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15138 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15139 (hack-local-variables): Doc fix. Make the mode-only case
15140 respect enable-local-variables and friends.
15141 Respect inhibit-local-variables-regexps for file-locals, but
15142 not for directory-locals.
15143 (set-visited-file-name):
15144 Take account of inhibit-local-variables-regexps.
15145 Whether it applies may change as the file name is changed.
15146 * jka-cmpr-hook.el (jka-compr-install):
15147 * jka-compr.el (jka-compr-uninstall):
15148 Update for inhibit-first-line-modes-suffixes name change.
15149
dd6e3cdd
MR
151502012-01-20 Martin Rudalics <rudalics@gmx.at>
15151
15152 * help-macro.el (make-help-screen): Temporarily restore original
15153 binding for minor-mode-map-alist (Bug#10454).
15154
0d0deb38
JD
151552012-01-19 Julien Danjou <julien@danjou.info>
15156
15157 * color.el (color-name-to-rgb): Use the white color to find the max
15158 color component value and return correctly computed values.
15159 (color-name-to-rgb): Add missing float conversion for max value.
15160
34a02f46
MR
151612012-01-19 Martin Rudalics <rudalics@gmx.at>
15162
15163 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
15164 special state value for window-persistent-parameters.
15165 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
15166 (window--state-put-2): Reset all window parameters to nil before
15167 assigning values of persistent parameters.
15168
606c44c4
AM
151692012-01-18 Alan Mackenzie <acm@muc.de>
15170
15171 Eliminate sluggishness and hangs in fontification of "semicolon
15172 deserts".
15173
cb882333
JB
15174 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15175 Change value 10000 -> 3000.
606c44c4
AM
15176 (c-state-safe-place): Reformulate so it doesn't stack up an
15177 infinite number of wrong entries in c-state-nonlit-pos-cache.
15178 (c-determine-limit-get-base, c-determine-limit): New functions to
15179 determine backward search limits disregarding literals.
15180 (c-find-decl-spots): Amend commenting.
15181 (c-cheap-inside-bracelist-p): New function which detects "={".
15182
15183 * progmodes/cc-fonts.el
15184 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15185 backward search.
15186 (c-font-lock-declarations): Fix an occurrence of point being
15187 undefined. Check additionally for point being in a bracelist or
15188 near a macro invocation without a semicolon so as to avoid a
15189 fruitless time consuming search for a declarator. Give a more
15190 precise search limit for declarators using the new
15191 c-determine-limit.
15192
f3860cea
GM
151932012-01-18 Glenn Morris <rgm@gnu.org>
15194
15195 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15196 (set-auto-mode): Doc fixes.
15197
1db03b16
GM
151982012-01-17 Glenn Morris <rgm@gnu.org>
15199
0e6038be
GM
15200 * isearch.el (search-nonincremental-instead): Fix doc typo.
15201
1db03b16
GM
15202 * dired.el (dired-insert-directory): Handle newlines in directory name.
15203 (dired-build-subdir-alist): Unescape newlines in directory name.
15204
4cb0aa75
MA
152052012-01-17 Michael Albinus <michael.albinus@gmx.de>
15206
15207 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15208 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15209 (tramp-action-terminal): Use it. (Bug#10530)
15210
1d00653d
SM
152112012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15212
15213 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15214
6a6ee00d
MR
152152012-01-16 Martin Rudalics <rudalics@gmx.at>
15216
15217 * window.el (window-state-ignored-parameters): Remove variable.
15218 (window--state-get-1): Rename argument MARKERS to IGNORE.
15219 Handle persistent window parameters. Make copy of clone-of
15220 parameter only if requested. (Bug#10348)
15221 (window--state-put-2): Install a window parameter only if it has
15222 a non-nil value or an existing parameter shall be overwritten.
15223
97912def
MA
152242012-01-15 Michael Albinus <michael.albinus@gmx.de>
15225
15226 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15227
688070a5
EZ
152282012-01-14 Eli Zaretskii <eliz@gnu.org>
15229
15230 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15231 don't pass the (nil) value of `upnode' to string-match.
15232
301afadc
CY
152332012-01-14 Chong Yidong <cyd@gnu.org>
15234
15235 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 15236 Fix values recognized by the cursorBlink resource.
301afadc 15237
9e5788aa
PE
152382012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15239
15240 * epg.el (epg--make-temp-file): Avoid permission race condition
15241 when running on old Emacs versions (bug#10403).
15242
3cdb7f5a
GM
152432012-01-14 Glenn Morris <rgm@gnu.org>
15244
15245 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15246
8c82b1b4
AM
152472012-01-13 Alan Mackenzie <acm@muc.de>
15248
15249 Fix filling for when filladapt mode is enabled.
15250
15251 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15252 c-mask-paragraph, pass in `fill-paragraph' rather than
15253 `fill-region-as-paragraph'. (This is a reversion of a previous
15254 change.)
eb864a71
LM
15255 * progmodes/cc-mode.el (c-basic-common-init):
15256 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 15257
e517eda4
GM
152582012-01-13 Glenn Morris <rgm@gnu.org>
15259
1498536e
GM
15260 * dired.el (dired-switches-escape-p): New function.
15261 (dired-insert-directory): Use dired-switches-escape-p.
15262 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15263
e517eda4
GM
15264 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15265
328f984d
GM
152662012-01-12 Glenn Morris <rgm@gnu.org>
15267
15268 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15269 changes in adaptive-fill-regexp. (Bug#10276)
15270
2cc769a8
AM
152712012-01-11 Alan Mackenzie <acm@muc.de>
15272
15273 Fix Emacs bug #10463 - put `widen's around the critical spots.
15274
1d00653d 15275 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
15276 widen around each invocation of c-state-pp-to-literal. Remove an
15277 unused let variable.
15278
e52c37fa
GM
152792012-01-11 Glenn Morris <rgm@gnu.org>
15280
15281 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 15282 Doc fix.
e52c37fa 15283
96f8741e
CY
152842012-01-10 Chong Yidong <cyd@gnu.org>
15285
1d00653d
SM
15286 * net/network-stream.el (network-stream-open-starttls):
15287 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
15288 response to the capability command.
15289
b09a806e
GM
152902012-01-10 Glenn Morris <rgm@gnu.org>
15291
15292 * mail/unrmail.el (unrmail): Tweak previous change.
15293
7655cb66
CY
152942012-01-09 Chong Yidong <cyd@gnu.org>
15295
15296 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15297
9d5a8f0b
AM
152982012-01-08 Alan Mackenzie <acm@muc.de>
15299
677d5c92 15300 Optimize font locking in long enum definitions.
9d5a8f0b
AM
15301
15302 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15303 arm to a cond form to handle enums.
15304 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15305 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15306
9a0115ab 153072012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
15308
15309 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 15310 (Bug#10401)
6bb72cbd 15311
f186bb95
LMI
153122012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15313
29232a68
LMI
15314 * faces.el (set-face-attribute): Clarify the meaning of the nil
15315 frame (bug#10294).
15316
4e5d086d
LMI
15317 * subr.el (with-selected-frame): Mention that the selected frame
15318 is restored (bug#9980).
15319
8e66aebe
LMI
15320 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15321 (bug#9759).
15322
cd394be1 15323 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
15324 (password-read): Don't autoload unused function.
15325
adf4e762
JB
153262012-01-07 Juanma Barranquero <lekktu@gmail.com>
15327
15328 * progmodes/which-func.el (which-func-mode): Turn into a
15329 non-interactive function and mark as obsolete (bug#10428).
15330
89bd9ccd
CY
153312012-01-06 Chong Yidong <cyd@gnu.org>
15332
15333 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15334 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15335 functions, along with 1 and -1.
15336
4afee9d5
EZ
153372012-01-06 Eli Zaretskii <eliz@gnu.org>
15338
15339 * time.el (display-time-load-average)
15340 (display-time-default-load-average): Doc fixes. See the thread
15341 starting at
15342 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15343 for the details.
15344
536aea70
GM
153452012-01-06 Glenn Morris <rgm@gnu.org>
15346
665ae865
GM
15347 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15348 has no messages. (Bug#10377)
15349
c869783d
GM
15350 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15351 than Info-edit. (Bug#10385)
15352
2bb4227e
GM
15353 * time.el (display-time-load-average, display-time-next-load-average):
15354 Doc fixes.
15355
7d5944b9
GM
15356 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15357 local setting of buffer-read-only to the input buffer. (Bug#10419)
15358
536aea70
GM
15359 * calendar/calendar.el (calendar-mode):
15360 Locally set scroll-margin to 0. (Bug#10379)
15361
7dccca16
UM
153622012-01-06 Ulrich Mueller <ulm@gentoo.org>
15363
15364 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15365
afbb7930
GM
153662012-01-05 Glenn Morris <rgm@gnu.org>
15367
15368 * eshell/em-unix.el (diff-no-select): Autoload it.
15369 (eshell/diff): Use diff-no-select. (Bug#10420)
15370
04482335
CY
153712012-01-05 Chong Yidong <cyd@gnu.org>
15372
7baca3bc
CY
15373 * shell.el (shell-dynamic-complete-functions): Revert last change.
15374 (shell-command-completion-function): New function.
15375 (shell-completion-vars): Use it to implement
15376 shell-completion-execonly (Bug#10417).
15377
04482335
CY
15378 * custom.el (enable-theme): Don't set custom-safe-themes.
15379
1d00653d
SM
15380 * cus-theme.el (custom-theme-merge-theme):
15381 Ignore custom-enabled-themes and custom-safe-themes.
04482335 15382
bb5aa5d6
MM
153832012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15384
15385 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15386 first prompt in `sql-interacive-mode'.
15387 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 15388 keywords.
6df6ae42 15389 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
15390 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15391 context of original buffer. Invoke `sql-login-hook'.
15392
a7183d7c
EZ
153932012-01-04 Eli Zaretskii <eliz@gnu.org>
15394
15395 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15396 letters in cite-prefix.
15397
a1eacd1e
LMI
153982012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15399
15400 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15401
787cdb34
CY
154022012-01-03 Chong Yidong <cyd@gnu.org>
15403
1d00653d
SM
15404 * shell.el (shell-dynamic-complete-functions):
15405 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
15406 comint-filename-completion first (Bug#10417).
15407
30710442
RS
154082012-01-02 Richard Stallman <rms@gnu.org>
15409
15410 * battery.el (battery-status-function):
15411 Detect when to use battery-yeeloong-sysfs.
15412 (battery-echo-area-format): Add string for Yeeloong.
15413 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15414 (battery-yeeloong-sysfs): New function.
15415
f75bfc33
CY
154162012-01-02 Chong Yidong <cyd@gnu.org>
15417
15418 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15419 (dirtrack): Merge code for handling relative filenames in prompt
15420 from shell-dir-cookie-watcher.
15421 (dirtrack-debug-message): New arg to avoid excess format calls.
15422
15423 * shell.el (shell-dir-cookie-re): Variable deleted.
15424 (shell-dir-cookie-watcher): Function deleted.
15425 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15426 with dirtrack-mode.
15427
651e947e
EZ
154282012-01-01 Eli Zaretskii <eliz@gnu.org>
15429
1d00653d
SM
15430 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15431 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
15432 libgnutls-26.dll.
15433
94d4c7dc
AS
154342011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15435
15436 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15437
8d43f3cd
EZ
154382011-12-31 Eli Zaretskii <eliz@gnu.org>
15439
15440 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15441 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15442
98c8795a
MA
154432011-12-29 Michael Albinus <michael.albinus@gmx.de>
15444
15445 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15446 also for alternative shells.
15447 (tramp-open-connection-setup-interactive-shell): Check, whether
15448 the shell is a busybox.
15449 (tramp-send-command): Don't suppress multiple prompts for
15450 busyboxes, it hurts.
15451
51281b32
CY
154522011-12-28 Chong Yidong <cyd@gnu.org>
15453
15454 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15455 (gdb-get-source-file): Move mode line update to
15456 gdb-get-source-file (Bug#10087).
15457
2170cb53
CY
154582011-12-25 Chong Yidong <cyd@gnu.org>
15459
15460 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15461 gud-gdb-marker-filter without taking it as an argument.
15462 (gud-gdb-run-command-fetch-lines): Caller changed.
15463 (gud-gdb-completion-function): New variable.
15464 (gud-gdb-completion-at-point): Use it.
15465 (gud-gdb-completions-1): Split from gud-gdb-completions.
15466
15467 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15468 function as separate arguments.
15469 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15470 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15471 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15472 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15473 (gdb-stopped, def-gdb-auto-update-trigger)
15474 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
15475 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15476 Callers changed.
2170cb53
CY
15477 (gud-gdbmi-completions): New function.
15478 (gdb): Use it for generating the completion table.
15479
be8b11bb
AM
154802011-12-24 Alan Mackenzie <acm@muc.de>
15481
15482 Introduce a mechanism to widen the region used in context font
1d00653d 15483 locking. Use this to protect declarations from losing their contexts.
be8b11bb 15484
1d00653d
SM
15485 * progmodes/cc-langs.el (c-before-font-lock-functions):
15486 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 15487 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
15488 functions to be run just before context (etc.) font locking.
15489
15490 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 15491 New, functionality extracted from
be8b11bb 15492 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 15493 (c-in-after-change-fontification): New variable.
be8b11bb
AM
15494 (c-after-change): Set c-in-after-change-fontification.
15495 (c-set-fl-decl-start): Rejig its interface, so it can be called
15496 from both after-change and context fontifying.
b81d40f0
JB
15497 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15498 New functions.
15499 (c-standard-font-lock-fontify-region-function): New variable.
15500 (c-font-lock-fontify-region): New function.
be8b11bb 15501
341cf6ac
JL
155022011-12-24 Juri Linkov <juri@jurta.org>
15503
15504 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15505 (Bug#10348)
15506
bffcee0a
MA
155072011-12-23 Michael Albinus <michael.albinus@gmx.de>
15508
15509 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15510 existence of source file. (Bug#10325)
15511
cb5e207c
AM
155122011-12-23 Alan Mackenzie <acm@muc.de>
15513
15514 Fix unstable fontification inside templates.
15515
b81d40f0
JB
15516 * progmodes/cc-langs.el (c-before-font-lock-functions):
15517 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
15518 additionally has c-set-fl-decl-start. The other languages (apart
15519 from AWK) have that as a single entry.
15520
b81d40f0
JB
15521 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15522 The functionality for "local" declarations has been extracted to
cb5e207c
AM
15523 c-set-fl-decl-start.
15524
b81d40f0
JB
15525 * progmodes/cc-mode.el (c-common-init, c-after-change):
15526 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
15527 (c-set-fl-decl-start): New function, extracted from
15528 c-font-lock-enclosing-decls and enhanced.
15529
60ff536c
JB
155302011-12-23 Juanma Barranquero <lekktu@gmail.com>
15531
15532 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15533
1c4757d6
JL
155342011-12-22 Juri Linkov <juri@jurta.org>
15535
15536 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15537
d031f2c7
CY
155382011-12-22 Chong Yidong <cyd@gnu.org>
15539
15540 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15541
bace743a
DA
155422011-12-21 Drew Adams <drew.adams@oracle.com>
15543
15544 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15545
728a1f2b
JC
155462011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15547
15548 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15549
0d373f73
TZ
155502011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15551
fec0aaa4
TZ
15552 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15553 highlighting and support. Fix up comments for capitalization.
15554 (cfengine-mode-debug): New var.
15555 (cfengine3-mode): Change the modeline indicator to "CFE3".
15556 (cfengine3-font-lock-keywords): Improve defun highlighting.
15557 (cfengine2-actions): Rename from `cfengine-actions'.
15558 (cfengine2-font-lock-keywords): Rename from
15559 `cfengine-font-lock-keywords'.
15560 (cfengine2-imenu-expression): Rename from
15561 `cfengine-imenu-expression'.
15562 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15563 (cfengine2-beginning-of-defun): Rename from
15564 `cfengine-beginning-of-defun'.
15565 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15566 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15567 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15568 modeline indicator to "CFE2".
15569 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15570 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 15571
bc86f573
CY
155722011-12-21 Chong Yidong <cyd@gnu.org>
15573
15574 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15575 filename argument.
15576
d45ba96b
MR
155772011-12-20 Martin Rudalics <rudalics@gmx.at>
15578
15579 * window.el (window-normalize-buffer-to-display): Remove.
15580 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15581
a6198c90
CY
155822011-12-19 Chong Yidong <cyd@gnu.org>
15583
15584 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15585 Don't signal an error in a predicate function; return non-nil.
15586 (vc-dir-mark-file): Move the error here.
15587 (vc-dir-mark-unmark): If acting on the region, keep going if one
15588 of the entries cannot be marked/unmarked.
15589 (vc-dir-mark-all-files): If current entry is a directory, mark
15590 only child files, as documented.
15591
34c5fb55
VB
155922011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15593
15594 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15595 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15596 addition.
15597
c803b2b7
JD
155982011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15599
15600 * term/ns-win.el (ns-get-selection-internal)
15601 (ns-store-selection-internal): Declare.
1154d12e
JB
15602 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15603 Declare as obsolete.
15604 (ns-get-pasteboard, ns-paste-secondary):
15605 Use ns-get-selection-internal.
41e9b956 15606 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 15607 Use ns-store-selection-internal.
c803b2b7 15608
9cff91f8 156092011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
15610
15611 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 15612 (vc-deduce-fileset): Doc fix.
99a289d9 15613
f16c898a
AS
156142011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15615
15616 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15617
763237c4
SS
156182011-12-13 Sam Steingold <sds@gnu.org>
15619
15620 * man.el (Man-getpage-in-background): When running under a
15621 window-system, ignore $MANWIDTH and $COLUMNS.
15622
5fc1c122
KH
156232011-12-15 Kenichi Handa <handa@m17n.org>
15624
15625 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15626 (setup-ethiopic-environment-internal): Comment out key-binding for
15627 ethio-toggle-punctuation.
15628
13d49cbb
AM
156292011-12-13 Alan Mackenzie <acm@muc.de>
15630
898169a2
AM
15631 Add the switch statement to AWK Mode.
15632
7a71b18d 15633 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
15634 "default" to the keywords regexp.
15635
7a71b18d 15636 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 15637 expression as the rest.
1d00653d
SM
15638 (c-nonlabel-token-key): Allow string literals for AWK.
15639 Refactor for the other modes.
898169a2 15640
13d49cbb 15641 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 15642 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
15643 routines. Limit backward searching in c-font-lock-enclosing.decl.
15644
15645 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15646 pp-state and literal type in addition to the limits.
1d00653d 15647 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 15648 (c-state-literal-at): Use the above new defun.
1d00653d
SM
15649 (c-slow-in-literal, c-fast-in-literal): Remove.
15650 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
15651
15652 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15653 being in a literal. Add a limit for backward searching.
15654
15655 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15656 c-slow-in-literal.
15657
15e0efc7
SM
156582011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15659
15660 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15661
454592a6
MR
156622011-12-13 Martin Rudalics <rudalics@gmx.at>
15663
15664 * window.el (delete-other-windows): Use correct frame in call to
15665 window-with-parameter.
15666
87393f26
DP
156672011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15668
15669 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15670 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15671 (makefile-gmake-statements, makefile-makepp-statements):
15672 Use it and add new makepp keywords.
15673 (makefile-makepp-font-lock-keywords): Add new patterns.
15674 (makefile-match-function-end): Match new [...] and [[...]].
15675
11636b22
JB
156762011-12-11 Juanma Barranquero <lekktu@gmail.com>
15677
15678 * ses.el (ses-call-printer-return, ses-cell-property-get)
15679 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15680 (ses-create-cell-variable, ses-reset-header-string)
15681 (ses-cell-set-formula, ses-repair-cell-reference-all)
15682 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15683 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15684 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15685 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15686 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15687 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15688 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15689 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15690 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15691 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15692 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15693 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15694
cf018193
VB
156952011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15696
15697 * ses.el: The overall change is to add cell renaming, that is
15698 setting fancy names for cell symbols other than name matching
15699 "\\`[A-Z]+[0-9]+\\'" regexp .
15700 (ses-create-cell-variable): New defun.
15701 (ses-relocate-formula): Relocate formulas only for cells the
15702 symbols of which are not renamed, i.e. symbols whose names do not
15703 match regexp "\\`[A-Z]+[0-9]+\\'".
15704 (ses-relocate-all): Relocate values only for cells the symbols of
15705 which are not renamed.
15706 (ses-load): Create cells variables as the (ses-cell ...) are read,
15707 in order to check row col consistency with cell symbol name only
15708 for cells that are not renamed.
15709 (ses-replace-name-in-formula): New defun.
15710 (ses-rename-cell): New defun.
15711
ee957461
CY
157122011-12-11 Chong Yidong <cyd@gnu.org>
15713
15714 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15715 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15716
9a9e9ef0
MR
157172011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15718
15719 * window.el (other-window): Fix docstring.
15720
92a8eba5
EZ
157212011-12-10 Eli Zaretskii <eliz@gnu.org>
15722
15723 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
15724 `from' or `to' address before taking its substring.
15725 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
15726 encoded name is chopped in the middle of the encoded string, and
15727 thus displayed encoded.
15728
e152e577
JB
157292011-12-10 Juanma Barranquero <lekktu@gmail.com>
15730
15731 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15732
e5d84bfe
EZ
157332011-12-10 Eli Zaretskii <eliz@gnu.org>
15734
15735 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15736 to use texinfo-update-node and commands that call it if the
15737 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 15738 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
15739 (texinfo-all-menus-update, texinfo-master-menu)
15740 (texinfo-update-node, texinfo-every-node-update)
15741 (texinfo-multiple-files-update): Doc fix. Warn against updating
15742 all the @node lines.
15743 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
15744 argument is numeric. Explain better in the doc string what the
15745 function really does.
15746 (texinfo-insert-master-menu-list): Improve the error message
15747 displayed if there's no menu in the Top node.
15748 (Bug#2975) See also this thread:
e5d84bfe
EZ
15749 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15750
1d84e9bb
MG
157512011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15752
15753 * speedbar.el (speedbar-supported-extension-expressions):
15754 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15755
382c953b
JB
157562011-12-09 Juanma Barranquero <lekktu@gmail.com>
15757
15758 * printing.el (pr-mode-alist):
15759 * simple.el (filter-buffer-substring-functions)
15760 (completion-list-insert-choice-function):
15761 * window.el (window-with-parameter, window-atom-root)
15762 (window-sides-slots, window-size-fixed, window-min-delta)
15763 (window-max-delta, window--resize-mini-window)
15764 (window--resize-child-windows-normal, window-tree)
15765 (delete-other-windows, quit-window, split-window)
15766 (display-buffer-record-window, special-display-buffer-names)
15767 (special-display-regexps, special-display-popup-frame)
15768 (same-window-p, split-window-sensibly)
15769 (display-buffer-overriding-action, display-buffer-alist)
15770 (display-buffer-base-action, display-buffer, switch-to-buffer)
15771 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15772 (fit-window-to-buffer, recenter-positions)
15773 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15774 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15775 and remove unneeded backslashes in docstrings.
15776
39c9faef
SM
157772011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15778
98449af8
SM
15779 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15780
39c9faef
SM
15781 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15782 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15783 end in ".mk".
15784 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15785 when reading the makefile (bug#10116).
15786
86ed9fdc
SM
157872011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15788
15789 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15790 (bug#10116).
15791
5580f89d
GM
157922011-12-06 Glenn Morris <rgm@gnu.org>
15793
15794 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15795
28d3917c
CY
157962011-12-06 Chong Yidong <cyd@gnu.org>
15797
15798 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15799
a98edce9
JB
158002011-12-06 Juanma Barranquero <lekktu@gmail.com>
15801
15802 * textmodes/table.el (table-shorten-cell): Fix typo.
15803
e65adfac
CG
158042011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15805
15806 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15807
71cc0b74
EZ
158082011-12-05 Eli Zaretskii <eliz@gnu.org>
15809
15810 * descr-text.el (describe-char): Fix display of strong
15811 right-to-left characters and directional embeddings and overrides.
15812
15813 * simple.el (what-cursor-position): Fix display of codepoints of
15814 strong right-to-left characters.
15815
315bc30d
CY
158162011-12-05 Chong Yidong <cyd@gnu.org>
15817
15818 * faces.el (read-color): Doc fix.
15819
58a70b94
GM
158202011-12-05 Glenn Morris <rgm@gnu.org>
15821
15822 * align.el (align--set-marker): Add doc-string.
15823 Don't try to move something that is not a marker. (Bug#10216)
15824
5158face
GM
158252011-12-04 Glenn Morris <rgm@gnu.org>
15826
15827 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15828 overly zealous deletion of trailing whitespace.
15829
520fca41
JB
158302011-12-04 Juanma Barranquero <lekktu@gmail.com>
15831
15832 * server.el (server-delete-client): On Windows, do not try to delete
15833 the only terminal.
15834 (server-process-filter): On Windows, treat requests for a tty frame as
15835 if they were for a GUI frame if the running server is in GUI mode.
15836
5e605a2e
GM
158372011-12-03 Glenn Morris <rgm@gnu.org>
15838
15839 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15840
5c3fe83f
SM
158412011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15842
6f5e57e7
SM
15843 * electric.el: Streamline electric-indent's hook.
15844 (electric-indent-chars): Revert to simple list.
15845 (electric-indent-functions): New var.
15846 (electric-indent-post-self-insert-function): Use it.
15847
5c3fe83f
SM
15848 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15849 there's no inferior buffer (bug#10196).
15850 (prolog-consult-compile): Don't use toggle-read-only.
15851
6bdac736
MA
158522011-12-02 Michael Albinus <michael.albinus@gmx.de>
15853
15854 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15855 interrupt. (Bug#10187)
15856
6131ba7f
SM
158572011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15858
99c79fee
SM
15859 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15860 (bug#9160).
15861
6131ba7f
SM
15862 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15863 (bug#10191).
15864
cb0a02ea
JL
158652011-12-02 Juri Linkov <juri@jurta.org>
15866
15867 * info.el (Info-search): Display "end of manual" when Isearch
15868 reaches the end of single-file Info manual. (Bug#9918)
15869
66e0570c
EZ
158702011-12-02 Eli Zaretskii <eliz@gnu.org>
15871
15872 * isearch.el (isearch-message-prefix): Run the input method part
15873 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15874
02b16839
JL
158752011-12-02 Juri Linkov <juri@jurta.org>
15876
15877 * isearch.el (isearch-occur): Use `word-search-regexp' for
15878 `isearch-word'.
15879 (isearch-search-and-update): Add condition for `isearch-word' and
15880 call `word-search-regexp'. (Bug#10145)
15881
0b950688
GM
158822011-12-01 Glenn Morris <rgm@gnu.org>
15883
15884 * eshell/em-hist.el (eshell-hist-initialize):
15885 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 15886 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 15887
9505c3c7
SM
158882011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15889
15890 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15891
1bbe96b2 158922011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 15893
a1beca85
SM
15894 * progmodes/verilog-mode.el (verilog-pretty-expr):
15895 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
15896 verilog, such as += *= and the like.
15897 (verilog-assignment-operator-re): Regular expression to find the
15898 assigment operator in a verilog assignment.
15899 (verilog-assignment-operation-re): Regular expression to find an
15900 assignment statement for pretty-expr.
15901 (verilog-in-attribute-p): Query returns true if point is in an
15902 attribute context; used to skip these for expression line up from
15903 pretty-expr.
15904 (verilog-in-parameter-p): Query returns true if point is in an
15905 parameter definition context; used to skip these for expression
15906 line up from pretty-expr.
15907 (verilog-in-parenthesis-p): Query returns true if point is in a
15908 parenthetical expression, specifically ( ) but not [ ] or { };
15909 used by pretty-expr.
15910 (verilog-just-one-space): If there is no space, don't add one.
15911 (verilog-get-lineup-indent-2): Specifically skip just attribute
15912 contexts for expression lineup, rather than skipping all
15913 parenthetical expressions.
15914 (verilog-calculate-indent): Fix comment, and fix indent.
15915 (verilog-do-indent): Indent declarations in lists (suggested by
15916 Joachim Lechner).
15917 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15918 skeleton items.
15919 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15920 by Alain Mellan).
15921
1bbe96b2 159222011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
15923
15924 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15925 parameters with embedded comments. Reported by Ray Stevens.
15926 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15927 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15928 Reported by Tim Holt.
15929 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15930 instantiated by upper module causing wrong expansion until AUTOed a
15931 second time. Reported by K C Buckenmaier.
15932 (verilog-diff-auto): Fix showing .* as a difference when
15933 `verilog-auto-star-save' off. Reported by Dan Dever.
15934 (verilog-auto-reset, verilog-read-always-signals)
15935 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15936 temporary signals in reset list if
15937 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
15938 style to each signal's assignment type, bug381.
15939 Reported by Thomas Esposito.
6288f0ca
WS
15940 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15941 (verilog-uvm-statement-re): Support UVM indentation and
15942 highlighting, with old OVM keywords only.
a1beca85 15943 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
15944 Support AUTOTIEOFF creating non-wire data types.
15945 Suggested by Jonathan Greenlaw.
6288f0ca
WS
15946 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15947 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15948 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
15949 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15950 Fix mismatching parenthesis inside commented out code when deleting
382c953b 15951 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
15952 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15953 non-numeric vector width. Reported by Alex Reed.
15954 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 15955 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
15956 (verilog-auto-delete-trailing-whitespace):
15957 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
15958 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15959 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15960 Fix verilog-scan-cache corruption when running user AUTO expansion
15961 hooks that call indentation routines.
15962 (verilog-simplify-range-expression): Fix typo ignoring lower case
15963 identifiers.
15964 (verilog-delete-auto): Fix delete-autos to also remove user created
15965 automatics, as long as they start with AUTO.
15966 (verilog-batch-diff-auto, verilog-diff-auto)
15967 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15968 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15969 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15970 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
15971 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15972 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
15973 is disabled and its cache will get corrupt, causing AUTOS not to
15974 expand. Instead use only -quick functions.
15975 (verilog-scan-region): Fix scanning over escaped quotes.
15976 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15977 (verilog-re-search-backward-quick)
15978 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15979 related functions now ignore strings, to fix misparsing of strings
15980 with magic comments embedded in them.
a1beca85
SM
15981 (verilog-read-auto-template):
15982 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15983 Reported by Brad Dobbie.
15984 (verilog-read-auto-template):
15985 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 15986 Reported by Brad Dobbie.
6288f0ca
WS
15987 (verilog-auto-inst, verilog-auto-inst-param)
15988 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15989 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15990 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
15991 debugging templates without merge conflicts, bug357.
15992 Reported by Brad Dobbie.
15993 (verilog-read-auto-template):
15994 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
15995 Reported by Brad Dobbie.
15996 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15997 abbrevs so user won't be asked to save.
15998 (verilog-read-auto-lisp-present): Fix to start at beginning of
15999 buffer in case called outside of verilog-auto.
16000 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16001 to "X-2". Reported by Matthew Myers.
16002 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16003 all inputs from module templates. Reported by Leith Johnson.
16004 (verilog-module-inside-filename-p): Fix locating programs as with
16005 modules.
16006 (verilog-auto-inst-port): Fix vl-width expressions when using
16007 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16008 (verilog-decls-get-regs, verilog-decls-get-signals,
16009 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16010 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16011 verilog-read-decls): Combine reg and wire structures into one var
16012 structure to represent SystemVerilog concepts.
16013 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16014 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
16015 (verilog-auto-wire-type, verilog-insert-definition):
16016 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
16017 SystemVerilog "logic" keyword instead of "wire"/"reg".
16018 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16019 to declares outputs that also have assignments (presumably in an
a1beca85
SM
16020 ifdef or generate if so there's not a driver conflict).
16021 Reported by Matthew Myers.
16022 (verilog-auto-declare-nettype, verilog-insert-definition):
16023 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
16024 `default_nettype none. Reported by Julian Gorfajn.
16025 (verilog-read-always-signals-recurse, verilog-read-decls)
16026 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16027 malformed end statement, bug325. Reported by Joshua Wise and
16028 Andrew Drake.
16029 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16030 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
16031 when expanding .* in interfaces, bug320.
16032 Reported by Pierre-David Pfister.
6288f0ca 16033 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
16034 name and open parenthesis, bug317.
16035 Reported by Pierre-David Pfister.
6288f0ca
WS
16036 (verilog-simplify-range-expression): Fix simplification of
16037 multiplications inside AUTOWIRE connections, bug303.
16038 (verilog-auto-inst-port): Support parameter expansion in
16039 multidimensional arrays.
16040 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16041 after "assert property". Reported by Julian Gorfajn.
16042 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16043 with multiplication, bug303.
16044 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16045 Reported by Jan Frode Lonnum.
16046
1bbe96b2
GM
160472011-11-30 Juanma Barranquero <lekktu@gmail.com>
16048
16049 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16050 (hfy-shell-file-name, hfy-shell):
16051 * international/fontset.el (x-decompose-font-name): Fix typos.
16052
160532011-11-29 Ken Brown <kbrown@cornell.edu>
16054
16055 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16056 (gdb-version): Remove defvar.
16057 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16058 (gdb-gud-context-command, gdb-non-stop-handler)
16059 (gdb-current-context-command, gdb-stopped): Use it.
16060 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
16061 (gdb-non-stop-handler): Don't enable pretty-printing here.
16062 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
16063 non-stop mode. Use the following.
16064 (gdb-check-target-async): New defun.
16065 (gud-watch, gdb-stopped): Fix whitespace.
16066 (gdb-get-source-file): Don't try to display the source file if
16067 `gdb-main-file' is nil.
16068
160692011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16070
16071 * align.el: Try to generate fewer markers (bug#10047).
16072 (align--set-marker): New macro.
16073 (align-region): Use it.
16074
c935221f
SM
160752011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16076
16077 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16078
e70b5064
CY
160792011-11-29 Chong Yidong <cyd@gnu.org>
16080
16081 * indent.el (indent-for-tab-command, indent-according-to-mode):
16082 Doc fix.
16083 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16084
f3af92b7
MA
160852011-11-29 Michael Albinus <michael.albinus@gmx.de>
16086
16087 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16088 aware of remote file names. (Bug#10124)
16089
ed472be9
CY
160902011-11-29 Chong Yidong <cyd@gnu.org>
16091
16092 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16093
24510c22
SM
160942011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16095
16096 * files.el (find-file): Don't use force-same-window (bug#10144).
16097 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16098 use pop-to-buffer if the selected window can't be used.
16099 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16100
c60c3703
EZ
161012011-11-28 Eli Zaretskii <eliz@gnu.org>
16102
16103 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16104 special-mode-map.
16105
e95def75
CY
161062011-11-28 Chong Yidong <cyd@gnu.org>
16107
16108 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16109
c3f1c606
NR
161102011-11-27 Nick Roberts <nickrob@snap.net.nz>
16111
16112 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16113 gdb-get-source-file-list on gdb-create-source-file-list.
16114
00db469c
EZ
161152011-11-26 Eli Zaretskii <eliz@gnu.org>
16116
16117 * whitespace.el (whitespace-newline): Use a different foreground
16118 color for 16-color light-background displays.
16119
4ad3bc2a
CY
161202011-11-24 Chong Yidong <cyd@gnu.org>
16121
16122 * window.el (display-buffer--special-action): Doc fix.
16123
e9fce1ac
JB
161242011-11-25 Juanma Barranquero <lekktu@gmail.com>
16125
16126 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16127 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16128 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16129 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16130 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16131 (avl-tree-stack-first):
16132 * emacs-lisp/cconv.el (cconv--analyse-use):
16133 * net/gnutls.el (gnutls-negotiate): Fix typos.
16134
cb825e5d
GM
161352011-11-24 Glenn Morris <rgm@gnu.org>
16136
3adbe224
GM
16137 * lpr.el (lpr-windows-system, lpr-lp-system):
16138 * mail/binhex.el (binhex-begin-line):
16139 * progmodes/grep.el (grep-history, grep-find-history):
16140 * textmodes/flyspell.el:
16141 * vc/pcvs-defs.el (cvs-global-menu):
16142 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16143 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16144 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16145
321decc8
GM
16146 * net/tls.el: Fix case of "GnuTLS".
16147
420b63ad
GM
16148 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16149
cb825e5d
GM
16150 * version.el (emacs-build-system): Give it a doc-string.
16151
a0649f08
JL
161522011-11-24 Juri Linkov <juri@jurta.org>
16153
16154 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16155
c0bc0fd4
GM
161562011-11-24 Glenn Morris <rgm@gnu.org>
16157
16158 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16159 if called on a non-mime message just toggle the headers. (Bug#8006)
16160
20db1522
JB
161612011-11-24 Juanma Barranquero <lekktu@gmail.com>
16162
16163 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16164 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16165 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16166 (allout-rebullet-heading, allout-open-sibtopic)
16167 (allout-toggle-current-subtree-encryption)
16168 (allout-toggle-subtree-encryption, allout-encrypt-string)
16169 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16170 (allout-distinctive-bullets-string, allout-auto-activation):
16171 * window.el (window-normalize-buffer-to-display):
16172 * progmodes/verilog-mode.el (verilog-batch-indent):
16173 * textmodes/bibtex.el (bibtex-field-braces-opt)
16174 (bibtex-field-strings-opt):
16175 * vc/cvs-status.el (cvs-tree-merge):
16176 Fix typos.
16177
7262a87c
MA
161782011-11-23 Michael Albinus <michael.albinus@gmx.de>
16179
16180 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16181 `non-essential' to t, in order to avoid remote connections.
16182
283430a1
EZ
161832011-11-23 Eli Zaretskii <eliz@gnu.org>
16184
a1beca85
SM
16185 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16186 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
16187 case-insensitively.
16188
d2992a38
ML
161892011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16190
16191 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16192
50419064
GM
161932011-11-23 Glenn Morris <rgm@gnu.org>
16194
da94eca1
GM
16195 * paths.el (rmail-file-name): Reformat the doc-string so that it
16196 is picked up.
16197
9aac4de2
GM
16198 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16199 (rmail-auto-file): Ignore case in the "special" field names,
16200 as mail-fetch-field does for all others.
16201
8038d2d2
GM
16202 * mail/rmail.el (rmail-forward):
16203 * mail/rmailkwd.el (rmail-set-label):
16204 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16205 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16206
f3fe222a
GM
16207 * mail/rmail.el (rmail-current-message): Doc fix.
16208
50419064
GM
16209 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16210
28109f49
SM
162112011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16212
16213 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16214
394c65f1
GM
162152011-11-22 Glenn Morris <rgm@gnu.org>
16216
16217 * mail/rmailmm.el (test-rmail-mime-handler)
16218 (test-rmail-mime-bulk-handler)
16219 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16220
f2a0aa3a
JL
162212011-11-21 Juri Linkov <juri@jurta.org>
16222
1154d12e
JB
16223 * calc/calc.el (calc-read-key-sequence):
16224 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 16225
9c34a344
LMI
162262011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16227
16228 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16229 Tell the caller that the next line needs recomputation, even
16230 though it doesn't start a sexp (bug#10094).
16231
f04a3be9
SM
162322011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16233
16234 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16235
7978747f
SM
162362011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16237
f04a3be9
SM
16238 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16239 Use force-same-window.
7978747f 16240
fe7a3057
JB
162412011-11-20 Juanma Barranquero <lekktu@gmail.com>
16242
16243 * descr-text.el (describe-char-unicode-data):
16244 * json.el (json-string-escape):
16245 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16246 (Footnote-unicode, Footnote-style-p):
16247 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16248
24901d61
CY
162492011-11-20 Chong Yidong <cyd@gnu.org>
16250
16251 * window.el (replace-buffer-in-windows): Restore interactive spec.
16252
bac7ff22
SM
162532011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16254
24f3d7b9
SM
16255 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16256
bac7ff22
SM
16257 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16258 (byte-compile-global-not-obsolete-vars): New var.
16259 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16260 Use it.
16261 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16262
cd1181db
JB
162632011-11-20 Juanma Barranquero <lekktu@gmail.com>
16264
16265 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16266 * progmodes/pascal.el (electric-pascal-equal):
16267 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16268 * xml.el (xml-substitute-special): Fix typos.
16269
7fb18e9e
GM
162702011-11-20 Glenn Morris <rgm@gnu.org>
16271
16272 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16273 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16274 Doc fixes.
16275 (rmail-decode-mime-charset): Mark as obsolete.
16276
16277 * mail/rmailsum.el (rmail-message-regexp-p-1):
16278 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16279 Before using mime functions, check they are set. (Bug#10077)
16280
d5a6b3ba
JL
162812011-11-19 Juri Linkov <juri@jurta.org>
16282
16283 * info.el (Info-finder-find-node): Use `package--builtins' instead
16284 of `package-alist'. Use node names formed by the pattern "Keyword "
16285 and the keyword name.
16286
e981b61f
AS
162872011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16288
1d00653d 16289 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 16290
3ffbc301
JL
162912011-11-19 Juri Linkov <juri@jurta.org>
16292
16293 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16294 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16295 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16296 `old-history', `old-history-forward'. Add let-binding
16297 `window-selected'. Remove calls to `kill-buffer',
16298 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16299 before calling `Info-find-node', so `Info-find-node-2' will reread
16300 the Info file. Restore window positions only when `window-selected'
16301 is non-nil.
16302
30c62133
JL
163032011-11-19 Juri Linkov <juri@jurta.org>
16304
16305 * isearch.el (isearch-lazy-highlight-new-loop):
16306 Remove condition `(not isearch-error)'. (Bug#9918)
16307
16308 * misearch.el (multi-isearch-search-fun): Add condition
16309 `(not bound)' to ignore lazy-highlighting search.
16310 Add the search-failed message "end of multi" when the end of
16311 multi-sequence is reached. Uncapitalize the search-failed
16312 message "Repeat for next buffer".
16313
16314 * info.el (Info-search): Add the search-failed message
16315 "end of the manual" when the end of the manual is reached
16316 in Isearch mode.
16317
645ca9cf
JL
163182011-11-19 Juri Linkov <juri@jurta.org>
16319
16320 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16321 Use non-destructive `remove' instead of `delete' because
16322 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16323 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16324
df754f66
JL
163252011-11-19 Juri Linkov <juri@jurta.org>
16326
16327 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16328 to nil instead of binding `search-ring' and `regexp-search-ring'.
16329 (Bug#9185)
16330
0e23d96a
EZ
163312011-11-19 Eli Zaretskii <eliz@gnu.org>
16332
16333 * simple.el (line-move): Force movement by logical lines for any
16334 hscrolled window, not only when auto-hscroll-mode is on.
16335 (line-move-visual): Update doc string to that effect. (Bug#10076)
16336
8a6ccb66
AS
163372011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16338
16339 * language/european.el (macintosh): Define as alias for mac-roman.
16340
49ae5b39
EZ
163412011-11-19 Eli Zaretskii <eliz@gnu.org>
16342
16343 * mail/rmailmm.el (rmail-mime-display-header)
16344 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16345 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16346 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16347 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16348 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16349 of a raw aref.
16350 (rmail-mime-entity-segment): To get past the tagline, move forward
16351 2 more lines, to account for the 2 empty lines that precede and
16352 follow the line with the buttons.
16353 (rmail-mime-update-tagline): Move one more line, to get past the
16354 empty line that follows the buttons in the tagline. (Bug#9520)
16355
c56cad4a
MR
163562011-11-19 Martin Rudalics <rudalics@gmx.at>
16357
16358 * window.el (window-max-delta-1, window-min-delta-1)
16359 (window-min-size-1, window-state-get-1, window-state-put-1)
16360 (window-state-put-2): Use "window--" prefix.
16361
cbe71af3
SM
163622011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16363
2ad52c60
SM
16364 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16365 (smie-warning-count): New var.
16366 (smie-set-prec2tab): Use it.
16367 (smie-bnf->prec2): Improve warnings. Add docstring.
16368 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16369 (smie-bnf--set-class): New function.
16370 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16371 corner case.
16372
6944dbc1
SM
16373 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16374 (compilation-error-properties, compilation-move-to-column):
16375 Handle compilation-first-column while in the target buffer.
16376
c400c4d7
SM
16377 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16378 Don't hardcode point-min==1.
16379
6dbe3e96
SM
16380 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16381 (eshell-rewrite-for-command): Remove workaround.
16382 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16383 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16384 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16385
cbe71af3
SM
16386 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16387
a8e1496d
GM
163882011-11-17 Glenn Morris <rgm@gnu.org>
16389
16390 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16391 Ignore buffer-local generated-autoload-file if it is the same
16392 as the global value. (Bug#10049)
16393
df85d315
JB
163942011-11-17 Juanma Barranquero <lekktu@gmail.com>
16395
16396 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16397 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16398 (reftex-toc-previous-heading, reftex-toc-max-level)
16399 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16400 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16401 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16402 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16403 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16404 (reftex-toc-rename-label, reftex-toc-visit-location)
16405 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16406 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16407 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16408 leaving "*toc*" only for references to the buffer.
16409
a0c2d0ae
MR
164102011-11-17 Martin Rudalics <rudalics@gmx.at>
16411
16412 * window.el (window-resize, delete-window, split-window):
16413 Replace window-splits by window-combination-resize.
1d00653d 16414 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 16415
35c0bac8
GM
164162011-11-17 Glenn Morris <rgm@gnu.org>
16417
16418 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16419 Make bash entry derive from sh entry, not shell entry.
16420
d0c8fc8a
MA
164212011-11-16 Michael Albinus <michael.albinus@gmx.de>
16422
7262a87c
MA
16423 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16424 local file name.
16425
7877f373
JB
164262011-11-16 Juanma Barranquero <lekktu@gmail.com>
16427
16428 * menu-bar.el (menu-bar-file-menu):
16429 * printing.el (pr-ps-utility):
16430 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16431 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16432 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16433 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16434 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16435 (icalendar--convert-cyclic-to-ical)
16436 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16437 (icalendar--convert-ical-to-diary)
16438 (icalendar--convert-recurring-to-diary)
16439 (icalendar--convert-non-recurring-all-day-to-diary)
16440 (icalendar-import-format-sample):
16441 * progmodes/idlw-shell.el (idlwave-shell-mode):
16442 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16443 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16444 (vhdl-ps-print-init): Fix typos.
16445
10649b82
KM
164462011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16447
9d0cfcd6
GM
16448 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16449 FSF and collapse date sequence, obscure author/maintainer email address
16450 better, remove extra version line, track relocation of author's webpage.
10649b82 16451
9d0cfcd6
GM
16452 * progmodes/python.el (python-pdbtrack-input-prompt)
16453 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16454 regular python pdb prompts. Adjustments shamelessly taken exactly as
16455 suggested in EmacsWiki page (tiny change):
16456 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 16457
58179cce
JB
164582011-11-16 Juanma Barranquero <lekktu@gmail.com>
16459
16460 * expand.el (expand-pos, expand-index, expand-point):
16461 Remove redundant info from docstring.
16462 (expand-add-abbrevs): Doc fix.
16463 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16464 (expand-sample-perl-mode-expand-list): Fix typos.
16465
16466 * net/dbus.el (dbus-event-member-name):
16467 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16468 * term/pc-win.el (msdos-create-frame-with-faces):
16469 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16470
b6f67890
MR
164712011-11-16 Martin Rudalics <rudalics@gmx.at>
16472
16473 * window.el (split-window, window-state-get-1)
16474 (window-state-put-1, window-state-put-2): Rename occurrences of
16475 window-nest to window-combination-limit.
1d00653d 16476 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 16477
ce7ddba0
CY
164782011-11-16 Chong Yidong <cyd@gnu.org>
16479
16480 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16481 regexp (Bug#10033).
16482
3ae704f4
SM
164832011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16484
16485 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16486 `completing-read' will remove *Completions* and will preserve
16487 current-buffer for us.
16488 (tmm-add-prompt): Users of *Completions* will always (re)set its
16489 major mode.
16490 (tmm-old-comp-map): Remove.
16491
6ad1cdde
GM
164922011-11-16 Glenn Morris <rgm@gnu.org>
16493
16494 * mail/rmailedit.el: Require rmailmm when compiling.
16495 (rmail-old-mime-state): New declaration.
16496 (rmail-edit-current-message): If editing a mime message,
16497 edit the "raw" message from the mbox buffer.
16498 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16499
d20faa20
GM
165002011-11-15 Glenn Morris <rgm@gnu.org>
16501
16502 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16503 which wasn't being used. Add optional arg to force given state.
16504 (rmail-mime): Add optional arg to force given state.
16505
c7015153
JB
165062011-11-15 Juanma Barranquero <lekktu@gmail.com>
16507
16508 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16509 * frame.el (display-mm-dimensions-alist):
16510 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16511 (outline-move-subtree-down):
16512 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16513 (newsticker--treeview-do-get-node):
16514 * net/quickurl.el (quickurl-list-buffer-name):
16515 * progmodes/dcl-mode.el (dcl-mode):
16516 * progmodes/gdb-mi.el (gdb-mapcar*):
16517 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16518
45261b50
GM
165192011-11-15 Glenn Morris <rgm@gnu.org>
16520
16521 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16522 in a boolean sense, so just make it a boolean, and fix the doc.
16523 (rmail-show-mime-function, rmail-mime-feature)
16524 (rmail-require-mime-maybe): Doc fixes.
16525 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16526
16527 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16528
0d26e0b6
JB
165292011-11-15 Juanma Barranquero <lekktu@gmail.com>
16530
16531 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16532 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16533 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16534 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16535
447f30f6
GM
165362011-11-15 Glenn Morris <rgm@gnu.org>
16537
672b871d
GM
16538 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16539 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16540 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16541 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16542 (rmail-mime, rmail-show-mime): Doc fixes.
16543
f6aa5bb1
GM
16544 * term/ns-win.el (mode-line-frame-identification):
16545 Leave it alone. (Bug#10051)
16546
947cd66b
GM
16547 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16548
447f30f6
GM
16549 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16550 Handle empty buffers. (Bug#9978)
16551
0b381c7e
JB
165522011-11-14 Juanma Barranquero <lekktu@gmail.com>
16553
16554 * international/mule.el (define-charset):
16555 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16556 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16557 * progmodes/verilog-mode.el (verilog-backward-token):
16558 * textmodes/ispell.el (lookup-words):
16559 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16560
71e027ac
GM
165612011-11-14 Glenn Morris <rgm@gnu.org>
16562
56632ce4
GM
16563 * progmodes/executable.el
16564 (executable-make-buffer-file-executable-if-script-p):
16565 Handle file-modes returning nil.
16566
40500957
GM
16567 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16568 message - not necessary, and causes problems. (Bug#9831)
16569
071c2340
GM
16570 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16571
d3cfca60
GM
16572 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16573
71e027ac
GM
16574 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16575 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16576 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16577
89d61221
MR
165782011-11-12 Martin Rudalics <rudalics@gmx.at>
16579
16580 * window.el (window-resize, delete-window): Use window-splits
16581 variable instead of function.
16582 (window-state-get-1, window-state-put-2, window-state-put):
16583 Don't deal with windows' splits status.
16584
98282f6f
GM
165852011-11-12 Glenn Morris <rgm@gnu.org>
16586
16587 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16588 (apropos-documentation): Doc fixes.
16589
40a8bdf6
JB
165902011-11-11 Juanma Barranquero <lekktu@gmail.com>
16591
16592 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16593 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16594
65bd19ff
SM
165952011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16596
16597 * electric.el (electric-indent-post-self-insert-function): Make it
16598 possible for a char to only indent in some circumstances.
16599 (electric-indent-mode): Simplify.
16600
54f9154c
MR
166012011-11-11 Martin Rudalics <rudalics@gmx.at>
16602
16603 * window.el (windows-with-parameter): Remove unused function.
16604 (windows-at-side): Rename to window-at-side-list.
16605 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
16606 (window-side-check, window-size-ignore, window-size-fixed-1)
16607 (window-in-direction-2): Prefix with "window--".
16608 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 16609
68cbc58b
GM
166102011-11-11 Glenn Morris <rgm@gnu.org>
16611
16612 * subr.el (eval-after-load): If FILE is already loaded,
16613 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16614
b2621720
GM
166152011-11-10 Glenn Morris <rgm@gnu.org>
16616
9a4de110
GM
16617 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16618 Call svn via vc-svn-command rather than vc-do-command.
16619 (vc-svn-command): Add --non-interactive. (Bug#9993)
16620 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16621
b2621720
GM
16622 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16623 Add toggle-read-only. (Bug#7292)
16624 * files.el (toggle-read-only): Mention that it should only
16625 be used interactively. (Bug#10006)
16626
1dce7193
SM
166272011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16628
d9ac1a1e
SM
16629 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16630 Adjust regexp for OCaml warnings.
16631
0c325082
SM
16632 * electric.el (electric-pair-post-self-insert-function): Let user
16633 turn it off buffer-locally (bug#9932).
16634
90132c14
SM
16635 * progmodes/python.el (python-beginning-of-statement):
16636 Rewrite (bug#2703).
16637
1dce7193
SM
16638 * progmodes/compile.el: Better handle TABs (bug#9749).
16639 (compilation-internal-error-properties)
16640 (compilation-next-error-function): Obey the target buffer's
16641 compilation-error-screen-columns.
16642
c4e7c63a
JB
166432011-11-09 Juanma Barranquero <lekktu@gmail.com>
16644
16645 * progmodes/meta-mode.el: Remove obsolete comments.
16646 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16647 Fix typos in docstrings.
16648
2cffd681
MR
166492011-11-09 Martin Rudalics <rudalics@gmx.at>
16650
16651 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 16652 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
16653 (window--resizable): New function. Make all callers of
16654 window-resizable call window--resizable instead.
16655 (window-resizable): Rewrite in terms of window--resizable.
16656
0edcba87
GM
166572011-11-08 Glenn Morris <rgm@gnu.org>
16658
16659 * progmodes/delphi.el (delphi-mode-syntax-table):
16660 Let define-derived-mode define a proper syntax table. (Bug#9994)
16661
4b0d61e3
SM
166622011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16663
16664 * window.el: Stay away from defsubst.
16665 (window-list-no-nils): Remove.
16666 (window-state-get-1, window-state-get): Use backquote instead.
16667
cd394be1 166682011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 16669
4b0d61e3 16670 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 16671 Fix incorrect use of default argument in `completing-read'.
16672
e1c2c6f2
MR
166732011-11-08 Martin Rudalics <rudalics@gmx.at>
16674
16675 * window.el (display-buffer-function, special-display-function):
16676 Mention display-buffer-record-window but do not mention
16677 help-setup parameter in doc-strings.
b3f4a882 16678 (window-min-delta): Fix doc-string typo.
e1c2c6f2 16679
105216ed
CY
166802011-11-08 Chong Yidong <cyd@gnu.org>
16681
16682 * window.el (window-total-height, window-total-width): Doc fix.
16683 (window-body-size): Move from C.
16684 (window-body-height, window-body-width): Move to C.
16685
0a9f9ab5
SM
166862011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16687
16688 * window.el: Make special-display like display-buffer-alist (bug#9532).
16689 (display-buffer--special-action): New function, morphed
16690 from display-buffer--special.
16691 (display-buffer): Use it to handle special-display-buffers at higher
16692 priority (just after display-buffer-alist).
16693 (display-buffer-fallback-action, display-buffer--other-frame-action)
16694 (pop-to-buffer-same-window): Remove display-buffer--special.
16695
a769dd15
GM
166962011-11-07 Glenn Morris <rgm@gnu.org>
16697
16698 * calendar/cal-menu.el (cal-menu-set-date-title):
16699 Do nothing if not in a calendar. (Bug#9976)
16700
05a61ee3
SM
167012011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16702
16703 * files.el (find-file): Always use selected-window.
16704
be7f5545
MR
167052011-11-07 Martin Rudalics <rudalics@gmx.at>
16706
16707 * window.el (window-combinations): Make WINDOW argument
16708 mandatory. Rewrite doc-string.
16709 (walk-window-subtree, window-atom-check, window-min-delta)
16710 (window-max-delta, window--resize-this-window)
16711 (window--resize-root-window-vertically, window-tree)
16712 (balance-windows, window-state-put): Rewrite doc-strings as to
16713 not mention the term "subwindow".
16714 (window--resize-subwindows-skip-p): Rename to
16715 window--resize-child-windows-skip-p.
16716 (window--resize-subwindows-normal): Rename to
16717 window--resize-child-windows-normal.
16718 (window--resize-subwindows): Rename to
16719 window--resize-child-windows.
16720 (window-or-subwindow-p): Rename to window--in-subtree-p.
16721
3c6702ef
ML
167222011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16723
16724 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16725 Ensure that mbox format messages end in two newlines (Bug#9974).
16726
49745b39
CY
167272011-11-06 Chong Yidong <cyd@gnu.org>
16728
16729 * window.el (window-combination-p): Function deleted; its
16730 side-effect is not used in any existing code.
16731 (window-combinations, window-combined-p): Call window-*-child
16732 directly.
16733
24300f5f
CY
167342011-11-05 Chong Yidong <cyd@gnu.org>
16735
16736 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
16737 (window-size-ignore, window-state-get): Callers changed.
16738 (window-normalize-window): Rename from window-normalize-any-window.
16739 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 16740 (window-normalize-live-window): Delete.
447f16b8
CY
16741 (window-combination-p, window-combined-p, window-combinations)
16742 (walk-window-subtree, window-atom-root, window-min-size)
16743 (window-sizable, window-sizable-p, window-size-fixed-p)
16744 (window-min-delta, window-max-delta, window-resizable)
16745 (window-resizable-p, window-full-height-p, window-full-width-p)
16746 (window-current-scroll-bars, window-point-1, set-window-point-1)
16747 (window-at-side-p, window-in-direction, window-resize)
16748 (adjust-window-trailing-edge, maximize-window, minimize-window)
16749 (window-deletable-p, delete-window, delete-other-windows)
16750 (record-window-buffer, unrecord-window-buffer)
16751 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16752 (quit-window, split-window, window-state-put)
16753 (set-window-text-height, fit-window-to-buffer)
16754 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 16755
89bd5ee1
EZ
167562011-11-04 Eli Zaretskii <eliz@gnu.org>
16757
53479029
EZ
16758 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16759 rfc2047-decode-string.
16760 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16761 warnings.
16762
89bd5ee1
EZ
16763 * window.el (window-body-height, window-body-width): Mention in
16764 the doc string that the return values are in frame's canonical
16765 units. (Bug#9949)
16766
bd17fdee
AM
167672011-11-03 Alan Mackenzie <acm@muc.de>
16768
16769 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16770 change in cc-engine.el.
16771
acc825c5
SM
167722011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16773
16774 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16775
1885e5b8
MR
167762011-11-02 Martin Rudalics <rudalics@gmx.at>
16777
16778 * window.el (quit-window): Call unrecord-window-buffer after
16779 showing another buffer in the window. (Bug#9937)
acc825c5 16780 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 16781
ebe06da9
JB
167822011-11-02 Juanma Barranquero <lekktu@gmail.com>
16783
16784 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16785 Accept status with more than 9 shelves. (Bug#9935)
16786 Reported by Colin D Bennett <colin@gibibit.com>.
16787
4ee88440
MR
167882011-11-01 Martin Rudalics <rudalics@gmx.at>
16789
16790 * help.el (with-help-window): Don't reference
16791 temp-buffer-show-specifiers in doc-string.
16792
08e1d82c
AS
167932011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16794
16795 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16796 menu-item.
16797
84bd6e9e
VJL
167982011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16799
16800 * whitespace.el: New version 13.2.2.
16801 (whitespace-newline-mode): Disable properly. Reported by Sarah
16802 <EmacsWiki>.
16803
dba0634a
UJ
168042011-10-30 Ulf Jasper <ulf.jasper@web.de>
16805
16806 * net/newst-treeview.el: Remove "Time-stamp".
16807 (newsticker--group-manage-orphan-feeds): Do not call
16808 newsticker--treeview-tree-update.
db22a3c2
JB
16809 (newsticker-treeview-update, newsticker-treeview):
16810 Call newsticker--treeview-tree-update if necessary.
dba0634a 16811
3d8daefe
MR
168122011-10-30 Martin Rudalics <rudalics@gmx.at>
16813
16814 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
16815 (window-iso-combinations): Remove "iso-" infix.
16816 Suggested by Chong Yidong.
3d8daefe
MR
16817 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16818 (window-max-delta-1, window-resize, window--resize-siblings)
16819 (window--resize-this-window, adjust-window-trailing-edge)
16820 (split-window, balance-windows-1)
16821 (shrink-window-if-larger-than-buffer):
16822 * calendar/calendar.el (calendar-generate-window):
db22a3c2 16823 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 16824
1bc4c3ae
SM
168252011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16826
16827 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16828 in place (bug#9907).
16829 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16830 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16831 (eshell-structure-basic-command, eshell-rewrite-while-command)
16832 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16833 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16834 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16835 (eshell-do-pipelines-synchronously, eshell-eval-command):
16836 Use backquotes and prefer setq to set.
16837 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16838 (eshell-macrop): Use functionp.
c1e2f5fa 16839 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 16840
30b65d9c
CY
168412011-10-30 Chong Yidong <cyd@gnu.org>
16842
16843 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16844 instead of set-mark (Bug#9810).
16845
2d197ffb
CY
168462011-10-30 Chong Yidong <cyd@gnu.org>
16847
16848 * window.el (split-window-below, split-window-right): Rename from
16849 split-window-above-each-other and split-window-side-by-side
16850 respectively. All callers changed.
16851 (split-window-sensibly, split-window-sensibly): Use them.
16852 (split-window-keep-point): Doc fix.
16853
16854 * isearch.el: Add isearch-scroll property to split-window-below
16855 and split-window-right.
16856
16857 * follow.el (follow-mode):
16858 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16859 * progmodes/ada-xref.el (ada-gdb-application):
16860 * emulation/vip.el (vip-buffer-in-two-windows):
16861 * image-dired.el (image-dired-dired-with-window-configuration):
16862 * dired-x.el (dired-do-find-marked-files):
16863 * dired.el (dired-pop-to-buffer):
16864 * bs.el (bs--show-with-configuration):
16865 * vc/emerge.el (emerge-setup-windows):
16866 * textmodes/two-column.el (2C-two-columns):
16867 * textmodes/reftex-toc.el (reftex-toc):
16868 * progmodes/gdb-mi.el (gdb-setup-windows):
16869 * progmodes/fortran.el (fortran-window-create):
16870 * net/newst-treeview.el (newsticker--treeview-window-init):
16871 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16872 * emulation/tpu-edt.el (tpu-gold-map):
16873 * emulation/crisp.el (crisp-mode-map):
16874 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16875
38bb2ca8
CY
168762011-10-29 Chong Yidong <cyd@gnu.org>
16877
aa4de341
CY
16878 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16879
e1eb5385
CY
16880 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16881
5d2ece3c
CY
16882 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16883 forged Ispell output (Bug#7904).
16884
38bb2ca8
CY
16885 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16886
d0af9f77
SM
168872011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16888
16889 * doc-view.el: Avoid ugly errors about not finding nil.
16890 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16891 (doc-view-dvipdf-program, doc-view-unoconv-program)
16892 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16893 Avoid nil or absolute file name as default value.
16894 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16895
52bedd34
AM
168962011-10-28 Alan Mackenzie <acm@muc.de>
16897
db22a3c2 16898 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 16899
7e43cfa5
AM
169002011-10-28 Alan Mackenzie <acm@muc.de>
16901
16902 Amend the handling of c-beginning/end-of-defun in nested declaration
16903 scopes.
16904
52bedd34
AM
16905 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16906 cc-langs.el. Change it to a defcustom.
7e43cfa5 16907
52bedd34
AM
16908 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16909 cc-vars.el.
7e43cfa5 16910
d0af9f77
SM
16911 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16912 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 16913
52bedd34 16914 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 16915 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
16916 (c-widen-to-enclosing-decl-scope): New function.
16917 (c-while-widening-to-decl-block): New macro.
16918 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16919 outward for defun boundaries, and correspondingly change symbol
16920 `respect-enclosure' to `go-outward'.
16921 (c-declaration-limits): Change algorithm to report only the "innermost"
16922 defun's boundaries.
16923
1a2ce9ee
DD
169242011-10-28 Deniz Dogan <deniz@dogan.se>
16925
16926 * net/rcirc.el (rcirc-mode): Use hard newlines.
16927
bc97a826
AM
169282011-10-28 Alan Mackenzie <acm@muc.de>
16929
16930 Amend to indent and fontify macros "which include their own semicolon"
16931 correctly, using the "virtual semicolon" mechanism.
16932
52bedd34 16933 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 16934
d0af9f77 16935 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 16936 Recode to scan one line at a time rather than having \n and \r
58179cce 16937 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 16938 (c-forward-label): Amend for virtual semicolons.
58179cce 16939 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 16940
52bedd34
AM
16941 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16942 of the new C macros.
bc97a826 16943
52bedd34 16944 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
16945 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16946 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
16947 (c-opt-cpp-macro-define): Make into a full language variable.
16948 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16949 AWK Mode (including \n, \r) removed, no longer needed.
16950
d0af9f77
SM
16951 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16952 Invoke c-make-macro-with-semi-re.
bc97a826 16953
52bedd34
AM
16954 * progmodes/cc-vars.el (c-macro-with-semi-re):
16955 (c-macro-names-with-semicolon): New variables.
58179cce 16956 (c-make-macro-with-semi-re): New function.
bc97a826 16957
7a6c0941
SM
169582011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16959
16960 * vc/log-edit.el: Fill empty field rather than adding new one.
16961 (log-edit-add-field): New function.
16962 (log-edit-insert-changelog): Use it.
16963
b0c4cdcf
ML
169642011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16965
16966 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16967
ee1f1da9
SM
169682011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16969
16970 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16971 (gdb--check-interpreter): New function.
16972 (gdb): Use it.
16973
51bc5f8b
GM
169742011-10-27 Glenn Morris <rgm@gnu.org>
16975
416a2c45
GM
16976 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16977 (least-positive-float, least-negative-float)
16978 (least-positive-normalized-float, least-negative-normalized-float)
16979 (float-epsilon, float-negative-epsilon):
16980 Remove unnecessary declarations.
16981
16982 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16983 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16984 (least-positive-float, least-negative-float)
16985 (least-positive-normalized-float, least-negative-normalized-float)
16986 (float-epsilon, float-negative-epsilon): Add doc-strings,
16987 based on those in cl.texi.
16988
51bc5f8b
GM
16989 * files.el (set-visited-file-name): If the major-mode changed,
16990 reload the local variables. (Bug#9796)
16991
15de15c6
CY
169922011-10-27 Chong Yidong <cyd@gnu.org>
16993
16994 * subr.el (change-major-mode-after-body-hook): New hook.
16995 (run-mode-hooks): Run it.
16996
ee1f1da9
SM
16997 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16998 Use change-major-mode-before-body-hook.
15de15c6
CY
16999
17000 * simple.el (fundamental-mode):
17001 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17002 change introducing fundamental-mode-hook.
17003
5430d399
JB
170042011-10-26 Juanma Barranquero <lekktu@gmail.com>
17005
acc825c5 17006 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 17007
ad74a69e
MA
170082011-10-26 Michael Albinus <michael.albinus@gmx.de>
17009
17010 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 17011 tramp.el explicitly. (Bug#7583)
ad74a69e 17012
71d4c2a5
SM
170132011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17014
17015 * progmodes/octave-mod.el:
17016 * progmodes/octave-inf.el: Update maintainer.
17017
b1f6fa26
CY
170182011-10-26 Chong Yidong <cyd@gnu.org>
17019
17020 * subr.el (with-wrapper-hook): Rewrite doc.
17021
3f04efd6
MA
170222011-10-25 Michael Albinus <michael.albinus@gmx.de>
17023
17024 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 17025 filenames "/method:foo:". (Bug#9793)
3f04efd6 17026
410488d3
SM
170272011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17028
17029 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17030 (bug#9865).
17031
c1ebb47e
GM
170322011-10-24 Glenn Morris <rgm@gnu.org>
17033
17034 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17035
7f5c46c7
MA
170362011-10-24 Michael Albinus <michael.albinus@gmx.de>
17037
17038 * notifications.el: Add the requirement of a running D-Bus session
17039 bus to the Commentary.
17040
db2440b6
JL
170412011-10-24 Juri Linkov <juri@jurta.org>
17042
17043 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17044 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17045 (Bug#9364)
17046
feecf435
JL
170472011-10-24 Juri Linkov <juri@jurta.org>
17048
17049 * info.el (Info-following-node-name-re): Add newline to the list
17050 of allowed characters for leading space. (Bug#9824)
17051
a3839de2
SM
170522011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17053
acc825c5
SM
17054 * progmodes/octave-inf.el (inferior-octave-mode-map):
17055 Fix C-c C-h binding.
a3839de2
SM
17056 * progmodes/octave-mod.el (octave-help): Remove.
17057
09388e76
MA
170582011-10-23 Michael Albinus <michael.albinus@gmx.de>
17059
17060 Sync with Tramp 2.2.3.
17061
17062 * net/tramp-cache.el (top): Pacify byte-compiler using
17063 `init-file-user' and `site-run-file'.
17064
17065 * net/trampver.el: Update release number.
17066
86c60681
CY
170672011-10-23 Chong Yidong <cyd@gnu.org>
17068
17069 * files.el (toggle-read-only): Remove obsolete comment about
17070 version control.
17071
17072 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17073 for toggle-read-only. Note that this hasn't called vc-next-action
17074 since 2008-05-02, though it wasn't documented at the time.
17075
a3839de2
SM
17076 * vc/ediff-init.el (ediff-toggle-read-only-function):
17077 Use toggle-read-only.
86c60681 17078
cd5495ff
AM
170792011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17080
17081 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17082 of c-parse-state.
17083
00b77525 17084 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 17085 correct faulty logical expression.
cd5495ff
AM
17086 (c-parse-state-state, c-record-parse-state-state):
17087 (c-replay-parse-state-state): New defvar/defuns.
17088 (c-debug-parse-state): Use new functions.
17089
42ee24ed
MR
170902011-10-22 Martin Rudalics <rudalics@gmx.at>
17091
17092 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 17093 last fix. Use window-in-direction correctly.
42ee24ed 17094
a7dee7e7
CY
170952011-10-21 Chong Yidong <cyd@gnu.org>
17096
17097 * progmodes/idlwave.el (idlwave-mode):
17098 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
17099 require-final-newline; that's done in prog-mode.
17100 Suggested by Stefan Monnier.
a7dee7e7 17101
e07b9a6d
MR
171022011-10-21 Martin Rudalics <rudalics@gmx.at>
17103
17104 * mouse.el (mouse-drag-window-above)
17105 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17106 (mouse-drag-mode-line-1, mouse-drag-header-line)
17107 (mouse-drag-vertical-line-rightward-window): Remove.
17108 (mouse-drag-line): New function.
17109 (mouse-drag-mode-line, mouse-drag-header-line)
17110 (mouse-drag-vertical-line): Call mouse-drag-line.
17111 * window.el (window-at-side-p, windows-at-side): New functions.
17112
7e1361d9
UM
171132011-10-21 Ulrich Mueller <ulm@gentoo.org>
17114
17115 * tar-mode.el (tar-grind-file-mode):
17116 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17117
30fcaf3a
CY
171182011-10-21 Chong Yidong <cyd@gnu.org>
17119
17120 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
17121 * progmodes/vera-mode.el (vera-mode):
17122 Use mode-require-final-newline.
30fcaf3a 17123
516eddb0
GM
171242011-10-20 Glenn Morris <rgm@gnu.org>
17125
db22a3c2 17126 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 17127
10d5f513
CS
171282011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17129
17130 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17131
ac6c8639
CY
171322011-10-20 Chong Yidong <cyd@gnu.org>
17133
17134 * emulation/cua-base.el (cua-mode):
17135 * mail/footnote.el (footnote-mode):
17136 * mail/mailabbrev.el (mail-abbrevs-mode):
17137 * net/xesam.el (xesam-minor-mode):
17138 * progmodes/bug-reference.el (bug-reference-mode):
17139 * progmodes/cap-words.el (capitalized-words-mode):
17140 * progmodes/compile.el (compilation-minor-mode)
17141 (compilation-shell-minor-mode):
17142 * progmodes/gud.el (gud-tooltip-mode):
17143 * progmodes/hideif.el (hide-ifdef-mode):
17144 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17145 * progmodes/subword.el (subword-mode):
17146 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17147 * progmodes/which-func.el (which-function-mode):
17148 * term/tvi970.el (tvi970-set-keypad-mode):
17149 * term/vt100.el (vt100-wide-mode):
17150 * textmodes/flyspell.el (flyspell-mode):
17151 * textmodes/ispell.el (ispell-minor-mode):
17152 * textmodes/nroff-mode.el (nroff-electric-mode):
17153 * textmodes/paragraphs.el (use-hard-newlines):
17154 * textmodes/refill.el (refill-mode):
17155 * textmodes/reftex.el (reftex-mode):
17156 * textmodes/rst.el (rst-minor-mode):
17157 * textmodes/sgml-mode.el (html-autoview-mode)
17158 (sgml-electric-tag-pair-mode):
17159 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17160 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17161 * emulation/crisp.el (crisp-mode):
17162 * emacs-lisp/eldoc.el (eldoc-mode):
17163 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17164 minor mode behavior.
17165
aa42ab43
JL
171662011-10-19 Juri Linkov <juri@jurta.org>
17167
17168 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17169 the list of hard-coded chars with escape-glyph face.
17170
89400f1d
SM
171712011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17172
17173 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17174
305c07f6
MA
171752011-10-19 Michael Albinus <michael.albinus@gmx.de>
17176
17177 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17178 running process.
17179
13754b54
GM
171802011-10-19 Glenn Morris <rgm@gnu.org>
17181
17182 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17183 Ignore ignored files. (Bug#9726)
17184
06e21633
CY
171852011-10-19 Chong Yidong <cyd@gnu.org>
17186
17187 Doc fix for minor modes, stating that an omitted argument enables
17188 the mode unconditionally when called from Lisp.
17189
17190 * abbrev.el (abbrev-mode):
17191 * allout.el (allout-mode):
17192 * autoinsert.el (auto-insert-mode):
17193 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17194 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17195 (global-auto-revert-mode):
17196 * battery.el (display-battery-mode):
17197 * composite.el (global-auto-composition-mode)
17198 (auto-composition-mode):
17199 * delsel.el (delete-selection-mode):
17200 * desktop.el (desktop-save-mode):
17201 * dired-x.el (dired-omit-mode):
17202 * dirtrack.el (dirtrack-mode):
17203 * doc-view.el (doc-view-minor-mode):
17204 * double.el (double-mode):
17205 * electric.el (electric-indent-mode, electric-pair-mode):
17206 * emacs-lock.el (emacs-lock-mode):
17207 * epa-hook.el (auto-encryption-mode):
17208 * follow.el (follow-mode):
17209 * font-core.el (font-lock-mode):
17210 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17211 * help.el (temp-buffer-resize-mode):
17212 * hilit-chg.el (highlight-changes-mode)
17213 (highlight-changes-visible-mode):
17214 * hi-lock.el (hi-lock-mode):
17215 * hl-line.el (hl-line-mode, global-hl-line-mode):
17216 * icomplete.el (icomplete-mode):
17217 * ido.el (ido-everywhere):
17218 * image-file.el (auto-image-file-mode):
17219 * image-mode.el (image-minor-mode):
17220 * iswitchb.el (iswitchb-mode):
17221 * jka-cmpr-hook.el (auto-compression-mode):
17222 * linum.el (linum-mode):
17223 * longlines.el (longlines-mode):
17224 * master.el (master-mode):
17225 * mb-depth.el (minibuffer-depth-indicate-mode):
17226 * menu-bar.el (menu-bar-mode):
17227 * minibuf-eldef.el (minibuffer-electric-default-mode):
17228 * mouse-sel.el (mouse-sel-mode):
17229 * msb.el (msb-mode):
17230 * mwheel.el (mouse-wheel-mode):
17231 * outline.el (outline-minor-mode):
17232 * paren.el (show-paren-mode):
17233 * recentf.el (recentf-mode):
17234 * reveal.el (reveal-mode, global-reveal-mode):
17235 * rfn-eshadow.el (file-name-shadow-mode):
17236 * ruler-mode.el (ruler-mode):
17237 * savehist.el (savehist-mode):
17238 * scroll-all.el (scroll-all-mode):
17239 * scroll-bar.el (scroll-bar-mode):
17240 * server.el (server-mode):
17241 * shell.el (shell-dirtrack-mode):
17242 * simple.el (auto-fill-mode, transient-mark-mode)
17243 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17244 (line-number-mode, column-number-mode, size-indication-mode)
17245 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17246 * strokes.el (strokes-mode):
17247 * time.el (display-time-mode):
17248 * t-mouse.el (gpm-mouse-mode):
17249 * tool-bar.el (tool-bar-mode):
17250 * tooltip.el (tooltip-mode):
17251 * type-break.el (type-break-mode-line-message-mode)
17252 (type-break-query-mode):
17253 * view.el (view-mode):
17254 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17255 (global-whitespace-mode, global-whitespace-newline-mode):
17256 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17257
a3839de2
SM
17258 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17259 Fix autogenerated docstring.
06e21633 17260
5214e501
JL
172612011-10-19 Juri Linkov <juri@jurta.org>
17262
17263 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17264 by checking environment variables "DESKTOP_SESSION" and
17265 "XDG_CURRENT_DESKTOP". (Bug#9779)
17266
195f8db9
JL
172672011-10-19 Juri Linkov <juri@jurta.org>
17268
17269 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17270 (browse-url-chromium-program, browse-url-chromium-arguments):
17271 New defcustoms.
17272 (browse-url-default-browser): Check for `browse-url-chromium' and
17273 call `browse-url-chromium-program'.
17274 (browse-url-chromium): New command. (Bug#9779)
17275
343a34ff
JB
172762011-10-18 Juanma Barranquero <lekktu@gmail.com>
17277
17278 * facemenu.el (list-colors-duplicates): On Windows, detect more
17279 duplicates by assuming that only colors matching "^System" are
17280 special "system colors". (Bug#9722)
17281
6978a151
SM
172822011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17283
17284 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17285 to distinguish the author from the committer.
17286
6a80b297
MA
172872011-10-18 Michael Albinus <michael.albinus@gmx.de>
17288
17289 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17290
b31a5677
JK
172912011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17292
17293 * international/mule.el (sgml-html-meta-auto-coding-function):
17294 Add support for detecting encoding in HTML5 specified only as
17295 <meta charset="UTF-8">. Implementation just makes http-equiv and
17296 content-type parts from HTML4 encoding string optional. (Bug#9716)
17297
80c6d77f
GM
172982011-10-18 Glenn Morris <rgm@gnu.org>
17299
17300 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17301
08b0fee8
CY
173022011-10-18 Chong Yidong <cyd@gnu.org>
17303
17304 * faces.el (cursor): Doc fix.
17305
67e729a5
CY
173062011-10-17 Chong Yidong <cyd@gnu.org>
17307
17308 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17309
343a34ff 173102011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
17311
17312 * dirtrack.el (dirtrack): Support shell buffers with path
17313 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17314
0bc06380
TZ
173152011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17316
17317 * json.el: Bump version to 1.3 and note change in History.
17318 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17319
8b79f3e0
SM
173202011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17321
5a7c536b
SM
17322 * comint.el (comint-insert-input, comint-send-input)
17323 (comint-get-old-input-default, comint-backward-matching-input)
17324 (comint-next-prompt): Use nil instead of `input' for field property of
17325 past user input (bug#114).
17326
96a8a0df
SM
17327 * minibuffer.el (completion--replace): Inherit surrounding properties
17328 (bug#114).
17329 (minibuffer-complete-and-exit): Use it.
17330
8b79f3e0
SM
17331 * comint.el (comint--table-subvert): Quote the all-completions output
17332 (bug#9160).
17333
b8f7ff0d
MR
173342011-10-17 Martin Rudalics <rudalics@gmx.at>
17335
8b79f3e0 17336 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 17337
b8f7ff0d 17338 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 17339 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
17340 entries and separate them from frame entries.
17341
c235b555
GM
173422011-10-15 Glenn Morris <rgm@gnu.org>
17343
17344 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17345 Doc fixes.
17346
6bbfa6e1
CY
173472011-10-15 Chong Yidong <cyd@stupidchicken.com>
17348
8b79f3e0
SM
17349 * net/network-stream.el (network-stream-open-starttls):
17350 Improve detection of failure due to lack of TLS support.
ec5c990d 17351
6bbfa6e1
CY
17352 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17353 putting the input text in front and in bold.
17354
98488977
SM
173552011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17356
3d1337be
SM
17357 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17358
ee0b45e4
SM
17359 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17360 empty buffer.
17361
98488977
SM
17362 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17363 unread-command-events rather than pushing yet-another event.
17364
186f4720
EZ
173652011-10-14 Eli Zaretskii <eliz@gnu.org>
17366
17367 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17368 the explanation of the possible choices. Make the options passed
17369 to completing-read shorter.
17370
8b7a997c
AM
173712011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17372
17373 * textmodes/flyspell.el (flyspell-large-region): Make sure
17374 extended character mode is used if defined (Bug#1339).
17375
12587bbb
EZ
173762011-10-13 Eli Zaretskii <eliz@gnu.org>
17377
17378 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
17379 character info for LRE, LRO, RLE, and RLO characters by appending
17380 an invisible PDF.
12587bbb 17381
bad41229
SM
173822011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17383
17384 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17385 even in case of error; add debug spec; simplify data flow.
17386 (with-timeout-handler): Remove.
17387
28dbc92f
MA
173882011-10-12 Michael Albinus <michael.albinus@gmx.de>
17389
17390 Fix Bug#6019, Bug#9315.
17391
17392 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17393 complete `buffer-file-name', the local file name part could look
17394 remotely (for example on VMS).
17395
17396 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17397 `tramp-run-real-handler'.
17398 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17399 already quoted by '"'.
17400
17401 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17402 Let `file-name-handler-alist' be nil, the local file name part
17403 could look remotely (for example on VMS).
17404
e1b0b23a
SM
174052011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17406
17407 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17408 from here...
17409 (flyspell-post-command-hook): ...to here.
17410
a120bde9
SM
174112011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17412
17413 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17414 if not needed.
17415 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17416 using completion. Protect against "slow" callers.
17417 Remove the "message hack".
17418
7ce7717b
JL
174192011-10-11 Juri Linkov <juri@jurta.org>
17420
17421 * isearch.el (isearch-lazy-highlight-word): New variable.
17422 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17423 Use it. (Bug#9727)
17424
c02ee9d6
GM
174252011-10-11 Glenn Morris <rgm@gnu.org>
17426
17427 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17428 like f90-previous-statement does.
17429
93e616fd 174302011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17431
1f190e73 17432 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
17433 only in interactive use, to avoid error.
17434
af7b6078
SM
174352011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17436
17437 * minibuffer.el (completion-file-name-table): Fix last change,
17438 i.e. ignore normal errors but not the other ones.
17439
0563dae9
MR
174402011-10-10 Martin Rudalics <rudalics@gmx.at>
17441
17442 * window.el (special-display-buffer-names)
17443 (special-display-regexps): Remove some remnants of earlier
17444 changes from doc-strings.
366ca7f3
MR
17445 (quit-windows-on): New function.
17446
17447 * vc/vc.el (vc-revert, vc-rollback):
17448 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17449 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 17450 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 17451
49677495
MR
174522011-10-09 Martin Rudalics <rudalics@gmx.at>
17453
17454 * window.el (frame-auto-hide-function): Add version tag.
17455 (Bug#9699)
17456
56f2d1e1
MA
174572011-10-09 Michael Albinus <michael.albinus@gmx.de>
17458
17459 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17460 condition.
17461
112a6592
LL
174622011-10-09 Leo Liu <sdl.web@gmail.com>
17463
17464 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17465 (Bug#9701)
17466
0812589b
GM
174672011-10-08 Glenn Morris <rgm@gnu.org>
17468
17469 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17470 before the first code statement zero indent. (Bug#9690)
17471
b2b0776e
CY
174722011-10-08 Chong Yidong <cyd@stupidchicken.com>
17473
17474 * simple.el (count-words-region): Always count in the region.
17475 Report the number of lines and characters too.
17476 (count-words): New command, which counts in the buffer if the
17477 region is inactive, as count-words-region used to.
17478 (count-words--message): New function. Handle plurals.
17479 (count-lines-region): Make it an alias for count-words-region.
17480
17481 * bindings.el (esc-map): Replace count-lines-region with
17482 count-words-region.
17483
c557cd6b
MR
174842011-10-08 Martin Rudalics <rudalics@gmx.at>
17485
17486 * window.el (window--delete): Delete dedicated frame
17487 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 17488 (switch-to-buffer): Fix doc-string typo.
c557cd6b 17489
61a57ef4 174902011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17491
3a7d293b 17492 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 17493
c3833279
CY
174942011-10-07 Chong Yidong <cyd@stupidchicken.com>
17495
17496 * bindings.el ([M-left],[M-right]): Bind to left-word and
17497 right-word respectively.
17498
21ce8245
GM
174992011-10-07 Glenn Morris <rgm@gnu.org>
17500
17501 * cus-start.el (debug-on-quit): Fix custom type.
17502
6d823bb2
LMI
175032011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17504
0181e193
LMI
17505 * subr.el (define-key-after): Clarify that the function is not
17506 useful for non-menu keymaps.
17507
6d823bb2
LMI
17508 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17509
8e3459ce 175102011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17511
21ce8245 17512 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 17513 in current minibuffer (Fix bug with recursive minibuffers).
17514
a1c2d21e
CY
175152011-10-06 Chong Yidong <cyd@stupidchicken.com>
17516
17517 * progmodes/gdb-mi.el (gdb): Doc fix.
17518
5a4cf282
MR
175192011-10-05 Martin Rudalics <rudalics@gmx.at>
17520
17521 * window.el (frame-auto-hide-function): New option replacing
17522 frame-auto-delete. Suggested by Stefan Monnier.
17523 (window--delete): Call frame-auto-hide-function instead of
17524 investigating frame-auto-delete.
c96111ea
MR
17525 (window-point-1, set-window-point-1): New functions.
17526 (window-in-direction, record-window-buffer, window-state-get-1)
17527 (display-buffer-record-window): Use window-point-1 instead of
17528 window-point.
17529 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 17530
9854542e
SM
175312011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17532
17533 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17534
8943cfb0
GM
175352011-10-05 Glenn Morris <rgm@gnu.org>
17536
17537 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17538 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17539
647ab967
LL
175402011-10-05 Leo Liu <sdl.web@gmail.com>
17541
17542 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17543 works with buffer object.
17544
3ddfbced
SM
175452011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17546
17547 * mpc.el (mpc-tool-bar-map): Add labels.
17548
bdfa5dd2
GM
175492011-10-04 Glenn Morris <rgm@gnu.org>
17550
17551 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17552
0e2070b5
MR
175532011-10-04 Martin Rudalics <rudalics@gmx.at>
17554
17555 * window.el (window--delete): New function.
17556 (frame-auto-delete): Resuscitate option.
17557 (bury-buffer, replace-buffer-in-windows)
17558 (quit-window): Rewrite using window--delete.
17559 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17560 Pass display-buffer-mark-dedicated to window--display-buffer-2
17561 (Bug#9639).
17562
3dc61a09
SM
175632011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17564
915a9b64
SM
17565 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17566 returns a list (bug#9554). Add remote file name completion.
17567 * comint.el (comint--table-subvert): Curry and get quote&unquote
17568 functions as arguments.
17569 (comint--complete-file-name-data): Adjust call accordingly.
17570 * pcomplete.el (pcomplete--table-subvert): Remove.
17571 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17572
3dc61a09
SM
17573 * minibuffer.el (completion-table-case-fold): Use currying.
17574 (completion--styles-type, completion--cycling-threshold-type):
17575 New constants.
17576 (completion-styles, completion-category-overrides)
17577 (completion-cycle-threshold): Use them.
17578 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17579 completion-table-case-fold.
17580
8ea0a993
SB
175812011-10-03 Stephen Berman <stephen.berman@gmx.net>
17582
17583 * minibuffer.el (completion-category-overrides): Fix type of styles
17584 and add more user friendly tags (bug#9660).
17585
8c24b7f6
SM
175862011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17587
17588 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17589 (mule-input-method-string): New widget.
17590 (default-input-method, language-info-custom-alist): Use it.
17591
428fe61a
SM
175922011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17593
32c1fffd
SM
17594 * pcomplete.el: Require comint.
17595 (pcomplete--common-suffix): Remove.
17596 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17597 (pcomplete--table-subvert): Sync with comint--table-subvert.
17598 (pcomplete--entries): Use comint-completion-file-name-table.
17599 * comint.el (comint-unquote-filename): Simplify.
17600 (comint-completion-file-name-table): New function (bug#9616).
17601 (comint--complete-file-name-data): Use it.
17602
428fe61a
SM
17603 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17604 (pcmpl-gnu-tar-buffer): Remove.
17605 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
17606 around. Make sure pcomplete-suffix-list is only changed temporarily.
17607 Don't look inside the tar's file if it's too large.
428fe61a 17608
04c52e2f
CY
176092011-10-01 Chong Yidong <cyd@stupidchicken.com>
17610
ce3cefcc
CY
17611 * cus-edit.el (custom-mode-map):
17612 * epa.el (epa-key-list-mode-map):
17613 * man.el (Man-mode-map):
17614 * startup.el (splash-screen-keymap):
17615 * simple.el (special-mode-map): Use scroll-up-command and
17616 scroll-down-command.
17617
17618 * progmodes/idlw-help.el (idlwave-help-mode-map):
17619 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17620 * net/newst-plainview.el (newsticker-mode-map):
17621 * emulation/ws-mode.el (wordstar-mode-map):
17622 * emulation/vi.el (vi-com-map):
17623 * calc/calc-graph.el (calc-graph-show-dumb):
17624 * term/sun.el (terminal-init-sun):
17625 * term/ns-win.el (global-map):
17626 * progmodes/grep.el (grep-mode-map):
17627 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17628 * mail/rmail.el (rmail-mode-map):
17629 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17630
04c52e2f
CY
17631 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17632 custom-safe-themes as special.
17633
79adf8c8
JD
176342011-10-01 Julien Danjou <julien@danjou.info>
17635
17636 * notifications.el (notifications-notify): Fix docstring.
17637
63bd50d3
PS
176382011-10-01 Per Starbäck <per@starback.se>
17639
17640 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17641
199e4c7e
MR
176422011-09-30 Martin Rudalics <rudalics@gmx.at>
17643
17644 * startup.el (command-line-1): Fix last fix by inserting
17645 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 17646 (Bug#9605) and (Bug#9636)
199e4c7e 17647
fe5f08dd
EZ
176482011-09-29 Eli Zaretskii <eliz@gnu.org>
17649
17650 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17651 window is hscrolled, move by logical lines. (Bug#9607)
17652 (line-move-visual): Update the doc string to the above effect.
17653
b5516bbd
MR
176542011-09-29 Martin Rudalics <rudalics@gmx.at>
17655
ccee00c0
MR
17656 * window.el (display-buffer-record-window): When WINDOW is the
17657 selected window use `point' instead of `window-point'. (Bug#9626)
17658
b5516bbd
MR
17659 * startup.el (command-line-1): Use insert-before-markers when
17660 inserting initial-scratch-message. (Bug#9605)
ccee00c0 17661
b5516bbd
MR
17662 * help.el (help-window): Remove variable.
17663
52aa0014
GM
176642011-09-29 Glenn Morris <rgm@gnu.org>
17665
17666 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17667
df9a7357
JB
176682011-09-29 Juanma Barranquero <lekktu@gmail.com>
17669
17670 * descr-text.el (describe-char-categories): Accept category
17671 descriptions more than one line long.
17672
a8406c20
SM
176732011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17674
88d9610c
SM
17675 * simple.el (delete-trailing-whitespace): Fix last change.
17676
a5daf810
SM
17677 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17678 Don't confuse "y => 3" as the beginning of a `y' operation.
17679
a8406c20
SM
17680 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17681 object has more than 4 slots (bug#9613).
17682
a239d4e9
JB
176832011-09-28 Juanma Barranquero <lekktu@gmail.com>
17684
17685 * subr.el (with-output-to-temp-buffer):
17686 * net/quickurl.el (quickurl, quickurl-browse-url):
17687 Fix typos in docstrings.
17688
693fbdb6
EZ
176892011-09-27 Eli Zaretskii <eliz@gnu.org>
17690
17691 * minibuffer.el (completion-styles)
17692 (completion-category-overrides): Cross reference each other in doc
17693 strings.
17694
8b457e28
GM
176952011-09-27 Glenn Morris <rgm@gnu.org>
17696
17697 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17698 to split-string. (Bug#9606)
17699
85a16208
LMI
177002011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17701
17702 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17703 (bug#9615).
17704
502f9ebd
CY
177052011-09-27 Chong Yidong <cyd@stupidchicken.com>
17706
17707 * emacs-lisp/package.el (list-packages): Fix echo area message.
17708
7690bdea
LL
177092011-09-27 Leo Liu <sdl.web@gmail.com>
17710
17711 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17712
e2ee6f30
MA
177132011-09-25 Michael Albinus <michael.albinus@gmx.de>
17714
17715 * net/dbus.el (dbus-unregister-object): Don't release services for
17716 registered signals. (Bug#9581)
17717
f3f98342
TZ
177182011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17719
17720 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17721 function that picks between cfengine 2 and 3 support
17722 automatically. Update docs accordingly.
17723
dd7aa8dd
KH
177242011-09-22 Kenichi Handa <handa@m17n.org>
17725
17726 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17727 ZERO.
17728 (indian-itrans-v5-table-for-tamil): New variable.
17729 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17730
3f2b07f8
KM
177312011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17732
17733 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17734 that's true if the current command involved collapsing of text.
17735 It's reset to false at the beginning of the next command.
17736 (allout-post-command-business): Move the cursor to the beginning
17737 of entry if the cursor is hidden and collapsing activity just
17738 happened.
17739
371d6a61
CY
177402011-09-24 Chong Yidong <cyd@stupidchicken.com>
17741
17742 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17743 tracking (Bug#9541).
17744
2ac2721a
UJ
177452011-09-24 Ulf Jasper <ulf.jasper@web.de>
17746
17747 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
17748 (newsticker-show-news): Automatically load html rendering package
17749 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17750 because w3m-fill-column is let-bound" and the error "Symbol's value
17751 as variable is void: w3m-fill-column".
2ac2721a 17752
fac7ae53
MA
177532011-09-24 Michael Albinus <michael.albinus@gmx.de>
17754
17755 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17756 Release services only if they are defined. (Bug#9581)
17757
e08b633b
RS
177582011-09-23 Richard Stallman <rms@gnu.org>
17759
e488d29c
RS
17760 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17761 distinguish start of paragraph from start of its text.
17762
19c38752
RS
17763 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17764
e08b633b
RS
17765 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17766 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17767 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17768
0a39f27e
AS
177692011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17770
17771 * international/mule-diag.el (mule-diag): Insert a newline after
17772 each fontset description.
17773
db4e950d
SM
177742011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17775
17776 * simple.el (delete-trailing-whitespace):
17777 Document last change; simplify.
17778
eca3f3ea
PW
177792011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17780
d68e189a
PW
17781 * simple.el (delete-trailing-whitespace): Also delete
17782 extra newlines at the end of the buffer.
17783
eca3f3ea
PW
17784 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17785 (picture-newline): Use forward-line so as to ignore fields.
17786
01c157cc
SM
177872011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17788
17789 * subr.el (with-wrapper-hook): Fix edebug spec.
17790
022de23e
LMI
177912011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17792
17793 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17794 (bug#4538).
17795
91683089
MA
177962011-09-23 Michael Albinus <michael.albinus@gmx.de>
17797
eca3f3ea
PW
17798 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17799 Fix nasty bug using wrong cached values.
91683089 17800
5bdd6fa4
AM
178012011-09-23 Alan Mackenzie <acm@muc.de>
17802
17803 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17804
97adfb97
CY
178052011-09-23 Chong Yidong <cyd@stupidchicken.com>
17806
17807 * window.el (pop-to-buffer): Ensure right window is selected if we
17808 chose another frame.
17809
d4ef2b50
EZ
178102011-09-22 Eli Zaretskii <eliz@gnu.org>
17811
17812 * simple.el (what-cursor-position): Use get-char-property-change
17813 and next-single-char-property-change, to be able to show display
17814 properties that come from overlays as well as text properties.
17815
72258fe5
CY
178162011-09-22 Chong Yidong <cyd@stupidchicken.com>
17817
17818 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17819
17820 * cmuscheme.el (run-scheme, switch-to-scheme):
17821 * cus-edit.el (customize-group, custom-buffer-create)
17822 (customize-browse):
17823 * info.el (info):
17824 * shell.el (shell):
17825 * mail/sendmail.el (mail):
17826 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17827
8f098516
RS
178282011-09-22 Richard Stallman <rms@gnu.org>
17829
17830 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17831 move back only to line beg, don't move back over blank lines.
17832
e74f1bb6
MA
178332011-09-22 Michael Albinus <michael.albinus@gmx.de>
17834
17835 * files.el (copy-directory): Set directory attributes only in case
17836 they could be retrieved from the source directory. (Bug#9565)
17837
bfeef8b6
DK
178382011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17839
17840 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17841 (hs-find-block-beginning, hs-hide-level-recursive):
17842 Ignore strings as well as comments. (Bug#9502)
17843
7e423bb8
AS
178442011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17845
17846 * progmodes/sql.el (sql-comint-postgres):
17847 Convert port number to a string. (Bug#9566)
17848
b4d72fcf
MR
178492011-09-22 Martin Rudalics <rudalics@gmx.at>
17850
17851 * window.el (quit-window): Undedicate window when switching to
17852 previous buffer. Reported by Thierry Volpiatto
17853 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
17854 (special-display-popup-frame): When popping up a new frame reset
17855 its previous buffers to nil. Simplify code.
b4d72fcf 17856
a7b88dc6
MA
178572011-09-21 Michael Albinus <michael.albinus@gmx.de>
17858
17859 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17860 and process filter, as done also in `shell-command'.
17861
cf4eacfd
MR
178622011-09-21 Martin Rudalics <rudalics@gmx.at>
17863
eca3f3ea 17864 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
17865 Call set-window-start with NOFORCE argument t.
17866 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
17867 (quit-window): Reword doc-string. Handle new format of
17868 quit-restore parameter. Don't delete window if it has a
17869 previous buffer we can show instead of the present one.
17870 (display-buffer-record-window): Rewrite using a new format for
17871 the quit-restore window parameter
17872 (special-display-popup-frame, display-buffer-same-window)
17873 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17874 (display-buffer-pop-up-window, display-buffer-use-some-window):
17875 Adapt symbol passed to display-buffer-record-window.
17876 * help.el (help-window-setup): Handle new format of quit-restore
17877 parameter.
17878
8d28cb95
SM
178792011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17880
94ab793f
SM
17881 * faces.el (face-list): Fix docstring (bug#9564).
17882
8d28cb95
SM
17883 * window.el (display-buffer--action-function-custom-type):
17884 Don't include internal functions in the Custom interface.
17885
3820edeb
JL
178862011-09-20 Juri Linkov <juri@jurta.org>
17887
17888 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17889 (Info-forward-node, Info-backward-node, Info-next-preorder)
17890 (Info-last-preorder): Use it. (Bug#9528)
17891
5147931d
JL
178922011-09-20 Juri Linkov <juri@jurta.org>
17893
17894 * info.el (Info-last-preorder): Visit last menu item only when
17895 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17896
cf499a1a
JD
178972011-09-20 Julien Danjou <julien@danjou.info>
17898
17899 * password-cache.el (password-cache-remove): Remove entries even if the
17900 value is nil, so that password with a nil value (negative caching) is
17901 possible to invalidate.
17902
f84e2fe2
LM
179032011-09-20 Lawrence Mitchell <wence@gmx.li>
17904
17905 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17906 all whitespace around breakpoint. (Bug#9553)
17907 (f90-find-breakpoint): Only break at whitespace inside a comment.
17908
78054a46
SM
179092011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17910
17911 * minibuffer.el (completion-file-name-table): Keep track of errors.
17912 (completion-table-with-predicate): Handle the case where pred1 is nil.
17913 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17914
345083b2
SM
179152011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17916
e24e27be
SM
17917 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17918 (debugger-return-value): Signal an error if the debugging context does
17919 not await any return value.
17920
345083b2
SM
17921 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17922 * image-mode.el (image-toggle-display-text)
17923 (image-toggle-display-image): Stay away from evil `intangible'.
17924
08d355e3
LL
179252011-09-19 Leo Liu <sdl.web@gmail.com>
17926
17927 * replace.el (occur-revert-arguments): Make it permanent-local.
17928 (occur-mode): Don't call font-lock-defontify.
17929
f01da43f
CY
179302011-09-19 Chong Yidong <cyd@stupidchicken.com>
17931
17932 * net/ldap.el (ldap-search-internal): Don't push empty search
17933 result (Bug#9508).
17934
b6072fa6
SM
179352011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17936
17937 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17938
443d6696
MA
179392011-09-19 Michael Albinus <michael.albinus@gmx.de>
17940
17941 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17942 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17943
7cc6e154
JL
179442011-09-18 Juri Linkov <juri@jurta.org>
17945
17946 * buff-menu.el (Buffer-menu-mode-map):
17947 * dired.el (dired-mode-map):
17948 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17949 (lisp-interaction-mode-map):
17950 * emacs-lisp/package.el (package-menu-mode-map):
17951 * epa.el (epa-key-list-mode-map):
17952 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17953 (menu-bar-options-menu):
17954 * outline.el (outline-mode-menu-bar-map):
17955 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17956 * vc/vc-dir.el (vc-dir-menu-map):
17957 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17958 Capitalize non-function content words in menu item strings.
17959
17960 * dired.el (dired-mode-map): Add menu item for
17961 `image-dired-dired-toggle-marked-thumbs'.
17962
80302a81
JL
179632011-09-18 Juri Linkov <juri@jurta.org>
17964
17965 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17966 to `isearch-case-fold-search' and restore its original value
17967 after the `isearch-mode' call.
17968
46c5cf66
JL
179692011-09-18 Juri Linkov <juri@jurta.org>
17970
17971 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17972 because `zgrep' returns 1 for successful matches (bug#9226).
17973
d18b513b
JL
179742011-09-18 Juri Linkov <juri@jurta.org>
17975
17976 * info.el (Info-extract-menu-node-name): Check the second match
17977 for empty string (second test-case of bug#9528).
17978 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17979 intermediate nodes to the history (first test-case of bug#9528).
17980
72753f87
JL
179812011-09-18 Juri Linkov <juri@jurta.org>
17982
17983 * info.el (Info-mode-syntax-table): New variable.
1154d12e 17984 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 17985
c9384295
JL
179862011-09-18 Juri Linkov <juri@jurta.org>
17987
1154d12e
JB
17988 * info.el (Info-file-supports-index-cookies):
17989 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17990 outputs one more line for long file names (bug#4142).
c9384295 17991
d473dce8
CY
179922011-09-18 Chong Yidong <cyd@stupidchicken.com>
17993
17994 * newcomment.el (comment-normalize-vars): If prompting for
17995 comment-start, set comment-start-skip too (Bug#8424).
17996
2176854d
JB
179972011-09-18 Johan Bockgård <bojohan@gnu.org>
17998
17999 * icomplete.el: Fix previous fix of Bug#5849.
18000 (icomplete-mode): Don't set completion-show-inline-help.
18001 (icomplete-minibuffer-setup): Set completion-show-inline-help
18002 locally during icompletion.
18003
3aace4e4
CY
180042011-09-18 Chong Yidong <cyd@stupidchicken.com>
18005
c940224f
CY
18006 * woman.el (woman2-process-escapes): Don't delete unrecognized
18007 escapes (Bug#7843).
18008
3aace4e4
CY
18009 * files.el (inhibit-first-line-modes-regexps): Add image files.
18010 (hack-local-variables-prop-line): Return nil for malformed
18011 prop-lines (Bug#9044).
18012
710dec63
MA
180132011-09-18 Michael Albinus <michael.albinus@gmx.de>
18014
18015 * net/tramp.el (top): Don't require 'shell.
18016 (tramp-methods): Fix docstring.
18017 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
18018 Return complete remote file name. Handle "smb" case.
18019 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
18020 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18021
18022 * net/tramp-compat.el (top): Require 'shell.
18023
18024 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18025 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18026 `tramp-current-host'.
18027 (tramp-get-remote-tmpdir): Remove.
18028
18029 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18030 `tramp-tmpdir' entries.
18031 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18032 (tramp-smb-handle-file-attributes): Ignore errors.
18033 (tramp-smb-wait-for-output): Check also for process end.
18034
5d5ac8ec
LMI
180352011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18036
18037 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18038 when sending QUIT (bug#9312).
18039
8c0f49f0
CY
180402011-09-17 Chong Yidong <cyd@stupidchicken.com>
18041
18042 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18043 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18044 occur-mode-display-occurrence.
18045 (occur-edit-mode): Add usage message.
18046 (occur-cease-edit): New command.
18047 (occur-after-change-function): Use text properties to find the
18048 position of the prefix text.
18049 (occur-engine): Set stickiness of prefix text properties.
18050
8f1383f7
GM
180512011-09-17 Glenn Morris <rgm@gnu.org>
18052
18053 * progmodes/etags.el (complete-tag):
18054 Fix call to completion-in-region. (Bug#9526)
18055
744ba0e3
JL
180562011-09-17 Juri Linkov <juri@jurta.org>
18057
18058 * textmodes/ispell.el (ispell-word): Add to the error message
18059 the word, ispell program name and current dictionary (bug#9121).
18060 (ispell-tex-arg-end): Capitalize "error" in the error message.
18061
d9bbf400
AS
180622011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18063
18064 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18065 check. (Bug#4251)
18066
8da11505
JL
180672011-09-17 Juri Linkov <juri@jurta.org>
18068
18069 * window.el (window-safe-min-height, window-safe-min-width):
18070 Fix typos (followup to bug#9522).
18071
a91adc7e
SJ
180722011-09-17 Sven Joachim <svenjoac@gmx.de>
18073
18074 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18075
064f328a
EZ
180762011-09-16 Eli Zaretskii <eliz@gnu.org>
18077
18078 * simple.el (line-move): If goal-column is set, move by logical
18079 lines, not by display lines. (Bug#971)
18080 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18081 to reflect the above change.
18082
e69df516
SM
180832011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18084
18085 * image.el (imagemagick-register-types): Use regexp-opt.
18086
cbb0f9ab
CY
180872011-09-15 Chong Yidong <cyd@stupidchicken.com>
18088
18089 * window.el (display-buffer-base-action): Rename from
18090 display-buffer-default-action. Make default value empty.
18091 (display-buffer-overriding-action): Convert to defvar.
18092 (display-buffer-fallback-action): New var.
18093
25322144
CY
180942011-09-15 Chong Yidong <cyd@stupidchicken.com>
18095
18096 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18097 declaration.
18098 (package--add-to-archive-contents): If there is a duplicate entry
18099 with an older version, remove it.
18100 (package-menu-mark-delete, package-menu-mark-install)
18101 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
18102 (package-menu-mark-obsolete-for-deletion):
18103 Use package-menu-get-status instead of a regexp search.
25322144
CY
18104 (package-menu-get-status): Use tabulated-list-entry.
18105 (package-menu-mark-upgrades): New command.
d770725a 18106 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
18107 (package-menu-execute): Do installation before deletion.
18108 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18109 instead of checking major-mode.
18110 (package-menu--find-upgrades): New function.
18111
7520339c
LMI
181122011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18113
18114 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18115 passwords in the log buffer.
65a046c4
LMI
18116 (smtpmail-process-filter): Update the process marker so that the
18117 "broken by peer" status message is inserted in the right place.
7520339c 18118
d3c30954
SM
181192011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18120
3fe48822
SM
18121 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18122 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18123 bibtex-completion-at-point-function.
18124 (bibtex-completion-at-point-function): Use them.
18125
1b8b3954
SM
18126 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18127
d3c30954
SM
18128 * mpc.el (mpc-constraints-tag-lookup): New function.
18129 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18130 also to browser "album|playlist".
18131
72779976
JL
181322011-09-14 Juri Linkov <juri@jurta.org>
18133
18134 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18135 (isearch-edit-string): Use length of `isearch-string' when
18136 `isearch-fail-pos' returns nil.
18137 (isearch-message): Remove duplicate code and call
18138 `isearch-fail-pos' with arg `t'.
18139
a0bf2bcd
CY
181402011-09-14 Chong Yidong <cyd@stupidchicken.com>
18141
17bb0a2d
CY
18142 * replace.el (occur-mode-goto-occurrence): Don't force using other
18143 window (Bug#9499).
18144
a0bf2bcd
CY
18145 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18146
f678e0b6
MR
181472011-09-14 Martin Rudalics <rudalics@gmx.at>
18148
18149 * window.el (display-buffer-window): Remove.
18150 (display-buffer-record-window): Use help-setup window parameter
18151 instead of variable display-buffer-window.
18152 (display-buffer-function, special-display-buffer-names)
18153 (special-display-function): Mention help-setup parameter instead
18154 of display-buffer-window in doc-string.
d3c30954
SM
18155 * help.el (help-window-setup): New argument help-window.
18156 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
18157 Reword some messages.
18158 (with-help-window): Pass window used for displaying the buffer
18159 to help-window-setup. Don't set display-buffer-window.
18160
8e39b2e8
GM
181612011-09-13 Glenn Morris <rgm@gnu.org>
18162
18163 * emacs-lisp/debug.el (debugger-make-xrefs):
18164 Preserve point. (Bug#9462)
18165
85e9c04b
CY
181662011-09-13 Chong Yidong <cyd@stupidchicken.com>
18167
18168 * window.el (window-deletable-p): Use next-frame.
18169
1b36ed6a
MR
181702011-09-13 Martin Rudalics <rudalics@gmx.at>
18171
18172 * window.el (window-auto-delete): Remove.
18173 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 18174 dedication and previous buffers.
1b36ed6a
MR
18175 (switch-to-prev-buffer): Don't delete window.
18176 (delete-windows-on): Delete a window's frame if and only if the
18177 window is dedicated.
18178 (replace-buffer-in-windows): Delete buffer's window or frame if
18179 and only if window is dedicated.
18180 (quit-window): Handle quit-restore as before last change.
4d61f28d 18181 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 18182
ef8ef9fb
CY
181832011-09-13 Chong Yidong <cyd@stupidchicken.com>
18184
18185 * window.el (window-deletable-p): Never delete the last frame on a
18186 given terminal.
18187
b2cba41e
GM
181882011-09-13 Glenn Morris <rgm@gnu.org>
18189
18190 * help.el (describe-key-briefly): Copy previous standard-output change.
18191
51553db6 181922011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
18193
18194 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18195
b7556719
GM
181962011-09-13 Glenn Morris <rgm@gnu.org>
18197
18198 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18199 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18200
64b51947
CY
182012011-09-12 Chong Yidong <cyd@stupidchicken.com>
18202
18203 * dired-aux.el (dired-mark-read-string): Don't return default
18204 value on empty input (Bug#9361).
18205 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18206 Omit initial minibuffer contents.
18207 (dired-do-chmod): Signal an error on empty input.
18208 (dired-mark-read-string): Don't return default on empty input.
18209
18210 * files.el (file-modes-symbolic-to-number): Doc fix.
18211
393a301e
SM
182122011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18213
18214 * international/mule-cmds.el (ucs-completions): Remove.
18215 (read-char-by-name): Use complete-with-action instead; add metadata.
18216
fa5660f9
CY
182172011-09-11 Chong Yidong <cyd@stupidchicken.com>
18218
18219 * window.el (display-buffer--action-function-custom-type)
18220 (display-buffer--action-custom-type): New vars.
18221 (display-buffer-alist, display-buffer-default-action)
18222 (display-buffer-overriding-action): Add defcustom types.
18223
4a592f66
CY
18224 * frame.el (delete-other-frames): Doc fix (Bug#276).
18225
73d56dbd
LMI
182262011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18227
18228 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18229
37ac18a3
CY
182302011-09-11 Chong Yidong <cyd@stupidchicken.com>
18231
18232 Change modes that used same-window-* vars to use switch-to-buffer.
18233
18234 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18235 Use switch-to-buffer.
18236
18237 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
18238 (customize-browse, custom-buffer-create-other-window):
18239 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
18240
18241 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18242 (Info-prev, Info-up, Info-speedbar-goto-node)
18243 (info-display-manual): Use switch-to-buffer.
18244 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18245
18246 * mail/sendmail.el (mail): Use switch-to-buffer.
18247 (mail-recover): Use switch-to-buffer-other-window.
18248
18249 * cmuscheme.el (run-scheme, switch-to-scheme):
18250 * ielm.el (ielm):
18251 * shell.el (shell):
18252 * net/rlogin.el (rlogin):
18253 * net/telnet.el (telnet, rsh):
18254 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18255
10195bd6
AS
182562011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18257
18258 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18259
b322f63a
LMI
182602011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18261
39d7fed6
LMI
18262 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18263 so don't mention it (bug#9301).
ba5a81f1 18264 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 18265
ee0e9f11
LMI
18266 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18267 match `x', `w32' and `ns', like the manual says (bug#9029).
18268
0b1c89c1 18269 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
18270 (process-kill-buffer-query-function): Mention the buffer name in
18271 the query.
0b1c89c1 18272
77549ea8
LMI
18273 * image-mode.el (image-next-line): The line parameter is mandatory
18274 (bug#9258).
18275
803ef892
LMI
18276 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18277 which can be useful (bug#9301).
18278
12980837
LMI
18279 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18280
91054f8f
LMI
18281 * subr.el (match-string): Mention that the current buffer should
18282 be the same as the search was done in (bug#9282).
18283
b322f63a
LMI
18284 * facemenu.el: Disable the remove-* commands if the mark isn't
18285 active (bug#9162).
18286
3199b96f
CY
182872011-09-10 Chong Yidong <cyd@stupidchicken.com>
18288
18289 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18290 of display-buffer.
18291 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18292
18293 * replace.el (occur-mode-goto-occurrence)
18294 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18295 and display-buffer.
18296
18297 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18298 display-buffer.
18299
18300 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18301 special-display and same-window variables.
18302 (mail-other-window): Use switch-to-buffer-other-window.
18303 (mail-other-frame): USe switch-to-buffer-other-frame.
18304
393a301e
SM
18305 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18306 Use display-buffer-other-frame.
3199b96f
CY
18307 (gdb-display-gdb-buffer): Use pop-to-buffer.
18308
18309 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18310
18311 * progmodes/python.el: Don't set same-window-buffer-names.
18312
18313 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18314
18315 * window.el (display-buffer-alist): Add *Python*.
18316
8319e0bf
CY
183172011-09-10 Chong Yidong <cyd@stupidchicken.com>
18318
18319 * window.el (display-buffer-alist): Add entry for buffers
18320 previously handled same-window-*.
18321 (display-buffer-alist, display-buffer-default-action)
18322 (display-buffer-overriding-action): Mark as risky.
18323 (display-buffer-alist): Document action function changes.
18324 (display-buffer--same-window-action)
18325 (display-buffer--other-frame-action): New variables.
18326 (switch-to-buffer, display-buffer-other-frame): Use them.
18327 (display-buffer): Rename reuse-frame entry to reusable-frames.
18328 (display-buffer-reuse-selected-window): Function deleted.
18329 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18330 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18331 (display-buffer-special): New function.
18332 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18333 display-buffer-reuse-or-pop-window. Split off special-display
18334 part into display-buffer-special.
18335 (display-buffer-use-some-window): Don't perform any special
18336 pop-up-frames handling.
18337 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 18338 (display-buffer--maybe-same-window): Rename from
0d3ff375 18339 display-buffer-maybe-same-window.
8319e0bf 18340
919a69aa
CY
18341 * info.el: Don't set same-window-regexps.
18342 (info-setup): New function.
18343 (info-other-window, info): Call it.
18344
18345 * cus-edit.el: Don't set same-window-regexps.
18346 (customize-group): New argument.
18347 (customize-group-other-window): Use it.
18348 (customize-face, customize-face-other-window): Likewise.
18349 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18350
8319e0bf
CY
18351 * net/rlogin.el:
18352 * net/telnet.el:
18353 * progmodes/gud.el: Don't set same-window-regexps.
18354
18355 * cmuscheme.el:
18356 * ielm.el:
18357 * shell.el:
18358 * mail/sendmail.el:
18359 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18360
25173000
JL
183612011-09-10 Juri Linkov <juri@jurta.org>
18362
18363 * isearch.el (isearch-edit-string): Remove obsolete mention of
18364 `C-w' (`isearch-yank-word-or-char') from docstring.
18365 (isearch-query-replace): Fix typo in docstring (bug#9466).
18366
056e44ef
JL
183672011-09-10 Juri Linkov <juri@jurta.org>
18368
18369 * paren.el (show-paren-function): Don't show escaped parens.
18370 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18371
c3760c17
EZ
183722011-09-10 Eli Zaretskii <eliz@gnu.org>
18373
18374 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18375 (mm-default-file-encoding): Remove autoload forms, they are
18376 replaced with autoload cookies in mml.el and mm-encode.el.
18377 (mail-add-attachment): New command.
18378 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18379 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18380 the doc string.
18381 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18382
fece895e
RT
183832011-09-10 Reuben Thomas <rrt@sc3d.org>
18384
e69df516
SM
18385 * simple.el (count-words-region): Use buffer if there's no region
18386 (bug#9429).
fece895e 18387
5e68ce4a
JL
183882011-09-09 Juri Linkov <juri@jurta.org>
18389
18390 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18391 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18392 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18393
0a6b9622
AM
183942011-09-09 Alan Mackenzie <acm@muc.de>
18395
18396 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18397 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18398
14a29deb
EZ
183992011-09-09 Eli Zaretskii <eliz@gnu.org>
18400
18401 Fix for Savannah bug#9392.
18402 * simple.el (mail-encode-mml): New defvar.
18403
18404 * mail/rmail.el (mail-encode-mml): Add a defvar.
18405 (rmail-enable-mime-composing): Default to t.
18406 (rmail-forward): Use MIME method of forwarding only if both
18407 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18408 Set mail-encode-mml non-nil if the MIME method was used.
18409
18410 * mail/sendmail.el (mml-to-mime): Add autoload form.
18411 (mail-encode-mml): Add a defvar.
18412 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18413 to nil.
18414 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18415 message through mml-to-mime, and reset mail-encode-mml to nil.
18416
28c45130
GM
184172011-09-09 Glenn Morris <rgm@gnu.org>
18418
18419 * woman.el (woman-if-body): When processing an .el block,
18420 do not delete the next .el block as well. (Bug#9447)
69f4b618 18421 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 18422
9b1c252e
MR
184232011-09-08 Martin Rudalics <rudalics@gmx.at>
18424
18425 * window.el (window-deletable-p): Make sure window is live before
18426 invoking window-prev-buffers.
18427
567457e3
LL
184282011-09-08 Leo Liu <sdl.web@gmail.com>
18429
18430 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18431
97f05794
JL
184322011-09-08 Juri Linkov <juri@jurta.org>
18433
18434 * progmodes/compile.el (compilation-environment): Make it
18435 a defcustom (bug#8340).
18436
8b0874b5
MR
184372011-09-08 Martin Rudalics <rudalics@gmx.at>
18438
18439 * window.el (frame-auto-delete): Rename to window-auto-delete.
18440 Make it control auto-deletion of windows and/or frames.
18441 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 18442 for deleting window/frame. (Bug#9419)
8b0874b5
MR
18443 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18444 Rewrite handling of case when window/frame can be deleted.
18445 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 18446 argument t. (Bug#9456)
8b0874b5 18447
4feb6e73
CY
184482011-09-07 Chong Yidong <cyd@stupidchicken.com>
18449
18450 * help-mode.el (help-mode): Restore autoload.
18451
91ab9c13
JL
184522011-09-07 Juri Linkov <juri@jurta.org>
18453
18454 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18455 `compilation-environment'. Set buffer-local
18456 `compilation-environment' to `thisenv' later after (funcall mode).
18457 (Bug#8340)
18458
18459 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18460 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18461 instead of replacing its value. (Bug#8340)
18462
0527e251
JL
184632011-09-07 Juri Linkov <juri@jurta.org>
18464
18465 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18466 based on text properties put by `grep-filter' instead of matching
18467 escape sequences.
18468 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18469 to the value of `grep-error-screen-columns' (bug#9438).
18470
249f792c
JL
184712011-09-07 Juri Linkov <juri@jurta.org>
18472
18473 * simple.el (next-error-highlight, next-error-highlight-no-select):
18474 Doc fix (bug#9432).
18475
ff7271b9
OT
184762011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18477
18478 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18479 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18480
183fc730
LL
184812011-09-07 Leo Liu <sdl.web@gmail.com>
18482
18483 * net/rcirc.el (rcirc-mode): Conditionally initialize
18484 rcirc-input-ring.
18485
77694924
SM
184862011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18487
18488 * emacs-lisp/find-func.el (find-function-C-source): Only set
18489 find-function-C-source-directory after checking that we found a source
18490 file there (bug#9440).
18491
d809b8eb
AM
184922011-09-06 Alan Mackenzie <acm@muc.de>
18493
18494 * isearch.el (isearch-other-meta-char): Wherever a key list is
18495 unread, "unread" the prefix arg, too. This fixes bug #8901.
18496
453de99f
OG
184972011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18498
18499 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18500
90439906
JL
185012011-09-05 Juri Linkov <juri@jurta.org>
18502
18503 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18504
f62bd846
JL
185052011-09-05 Juri Linkov <juri@jurta.org>
18506
18507 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18508 keeping point where processing of grep matches begins, and
18509 continue to delete remaining escape sequences from the same point.
18510 (grep-filter): Make leading zero optional in "0?1;31m" because
18511 git-grep emits "\033[1;31m" escape sequences unlike expected
18512 "\033[01;31m" as GNU Grep does (bug#9408).
18513 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18514
045820ec
JL
185152011-09-05 Juri Linkov <juri@jurta.org>
18516
18517 * subr.el (y-or-n-p): Capitalize "yes".
18518
f5e29b9b
MA
185192011-09-04 Michael Albinus <michael.albinus@gmx.de>
18520
18521 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18522 `tramp-cache-unload-hook' where appropriate.
18523 (tramp-methods): Rename `tramp-remote-sh' to
18524 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18525 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18526
18527 * net/tramp-sh.el (top): Don't require 'shell.
18528 (tramp-methods): Add `tramp-remote-shell' and
18529 `tramp-remote-shell-args' entries.
18530 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18531 (tramp-sh-handle-shell-command): Remove.
18532 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18533 Use `tramp-remote-shell'.
18534
2784c434
CY
185352011-09-03 Chong Yidong <cyd@stupidchicken.com>
18536
393a301e 18537 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
18538 (sendmail-query-once): Save directly to send-mail-function.
18539 Update message-send-mail-function too.
18540
18541 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18542
464cdf56
CS
185432011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18544
18545 * progmodes/python.el (python-mode-map): Use correct function to
18546 start python interpreter from menu-bar (as reported by Geert
18547 Kloosterman).
18548 (inferior-python-mode-map): Fix typo.
393a301e 18549 (python-shell-map): Remove.
464cdf56 18550
d37e5c87
DD
185512011-09-03 Deniz Dogan <deniz@dogan.se>
18552
18553 * net/rcirc.el (rcirc-print): Simplify code for
18554 rcirc-scroll-show-maximum-output. There is no need to walk
18555 through all windows to find the right one.
18556
f3ada0ee
CS
185572011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18558
18559 * help.el (help-return-method): Doc fix.
18560
1f3c99ca
MR
185612011-09-03 Martin Rudalics <rudalics@gmx.at>
18562
18563 * window.el (window-deletable-p): Don't return a non-nil value
18564 when there's a buffer that was shown in the window before.
18565 (Bug#9419)
393a301e
SM
18566 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18567 Set window's previous buffers to nil.
1f3c99ca 18568
a3cf097f
EZ
185692011-09-03 Eli Zaretskii <eliz@gnu.org>
18570
18571 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18572 newline before and after the tag line, so it doesn't interfere
18573 with determining the paragraph direction of bidirectional text.
18574
3d03de90
LL
185752011-09-03 Leo Liu <sdl.web@gmail.com>
18576
18577 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18578
c3313451
CY
185792011-09-02 Chong Yidong <cyd@stupidchicken.com>
18580
393a301e 18581 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
18582 (pop-to-buffer): Change interactive spec. Pass second argument
18583 directly to display-buffer.
18584 (display-buffer): Fix interactive spec. Use functionp to
18585 distinguish between a function and a list of functions.
18586
18587 * abbrev.el (edit-abbrevs):
18588 * arc-mode.el (archive-extract):
18589 * autoinsert.el (auto-insert):
18590 * bookmark.el (bookmark-bmenu-list):
18591 * files.el (find-file):
18592 * view.el (view-buffer):
18593 * progmodes/compile.el (compilation-goto-locus):
18594 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18595
89894cd8
CY
185962011-09-02 Chong Yidong <cyd@stupidchicken.com>
18597
18598 * window.el (display-buffer-alist): Doc fix.
18599 (display-buffer): Add docstring. Don't treat
18600 display-buffer-default specially.
18601 (display-buffer-reuse-selected-window)
18602 (display-buffer-same-window, display-buffer-maybe-same-window)
18603 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18604 (display-buffer-pop-up-window)
18605 (display-buffer-reuse-or-pop-window)
18606 (display-buffer-use-some-window): New functions.
18607 (display-buffer-default-action): Use them.
393a301e 18608 (display-buffer-default): Delete.
89894cd8
CY
18609 (pop-to-buffer-1): Fix choice of actions.
18610
ae0bc9fb
SM
186112011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18612
18613 * minibuffer.el (completion--insert-strings): Don't get confused by
18614 completion entries that end with an LF char.
18615
e9d90883
EZ
186162011-09-01 Eli Zaretskii <eliz@gnu.org>
18617
18618 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18619
437014c8
CY
186202011-09-01 Chong Yidong <cyd@stupidchicken.com>
18621
18622 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
18623 (display-buffer-same-window, display-buffer-other-window):
18624 New functions.
437014c8
CY
18625 (pop-to-buffer-1): New function. Use the above.
18626 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 18627 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
18628
18629 * view.el (view-buffer-other-window, view-buffer-other-frame):
18630 Just use pop-to-buffer.
18631
a5e063d5
TV
186322011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18633
18634 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18635
793d32bb
WH
186362011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18637
18638 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18639
d65e4c15
RS
186402011-08-31 Richard Stallman <rms@gnu.org>
18641
18642 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18643 of the separation of rmail-view-buffer from rmail-buffer.
18644 If you say no to "replace original", the decrypt is in the
18645 view buffer. If you say yes, the decrypt goes into the
18646 rmail buffer also.
18647
f818cd2a
MR
186482011-08-31 Martin Rudalics <rudalics@gmx.at>
18649
18650 * window.el (display-buffer-window): Rewrite doc-string.
18651 (display-buffer-record-window): New function.
18652 (display-buffer-macro-specifiers)
18653 (display-buffer-even-window-sizes, display-buffer-set-height)
18654 (display-buffer-set-width, display-buffer-in-window)
18655 (display-buffer-reuse-window, display-buffer-split-specifiers)
18656 (display-buffer-side-specifiers, display-buffer-split-window-1)
18657 (display-buffer-split-window, display-buffer-split-atom-window)
18658 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18659 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18660 (display-buffer-other-window-means-other-frame)
18661 (display-buffer-normalize-special)
18662 (display-buffer-normalize-default)
18663 (display-buffer-normalize-argument)
18664 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18665 (display-buffer-normalize-specifiers, display-buffer-frame)
18666 (display-buffer-same-window, display-buffer-same-frame)
18667 (display-buffer-other-window)
18668 (display-buffer-same-frame-other-window)
18669 (display-buffer-other-frame, pop-to-buffer-same-window)
18670 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18671 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18672 (switch-to-buffer-same-frame)
18673 (switch-to-buffer-other-window-same-frame)
18674 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18675 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18676 (display-buffer-alist-set): Remove.
18677 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
18678 (special-display-regexps, special-display-function):
18679 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
18680 parameter.
18681 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18682 (special-display-frame-alist, special-display-popup-frame)
18683 (same-window-buffer-names, same-window-regexps, same-window-p)
18684 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18685 (split-window-preferred-function, split-height-threshold)
18686 (split-width-threshold, window-splittable-p)
18687 (split-window-sensibly, window--try-to-split-window)
18688 (window--frame-usable-p, even-window-heights)
18689 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
18690 (window--display-buffer-2, display-buffer-other-frame):
18691 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
18692 (display-buffer-default, display-buffer-assq-regexp): New functions.
18693 (display-buffer-alist): Rewrite doc-string.
18694 (display-buffer-default-action)
18695 (display-buffer-overriding-action): New variables.
18696 (display-buffer, switch-to-buffer): Rewrite.
18697 (pop-to-buffer): Restore Emacs 23 behavior but use
18698 window-normalize-buffer-to-display.
18699 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18700 Restore Emacs 23 behavior but use
18701 window-normalize-buffer-to-switch-to.
18702 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
18703 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18704 Rewrite using Emacs 23 options.
f818cd2a 18705
5bc3b51d
MA
187062011-08-31 Michael Albinus <michael.albinus@gmx.de>
18707
18708 * net/tramp.el (tramp-root-regexp): Remove.
18709 (tramp-completion-file-name-regexp-unified)
18710 (tramp-completion-file-name-regexp-separate)
18711 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 18712 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
18713 (tramp-drop-volume-letter): Simplify definition.
18714 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 18715
b1a4f8e1
SM
187162011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18717
18718 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18719 (bug#9356).
18720
5664fa7b
RT
187212011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18722
b1a4f8e1 18723 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 18724
9a45d6c3
JL
187252011-08-29 Juri Linkov <juri@jurta.org>
18726
18727 * isearch.el (isearch-done): Don't display message "Mark saved"
18728 when arg `edit' is non-nil to prevent its flicker in the echo area.
18729
fb87e0fb
CY
187302011-08-28 Chong Yidong <cyd@stupidchicken.com>
18731
18732 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18733 obsolete packages for deletion.
18734
09ac1c2a
CS
187352011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18736
18737 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 18738 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
18739 view-mode from help-mode.
18740 (help-xref-override-view-map): Remove.
18741 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18742 view-mode is not used anymore.
18743
7a1ff57f
CY
187442011-08-28 Chong Yidong <cyd@stupidchicken.com>
18745
18746 * server.el (server-port): Doc fix.
18747
b9696605
CY
18748 * cus-theme.el (custom-theme-choose-mode): Inherit from
18749 special-mode (Bug#9124).
18750 (custom-theme-choose-mode-map): Add special-mode to parent.
18751
ef8cdf8c
AM
187522011-08-28 Alan Mackenzie <acm@muc.de>
18753
18754 * progmodes/cc-fonts.el
18755 (c-make-font-lock-BO-decl-search-function): New function.
18756 (c-basic-matchers-after - "Fontify the clauses after various
18757 keywords"): Extract the three keyword lists for the 3 erroneous
18758 constructs from the list of four, and use the new function above
18759 in place of an old one.
18760
27de4e20
DD
187612011-08-28 Deniz Dogan <deniz@dogan.se>
18762
18763 * net/rcirc.el (rcirc-insert-prev-input)
18764 (rcirc-insert-next-input): Remove unused argument.
18765
356a3681
SM
187662011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18767
18768 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18769
3fc9b218
AM
187702011-08-27 Alan Mackenzie <acm@muc.de>
18771
18772 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18773 handle function pointer parameters properly.
18774
538a061c
MR
187752011-08-27 Martin Rudalics <rudalics@gmx.at>
18776
18777 * window.el (display-buffer-reuse-window): Fix case where
18778 selected window was reused with non-nil OTHER-WINDOW argument.
18779 (Bug#9381)
18780
35b1c40c
DD
187812011-08-27 Deniz Dogan <deniz@dogan.se>
18782
18783 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18784 oftc's NickServ messages.
18785
2f6a3e79
GM
187862011-08-27 Glenn Morris <rgm@gnu.org>
18787
18788 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18789
7254299e
CY
187902011-08-26 Chong Yidong <cyd@stupidchicken.com>
18791
18792 * emacs-lisp/package.el (package-install): Call package-initialize
18793 if called interactively.
18794
f8ccf167
LL
187952011-08-26 Leo Liu <sdl.web@gmail.com>
18796
18797 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18798
3e8cd5ce
JL
187992011-08-25 Juri Linkov <juri@jurta.org>
18800
18801 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18802 `search-whitespace-regexp' (bug#9364).
18803
93eb7113
JL
188042011-08-25 Juri Linkov <juri@jurta.org>
18805
18806 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18807 `regexp-search-ring' to their global values to protect from
18808 updating by `read-from-minibuffer' (bug#9185).
18809
f65d1611
JL
188102011-08-25 Juri Linkov <juri@jurta.org>
18811
18812 * textmodes/ispell.el (ispell-command-loop): Add newline
18813 at the end of the "Use option `i'..." line.
18814
f1cf7a31
JL
188152011-08-25 Juri Linkov <juri@jurta.org>
18816
18817 * battery.el (display-battery-mode): If `battery-status-function'
18818 or `battery-mode-line-format' is nil, display the message and set
18819 `display-battery-mode' to nil (bug#9363).
18820
0c95fcf7
EZ
188212011-08-25 Eli Zaretskii <eliz@gnu.org>
18822
18823 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18824 bidi-string-mark-left-to-right; they are unnecessary now.
18825
a2ebe600
DD
188262011-08-25 Deniz Dogan <deniz@dogan.se>
18827
18828 * net/quickurl.el: Documentation typo fixes.
18829
e4ed06f1
CY
188302011-08-25 Chong Yidong <cyd@stupidchicken.com>
18831
18832 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18833
e5f1c99e
GM
188342011-08-25 Glenn Morris <rgm@gnu.org>
18835
b2948976
GM
18836 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18837
e5f1c99e
GM
18838 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18839 (smtpmail-via-smtp): Handle nil response from smtp.
18840
f22f4808
JL
188412011-08-24 Juri Linkov <juri@jurta.org>
18842
18843 * proced.el (proced-marked): Inherit from `error' instead of
18844 `font-lock-warning-face'.
18845
18846 * ibuffer.el (ibuffer-marked-face): Change default face from
18847 `font-lock-warning-face' to `warning'.
18848 (ibuffer-deletion-face): Change default face from
18849 `font-lock-type-face' to `error'.
18850
18851 * battery.el (battery-update): Use the face `error' instead of
18852 `font-lock-warning-face' (bug#6117).
18853
6a93965e
JL
188542011-08-24 Juri Linkov <juri@jurta.org>
18855
18856 * faces.el (success): Change face color from "Green3" to
18857 "ForestGreen" on light background (bug#9353).
18858
1ed43b09
CY
188592011-08-24 Chong Yidong <cyd@stupidchicken.com>
18860
5664fa7b
RT
18861 * window.el (quit-window): Rename from quit-restore-window.
18862 Use same arglist as old quit-window.
1ed43b09
CY
18863 (frame-auto-delete): Doc fix.
18864
18865 * view.el (view-mode-exit): Use quit-window.
18866
11dcdbb2
JL
188672011-08-24 Juri Linkov <juri@jurta.org>
18868
18869 * isearch.el (isearch-ring-adjust1): Start visiting previous
18870 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18871 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18872 for empty search string (when the last search string is reused
18873 automatically) to adjust the isearch ring to the last element and
18874 prepare the correct index for further M-p commands (bug#9185).
18875
de62b4df
KH
188762011-08-24 Kenichi Handa <handa@m17n.org>
18877
18878 * international/ucs-normalize.el: If decomposition property of
18879 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18880 nil.
18881 (nfd, nfkd): Likewise.
18882
963b492b
SM
188832011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18884
18885 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18886 from process filters aren't reliably transmitted to the surrounding
18887 accept-process-output.
18888 (mpc-proc-check): New function.
18889 (mpc-proc-sync): Use it (bug#8293)
18890
93b6b5e1
SM
188912011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18892
18893 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18894 Add compatibility functions (bug#9313).
18895
bca633fb
EZ
188962011-08-23 Eli Zaretskii <eliz@gnu.org>
18897
b177498a
EZ
18898 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18899
6df6ae42 18900 * international/uni-bidi.el: Regenerate.
bca633fb 18901
0902a04e
KH
189022011-08-23 Kenichi Handa <handa@m17n.org>
18903
18904 * international/charprop.el:
18905 * international/uni-bidi.el:
18906 * international/uni-category.el:
18907 * international/uni-combining.el:
18908 * international/uni-comment.el:
18909 * international/uni-decimal.el:
18910 * international/uni-decomposition.el:
18911 * international/uni-digit.el:
18912 * international/uni-lowercase.el:
18913 * international/uni-mirrored.el:
18914 * international/uni-name.el:
18915 * international/uni-numeric.el:
18916 * international/uni-old-name.el:
18917 * international/uni-titlecase.el:
18918 * international/uni-uppercase.el: Regenerate.
18919
3bbf23bc
MR
189202011-08-23 Martin Rudalics <rudalics@gmx.at>
18921
18922 * help.el (help-window-setup): Fix message displayed when other
18923 window is reused. (Bug#9341)
18924
b3fd59bd
SM
189252011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18926
1802e444
SM
18927 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18928 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18929
b3fd59bd
SM
18930 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18931 Mark obsolete.
18932 * shell.el (shell-parse-pcomplete-arguments): New function.
18933 (shell-completion-vars): Use it instead (bug#9160).
18934
4eb61348
SM
189352011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18936
867cab74
SM
18937 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18938 strings and comments (bug#9333).
18939
4eb61348
SM
18940 * emacs-lisp/debug.el (debug-arglist): New function.
18941 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18942 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18943
262a1439
JL
189442011-08-22 Juri Linkov <juri@jurta.org>
18945
56ee679c
JL
18946 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18947 Revert regexp that highlights output switches to its old
18948 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18949
262a1439
JL
18950 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18951 to check for empty output (bug#9226).
18952
f13f86fb
CY
189532011-08-22 Chong Yidong <cyd@stupidchicken.com>
18954
18955 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18956 symbol-constituent as the default, as that stops font-lock from
18957 working properly (Bug#8843).
18958
c65c9622
LMI
189592011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18960
18961 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18962 `coding-system-for-*' around the process open call to avoid
18963 auth-source side effects.
e7f2c178 18964 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
18965 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18966 probe hangs.
c65c9622 18967
23a8a5ab
CY
189682011-08-21 Chong Yidong <cyd@stupidchicken.com>
18969
ff98b2dd
CY
18970 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18971
23a8a5ab
CY
18972 * emacs-lisp/find-func.el (find-function-noselect): New arg
18973 lisp-only.
18974
18975 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18976 signal an error for built-in functions (Bug#6664).
18977
f5e3c598
LMI
189782011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18979
18980 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18981 (smtpmail-try-auth-methods): Use it.
18982
a3f2468a
CY
189832011-08-21 Chong Yidong <cyd@stupidchicken.com>
18984
2c34e8da
CY
18985 * font-lock.el (font-lock-fontify-region)
18986 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18987 (font-lock-default-unfontify-buffer)
18988 (font-lock-default-fontify-region)
18989 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18990
b3fd59bd
SM
18991 * progmodes/compile.el (compilation-error-properties):
18992 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
18993 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18994 `ant' regexp.
ee31aabc 18995
a3f2468a
CY
18996 * net/browse-url.el (browse-url-firefox): Don't call
18997 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18998
8e999f70
GM
189992011-08-20 Glenn Morris <rgm@gnu.org>
19000
c21a496a
GM
19001 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19002
59ee0542
GM
19003 * tutorial.el (tutorial--default-keys): Update some default bindings.
19004
8e999f70
GM
19005 * files.el (hack-local-variables): Fully ignore case for "mode:".
19006
e3715033
AM
190072011-08-20 Alan Mackenzie <acm@muc.de>
19008
19009 Resolve invalid use of a regexp in regexp-opt.
19010
4d61f28d
JB
19011 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19012 detection for a java annotation.
e3715033 19013
4d61f28d 19014 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
19015 detection for a java annotation.
19016
4d61f28d
JB
19017 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19018 handling for java.
e3715033
AM
19019 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19020
04ed2e9c
CY
190212011-08-20 Chong Yidong <cyd@stupidchicken.com>
19022
19023 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19024 (Bug#9274).
19025
826cee64
AM
190262011-08-20 Alan Mackenzie <acm@muc.de>
19027
58179cce 19028 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
19029 such a construct. Mainly for when jit-lock etc. starts a chunk
19030 here.
19031
58179cce 19032 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 19033 variable.
58179cce 19034 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
19035 c-make-font-lock-search-function.
19036 (c-make-font-lock-search-function): Use the above function.
19037 (c-make-font-lock-context-search-function): New function.
19038 (c-cpp-matchers): Enhance the preprocessor expression case with
19039 the above function
19040 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19041 which takes an expression.
19042
19043 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19044
13009bd8
MR
190452011-08-20 Martin Rudalics <rudalics@gmx.at>
19046
19047 * window.el (display-buffer-reuse-window)
19048 (display-buffer-pop-up-window): Don't reuse or split a side
19049 window.
19050
9234ff7f
GM
190512011-08-19 Glenn Morris <rgm@gnu.org>
19052
19053 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 19054 Downcase "Mode:". (Bug#9331)
9234ff7f 19055
f635daa1
CY
190562011-08-18 Chong Yidong <cyd@stupidchicken.com>
19057
19058 * international/characters.el: Add L and R categories.
19059
19060 * subr.el (bidi-string-mark-left-to-right): Rename from
19061 string-mark-left-to-right. Use category search.
19062
19063 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19064
bc987f8b
JL
190652011-08-18 Juri Linkov <juri@jurta.org>
19066
19067 * faces.el (error, warning, success): New faces with definitions
19068 copied from old default values of `font-lock-warning-face',
19069 `compilation-warning', `compilation-info' (bug#6117).
19070
19071 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19072
19073 * progmodes/compile.el (compilation-error): Inherit from `error'.
19074 (compilation-warning): Inherit from `warning'.
19075 (compilation-info): Inherit from `success'.
19076
19077 * dired.el (dired-marked): Inherit from `warning'.
19078 (dired-flagged): Inherit from `error'.
19079
57173b96
LMI
190802011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19081
3e79eb87
LMI
19082 * mail/smtpmail.el (auth-source): Require to avoid problems with
19083 binding variables (bug#9298). Also clean up some unused
19084 autoloads.
19085
b3fd59bd
SM
19086 * net/network-stream.el (network-stream-open-starttls):
19087 Support using starttls.el without using gnutls-cli.
57173b96 19088
02b404de
JL
190892011-08-17 Juri Linkov <juri@jurta.org>
19090
19091 * progmodes/grep.el (rgrep): Handle the case when
19092 `grep-find-command' is a cons cell (bug#9278).
19093
8c9177f2
MR
190942011-08-17 Martin Rudalics <rudalics@gmx.at>
19095
19096 * window.el (display-buffer-pop-up-frame): Run frame creation
19097 function with BUFFER current (as special-display-popup-frame
19098 does). Reported by Drew Adams.
19099
3644a0ab
DU
191002011-08-17 Daiki Ueno <ueno@unixuser.org>
19101
19102 * epa-mail.el: Simplify GnuPG group expansion using
19103 epg-expand-group.
19104 (epa-mail-group-alist, epa-mail-group-modtime)
19105 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19106 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19107 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19108 Remove.
19109
5e617bc2 191102011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
19111
19112 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19113
9c4aeabf
AM
191142011-08-16 Alan Mackenzie <acm@muc.de>
19115
19116 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19117 Correct, to avoid the inside of macros.
19118
3a99bf64
RS
191192011-08-16 Richard Stallman <rms@gnu.org>
19120
04963aa8
RS
19121 * epa-mail.el: Handle GnuPG group definitions.
19122 (epa-mail-group-alist, epa-mail-group-modtime)
19123 (epa-mail-gnupg-conf-file): New variables.
19124 (epa-mail-parse-groups, epa-mail-sync-groups)
19125 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19126 (epa-mail-expand-recipients): New functions.
19127 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19128
177549d0
RS
19129 * mail/rmail.el (rmail-epa-decrypt): New command.
19130
fe38beef
RS
19131 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19132 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
19133 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19134 (epa-decrypt-armor-in-region): Make error message clearer.
19135
934eacb9
SM
191362011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19137
19138 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19139 and "a2b" to "ab" for `prefix'.
19140
d024fb4e
CY
191412011-08-14 Chong Yidong <cyd@stupidchicken.com>
19142
19143 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19144 filter groups.
de148fee
CY
19145 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19146 Fourquet (Bug#8804).
d024fb4e 19147
62f1ca49
JB
191482011-08-12 Juanma Barranquero <lekktu@gmail.com>
19149
19150 * startup.el (argi): Declare as global variable (bug#9275).
19151
9ccaaa4b
CY
191522011-08-12 Chong Yidong <cyd@stupidchicken.com>
19153
19154 * subr.el (string-mark-left-to-right): Search the entire string
19155 for RTL script, not just the terminating character. Doc fix.
19156
a3dae87a
SM
191572011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19158
6cd18349
SM
19159 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19160 New function.
19161 (js--regexp-literal, js-syntax-propertize-function): Remove.
19162 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19163 (js-mode-map): Don't rebind electric keys.
19164 (js-insert-and-indent): Remove.
19165 (js-mode): Setup electric-layout and electric-indent instead.
19166
a3dae87a
SM
19167 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19168
9d5cb631
DU
191692011-08-12 Daiki Ueno <ueno@unixuser.org>
19170
19171 * epa.el (epa-progress-callback-function): Fix the logic of
19172 displaying progress.
19173 * epa-file.el (epa-file-insert-file-contents): Make progress
19174 display more user-friendly.
19175 (epa-file-write-region): Ditto.
19176
3e26a4a2
CY
191772011-08-10 Chong Yidong <cyd@stupidchicken.com>
19178
19179 * subr.el (string-mark-left-to-right): New function.
19180
19181 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19182 Use string-mark-left-to-right.
19183 (list-buffers-noselect): Caller changed.
19184
a3dae87a
SM
19185 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19186 Use string-mark-left-to-right.
3e26a4a2
CY
19187 (tabulated-list-print): Recenter after moving point.
19188
ac8cf6e6
JL
191892011-08-10 Juri Linkov <juri@jurta.org>
19190
19191 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19192 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19193 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19194
8d96c9a4
CY
191952011-08-09 Chong Yidong <cyd@stupidchicken.com>
19196
19197 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19198 (Bug#7554).
19199
7be1c708 192002011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
19201
19202 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19203 character. (Bug#6594)
19204
37e11a63
CY
192052011-08-08 Chong Yidong <cyd@stupidchicken.com>
19206
839dde57
CY
19207 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19208 (image-dired--with-db-file): New macro.
19209 (image-dired-write-tags, image-dired-remove-tag)
19210 (image-dired-create-gallery-lists, image-dired-write-comments)
19211 (image-dired-get-comment, image-dired-mark-tagged-files)
19212 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19213 (image-dired-gallery-generate): Use insert-file-contents.
19214
37e11a63
CY
19215 * time.el (display-time-world-list, display-time-world-display):
19216 * time-stamp.el (time-stamp-string):
19217 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19218 set-time-zone-rule (Bug#7337).
19219
0b4946c4
DU
192202011-08-08 Daiki Ueno <ueno@unixuser.org>
19221
19222 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19223 (epg-error-to-string, epg-errors-to-string): New function.
19224 (epg-wait-for-completion): Reverse errors list.
19225 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19226 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19227 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19228 (epg-sign-keys, epg-generate-key-from-file)
19229 (epg-generate-key-from-string): Format errors by using
19230 epg-errors-to-string (bug#9255).
19231 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19232
75bfc667
JL
192332011-08-07 Juri Linkov <juri@jurta.org>
19234
19235 * faces.el (list-faces-display): Remove extra angle bracket
19236 from `help-mode-map'.
19237
19238 * info.el (Info-history-toc-nodes): Doc fix.
19239
19240 * longlines.el (longlines-mode): Doc fix.
19241
673e08bb
SM
192422011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19243
4640dd88
SM
19244 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19245 of statements and in a few more cases (bug#9183).
19246
673e08bb
SM
19247 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19248 New functions.
19249 (cl-transform-lambda): Use them (bug#9239).
19250
89b3f019
MR
192512011-08-05 Martin Rudalics <rudalics@gmx.at>
19252
19253 * window.el (display-buffer-same-window)
19254 (display-buffer-same-frame, display-buffer-other-window)
19255 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19256 (pop-to-buffer-other-window)
19257 (pop-to-buffer-same-frame-other-window)
19258 (pop-to-buffer-other-frame): Make them defuns.
19259 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19260
640c8776
SM
192612011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19262
19263 * subr.el (make-composed-keymap): Move from C. Change calling
19264 convention, and improve docstring to bring attention to a subtle point.
19265 * minibuffer.el (completing-read-default): Adjust accordingly.
19266
63648a95
MA
192672011-08-03 Michael Albinus <michael.albinus@gmx.de>
19268
19269 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19270 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19271
19272 * net/trampver.el: Update release number.
19273
b796c9b7
SM
192742011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19275
19276 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19277 "in" (bug#9190).
19278
2239d7d5
LMI
192792011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19280
e07dd7c3
LMI
19281 * mail/sendmail.el (sendmail-query-once): Restore the current
19282 buffer after querying (bug#9074).
19283
0e6a2bd7
LMI
19284 * dired.el (dired-flagged): Use different faces for marked and
19285 flagged files (bug#6117).
19286
ce887515
LMI
19287 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19288 (bug#4433).
19289
92f2affc
LMI
19290 * ido.el (ido-mode): Switch off the message if called
19291 non-interactively.
19292
57d5aff0
LMI
19293 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19294 before 587, since it appears that that's more likely to work for
19295 more people.
19296
98cd6c18 19297 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 19298 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
19299 exist.
19300
b96dec83
LMI
19301 * info.el: Remove the `Info-beginning-of-buffer' function
19302 (bug#8325).
19303
b796c9b7
SM
19304 * net/network-stream.el (network-stream-open-starttls):
19305 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 19306
d90e2ea0
MR
193072011-08-01 Martin Rudalics <rudalics@gmx.at>
19308
19309 * window.el (display-buffer-in-window): Don't set dedicated status
19310 of window here (Bug#9215).
19311 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19312 (display-buffer-pop-up-side-window)
b796c9b7 19313 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 19314
cca09170
SM
193152011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19316
19317 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19318 before binding generated-autoload-file.
19319
027b979c
DD
193202011-08-01 Deniz Dogan <deniz@dogan.se>
19321
19322 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19323
3c7ee4f3
MA
193242011-07-30 Michael Albinus <michael.albinus@gmx.de>
19325
19326 Sync with Tramp 2.2.2.
19327
19328 * net/trampver.el: Update release number.
19329
2cc8e51a
JL
193302011-07-30 Juri Linkov <juri@jurta.org>
19331
19332 * dired-aux.el (dired-touch-initial): Remove function.
19333 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19334 current time, and `default' to the last modification time of the
19335 current marked file (bug#6887).
19336
a514d856
JM
193372011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19338
19339 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 19340 numeric argument to read-number (bug#9163).
a514d856 19341
8a7eddd7
MA
193422011-07-27 Michael Albinus <michael.albinus@gmx.de>
19343
19344 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19345 connection process, it could be nil.
19346
1ddd96f5
LL
193472011-07-27 Leo Liu <sdl.web@gmail.com>
19348
19349 Simplify url handling in rcirc-mode.
19350
19351 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19352 (rcirc-browse-url-at-mouse): Remove.
19353 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19354
b248a85d
AM
193552011-07-26 Alan Mackenzie <acm@muc.de>
19356
19357 Fontify bitfield declarations properly.
19358
19359 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19360 (c-symbol-chars): Now exported as a lang variable.
19361 (c-not-primitive-type-keywords): New lang variable.
19362
19363 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19364 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 19365 parsed as a bitfield declaration.
b248a85d 19366
b796c9b7
SM
19367 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19368 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
19369 (c-punctuation-in): New function.
19370 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19371 declarations properly.
19372
68575ab0
UJ
193732011-07-26 Ulf Jasper <ulf.jasper@web.de>
19374
19375 * calendar/icalendar.el (icalendar--all-events): Take care of
19376 multiple vcalendars in a single file.
b796c9b7 19377 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 19378
0f0a88b9
DD
193792011-07-25 Deniz Dogan <deniz@dogan.se>
19380
19381 * image.el (insert-image): Clarifying docstring.
19382
0b3f36df
MA
193832011-07-24 Michael Albinus <michael.albinus@gmx.de>
19384
19385 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19386 `tramp-send-command-and-check' if there is no error.
19387 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19388
a9901f61
AM
193892011-07-22 Alan Mackenzie <acm@muc.de>
19390
19391 Prevent cc-langs.elc being loaded at run time.
19392
19393 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19394 cc-langs.
19395
4d61f28d 19396 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
19397 "(require 'cc-langs)". Quote a form so it will evaluate at
19398 (cc-mode's) compilation time.
19399
11d074b2
MA
194002011-07-22 Michael Albinus <michael.albinus@gmx.de>
19401
19402 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19403 loading. (Bug#9114)
19404
938b94c8
MR
194052011-07-21 Martin Rudalics <rudalics@gmx.at>
19406
19407 * window.el (display-buffer-pop-up-window)
19408 (display-buffer-pop-up-side-window)
19409 (display-buffer-in-side-window): Call display-buffer-set-height
19410 and display-buffer-set-width after setting the new window's
b796c9b7 19411 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 19412
bfa4f190
SS
194132011-07-20 Sam Steingold <sds@gnu.org>
19414
19415 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19416 (etags-tags-included-tables): Call `convert-standard-filename' on
19417 the file names contained in TAGS so that windows Emacs can handle
19418 TAGS files created by cygwin ctags.
19419
8ca42262
LMI
194202011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19421
19422 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19423 which apparently didn't work.
19424
5db2afd2 194252011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 19426
5db2afd2
RW
19427 * proced.el (proced-send-signal): For *Marked Processes* buffer
19428 put point at beginning of buffer.
19429
92e15d10
SB
194302011-07-19 Stephen Berman <stephen.berman@gmx.net>
19431
19432 * proced.el (proced-format): Make header lines align with the text
19433 (bug#1779).
19434
1bfd59e5
LMI
194352011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19436
19437 * view.el (view-buffer): Allow running in `special' modes if we're
19438 visiting a file (bug#8615).
19439
f5aae37c
MR
194402011-07-19 Martin Rudalics <rudalics@gmx.at>
19441
19442 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
19443 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19444 New functions.
f5aae37c
MR
19445 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19446 more accurately.
19447
bf2c1571
AM
194482011-07-18 Alan Mackenzie <acm@muc.de>
19449
19450 Fontify declarators properly when, e.g., a jit-lock chunk begins
19451 inside a declaration.
19452
19453 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19454
b796c9b7
SM
19455 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19456 New function.
bf2c1571
AM
19457 (c-complex-decl-matchers): Insert reference to
19458 c-font-lock-enclosing-decls.
19459
19460 * progmodes/cc-engine.el (c-backward-single-comment):
19461 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19462 to nil around calls to (forward-comment -1).
19463
4e190b80
LMI
194642011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19465
12dc863d
LMI
19466 * image.el (put-image): Doc typo fix.
19467
a762e966
LMI
19468 * progmodes/etags.el (tags-search): Doc typo fix.
19469
4e190b80
LMI
19470 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19471 password if we get errors 550 to 554.
19472
f019fb21
LMI
194732011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19474
b796c9b7 19475 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 19476
81746738
LMI
19477 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19478 indentation character (bug#6380).
19479
3ee3a1b5
LMI
19480 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19481
c82f64de
LMI
19482 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19483 to clarify what the problem is (bug#4291).
19484
f019fb21
LMI
19485 * simple.el (current-kill): Clarify what
19486 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
19487 (auto-fill-mode): Document `auto-fill-function' in relation to
19488 `auto-fill-mode' (bug#2470).
f019fb21 19489
0794775d
LM
194902011-07-16 Lawrence Mitchell <wence@gmx.li>
19491
19492 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19493 method if slot is read-only (bug#9035).
19494
be39b8cc
MR
194952011-07-16 Martin Rudalics <rudalics@gmx.at>
19496
b796c9b7 19497 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 19498 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
19499 selected before, see discussion of (Bug#8615), (Bug#6954).
19500 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 19501
6ccf7859
GM
195022011-07-15 Glenn Morris <rgm@gnu.org>
19503
19504 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 19505 Respect help-form.
6ccf7859 19506
87e86684
LM
195072011-07-09 Lawrence Mitchell <wence@gmx.li>
19508
19509 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19510 (gnutls-negotiate): Use it.
19511
d6066239
LMI
195122011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19513
b796c9b7
SM
19514 * net/gnutls.el (gnutls-negotiate):
19515 Upcase `gnutls-algorithm-priority'.
d6066239 19516
bd23ebc0
GM
195172011-07-15 Glenn Morris <rgm@gnu.org>
19518
c65bca65
GM
19519 * jka-compr.el (jka-compr-verbose): Move from here...
19520 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19521 Add missing :version tag.
19522 * info.el: No need to require jka-compr when compiling.
bd23ebc0 19523
478615cc
LMI
195242011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19525
7b41decb
LMI
19526 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19527 (gnutls-negotiate): Use it.
19528
dbc44fcd
LMI
19529 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19530
06789f97
LMI
19531 * info.el (Info-beginning-of-buffer): New command.
19532 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19533 announcing `b' as the key (bug#8325).
ab896c37 19534 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 19535
c39da690
LMI
19536 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19537
3aa5f34b
LMI
19538 * international/mule-cmds.el
19539 (describe-specified-language-support): Make the error message
19540 clearer (bug#8905).
19541
4bf0979f
LMI
19542 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19543
478615cc
LMI
19544 * isearch.el (isearch-barrier): Add a doc string, since it's
19545 mentioned in a function doc string (bug#8678).
19546
75c68aa1
MR
195472011-07-15 Martin Rudalics <rudalics@gmx.at>
19548
19549 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19550 buffer argument (Bug#9083) and self-identifying label argument.
19551
a7c33da2
GM
195522011-07-15 Glenn Morris <rgm@gnu.org>
19553
19554 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19555
2f5c6024
LMI
195562011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19557
19558 * man.el (Man-fontify-manpage): Fix message when formatting the
19559 man page (bug#7929).
19560
0bb23927 195612011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
19562
19563 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19564 argument LRM; if non-nil, append an invisible LRM character to the
19565 buffer name.
19566 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19567 last argument non-nil, when formatting buffer names.
0bb23927
EZ
19568 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19569 paragraph direction.
cce4b0a7 19570
621ef9ab
LMI
195712011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19572
d1583c48
LMI
19573 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19574 the man page name (bug#7929).
19575
6a57fb5f
LMI
19576 * image.el (put-image): Mention the `put-image' overlay property
19577 (bug#7834).
19578
d7956b14
LMI
19579 * scroll-bar.el (set-scroll-bar-mode): Mention that
19580 `scroll-bar-mode' lists the values (bug#7772).
19581
5b2d4a66
LMI
19582 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19583 command (bug#7729).
19584
7509a874
LMI
19585 * rect.el (apply-on-rectangle): Return the point after the last
19586 operation.
19587 (string-rectangle): Go to the point after the last operation
19588 (bug#7522).
19589
4fe74b19
LMI
19590 * printing.el (pr-toggle-region): Clarify the documentation
19591 slightly (bug#7493).
19592
b796c9b7
SM
19593 * time.el (display-time-update):
19594 Allow `display-time-mail-function' to return nil (bug#7158).
19595 Fix suggested by Detlev Zundel.
ab283561 19596
fc233c9d
LMI
19597 * vc/diff.el (diff): Clarify the order the file names are read
19598 (bug#7111).
19599
43f5740b
LMI
19600 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19601 the doc string (bug#7015).
19602
f2182a76
LMI
19603 * font-lock.el (font-lock-maximum-decoration): Mention what
19604 numeric levels mean (bug#6935).
19605
621ef9ab
LMI
19606 * startup.el (initial-buffer-choice): Don't mention the `none'
19607 selection, which is against policy.
19608
adc47434
MR
196092011-07-14 Martin Rudalics <rudalics@gmx.at>
19610
b796c9b7
SM
19611 * window.el (display-buffer-normalize-special):
19612 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 19613
7e5bfb8f
EZ
196142011-07-14 Eli Zaretskii <eliz@gnu.org>
19615
19616 * subr.el (version<, version<=, version=): Mention "-CVS" and
19617 "-12345" alpha version numbers.
19618
27fa387a
CY
196192011-07-14 Chong Yidong <cyd@stupidchicken.com>
19620
19621 * bindings.el: Add advertised binding for set-mark-command
19622 (Bug#5772).
19623
8bdfa064
CY
196242011-07-14 Chong Yidong <cyd@stupidchicken.com>
19625
19626 * bindings.el (mode-line-other-buffer):
19627 * bookmark.el (bookmark-bmenu-2-window):
19628 * bs.el (bs-cycle-next, bs-cycle-previous):
19629 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19630 switch-to-buffer.
19631
19632 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 19633 Delete.
8bdfa064 19634
5eba16a3
JB
196352011-07-14 Juanma Barranquero <lekktu@gmail.com>
19636
19637 * follow.el (follow-debug-message, follow-redisplay):
19638 * jka-cmpr-hook.el (with-auto-compression-mode):
19639 Fix typos in docstrings.
19640
15853710
LMI
196412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19642
a28e4607
LMI
19643 * subr.el (with-silent-modifications): Clarify somewhat what the
19644 macro inhibits (bug#6525).
19645
15853710
LMI
19646 * simple.el (eval-expression): Note what it does if called
19647 interactively (bug#6495).
19648
bee0fcef
CY
196492011-07-13 Chong Yidong <cyd@stupidchicken.com>
19650
b796c9b7
SM
19651 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19652 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
19653
19654 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19655 Remove switch-to-buffer.
19656
58274504
LMI
196572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19658
bd2fcc8d
LMI
19659 * files.el (make-directory): Clarify that an error will be raised
19660 if there's an error (bug#6397).
19661
0f04b32c
LMI
19662 * startup.el (initial-buffer-choice): Add `none' as a choice
19663 (bug#6234).
19664
465c5fc8
LMI
19665 * subr.el (add-hook): Clarify section about buffer-local hooks
19666 (bug#6218).
19667
58274504
LMI
19668 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19669
bead9a43
JB
196702011-07-13 Juanma Barranquero <lekktu@gmail.com>
19671
19672 * tabify.el (untabify): Preserve the current column so that point
19673 doesn't move (bug#6032).
19674
3af98a7b
LMI
196752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19676
b796c9b7
SM
19677 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19678 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 19679
6240145a
GM
196802011-07-13 Glenn Morris <rgm@gnu.org>
19681
19682 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19683 (dired-insert-directory): Give a message the first time
19684 if ls is found not to support --dired.
19685
1d8c2ccc
LMI
196862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19687
19688 * simple.el (toggle-truncate-lines): Clarify what is toggled
19689 (bug#5580). Text by Drew Adams.
19690
5fc4038e
CY
196912011-07-13 Chong Yidong <cyd@stupidchicken.com>
19692
19693 * simple.el (blink-matching-open): Make the error message from the
19694 last change less verbose.
19695
bf6012e5
DN
196962011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19697
19698 * font-lock.el (font-lock-comment-face): Use the high contrast
19699 "yellow" color for font-lock-comment-face on low color terminals
19700 using a dark background color (bug#4221).
19701
343c3b5a
LMI
197022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19703
7e9505c5
LMI
19704 * dired.el (dired-insert-set-properties): Make the doc string
19705 reflect what it does now (bug#5325).
19706
c26fdcf5
LMI
19707 * simple.el (blink-matching-open): Say that we were unable to find
19708 the match within the limit, if we're limited (bug#5122).
19709
bb388cc5
LMI
19710 * international/mule-cmds.el (prefer-coding-system): Add an
19711 example (bug#4869).
19712
343c3b5a
LMI
19713 * progmodes/etags.el (tags-search): Document `file-list-form'
19714 (bug#4731).
19715
2a517d45
LM
197162011-07-13 Lawrence Mitchell <wence@gmx.li>
19717
19718 * net/browse-url.el (browse-url-default-browser)
19719 (browse-url-browser-function): Make the default browser choice a
19720 bit more logical (bug#4300). Also clean up the doc string.
19721
b6c78ef2
JB
197222011-07-13 Juanma Barranquero <lekktu@gmail.com>
19723
19724 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19725 binary endings (bug#4440).
19726
1c4dd947
LMI
197272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19728
a2014063
LMI
19729 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19730 which can be pretty annoying (bug#8971).
19731
9c9c2d88
LMI
19732 * jka-compr.el (jka-compr-verbose): New variable, and use
19733 throughout (bug#8971).
19734
1c4dd947
LMI
19735 * info.el (Info-find-file): Fall back on the installation
19736 directory if we can't find the info node anywhere else.
19737
a1c9f41b
SO
197382011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19739
19740 * vc/vc.el (vc-revert-file):
19741 Don't set file time-stamp in the past. (Bug#5181)
19742
536f3d36
LMI
197432011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19744
7152b011
LMI
19745 * files.el (after-find-file): Give a better error message when
19746 trying to find a symlink that points to a file that doesn't exist
19747 (bug#4398).
19748
536f3d36
LMI
19749 * progmodes/cc-vars.el: Remove (probably) misleading comment
19750 (bug#4396).
19751
460c0fba
JB
197522011-07-12 Johan Bockgård <bojohan@gnu.org>
19753
19754 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19755
7a6bda45
CY
197562011-07-12 Chong Yidong <cyd@stupidchicken.com>
19757
19758 * mouse-sel.el: Hack restoring functionality, while keeping
19759 compatibility with 2010-07-03 changes to mouse selection.
19760 (mouse-sel-primary-overlay): New var.
19761 (mouse-sel-selection-alist): Use it.
19762 (mouse-sel-mode): Doc fix; remove points that are default features
19763 of mouse.el.
19764
c79598ef
JB
197652011-07-12 Johan Bockgård <bojohan@gnu.org>
19766
19767 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19768 Fix previous fix (bug#2490).
19769
ff8be6ef
RW
197702011-07-12 Roland Winkler <winkler@gnu.org>
19771
b796c9b7
SM
19772 * textmodes/bibtex.el (bibtex-initialize):
19773 Use pop-to-buffer-same-window.
ff8be6ef
RW
19774 (bibtex-search-entries): Fix interactive call.
19775
296ba3ee
LMI
197762011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19777
f5242a02 19778 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
19779 Fontise bytecomp Error lines more correctly (bug#2490).
19780 Fix suggested by Johan Bockgård.
f5242a02 19781
296ba3ee
LMI
19782 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19783
19784 * dired-x.el (dired-guess-default): Use `delete-dups'.
19785
f69fd0d2
CY
197862011-07-12 Chong Yidong <cyd@stupidchicken.com>
19787
19788 * dired.el (dired-mark-prompt):
19789 * dired-aux.el (dired-read-shell-command): Doc fix.
19790
eab5dc07
LMI
197912011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19792
b796c9b7
SM
19793 * mail/sendmail.el (sendmail-query-once):
19794 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
19795 emacs -Q.
19796
19797 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19798
eab5dc07
LMI
19799 * cus-edit.el (custom-file): Take an optional no-error variable.
19800 (customize-save-variable): Set the variable, and give a warning if
19801 running under "emacs -q".
19802
a1e65d42
JB
198032011-07-11 Juanma Barranquero <lekktu@gmail.com>
19804
19805 * loadhist.el (unload-feature-special-hooks):
19806 Add `auto-coding-functions', `fill-nobreak-predicate' and
19807 `find-directory-functions' (bug#5327).
19808
1d52da10
LMI
198092011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19810
be958f1d
LMI
19811 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19812
5bedb26c
LMI
19813 * cus-edit.el (custom-guess-name-alist): -alist variables should
19814 use the `alist' type (bug#3120). Suggested by Drew Adams.
19815
1d52da10
LMI
19816 * printing.el: Add documentation to all the `pr-toggle-' commands.
19817
cd394be1 198182011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
19819
19820 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19821 backends where it makes sense (bug#2623).
19822
dcc88d8a
LMI
198232011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19824
c3de9feb
LMI
19825 * dired-x.el (dired-guess-default): Remove duplicate shell command
19826 entries (bug#2028).
8a93078b 19827 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 19828 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 19829
dcc88d8a
LMI
19830 * subr.el (remove-duplicates): New conveniency function.
19831
505e3645
LMI
198322011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19833
19834 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19835 (bug#1526).
19836
198372011-07-10 Martin Rudalics <rudalics@gmx.at>
19838
19839 * window.el (display-buffer-normalize-default): Don't invert
19840 meaning of even-window-heights. Reported by Eli Zaretskii
19841 <eliz@gnu.org>.
19842
455e4fa1
BR
198432011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19844
19845 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19846
8e0bc3e9
CY
198472011-07-10 Chong Yidong <cyd@stupidchicken.com>
19848
19849 * window.el (display-buffer): Fix arguments to
19850 display-buffer-reuse-window in last change.
19851
fa7c3228
CY
19852 * faces.el (link): Use a less saturated blue on light backgrounds.
19853
19854 * startup.el (fancy-startup-text, fancy-about-text)
19855 (fancy-startup-tail): Use font-lock faces, for background safety.
19856
c0a7f300
BN
198572011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19858
b796c9b7
SM
19859 * emulation/viper-cmd.el (viper-change-state-to-vi):
19860 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 19861
4dc2a129
MR
198622011-07-09 Martin Rudalics <rudalics@gmx.at>
19863
19864 * window.el (display-buffer-default-specifiers): Remove.
19865 (display-buffer-macro-specifiers): Remove default specifiers.
19866 (display-buffer-alist): Default to nil.
b796c9b7 19867 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
19868 (display-buffer-pop-up-window): Allow splitting internal
19869 windows. Check whether a live window was created.
19870 (display-buffer-other-window-means-other-frame)
19871 (display-buffer-normalize-arguments): Rename to
19872 display-buffer-normalize-argument and rewrite. Set the
19873 other-window specifier.
19874 (display-buffer-normalize-special): New function.
19875 (display-buffer-normalize-options): Rename to
19876 display-buffer-normalize-default and rewrite.
19877 (display-buffer-normalize-options-inhibit): Remove.
19878 (display-buffer-normalize-specifiers): Rewrite.
19879 (display-buffer): Process other-window specifier and call
19880 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19881 more faithfully.
b796c9b7 19882 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 19883 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
19884 (display-buffer-in-window, display-buffer-alist-set):
19885 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
19886 <tassilo@member.fsf.org>.
19887
2d43b8c9
LL
198882011-07-09 Leo Liu <sdl.web@gmail.com>
19889
19890 * register.el (insert-register): Restore accidental change on
19891 2011-06-26. (Bug#9028)
19892
7f9b7c53
GM
198932011-07-09 Glenn Morris <rgm@gnu.org>
19894
19895 * subr.el (remq): Handle the empty list. (Bug#9024)
19896
f042cfd8
AS
198972011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19898
19899 * mail/sendmail.el (send-mail-function): No longer delay custom
19900 initialization.
19901 * custom.el (custom-initialize-delay): Doc fix.
19902
856b2f11
SM
199032011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19904
19905 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19906
afae1d68
MA
199072011-07-08 Michael Albinus <michael.albinus@gmx.de>
19908
19909 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19910 human-friendly prompt.
19911
0757af94
SM
199122011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19913
19914 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19915 provided by a particular plugin.
19916
d760b731
LMI
199172011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19918
19919 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19920 save customizations (with "emacs -Q"), just set the variable
19921 instead of erroring out.
19922
19923 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19924
cd79ce90
JL
199252011-07-08 Juri Linkov <juri@jurta.org>
19926
19927 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19928 (archive-zip-update-case): Use 7z if found by `executable-find'.
19929 The order of searching the available programs is the same as in
19930 `archive-zip-extract' (bug#8968).
19931
14cc04aa
CY
199322011-07-07 Chong Yidong <cyd@stupidchicken.com>
19933
19934 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19935 (menu-bar-options-menu): Tweak descriptions.
19936
0a1848ec
LMI
199372011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19938
19939 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19940 menu items into verb phrases (bug#1421). Also refill to fit under
19941 80 columns.
19942
f5bd0689
CY
199432011-07-07 Chong Yidong <cyd@stupidchicken.com>
19944
538e85c6
CY
19945 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19946 (Info-read-node-name): Doc fix (Bug#1084).
19947
f5bd0689
CY
19948 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19949 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19950 (end-of-sexp, beginning-of-sexp)
19951 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19952 (forward-symbol, forward-same-syntax, word-at-point)
19953 (sentence-at-point): Doc fix (Bug#1144).
19954
56ec5115
LMI
199552011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19956
f3f8e37f
LMI
19957 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19958 should cover it (bug#1281).
19959
0757af94 19960 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 19961
e9fce1ac 19962 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
19963 negotiation fails, then possibly try again with a non-encrypted
19964 connection (bug#9017).
19965
56ec5115
LMI
19966 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19967 be used.
19968
c2f9aec8
RS
199692011-07-07 Richard Stallman <rms@gnu.org>
19970
19971 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19972 property, and handle its changed format.
19973 Look for the correct line number.
19974 Use file's line contents (but not past first =) to find
19975 correct line in message.
19976
ef7b981d 199772011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
19978
19979 * international/characters.el (build-unicode-category-table):
19980 Delete it.
0757af94 19981 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 19982
0757af94 19983 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
19984 to src/chartab.c.
19985 (get-char-code-property): Call unicode-property-table-internal to
19986 load a file. Call get-unicode-property-internal where necessary.
19987 (put-char-code-property): Call unicode-property-table-internal to
19988 load a file. Call put-unicode-property-internal where necessary.
19989 put-unicode-property-internal where necessary.
0757af94
SM
19990 (char-code-property-description):
19991 Call unicode-property-table-internal to load a file.
c805dec0
KH
19992
19993 * international/charprop.el:
19994 * international/uni-bidi.el:
19995 * international/uni-category.el:
19996 * international/uni-combining.el:
19997 * international/uni-comment.el:
19998 * international/uni-decimal.el:
19999 * international/uni-decomposition.el:
20000 * international/uni-digit.el:
20001 * international/uni-lowercase.el:
20002 * international/uni-mirrored.el:
20003 * international/uni-name.el:
20004 * international/uni-numeric.el:
20005 * international/uni-old-name.el:
20006 * international/uni-titlecase.el:
20007 * international/uni-uppercase.el: Regenerate.
20008
20009 * loadup.el: Load international/charprop.el before
20010 international/characters.
20011
e14b388a
CY
200122011-07-07 Chong Yidong <cyd@stupidchicken.com>
20013
20014 * window.el (next-buffer, previous-buffer): Signal an error if
20015 called from a minibuffer window.
20016
20017 * bindings.el: Revert 2011-07-04 change.
20018
354cf0ba
RS
200192011-07-06 Richard Stallman <rms@gnu.org>
20020
20021 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20022 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20023 Treat markers like ints.
20024 (rmail-mime-entity): Doc fix.
20025
a48868a7
LMI
200262011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20027
4906cd3d
LMI
20028 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20029 defcustom again for backwards compatibility.
20030
e0457abe
LMI
20031 * simple.el (shell-command-on-region): Fill.
20032
d67f7e1f
LMI
20033 * dired-aux.el (dired-kill-line): Add a doc string.
20034
fe204702
LMI
20035 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20036 to "\\sw\\|\\s_" (bug#358).
20037
a48868a7
LMI
20038 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20039 (dired-unmark-backward): Ditto.
20040 (dired-flag-backup-files): Ditto.
20041
20042 * dired-x.el (dired-mark-sexp): Ditto.
20043
aa8a705c
RS
200442011-07-06 Richard Stallman <rms@gnu.org>
20045
20046 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20047 (rmail-mime-entity): New arg TRUNCATED.
20048 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20049 New functions.
20050 (rmail-mime-save): Warn if entity is truncated.
20051 (rmail-mime-toggle-hidden): Likewise, for showing.
20052 (rmail-mime-process-multipart): Record when an entity is truncated.
20053
a9a936b9
RS
20054 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20055 if ENTITY is a string.
20056
1f2b92cb
LMI
200572011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20058
f4f73198 20059 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
20060 of faces when `M-C-x'-ing their definitions (bug#8378).
20061 Also clean up the code slightly.
f4f73198 20062
12b16734 20063 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 20064 because that makes the colors go away.
12b16734 20065
f0691d22
LMI
20066 * mail/sendmail.el (send-mail-function): Change the default to
20067 `sendmail-query-once'.
9e87df06 20068 (sendmail-query-once): Add an autoload cookie.
f0691d22 20069
1f2b92cb
LMI
20070 * net/network-stream.el (network-stream-open-starttls): Try using
20071 a plain connection even if the server offered STARTTLS, and we
20072 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20073 capability. This should make smtpmail.el work in slightly more
20074 configurations.
20075
1cdd2a1b
MA
200762011-07-06 Michael Albinus <michael.albinus@gmx.de>
20077
20078 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20079 New defun.
20080 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20081
fbcc67e2
MM
200822011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20083
20084 * progmodes/sql.el: Version 3.0
0757af94 20085 (sql-product-alist): Add product :completion-object,
fbcc67e2 20086 :completion-column, and :statement attributes.
0757af94 20087 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 20088 (sql-mode-syntax-table): Mark all punctuation.
0757af94 20089 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
20090 ansi keywords.
20091 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 20092 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
20093 (sql-oracle-show-reserved-words): New function for development.
20094 (sql-product-font-lock): Simplify for source code buffers.
20095 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20096 New functions.
20097 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
20098 (sql-mode-map): Add statement movement functions.
20099 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20100 New variable.
fbcc67e2
MM
20101 (sql-statement-regexp, sql-beginning-of-statement)
20102 (sql-end-of-statement, sql-signum): New functions.
0757af94 20103 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
20104 (sql-show-sqli-buffer): Bug fix.
20105 (sql-interactive-mode): Store connection data as buffer local.
0757af94 20106 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
20107 with sql-interactive-mode.
20108 (sql-save-connection): Save buffer local settings.
0757af94 20109 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
20110 (sql-product-interactive): Bug fix.
20111 (sql-preoutput-hold): New variable.
20112 (sql-interactive-remove-continuation-prompt): Bug fixes.
20113 (sql-debug-redirect): New variable.
20114 (sql-str-literal): New function.
20115 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 20116 Redesign.
fbcc67e2
MM
20117 (sql-oracle-save-settings, sql-oracle-restore-settings)
20118 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20119 (sql-completion-object, sql-completion-column)
20120 (sql-completion-sqlbuf): New variables.
20121 (sql-build-completions-1, sql-build-completions)
20122 (sql-try-completion): New functions.
20123 (sql-read-table-name): Use them.
20124 (sql-contains-names): New buffer local variable.
20125 (sql-list-all, sql-list-table): Use it.
20126 (sql-oracle-completion-types): New variable.
20127 (sql-oracle-completion-object, sql-sqlite-completion-object)
20128 (sql-postgres-completion-object): New functions.
20129
d4eaeab1
GM
201302011-07-06 Glenn Morris <rgm@gnu.org>
20131
20132 * window.el (pop-to-buffer): Doc fix.
20133
322b7dab 201342011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
20135
20136 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20137
322b7dab 201382011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 20139
322b7dab 20140 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 20141
322b7dab 20142 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 20143
605dd5bf
CY
201442011-07-05 Chong Yidong <cyd@stupidchicken.com>
20145
20146 * button.el (button): Inherit from link face. Suggested by Dan
20147 Nicolaescu.
20148
7dbfa719
SM
201492011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20150
3db614b0
SM
20151 * progmodes/gdb-mi.el: Fit in 80 columns.
20152 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20153 switch-to-buffer.
20154
7dbfa719
SM
20155 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20156 if imenu is simply not configured (bug#8941).
20157
919d884a
KM
201582011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20159
20160 * allout.el (allout-post-undo-hook): New allout outline-change
20161 event hook to signal undo activity.
20162 (allout-post-command-business): Run allout-post-undo-hook if an
20163 undo just occurred.
7dbfa719
SM
20164 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20165 * allout-widgets.el (allout-widgets-after-undo-function):
20166 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
20167 in the vicinity of an undo.
20168 (allout-widgets-mode): Include allout-widgets-after-undo-function
20169 on the new allout-post-undo-hook.
20170
450a0f09
SM
201712011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20172
20173 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20174 Let define-derived-mode define it.
20175 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20176 cycles of abbrev-table inheritance (bug#8998).
20177
2de69e00
RW
201782011-07-05 Roland Winkler <winkler@gnu.org>
20179
20180 * textmodes/bibtex.el: Add support for biblatex.
20181 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20182 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20183 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20184 (bibtex-entry-alist, bibtex-field-alist): New variables.
20185 (bibtex-entry-field-alist): Obsolete alias for
20186 bibtex-BibTeX-entry-alist.
20187 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20188 (bibtex-set-dialect): New command.
20189 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
20190 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20191 Bind via bibtex-set-dialect.
2de69e00
RW
20192 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20193 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20194 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20195 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20196 Define via bibtex-set-dialect.
450a0f09
SM
20197 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20198 Obey bibtex-no-opt-remove-re.
2de69e00
RW
20199 (bibtex-vec-push, bibtex-vec-incr): New functions.
20200 (bibtex-format-entry, bibtex-field-list)
20201 (bibtex-print-help-message, bibtex-validate)
20202 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20203
2dcdbdd9
SM
202042011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20205
20206 * progmodes/compile.el (compilation-goto-locus):
20207 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20208 * bs.el (bs-cycle-next, bs-cycle-previous):
20209 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20210 * bindings.el (mode-line-other-buffer):
20211 * autoinsert.el (auto-insert):
20212 * arc-mode.el (archive-extract):
20213 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20214
b27640fe
JB
202152011-07-05 Juanma Barranquero <lekktu@gmail.com>
20216
20217 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20218 Fix check of `emacs-lock-unlockable-modes'.
20219 Coerce true values of `emacs-lock--try-unlocking' to t.
20220
53bbe3ad
JB
202212011-07-05 Juanma Barranquero <lekktu@gmail.com>
20222
20223 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20224 * emacs-lock.el: New file.
20225
1d3cdbc7
JD
202262011-07-05 Julien Danjou <julien@danjou.info>
20227
20228 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20229 than `boundp' to check if face is set.
20230
9173deec
JB
202312011-07-05 Juanma Barranquero <lekktu@gmail.com>
20232
20233 * register.el (registerv-make):
20234 * window.el (window-min-height): Fix typos in docstrings.
20235
869795d6
JD
202362011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20237
9173deec 20238 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
20239 Update doc string.
20240
b768cdcd
JB
202412011-07-04 Juanma Barranquero <lekktu@gmail.com>
20242
20243 * server.el (server-execute): Catch quit and call
20244 `server-return-error' to pass the error back to emacsclient and
20245 close the connection (bug#8942).
20246
13aa217b
KM
202472011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20248
20249 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20250 insecure exception for current topic. Also note that auto-saves
20251 are handled differently.
20252
5d3385a0 20253 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
20254 State variables for tracking auto-save inhibition situation.
20255
20256 (allout-write-contents-hook-handler): Rename from
20257 'allout-write-file-hook-handler', and describe how it depends on
20258 write-contents-functions sensitivity to non-nil value to prevent
20259 file write.
20260
20261 (allout-auto-save-hook-handler): Remove. auto-save does not check
20262 this in individual buffers, only in the starting buffer, so this
20263 is not the right way for us to inhibit auto-save in a buffer
20264 according to its condition.
20265
20266 (allout-mode): Use new allout-write-contents-hook-handler, and
20267 only with write-contents-functions. Remove auto-save provisions -
20268 they're implemented elsewhere.
20269
20270 (allout-before-change-handler): If undo is in progress, note that
20271 for attention of allout-post-command-business.
20272
20273 (allout-post-command-business): If the command we're following was
20274 an undo, check for change in the status of encrypted items and
20275 adjust auto-save inhibitions accordingly.
20276
20277 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20278 according to whether there are or aren't any plain-text topics
20279 pending encryption.
20280
2dcdbdd9 20281 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
20282 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20283 if there are plain-text topics pending encryption.
13aa217b
KM
20284
20285 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20286 buffer-saved-size and some allout state to not inhibit auto-saves
20287 if there are no longer any plain-text topics pending encryption.
20288
0757af94
SM
20289 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20290 No longer provide for exemption of the current topic.
13aa217b 20291
ac89b32c
JL
202922011-07-04 Juri Linkov <juri@jurta.org>
20293
20294 Add 7z operations to delete and save changed members (bug#8968).
20295 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20296 New defcustoms.
20297 (archive-7z-write-file-member): New function.
20298 (archive-7z-summarize): Fix the number of dashes in the
20299 listing output.
20300
8fa39615
SM
203012011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20302
20303 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20304 (bug#8958).
20305
2f11b3f1
CY
203062011-07-04 Chong Yidong <cyd@stupidchicken.com>
20307
d66fef2b
CY
20308 * bindings.el: Ignore next-buffer and previous-buffer in
20309 minibuffer-local-map.
20310
2f11b3f1
CY
20311 * font-lock.el (font-lock-builtin-face): Change light background
20312 color to dark slate blue (Bug#6693).
20313
f932a347
WD
203142011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20315
20316 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20317
c8af70e1
SM
203182011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20319
20320 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20321 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20322 Add switch-to-buffer.
20323
f158badc
LMI
203242011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20325
20326 * isearch.el (isearch-search-fun-function): Clarify further the
20327 meaning of the function returned.
20328
6d95bd46
MA
203292011-07-04 Michael Albinus <michael.albinus@gmx.de>
20330
20331 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20332
20333 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20334 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20335 Use it.
20336 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20337 `tramp-default-remote-path' does not exist.
20338 (tramp-send-command-and-read): New optional argument NOERROR.
20339 (tramp-open-connection-setup-interactive-shell)
20340 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20341 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20342 (tramp-process-sentinel): Flush also process' connection property.
20343 (tramp-sh-handle-start-file-process): Do not set process
20344 sentinel. It is done now ...
20345 (tramp-maybe-open-connection): ... here. (Bug#8929)
20346
909e6b67
MK
203472011-07-04 MON KEY <monkey@sandpframing.com>
20348
20349 * play/animate.el (animate-string): Doc fixes and allow changing
20350 the buffer name (bug#5417).
20351
203522011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20353
c8af70e1 20354 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 20355
f34755dc
PE
203562011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20357
396cec72
PE
20358 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20359 This is simpler and helps future-proof the code.
20360 (timer-until): Use time-subtract and float-time.
08235028 20361 (timer--time-less-p): Use time-less-p.
f34755dc 20362
56e6cc31
JB
203632011-07-04 Juanma Barranquero <lekktu@gmail.com>
20364
3abb79e5
JB
20365 * type-break.el (timep): Use the value of `float-time' to avoid a
20366 byte-compiler warning.
20367
56e6cc31
JB
20368 * server.el (server-eval-and-print): Return any result, even nil.
20369
7b9430b4
PE
203702011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20371
20372 * type-break.el: Accept time formats that the builtins accept.
20373 (timep, type-break-time-difference): Accept any format that
20374 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20375 This is simpler and helps future-proof the code.
20376 (type-break-time-difference): Round rather than ignoring
20377 subseconds components.
20378
3034e9e7
LMI
203792011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20380
20381 * info.el (Info-apropos-matches): Make non-interactive, since it
20382 doesn't seem to do anything useful as a command (bug#8829).
20383
1485f4c0
CY
203842011-07-03 Chong Yidong <cyd@stupidchicken.com>
20385
20386 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 20387 Move from faces.el.
1485f4c0
CY
20388 (frame-default-terminal-background): New function.
20389
20390 * custom.el (custom-push-theme): Don't record faces in `changed'
20391 theme; this doesn't work correctly for per-frame face settings.
20392 (disable-theme): Use face-set-after-frame-default to reset faces.
20393 (custom--frame-color-default): New function.
20394
9fa3dd45
LMI
203952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20396
c8af70e1 20397 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
20398 (bug#8769).
20399
6cbbc20c
KR
204002011-03-29 Kevin Ryde <user42@zip.com.au>
20401
20402 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20403 `perl-Test2' extend to match possible "fail #N" rep count
20404 (bug#8377).
20405
c7f98048
LMI
204062011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20407
65676592
LMI
20408 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20409 `smtpmail-via-smtp' now returns the error instead of nil.
20410
c7f98048
LMI
20411 * isearch.el (isearch-search-fun-function): Clarify the doc string
20412 (bug#8101).
20413
56e6cc31 204142011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
20415
20416 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20417 unnecessary spaces (bug#8987).
20418
2b216704
LMI
204192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20420
20421 * net/network-stream.el (open-network-stream): Use the
20422 :end-of-capability command thoughout.
20423
204242011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20425
20426 * net/network-stream.el (open-network-stream): Add the
20427 :end-of-capability command parameter, used by pop3.el.
20428
36adf6ce
LMI
204292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20430
1ca0da0e
LMI
20431 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20432
fc00f69c
LMI
20433 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20434 for list)" (bug#6475).
20435
28fd8759 20436 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 20437 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
20438 an error (bug#6297).
20439
0dd8b6da
LMI
20440 * man.el (Man-reference-regexp): Allow matching possible
20441 word-wrapped references (bug#6289).
20442
ce1438d6
LMI
20443 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20444 for consistency with the other vc buffers (bug#6197).
20445 (vc-checkin): Ditto.
20446
20447 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20448
36adf6ce
LMI
20449 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20450
e83cc1f7
LMI
204512011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20452
8a20ca4c
LMI
20453 * custom.el (defcustom): Clarify that :set is only used in the
20454 Customize user interface (bug#6089).
20455
83319045
LMI
20456 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20457 associated with a file, refuse to run instead of erroring out
20458 (bug#6084).
20459
a8392169
LMI
20460 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20461 the doc string, since it appears that using `fill-column' always
20462 controls the width (bug#7845).
20463
e83cc1f7
LMI
20464 * simple.el (shell-command-on-region): Say where the error output
20465 went if `shell-command-default-error-buffer' is set (bug#6857).
20466
e47ca23b
KM
204672011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20468
20469 * allout.el (allout-yank-processing): Adjust cursor position for
20470 backwards-deleted space.
20471
20472 (allout-rebullet-heading): Register changes with
20473 allout-exposure-changed-hook, so the modified topic is properly
20474 decorated.
20475
5cf56143
LMI
204762011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20477
08549772
LMI
20478 * minibuffer.el (completion-in-region): Document PREDICATE
20479 (bug#7136).
20480
48e96771
LMI
20481 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20482 of keyword/argument pairs (bug#6904).
20483
c8af70e1
SM
20484 * replace.el (multi-occur):
20485 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 20486
e17d05e2
LMI
204872011-07-02 Drew Adams <drew.adams@oracle.com>
20488
20489 * dired.el (dired-mark-if): Make the message about whether it's
20490 marking or unmarking clearer (bug#8523).
20491
063b0e45
LMI
204922011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20493
20494 * disp-table.el (display-table-print-array): New function.
20495 (describe-display-table): Use it to print the vectors more pretty
20496 (Bug#8859).
20497
28545e04
MR
204982011-07-02 Martin Rudalics <rudalics@gmx.at>
20499
20500 * window.el (window-state-get-1): Don't assign clone numbers.
20501 Add clone-of item to list of window parameters.
20502 (window-state-put-2): Don't process clone numbers.
20503 (display-buffer-alist): Fix doc-string.
20504
3349e122
SM
205052011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20506
20507 * subr.el (remq): Don't allocate if it's not needed.
20508 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20509 (keymap--merge-bindings): New functions.
20510 (keymap-canonicalize): Use them to refine the canonicalization.
20511 * minibuffer.el (minibuffer-local-completion-map)
20512 (minibuffer-local-must-match-map): Move initialization from C.
20513 (minibuffer-local-filename-completion-map): Move initialization from C;
20514 don't inherit from anything here.
20515 (minibuffer-local-filename-must-match-map): Make obsolete.
20516 (completing-read-default): Use make-composed-keymap to combine
20517 minibuffer-local-filename-completion-map with either
20518 minibuffer-local-must-match-map or
20519 minibuffer-local-filename-completion-map.
20520
d224ac83
GM
205212011-07-01 Glenn Morris <rgm@gnu.org>
20522
3de63bf8
GM
20523 * type-break.el (type-break-time-sum): Use dolist.
20524
d224ac83
GM
20525 * textmodes/flyspell.el (flyspell-word-search-backward):
20526 Replace CL function.
20527
1a1e3f32
SM
205282011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20529
fe3f64d5
SM
20530 * mouse.el (mouse--strip-first-event): New function.
20531 (function-key-map): Use it to map fringe clicks to normal clicks
20532 by default.
20533
eb604e34
SM
20534 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20535 (vc-bzr-revision-completion-table): Add support for annotate and date.
20536
1a1e3f32
SM
20537 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20538 inherit from parent.
20539
5bd35902
LMI
205402011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20541
ace6c69c 20542 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 20543 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 20544
191e2bed
LMI
20545 * dired.el (dired-mode): Fix up the doc string as suggested by
20546 Drew Adams (bug#8817).
20547
5bd35902
LMI
20548 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20549 cookie, since the manual says that it should be possible to add
20550 this function to `find-file-hook' (bug#8709).
20551
eee8207a
TZ
205522011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20553
20554 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20555 here. Noted Ted Zlatanov as the maintainer.
20556 (cfengine-common-settings, cfengine-common-syntax): New functions
20557 to set up common things between `cfengine-mode' and
20558 `cfengine3-mode'.
20559 (cfengine3-mode): New mode.
20560 (cfengine3-defuns cfengine3-defuns-regex
20561 (cfengine3-class-selector-regex cfengine3-category-regex)
20562 (cfengine3-vartypes cfengine3-font-lock-keywords)
20563 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 20564 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 20565
36b148cf
MA
205662011-07-01 Michael Albinus <michael.albinus@gmx.de>
20567
20568 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20569
20570 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20571
0bf4ba9a
MR
205722011-07-01 Martin Rudalics <rudalics@gmx.at>
20573
20574 * window.el (same-window-buffer-names, same-window-regexps)
20575 (same-window-p, special-display-frame-alist)
20576 (special-display-popup-frame, special-display-function)
20577 (special-display-buffer-names, special-display-regexps)
20578 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20579 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20580 (split-window-preferred-function, split-height-threshold)
20581 (split-width-threshold, even-window-heights)
20582 (display-buffer-mark-dedicated, window-splittable-p)
20583 (split-window-sensibly, window-safely-shrinkable-p):
20584 Un-obsolete.
20585 (display-buffer): Don't spread args with function specifier
20586 because special-display-popup-frame won't like it.
20587
35837f51
PE
205882011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20589
d0672f86
PE
20590 Time-stamp simplifications and fixes.
20591 These improve accuracy slightly, and future-proof the code
20592 against some potential changes to current-time format.
20593
b9444d97
PE
20594 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20595 by using time-since and float-time.
20596
0ef923dc
PE
20597 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20598 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20599 + NNN microseconds".
20600
2f81380d
PE
20601 * type-break.el (type-break-time-sum): Rewrite using time-add.
20602
845b5c3e
PE
20603 * play/hanoi.el (hanoi-current-time-float): Remove.
20604 All uses replaced by float-time.
20605
ee6f1be0
PE
20606 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20607 This yields a more-accurate answer.
20608 (rng-time-to-float): Remove; no longer needed.
20609
fe955043
PE
20610 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20611
5777162a
PE
20612 * calendar/timeclock.el (timeclock-seconds-to-time):
20613 Defalias to seconds-to-time, since they're the same thing.
20614
3103f8b6 20615 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 20616 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
20617 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20618
0e61a35f
SM
206192011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20620
20621 * window.el (bury-buffer): Don't iconify the only frame.
20622 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20623 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20624
ddd63a1e
CY
206252011-07-01 Chong Yidong <cyd@stupidchicken.com>
20626
0e61a35f
SM
20627 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20628 Add mouse-yank-primary.
ddd63a1e 20629
055f4923
TZ
206302011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20631
20632 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20633
6a2fb145
SM
206342011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20635
20636 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20637 (find-library-name): Use it to find relative load names when provided
20638 absolute file name (bug#8803).
20639
fd4983f2
LMI
206402011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20641
887d14ad
LMI
20642 * textmodes/flyspell.el (flyspell-word): Consider words that
20643 differ only in case as potential doublons (bug#5687).
20644
c53dc7fc
LMI
20645 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20646 Remove two rather uninteresting debugging-like messages to make
20647 debbugs.el more silent.
20648
fd4983f2
LMI
20649 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20650 a password-like phrase.
20651
7a71b18d 206522011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
20653
20654 * progmodes/cc-guess.el: New file.
20655
6a2fb145 20656 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
20657
20658 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20659 derived from `c-basic-common-init'.
20660
20661 * progmodes/cc-mode.el (top-level): Require cc-guess.
20662 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20663
1fa280a3
LM
206642011-06-30 Lawrence Mitchell <wence@gmx.li>
20665
20666 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20667
e6597158
AM
206682011-06-30 Alan Mackenzie <acm@muc.de>
20669
1fa280a3
LM
20670 * progmodes/cc-engine.el (c-guess-continued-construct):
20671 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
20672 lock is disabled. Name this case as "CASE G".
20673
68ba37fb
KM
206742011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20675
20676 * allout.el (allout-yank-processing): Fix injection of extra space
20677 between bullet and non-whitespace character in first topic when
20678 pasting, ensuring that the actual spacing in the pasted topic
20679 following the bullet char is preserved. This extra space was
20680 causing pasted encrypted topics to get a decrypted status even
20681 when the content was actually still encrypted. Now the decryption
20682 status from before the paste is preserved.
20683
20684 (allout-flag-region): Set all allout overlays so they evaporate
20685 when reduced to zero length (evanescent), to prevent overlay
20686 leakage.
20687
887a0b34
GM
206882011-06-30 Glenn Morris <rgm@gnu.org>
20689
94b9acce
GM
20690 * w32-fns.el (w32-charset-info-alist): Declare.
20691
1d9b46d4
GM
20692 * find-dired.el (find-grep-options): Simplify.
20693
cc232200
GM
20694 * term/ns-win.el (ns-set-resource): Declare.
20695
28e77c46
GM
20696 * ses.el (row, col): Declare dynamic variables honestly.
20697
887a0b34
GM
20698 * textmodes/reftex-parse.el (index-tags): Declare.
20699
658d8eb8
CY
207002011-06-30 Chong Yidong <cyd@stupidchicken.com>
20701
20702 * cus-edit.el (customize-push-and-save): New function.
20703
20704 * files.el (hack-local-variables-confirm): Use it.
20705
1fa280a3
LM
20706 * custom.el (load-theme): New arg NO-CONFIRM.
20707 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
20708 (custom-enabled-themes): Doc fix.
20709
20710 * cus-theme.el (customize-create-theme)
20711 (custom-theme-merge-theme): Callers to load-theme changed.
20712
bb617717
LMI
207132011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20714
d61bdd5d
LMI
20715 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20716 short URLs have at least one dot in them (bug #7614).
20717
bb617717
LMI
20718 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20719 nil, because using a pty is apparently too slow (bug #895).
20720
2f31f37a
LMI
207212011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20722
20723 * mail/sendmail.el (sendmail-query-once): New function.
20724 (sendmail-query-once-function): New variable.
20725
3076b24e
GM
207262011-06-29 Glenn Morris <rgm@gnu.org>
20727
faf2a174
GM
20728 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20729
3076b24e
GM
20730 * ses.el (top-level): Require cl when compiling.
20731 (ses-set-localvars): Fix error statement.
20732 Call it at compile time to silence a storm of warnings.
20733
5386012d
MR
207342011-06-29 Martin Rudalics <rudalics@gmx.at>
20735
20736 * window.el (normalize-live-buffer): Rename to
20737 window-normalize-buffer.
20738 (normalize-live-frame): Rename to window-normalize-frame.
20739 (normalize-any-window): Rename to window-normalize-any-window.
20740 (normalize-live-window): Rename to window-normalize-live-window.
20741 (make-window-atom): Rename to window-make-atom.
20742 (window-resize-reset): Rename to window--resize-reset.
20743 (window-resize-reset-1): Rename to window--resize-reset-1.
20744 (resize-mini-window): Rename to window--resize-mini-window.
20745 (resize-subwindows-skip-p): Rename to
20746 window--resize-subwindows-skip-p.
20747 (resize-subwindows-normal): Rename to
20748 window--resize-subwindows-normal.
20749 (resize-subwindows): Rename to window--resize-subwindows.
20750 (resize-other-windows): Rename to window--resize-siblings.
20751 (resize-this-window): Rename to window--resize-this-window.
20752 (resize-root-window): Rename to window--resize-root-window.
20753 (resize-root-window-vertically): Rename to
20754 window--resize-root-window-vertically.
20755 (normalize-buffer-to-display): Rename to
20756 window-normalize-buffer-to-display.
20757 (normalize-buffer-to-switch-to): Rename to
20758 window-normalize-buffer-to-switch-to.
20759 Correspondingly update all callers of the functions listed
20760 above.
20761 (display-buffer-alist, display-buffer-normalize-arguments)
20762 (display-buffer-normalize-options, display-buffer)
20763 (display-buffer-alist-set): Use "function" instead of
20764 "fun-with-args".
20765
1176868d
CY
207662011-06-28 Chong Yidong <cyd@stupidchicken.com>
20767
20768 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20769 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20770 debbugs.gnu.org. Mention acknowledgment email.
20771
20a7a65f
LMI
207722011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20773
20774 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20775 buffer multibyteness, since it shouldn't matter.
20776
5f45cca5
MR
207772011-06-28 Martin Rudalics <rudalics@gmx.at>
20778
20779 * window.el (display-buffer-in-side-window): Handle dedicated
20780 windows as in display-buffer-reuse-window.
20781 (display-buffer-normalize-alist): Use value of override
20782 specifier.
20783 (display-buffer-normalize-specifiers): Use value of
20784 other-window-means-other-frame specifier.
20785 (display-buffer-alist): Rewrite some texts in widgets.
20786 (display-buffer): Spread arguments when calling function
20787 specified by fun-with-args.
20788
ad85fe1f
DD
207892011-06-28 Deniz Dogan <deniz@dogan.se>
20790
1fa280a3
LM
20791 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20792 Unnest `let'.
da68c4c8 20793
ad85fe1f
DD
20794 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20795 selectors (Bug#5732).
ec49bd31 20796 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 20797
a08cc025
JA
207982011-06-27 Jari Aalto <jari.aalto@cante.net>
20799
20800 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20801 (eshell-ls-date-format): New defcustom.
20802 (eshell-ls-file): Use it.
20803
e2b551c5
SM
208042011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20805
20806 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20807
8982b231
KY
208082011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20809
20810 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20811 (ange-ftp-make-tmp-name): New arg.
20812 (ange-ftp-file-local-copy): Use it.
20813
36c9fa27
J
208142011-06-27 Jambunathan K <kjambunathan@gmail.com>
20815
20816 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20817 no-conversion (Bug#8870).
20818
d68443dc
MR
208192011-06-27 Martin Rudalics <rudalics@gmx.at>
20820
20821 * window.el (window-right, window-left, window-child)
20822 (window-child-count, window-last-child)
20823 (window-iso-combination-p, walk-window-tree-1)
20824 (window-atom-check-1, window-tree-1, delete-window)
20825 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20826 new naming conventions - window-vchild, window-hchild,
20827 window-next and window-prev are now called window-top-child,
20828 window-left-child, window-next-sibling and window-prev-sibling
20829 respectively.
d615d6d2
MR
20830 (resize-window-reset): Rename to window-resize-reset.
20831 (resize-window-reset-1): Rename to window-resize-reset-1.
20832 (resize-window): Rename to window-resize.
20833 (window-min-height, window-min-width)
20834 (resize-mini-window, resize-this-window, resize-root-window)
20835 (resize-root-window-vertically, adjust-window-trailing-edge)
20836 (enlarge-window, shrink-window, maximize-window)
20837 (minimize-window, delete-window, quit-restore-window)
20838 (split-window, balance-windows, balance-windows-area-adjust)
20839 (balance-windows-area, window-state-put-2)
20840 (display-buffer-even-window-sizes, display-buffer-set-height)
20841 (display-buffer-set-width, set-window-text-height)
20842 (fit-window-to-buffer): Rename all "resize-window" prefixed
20843 calls to use the "window-resize" prefix convention.
20844 (display-buffer-alist): Fix symbol for label specifier.
20845 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20846 corresponding specifier.
20847 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 20848
b6458526
VB
208492011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20850
20851 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20852 convention.
20853 (ses-call-printer): Does not pass an empty string to formatter when the
20854 cell is empty to keep from barking printer Calc math-format-value.
20855
d31fd9ac
RS
208562011-06-27 Richard Stallman <rms@gnu.org>
20857
43d5bf84
RS
20858 * battery.el (battery-mode-line-limit): New variable.
20859 (battery-update): Handle it.
20860
d31fd9ac
RS
20861 * mail/rmailmm.el (rmail-mime-process-multipart):
20862 Handle truncated messages.
20863
819a6054
GM
208642011-06-27 Glenn Morris <rgm@gnu.org>
20865
20866 * progmodes/flymake.el (flymake-err-line-patterns):
20867 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20868
cedc73f2
VB
208692011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20870
819a6054 20871 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
20872 (ses--clean-!, ses--clean-_): New functions.
20873 (ses-range): Add configurability of readout order, and conversion
20874 to Calc vector.
20875
5e5d49b6
VB
20876 * ses.el (ses-repair-cell-reference-all): New function.
20877 (ses-cell-symbol): Set macro as safe, so that it can be used in
20878 formulas.
20879
56e6cc31 20880 * ses.el: Update cycle detection algorithm.
90ca8b49 20881 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 20882 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
20883 (ses-set-localvars): New function.
20884 (ses-make-cell): Add property-list as a cell element.
20885 (ses-cell-property-get-fun, ses-cell-property-get)
20886 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
20887 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20888 New functions.
90ca8b49
VB
20889 (ses-cell-property-set, ses-cell-property-pop)
20890 (ses-cell-property-get-handle): New macro.
20891 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20892 New aliases, used for code readability.
20893 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20894 cycle detection.
20895 (ses-self-reference-early-detection): New defcustom.
fac916bf 20896 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
20897 (ses-mode): Use ses-set-localvars.
20898 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20899 before lauching the update processing.
20900 (ses-initialize-Dijkstra-attempt): New function.
20901 (ses-recalculate-cell): Update for cycle detection based on
20902 Dijkstra algorithm.
20903
2bb63e81
VB
20904 * ses.el: Fix commenting and indenting convention.
20905
c9d29fb8
SM
209062011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20907
20908 * bs.el (bs-cycle-next): Complete last change.
20909
d8e4b68b
JB
209102011-06-27 Drew Adams <drew.adams@oracle.com>
20911
20912 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20913
40098786
LMI
209142011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20915
c9d29fb8
SM
20916 * net/network-stream.el (network-stream-open-starttls):
20917 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
20918 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20919
40098786
LMI
20920 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20921 to binary to possibly avoid line encoding issues on Windows (among
20922 other things).
20923
468d09d4
LMI
209242011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20925
20926 * net/network-stream.el (open-network-stream): Return an :error
20927 saying what the problem was, if possible.
20928
20929 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20930 server.
20931
20932 * net/network-stream.el (network-stream-open-starttls): If we
20933 wanted to use STARTTLS, and the server offered it, but we weren't
20934 able to because we had no STARTTLS support, then close the connection.
20935 (open-network-stream): Return an :error element, if present.
20936
16f07dd7
CY
209372011-06-26 Chong Yidong <cyd@stupidchicken.com>
20938
88821ca0
CY
20939 * hl-line.el (hl-line-sticky-flag): Doc fix.
20940 (global-hl-line-sticky-flag): New option (Bug#8323).
20941 (global-hl-line-highlight): Obey it.
20942
16f07dd7
CY
20943 * vc/vc.el (vc-revert-show-diff): Default to t.
20944
6b5ccddf
KM
209452011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20946
c9d29fb8
SM
20947 * allout-widgets.el (allout-widgets-post-command-business):
20948 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
20949 undecorated when an isearch is continued past, and isearch
20950 automatically collapses them. This leads to "widget leaks", where
20951 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
20952 hidden widgets can slow down cursor travel, substantially.
20953 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
20954 so we're doing without this nicety.
20955
20956 (allout-widgets-tally-string): Don't try to do a hash-table-count
20957 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20958 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20959 *Messages* when allout-widgets-maintain-tally is t.
20960
355f2e07
MR
209612011-06-26 Martin Rudalics <rudalics@gmx.at>
20962
20963 * window.el (display-buffer-normalize-argument): Rename to
20964 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
20965 LABEL argument. Respect special-display-function when popping up
20966 a new frame. Fix code searching for a window showing the buffer
20967 on another frame.
c9d29fb8
SM
20968 (display-buffer-normalize-specifiers):
20969 Call display-buffer-normalize-arguments.
355f2e07
MR
20970 (display-buffer-in-window): Don't undedicate the window if its
20971 buffer remains the same.
20972 Reported by Drew Adams <drew.adams@oracle.com>.
20973 (display-buffer-alist): Add choice for same-window macro
20974 specfier.
20975 (display-buffer): Mention special meaning of LABEL argument in
20976 doc-string. Fix quoting. Don't pop up a new frame even as
20977 fallback.
20978
7ca8fc42
JB
209792011-06-26 Juanma Barranquero <lekktu@gmail.com>
20980
20981 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20982 avoid deleting the current window in some cases (bug#8911).
20983
bc312254
AS
209842011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20985
20986 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20987 (Bug#8934)
20988
2db18f3f
LMI
209892011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20990
c9d29fb8
SM
20991 * net/network-stream.el (network-stream-open-starttls):
20992 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
20993 (network-stream-open-tls): Ditto.
20994
6302e0d3
LL
209952011-06-26 Leo Liu <sdl.web@gmail.com>
20996
20997 * register.el (registerv): New struct.
20998 (registerv-make): New function.
c9d29fb8
SM
20999 (jump-to-register, describe-register-1, insert-register):
21000 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
21001 struct. (Bug#8415)
21002
5fdd4046
CY
210032011-06-26 Chong Yidong <cyd@stupidchicken.com>
21004
2afef60a
CY
21005 * vc/vc.el (vc-revert-show-diff): New defcustom.
21006 (vc-diff-internal): New arg specifying diff buffer.
21007 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21008 reuse an existing *vc-diff* buffer (Bug#8927).
21009
5fdd4046
CY
21010 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21011
e93db24a
GM
210122011-06-26 Glenn Morris <rgm@gnu.org>
21013
21014 * progmodes/f90.el (f90-critical-indent): New option.
21015 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21016 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21017 (f90-mode): Doc fix.
21018 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21019 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21020 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21021 (f90-match-end): Handle block, critical.
21022
eefff499
GM
210232011-06-25 Glenn Morris <rgm@gnu.org>
21024
f6ba4cc9
GM
21025 * calendar/diary-lib.el (diary-included-files): Doc fix.
21026 (diary-include-files): New function, extracted from
21027 diary-include-other-diary-files and diary-mark-included-diary-files.
21028 (diary-include-other-diary-files, diary-mark-included-diary-files):
21029 Just call diary-include-files.
21030 (diary-mark-entries): Reset diary-included-files on first call.
21031
16712304
GM
21032 * calendar/diary-lib.el (diary-mark-entries)
21033 (diary-mark-included-diary-files):
21034 Visit included diary-files in temp buffers.
21035
5d8e0d43
GM
21036 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21037 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21038 (f90-start-block-re, f90-imenu-generic-expression)
21039 (f90-looking-at-program-block-start, f90-no-block-limit):
21040 Add support for submodules.
21041
ccf7a5d5
GM
21042 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21043 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 21044
11fdef7d 210452011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
21046
21047 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21048 buffer-file-type before setting its value, to avoid disastrous
eefff499 21049 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 21050
74f53697
JB
210512011-06-25 Juanma Barranquero <lekktu@gmail.com>
21052
21053 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21054
21055 * ses.el (ses-unload-function):
21056 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21057
21058 * proced.el (proced-unload-function):
21059 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21060
18a4ce5e
AR
210612011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21062
21063 * server.el (server-create-window-system-frame): Add parameters arg.
21064 (server-process-filter): Doc fix. Handle frame-parameters.
21065
519d22cc
JB
210662011-06-25 Juanma Barranquero <lekktu@gmail.com>
21067
21068 Fix bug#8730, bug#8781.
21069
21070 * loadhist.el (unload--set-major-mode): New function.
21071 (unload-feature): Use it.
21072
21073 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21074 (python-unload-function): New function.
21075
c206f5b0
SM
210762011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21077
21078 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21079
f9ad64f3
GS
210802011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21081
21082 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21083 the candidates list.
21084
7d0da90e
JB
210852011-06-24 Juanma Barranquero <lekktu@gmail.com>
21086
21087 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21088
14b4e83d
RS
210892011-06-23 Richard Stallman <rms@gnu.org>
21090
21091 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21092 (rmail-variables): Set next-error-move-function.
21093 (rmail-what-message): Take argument POS.
21094 (rmail-next-error-move): New function.
21095
273d2baf
SM
210962011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21097
21098 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21099 messages for adjacent non-terminals.
21100
56c2cc9a
RS
211012011-06-23 Richard Stallman <rms@gnu.org>
21102
21103 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 21104 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
21105 (rmail-start-mail): Don't specify use of rmail-mail-return;
21106 that's done by mail-bury now.
21107 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 21108
d59eb518
MA
211092011-06-23 Michael Albinus <michael.albinus@gmx.de>
21110
21111 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21112 SIZE is a number.
21113
02cfc6d6
MR
211142011-06-23 Martin Rudalics <rudalics@gmx.at>
21115
21116 * window.el (get-lru-window, get-mru-window)
21117 (get-largest-window): Never return a minibuffer window.
21118 (display-buffer-pop-up-window): Fix a bug that could lead to
21119 reusing the minibuffer window.
21120 (display-buffer): Pass original specifier argument to
21121 display-buffer-function instead of the normalized one.
21122 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21123
4e323265
LL
211242011-06-22 Leo Liu <sdl.web@gmail.com>
21125
21126 * minibuffer.el (completing-read-function)
1f9f395d 21127 (completing-read-default): Move from minibuf.c.
4e323265 21128
7a70468f
RS
211292011-06-22 Richard Stallman <rms@gnu.org>
21130
50718fc2
RS
21131 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21132 to Rmail even if not started by a special Rmail command.
21133
7a70468f
RS
21134 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21135 Copy the buffer currently showing just one message.
21136
297dde5a
RW
211372011-06-22 Roland Winkler <winkler@gnu.org>
21138
21139 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21140 (bibtex-clean-entry): First delete the old key so that a
21141 customized algorithm for generating the new key does not get
21142 confused by the old key.
21143 (bibtex-url): Obey regexp of first step.
21144 (bibtex-search-entries): Do not use add-to-list with local
21145 list-var.
21146
97bb1093
LMI
211472011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21148
21149 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21150 stored a user name, then query for the password first, instead of
21151 waiting for SMTP to give an error message and the trying again.
21152
1c0f1a19
JD
211532011-06-22 Lawrence Mitchell <wence@gmx.li>
21154
21155 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21156 BUFFER in call-process.
21157
396f7c9d
LMI
211582011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21159
21160 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21161 QUIT twice.
ddb7ffee
LMI
21162 (smtpmail-try-auth-methods): Require user name and password from
21163 auth-source.
396f7c9d 21164
8998d1b3
MR
211652011-06-22 Martin Rudalics <rudalics@gmx.at>
21166
21167 * window.el (display-buffer-default-specifiers)
21168 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21169 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 21170 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
21171
21172 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21173 (special-display-frame-alist, special-display-popup-frame):
21174 Remove duplicate declarations. These are now in window.el.
21175
4ea31e07
LMI
211762011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21177
c9d29fb8
SM
21178 * mail/smtpmail.el (smtpmail-via-smtp):
21179 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
21180 server supports it. SMTP servers that support STARTTLS commonly
21181 require it.
21182
21183 * net/network-stream.el (network-stream-open-starttls): Support
21184 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 21185 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 21186
95f41d9a
LMI
21187 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21188 upgrades with `open-network-stream', and rely solely on
21189 auth-source for all credentials. Big changes throughout the file,
21190 but in particular:
c9d29fb8
SM
21191 (smtpmail-auth-credentials): Remove.
21192 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
21193 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21194 MAIL FROM, too.
95f41d9a 21195
c9d29fb8
SM
21196 * net/network-stream.el (network-stream-open-starttls):
21197 Provide support for client certificates both for external and built-in
4ea31e07
LMI
21198 STARTTLS.
21199 (auth-source): Require.
21200 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
21201 (network-stream-certificate): Change cert-cert to cert and
21202 cert-key to key.
4ea31e07 21203
065ec2c7
MA
212042011-06-21 Michael Albinus <michael.albinus@gmx.de>
21205
21206 * net/tramp-cache.el (top): Don't load the persistency file when
21207 "emacs -Q" has been called.
21208
cd93b359
DR
212092011-06-21 Tim Harper <timcharper@gmail.com>
21210
d8e4b68b
JB
21211 * term/ns-win.el (ns-initialize-window-system):
21212 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
21213 resource to NO as it is not yet supported by the NS port.
21214
ae9c0411
JB
212152011-06-21 Juanma Barranquero <lekktu@gmail.com>
21216
21217 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21218 (list-dynamic-libraries): ...not here.
21219
7f3f739f
LL
212202011-06-21 Leo Liu <sdl.web@gmail.com>
21221
21222 * subr.el (sha1): Implement sha1 using secure-hash.
21223
327c8fb1
MR
212242011-06-21 Martin Rudalics <rudalics@gmx.at>
21225
21226 * window.el (display-buffer-alist): In default value do not
21227 enforce searching a window on any but the selected frame.
21228 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21229 (display-buffer-select-window): Remove function.
21230 (display-buffer-in-window): When a window on another frame gets
21231 reused, do not select it any more but just raise its frame if
21232 necessary (Bug#8851) and (Bug#8856).
21233 (display-buffer-normalize-options): Handle pop-up-frames related
21234 options more faithfully.
21235 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21236 window if it is on another frame.
c9d29fb8
SM
21237 (display-buffer-alist, display-buffer-default-specifiers):
21238 Don't make new frame unsplittable by default.
9e9de014
MR
21239 (display-buffer-normalize-argument): Fix doc-string typo and use
21240 'same-frame-other-window instead of 'other-window when associating
21241 with display-buffer-macro-specifiers.
327c8fb1 21242
7cf3f556
VB
212432011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21244
21245 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21246 New functions.
21247 (5x5-mode-map, 5x5-mode-menu): Bind them.
21248 (5x5-draw-grid): Tweak the solver's rendering.
21249
60a406cf
SM
212502011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21251
21252 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21253 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21254
d8e4b68b 212552011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
21256
21257 * menu-bar.el: Use function variable instead of switch-to-buffer.
21258 (menu-bar-select-buffer-function): New variable.
60a406cf 21259 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 21260
478d6f95
SM
212612011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21262
21263 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21264 variable's status.
21265
ca530739
JD
212662011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21267
21268 * x-dnd.el (x-dnd-version-from-flags)
21269 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21270 and long as number (Bug#8899).
21271 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21272
bcd70d97
SM
212732011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21274
60a406cf 21275 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
21276 (completion-try-completion, completion-all-completions): Compute the
21277 metadata argument if it's missing; make it optional (bug#8795).
21278
60a406cf 21279 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
21280 (widget-complete): Use new :completion-function property.
21281 (widget-completions-at-point): New function.
21282 (default): Use :completion-function instead of :complete.
60a406cf
SM
21283 (widget-default-completions): Rename from widget-default-complete;
21284 Rewrite.
bcd70d97
SM
21285 (widget-string-complete, widget-file-complete, widget-color-complete):
21286 Remove functions.
21287 (file, symbol, function, variable, coding-system, color):
21288 * international/mule-cmds.el (default-input-method, charset)
21289 (language-info-custom-alist):
21290 * cus-edit.el (face): Use new property :completions.
21291
21292 * progmodes/pascal.el (pascal-completions-at-point): New function.
21293 (pascal-mode): Use it.
21294 (pascal-mode-map): Use completion-at-point.
21295 (pascal-toggle-completions): Make obsolete.
21296 (pascal-complete-word, pascal-show-completions):
21297 * progmodes/octave-mod.el (octave-complete-symbol):
21298 Redefine as obsolete alias.
21299 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21300 Signal absence of completion info for old Octave,
21301 (inferior-octave-complete): Redefine as obsolete alias.
21302 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21303 (meta-completions-at-point): Rename from meta-complete-symbol and
21304 adapt it for use on completion-at-point-functions.
21305 (meta-common-mode): Use it.
21306 (meta-looking-at-backward, meta-match-buffer): Remove.
21307 (meta-complete-symbol): Redefine as obsolete alias.
21308 (meta-common-mode-map): Use completion-at-point.
21309 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21310 (makefile-mode-map): Use completion-at-point.
21311 (makefile-completions-at-point): Rename from makefile-complete and
21312 adapt it for use on completion-at-point-functions.
21313 (makefile-mode): Use it.
21314 (makefile-complete): Redefine as obsolete alias.
21315
aebf69c8
DD
213162011-06-20 Deniz Dogan <deniz@dogan.se>
21317
21318 * net/rcirc.el: Delete trailing whitespaces once and for all.
21319
bfbbb27d
DC
213202011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21321
21322 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21323
d264a46b
CY
213242011-06-19 Chong Yidong <cyd@stupidchicken.com>
21325
4ca009e5
CY
21326 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21327
d264a46b
CY
21328 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21329
fbf5b3ce
MR
213302011-06-19 Martin Rudalics <rudalics@gmx.at>
21331
21332 * window.el (display-buffer-other-window-means-other-frame):
21333 Call display-buffer-normalize-alist.
21334 (display-buffer-normalize-specifiers-1): Rename to
21335 display-buffer-normalize-argument. New argument other-frame.
21336 Rewrite.
21337 (display-buffer-normalize-specifiers-2): Rename to
21338 display-buffer-normalize-options.
21339 (display-buffer-normalize-alist-1): New function.
21340 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
21341 display-buffer-normalize-alist.
21342 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
21343 (display-buffer-normalize-options-inhibit): New variable.
21344 (display-buffer-normalize-specifiers): Rewrite calling
21345 display-buffer-normalize-alist,
21346 display-buffer-normalize-argument, and
21347 display-buffer-normalize-options. Don't call the latter if
21348 display-buffer-normalize-options-inhibit is non-nil.
21349 (frame-auto-delete): New option.
21350 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
21351 (window-list-no-nils, window-state-ignored-parameters)
21352 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
21353 (window-state-put-1, window-state-put-2, window-state-put):
21354 New functions.
9a028c23
MR
21355 (display-buffer-normalize-options): Move special-display-p group
21356 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 21357
6d10d800
CY
213582011-06-18 Chong Yidong <cyd@stupidchicken.com>
21359
6420d28b
CY
21360 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21361 groups (Bug#8776).
21362 (rx-submatch-n): New function.
21363 (rx): Document it.
21364
ddb8b596
CY
21365 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21366 (Bug#8768).
21367
21368 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21369
77080289
CY
21370 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21371
61dfb316
CY
21372 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21373 anytime existing face settings are present (Bug#8889).
21374
6d10d800
CY
21375 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21376 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21377 Remove unused argument.
21378
be3fb2b8
MR
213792011-06-18 Martin Rudalics <rudalics@gmx.at>
21380
bcd70d97
SM
21381 * window.el (display-buffer-default-specifiers):
21382 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
21383 pop-up-window-min-width, and another reuse-window specifier
21384 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
21385 (display-buffer-normalize-specifiers-2):
21386 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
21387 pop-up-windows is unset. Add a reuse-window specifier for the
21388 case popping up a new window fails.
21389 (special-display-popup-frame): Remove double quoting.
28dec25a 21390 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 21391
1c6d8c76
SM
213922011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21393
21394 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21395 according to comint-completion-addsuffix.
21396
21397 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21398 (pcomplete-suffix-list): Mark as obsolete.
21399 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21400 pcomplete-seen in the closure.
21401 (pcomplete-comint-setup): Setup completion-at-point as well.
21402 (pcomplete--entries): New function.
21403 (pcomplete--env-regexp): New var.
21404 (pcomplete-entries): Rewrite to work with partial-completion and
21405 without relying on pcomplete-suffix-list.
21406 (pcomplete-pare-list): Remove, unused.
21407
25aef8b8
MR
214082011-06-17 Martin Rudalics <rudalics@gmx.at>
21409
21410 * window.el (display-buffer-alist): Set pop-up-window-min-height
21411 and pop-up-window-min-width in default value. Reported by
21412 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21413 other-window-means-other-frame.
21414 (display-buffer-macro-specifiers): Comment out entry for
21415 other-window specifier.
21416 (display-buffer-other-window-means-other-frame): New function.
21417 (display-buffer-normalize-specifiers-1): New arguments
21418 buffer-name and label. Treat other-window case specially.
21419 (display-buffer-normalize-specifiers-2): Treat other-window case
21420 specially.
21421 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
21422 (display-buffer-normalize-specifiers):
21423 Call display-buffer-normalize-specifiers-3.
25aef8b8 21424
dbad4f69
MR
214252011-06-17 Martin Rudalics <rudalics@gmx.at>
21426
21427 * window.el (same-window-p): Fix two typos introduced when
21428 adding with-no-warnings.
d1067961
MR
21429 (display-buffer-normalize-specifiers-1): Don't check
21430 pop-up-frames for 'unset initialization.
21431 (display-buffer-normalize-specifiers-2): Major rewrite using
21432 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21433 (pop-up-frames, display-buffer-reuse-frames)
21434 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21435 Suggested by David Engster <deng@randomsample.de>.
21436 (even-window-heights): Initialize to 'unset.
21437 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
21438 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21439 other window case.
dbad4f69 21440
9b9c9e3a
MR
214412011-06-16 Martin Rudalics <rudalics@gmx.at>
21442
bcd70d97
SM
21443 * window.el (display-buffer-normalize-specifiers-1):
21444 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 21445 second argument of display-buffer (Bug#8865).
981d5c09
MR
21446 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21447 (switch-to-buffer-other-window-same-frame)
21448 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21449 Adams (Bug#8875).
9c2755e9
MR
21450 (display-buffer): Don't check noninteractive when calling
21451 display-buffer-pop-up-frame.
21452 (display-buffer-pop-up-frame): Never pop up a frame in
21453 noninteractive mode (Bug#8857).
67222e1d
MR
21454 (enlarge-window, shrink-window): Don't report an error when the
21455 window can't be resized as requested (Bug#8862).
9b9c9e3a 21456
2b75be67
SM
214572011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21458
9ffdd3ba
SM
21459 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21460
cb581a67
SM
21461 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21462
2b75be67
SM
21463 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21464
8c0e3589
AM
214652011-06-15 Alan Mackenzie <acm@muc.de>
21466
cb581a67
SM
21467 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21468 for declarators, disable knr checking to speed up for normal files.
21469 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 21470
b96e6cde
LMI
214712011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21472
4bba86e6
LMI
21473 * net/network-stream.el (open-network-stream): Add the keyword
21474 :always-query-capabilities for the case where you want to force a
21475 `plain' network connection, but the protocol still requires the
21476 capabilitiy command (i.e., SMTP and EHLO).
21477
2b75be67 21478 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
21479 consistency with other `-live-p' functions.
21480
efdcdbf8
SM
214812011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21482
21483 * window.el (same-window-buffer-names, same-window-regexps)
21484 (special-display-frame-alist, special-display-popup-frame)
21485 (special-display-function, special-display-buffer-names)
21486 (special-display-regexps, pop-up-frame-alist)
21487 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21488 (pop-up-windows, split-window-preferred-function)
21489 (split-height-threshold, split-width-threshold, even-window-heights)
21490 (display-buffer-mark-dedicated): Don't encourage the use of
21491 display-buffer-alist from Elisp code.
21492
c5cde042
DN
214932011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21494
21495 * progmodes/python.el (python-mode): Derive from prog-mode.
21496 * progmodes/ps-mode.el (ps-mode):
21497 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 21498 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
21499 * progmodes/ld-script.el (ld-script-mode): Likewise.
21500
baa1c9ab
MR
215012011-06-15 Martin Rudalics <rudalics@gmx.at>
21502
21503 * window.el (display-buffer-alist): Trim default value to avoid
21504 popping up a new frame (Bug#8857) or reusing an arbitrary window
21505 on another frame.
21506 (display-buffer): Do not fall back on popping up a new frame in
21507 batch mode (Bug#8857).
21508
c5dd5a51
CY
215092011-06-14 Chong Yidong <cyd@stupidchicken.com>
21510
21511 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21512 (custom-theme-summary): New function.
21513 (customize-themes): Use it.
21514
d647b7c4
GM
215152011-06-13 Glenn Morris <rgm@gnu.org>
21516
21517 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21518
9481c002
MR
215192011-06-13 Martin Rudalics <rudalics@gmx.at>
21520
357f93d2
MR
21521 * help.el (help-window): Remove variable.
21522 (help-window-point-marker, temp-buffer-max-height)
21523 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21524 (help-print-return-message): Don't set help-window.
21525 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21526 (help-window-setup-finish): Remove.
21527 (help-window-display-message, help-window-setup)
21528 (with-help-window): Major rewrite based on new
21529 display-buffer-window variable.
21530
21531 * help-mode.el (help-mode-finish): Remove help-window related
21532 code.
21533
21534 * view.el (view-exits-all-viewing-windows): Remove reference to
21535 view-return-to-alist in doc-string.
21536 (view-return-to-alist): Make obsolete.
21537 (view-buffer): Call pop-to-buffer-same-window and remove
21538 undo-window code.
21539 (view-buffer-other-window): Call pop-to-buffer-other-window and
21540 simplify code. Ignore second argument.
21541 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21542 simplify code. Ignore second argument.
21543 (view-return-to-alist-update): Make obsolete.
21544 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21545 Rewrite using quit-restore window parameters.
2b75be67
SM
21546 (view-mode-exit): Rename second argument to EXIT-ONLY.
21547 Rewrite using quit-restore-window.
357f93d2
MR
21548 (View-exit, View-exit-and-edit, View-leave, View-quit)
21549 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21550 appropriate arguments.
21551 (view-end-message): Use quit-restore window parameter.
21552
9481c002
MR
21553 * window.el (display-buffer-function): Rewrite doc-string.
21554 (display-buffer-window, display-buffer-alist): New variables.
21555 (display-buffer-split-specifiers)
21556 (display-buffer-side-specifiers)
21557 (display-buffer-macro-specifiers): New constants.
21558 (display-buffer-even-window-sizes, display-buffer-set-height)
21559 (display-buffer-set-width, display-buffer-select-window)
21560 (display-buffer-in-window, display-buffer-reuse-window)
21561 (display-buffer-split-window-1, display-buffer-split-window)
21562 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21563 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21564 (display-buffer-in-side-window, normalize-buffer-to-display)
21565 (display-buffer-normalize-specifiers-1)
21566 (display-buffer-normalize-specifiers-2)
2b75be67
SM
21567 (display-buffer-normalize-specifiers, display-buffer-frame):
21568 New functions.
9481c002
MR
21569 (display-buffer): Major rewrite.
21570 (display-buffer-other-window, display-buffer-other-frame)
21571 (pop-to-buffer, switch-to-buffer-other-window)
21572 (switch-to-buffer-other-frame): Rewrite.
21573 (display-buffer-same-window, display-buffer-same-frame)
21574 (display-buffer-same-frame-other-window)
21575 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21576 (pop-to-buffer-other-window)
21577 (pop-to-buffer-same-frame-other-window)
21578 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21579 (switch-to-buffer-other-window-same-frame): New functions.
21580 (same-window-p, special-display-p): Rewrite disabling warnings.
21581 Make obsolete.
21582 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21583 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21584 Make obsolete
21585 (same-window-buffer-names, same-window-regexps)
21586 (special-display-frame-alist, special-display-popup-frame)
21587 (special-display-function, special-display-buffer-names)
21588 (special-display-regexps, pop-up-frame-alist)
21589 (pop-up-frame-function, split-window-preferred-function)
21590 (split-height-threshold, split-width-threshold)
21591 (even-window-heights): Make obsolete.
21592
9db51aca
GM
215932011-06-12 Glenn Morris <rgm@gnu.org>
21594
21595 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 21596 Misc simplifications.
9db51aca 21597
39cffb44
MR
215982011-06-12 Martin Rudalics <rudalics@gmx.at>
21599
21600 * window.el (window-safely-shrinkable-p): Restore function which
21601 was inadvertently removed in change from 2011-06-11. Declare as
21602 obsolete.
21603
2b75be67
SM
21604 * calendar/calendar.el (calendar-generate-window):
21605 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
21606 window-safely-shrinkable-p.
21607
a8955be7
GM
216082011-06-12 Glenn Morris <rgm@gnu.org>
21609
21610 * progmodes/fortran.el (fortran-mode-syntax-table):
21611 * progmodes/f90.el (f90-mode-syntax-table):
21612 Set % to punctuation. (Bug#8820)
21613 (f90-find-tag-default): Remove, no longer needed.
21614
f0d4059d
DC
216152011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21616
21617 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21618
1100a63c
CY
216192011-06-11 Chong Yidong <cyd@stupidchicken.com>
21620
21621 * image.el (image-animated-p): Return animation delay in seconds.
21622 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21623 (image-animate-timeout): Remove DELAY argument. Don't assume
21624 every subimage has the same delay; get it from image-animated-p.
21625 (image-animate): Caller changed.
21626
def722bf
MA
216272011-06-11 Michael Albinus <michael.albinus@gmx.de>
21628
21629 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21630 to ignored backtrace functions.
21631
0a2bb1a9
GM
216322011-06-11 Glenn Morris <rgm@gnu.org>
21633
21634 * calendar/appt.el (appt-disp-window-function): Doc fix.
21635 (appt-check): Handle overlapping appointments. (Bug#8337)
21636
6198ccd0
MR
216372011-06-11 Martin Rudalics <rudalics@gmx.at>
21638
21639 * window.el (window-tree-1, window-tree): New functions, moving
21640 the latter to window.el.
21641 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21642 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21643 (bw-refresh-edges): Remove.
21644 (balance-windows-1, balance-windows-2): New functions.
21645 (balance-windows): Rewrite in terms of window tree functions,
21646 balance-windows-1 and balance-windows-2.
21647 (bw-adjust-window): Remove.
21648 (balance-windows-area-adjust): New function with functionality of
21649 bw-adjust-window but using resize-window.
2b75be67
SM
21650 (set-window-text-height): Rewrite doc-string.
21651 Use normalize-live-window and resize-window.
21652 (enlarge-window-horizontally, shrink-window-horizontally):
21653 Rename argument to DELTA.
6198ccd0
MR
21654 (window-buffer-height): New function.
21655 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21656 Rewrite using new window resize routines.
2b75be67
SM
21657 (kill-buffer-and-window, mouse-autoselect-window-select):
21658 Use ignore-errors instead of condition-case.
6198ccd0
MR
21659 (quit-window): Call delete-frame instead of delete-windows-on
21660 for the only buffer on frame.
21661
9397e56f
MR
216622011-06-10 Martin Rudalics <rudalics@gmx.at>
21663
21664 * loadup.el (top-level): Load window before files for the sake
21665 of replace-buffer-in-windows.
21666
21667 * files.el (read-buffer-to-switch)
21668 (switch-to-buffer-other-window)
2b75be67
SM
21669 (switch-to-buffer-other-frame, display-buffer-other-frame):
21670 Move to window.el.
9397e56f
MR
21671
21672 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21673 (previous-buffer): Move to window.el.
21674
21675 * bindings.el (unbury-buffer): Move to window.el.
21676
21677 * window.el (delete-other-windows-vertically): Move after
21678 definition of delete-other-windows.
21679 (other-window, delete-windows-on, replace-buffer-in-windows):
21680 Move here from window.c.
21681 (record-window-buffer, unrecord-window-buffer)
21682 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21683 (switch-to-next-buffer): New functions.
21684 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21685 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
21686 (previous-buffer): Move here from simple.el.
21687 Call switch-to-prev-buffer.
9397e56f
MR
21688 (bury-buffer): Move here from buffer.c. Switch to previous
21689 buffer when window cannot be deleted.
21690 (unbury-buffer): Move here from bindings.el.
21691 (ctl-x-map): Move binding for other-window from window.c to
21692 here.
21693 (read-buffer-to-switch, switch-to-buffer-other-window)
21694 (switch-to-buffer-other-frame): Move here from files.el.
21695 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
21696 (switch-to-buffer): Move here from buffer.c.
21697 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 21698
562dd5e9
MR
216992011-06-10 Martin Rudalics <rudalics@gmx.at>
21700
21701 * window.el (window-min-height, window-min-width): Move here
21702 from window.c. Add defcustoms and rewrite doc-strings.
21703 (resize-mini-window, resize-window): New functions.
21704 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21705 Move here from window.c.
21706 (maximize-window, minimize-window): New functions.
21707 (delete-window, delete-other-windows, split-window): Move here
21708 from window.c.
21709 (window-split-min-size): New function.
21710 (split-window-keep-point): Mention split-window-above-each-other
21711 instead of split-window-vertically.
2b75be67 21712 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
21713 Rename split-window-vertically to split-window-above-each-other
21714 and provide defalias for old definition.
21715 (split-window-side-by-side, split-window-horizontally):
21716 Rename split-window-horizontally to split-window-side-by-side
21717 and provide defalias for the old definition.
562dd5e9
MR
21718 (ctl-x-map): Move bindings for delete-window,
21719 delete-other-windows and enlarge-window here from window.c.
21720 Replace bindings for split-window-vertically and
21721 split-window-horizontally by bindings for
21722 split-window-above-each-other and split-window-side-by-side.
21723
21724 * cus-start.el (all): Remove entries for window-min-height and
21725 window-min-width. Add entries for window-splits and
21726 window-nest.
21727
f0da764a
GM
217282011-06-09 Glenn Morris <rgm@gnu.org>
21729
80675c21
GM
21730 * calendar/appt.el (appt-mode-line): New function.
21731 (appt-check, appt-disp-window): Use it.
21732
f0da764a
GM
21733 * files.el (hack-one-local-variable-eval-safep):
21734 Allow minor-modes with explicit +/-1 arguments.
21735
59f623b7
TZ
217362011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21737
21738 * term/xterm.el (xterm): Add defgroup.
21739 (xterm-extra-capabilities): Add defcustom to supply known xterm
21740 capabilities, skip querying them, or query them (default).
21741 (terminal-init-xterm): Use it.
21742 (terminal-init-xterm-modify-other-keys): New function to set up
21743 modifyOtherKeys support to simplify `terminal-init-xterm'.
21744
9aab8e0d
MR
217452011-06-09 Martin Rudalics <rudalics@gmx.at>
21746
21747 * window.el (resize-window-reset, resize-window-reset-1)
21748 (resize-subwindows-skip-p, resize-subwindows-normal)
21749 (resize-subwindows, resize-other-windows, resize-this-window)
21750 (resize-root-window, resize-root-window-vertically)
21751 (window-deletable-p, window-or-subwindow-p)
21752 (frame-root-window-p): New functions.
21753
e8b08aee
GM
217542011-06-09 Glenn Morris <rgm@gnu.org>
21755
21756 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21757 (ange-ftp-get-files): Use it.
21758
254c37a5
AK
217592011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21760
21761 * mail/sendmail.el (mail-recover-1, mail-recover):
21762 * files.el (recover-file, recover-session):
21763 Handle dired-listing-switches not being just a single short option.
21764
35d7dbd3
GM
217652011-06-09 Glenn Morris <rgm@gnu.org>
21766
21767 * calendar/appt.el (appt-display-message, appt-disp-window):
21768 Handle lists of appointments.
21769
387522b2
MR
217702011-06-08 Martin Rudalics <rudalics@gmx.at>
21771
2b75be67
SM
21772 * window.el (one-window-p): Move down in code.
21773 Rewrite doc-string.
21774 (window-current-scroll-bars): Rewrite doc-string.
21775 Normalize live window argument.
387522b2
MR
21776 (walk-windows, get-window-with-predicate, count-windows):
21777 Rewrite doc-string. Use window-list-1.
21778 (window-in-direction-2, window-in-direction, get-mru-window):
21779 New functions.
21780
d8e4b68b 217812011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
21782
21783 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21784 Doc fix (Bug#8713).
21785
217862011-06-08 Chong Yidong <cyd@stupidchicken.com>
21787
21788 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21789
217902011-06-08 Juanma Barranquero <lekktu@gmail.com>
21791
21792 * loadhist.el (unload-feature-special-hooks):
21793 Add `comint-output-filter-functions'.
21794
0de12c52
IK
217952011-06-08 Ivan Kanis <gnu@kanis.fr>
21796
21797 * calendar/appt.el (appt-check): Move some initializations into the let.
21798
f3d1777e
MR
217992011-06-08 Martin Rudalics <rudalics@gmx.at>
21800
21801 * window.el (window-height): Defalias to window-total-height.
21802 (window-width): Defalias to window-body-width.
21803
18af70d0
CY
218042011-06-07 Chong Yidong <cyd@stupidchicken.com>
21805
21806 * image-mode.el (image-toggle-animation): New command.
21807 (image-mode-map): Bind it to RET.
21808 (image-mode): Update message.
21809 (image-toggle-display-image): Avoid a spurious cache flush.
21810 (image-transform-rotation): Doc fix.
21811 (image-transform-properties): Return quickly in the normal case.
21812 (image-animate-loop): Rename from image-animate-max-time.
21813
2b75be67 21814 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
21815 (create-animated-image): Remove unnecessary function.
21816 (image-animate): Rename from image-animate-start. New arg.
2b75be67 21817 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
21818 (image-animate-timer): Use car-safe.
21819 (image-animate-timeout): Rename argument.
21820
190b47e6
MR
218212011-06-07 Martin Rudalics <rudalics@gmx.at>
21822
21823 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
21824 window.c. Rename first argument to ALL-FRAMES.
21825 Rephrase doc-strings.
21826 (get-buffer-window-list): Rewrite using window-list-1.
21827 Rephrase doc-string.
a1511caf
MR
21828 (window-safe-min-height, window-safe-min-width): New constants.
21829 (window-size-ignore, window-min-size, window-min-size-1)
21830 (window-sizable, window-sizable-p, window-size-fixed-1)
21831 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21832 (window-max-delta-1, window-max-delta, window-resizable)
21833 (window-resizable-p, window-total-height, window-total-width)
21834 (window-body-width): New functions.
21835 (window-full-height-p, window-full-width-p): Rewrite using
21836 window-total-size.
21837 (window-body-height): Rewrite using window-body-size.
190b47e6 21838
85cc1f11
MR
218392011-06-06 Martin Rudalics <rudalics@gmx.at>
21840
21841 * window.el (window-right, window-left, window-child)
21842 (window-child-count, window-last-child, window-any-p)
21843 (normalize-live-buffer, normalize-live-frame)
21844 (normalize-any-window, normalize-live-window)
21845 (window-iso-combination-p, window-iso-combined-p)
21846 (window-iso-combinations)
21847 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21848 (windows-with-parameter, window-with-parameter)
21849 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
21850 (window-atom-check, window-side-check, window-check):
21851 New functions.
85cc1f11
MR
21852 (ignore-window-parameters, window-sides, window-sides-vertical)
21853 (window-sides-slots): New variables.
21854 (window-size-fixed): Move down in code. Minor doc-string fix.
21855
e7156492
AS
218562011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21857
21858 * comint.el (comint-dynamic-complete-as-filename)
21859 (comint-dynamic-complete-filename): Correctly call
21860 completion-in-region.
21861
7e821d0d
DD
218622011-06-05 Deniz Dogan <deniz@dogan.se>
21863
21864 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21865 in last change.
21866
ac09b8a1
DD
218672011-06-05 Deniz Dogan <deniz@dogan.se>
21868
21869 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21870 (rcirc): Use it to prompt for encryption.
21871
34699b85
RW
218722011-06-05 Roland Winkler <winkler@gnu.org>
21873
21874 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21875 (bibtex-search-entries): New command bound to C-c C-a.
21876 (bibtex-display-entries): New function.
21877
004dedd3
RW
218782011-06-05 Roland Winkler <winkler@gnu.org>
21879
21880 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21881 (bibtex-insert-kill): After yanking insert newline if necessary.
21882 (bibtex-initialize): Call bibtex-string-files-init only once.
21883 (bibtex-mode): Do not call easy-menu-add.
21884 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21885 (bibtex-yank): Set arg properly if nil.
21886
022fe7ce
RW
218872011-06-05 Roland Winkler <winkler@gnu.org>
21888
2b75be67
SM
21889 * textmodes/bibtex.el (bibtex-search-entry-globally):
21890 New variable.
022fe7ce
RW
21891 (bibtex-search-entry): Use it.
21892
b7c3692a
RW
218932011-06-05 Roland Winkler <winkler@gnu.org>
21894
21895 * textmodes/bibtex.el (bibtex-entry-format): New option
21896 sort-fields.
21897 (bibtex-format-entry, bibtex-reformat): Honor this option.
21898 (bibtex-parse-entry): Return fields in proper order.
21899
8eda563d
JB
219002011-06-05 Juanma Barranquero <lekktu@gmail.com>
21901
21902 * doc-view.el (doc-view-remove-if): Move computation of result out
21903 of `dolist' to silence misleading lexical-binding warning.
21904
7dbe3dbc
CY
219052011-06-04 Chong Yidong <cyd@stupidchicken.com>
21906
21907 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21908 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21909
0c33dd17
MA
219102011-06-04 Michael Albinus <michael.albinus@gmx.de>
21911
21912 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21913 "SunOS 5.10".
21914
f8f91c2b
MA
219152011-06-04 Michael Albinus <michael.albinus@gmx.de>
21916
21917 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21918 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21919 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21920 (tramp-parse-putty):
21921 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21922 (tramp-completion-function-alist-ssh)
21923 (tramp-completion-function-alist-telnet)
21924 (tramp-completion-function-alist-su)
21925 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21926 cookie.
21927
21928 * net/tramp-ftp.el:
21929 * net/tramp-sh.el:
21930 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21931 load "tramp.el" `tramp-set-completion-function'.
21932
e17d9003
SM
219332011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21934
21935 * shell.el: Require and use pcomplete.
21936 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21937 (shell-completion-vars): Set pcomplete-default-completion-function.
21938
6c4cab03
DD
219392011-06-04 Deniz Dogan <deniz@dogan.se>
21940
21941 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21942 `memq' (Bug#8799).
21943
ea9fafe0
SM
219442011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21945
21946 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21947
b3e945d3
JB
219482011-06-02 Juanma Barranquero <lekktu@gmail.com>
21949
21950 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21951 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21952 * vc/log-view.el (log-view-beginning-of-defun):
21953 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21954 (smerge-refine-forward, smerge-refine-chopup-region):
21955 Silence warning for unused `dotimes' counter variables.
21956
7d520089
SM
219572011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21958
21959 * net/tramp.el (tramp-with-progress-reporter): Rename from
21960 with-progress-reporter. Use `declare'.
21961 * net/tramp-smb.el:
21962 * net/tramp-sh.el:
21963 * net/tramp-gvfs.el: Update all uses.
21964
a1c2400f
JB
219652011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21966
21967 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21968 buffer isn't killed before making it current.
21969
2403c841
SM
219702011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21971
21972 Silence various byte-compiler warnings.
21973 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21974 `access-type' and new obsolescence format.
21975 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21976 new format.
21977 (byte-compile-check-variable): New `access-type' argument.
21978 Only warn if the access-type is obsolete.
21979 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21980 (byte-compile-variable-set): Adjust callers.
21981 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21982 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21983 setting it as obsolete.
21984 * simple.el (minibuffer-completing-symbol):
21985 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21986 access as obsolete.
21987 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21988 obsolete yet.
21989 * international/quail.el (quail-mouse-choose-completion): Remove unused
21990 code referring to obsolete var.
21991 (quail-choose-completion-string): Remove.
21992 * server.el (server-clients-with, server-kill-buffer-query-function)
21993 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21994 * proced.el (proced-send-signal):
21995 * emacs-lisp/lisp.el (lisp-complete-symbol):
21996 Replace completion-annotate-function with completion-extra-properties.
21997
2462470b
SM
219982011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21999
fb5b2591
SM
22000 * simple.el (goto-line): Use read-number.
22001 (overriding-map-is-bound): Remove.
22002 (saved-overriding-map): Change default.
22003 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22004 Take the map as argument.
22005 (universal-argument, negative-argument, digit-argument): Use it.
22006 (restore-overriding-map): Adjust.
22007 (do-auto-fill): Use fill-forward-paragraph.
22008 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22009
fd6fa53f
SM
22010 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22011 (minibuffer-inactive-mode): New major mode.
22012 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22013 the *Messages* buffer" hack.
22014 (mouse-popup-menubar): Don't burp if the event is a normal key.
22015
2462470b
SM
22016 Miscellaneous tweaks.
22017 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22018 lexical scoping as in subr.el's dolist and dotimes.
22019 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22020 Silence compiler warning.
22021 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22022 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22023 * international/ccl.el (ccl-compile): Trivial simplification.
22024 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22025 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22026 `printflag' argument.
22027 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22028 Purecopy the whole obsolescence data.
22029
108bf785
LL
220302011-06-01 Leo Liu <sdl.web@gmail.com>
22031
22032 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22033 improve doc-string as suggested by Marco Pessotto
22034 <melmothx@gmail.com>.
22035 (rcirc-print): Fix last change.
22036
30a23501
SM
220372011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22038
22039 * minibuffer.el (complete-with-action): Return nil for the metadata and
22040 boundaries of non-functional tables.
22041 (completion-table-dynamic): Return nil for the metadata.
22042 (completion-table-with-terminator): Add default case, using
22043 complete-with-action.
22044 (completion--metadata): New function.
22045 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22046 to try and avoid pathological performance problems.
22047 (completion--embedded-envvar-table): Return `category' metadata.
22048
bcd54f83
LMI
220492011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22050
22051 * subr.el (process-alive-p): New tiny convenience function.
22052
e227544d
SM
220532011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22054
22055 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22056 content but also its previous major mode.
22057
e8296fdc
HE
220582011-05-31 Helmut Eller <eller.helmut@gmail.com>
22059
4d61f28d 22060 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
22061 *Backtrace* buffer when we exit with C-M-c.
22062
620c53a6
SM
220632011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22064
22065 * minibuffer.el: Add metadata method to completion tables.
22066 (completion-category-overrides): New defcustom.
22067 (completion-metadata, completion--field-metadata)
22068 (completion-metadata-get, completion--styles)
22069 (completion--cycle-threshold): New functions.
22070 (completion-try-completion, completion-all-completions):
22071 Add `metadata' argument to choose completion-styles.
22072 (completion--do-completion): Use metadata to choose cycling.
22073 (completion-all-sorted-completions): Use metadata for sorting.
22074 Remove :completion-cycle-penalty which is not needed any more.
22075 (completion--try-word-completion): Add `metadata' argument.
22076 (minibuffer-completion-help): Check metadata for annotation function
22077 and sorting.
22078 (completion-file-name-table): Return `category' metadata.
22079 (minibuffer-completing-file-name): Make obsolete.
22080 * simple.el (minibuffer-completing-symbol): Make obsolete.
22081 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22082 completion-try-completion.
22083
1257e755
SM
220842011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22085
22086 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22087
3767e706
LL
220882011-05-30 Leo Liu <sdl.web@gmail.com>
22089
22090 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
22091 (rcirc-print): Decode all incoming messages (bug#8744).
22092 (rcirc-decode-coding-system): Allow value nil for automatic coding
22093 system detection.
3767e706 22094
d1a5d56a
GM
220952011-06-01 Glenn Morris <rgm@gnu.org>
22096
22097 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22098
e8cbec34
CY
220992011-05-29 Chong Yidong <cyd@stupidchicken.com>
22100
22101 * image.el (image-animate-max-time): Allow nil and t values.
22102 Default to nil.
22103 (create-animated-image): Doc fix.
22104 (image-animate-start): Remove second arg; just use
22105 image-animate-max-time.
22106 (image-animate-timeout): Doc fix. Args changed.
22107
22108 * image-mode.el (image-toggle-display-image): Ensure that the
22109 image spec passed to the animate timer is the same object as in
58179cce 22110 the buffer's display property (Bug#6981).
e8cbec34
CY
22111 (image-transform-properties): Doc fix.
22112
22113 * image.el (image-animate-max-time): Default to nil.
22114
159daf87
MR
221152011-05-29 Martin Rudalics <rudalics@gmx.at>
22116
22117 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22118 entire buffer list (Bug#8184).
22119
d66c4c7c
CY
221202011-05-29 Chong Yidong <cyd@stupidchicken.com>
22121
22122 * image.el (imagemagick-types-inhibit)
22123 (imagemagick-register-types): Doc fix.
22124
80aec780
DD
221252011-05-29 Deniz Dogan <deniz@dogan.se>
22126
22127 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22128 default.
22129
1dd3c2d9
CY
221302011-05-29 Chong Yidong <cyd@stupidchicken.com>
22131
22132 * select.el: Don't perform clipboard-manager saving in hooks;
22133 leave the hooks empty.
22134
60e56523
LL
221352011-05-28 Leo Liu <sdl.web@gmail.com>
22136
22137 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22138 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22139 (occur-edit-mode): New major mode (Bug#8463).
22140 (occur-after-change-function): New function.
22141 (occur-engine): Give Occur tags a read-only property.
22142
2b1e1a22
KR
221432011-05-28 Kevin Ryde <user42@zip.com.au>
22144
22145 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22146
5d344e88
CY
221472011-05-28 Chong Yidong <cyd@stupidchicken.com>
22148
8e6ca83d
CY
22149 * bindings.el (help-echo): Make the initial non-indicator dash
22150 empty on graphical terminals (Bug#7295).
22151
5d344e88
CY
22152 * files.el (auto-mode-alist): Move config rule after the
22153 in-stripping one (Bug#8547).
22154
bfbbace7
CY
22155 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22156
fbeba6e2
CY
22157 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22158 setting (Bug#8740).
22159
60ed8c72
AA
221602011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22161
4ac619f0
AA
22162 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22163 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22164 (Bug#8539).
60ed8c72 22165
23db196e
CY
221662011-05-28 Chong Yidong <cyd@stupidchicken.com>
22167
22168 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22169
5012f24c
DK
221702011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22171
22172 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22173 (hs-hide-block-at-point, hs-find-block-beginning)
22174 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22175 (Bug#8279).
22176
6a639b16
GM
221772011-05-28 Glenn Morris <rgm@gnu.org>
22178
22179 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22180
d43eaf2c
CY
221812011-05-28 Chong Yidong <cyd@stupidchicken.com>
22182
5199bde1
CY
22183 * help-fns.el (describe-function-1): If the function is a derived
22184 major mode, print the parent mode.
22185
d43eaf2c
CY
22186 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22187 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22188
423428a8
SM
221892011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22190
0ff8e1ba 22191 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 22192 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
22193 * progmodes/etags.el (tags-completion-at-point-function):
22194 * info-look.el (info-lookup-completions-at-point): Mark as
22195 non-exclusive.
22196 (info-complete): Adjust accordingly.
22197
423428a8
SM
22198 * info-look.el: Convert to lexical-binding and completion-at-point.
22199 (info-lookup-completions-at-point): New function.
22200 (info-complete): Use it and completion-in-region.
22201
b74aa22b
DA
222022011-05-28 Drew Adams <drew.adams@oracle.com>
22203
22204 * isearch.el: Let M-e start with point at the first mismatched char.
22205 (isearch-fail-pos): New function.
22206 (isearch-edit-string): Use it.
22207
66e2e71d
DK
222082011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22209
22210 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22211
b1890b0f 222122011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
22213
22214 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22215 traversal functions for avl-trees.
22216 (avl-tree--stack): New struct.
22217 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22218 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
22219 (avl-tree--do-enter): Add optional `updatefun' arg.
22220 Change return value.
eb95d01d 22221 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
22222 (avl-tree--do-delete): Add `test' and `nilflag' args.
22223 Change return value.
eb95d01d
TC
22224 (avl-tree-member): Add optional `nilflag'
22225 (avl-tree-member-p): New function.
22226 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22227 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22228 (avl-tree-stack-empty-p): New functions.
22229
3769ddcf
TC
22230 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22231 avl-tree--del-balance1 and make it work both ways.
22232 (avl-tree--del-balance2): Remove.
22233 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22234 make it work both ways.
22235 (avl-tree--enter-balance2): Remove.
22236 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22237 New macros.
22238 (avl-tree--mapc, avl-tree-map): Add direction argument.
22239
eb95d01d 222402011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
22241
22242 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22243
a9f737ee
CY
222442011-05-27 Chong Yidong <cyd@stupidchicken.com>
22245
22246 * select.el: Support clipboard managers with built-in function
22247 x-clipboard-manager-save, via delete-frame-functions and
22248 kill-emacs-hook.
22249 (xselect-convert-to-targets): Add MULTIPLE target to list.
22250 (xselect-convert-to-save-targets): New function.
22251
c92a1e54
KH
222522011-05-27 Kenichi Handa <handa@m17n.org>
22253
22254 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22255 let-binding rfc2047-encode-encoded-words to nil.
22256
e145f188
GM
222572011-05-27 Glenn Morris <rgm@gnu.org>
22258
5ec8a862
GM
22259 * mail/emacsbug.el: Don't require url-util.
22260
4b29d9fb
GM
22261 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22262
e145f188
GM
22263 * files.el (set-auto-mode):
22264 Also respect mode: entries at the end of the file. (Bug#8586)
22265
7d15102b
GM
222662011-05-26 Glenn Morris <rgm@gnu.org>
22267
98f593b8
GM
22268 * files.el (hack-local-variables-prop-line, hack-local-variables):
22269 Downcase mode names, as seems to be traditional.
27b48e63 22270 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 22271
7d15102b
GM
22272 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22273 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22274
51d5b4ec
JD
222752011-05-25 Julien Danjou <julien@danjou.info>
22276
22277 * textmodes/rst.el (rst-define-level-faces): Do not define face
22278 symbol if it is already defined.
22279
91513f63
VB
222802011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22281
22282 * play/5x5.el (5x5-new-game, 5x5-randomize):
22283 Reset 5x5-solver-output to nil when a new grid is cast.
22284 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22285 these debugging traces, as defmacro breaks the compiled code.
22286
4d90d6d0
DK
222872011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22288
22289 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22290
e1b90ef6
LL
222912011-05-24 Leo Liu <sdl.web@gmail.com>
22292
22293 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22294 (vc-bzr-sha1): Adapt.
22295
d8e4b68b 22296 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
22297
22298 * bindings.el: Provide sha1 feature.
22299
db0406bb 223002011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
22301
22302 * mail/sendmail.el: Require `rfc2047'.
22303 (mail-insert-from-field): Do not perform RFC2047 encoding.
22304 (mail-encode-header): New function.
22305 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
22306 buffer to the return value of select-message-coding-system.
22307 Call mail-encode-header.
b8d747b9
KH
22308
22309 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22310
db0406bb 223112011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 22312
4d90d6d0
DK
22313 * mail/supercite.el (sc-default-cite-frame):
22314 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 22315
eb8a5e9b
GM
223162011-05-24 Glenn Morris <rgm@gnu.org>
22317
f8630703
GM
22318 * progmodes/python.el (brm-menu): Declare.
22319
8831bbed
GM
22320 * emulation/viper.el (viper-set-hooks): Declare.
22321
eb8a5e9b
GM
22322 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22323 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22324 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22325 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22326 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22327 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22328
a2a25d24
SM
223292011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22330
22331 Add an :exit-function for completion-at-point.
22332
22333 * minibuffer.el (completion--done): New fun.
22334 (completion--do-completion): Use it. New arg `expect-exact'.
22335 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22336 since completion--do-completion does it for us now.
22337 (minibuffer-force-complete): Use completion--done and
22338 completion--replace. Handle sole-completion case with more care.
22339 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22340 (completion-extra-properties): New var.
22341 (completion-annotate-function): Make obsolete.
22342 (minibuffer-completion-help): Adjust accordingly.
22343 Use completion-list-insert-choice-function.
22344 (completion-at-point, completion-help-at-point):
22345 Bind completion-extra-properties.
22346 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22347 * simple.el (completion-list-insert-choice-function): New var.
22348 (completion-setup-function): Preserve it.
22349 (choose-completion): Pay attention to it, shuffle the code a bit.
22350 (choose-completion-string): New arg `insert-function'.
22351
22352 * textmodes/bibtex.el: Convert to lexical binding.
22353 (bibtex-mode-map): Use completion-at-point.
22354 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22355 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22356 (bibtex-complete): Define as obsolete alias.
22357 (bibtex-complete-internal): Remove.
22358 (bibtex-format-entry): Remove unused sub-group in regexp.
22359 * shell.el (shell--command-completion-data)
22360 (shell-environment-variable-completion):
22361 * pcomplete.el (pcomplete-completions-at-point):
22362 * comint.el (comint--complete-file-name-data): Use :exit-function
22363 instead of completion-table-with-terminator so it also works for
22364 choose-completion.
22365
e44e373d
SM
223662011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22367
4f91a816
SM
22368 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22369
782fc819
SM
22370 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22371 (bug#8710).
22372
e44e373d
SM
22373 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22374
381987c3
KM
223752011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22376
22377 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22378 customization variable and implement: If non-nil, auto-fill will
22379 be inhibited while on topic's header line.
22380
b776bc70
VB
223812011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22382
22383 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 22384 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
22385 always have a solution in grid size = 5 cases.
22386 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22387 (5x5-solver-output, 5x5-log-buffer): New vars.
22388 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22389 Make these variables buffer local to achieve 5x5 multi-session-ness.
22390 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22391 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22392 (5x5-solve-suggest): New funs.
22393 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22394 randomize a grid so that we ensure that there is always a solution.
22395 (5x5-make-random-grid): Allow other movement than flipping.
22396
7de88b6e
KR
223972011-05-23 Kevin Ryde <user42@zip.com.au>
22398
22399 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 22400 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
22401 advice and passes PREDICATE.
22402
b1ef1257
SM
224032011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22404
bbca48fe
SM
22405 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22406 byte-compile-lambda if it's actually a lambda.
22407
b1ef1257
SM
22408 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22409 Fix function quoting. Use backquote better.
22410
92a9cc65
YS
224112011-05-22 Yuanle Song <sylecn@gmail.com>
22412
22413 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22414 matching (Bug#8516).
22415
fe93f41a 224162011-05-22 Jari Aalto <jari.aalto@cante.net>
f0fb8059
JA
22417
22418 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22419 different face (Bug#8178).
22420
d5b44c93
CY
224212011-05-22 Chong Yidong <cyd@stupidchicken.com>
22422
22423 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22424 defface (Bug#8144).
22425
79106a44
SM
224262011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22427
9c848d8a
SM
22428 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22429 funcall as well (bug#8712). Warn when performing those conversions.
22430 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22431
79106a44
SM
22432 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22433
88dfa756
GM
224342011-05-22 Glenn Morris <rgm@gnu.org>
22435
22436 * files.el (hack-local-variables-prop-line): Small simplifications.
22437 (hack-local-variables, hack-local-variables-prop-line):
22438 If MODE-ONLY, return the mode, rather than just `t'.
22439
b7cf2c79
SM
224402011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22441
22442 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22443
3f1a8558
GM
224442011-05-21 Glenn Morris <rgm@gnu.org>
22445
7e4ccca3
GM
22446 * files.el (hack-local-variables-prop-line, hack-local-variables):
22447 If only interested in the mode, don't bother doing the other stuff.
22448
637d46ca
GM
22449 * image-mode.el (image-after-revert-hook):
22450 Redraw all frames on which the image is visible. (Bug#8567)
22451
973d955b
GM
22452 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22453
3f1a8558
GM
22454 * wid-edit.el (widget-checklist-match-inline):
22455 Fix 2011-04-19 change. (Bug#8649)
22456
96479927
SM
224572011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22458
1dcf791f
SM
22459 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22460 Also allow singlespace after single-letter capitals followed by a dot.
22461
96479927
SM
22462 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22463 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22464
35fd0881
N
224652011-05-20 Nix <nix@esperi.org.uk>
22466
22467 * files.el (basic-save-buffer-2):
22468 Fix handling of break-hardlink-on-save with non-existent files.
22469
82745640
DD
224702011-05-19 Deniz Dogan <deniz@dogan.se>
22471
22472 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 22473 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 22474
4a720484
GM
224752011-05-19 Glenn Morris <rgm@gnu.org>
22476
d1f21341
GM
22477 * progmodes/f90.el (f90-type-def-re):
22478 Handle "type, bind(c)". (Bug#8691)
22479
4a720484
GM
22480 * emacs-lisp/autoload.el (batch-update-autoloads):
22481 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22482
2fb0a219
MA
224832011-05-18 Michael Albinus <michael.albinus@gmx.de>
22484
22485 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22486 property for the correct connection in case of multihops.
22487
e565dd37
GM
224882011-05-18 Glenn Morris <rgm@gnu.org>
22489
c2571358 22490 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
22491 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22492
e565dd37
GM
22493 Rationalize calendar handling of day and month abbrev-arrays.
22494 * calendar/calendar.el (calendar-customized-p): New function.
22495 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22496 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22497 Add :set function.
22498 (calendar-abbrev-length, calendar-day-abbrev-array)
22499 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22500 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22501 Elements may no longer be nil.
22502 (calendar-day-name, calendar-month-name):
22503 Update for changed nature of abbrev arrays.
22504 * calendar/diary-lib.el (diary-name-pattern):
22505 Update for changed nature of abbrev arrays.
22506 (diary-mark-entries-1): Update calendar-make-alist calls.
22507 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22508 * calendar/cal-html.el (cal-html-day-abbrev-array):
22509 Simply inherit from calendar-day-abbrev-array.
22510
1d99a745
SM
225112011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22512
22513 * progmodes/grep.el (grep-mode): Disable default
22514 compilation-directory-matcher setting (bug#8684).
22515
7c1d9aa0
MA
225162011-05-17 Michael Albinus <michael.albinus@gmx.de>
22517
22518 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22519 instead of "head" and "tail". There were problems with SunOS 5.9,
22520 and it performs better.
22521
3952e9d8
GM
225222011-05-17 Glenn Morris <rgm@gnu.org>
22523
2dd12e7f
GM
22524 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22525
e4157b9c
GM
22526 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22527 Replace obsolete function.
22528
8e249bbd
GM
22529 * shell.el (pcomplete-parse-arguments-function): Declare.
22530
3952e9d8
GM
22531 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22532 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22533 (appt-check): Doc fixes.
22534 (appt-disp-window-function, appt-delete-window-function):
22535 Remove needless special case in custom :type.
22536 (appt-display-count): Default to 0, not nil.
22537 (appt-check): Reset appt-display-count to 0, not nil.
22538
c71a0d48 225392011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 22540
c71a0d48
GM
22541 * progmodes/python.el (python-font-lock-keywords):
22542 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 22543
31d55be9
SM
225442011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22545
22546 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22547
3bfacb2f
KR
225482011-05-16 Kevin Ryde <user42@zip.com.au>
22549
22550 * info-look.el (makefile-automake-mode): New setups, looking in
22551 automake manual, then makefile-mode.
22552 (makefile-mode): Remove automake manual, have it just in
22553 makefile-automake-mode since there's various things different or
22554 not relevant to plain make.
22555 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22556 believe a hypothetical automake-mode would go to makefile-mode,
22557 not the other way around.
22558
c8e83751
CY
225592011-05-15 Chong Yidong <cyd@stupidchicken.com>
22560
5e9e35cd
CY
22561 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22562 hunk-end tags (Bug#8672).
22563
c8e83751
CY
22564 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22565 vc-annotate-show-diff-revision-at-line (Bug#8671).
22566
50b23e5a
GM
225672011-05-14 Glenn Morris <rgm@gnu.org>
22568
7210a739
GM
22569 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22570 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
22571 (change-log-font-lock-keywords): Also handle multiple author lines
22572 with leading tabs. (Bug#8644)
7210a739 22573
4691905a
GM
22574 * calendar/appt.el (appt-check): Rename some local variables.
22575 Some simplification/reordering.
22576
50b23e5a
GM
22577 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22578 (feedmail-sendmail-f-doesnt-sell-me-out)
22579 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22580 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22581 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
22582 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22583 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
22584 (feedmail-binmail-gnulinuxish-template):
22585 Rename from feedmail-binmail-linuxish-template.
22586 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22587 Use insert-buffer-substring.
22588
215cda7c
BC
225892011-05-14 Bill Carpenter <bill@carpenter.org>
22590
22591 * mail/feedmail.el (feedmail-patch-level): Increase.
22592 (feedmail-debug): New custom group.
22593 (feedmail-confirm-outgoing-timeout)
22594 (feedmail-sendmail-f-doesnt-sell-me-out)
22595 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22596 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22597 (feedmail-sender-line, feedmail-from-line)
22598 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 22599 (feedmail-spray-this-address)
215cda7c
BC
22600 (feedmail-spray-address-fiddle-plex-list)
22601 (feedmail-queue-use-send-time-for-date)
22602 (feedmail-queue-use-send-time-for-message-id)
22603 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22604 (feedmail-buffer-eating-function):
22605 Doc fixes.
22606 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22607 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22608 (feedmail-message-action-scroll-down): New functions.
22609 (feedmail-queue-directory, feedmail-queue-draft-directory):
22610 Use expand-file-name.
22611 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22612 Remove C-v help entry.
22613 (feedmail-queue-buffer-file-name): New variable.
22614 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22615 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22616 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22617 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22618 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22619 (feedmail-message-action-toggle-spray)
22620 (feedmail-run-the-queue-no-prompts)
22621 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22622 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22623 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22624 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22625 (feedmail-envelope-deducer, feedmail-fiddle-from)
22626 (feedmail-fiddle-sender, feedmail-default-date-generator)
22627 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22628 (feedmail-fiddle-spray-address)
22629 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22630 (feedmail-fiddle-list-of-fiddle-plexes)
22631 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22632 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22633 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22634 Change default. Doc fix.
22635 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22636 (feedmail-binmail-linuxish-template): New constant.
22637 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22638 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22639 (feedmail-send-it): Add debug call.
22640 Use feedmail-queue-buffer-file-name, and
22641 feedmail-send-it-immediately-wrapper.
22642 (feedmail-message-action-send): Add debug call.
22643 Use feedmail-send-it-immediately-wrapper.
22644 (feedmail-queue-express-to-queue): Add debug call.
22645 Run feedmail-queue-express-hook.
22646 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22647 (feedmail-message-action-help-blat):
22648 Rename from feedmail-queue-send-edit-prompt-help-first.
22649 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22650 Check line-endings. Handle errors better.
22651 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22652 Doc fix. Add debug call.
22653 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22654 Use feedmail-queue-send-edit-prompt-inner.
22655 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22656 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22657 from feedmail-queue-send-edit-prompt.
22658 (feedmail-queue-send-edit-prompt-help)
22659 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22660 (feedmail-tidy-up-slug): Add debug call.
22661 Respect feedmail-queue-slug-suspect-regexp.
22662 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22663 (feedmail-dump-message-to-queue): Add debug call.
22664 Expand queue-directory.
22665 (feedmail-dump-message-to-queue): Change message slightly.
22666 Use feedmail-say-chatter.
22667 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22668 (feedmail-send-it-immediately-wrapper): New function.
22669 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22670 Insert empty string rather than newline. Handle full-frame case.
22671 Use catch/throw. Use feedmail-say-chatter.
22672 (feedmail-fiddle-from): Try mail-host-address.
22673 (feedmail-default-message-id-generator): Doc fix.
22674 Bind system-time-locale. Handle missing end.
22675 (feedmail-fiddle-x-mailer): Add debug call.
22676 Handle feedmail-x-mailer-line being nil.
22677 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22678 Add debug call. Use buffer-substring-no-properties.
22679 (feedmail-say-debug, feedmail-say-chatter): New functions.
22680 (feedmail-find-eoh): Give an explicit error.
22681
42c7e61e
UJ
226822011-05-13 Ulf Jasper <ulf.jasper@web.de>
22683
c2571358 22684 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 22685 family from helvetica to sans.
c2571358 22686 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
22687 etc/images/newsticker.
22688
c2571358 22689 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
22690 family from helvetica to sans.
22691
22692 * net/newst-plainview.el (newsticker-new-item-face)
22693 (newsticker-old-item-face, newsticker-immortal-item-face)
22694 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 22695 (newsticker-statistics-face): Change default family from
42c7e61e 22696 helvetica to sans.
c2571358 22697 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
22698 etc/images/newsticker.
22699
5d3385a0
JB
22700 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22701 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
22702 auto-marking.
22703
8497a297
DV
227042011-05-13 Didier Verna <didier@xemacs.org>
22705
22706 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
22707 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22708 TODO entries.
8497a297
DV
22709 (lisp-lambda-list-keyword-parameter-indentation)
22710 (lisp-lambda-list-keyword-parameter-alignment)
22711 (lisp-lambda-list-keyword-alignment): New customizable user options.
22712 (lisp-indent-defun-method): Improve docstring.
22713 (extended-loop-p): Fix comment.
22714 (lisp-indent-lambda-list-keywords-regexp): New variable.
22715 (lisp-indent-lambda-list): New function.
22716 (lisp-indent-259): Use it.
22717 (lisp-indent-defmethod): Support for more than one
22718 method qualifier and properly indent methods lambda-lists.
22719 (defgeneric): Provide a missing common-lisp-indent-function property.
22720
f278f87f
SM
227212011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22722
22723 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22724 bounds for the empty string (bug#8667).
22725
5233edd7
GM
227262011-05-13 Glenn Morris <rgm@gnu.org>
22727
5237a44f
GM
22728 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22729
8340026c 22730 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 22731 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 22732
5233edd7 22733 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 22734 (appt-time-msg-list): Doc fix.
a5464014 22735 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 22736
92d10796
AS
227372011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22738
22739 * progmodes/ld-script.el (ld-script-keywords)
22740 (ld-script-builtins): Update keywords list.
22741
914a0ae1
SM
227422011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22743
c89be45f
SM
22744 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22745
914a0ae1
SM
22746 * shell.el (shell-completion-vars): New function.
22747 (shell-mode):
22748 * simple.el (read-shell-command): Use it.
22749 (blink-matching-open): No need for " [...]" in minibuffer-message.
22750
98dc3df3
GM
227512011-05-12 Glenn Morris <rgm@gnu.org>
22752
22753 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22754 (appt-check): Simplify.
22755
d2fc7e3d 227562011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 22757
4d61f28d 22758 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
22759 literal "/dev/null".
22760
d2fc7e3d 227612011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
22762
22763 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22764 Fix typo.
22765
d2fc7e3d 227662011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 22767
3f254caa
SM
22768 * progmodes/which-func.el (which-function):
22769 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
22770 which might not be defined (Bug#8260).
22771
d45885f7
GM
227722011-05-12 Glenn Morris <rgm@gnu.org>
22773
22774 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22775 Let byte-compile-initial-macro-environment always take precedence.
22776
488086f4
SM
227772011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22778
22779 * net/rcirc.el: Add support for SSL/TLS connections.
22780 (rcirc-server-alist): New field `encryption'.
22781 (rcirc): Check `encryption' settings.
22782 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22783 Merge make-local-variable into `set'.
22784 (rcirc--connection-open-p): New function.
22785 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22786 the process is not a network process (e.g. running gnutls-cli).
22787 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22788 Make rcirc-(en|de)code-coding-system local here.
22789 (rcirc-mode): Merge make-local-variable into `set'.
22790 (rcirc-parent-buffer): Make permanent buffer-local.
22791 (rcirc-multiline-minor-mode): Don't do it here.
22792 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22793 there's no server buffer.
22794
7d3b9d44
GM
227952011-05-11 Glenn Morris <rgm@gnu.org>
22796
f64049c6
GM
22797 * newcomment.el (comment-kill): Prefix "unused" local.
22798
93c9df73
GM
22799 * term/w32console.el (get-screen-color): Declare.
22800
7d3b9d44
GM
22801 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22802 Handle symbol elements of byte-compile-initial-macro-environment.
22803
9e2dd53f
LL
228042011-05-10 Leo Liu <sdl.web@gmail.com>
22805
488086f4
SM
22806 * bookmark.el (bookmark-bmenu-mode-map):
22807 Bind bookmark-bmenu-search to `/'.
8b340240 22808
9e2dd53f 22809 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
22810 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22811 (Footnote-unicode): New function.
22812 (footnote-style-alist): Add unicode style to the list.
22813 (footnote-style): Doc fix.
9e2dd53f 22814
79b70037
GM
228152011-05-10 Jim Meyering <meyering@redhat.com>
22816
22817 Fix doubled-word typos.
22818 * international/quail.el (quail-insert-kbd-layout): and and -> and
22819 * kermit.el: and and -> and
22820 * net/ldap.el (ldap-search-internal): to to -> to
22821 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22822 * progmodes/js.el (js-mode): and and -> and
22823 * textmodes/artist.el (artist-move-to-xy): at at -> at
22824 (artist-draw-region-trim-line-endings): if if -> if
22825 And Safetyc -> Safety.
22826 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22827
b8f82dc1 228282011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 22829 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
22830
22831 * files.el (hack-one-local-variable-eval-safep):
22832 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22833
4f99f44b
GM
228342011-05-10 Glenn Morris <rgm@gnu.org>
22835
22836 * calendar/diary-lib.el (diary-list-entries-hook)
22837 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22838 (diary-nongregorian-marking-hook, diary-list-entries)
22839 (diary-include-other-diary-files, diary-mark-entries)
22840 (diary-mark-included-diary-files): Doc fixes.
22841
84f29e6b
JB
228422011-05-09 Juanma Barranquero <lekktu@gmail.com>
22843
22844 * misc.el: Require tabulated-list.el during compilation.
22845
9bedd73a
CY
228462011-05-09 Chong Yidong <cyd@stupidchicken.com>
22847
488086f4
SM
22848 * progmodes/compile.el (compilation-start):
22849 Run compilation-filter-hook for the async case too.
9bedd73a
CY
22850 (compilation-filter-hook): Doc fix.
22851
797c735c
DD
228522011-05-09 Deniz Dogan <deniz@dogan.se>
22853
22854 * wdired.el: Remove outdated installation comment. Fix usage
22855 comment.
22856
5f4b1dfe
JB
228572011-05-09 Juanma Barranquero <lekktu@gmail.com>
22858
22859 * misc.el: Implement new command `list-dynamic-libraries'.
22860 (list-dynamic-libraries--loaded-only-p): New variable.
22861 (list-dynamic-libraries--refresh): New function.
22862 (list-dynamic-libraries): New command.
22863
4c44026c
CY
228642011-05-09 Chong Yidong <cyd@stupidchicken.com>
22865
488086f4
SM
22866 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22867 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
22868 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22869 higher priority to avoid clobbering by gnu.
22870
027f966d
CY
228712011-05-08 Chong Yidong <cyd@stupidchicken.com>
22872
22873 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22874 if the face has existing theme settings (Bug#8454).
22875
085f5d7d
CY
228762011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22877
488086f4
SM
22878 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22879 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 22880
2a86a00c
RS
22881 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22882 special file names `.' and `..' (Bug#8259).
22883
d9c54a06
CY
228842011-05-08 Chong Yidong <cyd@stupidchicken.com>
22885
488086f4
SM
22886 * progmodes/grep.el (grep-mode-font-lock-keywords):
22887 Remove buffer-changing entries.
d9c54a06
CY
22888 (grep-filter): New function.
22889 (grep-mode): Add it to compilation-filter-hook.
22890
22891 * progmodes/compile.el (compilation-filter-hook)
22892 (compilation-filter-start): New defvars.
22893 (compilation-filter): Call compilation-filter-hook prior to
22894 updating the process mark.
22895
c4662635
SM
228962011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22897
22898 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22899
b0512a1d
EZ
229002011-05-07 Eli Zaretskii <eliz@gnu.org>
22901
605c9376
EZ
22902 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22903 mailclient-send-it even if window-system is nil. (Bug#8595)
22904
c4662635
SM
22905 * term/w32console.el (terminal-init-w32console):
22906 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
22907 background-mode. (Bug#8597)
22908
d1dc2cc2
SM
229092011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22910
22911 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22912 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22913 New functions.
22914 (defgeneric, eieio--defmethod): Use them.
22915 (eieio-defgeneric): Remove.
22916 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22917
915d1300
GM
229182011-05-07 Glenn Morris <rgm@gnu.org>
22919
a3961c3e
GM
22920 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22921 Use let rather than let*.
22922 (timeclock-find-discrep): Remove unused local.
22923
314347b9
GM
22924 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22925
915d1300
GM
22926 * calendar/appt.el (appt-time-msg-list): Doc fix.
22927
275b59b0
NF
229282011-05-06 Noah Friedman <friedman@splode.com>
22929
22930 * apropos.el (apropos-print-doc): Only use
22931 emacs-lisp-docstring-fill-column when it is bound to an integer,
22932 per that variable's documentation.
22933
6c19f744
SM
229342011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22935
22936 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 22937 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 22938
60f884b2
GM
229392011-05-06 Glenn Morris <rgm@gnu.org>
22940
5006e634
GM
22941 * calendar/appt.el (appt-message-warning-time): Doc fix.
22942 (appt-warning-time-regexp): New option.
22943 (appt-make-list): Respect appt-message-warning-time.
22944
548d0a63
GM
22945 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22946 New options.
22947 (diary-add-to-list): Strip comments from the displayed string.
22948 (diary-mode): Set comment-start and comment-end.
22949
60f884b2
GM
22950 * vc/diff-mode.el (smerge-refine-subst): Declare.
22951 (diff-refine-hunk): Don't require smerge-mode when compiling.
22952
989681bb
JB
229532011-05-06 Juanma Barranquero <lekktu@gmail.com>
22954
22955 * simple.el (list-processes): Return nil as the docstring says.
22956
a6bc05e1
MA
229572011-05-05 Michael Albinus <michael.albinus@gmx.de>
22958
22959 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22960 to "".
22961 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22962 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22963 determining of binary transfer. (Bug#7383)
22964
23c22e9a
MA
229652011-05-05 Michael Albinus <michael.albinus@gmx.de>
22966
c4662635
SM
22967 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22968 Fix port computation bug. (Bug#8618)
23c22e9a 22969
0bff894f
GM
229702011-05-05 Glenn Morris <rgm@gnu.org>
22971
b8296902
GM
22972 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22973
1f522ce8
GM
22974 * simple.el (shell-dynamic-complete-functions)
22975 (comint-dynamic-complete-functions): Declare.
22976
cf5bee67
GM
22977 * net/network-stream.el (gnutls-negotiate):
22978 * simple.el (tabulated-list-print): Fix declarations.
22979
22980 * progmodes/gud.el (syntax-symbol, syntax-point):
22981 Remove unnecessary and incorrect declarations.
22982
0bff894f 22983 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 22984 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 22985
9869b3ae
SM
229862011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22987
22988 Fix earlier half-done eieio-defmethod change (bug#8338).
22989 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22990 Streamline and change calling convention.
22991 (defmethod): Adjust accordingly and simplify.
22992 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22993 new eieio--defmethod.
22994 (slot-boundp): Minor CSE simplification.
22995
9c1d5ac5
MZ
229962011-05-05 Milan Zamazal <pdm@zamazal.org>
22997
22998 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22999 (glasses-make-readable): Use glasses-separate-capital-groups.
23000
455c834e
JB
230012011-05-05 Juanma Barranquero <lekktu@gmail.com>
23002
23003 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23004 (warning-series): Doc fix.
23005 (display-warning): Don't try to create the buffer if we just found it.
23006
9ed7c8cb
CY
230072011-05-04 Chong Yidong <cyd@stupidchicken.com>
23008
23009 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23010 (autoload-find-generated-file): New function.
23011 (generate-file-autoloads): Bind generated-autoload-file to
23012 buffer-file-name.
9869b3ae
SM
23013 (update-file-autoloads, update-directory-autoloads):
23014 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
23015 output file (Bug#7989).
23016 (batch-update-autoloads): Doc fix.
23017
0898ca10
JB
230182011-05-04 Juanma Barranquero <lekktu@gmail.com>
23019
23020 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23021
31dfb76c
GM
230222011-05-04 Glenn Morris <rgm@gnu.org>
23023
f330b642
GM
23024 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23025 function, so it follows changes in calendar-date-style.
23026 (diary-fancy-date-matcher): New function.
23027 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23028 (diary-fancy-font-lock-fontify-region-function):
23029 Use diary-fancy-date-pattern as a function.
23030
31dfb76c
GM
23031 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23032 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23033
48e79d6a
TZ
230342011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23035
23036 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23037 instead of positional arguments. Allow :keylist and :crlfiles
23038 arguments.
23039 (open-gnutls-stream): Call it.
23040
23041 * net/network-stream.el (network-stream-open-starttls): Adjust to
23042 call `gnutls-negotiate' with :process and :hostname arguments.
23043
dd5a5ee0
SM
230442011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23045
ef80fc09
SM
23046 * minibuffer.el (completion--message): New function.
23047 (completion--do-completion, minibuffer-complete)
23048 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23049 (completion--do-completion): Don't ignore completion-auto-help when in
23050 icomplete-mode.
23051
dd5a5ee0
SM
23052 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23053 internal encoding (e.g. tibetan zero is not whitespace).
23054 (global-whitespace-mode): Prefer save-current-buffer.
23055 (whitespace-trailing-regexp): Remove useless save-match-data.
23056 (whitespace-empty-at-bob-regexp): Minor simplification.
23057
b7d22a83
CY
230582011-05-03 Chong Yidong <cyd@stupidchicken.com>
23059
23060 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23061
5192af46
AM
230622011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23063
23064 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 23065 Use `concat' to create string for insertion.
5192af46 23066
5767d190
SM
230672011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23068
23069 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23070 Avoid open-line which runs post-self-insert-hook.
23071 (bibtex-fill-entry): Remove unused `end' var.
23072
bf242939
AM
230732011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23074
5767d190
SM
23075 * textmodes/ispell.el (ispell-add-per-file-word-list):
23076 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 23077
25666126
LL
230782011-05-03 Leo Liu <sdl.web@gmail.com>
23079
23080 * isearch.el (isearch-yank-pop): New command.
5767d190 23081 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
23082 (isearch-forward): Mention it.
23083
52d3c2d0
SM
230842011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23085
1bcace58
SM
23086 * simple.el (minibuffer-complete-shell-command): Remove.
23087 (minibuffer-local-shell-command-map): Use completion-at-point.
23088 (read-shell-command): Setup completion vars here instead.
23089 (read-expression-map): Bind TAB to symbol completion.
23090
52d3c2d0
SM
23091 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23092 error directly rather via storing it into `results'.
23093
35813471
LL
230942011-05-02 Leo Liu <sdl.web@gmail.com>
23095
23096 * vc/diff.el: Fix description.
23097
e793a940
LMI
230982011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23099
23100 * server.el (server-eval-at): New function.
23101
8de66e05
LMI
231022011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23103
23104 * net/network-stream.el (open-network-stream): Take a :nowait
23105 parameter and pass it on to `make-network-process'.
23106 (network-stream-open-plain): Ditto.
23107
dcb79f20
AS
231082011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23109
23110 * faces.el (face-spec-set-match-display): Don't match toolkit
23111 options on terminal frames.
23112
14a7fbd8
SM
231132011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23114
7eabc1be
SM
23115 * progmodes/pascal.el: Use lexical binding.
23116 (pascal-mode-map): Remove author preferences.
23117
14a7fbd8
SM
23118 * pcomplete.el (pcomplete-std-complete): Don't abuse
23119 completion-at-point.
23120
50f84510
JB
231212011-04-28 Juanma Barranquero <lekktu@gmail.com>
23122
6e087a44
JB
23123 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23124 removing code that has been dead since 1991 or so.
23125
50f84510
JB
23126 * startup.el (command-line): When warning about "_emacs", use a
23127 delayed warning to allow the user to filter it out.
23128
0ba690bd
DD
231292011-04-28 Deniz Dogan <deniz@dogan.se>
23130
23131 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23132 user has not joined.
23133
08abfaad
SM
231342011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23135
23136 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23137 aren't any completions at point.
23138
638f053a
JB
231392011-04-28 Juanma Barranquero <lekktu@gmail.com>
23140
23141 * subr.el (display-delayed-warnings): New function.
23142 (delayed-warnings-hook): New variable.
23143
8fff8daa
SM
231442011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23145
08abfaad
SM
23146 * minibuffer.el (completion-at-point, completion-help-at-point):
23147 Don't presume that a given completion-at-point-function will always
23148 use the same calling convention.
23149
8fff8daa
SM
23150 * pcomplete.el (pcomplete-completions-at-point):
23151 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23152 pcomplete-seen is non-nil.
23153 (pcomplete-comint-setup): Also recognize the new comint/shell
23154 completion functions.
23155 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23156 pcomplete-seen is non-nil.
23157
841a1577 231582011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 23159
841a1577 23160 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 23161 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 23162 the first character in the entry. This allows for code to add its
211ec907
UJ
23163 own uid to the entry.
23164 (icalendar--convert-float-to-ical): Add export of
23165 `diary-float'-entries save for those with the optional DAY
23166 argument.
23167
2a782793
DC
231682011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23169
23170 * subr.el (shell-quote-argument): Use alternate escaping strategy
23171 when we spot a variable reference in a string.
23172
0438ce91
DC
231732011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23174
23175 * cus-start.el (all): Define customization for debug-on-event.
23176
841a1577 231772011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
23178
23179 * subr.el (shell-quote-argument): Escape correctly under Windows.
23180
d090ed6c
SM
231812011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23182
23183 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23184
bfd31217
MA
231852011-04-25 Michael Albinus <michael.albinus@gmx.de>
23186
d090ed6c
SM
23187 * net/tramp.el (tramp-process-actions): Add POS argument.
23188 Delete region between POS and (pos).
bfd31217 23189
d090ed6c
SM
23190 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23191 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
23192 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23193
23194 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23195 position in `tramp-process-actions' call.
23196
23197 * net/trampver.el: Update release number.
23198
e92f3bd3
SM
231992011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23200
850256b5
SM
23201 * custom.el (defcustom): Obey lexical-binding.
23202
e92f3bd3
SM
23203 Fix octave-inf completion problems reported by Alexander Klimov.
23204 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23205 Inherit from octave-mode-syntax-table.
23206 (inferior-octave-mode): Set info-lookup-mode.
23207 (inferior-octave-completion-at-point): New function.
23208 (inferior-octave-complete): Use it and completion-in-region.
23209 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23210 comint-filename-completion.
23211 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23212 symbol elements which shouldn't be word elements.
23213 (octave-font-lock-keywords, octave-beginning-of-defun)
23214 (octave-function-header-regexp): Adjust regexps accordingly.
23215 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23216
cd22b309
JB
232172011-04-25 Juanma Barranquero <lekktu@gmail.com>
23218
23219 * net/gnutls.el (gnutls-errorp): Declare before first use.
23220
8b492194
TZ
232212011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23222
23223 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23224 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 23225 default trustfile exists before going to use it. Add missing
5a5fa834 23226 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
23227 Reported by Claudio Bley <claudio.bley@gmail.com>.
23228 (open-gnutls-stream): Add usage example.
23229
23230 * net/network-stream.el (network-stream-open-starttls): Give host
23231 parameter to `gnutls-negotiate'.
23232 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 23233 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 23234
841a1577 232352011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 23236
cd22b309
JB
23237 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23238 Use correct match group (bug#8438).
05842630 23239
3ba7869c
CY
232402011-04-24 Chong Yidong <cyd@stupidchicken.com>
23241
512e3ae1
CY
23242 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23243 (package-menu--generate): New arg specifying packages to show.
23244 (package-menu-refresh, package-menu-execute, list-packages):
23245 Callers changed.
23246 (package-show-package-list): New function, replacing deleted
23247 package--list-packages (renamed because it is non-internal).
23248
23249 * finder.el (finder-list-matches): Use package-show-package-list
23250 instead of deleted package--list-packages.
23251
e92f3bd3
SM
23252 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23253 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
23254 (vc-annotate-mode-map): Bind it to RET.
23255
7031be6d
UR
232562011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23257
23258 * progmodes/etags.el (next-file): Don't use set-buffer to change
23259 buffers (Bug#8478).
23260
4ef177aa
CY
232612011-04-24 Chong Yidong <cyd@stupidchicken.com>
23262
c8d173eb
CY
23263 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23264
4ef177aa
CY
23265 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23266 (apropos-accumulator): Doc fix.
23267 (apropos-function, apropos-macro, apropos-command)
23268 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23269 (apropos-plist): Add face property.
23270 (apropos-symbols-internal): Fix indentation.
23271 (apropos-print): Simplify help, and recognize apropos-multi-type.
23272 (apropos-print-doc): Use button-type-get to extract the button's
23273 face property. Fill docstring (Bug#8352).
23274
4ffd0d6b 232752011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
23276
23277 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23278
c6c32125 23279 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 23280 (mpuz-mode-map): Use mapc.
c6c32125
JB
23281 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23282 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23283 Fix typos in docstrings.
23284
58d468b4
JB
23285 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23286 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23287
6470c3c6
JB
23288 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23289
4ffd0d6b 232902011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
23291
23292 * minibuffer.el (completion--do-completion): Avoid the "Next char
23293 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23294
3ad8bad0
CY
23295 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23296 mouse-2 into unread-command-events, it is interpreted correctly.
23297
71d73c9c 23298 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 23299 (image-toggle-display): Doc fix.
71d73c9c 23300
841a1577 233012011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 23302
4ffd0d6b
GM
23303 * textmodes/page.el (what-page): Use line-number-at-pos to
23304 calculate line number (Bug#6825).
6e1dbaa9 23305
c2fb1b60
JB
233062011-04-22 Juanma Barranquero <lekktu@gmail.com>
23307
23308 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23309 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23310 Pass argument NO-DEFAULT to `find-tag-interactive'.
23311
e02f48d7
JB
233122011-04-22 Juanma Barranquero <lekktu@gmail.com>
23313
23314 Lexical-binding cleanup.
23315
23316 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23317 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23318 * progmodes/ada-prj.el (ada-prj-initialize-values)
23319 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23320 (ada-prj-show-value):
23321 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23322 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23323 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23324 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23325 * progmodes/bug-reference.el (bug-reference-push-button):
23326 * progmodes/fortran.el (fortran-line-length):
23327 * progmodes/glasses.el (glasses-change):
23328 * progmodes/octave-mod.el (octave-fill-paragraph):
23329 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23330 (python-pdbtrack-grub-for-buffer, python-sentinel):
23331 * progmodes/sql.el (sql-save-connection):
23332 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23333 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23334 Mark unused parameters.
23335
23336 * progmodes/compile.el (compilation--flush-directory-cache)
23337 (compilation--flush-parse, compile-internal): Mark unused parameters.
23338 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23339 (compilation-next-error-function): Remove unused variable `timestamp'.
23340
23341 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23342 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23343
23344 * progmodes/dcl-mode.el (dcl-end-of-command):
23345 Remove unused variable `start'.
23346 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23347 (dcl-option-value-basic, dcl-option-value-offset)
23348 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23349 Mark unused parameters.
23350 (dcl-save-local-variable): Remove unused variable `val'.
23351 (mode): Declare.
23352
23353 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23354 Mark unused parameters.
23355 (delphi-ignore-changes): Move before first use.
23356 (delphi-charset-token-at): Remove unused variable `start'.
23357 (delphi-else-start): Remove unused variable `if-count'.
23358 (delphi-comment-block-start, delphi-comment-block-end):
23359 Remove unused variable `kind'.
23360 (delphi-indent-line): Remove unused variable `new-point'.
23361
23362 * progmodes/ebrowse.el (ebrowse-files-list)
23363 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23364 Mark unused parameters. Don't quote `lambda'.
23365 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23366 Don't quote `lambda'.
23367 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23368 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23369 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23370 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23371 Use `ignore-errors'.
23372 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23373 (ebrowse-view/find-file-and-search-pattern)
23374 (ebrowse-view/find-member-declaration/definition):
23375 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23376 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23377 Rename parameter PREFIX-ARG to PREFIX.
23378 (ebrowse-tags-read-name): Remove unused variables `start' and
23379 `member-info'.
23380 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23381 to `tags-file'.
23382
23383 * progmodes/etags.el (local-find-tag-hook): Declare.
23384 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23385 Mark unused parameters.
23386
23387 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23388 (executable-interpret): Mark unused parameter.
23389
23390 * progmodes/flymake.el (flymake-process-sentinel)
23391 (flymake-after-change-function)
23392 (flymake-create-temp-with-folder-structure)
23393 (flymake-get-include-dirs-dot): Mark unused parameters.
23394 (flymake-safe-delete-directory): Remove unused variable `err'.
23395
23396 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23397 (speedbar-timer-fn, speedbar-line-text)
23398 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23399 (speedbar-center-buffer-smartly): Declare functions.
23400 (gdb-find-watch-expression): Remove unused variable `array'.
23401 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23402 (gdb-starting): Mark unused parameters.
23403 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23404 (gdb-table-string): Remove unused variable `res'.
23405 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23406 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23407 (gdb-display-buffer): Remove unused variable `cur-size'.
23408
23409 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23410 allow lexical-binding compilation.
23411 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23412 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23413 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23414 Mark unused parameters.
23415 (gud-gdb-marker-filter): Remove unused variable `match'.
23416 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23417 lambda expressions and funcall them, instead of using `fset'.
23418
23419 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23420 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23421
23422 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23423 variable `header-beg'; use `let'.
23424
23425 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23426 `restart', `last-sexp' and `at-do'.
23427
23428 * progmodes/js.el (js--debug): Mark unused parameter.
23429 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23430 (js--splice-into-items): Remove unused variable `item'.
23431 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23432
23433 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23434 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23435 (makefile-complete): Remove unused variable `try'.
23436 (makefile-fill-paragraph, makefile-match-function-end):
23437 Mark unused parameters.
23438
23439 * progmodes/octave-inf.el (inferior-octave-complete):
23440 Remove unused variable `proc'.
23441 (inferior-octave-output-digest): Mark unused parameter.
23442
23443 * progmodes/perl-mode.el (perl-calculate-indent):
23444 Remove unused variable `err'.
23445
23446 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23447 (prolog-indent-line): Mark unused parameters.
23448 (prolog-indent-line): Remove unused variable `beg'.
23449
23450 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23451 (reporter-dont-compact-list): Declare.
23452
23453 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23454 Remove unused variable `char'.
23455 (sh-debug): Mark unused parameter.
23456 (sh-get-indent-info): Remove unused variable `start'.
23457 (sh-calculate-indent): Remove unused variable `var'.
23458
23459 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23460 (simula-electric-keyword): Remove unused variable `null'.
23461 (simula-search-backward, simula-search-forward): Remove unused
23462 variables `begin' and `end'.
23463
23464 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23465 Remove unused variable `pos'.
23466 (vera-electric-tab, vera-comment-uncomment-region):
23467 Mark unused parameters.
23468 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23469
7ede3b65
CY
234702011-04-22 Chong Yidong <cyd@stupidchicken.com>
23471
23472 * emacs-lisp/package.el (package--builtins, package-alist)
23473 (package-load-descriptor, package-built-in-p, package-activate)
23474 (define-package, package-installed-p)
23475 (package-compute-transaction, package-buffer-info)
23476 (package--push): Doc fix. Distinguish more clearly between
23477 version strings and version lists.
23478
121656e9
JB
234792011-04-21 Juanma Barranquero <lekktu@gmail.com>
23480
23481 Lexical-binding cleanup.
23482
23483 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23484 (5x5-make-mutate-best):
23485 * play/fortune.el (fortune-in-buffer):
23486 * play/gomoku.el (gomoku-init-display):
23487 * play/solitaire.el (solitaire, solitaire-do-check):
23488 * play/tetris.el (tetris-default-update-speed-function):
23489 Mark unused parameters.
23490
23491 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23492 (bubbles--shift): Remove unused variable `char-org'.
23493 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23494 (bubbles--show-images): Remove unused variable `char'.
23495
23496 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23497 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23498 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23499 (decipher-analyze-buffer): Use ?\s.
23500 (decipher-make-checkpoint): Remove unused variable `mapping'.
23501
23502 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23503
23504 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23505 Remove unused variable `result'; use `let'.
23506
23507 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23508 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23509 (gametree-children-shown-p, gametree-compute-reduced-score):
23510 Use `ignore-errors'.
23511
23512 * play/handwrite.el (ps-lpr-switches): Declare.
23513 (handwrite): Remove unused variables `pmin' and `lastp'.
23514
23515 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23516
23517 * play/landmark.el (landmark-init-display)
23518 (landmark-update-naught-weights): Mark unused parameters.
23519 (landmark-y): Remove unused variable `noise'. Simplify.
23520 (landmark-human-plays): Remove unused variable `score'.
23521
23522 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23523 (mpuz-try-proposal): Remove unused variable `game'.
23524
23525 * play/zone.el (life-patterns): Declare.
23526
80f499c7
JB
235272011-04-20 Juanma Barranquero <lekktu@gmail.com>
23528
23529 * vc/vc.el (ediff-vc-internal): Declare function.
23530
024ff170
SM
235312011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23532
c0a193ea
SM
23533 * shell.el: Use lexical-binding and std completion UI.
23534 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23535 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23536 comint-preoutput-filter-functions rather than on
23537 comint-output-filter-functions.
23538 (shell-command-completion, shell--command-completion-data)
23539 (shell-filename-completion, shell-environment-variable-completion)
23540 (shell-c-a-p-replace-by-expanded-directory): New functions.
23541 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23542 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23543 (shell-dynamic-complete-environment-variable): Use them.
23544 (shell-dynamic-complete-as-environment-variable)
23545 (shell-dynamic-complete-as-command): Remove.
23546 (shell-match-partial-variable): Match past point.
23547 * comint.el: Clean up use of completion-at-point-functions.
23548 (comint-completion-at-point): New function.
23549 (comint-mode): Use it completion-at-point-functions.
23550 (comint-dynamic-complete): Make it obsolete.
23551 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23552 (comint-c-a-p-replace-by-expanded-history): New function.
23553 (comint-dynamic-complete-functions)
23554 (comint-replace-by-expanded-history): Use it.
23555 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23556 termination strings. Try harder to avoid second try-completion.
23557 (completion-in-region-mode-map): Disable bindings that don't work yet.
23558
2dbaa080
SM
23559 * comint.el: Use lexical-binding. Require CL.
23560 (comint-dynamic-complete-functions): Use comint-filename-completion.
23561 (comint-completion-addsuffix): Tweak custom type.
23562 (comint-filename-completion, comint--common-suffix)
23563 (comint--common-quoted-suffix, comint--table-subvert)
23564 (comint--complete-file-name-data): New functions.
23565 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23566 (comint-dynamic-list-filename-completions): Use them.
23567 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 23568
2dbaa080
SM
23569 * minibuffer.el (completion-in-region-mode):
23570 Keep completion-in-region-mode--predicate global.
23571 (completion-in-region--postch):
23572 Assume completion-in-region-mode--predicate is not null.
23573
c79a6f38
SM
23574 * progmodes/flymake.el (flymake-start-syntax-check-process):
23575 Obey `dir'. Simplify.
23576
024ff170
SM
23577 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23578 we're in VC after all.
23579
1c6c854e
CS
235802011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23581
23582 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 23583 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
23584 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23585
bed7f140
SM
235862011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23587
332e62ab
SM
23588 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23589 add sanity check.
23590
bed7f140
SM
23591 * obsolete/erc-hecomplete.el: Make obsolete.
23592 * obsolete/: Standardize obsolescence info in the header.
23593
f195c582
GM
235942011-04-20 Glenn Morris <rgm@gnu.org>
23595
23596 * calendar/solar.el (solar-horizontal-coordinates):
23597 Use the longitude argument rather than `calendar-longitude'.
23598 (solar-date-next-longitude): Remove unused locals.
23599
cb79b8c0
VJL
236002011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23601
23602 * whitespace.el: New version 13.2.1.
23603
236042011-04-20 felix <EmacsWiki> (tiny change)
23605
d8e4b68b 23606 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
23607 switching between major modes on a file.
23608
602ea69d
SM
236092011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23610
23611 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23612 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23613 multi-line comments as well.
23614
06b60517
JB
236152011-04-19 Juanma Barranquero <lekktu@gmail.com>
23616
23617 Lexical-binding cleanup.
23618
23619 * arc-mode.el (archive-mode-revert):
23620 * cmuscheme.el (scheme-interactively-start-process):
23621 * custom.el (custom-initialize-delay):
23622 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23623 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23624 * emacs-lock.el (emacs-lock-clear-sentinel):
23625 * ezimage.el (defezimage):
23626 * follow.el (follow-avoid-tail-recenter):
23627 * fringe.el (set-fringe-mode-1):
23628 * generic-x.el (bat-generic-mode-compile):
23629 * help-mode.el (help-info-variable, help-do-xref)
23630 (help-mode-revert-buffer):
23631 * help.el (view-emacs-todo):
23632 * iswitchb.el (iswitchb-completion-help):
23633 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23634 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23635 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23636 * locate.el (locate-update):
23637 * longlines.el (longlines-encode-region)
23638 (longlines-after-change-function):
23639 * outline.el (outline-isearch-open-invisible):
23640 * ps-def.el (declare-function, charset-dimension, char-width)
23641 (encode-char):
23642 * ps-mule.el (ps-mule-plot-string):
23643 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23644 (recentf-edit-list-select, recentf-edit-list-validate)
23645 (recentf-open-files-action):
23646 * rect.el (delete-whitespace-rectangle-line)
23647 (rectangle-number-line-callback):
23648 * register.el (window-configuration-to-register)
23649 (frame-configuration-to-register):
23650 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23651 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23652 (xselect-convert-to-targets, xselect-convert-to-delete)
23653 (xselect-convert-to-filename, xselect-convert-to-charpos)
23654 (xselect-convert-to-lineno, xselect-convert-to-colno)
23655 (xselect-convert-to-os, xselect-convert-to-host)
23656 (xselect-convert-to-user, xselect-convert-to-class)
23657 (xselect-convert-to-name, xselect-convert-to-integer)
23658 (xselect-convert-to-atom, xselect-convert-to-identity):
23659 * subr.el (declare, ignore, process-kill-without-query)
23660 (text-clone-maintain):
23661 * terminal.el (te-get-char, te-tic-sentinel):
23662 * tool-bar.el (tool-bar-make-keymap):
23663 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23664 * type-break.el (type-break-mode, type-break-noninteractive-query):
23665 * view.el (View-back-to-mark):
23666 * wid-browse.el (widget-browse-action, widget-browse-widget)
23667 (widget-browse-widgets, widget-browse-sexp):
23668 * widget.el (define-widget-keywords):
23669 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23670 Mark unused parameters.
23671
23672 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23673 (align-areas): Remove unused variable `look'.
23674 (align-region): Remove unused variables `real-end' and `pos-list'.
23675
23676 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23677
23678 * bindings.el (mode-line-modified, mode-line-remote):
23679 Mark unused parameters.
23680 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23681
23682 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23683 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23684
23685 * comint.el (comint-history-isearch-pop-state)
23686 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23687 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23688 (comint-substitute-in-file-name): Doc fix.
23689
23690 * completion.el (cmpl-statistics-block): Mark unused parameter.
23691 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23692 (save-completions-to-file, load-completions-from-file):
23693 Remove unused local variable `e'.
23694
23695 * composite.el (compose-chars): Remove unused variable `len'.
23696 (lgstring-insert-glyph): Remove unused variable `g'.
23697 (compose-glyph-string): Remove unused variables `ascent',
23698 `descent', `lbearing' and `rbearing'.
23699 (compose-glyph-string-relative): Remove unused variables
23700 `lbearing', `rbearing' and `wadjust'.
23701 (compose-gstring-for-graphic): Remove unused variables `header',
23702 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23703 (compose-gstring-for-terminal): Remove unused variables `header'
23704 and `nchars'. Use `let', not `let*'.
23705
23706 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23707 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23708 (Custom-buffer-done, custom-buffer-create-internal)
23709 (custom-browse-visibility-action, custom-browse-group-tag-action)
23710 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23711 (widget-magic-mouse-down-action, custom-toggle-parent)
23712 (custom-add-parent-links, custom-toggle-hide-variable)
23713 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23714 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23715 (custom-face-menu-create, custom-variable-menu-create, get)
23716 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23717 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23718 (customize-apropos): Remove unused variable `tests'.
23719 (custom-group-value-create): Remove unused variable `hidden-p'.
23720 (sort-fold-case): Declare.
23721
23722 * cus-theme.el (custom-reset-standard-faces-list)
23723 (custom-reset-standard-variables-list): Declare.
23724 (customize-create-theme, custom-theme-revert, custom-theme-write)
23725 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23726 Mark unused parameters.
23727
23728 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23729
23730 * delim-col.el (delimit-columns-max): Move defvar before first use.
23731
23732 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 23733 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
23734
23735 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23736 (auto-insert): Declare.
23737 (desktop-restore-file-buffer): Rename desktop-* parameters;
23738 mark unused ones.
23739 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23740 (desktop-buffer): Rename desktop-* parameters.
23741
23742 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23743 (dframe-reposition-frame-xemacs, dframe-help-echo)
23744 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23745 Mark unused parameters.
23746
23747 * dired-aux.el (backup-extract-version-start, overwrite-query)
23748 (overwrite-backup-query, rename-regexp-query)
23749 (rename-non-directory-query): Declare.
23750 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23751 (dired-add-entry): Remove unused variable `orig-file-name'.
23752 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23753 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23754 `dired-copy-preserve-time' directly.
23755 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23756 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23757
23758 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23759 (dired-virtual-revert, dired-make-relative-symlink):
23760 Mark unused parameters.
23761 (manual-program): Declare.
23762 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23763 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23764 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23765
23766 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23767
23768 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23769
23770 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23771 Declare.
23772
23773 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23774
23775 * electric.el (Electric-command-loop): Rename parameter
23776 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23777
23778 * expand.el (expand-in-literal): Remove unused variable `here'.
23779
23780 * facemenu.el (facemenu-add-new-color):
23781 Remove unused variable `docstring'.
23782
23783 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23784 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23785 (face-attr-construct): Mark unused parameter. Doc fix.
23786 (read-color): Remove unused variable `hex-string'.
23787
23788 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23789 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23790 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23791 (display-buffer-other-frame): Remove unused variable `old-window'.
23792 (kill-buffer-hook): Declare.
23793 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23794 Mark unused parameters.
23795 (after-find-file): Pass 1 to `auto-save-mode', not t.
23796
23797 * files-x.el (auto-insert): Declare.
23798 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23799
23800 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 23801 variable `buf'. Mark unused parameter.
06b60517
JB
23802 (find-lisp-insert-directory): Mark unused parameter.
23803
23804 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23805 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23806 (format-common-tail): Remove, unused.
23807 (format-deannotate-region): Remove unused variable `loc'.
23808 (format-annotate-region): Remove unused variable `p'.
23809 (format-annotate-single-property-change): Remove unused variables
23810 `default' and `tail'.
23811
23812 * forms.el (read-file-filter): Declare.
23813 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23814
23815 * frame.el (frame-creation-function-alist): Mark unused parameter.
23816 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23817
23818 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23819 Remove unused parameters.
23820 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23821 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23822
23823 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23824 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23825 (hfy-prepare-tag-map): Mark unused parameters.
23826 (htmlfontify-buffer): Use `called-interactively-p'.
23827
23828 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23829 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23830 (ibuffer-do-occur): Mark unused parameters.
23831 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23832 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23833
23834 * ibuffer.el: Don't quote `lambda'.
23835 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23836 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23837 Mark unused parameters.
23838
23839 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23840 (ido-completing-read): Mark unused parameters.
23841 (ido-copy-current-word): Mark unused parameters;
23842 remove unused variable `name'.
23843 (ido-sort-merged-list): Remove unused parameter `dirs'.
23844
23845 * ielm.el (ielm-input-sender): Mark unused parameter.
23846 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23847 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23848 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23849 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23850 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23851
23852 * image-dired.el (image-dired-display-thumbs): Remove unused
23853 variables `curr-file' and `count'.
23854 (image-dired-remove-tag): Remove unused variable `start'.
23855 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23856 variable `curr-file'
23857 (image-dired-rotate-original): Remove unused variable `temp-file'.
23858 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23859 Remove unused variable `file'.
23860 (image-dired-gallery-generate): Remove unused variable `curr'.
23861 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23862
23863 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23864
23865 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23866
23867 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23868
23869 * isearch.el (minibuffer-history-symbol): Declare.
23870 (isearch-edit-string): Remove unused variable `err'.
23871 (isearch-message-prefix, isearch-message-suffix):
23872 Mark unused parameters.
23873
23874 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23875
23876 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23877
23878 * makesum.el (double-column): Remove unused variable `cnt'.
23879
23880 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23881 (ido-ignore-item-temp-list): Declare.
23882
23883 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23884 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23885 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23886 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23887 `mouse-col-delta'.
23888
23889 * mouse-sel.el (mouse-extend-internal):
23890 Remove unused variable `orig-window-frame'.
23891
23892 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23893 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23894 Move declarations before first use.
23895 (pcomplete-opt): Mark unused parameters; doc fix.
23896
23897 * proced.el (proced-revert): Mark unused parameter.
23898 (proced-send-signal): Remove unused variable `err'.
23899
23900 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23901 Rename parameter PREFIX-ARG to ARG.
23902 (ps-basic-plot-string, ps-basic-plot-whitespace):
23903 Mark unused parameters.
23904
23905 * replace.el (replace-count): Define.
23906 (occur-revert-function): Mark unused parameters.
23907 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23908 (isearch-case-fold-search, isearch-string): Declare.
23909 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23910 bind `case-fold-search'. Remove unused variables `beg' and `end',
23911 and simplify.
23912 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23913 COUNT and bind `replace-count'.
23914 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23915 to COUNT.
23916
23917 * savehist.el (print-readably, print-string-length): Declare.
23918
23919 * shadowfile.el (shadow-expand-cluster-in-file-name):
23920 Remove unused variable `cluster'.
23921 (shadow-copy-file): Remove unused variable `i'.
23922 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23923 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23924 (shadow-define-literal-group, shadow-define-regexp-group)
23925 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23926
23927 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23928 (shell): Use `called-interactively-p'.
23929 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23930
23931 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23932 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23933 (delete-backward-char): Remove unused variable `ocol'.
23934 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23935 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23936 (event-apply-hyper-modifier, event-apply-shift-modifier)
23937 (event-apply-control-modifier, event-apply-meta-modifier):
23938 Mark unused parameters.
23939 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23940 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23941
23942 * speedbar.el (speedbar-ignored-directory-expressions)
23943 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23944 (speedbar-find-file, speedbar-dir-follow)
23945 (speedbar-directory-buttons-follow, speedbar-tag-find)
23946 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23947 (speedbar-buffers-line-directory, speedbar-buffer-click):
23948 Mark unused parameters.
23949 (speedbar-tag-file): Remove unused variable `mode'.
23950 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23951
23952 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23953
23954 * talk.el (talk): Remove unused variable `display'.
23955
23956 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23957 (tar-write-region-annotate): Mark unused parameter.
23958
23959 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23960 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23961 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23962 warning by another.
23963
23964 * time-stamp.el (time-stamp-string-preprocess):
23965 Remove unused variable `require-padding'.
23966
23967 * tree-widget.el (widget-glyph-enable): Declare.
23968 (tree-widget-action): Mark unused parameter.
23969
23970 * w32-fns.el (x-get-selection): Mark unused parameter.
23971 (autoload-make-program, generated-autoload-file): Declare.
23972
23973 * wdired.el (wdired-revert): Mark unused parameters.
23974 (wdired-xcase-word): Remove unused variable `err'.
23975
23976 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23977 (whitespace-help-scroll): Remove unused variable `data-help'.
23978
23979 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23980 (widget-image-insert, widget-after-change, default)
23981 (widget-default-format-handler, widget-default-notify)
23982 (widget-default-prompt-value, widget-info-link-action)
23983 (widget-url-link-action, widget-function-link-action)
23984 (widget-variable-link-action, widget-file-link-action)
23985 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23986 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23987 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23988 (widget-insert-button-action, widget-delete-button-action, visibility)
23989 (widget-documentation-link-action, widget-documentation-string-action)
23990 (widget-const-prompt-value, widget-regexp-match, symbol)
23991 (widget-coding-system-prompt-value)
23992 (widget-key-sequence-value-to-external, sexp)
23993 (widget-sexp-value-to-internal, character, vector, cons)
23994 (widget-choice-prompt-value, widget-boolean-prompt-value)
23995 (widget-color--choose-action): Mark unused parameters.
23996 (widget-item-match-inline, widget-choice-match-inline)
23997 (widget-checklist-match, widget-checklist-match-inline)
23998 (widget-group-match): Rename parameter VALUES to VALS.
23999 (widget-field-value-set): Remove unused variable `size'.
24000 (widget-color-action): Remove unused variables `value' and `start'.
24001
24002 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 24003 variable `dir'. Doc fix.
06b60517
JB
24004 (windmove-find-other-window): Don't pass it.
24005
24006 * window.el (count-windows): Mark unused parameter.
24007 (bw-adjust-window): Remove unused variable `err'.
24008
24009 * woman.el (woman-file-name): Remove unused variable `default'.
24010 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24011 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24012 (global-font-lock-mode): Declare.
24013 (woman-decode-region): Mark unused parameter.
24014 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24015
24016 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24017 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24018 (x-dnd-handle-moz-url): Remove unused variable `title'.
24019 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24020
24021 * xml.el (xml-parse-tag, xml-parse-attlist):
24022 Remove unused variable `pos'.
24023
bc4f7f3d
GM
240242011-04-19 Glenn Morris <rgm@gnu.org>
24025
24026 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24027 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24028 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24029 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24030 * calendar/cal-html.el (cal-html-insert-minical):
24031 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24032 (calendar-mark-date-pattern):
24033 Prefix "unused" locals.
24034
24035 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24036 optional argument `style'.
24037
24038 * calendar/appt.el (appt-make-list):
24039 * calendar/cal-china.el (calendar-chinese-date-string):
24040 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24041 (diary-hebrew-yahrzeit):
24042 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24043 * calendar/calendar.el (calendar-generate-window):
24044 * calendar/time-date.el (time-to-days):
24045 Remove unused local variables.
24046
16a43933
CY
240472011-04-18 Chong Yidong <cyd@stupidchicken.com>
24048
24049 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24050 glyphless-char-display table.
24051 (tabulated-list-glyphless-char-display): New var.
24052
7eed1860
SS
240532011-04-18 Sam Steingold <sds@gnu.org>
24054
24055 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24056 to acknowledgments.
24057
4d2d1ccd
GM
240582011-04-17 Glenn Morris <rgm@gnu.org>
24059
24060 * calendar/diary-lib.el (diary-sexp-entry):
24061 * calendar/holidays.el (holiday-sexp):
24062 Set debug-on-error rather than the removed stack-trace-on-error.
24063
239da61d
GM
240642011-04-16 Glenn Morris <rgm@gnu.org>
24065
24066 * progmodes/f90.el: Use lexical-binding.
24067 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24068
8b05752a
SM
240692011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24070
daca8ba5
SM
24071 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24072 (mail-mode): Setup mailalias completion here instead.
24073 * mail/mailalias.el: Use lexical-binding.
24074 (pattern, mailalias-done): Declare dynamic.
24075 (mail-completion-at-point-function): New function, from mail-complete.
24076 (mail-complete): Use it.
24077 (mail-completion-expand): New function.
24078 (mail-get-names): Use it.
24079 (mail-directory, mail-directory-process, mail-directory-stream):
24080 Don't use `pattern' for lexically bound arg.
24081
6f542485
SM
24082 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24083
037e7c3f
SM
24084 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24085 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24086 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24087
8b05752a
SM
24088 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24089 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24090 (byte-interactive-p): Define them again, for use when inlining
24091 old code.
24092
49093f60
JB
240932011-04-15 Juanma Barranquero <lekktu@gmail.com>
24094
24095 * loadup.el: Use `string-to-number', not `string-to-int'.
24096
b5b8e7de
SM
240972011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24098
24099 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24100 gud-gdb-complete-command.
24101 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24102 (gud-gdb-completion-at-point): New function.
24103 (gud-gdb-completions): Remove.
24104
f42efeb5
MA
241052011-04-14 Michael Albinus <michael.albinus@gmx.de>
24106
49093f60
JB
24107 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24108 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24109 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24110 whether `executable-find' is bound.
f42efeb5
MA
24111
24112 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24113
e240cc21
SM
241142011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24115
24116 * minibuffer.el (completion-in-region-mode-predicate)
24117 (completion-in-region-mode--predicate): New vars.
24118 (completion-in-region, completion-in-region--postch)
24119 (completion-in-region-mode): Use them.
24120 (completion--capf-wrapper): Also return the hook function.
24121 (completion-at-point, completion-help-at-point):
24122 Adjust and provide a predicate.
c2bd2ab0
SM
24123
24124 Preserve arg names for advice of subr and lexical functions (bug#8457).
24125 * help-fns.el (help-function-arglist): Consolidate the subr and
24126 new-byte-code cases. Add argument `preserve-names' to extract names
24127 from the docstring when needed.
24128 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24129 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24130 (ad-arglist): Use help-function-arglist's new arg.
24131 (ad-definition-type): Use cond.
24132
c183f693
JB
241332011-04-13 Juanma Barranquero <lekktu@gmail.com>
24134
06641a47
JB
24135 * autorevert.el (auto-revert-handler):
24136 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24137 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24138 Don't quote lambda.
24139
c183f693
JB
24140 * image-mode.el (image-transform-set-scale):
24141 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24142
1e3b6001
G
241432011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24144
24145 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 24146 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
24147 Upgrades via gnutls-cli are too slow to be done opportunistically.
24148
2d6af8dd
JB
241492011-04-12 Juanma Barranquero <lekktu@gmail.com>
24150
24151 * dframe.el (dframe-current-frame): Remove spurious quote.
24152
c0749a51
GM
241532011-04-12 Glenn Morris <rgm@gnu.org>
24154
088d0d61
GM
24155 * calendar/cal-tex.el (cal-tex-end-document):
24156 Try to automatically use latin1 input if needed.
24157
c0749a51
GM
24158 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24159 Don't try to cons a mark onto an empty element.
24160
5c90fde0
LL
241612011-04-11 Leo Liu <sdl.web@gmail.com>
24162
24163 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24164 buffers.
24165 (ido-kill-buffer-at-head): Support killing virtual buffers.
24166
369e974d
CY
241672011-04-10 Chong Yidong <cyd@stupidchicken.com>
24168
24169 * minibuffer.el (completion-show-inline-help): New var.
24170 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
24171 (minibuffer-force-complete, minibuffer-complete-word):
24172 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
24173
24174 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24175 to avoid interference from inline help (Bug#5849).
24176
37f1c930
LL
241772011-04-10 Leo Liu <sdl.web@gmail.com>
24178
099c39a4
JB
24179 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24180 Fix typo.
37f1c930 24181
a32d4040
CY
241822011-04-09 Chong Yidong <cyd@stupidchicken.com>
24183
24184 * image-mode.el (image-toggle-display-image): Signal an error if
24185 not in Image mode.
24186 (image-transform-mode, image-transform-resize)
24187 (image-transform-set-rotation): Doc fix.
daca8ba5 24188 (image-transform-set-resize): Delete.
a32d4040
CY
24189 (image-transform-set-scale, image-transform-fit-to-height)
24190 (image-transform-fit-to-width): Handle image-toggle-display-image
24191 and image-transform-resize directly.
24192
099c39a4 241932011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
24194
24195 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
24196 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24197 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
24198 (doc-view-mode-map): Add bindings for the new functions.
24199
099c39a4 242002011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 24201
4d61f28d 24202 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
24203 Fix typo in docstring.
24204
3726838a
EZ
242052011-04-08 Eli Zaretskii <eliz@gnu.org>
24206
04f33f1e
EZ
24207 * files.el (file-size-human-readable): Produce one digit after
24208 decimal, like "ls -lh" does.
24209
24210 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24211 the file size representation.
24212
3726838a
EZ
24213 * simple.el (list-processes): If async subprocesses are not
24214 available, error out with a clear error message.
24215
cbb59342
CY
242162011-04-08 Chong Yidong <cyd@stupidchicken.com>
24217
24218 * help.el (help-form-show): New function, to be called from C.
24219 Put help-form output in a buffer named differently than *Help*.
24220
e3971c44
EZ
242212011-04-08 Eli Zaretskii <eliz@gnu.org>
24222
24223 * files.el (file-size-human-readable): New function.
24224
24225 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24226 computing the representation inline. Don't require `cl'.
24227
12544bbe
GM
242282011-04-08 Glenn Morris <rgm@gnu.org>
24229
a1de6c6a
GM
24230 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24231
3c4671f4
GM
24232 * net/browse-url.el (browse-url-firefox):
24233 Test system-type, not system-configuration.
24234
b605679c
GM
24235 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24236 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24237 Use log-edit-empty-buffer-p. (Bug#7598)
24238
56442f0c
GM
24239 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24240 (rlogin-mode-map): Initialize in the defvar.
24241 (rlogin): Use ignore-errors.
24242
12544bbe
GM
24243 * replace.el (occur-mode-map): Some fixes for menu items.
24244
eb237b0f
AH
242452011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24246
24247 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24248
7d668f2c
CY
242492011-04-06 Chong Yidong <cyd@stupidchicken.com>
24250
e67a13ab
CY
24251 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24252 issuing unused warnings.
24253
24254 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24255 macro directly.
24256
7d668f2c
CY
24257 * simple.el: Lisp reimplement of list-processes. Based on an
24258 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24259 (process-menu-mode): New major mode.
24260 (list-processes--refresh, list-processes):
24261 (process-menu-visit-buffer): New functions.
24262
24263 * files.el (save-buffers-kill-emacs): Don't assume any return
24264 value of list-processes, which is undocumented anyway.
24265
a83ec3c9
CY
242662011-04-06 Chong Yidong <cyd@stupidchicken.com>
24267
24268 * emacs-lisp/tabulated-list.el: New file.
24269
e91a96fe
CY
24270 * emacs-lisp/package.el: Use Tabulated List mode.
24271 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24272 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24273 table format using Tabulated List mode variables.
24274 (package--push): New macro, replacing package-list-maybe-add.
24275 (package-menu--generate): Use package--push. Renamed from
24276 package--generate-package-list.
24277 (package-menu-refresh, list-packages): Use it.
daca8ba5 24278 (package-menu--print-info): Rename from package-print-package.
e91a96fe 24279 Return insertion data instead of inserting it directly.
099c39a4
JB
24280 (package-menu-describe-package, package-menu-execute):
24281 Use tabulated-list-get-id.
e91a96fe
CY
24282 (package-menu-mark-delete, package-menu-mark-install)
24283 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
24284 (package-menu-mark-obsolete-for-deletion):
24285 Use tabulated-list-put-tag.
e91a96fe
CY
24286 (package--list-packages, package-menu-revert)
24287 (package-menu-get-package, package-menu-get-version)
24288 (package-menu-sort-by-column): Functions deleted.
24289 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24290 (package-menu--status-predicate, package-menu--version-predicate)
24291 (package-menu--name-predicate)
24292 (package-menu--description-predicate): Handle arguments in the
24293 Tabulated List format.
24294 (package-list-packages-no-fetch): Call list-packages.
24295
3e214b50
JB
242962011-04-06 Juanma Barranquero <lekktu@gmail.com>
24297
24298 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 24299 (after-find-file): Don't bind it.
3e214b50
JB
24300 (revert-buffer-in-progress-p): New variable.
24301 (revert-buffer): Bind it.
24302 Pass nil for `after-find-file-from-revert-buffer'.
24303
24304 * saveplace.el (save-place-find-file-hook): Use new variable
24305 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24306
3f0f1700
GM
243072011-04-06 Glenn Morris <rgm@gnu.org>
24308
c0274801
GM
24309 * Makefile.in (AUTOGEN_VCS): New variable.
24310 (autoloads): Use $AUTOGEN_VCS.
24311
3f0f1700
GM
24312 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24313 * calendar/calendar.el (calendar-mode-map):
24314 Check for toolkit scroll bars. (Bug#8305)
24315
41ea9e48
CY
243162011-04-05 Chong Yidong <cyd@stupidchicken.com>
24317
24318 * minibuffer.el (completion-in-region--postch)
24319 (completion-in-region-mode): Remove unnecessary messages.
24320
6194c800
JB
243212011-04-05 Juanma Barranquero <lekktu@gmail.com>
24322
33256f14
JB
24323 * font-lock.el (font-lock-refresh-defaults):
24324 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24325 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24326
6194c800
JB
24327 * info.el (Info-directory-list, Info-read-node-name-2)
24328 (Info-split-parameter-string): Doc fixes.
24329 (Info-virtual-nodes): Reflow docstring.
24330 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24331 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24332 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24333 Fix typos in docstrings.
24334 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24335 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24336 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24337 (Info-restore-desktop-buffer): Mark unused parameters.
24338 (Info-directory-find-file, Info-directory-find-node)
24339 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24340 (Info-virtual-index-find-node, Info-apropos-find-file)
24341 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 24342 Mark unused parameters; fix typos in docstrings.
6194c800
JB
24343 (Info-virtual-index): Remove unused local variable `nodename'.
24344
b87a8200 243452011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 24346
b87a8200
DD
24347 * net/rcirc.el: Update my e-mail address.
24348 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 24349
3b2ff876
CY
243502011-04-05 Chong Yidong <cyd@stupidchicken.com>
24351
24352 * startup.el (command-line): Save the cursor's theme-face
24353 directly, instead of using face-override-spec.
24354
24355 * custom.el (load-theme): Minor optimization in assigning faces.
24356
8d17e7ca
JB
243572011-04-04 Juanma Barranquero <lekktu@gmail.com>
24358
24359 * help-fns.el (describe-variable): Complete all variables having
24360 documentation, including keywords.
24361 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24362
2fbc1934
JB
243632011-04-04 Juanma Barranquero <lekktu@gmail.com>
24364
24365 Convert to lexical-binding.
24366
24367 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24368 (bs--get-marked-string, bs--get-modified-string)
24369 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24370 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24371 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24372
24373 * ehelp.el (electric-help-execute-extended)
24374 (electric-help-ctrl-x-prefix):
24375 * hexl.el (hexl-revert-buffer-function):
24376 * linum.el (linum-after-change, linum-after-scroll):
24377 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24378
24379 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24380
74f50695
DU
243812011-04-04 Daiki Ueno <ueno@unixuser.org>
24382
24383 * epa-dired.el:
24384 * epa-mail.el:
24385 * epa-hook.el:
24386 * epa-file.el:
24387 * epa.el:
24388 * epg.el: Use lexical binding.
24389
c11325f7
CY
243902011-04-03 Chong Yidong <cyd@stupidchicken.com>
24391
0d9e9a12
CY
24392 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24393
c11325f7 24394 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
24395 dictionary case for flyspell-mark-duplications-exceptions.
24396 Use regexp matching for languages.
c11325f7
CY
24397 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24398 default dictionary (Bug#7926).
24399
da91b5f2
CY
244002011-04-02 Chong Yidong <cyd@stupidchicken.com>
24401
099c39a4
JB
24402 * emacs-lisp/package.el (package--with-work-buffer):
24403 Recognize https URLs.
da91b5f2 24404
099c39a4
JB
24405 * net/network-stream.el: Move from gnus/proto-stream.el.
24406 Change prefix to network-stream throughout.
da91b5f2
CY
24407 (open-protocol-stream): Merge into open-network-stream, leaving
24408 open-protocol-stream as an alias. Handle nil BUFFER args.
24409
24410 * subr.el (open-network-stream): Move to net/network-stream.el.
24411
afa8e9f6
GM
244122011-04-02 Glenn Morris <rgm@gnu.org>
24413
1d2e369d
GM
24414 * find-dired.el (find-exec-terminator): New option.
24415 (find-ls-option): Test for -ls support.
24416 (find-ls-subdir-switches): Test for -b in find-ls-option.
24417 (find-dired, find-grep-dired): Doc fixes.
24418 (find-dired): Use find-exec-terminator.
24419
8abb7da8 24420 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
24421 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24422 (find-name-arg): Remove purecopy.
8abb7da8 24423
f3ca7378
GM
24424 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24425 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24426 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24427 accordingly. Don't add the null-device if not needed.
24428
afa8e9f6
GM
24429 * files.el (save-some-buffers): Doc fix.
24430
35eae264
EZ
244312011-04-02 Eli Zaretskii <eliz@gnu.org>
24432
24433 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24434
26b51db5
JB
244352011-04-01 Juanma Barranquero <lekktu@gmail.com>
24436
24437 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24438 Use `dolist' rather than `mapcar'.
24439
7200d79c
SM
244402011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24441
03408648 24442 Add lexical binding.
7200d79c 24443
03408648
SM
24444 * subr.el (apply-partially): Use new closures rather than CL.
24445 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24446 (dolist, dotimes): Use slightly different expansion for lexical code.
24447 (functionp): Move to C.
24448 (letrec): New macro.
24449 (with-wrapper-hook): Use it and apply-partially instead of CL.
24450 (eval-after-load): Preserve lexical-binding.
24451 (save-window-excursion, with-output-to-temp-buffer): Turn them
24452 into macros.
7200d79c 24453
03408648
SM
24454 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24455
24456 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24457 than the arglist.
24458 (help-add-fundoc-usage): Don't add `Not documented'.
24459 (help-function-arglist): Handle closures, subroutines, and new
24460 byte-code-functions.
24461 (help-make-usage): Remove leading underscores.
24462 (describe-function-1): Handle closures.
24463 (describe-variable): Use special-variable-p for completion.
24464
24465 * files.el (lexical-binding): Declare safe.
f488fb65 24466
03408648
SM
24467 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24468 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24469 (pcase): Add `let' pattern.
24470 Change memoization so it actually works.
24471 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24472 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24473 <let>: New case.
f488fb65 24474
03408648
SM
24475 * emacs-lisp/macroexp.el: Use lexical binding.
24476 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24477 Don't convert ' to #' without checking that it's indeed quoting
24478 a lambda.
24479
24480 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 24481 Use eval-sexp-add-defvars.
03408648
SM
24482 (eval-sexp-add-defvars): New fun.
24483
24484 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24485
24486 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24487 Don't autoload.
24488 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24489 than the internal `byte-compile-lambda'.
24490 (defmethod): Don't hide code under quotes.
24491 (eieio-defmethod): New `code' argument.
24492
24493 * emacs-lisp/eieio-comp.el: Remove.
24494
24495 * emacs-lisp/edebug.el (edebug-eval-defun)
24496 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24497 (edebug-toggle): Avoid `eval'.
24498
24499 * emacs-lisp/disass.el (disassemble-internal): Handle new
24500 `closure' objects.
24501 (disassemble-1): Handle new byte codes.
24502
24503 * emacs-lisp/cl.el (pushnew): Silence warning.
24504
24505 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24506 (cl-byte-compile-throw): Remove.
24507 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24508
24509 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24510 closures.
24511
24512 * emacs-lisp/cconv.el: New file.
24513
24514 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24515 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24516 (byte-compile-initial-macro-environment):
24517 Handle declare-function here.
24518 (byte-compile--lexical-environment): New var.
24519 (byte-stack-ref, byte-stack-set, byte-discardN)
24520 (byte-discardN-preserve-tos): New lap codes.
24521 (byte-interactive-p): Don't use any more.
24522 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24523 New macros.
24524 (byte-compile-lapcode): Use them and handle new lap codes.
24525 (byte-compile-obsolete): Remove.
24526 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24527 (byte-compile-arglist-warn): Check late def of inlinable funs.
24528 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24529 since they should have been expanded by now.
24530 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24531 (byte-compile-from-buffer): Remove unused second arg.
24532 (byte-compile-preprocess): New function.
24533 (byte-compile-toplevel-file-form): New function to distinguish
24534 file-form calls from outside from file-form calls from hunk-handlers.
24535 (byte-compile-file-form): Simplify.
24536 (byte-compile-file-form-defsubst): Remove.
24537 (byte-compile-file-form-defmumble): Simplify now that
24538 byte-compile-lambda always returns a byte-code-function.
24539 (byte-compile): Preprocess.
24540 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24541 Remove, not used any more.
24542 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24543 (byte-compile-make-args-desc): New funs.
24544 (byte-compile-lambda): Handle lexical functions. Always return
24545 a byte-code-function.
24546 (byte-compile-reserved-constants): New var, to make up room for
24547 closed-over variables.
24548 (byte-compile-constants-vector): Obey it.
24549 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24550 (byte-compile-macroexpand-declare-function): New function.
24551 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24552 byte-code-functions.
24553 (byte-compile-form): Check obsolescence here.
24554 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24555 (byte-compile-variable-ref): Remove.
24556 (byte-compile-dynamic-variable-op): New fun.
24557 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24558 (byte-compile-variable-set): New funs.
24559 (byte-compile-discard): Add 2 args.
24560 (byte-compile-stack-ref, byte-compile-stack-set)
24561 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24562 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24563 macroexpand-all instead.
24564 (byte-compile-quote-form): Remove.
24565 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24566 (byte-compile-bind, byte-compile-unbind): New funs.
24567 (byte-compile-let): Handle let* and lexical binding.
24568 (byte-compile-let*): Remove.
24569 (byte-compile-catch, byte-compile-unwind-protect)
24570 (byte-compile-track-mouse, byte-compile-condition-case):
24571 Handle a new :fun-body form, used for lexical scoping.
24572 (byte-compile-save-window-excursion)
24573 (byte-compile-with-output-to-temp-buffer): Remove.
24574 (byte-compile-defun): Simplify.
24575 (byte-compile-stack-adjustment): New fun.
24576 (byte-compile-out): Use it.
24577 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24578
24579 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24580 handler any more.
24581
24582 * emacs-lisp/byte-opt.el: Use lexical binding.
24583 (byte-inline-lapcode): Remove (to bytecomp).
24584 (byte-compile-inline-expand): Pay attention to inlining to/from
24585 lexically bound code.
24586 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24587 any more.
24588 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24589 any more and don't call compiler-macros.
24590 (byte-compile-splice-in-already-compiled-code): Remove.
24591 (byte-code): Don't inline any more.
24592 (disassemble-offset): Receive `bytes' as argument rather than via
24593 dynamic scoping.
24594 (byte-compile-tag-number): Declare before first use.
24595 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24596 `return' even if make-spliceable.
24597 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24598 obsolete interactive-p.
24599 (byte-optimize-lapcode): Optimize new lap-codes.
24600 Don't trip up on new form of `byte-constant' lap code.
24601
24602 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24603
24604 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24605
24606 * custom.el (custom-initialize-default, custom-declare-variable):
24607 Use `defvar'.
24608
24609 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24610 New variables.
24611 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24612 (COMPILE_FIRST): Add macroexp and cconv.
24613 * makefile.w32-in: Mirror changes in Makefile.in.
24614
24615 * vc/cvs-status.el:
24616 * vc/diff-mode.el:
24617 * vc/log-edit.el:
24618 * vc/log-view.el:
24619 * vc/smerge-mode.el:
24620 * textmodes/bibtex-style.el:
090bd7cb 24621 * textmodes/css-mode.el:
03408648
SM
24622 * startup.el:
24623 * uniquify.el:
da91b5f2
CY
24624 * minibuffer.el:
24625 * newcomment.el:
24626 * reveal.el:
24627 * server.el:
24628 * mpc.el:
24629 * emacs-lisp/smie.el:
24630 * doc-view.el:
24631 * dired.el:
03408648
SM
24632 * abbrev.el: Use lexical binding.
24633
0f0c1f27
EZ
246342011-04-01 Eli Zaretskii <eliz@gnu.org>
24635
24636 * info.el (info-display-manual): New function.
24637
c82b2579
SM
246382011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24639
24640 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24641
221ddf68
TH
246422011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24643
24644 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 24645 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 24646
cba6e77e
GM
246472011-03-31 Glenn Morris <rgm@gnu.org>
24648
e040639f
GM
24649 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24650
cba6e77e
GM
24651 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24652
6d0f1c9e
CS
246532011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24654
24655 * progmodes/python.el (python-default-interpreter)
24656 (python-python-command-args, python-jython-command-args)
24657 (python-which-shell, python-which-args, python-which-bufname)
24658 (python-file-queue, python-comint-output-filter-function)
24659 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24660 variables and functions.
24661
3e2d70fd
SM
246622011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24663
24664 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24665 (completion-in-region-mode): New minor mode.
24666 (completion-in-region): Use it.
24667 (completion-in-region--data, completion-in-region-mode-map): New vars.
24668 (completion-in-region--postch): New function.
24669 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24670 New vars.
24671 (completion--capf-wrapper): New function.
24672 (completion-at-point): Use it to track well-behavedness of
24673 hook functions.
24674 (completion-help-at-point): New command.
24675
f3e4086c
JM
246762011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24677
24678 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24679 syntax class to search for whitespace on a single line
24680 (Message-ID: <4D938140.4030905@redhat.com>).
24681
eb7ffc14
LL
246822011-03-30 Leo Liu <sdl.web@gmail.com>
24683
24684 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24685 New commands.
24686 (edit-abbrevs-map): Bind them here.
24687 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24688
d806ab68
KM
246892011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24690
24691 * allout.el (allout-hide-by-annotation, allout-flag-region):
24692 Reduce possibility of overlay leakage by making them volatile.
24693
24694 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24695 hash is not shared between buffers. Mode initialization is
24696 responsible for giving it a useful starting value.
24697 (allout-item-span): Reduce possibility of overlay leakage by
24698 making them volatile.
24699 (allout-widgets-count-buttons-in-region): Add diagnostic function
24700 for tracking down button overlay leaks.
24701
ea622834
LL
247022011-03-29 Leo Liu <sdl.web@gmail.com>
24703
24704 * ido.el (ido-read-internal): Use the default history var
24705 minibuffer-history if no HISTORY is specified.
24706
b62f8267
G
247072011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24708
03408648
SM
24709 * net/imap.el (imap-shell-open, imap-process-connection-type):
24710 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
24711 Kerberos, SSL, other subprocesses.
24712
947b6566
LL
247132011-03-28 Leo Liu <sdl.web@gmail.com>
24714
24715 * abbrev.el (abbrev-table-empty-p): New function.
24716 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24717 nonempty ones. (Bug#5937)
24718
5ffb62aa
JD
247192011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24720
24721 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24722
7a097943
LL
247232011-03-27 Leo Liu <sdl.web@gmail.com>
24724
24725 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24726 for foreground and background colors.
24727 (ansi-color-make-color-map): Adapt.
24728
c5b40130
LL
247292011-03-25 Leo Liu <sdl.web@gmail.com>
24730
1f48f7d2
LL
24731 * midnight.el (midnight-time-float): Remove. Note it calculates
24732 the microsecond component incorrectly and seconds-to-time does the
24733 same job.
625897ec 24734 Remove redundant (require 'timer).
1f48f7d2 24735
c5b40130
LL
24736 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24737 (ido-completions): Remove unused arguments. (Bug#8329)
24738
d86d2721
SM
247392011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24740
24741 * minibuffer.el (completion--flush-all-sorted-completions):
24742 Remove itself from hook.
24743 (completion-at-point): Let the functions perform the completion
24744 immediately and return nil or t.
24745 * comint.el (comint-dynamic-complete-functions): Now identical to
24746 completion-at-point-functions.
24747 (comint-dynamic-list-input-ring): Remove unused var `index'.
24748 (comint--match-partial-filename, comint--unquote&expand-filename):
24749 New funs, split from comint-match-partial-filename.
24750 (comint-dynamic-complete): Use completion-at-point.
24751 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24752
e8974c48
DA
247532011-03-24 Drew Adams <drew.adams@oracle.com>
24754
24755 * thingatpt.el: Support `defun'.
24756
def71b5e
LL
247572011-03-23 Leo Liu <sdl.web@gmail.com>
24758
cb5af48e
LL
24759 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24760
def71b5e
LL
24761 * help-mode.el (help-mode-finish): Tweak regexp.
24762
927c53e7
GM
247632011-03-23 Glenn Morris <rgm@gnu.org>
24764
18d05bed
GM
24765 * eshell/esh-opt.el (eshell-eval-using-options):
24766 Do not bind unused local variable `eshell-option-stub'.
24767
927c53e7
GM
24768 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24769
9d0da923
JB
247702011-03-22 Juanma Barranquero <lekktu@gmail.com>
24771
24772 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24773 keymap variable in `with-no-warnings' to avoid a warning when the
24774 keymap has been already `defconst'ed.
24775
4b978a67
LL
247762011-03-22 Leo Liu <sdl.web@gmail.com>
24777
24778 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24779 encode all chars in abbrevs; otherwise use emacs-mule or
24780 utf-8-emacs. (Bug#8308)
24781
5fd62452
JB
247822011-03-22 Juanma Barranquero <lekktu@gmail.com>
24783
0b1596c6
JB
24784 * simple.el (backward-delete-char-untabify):
24785 Avoid warning about using `delete-backward-char'.
24786
5fd62452
JB
24787 * image.el (image-type-file-name-regexps): Make it variable.
24788 `imagemagick-register-types' modifies it, and the user may want
24789 to add new extensions for known image types.
24790 (imagemagick-register-types): Throw error if not using ImageMagick.
24791
0b4e93f1
LL
247922011-03-22 Leo Liu <sdl.web@gmail.com>
24793
24794 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24795 located before rcirc-prompt-end-marker.
24796 (rcirc-complete): Error if point is not after rcirc prompt.
24797 Handle the case when table is nil.
9882e214 24798 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 24799
fccee4ab
CY
248002011-03-22 Chong Yidong <cyd@stupidchicken.com>
24801
24802 * custom.el (custom--inhibit-theme-enable): Make it affect only
24803 custom-theme-set-variables and custom-theme-set-faces.
24804 (provide-theme): Ignore custom--inhibit-theme-enable.
24805 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24806 (custom-enabling-themes): Delete variable.
d86d2721
SM
24807 (enable-theme): Accept only loaded themes as arguments.
24808 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
24809 (custom-enabled-themes): Forbid themes from setting this.
24810 Eliminate use of custom-enabling-themes.
24811 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 24812
af896da6
LL
248132011-03-21 Leo Liu <sdl.web@gmail.com>
24814
24815 * ido.el (ido-read-internal): Add ido-selected to history instead
24816 of user input.
24817
78f64af0
SM
248182011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24819
24820 * subr.el (deferred-action-list, deferred-action-function):
24821 Mark obsolete.
24822
b16ac1ec
LL
248232011-03-21 Leo Liu <sdl.web@gmail.com>
24824
810f7698
LL
24825 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24826 change on 2011-02-13 (bug#8309).
24827
b16ac1ec
LL
24828 * minibuffer.el (read-file-name-function): Change default value.
24829 (read-file-name--defaults): Rename from read-file-name-defaults.
24830 (read-file-name-default): Rename from read-file-name.
24831 (read-file-name): Call read-file-name-function.
24832
4e05e67e
GM
248332011-03-21 Glenn Morris <rgm@gnu.org>
24834
24835 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24836 Doc fixes.
24837
4359915b
CY
248382011-03-21 Chong Yidong <cyd@stupidchicken.com>
24839
24840 * cus-theme.el: Add missing provide statement.
24841 (customize-create-theme): Extract theme value correctly.
24842 (custom-theme-visit-theme): Autoload.
24843 (customize-create-theme): Prompt before inserting default faces.
24844
1fe275ee
JB
248452011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24846
24847 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24848 units and musical notes.
24849
cd394be1 248502011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
24851
24852 * ido.el (ido-read-internal): Use completing-read-default.
24853 (ido-completing-read): Fix compatibility with completing-read.
24854
7d476bde
CO
248552011-03-20 Christian Ohler <ohler@gnu.org>
24856
24857 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24858 (ert-delete-all-tests): Use `called-interactively-p' rather than
24859 `interactive-p'.
24860 (ert--make-xrefs-region): Respect END.
24861
fe0fb33e
CY
248622011-03-19 Chong Yidong <cyd@stupidchicken.com>
24863
ff854b0b
CY
24864 * dired-aux.el (dired-create-directory): Signal an error if the
24865 directory already exists (Bug#8246).
24866
fe0fb33e
CY
24867 * facemenu.el (list-colors-display): Call list-faces-display
24868 inside with-help-window.
24869 (list-colors-print): Use display property to align the final
24870 column, instead of checking window-width.
24871
576bce32
EZ
248722011-03-19 Eli Zaretskii <eliz@gnu.org>
24873
4d61f28d 24874 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
24875 windows-nt systems.
24876 (emerge-protect-metachars): Quote correctly for ms-dos and
24877 windows-nt systems.
24878
89c41d68 248792011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
24880
24881 * info.el (info-initialize): Replace all uses of `:' with
24882 path-separator for compatibility with non-Unix systems.
24883 Cache quoting of path-separator. (Bug#8258)
24884
b14e3e21 248852011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
24886
24887 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24888 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24889 (mouse-avoidance-mode): Fix typos in docstrings.
24890
4525ce3e
CY
248912011-03-19 Chong Yidong <cyd@stupidchicken.com>
24892
24893 * startup.el (package-subdirectory-regexp): Move from package.el.
24894 Omit \\` and \\', and let callers add them.
24895
24896 * emacs-lisp/package.el (package-strip-version)
24897 (package-load-all-descriptors): Add \\` and \\' to
24898 package-subdirectory-regexp before using it.
24899 (package-untar-buffer): New arg DIR; ensure that file untars only
24900 into this expected directory. Remove superfluous delete-region.
24901 (package-unpack): Caller changed.
24902 (package-tar-file-info): Use package-subdirectory-regexp.
24903
a904a09a 249042011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 24905
a904a09a
SM
24906 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24907 diff-mode-shared-map (bug#8284).
24908 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
24909
249102011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24911
24912 * calendar/time-date.el (format-seconds): Use assoc instead of
24913 assoc-string, since assoc-string doesn't exist in XEmacs.
24914
171fc304
JB
249152011-03-17 Juanma Barranquero <lekktu@gmail.com>
24916
24917 * custom.el (custom-known-themes): Reflow docstring.
24918 (custom-theme-load-path): Fix typo in docstring.
24919 (load-theme): Fix typo in error message.
24920 (custom-available-themes, custom-variable-theme-value):
24921 Use `let', not `let*'.
24922
d71990a1
JB
249232011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24924
24925 * calc/README: Mention inclusion of musical notes.
24926
24927 * calc/calc-units.el (calc-lu-quant): Rename from
24928 `calc-logunits-quantity'.
24929 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24930 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24931 (calc-db): Rename from `calc-dblevel'.
24932 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24933 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24934 (calc-np): Rename from `calc-nplevel'.
24935 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24936 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24937 (calc-lu-plus): Rename from `calc-logunits-add'.
24938 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24939 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24940 (calc-lu-minus): Rename from `calc-logunits-sub'.
24941 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24942 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24943 (calc-lu-times): Rename from `calc-logunits-mul'.
24944 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24945 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24946 (calc-lu-divide): Rename from `calc-logunits-div'.
24947 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24948 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24949
24950 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24951 functions being autoloaded.
24952
24953 * calc/calc.el (calc-lu-power-reference): Rename from
24954 `calc-logunits-power-reference'.
24955 (calc-lu-field-reference): Rename from
24956 `calc-logunits-field-reference'.
24957
7a71b18d
GM
24958 * calc/calc-help.el (calc-l-prefix-help):
24959 Mention musical note functions.
d71990a1 24960
40c2934b
SM
249612011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24962
24963 * minibuffer.el (completion-all-sorted-completions):
24964 Use :completion-cycle-penalty text property if present.
24965
b0911414
KM
249662011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24967
24968 * allout.el (allout-yank-processing): Adjust for new rebulleting
24969 regime so bullet being yanked is used without prompting the user
24970 for a choice.
24971
8a05b668
JB
249722011-03-16 Juanma Barranquero <lekktu@gmail.com>
24973
24974 * startup.el (command-line): Warn the user that _emacs is deprecated.
24975
5ba5fb81
JB
249762011-03-16 Juanma Barranquero <lekktu@gmail.com>
24977
24978 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24979 (delphi-verbose, delphi-comment-face, delphi-string-face)
24980 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24981 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24982 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24983 (delphi-new-comment-line, delphi-font-lock-defaults)
24984 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24985 Fix typos in docstrings.
24986
2dab465b
KM
249872011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24988
5ba5fb81 24989 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
24990 Invert the roles of character and string values for INSTEAD, so a
24991 string is used for the more common case of a defaulting prompt.
24992
0adf5618
SM
249932011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24994
24995 * progmodes/ruby-mode.el (ruby-backward-sexp):
24996 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24997 * play/gamegrid.el (gamegrid-make-face):
24998 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24999 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25000 * notifications.el (notifications-notify):
25001 * net/xesam.el (xesam-search-engines):
25002 * net/quickurl.el (quickurl-list-insert):
25003 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25004
d72700e5
CY
250052011-03-15 Chong Yidong <cyd@stupidchicken.com>
25006
25007 * startup.el (command-line): Update package subdirectory regexp.
25008
49c5410a
SM
250092011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25010
c6eee9aa
SM
25011 * allout.el (allout-abbreviate-flattened-numbering)
25012 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25013
49c5410a
SM
25014 * subr.el (read-char-choice): Only show the cursor after the prompt,
25015 not after the answer.
25016
047b2bb9
KR
250172011-03-15 Kevin Ryde <user42@zip.com.au>
25018
25019 * help-fns.el (variable-at-point): Skip leading quotes, if any
25020 (bug#8253).
25021
0a57d256
SM
250222011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25023
25024 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25025 warning message.
25026
77c992bc
MA
250272011-03-14 Michael Albinus <michael.albinus@gmx.de>
25028
25029 * shell.el (shell): When called interactively, offer to change the
25030 shell file name on remote hosts.
25031
eebc475d
TZ
250322011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25033
25034 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25035 integration for LDAP parameters. The host, base, user or binddn,
25036 and secret tokens can be specified in a netrc file, for instance.
25037 This is optional because an `auth-source' parameter must be
25038 specified in the search attributes.
25039
9d05d1ba
JB
250402011-03-13 Juanma Barranquero <lekktu@gmail.com>
25041
25042 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25043
09d9db2c
GM
250442011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25045
25046 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25047 into declaration. Remove redundant and harmful binding.
25048
250492011-03-12 Eli Zaretskii <eliz@gnu.org>
25050
25051 * files.el (file-ownership-preserved-p): Pass `integer' as an
25052 explicit 2nd argument to `file-attributes'. If the file's owner
25053 is the Administrators group on Windows, and the current user is
25054 Administrator, consider that a match.
25055
25056 * server.el (server-ensure-safe-dir): Consider server directory
25057 safe on MS-Windows if its owner is the Administrators group while
25058 the current Emacs user is Administrator. Use `=' to compare
25059 numerical UIDs, since they could be integers or floats.
25060
219bd536
JB
250612011-03-12 Juanma Barranquero <lekktu@gmail.com>
25062
25063 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25064
f3afd36b
MA
250652011-03-12 Michael Albinus <michael.albinus@gmx.de>
25066
25067 Sync with Tramp 2.2.1.
25068
25069 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25070
25071 * net/trampver.el: Update release number.
25072
3aaaa6f1
SM
250732011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25074
94642599
SM
25075 * progmodes/compile.el (compilation--previous-directory): Fix up
25076 various nil/dead-marker mismatches (bug#8014).
25077 (compilation-directory-properties, compilation-error-properties):
25078 Don't call it at a position past the one we're about to change.
25079
3aaaa6f1
SM
25080 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25081 Disable obsolescence warnings in the file that declares it.
25082
14239447
KM
250832011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25084
099c39a4
JB
25085 * allout-widgets.el (allout-widgets-tally):
25086 Initialize allout-widgets-tally as a hash table rather than nil to
25087 prevent mode-line redisplay warnings. Also, clarify the module
25088 description and fix a comment typo.
14239447 25089
135e287c
JB
250902011-03-11 Juanma Barranquero <lekktu@gmail.com>
25091
25092 * help-fns.el (describe-variable): Don't complete keywords.
25093 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25094
ffbf300e
CY
250952011-03-10 Chong Yidong <cyd@stupidchicken.com>
25096
ba08b241
CY
25097 * emacs-lisp/package.el (package-version-join): Impose a standard
25098 string representation for pre/alpha/beta version lists.
25099 (package-unpack-single): Standardize the directory name by passing
25100 it through package-version-join.
25101 (package-strip-rcs-id): Accept any version string that does not
25102 signal an error in version-to-list.
ffbf300e 25103
f346fd6b
MA
251042011-03-10 Michael Albinus <michael.albinus@gmx.de>
25105
25106 * simple.el (delete-trailing-whitespace): Return nil for the
25107 benefit of `write-file-functions'.
25108
ccb55d27
GM
251092011-03-10 Glenn Morris <rgm@gnu.org>
25110
5ceaac0c
GM
25111 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25112
02da65ff
GM
25113 * vc/vc-git.el (vc-git-program): New option.
25114 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25115 (vc-git--call): Use it.
25116
b2f603cc
GM
25117 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25118
5772caab
GM
25119 * cus-edit.el (Custom-newline): If no button at point, look
25120 for a subgroup button at start-of-line. (Bug#2298)
25121
ccb55d27
GM
25122 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25123
ec6ecaed
JD
251242011-03-10 Julien Danjou <julien@danjou.info>
25125
25126 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25127 `cursor-type' is nil.
25128
9d5aa01d
JB
251292011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25130
25131 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25132
b6a5875b
KM
251332011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25134
7a71b18d 25135 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
25136 preserves the existing header prefix, rebulleting it if necessary,
25137 rather than replacing it. This is necessary for proper operation
25138 of cooperative addons like allout-widgets.
1154d12e
JB
25139 (allout-make-topic-prefix, allout-rebullet-heading):
25140 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25141 value as alternate bullet to be used, instead of prompting the user
25142 for a bullet character.
b6a5875b 25143
ee545c35
MA
251442011-03-09 Michael Albinus <michael.albinus@gmx.de>
25145
d86d2721
SM
25146 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25147 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
25148 `tramp-default-port'.
25149
c47971d7
DD
251502011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25151
25152 * net/rcirc.el (rcirc-handler-001): Remove useless
25153 with-rcirc-process-buffer.
25154 (rcirc-check-auth-status): Swap arguments to string-match.
25155
13522cb4
GM
251562011-03-09 Glenn Morris <rgm@gnu.org>
25157
0be6f4f1
GM
25158 * shell.el (shell-mode):
25159 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25160
13522cb4
GM
25161 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25162 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25163
515de2e3
CY
251642011-03-08 Chong Yidong <cyd@stupidchicken.com>
25165
25166 * emacs-lisp/package.el (package-refresh-contents)
25167 (package-menu-execute): Use condition-case-no-debug.
25168
b511b994
MA
251692011-03-08 Michael Albinus <michael.albinus@gmx.de>
25170
25171 * simple.el (shell-command-to-string): Use `process-file'.
25172
25173 * emacs-lisp/package.el (package-tar-file-info): Handle also
25174 remote files.
25175
d86d2721
SM
25176 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25177 Use `equal' for upload base check.
b511b994 25178
25bbfb31
AM
251792011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25180
25181 * textmodes/texinfo.el (texinfo-environments):
25182 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25183
be996521
GM
251842011-03-08 Glenn Morris <rgm@gnu.org>
25185
e9c8529f
GM
25186 * cus-start.el (cursor-in-non-selected-windows):
25187 Fix :set quoting oddness. (Bug#8192)
25188
be996521
GM
25189 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25190 in some setf expressions. (Bug#2159)
25191
2bb5649e
CY
251922011-03-08 Chong Yidong <cyd@stupidchicken.com>
25193
25194 * custom.el (custom-available-themes): Return themes in
25195 alphabetical order.
25196
33383987 25197See ChangeLog.15 for earlier changes.
e3d51b27
MR
25198
25199;; Local Variables:
25200;; coding: utf-8
e3d51b27
MR
25201;; End:
25202
ab422c4d 25203 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
25204
25205 This file is part of GNU Emacs.
25206
25207 GNU Emacs is free software: you can redistribute it and/or modify
25208 it under the terms of the GNU General Public License as published by
25209 the Free Software Foundation, either version 3 of the License, or
25210 (at your option) any later version.
25211
25212 GNU Emacs is distributed in the hope that it will be useful,
25213 but WITHOUT ANY WARRANTY; without even the implied warranty of
25214 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25215 GNU General Public License for more details.
25216
25217 You should have received a copy of the GNU General Public License
25218 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.