merge trunk
[bpt/emacs.git] / lisp / ChangeLog
1 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2
3 Sync with Tramp 2.2.7.
4
5 * net/trampver.el: Update release number.
6
7 2013-03-14 Tassilo Horn <tsdh@gnu.org>
8
9 * doc-view.el Fix bug#13887.
10 (doc-view-insert-image): Don't modify overlay associated to
11 non-live windows, and implement horizontal centering of image in
12 case it's smaller than the window.
13 (doc-view-new-window-function): Force redisplay of new windows on
14 doc-view buffers.
15
16 2013-03-13 Karl Fogel <kfogel@red-bean.com>
17
18 * saveplace.el (save-place-alist-to-file): Don't sort
19 `save-place-alist', just pretty-print it (bug#13882).
20
21 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
22
23 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
24 whether `default-file-name-coding-system' is bound. It isn't in
25 XEmacs.
26
27 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
28
29 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
30 backquotes for `obsolete' (bug#13929).
31
32 * international/mule.el (find-auto-coding): Include file name in
33 obsolescence warning (bug#13922).
34
35 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
36
37 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
38 for CFEngine 3-specific indentation.
39 (cfengine3-indent-line): Use it. Fix up category regex.
40 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
41
42 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
43
44 * type-break.el (type-break-file-name):
45 * textmodes/remember.el (remember-data-file):
46 * strokes.el (strokes-file):
47 * shadowfile.el (shadow-initialize):
48 * saveplace.el (save-place-file):
49 * ps-bdf.el (bdf-cache-file):
50 * progmodes/idlwave.el (idlwave-config-directory):
51 * net/quickurl.el (quickurl-url-file):
52 * international/kkc.el (kkc-init-file-name):
53 * ido.el (ido-save-directory-list-file):
54 * emulation/viper.el (viper-custom-file-name):
55 * emulation/vip.el (vip-startup-file):
56 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
57 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
58
59 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
60
61 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
62 * language/thai-word.el: Switch to UTF-8.
63
64 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
65
66 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
67
68 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
69
70 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
71 Use with-current-buffer and don't move point.
72 (net-utils-run-simple): Remove useless code.
73 (net-utils-remove-ctl-m): Remove unused custom.
74
75 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
76
77 * international/characters.el (glyphless-set-char-table-range): New fun.
78 (update-glyphless-char-display): Use it (bug#13744).
79
80 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
81
82 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
83 namespaces in the syntax, indent closer for hanging brace
84 correctly, allow single-quote delimited 'strings', and make
85 `cfengine3-mode' the default.
86
87 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
88
89 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
90 Use lexical-binding. Fix up docstring according to conventions.
91 (gdbmi-debug-mode): New var.
92 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
93 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
94 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
95 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
96 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
97 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
98 (gdbmi-bnf-incomplete-record-result): New functions.
99 (gdb-car<): Remove function.
100 (gdbmi-record-list): Remove variable.
101 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
102 (gdbmi-bnf-result-state-configs): New const.
103 (gud-gdbmi-marker-filter): Rewrite.
104 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
105 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
106 Add `token' argument.
107 (gdb-done, gdb-error): New functions.
108 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
109
110 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
111
112 * term/xterm.el (xterm--report-background-handler): Don't burp
113 upon timeout.
114 (xterm--version-handler): Extract from terminal-init-xterm.
115 (xterm--query): Don't mishandle timeout. Remove debugging messages.
116 Allow multiple handlers.
117 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
118
119 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
120 (xterm--report-background-handler, xterm--query): New functions.
121 (terminal-init-xterm): Use them.
122
123 2013-03-11 Michael R. Mauger <michael@mauger.com>
124
125 * progmodes/sql.el Version 3.2
126 Please note that my address changed to <michael@mauger.com>;
127 the <mmaug@yahoo.com> address remains active.
128 (sql-connection-alist): Updates documentation to fix bug#13715.
129 (sql-connect): Handle missing `sql-connection-alist' correctly.
130 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
131 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
132 property.
133 (sql-default-value): New function.
134 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
135 values were not used.
136 (sql-rename-buffer): Make sure alternate buffer name has no text
137 properties.
138 (sql-input-sender, sql-execute-feature): Fetch variable with
139 `buffer-local-value' rather than `with-current-buffer'.
140 (sql-*): Use #' function syntax consistently.
141 (sql-*): Use message/error/user-error consistently.
142
143 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 * xt-mouse.el (xterm-mouse-event-read): Remove.
146 (xterm-mouse--read-event-sequence-1000)
147 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
148
149 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
150
151 * term/xterm.el (xterm-function-map): Support format used with
152 formatOtherKeys=1 (bug#13839).
153
154 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
155 (with-no-warnings): Use `declare'.
156
157 * whitespace.el (whitespace-enable-predicate): New variable.
158 (whitespace-enable-predicate): Use it.
159
160 * comint.el (comint-send-input, comint-snapshot-last-prompt)
161 (comint-output-filter, comint-update-fence):
162 Use with-silent-modifications.
163
164 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
165
166 * replace.el (occur-read-regexp-defaults-function): New var.
167 (occur-read-regexp-defaults): New defun.
168 (occur-read-primary-args): Propagate above change (bug#13892).
169
170 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
171
172 * mouse.el (mouse-drag-track): Remove left-over debugging code.
173
174 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
175
176 Major rewrite due to changed D-Bus interface of GVFS 1.14.
177
178 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
179 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
180 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
181 New defconst.
182 (tramp-gvfs-file-name-handler-alist) [directory-files]
183 [directory-files-and-attributes, file-exists-p, file-modes]:
184 Use Tramp default handler.
185 [file-acl, file-selinux-context, process-file, set-file-acl]:
186 [set-file-modes, set-file-selinux-context, shell-command]:
187 [start-file-process]: Remove handler.
188 [verify-visited-file-modtime]: New handler.
189 (tramp-gvfs-dbus-string-to-byte-array)
190 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
191 calls of `dbus-string-to-byte-array' and
192 `tramp-gvfs-dbus-byte-array-to-string'.
193 (tramp-gvfs-handle-copy-file)
194 (tramp-gvfs-handle-delete-directory)
195 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
196 (tramp-gvfs-handle-file-directory-p)
197 (tramp-gvfs-handle-file-executable-p)
198 (tramp-gvfs-handle-file-name-all-completions)
199 (tramp-gvfs-handle-file-readable-p)
200 (tramp-gvfs-handle-file-writable-p)
201 (tramp-gvfs-handle-insert-directory)
202 (tramp-gvfs-handle-insert-file-contents)
203 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
204 (tramp-gvfs-handle-set-visited-file-modtime)
205 (tramp-gvfs-handle-write-region): Rewrite.
206 (tramp-gvfs-handle-file-acl)
207 (tramp-gvfs-handle-file-selinux-context)
208 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
209 (tramp-gvfs-handle-set-file-modes)
210 (tramp-gvfs-handle-set-file-selinux-context)
211 (tramp-gvfs-handle-shell-command)
212 (tramp-gvfs-handle-start-file-process)
213 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
214 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
215 over the symlinks. Fix user handling.
216 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
217 of the D-Bus signals.
218 (tramp-gvfs-connection-mounted-p): Handle different names of the
219 D-Bus methods.
220 (tramp-gvfs-mount-spec-entry): New defun.
221 (tramp-gvfs-mount-spec): Use it.
222 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
223 there is a share name. Handle different names of the D-Bus
224 signals and methods. Set connection properties needed for
225 `tramp-check-cached-permissions'.
226 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
227 Return t or nil.
228
229 * net/tramp.el (tramp-backtrace): Move up.
230 (tramp-error): Dump a backtrace into the debug buffer when
231 `tramp-verbose > 9.
232 (tramp-file-mode-type-map, tramp-file-mode-from-int)
233 (tramp-file-mode-permissions, tramp-get-local-uid)
234 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
235 tramp-sh.el.
236
237 * net/tramp-sh.el (tramp-file-mode-type-map)
238 (tramp-check-cached-permissions, tramp-file-mode-from-int)
239 (tramp-file-mode-permissions, tramp-get-local-uid)
240 (tramp-get-local-gid): Move to tramp.el.
241
242 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
243
244 Separate mouse-1-click-follows-link from mouse-drag-region.
245 * mouse.el (mouse--down-1-maybe-follows-link): New function.
246 (key-translation-map): Use it to implement mouse-1-click-follows-link.
247 (mouse-drag-line, mouse-drag-track):
248 Remove mouse-1-click-follows-link code.
249 (mouse--remap-link-click-p): Remove.
250
251 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
252
253 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
254 (hi-lock-read-regexp-defaults): New defun.
255 (hi-lock-line-face-buffer, hi-lock-face-buffer)
256 (hi-lock-face-phrase-buffer): Propagate above change.
257 Update docstring (bug#13892).
258
259 * subr.el (find-tag-default-as-regexp): New defun.
260 * replace.el (read-regexp): Propagate above change.
261
262 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
263
264 * calc/calc-units.el (calc-convert-units): Fix the way that default
265 new units are stored.
266
267 2013-03-07 Matthias Meulien <orontee@gmail.com>
268
269 * bookmark.el: Define a face to highlight bookmark names in
270 bookmark menu buffers, where the default is a bold face similarly
271 to buffer names in buffer menu buffers.
272 (bookmark-menu-bookmark): New face to highlight bookmark names.
273 (bookmark-insert-location): Remove duplicated text property to
274 conform to buffer list (see `list-buffers').
275 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
276 `bookmark-menu-bookmark' to bookmark names.
277
278 2013-03-07 Matthias Meulien <orontee@gmail.com>
279 Karl Fogel <kfogel@red-bean.com>
280
281 * bookmark.el: Display the bookmark list header similarly to the
282 buffer list header (see `list-buffers'), where the default is now
283 an immovable/immutable header line.
284 (bookmark-bmenu-use-header-line): New variable.
285 (bookmark-bmenu-inline-header-height): New name for
286 `bookmark-bmenu-header-height', to avoid confusion with the code
287 for the new immovable header. All references changed.
288 (bookmark-bmenu-set-header): New function.
289 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
290 Conditionalize header construction accordingly.
291 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
292 the inline header height.
293 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
294 Conditionalize the skipping of the inline header height.
295
296 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
297
298 * progmodes/js.el (js--multi-line-declaration-indentation):
299 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
300
301 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
302
303 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
304 Only propertize regexp when not inside a string (Bug#13885).
305
306 2013-03-06 Alan Mackenzie <acm@muc.de>
307
308 Correct the position of point in some line-up functions.
309 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
310 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
311 point at column 0 rather than at a random place in the line.
312
313 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
314
315 * net/tramp-compat.el (tramp-compat-delete-directory):
316 Implement TRASH argument.
317
318 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
319
320 Keep pre-existing highlighting in completion candidates (Bug#13250).
321 * minibuffer.el (completions-first-difference): State that the
322 face is "added" in the docstring.
323 (completions-common-part): Same. And don't inherit from default.
324 (completion-hilit-commonality): Prepend 'completions-common-part
325 and 'completion-first-difference faces to the 'face property,
326 instead of replacing the value(s).
327 (completion--insert-strings): Same with 'completions-annotations face.
328 (completion-hilit-commonality): Use 'face instead of
329 'font-lock-face, because it gets priority if the completion
330 strings already have 'face set.
331
332 2013-03-04 Alan Mackenzie <acm@muc.de>
333
334 Replace `last-command-event' by `last-command-char' in XEmacs.
335 * progmodes/cc-defs.el (c-last-command-char): New macro.
336 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
337 (c-semi&comma-no-newlines-before-nonblanks)
338 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
339 in place of `last-command-event'.
340 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
341 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
342 (c-electric-paren, c-electric-continued-statement): Use the new
343 macro in place of `last-command-event'.
344
345 2013-03-04 Glenn Morris <rgm@gnu.org>
346
347 * files.el (inhibit-local-variables-regexps):
348 Add .diff and .patch. (Bug#13862)
349
350 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
351
352 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
353 whether the "su" command is available on the device.
354
355 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
356
357 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
358 (tramp-adb-handle-process-file): Remove superfluous setting.
359 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
360 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
361 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
362
363 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
364
365 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
366 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
367 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
368 Use dict-key rather than dict-name for the error message.
369
370 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
371
372 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
373 when reverting (bug#13831).
374
375 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
376
377 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
378 Always expand affix-file before storing to protect against changed
379 `default-directory'.
380 (ispell-print-if-debug): Make sure message is printed at the end
381 of the debug buffer.
382
383 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
384
385 * net/tramp.el (tramp-obsolete-methods): New defconst.
386 (tramp-warned-obsolete-methods): New defvar.
387 (tramp-find-method): Check for obsolete methods. Map them to a
388 replacement method if appropriate.
389
390 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
391 Remove methods.
392 (top): Remove completion functions for "scp1", "scp2", "ssh1",
393 "ssh2" and "plink1".
394
395 2013-02-28 Dale Sedivec <dale@codefu.org>
396
397 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
398 Return valid syntax-table property value when converting
399 quotes within text from string syntax to punctuation syntax (bug#13844).
400
401 2013-02-28 Juri Linkov <juri@jurta.org>
402
403 * dired-aux.el (dired-diff): If file at point is a backup file,
404 use its original as the default value, and reverse the order
405 of arguments to the `diff' call. Doc fix. (Bug#13772)
406
407 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
408
409 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
410 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
411
412 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
413
414 Initial support for hunspell dictionaries auto-detection (Bug#13639)
415
416 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
417 Ask hunspell about available and default dictionaries.
418 (ispell-parse-hunspell-affix-file): Extract relevant info from
419 hunspell affix file.
420 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
421 `ispell-dictionary-alist' entry for given dictionary after info
422 provided by `ispell-parse-hunspell-affix-file'.
423 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
424 of parsed hunspell dicts and associated affix files.
425 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
426 of parsed hunspell dicts and associated parameters.
427 (ispell-set-spellchecker-params):
428 Call `ispell-find-hunspell-dictionaries' if hunspell and not
429 previously done.
430 (ispell-start-process):
431 Call `ispell-hunspell-fill-dictionary-entry' for current
432 dictionary if it is not initialized.
433
434 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
435
436 * imenu.el: Comment nitpicks.
437
438 2013-02-28 Sam Steingold <sds@gnu.org>
439
440 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
441 See <http://stackoverflow.com/questions/14720205>.
442
443 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
444
445 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
446 (net-utils-mode): Use it.
447 (net-utils--revert-cmd): New var.
448 (net-utils-run-simple): Set it, and remove bogus interactive spec.
449 (traceroute): Use net-utils-run-simple.
450
451 2013-02-28 Glenn Morris <rgm@gnu.org>
452
453 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
454
455 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
456
457 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
458 (doc-view-fallback-mode): Remove overlays here.
459 (doc-view-toggle-display): Instead of here. Don't throw away
460 image-mode-winprops-alist.
461 (doc-view-goto-page): Don't mess with hscroll.
462
463 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
464
465 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
466 &optional (bug#13819).
467
468 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
469
470 * net/tramp-adb.el (tramp-adb-parse-device-names)
471 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
472
473 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
474
475 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
476 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
477 defined. POSIX environments fall back to the "C" locale then and
478 emit a warning, which shall be suppressed.
479
480 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
483 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
484
485 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
486
487 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
488
489 2013-02-25 Juri Linkov <juri@jurta.org>
490
491 * replace.el (read-regexp): Let-bind `default' to the first
492 element of `defaults' if it's a list, otherwise it should be
493 a string or nil. Let-bind `suggestions' to `defaults' if it's
494 a list, otherwise make a list with the string value. Doc fix.
495 (Bug#13805)
496
497 2013-02-25 Eli Zaretskii <eliz@gnu.org>
498
499 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
500 that match "\`\.#", to avoid compiling lock files, even if they
501 are readable (as they are on MS-Windows).
502
503 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
504
505 * files.el (basic-save-buffer): Remove redundant directory-creation.
506
507 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
508
509 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
510 Add option to force `pi' to remain symbolic.
511 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
512 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
513 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
514 derivatives, when necessary.
515
516 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
517
518 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
519 (ps-mode-octal-region): Use string-make-unibyte.
520
521 2013-02-23 Glenn Morris <rgm@gnu.org>
522
523 * emulation/viper-cmd.el (viper-submit-report):
524 * progmodes/ps-mode.el (ps-mode-maintainer-address):
525 * progmodes/vera-mode.el (vera-mode-help-address):
526 * textmodes/artist.el (artist-maintainer-address):
527 * textmodes/reftex.el (reftex-report-bug):
528 * vc/ediff-util.el (ediff-submit-report):
529 Add bug-gnu-emacs to bug report address.
530
531 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
532 Remove bug report entries.
533 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
534
535 * emacs-lisp/bytecomp.el (byte-compile-level): New.
536 (byte-compile-file, byte-compile-from-buffer):
537 Use separate input/output buffers for each level of recursive
538 byte-compile-file calls. (Bug#13787)
539
540 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
541
542 * net/tramp.el (tramp-methods): Fix docstring.
543 (tramp-ssh-controlmaster-options): Rename it from
544 `tramp-ssh-controlmaster-template'. Return a string.
545 (tramp-default-method): Adapt check for
546 `tramp-ssh-controlmaster-options'.
547
548 * net/tramp-sh.el (tramp-methods):
549 Replace `tramp-ssh-controlmaster-template' by "%c".
550 (tramp-do-copy-or-rename-file-out-of-band)
551 (tramp-maybe-open-connection): Use it in format spec. Ensure,
552 that it is applied for the first hop only.
553
554 2013-02-22 Juri Linkov <juri@jurta.org>
555
556 * isearch.el (isearch-lazy-highlight-new-loop):
557 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
558 to `isearch-other-end' if it is not nil. (Bug#13402)
559
560 * replace.el (replace-highlight): Let-bind `isearch-other-end'
561 to `match-beg'.
562
563 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
564 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
565 and `isearch-error' to nil.
566
567 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
568
569 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
570
571 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
572 Handle multibyte file names.
573
574 2013-02-22 Glenn Morris <rgm@gnu.org>
575
576 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
577 (sgml-transformation-function): Give it a :set function.
578 (sgml-tag): Doc fix.
579
580 * cmuscheme.el (scheme-buffer):
581 * progmodes/inf-lisp.el (inferior-lisp-buffer):
582 * progmodes/tcl.el (inferior-tcl-buffer):
583 * textmodes/tex-mode.el (tex-command): Doc fixes.
584
585 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
586
587 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
588
589 2013-02-21 Bastien Guerry <bzg@gnu.org>
590
591 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
592
593 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
594
595 * progmodes/python.el (python-info-current-defun):
596 Enhance match-data cluttering prevention.
597
598 2013-02-21 Glenn Morris <rgm@gnu.org>
599
600 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
601 loaded while outline-regexp is let bound. (Bug#9584)
602
603 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
604
605 * progmodes/python.el (python-info-current-defun): Fix failed
606 defun name retrieval because of unwanted match-data cluttering.
607
608 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
609
610 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
611 defconst. Apply independent check for ControlPersist.
612
613 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
614 temporarily, via "env".
615
616 2013-02-21 Glenn Morris <rgm@gnu.org>
617
618 * info.el (Info-enable-edit): Remove.
619 (Info-edit): Disable it rather than using Info-enable.
620 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
621 (Info-cease-edit): Make editing of Info files obsolete.
622
623 * informat.el (Info-tagify):
624 Handle buffers not visiting files. (Bug#13763)
625
626 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
627
628 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
629
630 2013-02-21 Glenn Morris <rgm@gnu.org>
631
632 * files.el (basic-save-buffer): Move check for existing parent
633 directory after hooks. (Bug#13773)
634
635 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
636
637 * simple.el (command-execute): Move from C. Add obsolete check.
638 (extended-command-history): Move from C.
639
640 2013-02-20 Ulrich Müller <ulm@gentoo.org>
641
642 * jka-cmpr-hook.el (jka-compr-compression-info-list)
643 (jka-compr-mode-alist-additions): Handle .txz suffix for
644 XZ-compressed tar archives (bug#13770).
645
646 2013-02-20 Bastien Guerry <bzg@gnu.org>
647
648 * outline.el (outline-regexp, outline-heading-end-regexp):
649 Make variables, not options (bug#13731).
650
651 2013-02-20 Glenn Morris <rgm@gnu.org>
652
653 * image.el (image-current-frame): Change from variable to function.
654 (image-show-frame): Rename from image-nth-frame. Update callers.
655 * image-mode.el (image-multi-frame): New variable.
656 (image-mode-map, image-mode, image-goto-frame):
657 Use image-multi-frame rather than image-current-frame.
658 (image-mode, image-goto-frame): Use image-current-frame as
659 function rather than as variable.
660
661 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
662 * emacs-lisp/cl-macs.el (cl--make-type-test)
663 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
664
665 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
666
667 * net/tramp-cache.el (tramp-get-hash-table): New defun.
668 (tramp-get-file-property, tramp-set-file-property)
669 (tramp-get-connection-property, tramp-set-connection-property): Use it.
670 (tramp-flush-file-property, tramp-flush-directory-property):
671 Rename argument to KEY.
672 (tramp-flush-connection-property): Simplify a little bit.
673 (tramp-connection-property-p): New defun.
674 (top): Reapply saved values only if there isn't a corresponding
675 entry in `tramp-connection-properties'.
676
677 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
678
679 * progmodes/python.el (python-indent-context):
680 Fix python-info-line-ends-backslash-p call.
681 (python-info-line-ends-backslash-p)
682 (python-info-beginning-of-backslash): Respect line-number argument.
683 (python-info-current-line-comment-p):
684 Fix behavior when not at beginning-of-line.
685 (python-util-position): Remove function.
686 (python-util-goto-line): New function.
687
688 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
689
690 * eshell/em-unix.el (eshell/su): Require tramp.
691 (eshell/sudo): Require tramp. Remove now unnecessary check.
692
693 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
694 `tramp-current-connection' in order to avoid an error when several
695 commands are invoked in a short time in eshell and friends.
696
697 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
698
699 Cleanup some of EIEIO's namespace.
700 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
701 Use it to define all the class-* and object-* field accessors (renamed
702 to eieio--class-* and eieio--object-*). Update all uses.
703 (eieio--class-num-slots, eieio--object-num-slots): Rename from
704 class-num-slots and object-num-slots.
705 (eieio--check-type): New macro.
706 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
707 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
708 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
709 (object-assoc-list-safe): Use it.
710 (eieio-defclass): Tighten regexp.
711 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
712 Remove unreachable code.
713 (object-class-fast): Declare obsolete.
714 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
715 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
716 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
717 Rename from class-name, object-name, object-set-name-string,
718 object-class, object-class-name, class-parents, class-children,
719 class-precedence-list, class-parent; with obsolete alias.
720 (class-of, class-direct-superclasses, class-direct-subclasses):
721 Declare obsolete.
722 (eieio-defmethod): Use `memq'; remove unreachable code.
723 * emacs-lisp/eieio-base.el (eieio-persistent-read):
724 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
725 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
726
727
728 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
729
730 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
731 Use font-lock-keyword-face for macros and special forms (bug#8345).
732
733 2013-02-17 Didier Verna <didier@didierverna.net>
734
735 * net/network-stream.el (network-stream-open-starttls):
736 Check that response to the starttls-command is non-nil. (Bug#13706)
737
738 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
739
740 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
741 Don't assume all identifier chars have syntax word.
742 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
743 Remove bar-not-symbol. Adjust callers.
744 (lisp-mode-variables): Don't set a font-lock-syntax-table.
745
746 2013-02-17 Leo Liu <sdl.web@gmail.com>
747
748 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
749
750 2013-02-17 Glenn Morris <rgm@gnu.org>
751
752 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
753
754 * image-mode.el (image-mode-map): Add image-dired menu entry.
755
756 * image-dired.el (tumme): Make this alias obsolete.
757
758 2013-02-16 Glenn Morris <rgm@gnu.org>
759
760 * image.el (image-animated-types): Remove.
761 (image-multi-frame-p): Rename from image-animated-p, and generalize.
762 (image-animated-p): Make obsolete alias.
763 (image-animate, image-nth-frame, image-animate-timeout):
764 Use image-multi-frame-p.
765 (image-animate-timeout): If no delay, use image-default-frame-delay.
766 * image-mode.el (image-mode, image-toggle-animation):
767 Use image-multi-frame-p. (Bug#763, bug#10739)
768 (image-mode): Adjust startup message for a multi-frame image.
769
770 * image-mode.el (image-mode-map): Give it a menu.
771
772 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
773
774 * net/tramp-cache.el (tramp-connection-properties): New customer
775 option.
776 (tramp-get-connection-property): Use it.
777
778 * net/tramp-compat.el (top): Require 'trampver.
779
780 * net/tramp-sh.el (tramp-remote-process-environment):
781 Set tramp-autoload cookie.
782
783 2013-02-16 Kevin Ryde <user42@zip.com.au>
784
785 * info-look.el (info-lookup-select-mode): If major-mode has no
786 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
787
788 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
789
790 * replace.el (read-regexp): Tighten the regexp that matches tag.
791 When tag is retrieved with `find-tag-default', use regexp that
792 matches tag at point. Also update docstring (Bug#13687).
793
794 2013-02-16 Eli Zaretskii <eliz@gnu.org>
795
796 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
797 add watch for the file, not its parent directory, since w32notify
798 sets up the watch for the directory internally. (Bug#13725)
799
800 2013-02-16 Glenn Morris <rgm@gnu.org>
801
802 * image.el (image-default-frame-delay): New variable.
803 (image-animated-p): Use image-default-frame-delay.
804 (image-minimum-frame-delay): New constant.
805 (image-animate-timeout): Use image-minimum-frame-delay.
806
807 * image.el (image-nth-frame): New, split from image-animate-timeout.
808 (image-animate-timeout): Use image-nth-frame.
809 * image-mode.el (image-goto-frame, image-next-frame)
810 (image-previous-frame): New commands.
811 (image-mode-map): Add new frame commands.
812
813 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
814
815 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
816 If col-desc already has help-echo, use it. (Bug#13563)
817
818 2013-02-16 Glenn Morris <rgm@gnu.org>
819
820 * image.el (image-current-frame): New variable.
821 (image-animate-timeout): Set image-current-frame.
822 * image-mode.el (image-mode): For animated images,
823 display a frame counter via mode-line-process.
824
825 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
826
827 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
828
829 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
830
831 2013-02-15 Alan Mackenzie <acm@muc.de>
832
833 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
834 global minor mode has been enabled, call the minor mode function
835 for a new buffer once only, after the major mode hook, whilst
836 allowing that hook explicitly to disable the minor mode.
837 (MODE-disable-in-buffer): New (generated) function.
838 (disable-MODE): New (generated) buffer local variable.
839
840 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
841
842 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
843 `iswitchb-next-match' and `iswitchb-prev-match' resply.
844 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
845 `ido-next-match' and `ido-prev-match' resply.
846 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
847 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
848 `icomplete-backward-completions' (Bug#13708).
849
850 2013-02-15 Glenn Morris <rgm@gnu.org>
851
852 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
853
854 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
855
856 * net/goto-addr.el (goto-address-fontify): Add start and end args.
857 (goto-address-fontify-region): Use them instead of narrowing, so
858 syntax-ppss has access to the whole buffer.
859
860 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
861
862 * progmodes/python.el: Explain how to restore "cc-mode"-like
863 forward-sexp movement in header documentation (Bug#13642).
864 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
865 comments and strings (GH bug 114).
866
867 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
868
869 * progmodes/python.el (python-info-current-defun): Fix current
870 defun detection (Bug#13618).
871
872 2013-02-15 Chong Yidong <cyd@gnu.org>
873
874 * xml.el (xml-parse-string): Fix typo in handling of bad character
875 references.
876
877 2013-02-15 Glenn Morris <rgm@gnu.org>
878
879 * play/fortune.el (fortune-compile): Simplify and fix previous change.
880
881 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
882
883 * net/tramp.el (tramp-debug-message):
884 Add `tramp-condition-case-unless-debug'.
885 (tramp-debug-on-error): New defvar.
886 (tramp-condition-case-unless-debug): New defun.
887 (tramp-file-name-handler): Use it.
888
889 2013-02-14 Juri Linkov <juri@jurta.org>
890
891 * info.el (Info-isearch-filter): Treat non-nil values of
892 `search-invisible' including its default value `open'
893 like the value `t' to match hidden text. (Bug#13402)
894
895 2013-02-14 Glenn Morris <rgm@gnu.org>
896
897 * help-fns.el (find-lisp-object-file-name): Give special treatment
898 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
899
900 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
901
902 * net/quickurl.el (quickurl-save-urls):
903 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
904
905 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
906
907 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
908 depth for unfinished percent literal. Not using it in the caller.
909 (ruby-move-to-block): Jump over multiline literals of all types,
910 ignoring code-looking contents inside them.
911 (ruby-add-log-current-method): Improve performance at the expense
912 of accuracy. `ruby-block-contains-point' is relatively slow, so
913 only use it for method and singleton class blocks.
914
915 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
916
917 Use ControlMaster where applicable. (Bug#13677)
918
919 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
920 replacing `tramp-detect-ssh-controlmaster'.
921 (tramp-default-method): Use it.
922
923 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
924 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
925 arguments.
926 [scpc, rsyncc]: Remove methods.
927 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
928 and "ssh2_old".
929 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
930 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
931
932 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * emacs-lisp/package.el (package--initialized): Move before first use.
935
936 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
937
938 * icomplete.el (icomplete-hide-common-prefix): New user option.
939 (icomplete-first-match): New face.
940 (icomplete-completions): Correct handling of "complete but not
941 unique" (Bug#12638).
942
943 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
944
945 * descr-text.el (describe-char): Display the script (bug#13698).
946
947 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * tmm.el: Use lexical-binding and current-active-maps.
950 (tmm-menubar): Use map-keymap and pcase.
951 (tmm--completion-table): New function.
952 (tmm-prompt): Use it to fix the menu order.
953 (tmm-get-keybind): Use current-active-maps.
954
955 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
956
957 Add dired-hide-details-mode. (Bug#6799)
958
959 * locate.el (locate-mode): Set parent mode property to dired-mode.
960
961 * find-dired.el (find-dired): Call dired-insert-set-properties on
962 initial information line. Set process mark on end of buffer.
963 (find-dired-sentinel):
964 Call dired-insert-set-properties on summary.
965
966 * dired.el (dired-hide-details-hide-symlink-targets)
967 (dired-hide-details-hide-information-lines): New options.
968 (dired-insert-directory):
969 Set properties after final treatment of output.
970 (dired-insert-set-properties):
971 Set dired-hide-details-* properties.
972 (dired-mode-map): Bind dired-hide-details-mode.
973 (dired-mode): Set buffer-invisibility-spec to a list.
974 (dired-next-line): Skip hidden lines.
975 (dired-previous-line): Use dired-next-line.
976 (dired-hide-details-mode): New minor mode.
977 (dired-hide-details-update-invisibility-spec): New function.
978
979 2013-02-13 Glenn Morris <rgm@gnu.org>
980
981 * play/yow.el: Move to obsolete/. (Bug#9384)
982
983 2013-02-13 Juri Linkov <juri@jurta.org>
984
985 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
986 to select `ediff-control-frame' and set input focus correctly on Xfce.
987 (Bug#12218)
988
989 2013-02-13 Juri Linkov <juri@jurta.org>
990
991 * image-mode.el (image-mode-map):
992 * doc-view.el (doc-view-mode-map):
993 * vc/ediff-util.el (ediff-setup-keymap):
994 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
995
996 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
997
998 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
999 performance. Instead of recalculating indentation fully for each
1000 line, sum up indentation depth based only on visited lines.
1001 (ruby-parse-partial): Increase the depth after "do" even when END
1002 is right after it.
1003 (ruby-parse-partial): When END is in the middle of a percent
1004 literal, increase the depth if the delimiter chars belong to the
1005 paren syntax class.
1006
1007 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1008
1009 * play/fortune.el (fortune-compile): Also make the compiled file
1010 if it does not exist at all, not just if it is old. (Bug#5338)
1011
1012 2013-02-13 Glenn Morris <rgm@gnu.org>
1013
1014 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1015
1016 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1017
1018 * lisp/emacs-lisp/package.el (package-menu-execute):
1019 Add optional noquery argument. (Bug#13625)
1020
1021 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1022
1023 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1024 if DIR exists and PARENTS is non-nil.
1025
1026 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1027
1028 * progmodes/js.el (js--multi-line-declaration-indentation):
1029 Silence byte-compiler warning.
1030
1031 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1032
1033 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1034
1035 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1036 only if it doesn't exist.
1037
1038 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1039 Set process marker.
1040
1041 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1042
1043 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1044 UserInstallation when calling soffice to work around LibreOffice
1045 bug 37531.
1046
1047 2013-02-12 Glenn Morris <rgm@gnu.org>
1048
1049 * files.el (basic-save-buffer):
1050 Offer to create a non-existing directory. (Bug#3016)
1051
1052 * calc/calc-graph.el (calc-graph-show-dumb):
1053 * calendar/calendar.el (calendar-mode-map):
1054 * cus-edit.el (custom-mode-map):
1055 * ehelp.el (electric-help-map):
1056 * emulation/vip.el (vip-mode-map):
1057 * epa.el (epa-key-list-mode-map):
1058 * info.el (Info-mode-map):
1059 * mail/rmail.el (rmail-mode-map):
1060 * mail/rmailsum.el (rmail-summary-mode-map):
1061 * man.el (Man-mode-map):
1062 * net/newst-plainview.el (newsticker-mode-map):
1063 * progmodes/cpp.el (cpp-edit-mode-map):
1064 * progmodes/grep.el (grep-mode-map):
1065 * progmodes/idlw-help.el (idlwave-help-mode-map):
1066 * simple.el (special-mode-map):
1067 * startup.el (splash-screen-keymap):
1068 * view.el (view-mode-map):
1069 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1070
1071 2013-02-11 Elias Pipping <pipping@lavabit.com>
1072
1073 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1074 (bug#13679).
1075
1076 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1077
1078 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1079
1080 2013-02-11 Glenn Morris <rgm@gnu.org>
1081
1082 * vc/diff.el (diff-use-labels): New variable.
1083 (diff-no-select): Use --label rather than -L, and first
1084 check that it is supported. (Bug#11067)
1085
1086 * files.el (enable-dir-local-variables): New variable.
1087 (hack-dir-local-variables): Respect enable-dir-local-variables.
1088 * tutorial.el (help-with-tutorial):
1089 Ignore directory-local variables. (Bug#11127)
1090
1091 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1092 (vc-svn-global-switches): ... to here. (Bug#13513)
1093
1094 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1095
1096 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1097 Handle "foo (bar, default: xxx): " prompts.
1098
1099 2013-02-10 Chong Yidong <cyd@gnu.org>
1100
1101 * files.el (basic-save-buffer-1): Do not set
1102 buffer-file-coding-system-explicit (Bug#4533).
1103
1104 * mail/emacsbug.el (report-emacs-bug): Change binding of
1105 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1106
1107 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1108
1109 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1110 * calc/calc-units.el (calc-convert-units): Use new variable.
1111
1112 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1113
1114 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1115
1116 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1117 buffer-file-type.
1118
1119 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1120 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1121 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1122 coding-system-for-write instead.
1123
1124 * jka-compr.el (jka-compr-write-region): Don't bind
1125 buffer-file-type.
1126
1127 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1128 buffer-file-type.
1129
1130 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1131 (insert-file-contents-literally): Remove reference to
1132 file-name-buffer-file-type-alist.
1133
1134 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1135 make-obsolete.
1136 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1137 (find-buffer-file-type-coding-system): Remove references to
1138 find-buffer-file-type-match, find-buffer-file-type, and
1139 buffer-file-type.
1140 Don't put find-buffer-file-type-coding-system into
1141 file-coding-system-alist.
1142 (find-file-binary, find-file-text): Bind coding-system-for-read
1143 instead of file-name-buffer-file-type-alist.
1144
1145 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1146
1147 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1148 converter (Bug#13622).
1149 (doc-view-unoconv-program): Make obsolete alias.
1150 (doc-view-odf->pdf-converter-program): New variable.
1151 (doc-view-odf->pdf-converter-function): New variable.
1152 (doc-view-mode-p): Use it.
1153 (doc-view-odf->pdf-converter-unoconv):
1154 Rename from `doc-view-odf->pdf-converter-unoconv'.
1155 (doc-view-odf->pdf-converter-soffice): New function.
1156 (doc-view-convert-current-doc):
1157 Use `doc-view-odf->pdf-converter-function'.
1158
1159 2013-02-09 Chong Yidong <cyd@gnu.org>
1160
1161 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1162 view-echo-area-messages (Bug#13340).
1163
1164 * help.el (view-echo-area-messages): Use display-buffer.
1165
1166 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1167 (Bug#13561).
1168
1169 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1170
1171 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1172 Eval body right away, now that we do eager macroexpansion (bug#13605).
1173
1174 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1175 (fundamental-mode): Use run-mode-hooks.
1176
1177 * eshell/esh-proc.el (eshell/kill): Fix last change.
1178 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1179
1180 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1181
1182 * eshell/esh-proc.el (eshell/kill): Rewrite.
1183
1184 * eshell/em-ls.el (show-almost-all): Declare.
1185 (eshell-do-ls): Add support for -A argument.
1186
1187 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1188
1189 * icomplete.el (icomplete-forward-completions)
1190 (icomplete-backward-completions): Handle corner case (bug#13602).
1191
1192 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1193
1194 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1195 be nil. Handle this. (Bug#13636)
1196
1197 2013-02-07 Richard Stallman <rms@gnu.org>
1198
1199 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1200 `save-buffer-coding-system'.
1201
1202 2013-02-07 Alan Mackenzie <acm@muc.de>
1203
1204 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1205 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1206 (c-parse-state-get-strategy): Don't return 'BOD any more.
1207 (c-append-lower-brace-pair-to-state-cache):
1208 Extra parameter HERE instead of narrowing.
1209 Widen to top of buffer before searching backwards for a brace pair.
1210 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1211 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1212 Narrow to parameter HERE, in place of being called narrowed.
1213 (c-remove-stale-state-cache): Extra parameter HERE in place of
1214 narrowing. Check there's an open brace in the cache before
1215 searching for its match.
1216 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1217 (c-parse-state-1): Don't narrow here for 'forward strategy,
1218 instead passing extra parameter HERE to several functions.
1219 Remove 'BOD strategy.
1220
1221 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1222
1223 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1224 used to install the package.
1225
1226 2013-02-06 Glenn Morris <rgm@gnu.org>
1227
1228 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1229 if we can't get user input. (Bug#6567)
1230
1231 * startup.el (command-line): If simple.el is missing,
1232 test and warn about for some possible causes.
1233
1234 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1235
1236 * cus-start.el (all): Add ns-use-native-fullscreen.
1237
1238 2013-02-05 Glenn Morris <rgm@gnu.org>
1239
1240 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1241
1242 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1243 Fix directory creation in fallback case.
1244
1245 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1246
1247 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1248 (vc-update-change-log): Use dolist.
1249
1250 2013-02-04 Chong Yidong <cyd@gnu.org>
1251
1252 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1253 code from ffap.el.
1254 (thing-at-point-beginning-of-url-regexp): New var.
1255 (thing-at-point-uri-schemes): Update list of URI schemes.
1256 (thing-at-point-url-regexp): Variable deleted.
1257 (thing-at-point-markedup-url-regexp): Disallow newlines.
1258 (thing-at-point-newsgroup-regexp)
1259 (thing-at-point-newsgroup-heads)
1260 (thing-at-point-default-mail-uri-scheme): New variables.
1261 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1262 method to find the possible bounds of the URI at point.
1263 New optional argument to find ill-formed URIs.
1264 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1265 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1266 the scheme-adding heuristics from ffap-url-at-point.
1267 (thing-at-point--bounds-of-well-formed-url): New function.
1268 Do parens matching to decide whether to include parens in the URI
1269 (Bug#9153).
1270
1271 * ffap.el: Require thingatpt.
1272 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1273 All URI-valid characters are now recognized (Bug#5673).
1274 (ffap-string-at-point): Use use-region-p.
1275 (ffap-url-regexp): Extra character is handled by thing-at-point.
1276 (ffap-string-at-point-mode-alist): Allow parentheses.
1277 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1278 Convert to aliases; code moved to thingatpt.el.
1279 (ffap-gnus-hook): Use setq-local.
1280
1281 2013-02-04 Glenn Morris <rgm@gnu.org>
1282
1283 * emacs-lisp/ert.el (ert--explain-format-atom):
1284 Don't try to print non-characters as characters. (Bug#13543)
1285
1286 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1287
1288 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1289 (tramp-backtrace): New defun.
1290 (tramp-handle-insert-file-contents): Use `visit' when inserting
1291 the local copy.
1292
1293 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1294 Use `remote-file-name-inhibit-cache'.
1295
1296 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1299 (bug#13614).
1300
1301 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1302 current-load-list (bug#13366).
1303
1304 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1305
1306 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1307 Identify g++ template instantiation trace. (Bug#12287)
1308 (compilation-mode-hook, compilation-start-hook)
1309 (compilation-window-height): Simplify docstrings. (Bug#13379)
1310
1311 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1312
1313 * mouse.el (mouse-drag-track): Always deactivate the mark before
1314 running the final event's command since that command is in charge of
1315 activating the mark if needed (bug#13523).
1316
1317 2013-02-02 Juri Linkov <juri@jurta.org>
1318
1319 * replace.el (perform-replace): Move let-bindings of isearch-*
1320 variables deeper to the loop that searches for the next match.
1321 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1322 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1323 (Bug#13579)
1324
1325 * isearch.el (isearch-search-fun-default): Check for null
1326 first element of isearch-cmds as a precaution when it's used
1327 with inactive isearch.
1328
1329 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1330
1331 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1332 error when buffer in question is narrowed so position 1 is out of
1333 visible part.
1334
1335 2013-02-02 Glenn Morris <rgm@gnu.org>
1336
1337 * textmodes/remember.el (remember-clipboard): Doc fix.
1338
1339 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1342 properties (bug#13179).
1343
1344 2013-02-02 Juri Linkov <juri@jurta.org>
1345
1346 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1347 instead of hard-coded default face `match'. (Bug#9438)
1348
1349 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1350
1351 * vc/vc-arch.el (vc-arch-registered):
1352 * vc/vc-bzr.el (vc-bzr-registered):
1353 * vc/vc-cvs.el (vc-cvs-registered):
1354 * vc/vc-git.el (vc-git-registered):
1355 * vc/vc-hg.el (vc-hg-registered):
1356 * vc/vc-mtn.el (vc-mtn-registered):
1357 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1358 (Bug#13139)
1359
1360 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1361 prefix argument. (Bug#11656)
1362
1363 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1366
1367 2013-02-01 Glenn Morris <rgm@gnu.org>
1368
1369 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1370 if the backend is known not to support it.
1371
1372 * imenu.el (imenu-default-create-index-function):
1373 Tweak infinite loop test to check for forward motion as well as none.
1374
1375 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1376
1377 * net/soap-client.el (soap-invoke): Encode the string for
1378 `url-request-data' as UTF-8.
1379 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1380
1381 2013-02-01 Glenn Morris <rgm@gnu.org>
1382
1383 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1384
1385 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1386
1387 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1388
1389 * net/tramp.el (tramp-tramp-file-p): Comment check for
1390 `string-as-unibyte'. The function does not exist on XEmacs, and
1391 likely we need another approach.
1392
1393 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1394 `tramp-gw-*' variables are bound.
1395
1396 2013-01-31 Glenn Morris <rgm@gnu.org>
1397
1398 * files.el (basic-save-buffer-2): Choose coding system for
1399 writing the file before backing it up, to reduce delay between
1400 backing up and writing the new version. (Bug#13522)
1401
1402 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1403
1404 * simple.el (cycle-spacing): New command.
1405 (just-one-space): Use it.
1406
1407 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1410 (opascal-newline-always-indents): Remove custom.
1411 (opascal-tab, opascal-newline): Remove commands.
1412 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1413 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1414 (opascal-save-match-data): Remove, use save-match-data instead.
1415 (opascal-save-state): Use with-silent-modifications.
1416
1417 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1418 (bug#13585).
1419
1420 2013-01-30 Juri Linkov <juri@jurta.org>
1421
1422 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1423 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1424 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1425
1426 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1429 column if we're just deleting the backslashes.
1430 (makefile-fill-paragraph): Use eolp.
1431
1432 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1433
1434 * autorevert.el (auto-revert-use-notify): Fix docstring.
1435
1436 2013-01-30 Leo Liu <sdl.web@gmail.com>
1437
1438 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1439
1440 2013-01-30 Glenn Morris <rgm@gnu.org>
1441
1442 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1443 unread-command-events twice in some cases. This tries to implement
1444 the 2012-07-26 changes in a different way. (Bug#13560)
1445
1446 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1447
1448 * progmodes/python.el
1449 (python-pdbtrack-comint-output-filter-function): Enhancements on
1450 stacktrace detection. (thanks @gnovak)
1451
1452 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1455 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1456 Use defvar-local.
1457 (jit-lock-register): Use setq-local.
1458
1459 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1460
1461 * calc-units.el (math-default-units-table): Remove initial value.
1462 (calc-convert-units): Treat expressions where all the units cancel as
1463 if they didn't have units.
1464
1465 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1466
1467 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1468 (tramp-completion-reread-directory-timeout): Fix type.
1469 (tramp-connection-min-time-diff): New defcustom.
1470
1471 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1472
1473 2013-01-30 Glenn Morris <rgm@gnu.org>
1474
1475 * imenu.el (imenu-default-create-index-function):
1476 Put back a version of the infinite loop test removed 2013-01-23.
1477
1478 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1479
1480 * progmodes/python.el (python-shell-parse-command):
1481 Find python-shell-interpreter with modified environment.
1482
1483 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1486
1487 2013-01-29 Alan Mackenzie <acm@muc.de>
1488
1489 Amend to fontify /regexp/s in actions correctly.
1490 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1491 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1492 are no longer included.
1493 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1494 What used to be these variables without "-line" in the name.
1495 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1496 (c-awk-non-arith-op-bra-re): Now also matches {.
1497 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1498 "return", and "case".
1499 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1500 by /.
1501 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1502 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1503
1504 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1505
1506 * autorevert.el (auto-revert-use-notify):
1507 Use `custom-initialize-default' for initialization. (Bug#13583)
1508
1509 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1510
1511 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1512 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1513 in `tramp-file-name-handler'.
1514 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1515 compatibility.
1516 (tramp-compute-multi-hops): Check, whether
1517 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1518
1519 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1520
1521 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1522 (bug#13297).
1523
1524 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1525
1526 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1527 checks made superfluous by the \_< operator.
1528 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1529 temporarily) broken indentation.
1530 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1531 Highlight nested constants, too. \_< broke that.
1532
1533 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1534
1535 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1536 instead of "\\b".
1537
1538 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1539
1540 * autorevert.el (auto-revert-handler): Notifications which result
1541 from a saved file shall not be taken into account. (Bug#13557)
1542
1543 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1544
1545 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1546 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1547 (lisp-mode): Pass t for it. (Bug#13556)
1548
1549 2013-01-25 Alan Mackenzie <acm@muc.de>
1550
1551 AWK Mode: Fix indentation bug at top level. Bug #12274.
1552
1553 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1554 just before CASE 5D.
1555
1556 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1557
1558 * net/socks.el (socks-nslookup-host): Use string-to-number.
1559
1560 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1561
1562 * autorevert.el (auto-revert-remote-files)
1563 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1564 (auto-revert-notify-enabled, auto-revert-use-notify)
1565 (auto-revert-notify-watch-descriptor-hash-list)
1566 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1567 (auto-revert-notify-event-descriptor)
1568 (auto-revert-notify-event-action)
1569 (auto-revert-notify-event-file-name): Doc fix.
1570 (global-auto-revert-mode): Reorder checks.
1571 (auto-revert-notify-rm-watch): Respect changed values of
1572 `auto-revert-notify-watch-descriptor-hash-list'.
1573 (auto-revert-notify-add-watch): Check for
1574 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1575 `inotify-add-watch'. Watch `default-directory' instead of
1576 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1577 has a changed meaning now. (Bug#13540)
1578 (auto-revert-notify-handler): Change implementation wrt events
1579 returning from a directory.
1580 (auto-revert-handler): Reorder implementation for checks of remote
1581 files.
1582 (auto-revert-buffers): Fix parentheses error.
1583
1584 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1585
1586 * progmodes/python.el: Enhancements to header documentation about
1587 skeletons. (Bug#5716)
1588
1589 * imenu.el (imenu-default-create-index-function): Remove useless
1590 infinite loop check. (Bug#13438)
1591
1592 2013-01-25 Alan Mackenzie <acm@muc.de>
1593
1594 Fix a bug in the state cache mechanism. Refactor this a bit.
1595
1596 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1597 `cache-pos' element from the return value.
1598 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1599 buffer to enable proper searching from beyond HERE. Amend the
1600 test for detecting the sought brace pair. Amend the value written
1601 to the "brace desert cache" when the brace isn't found.
1602 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1603 and several other variables analogously.
1604 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1605 parameter to a locally calculated variable.
1606 (c-parse-state-1): Change the calling conventions to the two
1607 defuns involving `cache-pos'.
1608
1609 2013-01-25 Chong Yidong <cyd@gnu.org>
1610
1611 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1612
1613 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1614
1615 * paren.el (show-paren-function): Make sure to set 'priority and
1616 'face only if the overlay does exist.
1617
1618 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1619
1620 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1621
1622 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1623 basic attributes.
1624 (tramp-sh-handle-set-file-acl): Improve error checking.
1625
1626 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1627
1628 * doc-view.el (doc-view-display): Force mode line update until all
1629 document is converted. Suggested by Stefan Monnier (Bug#13164).
1630
1631 2013-01-23 Bastien Guerry <bzg@gnu.org>
1632
1633 * paren.el (show-paren-function): Make sure an overlay exists
1634 before trying to delete it. Also use `pos' as a position only
1635 when it is an integer.
1636
1637 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1638
1639 * play/gametree.el (gametree-break-line-here): Use point-marker.
1640
1641 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1642
1643 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1644 Mark descriptive parts with `display' property.
1645
1646 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1647
1648 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1649 New variable to map standard dict names to hunspell ones.
1650 (ispell-set-spellchecker-params): Make sure specific dict names
1651 are used for standard dicts with hunspell.
1652
1653 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1654
1655 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1656 chars for note (%N) and url (%U).
1657 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1658
1659 2013-01-21 Juri Linkov <juri@jurta.org>
1660
1661 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1662 in addition to existing separate binding `meta f10' in `global-map'.
1663 (Bug#13484)
1664
1665 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1666
1667 Improve XEmacs compatibility.
1668
1669 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1670
1671 * net/tramp-adb.el (top): Require `time-date'.
1672 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1673 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1674 Use `tramp-file-name-handler'.
1675 (tramp-adb-maybe-open-connection):
1676 Use `tramp-compat-set-process-query-on-exit-flag'.
1677
1678 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1679 Use `tramp-compat-funcall'.
1680
1681 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1682 `tramp-compat-funcall'.
1683
1684 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1685
1686 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1687 reimplementation using "adb shell command ..." instead of running
1688 remote shell interactively.
1689
1690 2013-01-20 Glenn Morris <rgm@gnu.org>
1691
1692 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1693 Add native profiler menu entries.
1694
1695 * profiler.el (profiler-running-p): New function.
1696 (profiler-cpu-profile): Use profiler-running-p.
1697 (profiler-report-mode-map): Add some more menu entries.
1698
1699 2013-01-19 Glenn Morris <rgm@gnu.org>
1700
1701 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1702 fixes 2012-12-07 change. (Bug#13499)
1703
1704 2013-01-19 Leo Liu <sdl.web@gmail.com>
1705
1706 * dired.el (dired-get-marked-files): Prune erroneous values due to
1707 last change. (Bug#13152)
1708
1709 2013-01-19 Glenn Morris <rgm@gnu.org>
1710
1711 * progmodes/etags.el (tags-table-check-computed-list):
1712 Preserve point in tags buffer. (Bug#13412)
1713
1714 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1715
1716 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1717 Chong Yidong <cyd@gnu.org>
1718
1719 * image-mode.el (image-next-file, image-previous-file):
1720 New commands (Bug#8453).
1721 (image-mode-map): Bind them to n and p.
1722 (image-mode--images-in-directory): New helper function.
1723
1724 2013-01-19 Chong Yidong <cyd@gnu.org>
1725
1726 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1727 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1728 save and restore the old window configuration.
1729
1730 2013-01-18 Leo Liu <sdl.web@gmail.com>
1731
1732 * progmodes/js.el: Tweak autoload cookie for alias.
1733
1734 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1735
1736 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1737 buffer local, again. This was lost with the fix on 2013-01-12.
1738
1739 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1740
1741 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1742 order to support several eshell buffers in parallel.
1743
1744 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1745
1746 * autorevert.el (auto-revert-use-notify): In the :set function, do
1747 not modify `kill-buffer-hook'.
1748 (auto-revert-notify-rm-watch):
1749 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1750 (auto-revert-notify-add-watch): Do not call
1751 `auto-revert-notify-rm-watch', but add it to a buffer local
1752 `kill-buffer-hook'.
1753
1754 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1755
1756 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1757 call to `eval' rather than a backquoted lambda.
1758
1759 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1760
1761 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1762 to return an explicit nil.
1763 (advice--remove-function): Change accordingly.
1764
1765 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1766 the use of nadvice.el.
1767
1768 * progmodes/which-func.el (which-function): Silence imenu errors
1769 (bug#13433).
1770
1771 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1772
1773 * progmodes/sql.el: (sql-imenu-generic-expression):
1774 (sql-mode-font-lock-object-name): Match schema qualified names.
1775 (sql-connect): Use string keys.
1776 (sql-product-interactive): Wait for interpreter prompt.
1777 (sql-comint-oracle): Set process coding based on NLS_LANG.
1778
1779 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1780
1781 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1782 (sql-interactive-remove-continuation-prompt):
1783 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1784
1785 2013-01-14 Leo Liu <sdl.web@gmail.com>
1786
1787 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1788 (Bug#13420)
1789
1790 2013-01-14 Glenn Morris <rgm@gnu.org>
1791
1792 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1793 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1794
1795 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1796
1797 * progmodes/python.el (python-nav-end-of-statement):
1798 Fix cornercase when handling multiline strings.
1799
1800 2013-01-13 Richard Stallman <rms@gnu.org>
1801
1802 * mail/sendmail.el (mail-position-on-field): Add doc string.
1803
1804 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1805 Get current message boundaries and pass them to
1806 message-forward-make-body-mime. Minor style changes.
1807
1808 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1809
1810 * cus-start.el (all): Avoid warnings about
1811 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1812
1813 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1814
1815 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1816
1817 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1818
1819 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1820 (jit-lock--debug-fontifying): New var.
1821 (jit-lock--debug-fontify): New function.
1822 * subr.el (condition-case-unless-debug): Don't prevent catching the
1823 error, just let the debbugger run.
1824 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1825 timer code and don't drop errors silently.
1826
1827 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1828
1829 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1830 `permanent-local' property.
1831 (auto-revert-notify-handler): Use `file-equal-p'.
1832
1833 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1834
1835 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1836 file notification by ACTION. For filtering by file name, compare
1837 only the non-directory part of the file name.
1838
1839 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 * autorevert.el: Use cl-lib instead of cl.
1842
1843 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1844 (vc-bzr-checkin): Use it.
1845 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1846 will preserve match-data.
1847
1848 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1849
1850 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1851 (js--declaration-keyword-re): New var.
1852 (js--multi-line-declaration-indentation): New function.
1853 (js--proper-indentation): Use it.
1854
1855 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1856
1857 * calc/calc.el (calc-highlight-selections-with-faces)
1858 (calc-dispatch):
1859 * comint.el (comint-history-isearch-message):
1860 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1861 * ffap.el (ffap-string-at-point-region, ffap-next)
1862 (ffap-string-at-point, ffap-string-around)
1863 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1864 (ffap-literally):
1865 * font-lock.el (font-lock-keywords-alist)
1866 (font-lock-removed-keywords-alist):
1867 * help-mode.el (help-xref-symbol-regexp):
1868 * info.el (Info-find-emacs-command-nodes):
1869 * international/mule.el (add-to-coding-system-list):
1870 * isearch.el (isearch-message-function, isearch-fail-pos):
1871 * misearch.el (multi-isearch-next-buffer-function):
1872 * newcomment.el (comment-box):
1873 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1874 (pr-setting-database):
1875 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1876 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1877 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1878 (pike-font-lock-keywords-3):
1879 * progmodes/compile.el (compile):
1880 * progmodes/etags.el (tags-table-files)
1881 (tags-table-files-function, tags-included-tables-function):
1882 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1883 (gdb-restore-windows):
1884 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1885 (ps-n-up-filling-database):
1886 * server.el (server-buffer, server-log):
1887 * simple.el (newline, delete-backward-char, delete-forward-char)
1888 (minibuffer-history-isearch-message, kill-line, track-eol)
1889 (temporary-goal-column):
1890 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1891 (flyspell-default-deplacement-commands):
1892 * textmodes/ispell.el (ispell-accept-output):
1893 * textmodes/sgml-mode.el (html-tag-help):
1894 * vc/compare-w.el (compare-ignore-whitespace)
1895 (compare-ignore-case, compare-windows-dehighlight):
1896 * vc/diff.el (diff):
1897 * whitespace.el (whitespace-point)
1898 (whitespace-font-lock-refontify, whitespace-bob-marker)
1899 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1900
1901 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1902
1903 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1904 (auto-revert-notify-rm-watch): Ignore errors.
1905 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1906 inotify, and '(size last-write-time) for w32notify.
1907 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1908 watch fails - this is a fallback to the file modification check.
1909 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1910 (auto-revert-notify-event-action)
1911 (auto-revert-notify-event-file-name): New defuns.
1912 (auto-revert-notify-handler): Use them. Implement first
1913 plausibility checks.
1914 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1915
1916 2013-01-11 Julien Danjou <julien@danjou.info>
1917
1918 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1919 max are almost equal. Also return the correct value for V which is
1920 already between 0 and 1.
1921
1922 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1923
1924 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1925
1926 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1927
1928 * autorevert.el (auto-revert-notify-rm-watch)
1929 (auto-revert-notify-add-watch): Fix typos in w32notify function
1930 names.
1931
1932 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1933
1934 * autorevert.el (auto-revert-notify-enabled): Move up.
1935 (auto-revert-use-notify): New defcustom.
1936 (auto-revert-mode, global-auto-revert-mode)
1937 (auto-revert-notify-add-watch, auto-revert-handler)
1938 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1939 `auto-revert-notify-enabled'.
1940
1941 2013-01-10 Elias Pipping <pipping@exherbo.org>
1942
1943 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1944 * doc-view.el (doc-view-document->bitmap):
1945 Use doc-view-single-page-converter-function instead of
1946 single-page-converter arg; adjust callers.
1947
1948 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1949
1950 * progmodes/which-func.el (which-function): Understand Semantic's use
1951 of overlays in imenu--index-alist.
1952
1953 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1954
1955 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1956 (Man-man-k-use-anchor): New var.
1957 (Man-parse-man-k): New function.
1958 (Man-completion-table): Use it.
1959 (man): Flush the completion cache between uses.
1960
1961 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1962
1963 * autorevert.el: Add file watch support.
1964 (auto-revert-notify-enabled): New defconst.
1965 (auto-revert-notify-watch-descriptor-hash-list)
1966 (auto-revert-notify-watch-descriptor)
1967 (auto-revert-notify-modified-p): New defvars.
1968 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1969 (auto-revert-notify-handler): New defuns.
1970 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1971 when mode is disabled.
1972 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1973 (auto-revert-buffers): Add file watches for active buffers.
1974
1975 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1976
1977 * cus-start.el (toplevel): Only allow float values for
1978 scroll-up-aggressively and scroll-down-aggressively.
1979 Allow any number for line-spacing.
1980
1981 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1984 (doc-view-pdf->png-converter-function): Use mupdf if available.
1985 (doc-view-djvu->png-converter-function)
1986 (doc-view-ps->png-converter-function): Remove.
1987 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1988 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1989 (doc-view-already-converted-p): Adjust accordingly.
1990 (doc-view-mode-p): Simplify.
1991 (doc-view-enlarge): Use setq-local.
1992 (doc-view-pdf->png-converter-ghostscript)
1993 (doc-view-djvu->png-converter-ddjvu)
1994 (doc-view-pdf->png-converter-mupdf): Rework to call
1995 doc-view-start-process directly.
1996 (doc-view-pdf/ps->png): Simplify accordingly.
1997 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1998 (doc-view-document->bitmap): Rename from doc-view-document->png.
1999 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2000 (doc-view-set-slice-from-bounding-box): Fix completion table.
2001 (doc-view-mode): Use add-hook for after-revert-hook.
2002
2003 2013-01-10 Glenn Morris <rgm@gnu.org>
2004
2005 * emacs-lisp/authors.el (authors-ignored-files)
2006 (authors-valid-file-names, authors-renamed-files-alist):
2007 Add some more entries.
2008
2009 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2010
2011 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2012 `t' pseudo-window entry.
2013
2014 2013-01-10 Alan Mackenzie <acm@muc.de>
2015
2016 Fix bugs in the c-parse-state mechanism. Reuse some markers
2017 instead of continually generating new ones.
2018
2019 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2020 (c-state-old-cpp-end-marker): New variables.
2021 (c-append-lower-brace-pair-to-state-cache): Start a backward
2022 search for "}" definitively outside CPP constructs.
2023 (c-remove-stale-state-cache): Inform the caller of a need to
2024 search back for a brace pair in certain circumstances.
2025 (c-state-maybe-marker): New macro.
2026 (c-parse-state): Reuse markers when appropriate.
2027
2028 2013-01-10 Glenn Morris <rgm@gnu.org>
2029
2030 * simple.el (execute-extended-command): Doc fix.
2031 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2032
2033 2013-01-10 Chong Yidong <cyd@gnu.org>
2034
2035 * faces.el (read-face-name): Doc fix.
2036
2037 2013-01-10 Roland Winkler <winkler@gnu.org>
2038
2039 * emacs-lisp/crm.el: Allow any regexp for separators.
2040 (crm-default-separator): All spaces around the default comma separator.
2041 (crm--completion-command): New macro.
2042 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2043 (crm-complete-and-exit): Handle non-single-char separators.
2044
2045 2013-01-09 Elias Pipping <pipping@lavabit.com>
2046
2047 * doc-view.el: Add support for DjVu (bug#13164).
2048 (doc-view-djvu->png-converter-function): New config var.
2049 (doc-view-single-page-converter-function, doc-view--image-type)
2050 (doc-view--image-file-extension): New vars.
2051 (doc-view-mode): Initialize them.
2052 (doc-view-goto-page): Use them.
2053 (doc-view-mode-p): Add support for ddjvu.
2054 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2055 (doc-view-set-up-single-converter): New funs.
2056 (doc-view-pdf/ps->png): Extend for djvu.
2057 (doc-view-document->png): Rename from doc-view-pdf->png.
2058 (doc-view-convert-current-doc): Handle djvu.
2059 (doc-view-insert-image, doc-view-display)
2060 (doc-view-already-converted-p): Don't hardcode png.
2061 (doc-view-set-doc-type): Recognize djvu docs.
2062
2063 2013-01-09 Elias Pipping <pipping@lavabit.com>
2064
2065 * doc-view.el: Add support for mupdf converter (bug#13164).
2066 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2067 (doc-view-ps->png-converter-function): New config vars.
2068 (doc-view-pdf->png-converter-ghostscript)
2069 (doc-view-ps->png-converter-ghostscript)
2070 (doc-view-pdf->png-converter-mupdf): New functions.
2071 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2072
2073 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2074
2075 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2076 first in session cache: When `tramp-own-remote-path' is in
2077 `tramp-remote-path', the remote path is only set in the session
2078 cache.
2079
2080 2013-01-09 Glenn Morris <rgm@gnu.org>
2081
2082 * emacs-lisp/trace.el (trace-function-foreground)
2083 (trace-function-background): Doc fix.
2084
2085 2013-01-09 Juri Linkov <juri@jurta.org>
2086
2087 * international/mule-cmds.el (read-char-by-name): Move let-binding
2088 of completion-ignore-case around completing-read to fix regression
2089 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2090 `string-match-p' using the nil value of `case-fold-search' and
2091 `completion-ignore-case' in `completion-pcm--all-completions'.
2092 (Bug#12615).
2093
2094 2013-01-09 Glenn Morris <rgm@gnu.org>
2095
2096 * progmodes/compile.el (compilation-parse-errors):
2097 Fix typo. (Bug#13369)
2098
2099 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2100
2101 * comint.el (comint-send-input): Check size of buffer before
2102 waiting for process output, in case already accepted. (Bug#13290)
2103
2104 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2105
2106 Spelling fixes.
2107 * net/tramp-adb.el (tramp-adb-get-toolbox):
2108 Fix misspelling of 'unknown'.
2109
2110 2013-01-08 Juri Linkov <juri@jurta.org>
2111
2112 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2113 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2114 Use underline style wave on terminals that support it. (Bug#13000)
2115
2116 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2117
2118 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2119 the predicate returns nil.
2120
2121 * simple.el: Use lexical-binding.
2122 (primitive-undo): Use pcase.
2123 (minibuffer-history-isearch-push-state): Use a closure.
2124
2125 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2126
2127 * simple.el (primitive-undo): Move from undo.c.
2128
2129 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2132 (cvs-mode-remove-handled): Use it (bug#13380).
2133
2134 * emacs-lisp/nadvice.el (advice--tweak): New function.
2135 (advice--remove-function, advice--subst-main): Use it.
2136
2137 * emacs-lisp/advice.el: Update commentary.
2138
2139 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2140
2141 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2142 Remove spurious entry.
2143
2144 2013-01-08 Glenn Morris <rgm@gnu.org>
2145
2146 * net/tramp.el (tramp-default-host-alist): Add :version.
2147
2148 2013-01-08 Juri Linkov <juri@jurta.org>
2149
2150 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2151 single completion. (Bug#12456)
2152 (info--manual-names): Expand node completions into an explicit list
2153 before appending it to another list. Filter out internal buffers
2154 with the leading space in the buffer name. (Bug#10771)
2155
2156 2013-01-08 Juri Linkov <juri@jurta.org>
2157
2158 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2159 that defaults to the Top node.
2160 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2161 the short format (FILENAME) goes to the Top node.
2162 (Info-build-node-completions): Rename arg `file' to `filename'.
2163 (Bug#13365)
2164
2165 2013-01-07 Bastien Guerry <bzg@gnu.org>
2166
2167 * menu-bar.el (menu-bar-search-documentation-menu):
2168 Use `apropos-user-option' and fix the help message.
2169
2170 2013-01-07 Bastien Guerry <bzg@gnu.org>
2171
2172 * apropos.el (apropos-do-all): Update docstring.
2173 (apropos-user-option-button): New face.
2174 (apropos-user-option): Rename from `apropos-variable' and update
2175 docstring.
2176 (apropos-variable): Rewrite, now show all variables by default.
2177 (apropos-print): Mention "User option" instead of "Variable" when
2178 printing doc for user options. (Bug#13276)
2179
2180 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2181
2182 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2183 Handle filename correctly, when parsing "source -> target" symlink
2184 output.
2185 (tramp-adb-handle-set-file-times): New defun.
2186
2187 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2188
2189 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2190 advice list when the interactive-spec of ad-Advice-* changes.
2191
2192 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2193
2194 * wid-edit.el (widget-default-get): Work for inlined elements.
2195 (Bug#12670)
2196
2197 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2198
2199 * net/tramp.el (tramp-default-host-alist): New defcustom.
2200 (tramp-find-host): Use it.
2201 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2202 `eshell-directory-change-hook'.
2203
2204 * net/tramp-adb.el (top): Add adb specific entry in
2205 `tramp-default-host-alist'.
2206 (tramp-adb-file-name-host): Remove function.
2207 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2208 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2209
2210 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2211
2212 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2213
2214 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2215
2216 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2217
2218 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2219 consist of more than one digit.
2220 (tramp-adb-file-name-handler-alist):
2221 Use `tramp-handle-file-exists-p' consistently.
2222 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2223 (tramp-adb-handle-file-exists-p): Remove function.
2224 (tramp-adb-file-name-host): New defun.
2225 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2226 Use it.
2227 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2228
2229 2013-01-06 Chong Yidong <cyd@gnu.org>
2230
2231 * vc/vc.el (vc-next-action): Detect buffer modifications
2232 conflicting with locking VCS operation (Bug#11490).
2233
2234 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2235
2236 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2237
2238 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2239 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2240
2241 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2242
2243 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2244 parsing of ls output using regular expression (handle filenames
2245 with spaces). Use virtual device number.
2246 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2247 cleanup).
2248
2249 2013-01-04 Daiki Ueno <ueno@gnu.org>
2250
2251 * epg.el: Silence byte-compiler warnings.
2252 (epg--start): Use delete-char instead of delete-backward-char.
2253 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2254
2255 2013-01-04 Daiki Ueno <ueno@gnu.org>
2256
2257 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2258 Suggested by Eli Zaretskii <eliz@gnu.org>.
2259
2260 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2261
2262 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2263 non-negative integers. Otherwise, the default values are used.
2264 (tramp-convert-file-attributes): Convert uid and gid to integers.
2265
2266 2013-01-04 Glenn Morris <rgm@gnu.org>
2267
2268 * term.el (term-handle-colors-array): Ensure face attributes
2269 are fully specified, not nil. (Bug#13337)
2270
2271 * term.el (term-default-fg-color, term-default-bg-color):
2272 Fix custom type.
2273
2274 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2275 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2276 rather than 'jka-compr being loaded. (Bug#13338)
2277
2278 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2279
2280 * icomplete.el (icomplete-completions):
2281 Honor icomplete-prospects-height once more following
2282 2012-11-29 changes. (Bug#13224)
2283
2284 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2285
2286 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2287 of called-interactively-p as well (bug#13237).
2288
2289 * view.el (view--enable, view--disable): Rename from view-mode-enable
2290 and view-mode-disable and assume it's called from view-mode.
2291 (view-mode-enable, view-mode-disable): Redefine as obsolete
2292 compatibility layer above view-mode.
2293 (view-mode-enter): Call `view-mode'.
2294
2295 * files.el (after-find-file): Call `view-mode'.
2296
2297 * doc-view.el (doc-view-scale-internally): New var.
2298 (doc-view-enlarge, doc-view-insert-image): Obey it.
2299
2300 2013-01-03 Daiki Ueno <ueno@gnu.org>
2301
2302 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2303 exist. (Bug#13344)
2304
2305 2013-01-03 Glenn Morris <rgm@gnu.org>
2306
2307 * mail/rmail.el (rmail-set-header-1): Ignore case.
2308 Handle multi-line headers. (Bug#13330)
2309
2310 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2311 Handle paragraph starting at beginning of buffer.
2312
2313 * subr.el (eval-after-load): Don't purecopy the form, so that it
2314 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2315
2316 * emacs-lisp/byte-run.el (defun): Place cl declarations
2317 after any interactive spec. (Bug#13265)
2318
2319 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2320
2321 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2322 defun. Don't check for DECL if DOCSTRING isn't a string.
2323 (defun): Likewise.
2324
2325 2013-01-02 Glenn Morris <rgm@gnu.org>
2326
2327 * eshell/em-cmpl.el (eshell-pcomplete):
2328 More thoroughly imitate pcomplete. (Bug#13293)
2329
2330 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2331 Return nil for empty path elements. (Bug#13296)
2332
2333 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2334
2335 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2336 order to improve efficiency (Based on Daniel Colascione's
2337 <dancol@dancol.org> patch). (Bug#13182)
2338
2339 2013-01-02 Glenn Morris <rgm@gnu.org>
2340
2341 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2342
2343 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2344
2345 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2346 neither DOCSTRING nor DECL was given. (Bug#13316)
2347
2348 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2349
2350 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2351 `error' call.
2352 (tramp-do-copy-or-rename-file): Ignore errors when calling
2353 `set-file-extended-attributes'.
2354
2355 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2356 Add handler for `file-acl'.
2357 (tramp-smb-handle-file-acl): New defun.
2358
2359 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2360
2361 * calc/README: Mention ISO 8601 week-numbering dates.
2362
2363 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2364
2365 * view.el (view-mode-enable): New argument run-view-mode-hook.
2366 Run view-mode-hook only when it's non-nil (Bug#13315).
2367 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2368 argument t.
2369
2370 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2371
2372 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2373 (No device connected, invalid device name). (Bug #13299)
2374
2375 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2376
2377 * window.el (window-resizable--p): Rename to window-resizable-p.
2378 (window-resize-no-error): New function.
2379
2380 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2381 broken in fix from 2012-12-28.
2382
2383 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2384
2385 * subr.el (special-form-p): Don't signal errors on undef aliases.
2386
2387 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2388
2389 * calc/calc-forms.el (math-parse-date): Try using
2390 `math-parse-iso-date' when it looks like it might be needed.
2391 Allow times of 24:00.
2392 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2393 of 24:00.
2394
2395 2012-12-30 Glenn Morris <rgm@gnu.org>
2396
2397 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2398 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2399 (rmail-summary-displayed, rmail-summary): Declare.
2400 (mairix-rmail-display): Just require rmail.
2401
2402 2012-12-30 Chong Yidong <cyd@gnu.org>
2403
2404 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2405 check for the tarball contents.
2406
2407 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2408
2409 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2410 tarfile content listings (Bug#13136).
2411
2412 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2413
2414 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2415 Insert the undecoded text of the message being forwarded. (Bug#9521)
2416
2417 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2418
2419 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2420 integers, if they are real numbers. (Bug#13282)
2421
2422 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2423 Return `t' on success.
2424
2425 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2426 Add handler for `set-file-selinux-context'.
2427
2428 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2429
2430 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2431 (tramp-sh-handle-set-file-acl): Return `t' on success.
2432
2433 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2434
2435 * files.el (backup-buffer-copy, basic-save-buffer-2):
2436 If set-file-extended-attributes fails, fall back on set-file-modes
2437 instead of signaling an error. (Bug#13298)
2438 (basic-save-buffer): Likewise.
2439
2440 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2441
2442 * progmodes/python.el: Support other commands triggering
2443 python-indent-line so indentation cycling continues to work.
2444 (python-indent-trigger-commands): New defcustom.
2445 (python-indent-line): Use it.
2446
2447 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2448
2449 * progmodes/python.el (python-shell-send-region): Add blank lines
2450 for non sent code so backtraces remain correct.
2451
2452 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2453
2454 * progmodes/python.el: Remove cl dependency.
2455 (python-syntax-count-quotes): Replace incf call.
2456 (python-fill-string): Replace setf call.
2457
2458 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2459
2460 * info.el (info-other-window): New arg, for consistency with info.
2461
2462 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2463
2464 * mail/rmail.el (rmail-maybe-display-summary):
2465 Rewrite (Bug#13066).
2466
2467 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2468
2469 * epg.el (epg--start): Modify process-environment locally.
2470
2471 2012-12-28 Daiki Ueno <ueno@gnu.org>
2472
2473 * epg.el: Support pinentry-curses.
2474 Suggested by Werner Koch in
2475 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2476 (epg-agent-file, epg-agent-mtime): New variable.
2477 (epg--start): Record the modified time of gpg-agent socket file,
2478 to restore Emacs frame after pinentry-curses termination.
2479 (epg-wait-for-completion): Restore Emacs frame here.
2480
2481 2012-12-27 Juri Linkov <juri@jurta.org>
2482
2483 * info.el (Info-file-completions): New variable.
2484 (Info-read-node-name-1): Complete node names in the Info file
2485 when a file name is given. Call `Info-build-node-completions'
2486 with a file name.
2487 (Info-build-node-completions): Add new arg `file'. When it is
2488 non-nil, visit it in a temporary buffer and cache its completions in
2489 `Info-current-file-completions'. Move most of the function body to
2490 `Info-build-node-completions-1'.
2491 (Info-build-node-completions-1): New function with the body from
2492 `Info-build-node-completions'. (Bug#12456)
2493
2494 2012-12-27 Juri Linkov <juri@jurta.org>
2495
2496 * frame.el (frame-maximization-style): Remove user option.
2497 (cycle-frame-maximized): Remove function.
2498 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2499 (toggle-frame-fullscreen): New command bound to <f11> instead of
2500 `toggle-frame-maximized'.
2501 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2502
2503 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2504
2505 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2506
2507 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2508 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2509 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2510 for `file-accessible-directory-p'. (Bug#13275)
2511
2512 2012-12-27 Sam Steingold <sds@gnu.org>
2513
2514 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2515 continuations, see <http://stackoverflow.com/questions/3582436>.
2516
2517 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2518
2519 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2520 "module" and "def" to have indentation before them.
2521 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2522
2523 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2524
2525 2012-12-27 Alan Mackenzie <acm@muc.de>
2526
2527 Speed up fontification where there's large brace blocks.
2528 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2529 to a call of c-beginning-of-decl-1.
2530
2531 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2532
2533 * comint.el (comint-adjust-window-point): New function.
2534 (comint-postoutput-scroll-to-bottom):
2535 Call comint-adjust-window-point (Bug#13248).
2536
2537 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2538
2539 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2540 Rakefile regexp.
2541 (auto-mode-alist): Associate .gemspec files with ruby-mode
2542 (https://bugs.ruby-lang.org/issues/5453).
2543
2544 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2545
2546 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2547 Suppress coloring, if possible (required for BusyBox based systems like
2548 CyanogenMod).
2549 (tramp-adb-handle-file-attributes)
2550 (tramp-adb-handle-insert-directory)
2551 (tramp-adb-handle-file-name-all-completions): Use it.
2552 (tramp-adb-get-toolbox): New defun. Check for remote shell
2553 implementation (BusyBox or Toolbox).
2554
2555 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2556
2557 * startup.el (initial-buffer-choice): Allow function as value
2558 (Bug#13251).
2559 (command-line-1): Handle case where initial-buffer-choice
2560 specifies a function.
2561 * server.el (server-execute): Handle case where
2562 initial-buffer-choice specifies a function.
2563
2564 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2565
2566 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2567 its own function.
2568 (smtpmail-try-auth-methods): Forget the user name/password if the
2569 login is unsuccessful (bug#12424).
2570
2571 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2572
2573 * notifications.el (notifications-notify): Protect body with
2574 `with-demoted-errors'.
2575
2576 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2577 Check properties of remote device. Restart connection, if there is a
2578 change.
2579
2580 2012-12-21 Chong Yidong <cyd@gnu.org>
2581
2582 * sort.el (sort-subr): Doc fix (Bug#13056).
2583
2584 2012-12-21 Bastien Guerry <bzg@gnu.org>
2585
2586 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2587
2588 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2589
2590 * simple.el (process-file): Overwrite stderr file, if exists.
2591
2592 2012-12-21 Daiki Ueno <ueno@gnu.org>
2593
2594 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2595 (epg-error): Set `error-message' property.
2596
2597 2012-12-21 Chong Yidong <cyd@gnu.org>
2598
2599 * international/mule-cmds.el (read-char-by-name): Signal an error
2600 if the user does not supply a valid character (Bug#13177).
2601
2602 * simple.el (transpose-subr-1): Preserve marker positions by
2603 changing the insertion sequence (Bug#13122).
2604
2605 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2606
2607 * simple.el (kill-region): Deactivate mark even for empty regions
2608 (Bug#13169).
2609
2610 2012-12-21 Chong Yidong <cyd@gnu.org>
2611
2612 * help-fns.el (describe-variable): Make sure we get the right
2613 buffer name (Bug#13105). Suggested by Kelly Dean.
2614
2615 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2616
2617 * comint.el (comint-redirect-previous-input-string): New variable.
2618 (comint-redirect-setup, comint-redirect-cleanup)
2619 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2620 (comint-redirect-preoutput-filter): Fix verbose message.
2621
2622 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2623
2624 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2625 is too long for Tramp. See discussion in
2626 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2627
2628 * progmodes/compile.el (compilation-start): Remove line escape
2629 template.
2630
2631 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2632
2633 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2634 Adjust comment.
2635
2636 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2637
2638 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2639 following non-comment text (bug#13207).
2640 (lm-header-multiline): Continuation lines need to be indented more than
2641 the first line.
2642 (lm-homepage): New function.
2643 (lm-with-file): Don't be confused if narrowing is in effect.
2644
2645 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2648 very beginning of a hunk (e.g. killing the first line).
2649
2650 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2651
2652 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2653 and text properties from returned ACL string.
2654 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2655 for "setfacl" command.
2656
2657 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2658
2659 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2660 `tramp-cleanup-this-connection', when the process has died.
2661 (Bug#13151)
2662
2663 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2664
2665 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2666
2667 2012-12-17 Kevin Ryde <user42@zip.com.au>
2668
2669 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2670
2671 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2672
2673 Add support for preserving ACL entries of files.
2674
2675 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2676 `set-file-acl' handlers.
2677
2678 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2679 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2680
2681 * net/tramp-compat.el (tramp-compat-copy-file):
2682 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2683
2684 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2685 Add `file-acl' and `set-file-acl' handlers.
2686 (tramp-gvfs-handle-copy-file):
2687 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2688 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2689 New defuns.
2690
2691 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2692 Add `file-acl' and `set-file-acl' handlers.
2693 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2694 (tramp-sh-handle-set-file-acl): New defuns.
2695 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2696 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2697
2698 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2699 Add `file-acl' and `set-file-acl' handlers.
2700 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2701
2702 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2703
2704 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2705 use pop-to-buffer with NORECORD argument t. As buffer name, use
2706 *Metahelp* with a leading space (Bug#13190).
2707
2708 2012-12-16 Romain Francoise <romain@orebokech.com>
2709
2710 * files.el (file-extended-attributes)
2711 (set-file-extended-attributes): New functions.
2712 (backup-buffer): Use them to handle both SELinux context and ACL
2713 entries.
2714 (backup-buffer-copy): Work with an alist of extended attributes,
2715 rather than an SELinux context.
2716 (basic-save-buffer-2): Ditto.
2717
2718 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2719
2720 * battery.el (battery-bsd-apm): New function.
2721
2722 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2723
2724 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2725 standard date formats.
2726
2727 2012-12-15 Juri Linkov <juri@jurta.org>
2728
2729 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2730 `isearch-insert-char-by-name'.
2731 (with-isearch-suspended): New defmacro with body mostly from
2732 `isearch-edit-string' except the part that sets
2733 `isearch-new-string' and `isearch-new-message'.
2734 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2735 body that sets `isearch-new-string' and `isearch-new-message'.
2736 (isearch-insert-char-by-name): New command.
2737 * international/mule-cmds.el (read-char-by-name): Let-bind
2738 `enable-recursive-minibuffers' to t.
2739 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2740
2741 2012-12-15 Juri Linkov <juri@jurta.org>
2742
2743 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2744 (Bug#13175)
2745
2746 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2747
2748 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2749 the prompt. (Bug#13045)
2750
2751 2012-12-14 Glenn Morris <rgm@gnu.org>
2752
2753 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2754 Try to include filename in non-bytecomp warning. (Bug#13132)
2755
2756 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2757
2758 Fix permissions bugs with setgid directories etc. (Bug#13125)
2759 * files.el (backup-buffer): Don't rely on 9th output of
2760 file-attributes, as it's now a placeholder. Instead, use the new
2761 optional arg of file-ownership-preserved-p.
2762 (file-ownership-preserved-p): New optional arg GROUP.
2763 Fix mishandling of setuid directories that would cause this
2764 function to return t when it should have returned nil.
2765 Document what happens if the file does not exist, and when
2766 it's not known whether the ownership will be preserved.
2767 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2768 Likewise.
2769 (tramp-get-local-gid): Use group-gid for integer, as that's
2770 faster and more reliable.
2771
2772 2012-12-14 Julien Danjou <julien@danjou.info>
2773
2774 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2775 Update keywords list, data type and PL/pgSQL.
2776
2777 2012-12-14 Dave Abrahams <dave@boostpro.com>
2778
2779 * vc/ediff-util.el (ediff-buffer-type): New function.
2780 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2781 rather than taking it as as argument.
2782 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2783
2784 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2785
2786 * json.el: Add pretty-print option (bug#12634).
2787 (json-encoding-separator, json-encoding-default-indentation)
2788 (json--encoding-current-indentation, json-encoding-pretty-print)
2789 (json-encoding-lisp-style-closings): New vars.
2790 (json--with-indentation): New macro.
2791 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2792 (json-encode-array): Use it to obey json-encoding-pretty-print.
2793 (json-pretty-print-buffer, json-pretty-print): New commands.
2794
2795 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2796
2797 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2798 Extract `ruby-syntax-propertize-expansions'.
2799 (ruby-syntax-propertize-expansions): Only change syntax on
2800 certain string delimiters, to punctuation. This way the common
2801 functions like forward-word and thing-at-point still work.
2802 (ruby-match-expression-expansion): Improve readability.
2803 (ruby-block-contains-point): New function.
2804 (ruby-add-log-current-method): Handle several edge cases.
2805
2806 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2807
2808 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2809 unload-feature finishes even when aborting an ongoing edebug session.
2810 Also, do not worry about edebug-mode, unload-feature takes care of it.
2811
2812 2012-12-13 Andreas Schwab <schwab@suse.de>
2813
2814 * net/tls.el (tls-program): Update customize type.
2815
2816 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2817
2818 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2819 (edebug-setup-hook, cl-read-load-hooks): Use it.
2820 (edebug-unload-function): New function. (Bug#13163)
2821
2822 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2823
2824 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2825 Otherwise, there could be errors in autoloading. (Bug#13151)
2826
2827 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2828
2829 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2830 sequences.
2831
2832 2012-12-13 Alan Mackenzie <acm@muc.de>
2833
2834 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2835 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2836 around `forward-comment' not recognizing ^M as whitespace.
2837
2838 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2839
2840 * progmodes/python.el (python-skeleton-class)
2841 (python-skeleton-def): Do not add space after defun name.
2842
2843 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2844
2845 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2846 (cl--symbol-function): Remove (now that funbound is like nil).
2847
2848 2012-12-12 Glenn Morris <rgm@gnu.org>
2849
2850 * button.el (button--area-button-p): Fix typo.
2851
2852 2012-12-12 Sam Steingold <sds@gnu.org>
2853
2854 * frame.el (frame-maximization-style): New user option.
2855 (toggle-frame-maximized): Toggle frame maximization according to
2856 `frame-maximization-style', bound to <f11>.
2857 (cycle-frame-maximized): Cycle between all maximization styles and
2858 non-maximized frame, bound to shift-<f11>.
2859
2860 2012-12-12 David Cadé <codename68@gmail.com>
2861
2862 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2863
2864 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2865
2866 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2867 (eieio-override-prin1): Don't quote kewords and booleans.
2868 (object-write) <eieio-default-superclass>: Don't put closing parens
2869 on new line, avoid needless empty lines, align values that are objects
2870 with the slot keyword (instead of beginning on the same line).
2871 (eieio-list-prin1): Align value with slot keyword; increase
2872 eieio-print-depth before printing members of the list.
2873
2874 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2876 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2877 a display text-property.
2878 (report-emacs-bug-hook): Don't bother deleting it any more.
2879
2880 * hilit-chg.el (highlight-save-buffer-state): Delete.
2881 Use with-silent-modifications instead.
2882 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2883
2884 * button.el: Handle buttons in display text-properties.
2885 (button--area-button-p, button--area-button-string):
2886 Use (STRING . STRING-POS) representation instead of just STRING.
2887
2888 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2889
2890 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2891 subdirectory be skipped.
2892
2893 2012-12-11 Glenn Morris <rgm@gnu.org>
2894
2895 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2896
2897 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2898 Treat preprocessor lines embedded in continuations like comments.
2899 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2900
2901 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2902
2903 * calc/calc.el (calc-standard-date-formats): Add more date
2904 formats.
2905 * calc/calc-forms.el (math-parse-iso-date): New function.
2906 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2907 (math-parse-iso-date-validate): Add extra error checking.
2908 (calc-date-notation): Add ability to access new date formats.
2909
2910 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2911
2912 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2913 font-lock as well as when there's no text-property.
2914
2915 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2916
2917 * hi-lock.el: Refine the choice of default face.
2918 (hi-lock-keyword->face): New function. Use it wherever we used
2919 cadadadr instead.
2920 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2921 (hi-lock--last-face): Remove var.
2922 (hi-lock--unused-faces): New var to replace it.
2923 (hi-lock-read-face-name): Use/maintain it.
2924 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2925 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2926 if it has another face.
2927
2928 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2929
2930 * subr.el (w32notify-handle-event): New function.
2931 (inotify-handle-event): Doc fix.
2932
2933 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2934
2935 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2936
2937 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2938
2939 * simple.el (just-one-space): Doc fix.
2940
2941 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2942
2943 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2944
2945 2012-12-10 Le Wang <l26wang@gmail.com>
2946
2947 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2948 narrowed buffer (bug#12361).
2949
2950 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2951
2952 * vc/vc-hooks.el (vc-state): Doc fix.
2953
2954 2012-12-10 Glenn Morris <rgm@gnu.org>
2955
2956 * mail/rmail.el (rmail-maybe-display-summary):
2957 Preserve buffer, in case select-window changes it. (Bug#13066)
2958
2959 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2960
2961 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2962 cl-load-hook where they belong.
2963
2964 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2965
2966 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2967
2968 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2969
2970 Parallelize byte compilation on MS-Windows.
2971 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2972 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2973 (WINS_BASIC): Define as concatenation of the above.
2974 (compile): Subdivide into 4 separate and independent jobs that can
2975 be run in parallel.
2976 (compile0-CMD, compile0-SH): New targets for compiling
2977 COMPILE_FIRST files, which are prerequisites for the rest of the
2978 byte-compilation.
2979 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2980 New targets for parallel compilation with cmd.exe.
2981 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2982 compiling under a Unixy shell.
2983
2984 2012-12-09 Chong Yidong <cyd@gnu.org>
2985
2986 * simple.el (set-mark-default-inactive): Delete this
2987 accidentally-introduced option.
2988 (set-mark-command, exchange-point-and-mark): Remove calls.
2989
2990 2012-12-09 Glenn Morris <rgm@gnu.org>
2991
2992 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2993 Respect a defcustom's :set function, if appropriate. (Bug#109)
2994 (eval-defun): Doc fix.
2995
2996 2012-12-08 Juri Linkov <juri@jurta.org>
2997
2998 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2999 (Info-fontify-node, Info-bookmark-make-record): Remove the
3000 file extension from Info-current-file (Bug#13016).
3001
3002 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3003
3004 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3005 point, still provide some default.
3006 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3007 names, since we don't use it right now. Actually return the list.
3008 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3009
3010 2012-12-07 Chong Yidong <cyd@gnu.org>
3011
3012 * novice.el (disabled-command-function): Remove a spurious help
3013 xref (Bug#13043). Suggested by Kelly Dean.
3014
3015 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3016 syntax is specified (Bug#13025).
3017
3018 * info.el (Info-set-mode-line): Remove the file extension from
3019 Info-current-file if there is one (Bug#13016).
3020
3021 2012-12-07 Glenn Morris <rgm@gnu.org>
3022
3023 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3024 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3025 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3026 and rmail-mime-decoded. (Bug#9841)
3027
3028 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3029 (batch-unrmail, unrmail): Doc fixes.
3030 (unrmail): Respect unrmail-mbox-format.
3031 * mail/rmail.el (rmail-mbox-format): New option.
3032 (rmail-show-message-1): Respect rmail-mbox-format.
3033
3034 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3035
3036 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3037
3038 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3039
3040 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3041 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3042 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3043 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3044 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3045 (cl-progv): Don't rely on dynamic scoping to find the body.
3046 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3047 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3048 (cl-declaim): Use backquotes.
3049 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3050 Use "cl--" prefix for the object's tag.
3051
3052 * ses.el: Use advice-add/remove.
3053 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3054 (copy-region-as-kill, yank): Use advice-add.
3055 (ses-unload-function): Use advice-remove.
3056
3057 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3058
3059 * button.el: Make them work in header-lines (bug#12817).
3060 (button-map): Add bindings for header-line and mode-line use.
3061 (button-get, button-put, button-label): `button' may now be a string.
3062 (button-activate): Don't make it a defsubst.
3063 (button--area-button-p, button--area-button-string): New functions.
3064 (make-text-button): Fix the return value when `beg' was a string.
3065 (push-button): Handle the mode-line case.
3066
3067 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3068
3069 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3070 (sql-signum): Remove. Use `cl-signum' instead.
3071 (sql-read-passwd): Remove; use read-passwd instread.
3072 (sql-get-login-ext): Use read-string.
3073 (sql-get-login): Use dolist and pcase.
3074 (sql--completion-table): Rename from sql-try-completion.
3075 Use complete-with-action.
3076 (sql-mode): Don't change abbrev-all-caps globally.
3077 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3078 (sql-postgres-completion-object): Initialize vars in their `let'.
3079 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3080 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3081 (sql-comint-interbase): Use a single append, without setq.
3082 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3083
3084 * hi-lock.el: Rework the default face and the serialize regexp code.
3085 (hi-lock--auto-select-face-defaults): Remove.
3086 (hi-lock-string-serialize-serial): Remove.
3087 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3088 make weak.
3089 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3090 equal string.
3091 (hi-lock-set-pattern): Adjust accordingly.
3092 (hi-lock--regexps-at-point): Simplify accordingly.
3093 (hi-lock--auto-select-face-defaults): Remove.
3094 (hi-lock--last-face): New var to replace it.
3095 (hi-lock-read-face-name): Rewrite (bug#11095).
3096 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3097
3098 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3099
3100 * net/tramp.el (tramp-replace-environment-variables):
3101 Hide compiler warning.
3102 (tramp-file-name-for-operation): Remove `executable-find',
3103 `start-process', `call-process' and `call-process-region'.
3104
3105 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3106
3107 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3108 compatibility.
3109
3110 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3111
3112 2012-12-06 Chong Yidong <cyd@gnu.org>
3113
3114 * ffap.el (ffap-replace-file-component): Fix typo.
3115
3116 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3117
3118 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3119 fix open-paren-like token test (bug#12785).
3120
3121 2012-12-06 Glenn Morris <rgm@gnu.org>
3122
3123 * mail/rmailsum.el (rmail-new-summary): Tweak for
3124 rmail-maybe-display-summary changing buffer. (Bug#13066)
3125
3126 2012-12-06 Juri Linkov <juri@jurta.org>
3127
3128 * info.el (Info-fontify-node): Don't hide the last newline.
3129 (Bug#12272)
3130
3131 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3132
3133 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3134 so as to enable message-read-from-minibuffer to expand mail aliases.
3135
3136 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3137
3138 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3139 the `intangible' property.
3140 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3141
3142 2012-12-05 Deniz Dogan <deniz@dogan.se>
3143
3144 * net/rcirc.el (rcirc-urls): Update documentation.
3145 (rcirc-condition-filter): New function.
3146 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3147 and exclude consecutive duplicate URLs (Bug#6082).
3148
3149 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3150
3151 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3152 Check return code of copy command.
3153
3154 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3155 Use group `tramp'. Add version.
3156
3157 2012-12-05 Chong Yidong <cyd@gnu.org>
3158
3159 * ffap.el (ffap-url-regexp): Don't require matching at front of
3160 string (Bug#4952).
3161 (ffap-url-p): If only a substring matches, return that.
3162 (ffap-url-at-point): Use the return value of ffap-url-p.
3163 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3164 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3165 (ffap-guess-file-name-at-point): Likewise.
3166 (ffap-replace-file-component): Fix typo.
3167
3168 * info.el (info-display-manual): Add existing Info buffers, whose
3169 files may not be in Info-directory-list, to the completion.
3170 (info--manual-names): New helper function.
3171
3172 2012-12-05 Glenn Morris <rgm@gnu.org>
3173
3174 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3175 New functions, for detecting and resolving conflicts. (Bug#10709)
3176
3177 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3178
3179 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3180 (hi-lock-auto-select-face-defaults): New buffer local variable.
3181 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3182 (hi-lock-unface-buffer): Prompt user with useful defaults.
3183 With prefix arg, unhighlight all hi-lock patterns in buffer.
3184
3185 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3186
3187 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3188
3189 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3190
3191 * Makefile.in (TRAMP_SRC):
3192 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3193
3194 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3195
3196 * net/tramp-adb.el: New package.
3197
3198 2012-12-04 Chong Yidong <cyd@gnu.org>
3199
3200 * terminal.el: Move to obsolete/.
3201
3202 * longlines.el: Move to obsolete/.
3203
3204 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3205 Remove code referring to longlines mode.
3206
3207 2012-12-03 Juri Linkov <juri@jurta.org>
3208
3209 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3210
3211 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3212
3213 * textmodes/ispell.el (ispell-init-process)
3214 (ispell-start-process, ispell-internal-change-dictionary):
3215 Make sure personal dictionary name is expanded after initial
3216 `default-directory' value. Use expanded strings for
3217 keep/restart checks and for value (Bug#13019).
3218
3219 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3220
3221 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3222
3223 2012-12-03 Leo Liu <sdl.web@gmail.com>
3224
3225 * files.el (dir-locals-read-from-file): Check file non-empty
3226 before reading. (Bug#13038)
3227
3228 2012-12-03 Glenn Morris <rgm@gnu.org>
3229
3230 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3231 Remove any version extension before checking filename. (Bug#13006)
3232 (jka-compr-compression-info-list): Belated :version bump.
3233
3234 2012-12-03 Chong Yidong <cyd@gnu.org>
3235
3236 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3237
3238 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3239 (buffer-menu): Doc fix (Bug#12294).
3240
3241 2012-12-03 Roland Winkler <winkler@gnu.org>
3242
3243 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3244 of diary-show-all-entries in the diary buffer (Bug#12994).
3245
3246 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3247
3248 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3249 "<STDIN>". This is binary safe.
3250
3251 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3252
3253 * calc/calc-forms.el (math-absolute-from-iso-dt)
3254 (math-date-to-iso-dt, math-parse-iso-date-validate)
3255 (math-iso-dt-to-date): New functions.
3256 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3257 (math-fd-isoweekday): New variables.
3258 (calc-date-notation, math-parse-standard-date, math-format-date)
3259 (math-format-date-part): Add support for more formatting codes.
3260
3261 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3262
3263 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3264 current buffer's file name when called interactively (Bug#12488).
3265
3266 2012-12-02 Juri Linkov <juri@jurta.org>
3267
3268 * info.el (info-display-manual): Don't clobber an existing Info
3269 buffer (Bug#10770). Add completion (Bug#10771).
3270
3271 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3272
3273 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3274 before using it for comparison (Bug#5297).
3275
3276 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3277
3278 * textmodes/css-mode.el (css-current-defun-name): New function.
3279 (css-mode): Use it.
3280
3281 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3282 (html-mode): Use it.
3283
3284 2012-12-01 Chong Yidong <cyd@gnu.org>
3285
3286 Modularize add-log-current-defun (Bug#2224).
3287 Suggested by Jari Aalto.
3288
3289 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3290 (add-log-current-defun): Move mode-specific code to other files.
3291 (add-log-lisp-like-modes, add-log-c-like-modes)
3292 (add-log-tex-like-modes): Variables deleted.
3293
3294 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3295 (lisp-mode-variables): Use it.
3296
3297 * progmodes/cc-mode.el (c-common-init):
3298 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3299 add-log-current-defun-function.
3300
3301 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3302 (m4-mode): Use it.
3303
3304 * progmodes/perl-mode.el (perl-current-defun-name): New.
3305 (perl-mode): Use it.
3306
3307 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3308 Use lisp-current-defun-name.
3309
3310 * textmodes/tex-mode.el (tex-current-defun-name): New.
3311 (tex-common-initialization): Use it.
3312
3313 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3314 (texinfo-mode): Use it.
3315
3316 2012-12-01 Chong Yidong <cyd@gnu.org>
3317
3318 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3319 * progmodes/autoconf.el (autoconf-mode):
3320 * progmodes/js.el (js-mode):
3321 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3322 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3323 * progmodes/perl-mode.el (perl-mode):
3324 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3325 * textmodes/css-mode.el (css-mode):
3326 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3327 (sgml-tags-invisible, sgml-guess-indent):
3328 * textmodes/tex-mode.el (tex-common-initialization)
3329 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3330 (doctex-mode, plain-tex-mode, latex-mode):
3331 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3332
3333 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3334
3335 * vc/vc-hg.el (vc-hg-next-revision):
3336 Ensure use of default "tip" output format. (Bug#6968)
3337
3338 2012-12-01 Kim F. Storm <storm@cua.dk>
3339
3340 * startup.el (fancy-startup-tail): Add a clickable link
3341 (Bug#2176).
3342
3343 2012-12-01 Chong Yidong <cyd@gnu.org>
3344
3345 * startup.el (fancy-startup-tail): Improve the message about
3346 auto-save files (Bug#2176).
3347
3348 * files.el (recover-session): Improve the descriptive message, and
3349 use substitute-command-keys.
3350
3351 2012-12-01 Glenn Morris <rgm@gnu.org>
3352
3353 * ido.el (ido-file-internal):
3354 Handle other-window, other-frame for dired. (Bug#13036)
3355
3356 2012-11-30 Glenn Morris <rgm@gnu.org>
3357
3358 * icomplete.el (icomplete-separator): Fix :version.
3359
3360 2012-11-30 Chong Yidong <cyd@gnu.org>
3361
3362 * shell.el (shell): For C-u M-x shell, use an inactive shell
3363 buffer as the default (Bug#1975).
3364 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3365 (shell-mode): Use them to reapply ansi colorization if Shell mode
3366 is re-enabled.
3367
3368 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3369
3370 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3371
3372 2012-11-30 Samuel Bronson <naesten@gmail.com>
3373
3374 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3375 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3376
3377 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3378
3379 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3380 by move-to-column (Bug#3234).
3381
3382 2012-11-30 Chong Yidong <cyd@gnu.org>
3383
3384 * longlines.el (longlines-wrap-line, longlines-encode-region):
3385 Preserve text properties (Bug#1425).
3386
3387 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3388
3389 * vc/vc.el (vc-register): Allow registering a file which is
3390 already registered with a different backend (Bug#10589).
3391
3392 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3393 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * icomplete.el: Change separator; add ido-style commands.
3396 (icomplete-show-key-bindings): Remove custom var.
3397 (icomplete-get-keys): Remove function.
3398 (icomplete-forward-completions, icomplete-backward-completions):
3399 New commands.
3400 (icomplete-minibuffer-map): New var.
3401 (icomplete-minibuffer-setup): Use it.
3402 (icomplete-exhibit): Don't delay if the list of completions is known.
3403 (icomplete-separator): New custom.
3404 (icomplete-completions): Use it.
3405 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3406 (minibuffer-force-complete-and-exit): New command.
3407 (minibuffer--complete-and-exit): New function extracted from
3408 minibuffer-complete-and-exit.
3409 (minibuffer-complete-and-exit): Use it.
3410
3411 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3412 error message when the file doesn't exist (bug#12974).
3413
3414 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3415
3416 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3417
3418 2012-11-29 Glenn Morris <rgm@gnu.org>
3419
3420 * files.el (hack-dir-local-variables): Warn if try to set
3421 coding via dir-locals, since it doesn't work. (Bug#7169)
3422
3423 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3424 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3425 Set buffer-local value of desktop-save-buffer.
3426 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3427 New functions.
3428 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3429 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3430
3431 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3432 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3433 Doc fix.
3434 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3435 Doc fixes.
3436
3437 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3438
3439 * calc/calc-forms.el (calc-date-notation): Fix regexp
3440 used to find time codes. Fix symbol for seconds.
3441
3442 2012-11-27 Glenn Morris <rgm@gnu.org>
3443
3444 * emacs-lisp/derived.el (derived-mode-make-docstring):
3445 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3446
3447 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3448
3449 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3450 lexically scoped variables (bug#13005).
3451
3452 2012-11-27 Glenn Morris <rgm@gnu.org>
3453
3454 * vc/vc-hooks.el (vc-mistrust-permissions):
3455 Default to t, to avoid data-loss. (Bug#11490)
3456
3457 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3458
3459 * progmodes/python.el (python-indent-guess-indent-offset):
3460 If indentation is guessed make python-indent-offset buffer-local.
3461
3462 Fix Imenu regression.
3463 * progmodes/python.el (python-nav-beginning-of-defun):
3464 Fix forward movement when statement(s) separates point from defun.
3465 (python-imenu-prev-index-position): New function.
3466
3467 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3468
3469 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3470
3471 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3472 Don't set buffer-file-type. Return nil. (Bug#12989)
3473
3474 2012-11-27 Glenn Morris <rgm@gnu.org>
3475
3476 * hippie-exp.el (hippie-expand-try-functions-list):
3477 Re-autoload it. (Bug#12982)
3478
3479 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3480
3481 * descr-text.el (describe-char-padded-string):
3482 Call internal-char-font only on GUI frames. (Bug#11964)
3483
3484 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3485
3486 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3487 and obsoletion message.
3488
3489 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3490
3491 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3492 the constructs to keep outside of the `cl-block' (bug#12977).
3493
3494 2012-11-27 Chong Yidong <cyd@gnu.org>
3495
3496 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3497 keep reading until we get the up-event anyway, in order to process
3498 the up-event for mouse-1-click-follows-link (Bug#12971).
3499
3500 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3501
3502 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3503 base function is not yet defined (bug#12965).
3504 (ad-activate-advised-definition): Use ad-compile-function.
3505 (ad-activate): Use cond.
3506
3507 2012-11-25 Leo Liu <sdl.web@gmail.com>
3508
3509 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3510 (Bug#12979)
3511
3512 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3513
3514 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3515 reftex-section-info-function in order to be compatible with
3516 Texinfo integration.
3517
3518 * textmodes/reftex.el (reftex-section-pre-regexp)
3519 (reftex-section-post-regexp, reftex-section-info-function):
3520 New variable.
3521 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3522 reftex-section-post-regexp, and reftex-section-info-function in order
3523 to be compatible with Texinfo integration.
3524
3525 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3526 use reftex-section-pre-regexp variable in order to be compatible with
3527 Texinfo integration.
3528
3529 2012-11-25 Chong Yidong <cyd@gnu.org>
3530
3531 * faces.el: Make face-spec-set more analogous to setq.
3532 (face-spec-set): Change the third arg to specify whether this
3533 function is being called via defface, customize, or a third party.
3534 Set the appropriate symbol properties. Clear the override spec if
3535 setting via Custom. Initialize face if necessary. (Bug#4988)
3536 (face-spec-recalc): Allow theme faces to completely replace the
3537 defface spec, in the same way as custom faces (Bug#8454).
3538
3539 * cus-face.el (custom-declare-face): Move face initialization to
3540 face-spec-set.
3541 (custom-theme-set-faces): Don't initialize the face name here, as
3542 that is now done in face-spec-set.
3543
3544 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3545 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3546 Simplify by using the new arg to face-spec-set.
3547
3548 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3549 reset face-override-spec too, and use custom-declare-face.
3550
3551 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3552
3553 * term/ns-win.el (ns-initialize-window-system): Move creation of
3554 fontsets here (Bug#11964).
3555
3556 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3557
3558 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3559 cell renaming.
3560
3561 2012-11-24 Chong Yidong <cyd@gnu.org>
3562
3563 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3564 obsolete.
3565
3566 * custom.el (custom-theme-set-variables): Use a topological sort
3567 for ordering by custom dependencies (Bug#12952).
3568 (custom--sort-vars, custom--sort-vars-1): New functions.
3569
3570 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3571
3572 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3573 lexical-binding (bug#12938).
3574
3575 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3576
3577 * image-mode.el (image-transform-check-size): Use assertions only
3578 for images of type imagemagick.
3579
3580 Otherwise no error, image-transform-fit-to-{width,height} is
3581 silently ignored, as before. Doc fix.
3582
3583 2012-11-24 Chong Yidong <cyd@gnu.org>
3584
3585 * faces.el (color-defined-p): Doc fix (Bug#12853).
3586
3587 2012-11-24 Juri Linkov <juri@jurta.org>
3588
3589 * dired.el (dired-mark): Add optional arg `interactive'.
3590 Check for `use-region-p' if `interactive' is non-nil.
3591 (dired-unmark, dired-flag-file-deletion): Add optional arg
3592 `interactive'. Call `dired-mark' with the arg `interactive'.
3593 (Bug#10624)
3594
3595 * wdired.el: Revert 2012-10-17 change partly and replace it with
3596 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3597 (wdired-finish-edit): Add marks for new file names to
3598 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3599 after `revert-buffer'.
3600 (wdired-do-renames): Remove calls to `dired-remove-file',
3601 `dired-add-file', `dired-add-entry'. (Bug#11795)
3602
3603 2012-11-24 Alan Mackenzie <acm@muc.de>
3604
3605 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3606
3607 Fix bugs in the state cache. Enhance a debugging mechanism.
3608 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3609 "brace at column zero" strategy for C++.
3610 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3611 (c-parse-state-point): New variable.
3612 (c-record-parse-state-state): Record old parse state with
3613 `copy-tree'. Record previous value of point.
3614 (c-debug-parse-state-double-cons): New debugging function.
3615 (c-debug-parse-state): Call the above new function.
3616 (c-toggle-parse-state-debug): Output a confirmatory message.
3617
3618 * progmodes/cc-mode.el (c-before-change, c-after-change):
3619 Call c-invalidate-state-cache from `c-before-change' instead of
3620 `c-after-change'.
3621
3622 2012-11-23 Chong Yidong <cyd@gnu.org>
3623
3624 * find-cmd.el (find-constituents): Add executable, ipath,
3625 readable, samefile, writable, daystart, regextype (Bug#12856).
3626
3627 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3628
3629 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3630
3631 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3632
3633 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3634 definition. This fixes a bootstrap failure.
3635 (calc-gregorian-switch): In menu, put dates before regions.
3636 This is easier to follow, lines up better in the menu, and lets us
3637 coalesce regions that switch at the same time. Give country
3638 names, not "Vatican", as that's better for non-expert users.
3639 Use names that are stable between the date of switch and now, e.g.,
3640 Bohemia and Moravia (which existed then and now) and not
3641 Czechoslovakia (which didn't exist then and doesn't exist now).
3642 What is now the U.S. mostly did not switch at the same time as
3643 Britain, so omit the U.S. Correct spelling of "Britain".
3644 Catholic Switzerland was too much of a mess, so omit it.
3645
3646 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3647
3648 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3649 after the variable is changed.
3650
3651 2012-11-21 Daniel Colascione <dancol@dancol.org>
3652
3653 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3654 in SQL declarations for font-lock.
3655 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3656
3657 2012-11-21 Glenn Morris <rgm@gnu.org>
3658
3659 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3660 (face-italic-p): Add optional argument "inherit".
3661
3662 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3663 Remove -p suffix from names, for consistency with other set-face-*.
3664 (set-face-inverse-video): Fix interactive spec.
3665 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3666 * textmodes/table.el (table--update-cell-face):
3667 Use set-face-inverse-video rather than now obsolete alias.
3668
3669 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3670
3671 * simple.el (line-move): Don't call line-move-partial if
3672 scroll-conservatively is in effect. (Bug#12927)
3673
3674 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3675
3676 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3677 Fallback on completion-at-point rather than
3678 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3679 (eshell-cmpl-initialize): Setup completion-at-point.
3680
3681 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3682
3683 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3684
3685 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3686
3687 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3688 are remote, check out-of-band property for both.
3689
3690 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3691
3692 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3693 code rewrite.
3694
3695 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3696
3697 More minor time fixes.
3698 * calendar/time-date.el: Commentary fix.
3699 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3700 too much other code depends on (0 0) time stamps.
3701 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3702 Add a couple of FIXME comments.
3703
3704 Minor cleanup for times as lists of four integers.
3705 * files.el (dir-locals-directory-cache):
3706 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3707 Doc fixes.
3708 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3709 * ps-bdf.el (bdf-file-newer-than-time):
3710 Process four-integers time stamps, not two. Doc fixes.
3711
3712 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3713
3714 * uniquify.el (uniquify-managed): Use defvar-local.
3715 (rename-buffer, create-file-buffer): Advise with advice-add.
3716 (uniquify-unload-function): Unadvise accordingly.
3717
3718 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3719 (trace-buffer): Don't purecopy.
3720 (trace-entry-message, trace-exit-message): Add `context' arg.
3721 (trace--timer): New var.
3722 (trace-make-advice): Adjust for use in nadvice.
3723 Add `context' argument. Delay `display-buffer' via a timer.
3724 (trace-function-internal): Use advice-add.
3725 (trace--read-args): New function.
3726 (trace-function-foreground, trace-function-background): Use it.
3727 (trace-function): Rename to trace-function-foreground and redefine as
3728 an alias to that new name.
3729 (untrace-function, untrace-all): Adjust to the use of nadvice.
3730
3731 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3732
3733 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3734
3735 * subr.el (called-interactively-p-functions): New var.
3736 (internal--called-interactively-p--get-frame): New macro.
3737 (called-interactively-p, interactive-p): Rewrite in Lisp.
3738 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3739 (called-interactively-p-functions): Use it.
3740 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3741 (called-interactively-p-functions): Use it.
3742 * allout.el (allout-called-interactively-p): Don't assume
3743 called-interactively-p is a subr.
3744
3745 2012-11-20 Glenn Morris <rgm@gnu.org>
3746
3747 * profiler.el (profiler-report-mode-map): Add a menu.
3748 No need to bind `q' because we derive from special-mode.
3749 (profiler-report-find-entry): Handle calls from the menu-bar.
3750
3751 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3752
3753 * emacs-lisp/byte-run.el (defun-declarations-alist):
3754 Allow a compiler-macro to be a lambda expression.
3755
3756 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3757 eval-when-compile.
3758 (python-syntax-context): Add compiler-macro.
3759 (python-font-lock-keywords): Simplify with De Morgan.
3760
3761 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3762
3763 * files.el (load-file): Require match in minibuffer selection, as was
3764 the case in Emacs-20 before we changed the spec to allow .elc files
3765 (bug#12935).
3766
3767 * json.el: Don't require cl since we don't use it.
3768 * color.el: Don't require cl.
3769 (color-complement): `caddr' -> `nth 2'.
3770
3771 * calendar/time-date.el (time-to-seconds): De-obsolete.
3772
3773 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3774
3775 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3776 year numbers.
3777 (math-date-to-julian-dt): Adjust the initial approximation for the
3778 year to deal with the new definition of the DATE.
3779
3780 2012-11-19 Daniel Colascione <dancol@dancol.org>
3781
3782 * term/w32-win.el (cygwin-convert-path-from-windows):
3783 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3784
3785 2012-11-18 Chong Yidong <cyd@gnu.org>
3786
3787 * filecache.el (file-cache--read-list): New function.
3788 (file-cache-add-directory-list, file-cache-add-file-list)
3789 (file-cache-delete-file-list, file-cache-delete-directory-list):
3790 Use it to read a list of files or directories (Bug#12846).
3791 (file-cache-add-file, file-cache-add-directory)
3792 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3793 (file-cache-delete-directory): Print an message.
3794
3795 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3796
3797 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3798 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3799
3800 2012-11-18 Glenn Morris <rgm@gnu.org>
3801
3802 * image.el (insert-image, insert-sliced-image): Doc fix.
3803
3804 2012-11-18 Chong Yidong <cyd@gnu.org>
3805
3806 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3807 (Bug#12810).
3808
3809 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3810
3811 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3812 response when the target file is in a subdirectory (Bug#12757).
3813
3814 2012-11-18 Chong Yidong <cyd@gnu.org>
3815
3816 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3817
3818 2012-11-18 Glenn Morris <rgm@gnu.org>
3819
3820 * emacs-lisp/cl-lib.el (face-underline-p):
3821 Use set-face-underline rather than the alias set-face-underline-p.
3822
3823 * window.el (with-temp-buffer-window): Doc fix.
3824 * subr.el (with-output-to-temp-buffer):
3825 Add doc xref to with-temp-buffer-window.
3826
3827 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3828
3829 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3830 * calc/calc.el (math-format-date-cache): Declare.
3831
3832 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3833
3834 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3835 It also uses January 1, 1 AD as its day number 1.
3836 * calc/calc-forms.el (math-julian-date-beginning)
3837 (math-julian-date-beginning-int): Implement this.
3838
3839 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3840
3841 * descr-text.el (quail-find-key):
3842 * dired.el (desktop-file-name):
3843 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3844 * generic-x.el (comint-mode, comint-exec):
3845 * image-dired.el (widget-forward):
3846 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3847 (speedbar-change-expand-button-char)
3848 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3849 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3850 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3851 (widget-field-action, widget-value-set):
3852 * speedbar.el (imenu--make-index-alist):
3853 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3854 (ring-length, ring-insert):
3855 * vcursor.el (compare-windows-skip-whitespace):
3856 * woman.el (dired-get-filename):
3857 Declare functions.
3858
3859 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3860
3861 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3862
3863 * calc/calc.el (calc-gregorian-switch): New variable.
3864
3865 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3866 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3867 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3868 (math-leap-year-p): Add option to distinguish between Julian
3869 and Gregorian calendars.
3870 (math-day-number): Use `math-day-in-year' to do the computations.
3871 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3872 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3873 to do the computations.
3874 (math-date-to-dt): Use `math-date-to-julian-dt' and
3875 `math-date-to-gregorian-dt' to do the computations.
3876 (calcFunc-weekday, math-format-date-part): Use the new version of
3877 the DATE to determine the weekday.
3878 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3879 when necessary.
3880
3881 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3882
3883 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3884 Cygwin; otherwise use 'file:'. (Bug#12914)
3885 (cygwin-convert-path-from-windows): Declare, to avoid
3886 byte-compiler warnings.
3887
3888 2012-11-17 Andreas Politz <politza@fh-trier.de>
3889
3890 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3891 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3892 prefix and negative numeric prefix args (Bug#12795).
3893
3894 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3895
3896 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3897 Don't signal an error with a score that is too low to add to the
3898 list of top scores. (Bug#12779)
3899
3900 2012-11-17 Chong Yidong <cyd@gnu.org>
3901
3902 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3903
3904 * filecache.el (file-cache-add-file): Handle relative file name in
3905 the argument (Bug#12694).
3906
3907 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3908
3909 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3910
3911 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3912
3913 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3914
3915 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3916
3917 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3918
3919 * window.el (enlarge-window, shrink-window): Don't mention return
3920 value in doc-string (Bug#12896).
3921 (window--display-buffer): Don't resize frames - it won't work
3922 with all window managers and defeat pop-up-frame-alist.
3923 (display-buffer-alist): In doc-string explain that CONDITION can
3924 be a function and which arguments are passed to it (Bug#12854).
3925 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3926 expressions (Bug#12854).
3927 (display-buffer): Pass ACTION argument to
3928 display-buffer-assq-regexp.
3929
3930 2012-11-16 Glenn Morris <rgm@gnu.org>
3931
3932 * window.el (fit-frame-to-buffer-bottom-margin)
3933 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3934
3935 * faces.el (face-underline-p): Use face-attribute-specified-or.
3936
3937 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3938
3939 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3940
3941 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3942
3943 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3944
3945 2012-11-16 Glenn Morris <rgm@gnu.org>
3946
3947 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3948 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3949
3950 * faces.el (face-underline-p): Doc fix. Handle :underline being
3951 things other than `t' (a string, a list).
3952 (face-inverse-video-p): Doc fix.
3953 (set-face-underline): Rename it back from set-face-underline-p.
3954 Doc fix. Allow interactive input of values other than t.
3955 (read-face-attribute): Apply formatting to :underline,
3956 since like :box and :stipple it can take list values.
3957
3958 * term.el (ansi-term): Don't let C-x escape-char binding
3959 clobber the more standard C-c binding. (Bug#12842)
3960
3961 * subr.el (set-temporary-overlay-map): Doc fix.
3962
3963 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3964
3965 * window.el (record-window-buffer)
3966 (display-buffer-record-window): When copying the markers to
3967 window-point preserve window-point-insertion-type. (Bug#12588)
3968
3969 2012-11-16 Glenn Morris <rgm@gnu.org>
3970
3971 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3972 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3973 Use new names for hooks rather than obsolete aliases.
3974
3975 2012-11-15 Daniel Colascione <dancol@dancol.org>
3976
3977 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3978 prefix instead of "file:" so that when FILE-NAME begins with "//",
3979 as it does when the target file is on a network share, url-handler
3980 isn't confused.
3981
3982 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3983
3984 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3985 a preactivated advice from an old advice.el; they're not compatible!
3986
3987 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3988
3989 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3990 Fix string-spec case.
3991
3992 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3993
3994 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3997 (advice--buffer-local-function-sample): New var.
3998 (advice--set-buffer-local, advice--buffer-local): New functions.
3999 (add-function, remove-function): Use them.
4000
4001 2012-11-15 Drew Adams <drew.adams@oracle.com>
4002
4003 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4004
4005 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4006
4007 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4008 potential binding of print-gensym to t, and prettify (back)quotes in
4009 case they appear in args's default values (bug#12884).
4010
4011 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4012
4013 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4014 (advice-eval-interactive-spec): New function.
4015 (advice--make-interactive-form): Support around advice (bug#12844).
4016
4017 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4018
4019 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4020 more strict. Add docstring.
4021 (ruby-expression-expansion-re): Extract from
4022 `ruby-match-expression-expansion'.
4023 (ruby-syntax-propertize-function): After everything else, search
4024 for expansions in string literals, mark their insides as
4025 whitespace syntax and save match data for font-lock.
4026 (ruby-font-lock-keywords): Use the 2nd group from expression
4027 expansion matches.
4028 (ruby-match-expression-expansion): Use the match data saved to the
4029 text property in ruby-syntax-propertize-function.
4030
4031 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4032
4033 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4034 (bug#12879).
4035
4036 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4037
4038 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4039 start/end keyword a bit harder. Works with different values of N.
4040 Add more comments.
4041 (ruby-end-of-block): Update accordingly.
4042
4043 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4044
4045 * woman.el (woman-file-name): Don't mess with unread-command-events
4046 (bug#12861).
4047
4048 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4049 Remove out of date self-require hack.
4050 (ad-do-advised-functions): Use simple `dolist'.
4051 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4052 (ad-advice-definition): Redefine as functions.
4053 (ad-advice-classes): Move before first use.
4054 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4055 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4056 (ad--defalias-fset): Remove functions.
4057 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4058 (ad-get-orig-definition): Rewrite.
4059 (ad-make-advised-definition-docstring): Change base docstring.
4060 (ad-real-orig-definition): Rewrite.
4061 (ad-map-arglists): Change name of called function.
4062 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4063 (ad-make-advised-definition): Simplify.
4064 (ad-assemble-advised-definition): Tweak for new calling context.
4065 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4066 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4067 function and call ad-activate if needed.
4068 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4069 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4070 (ad-compile-function): Compile ad-Advice-*.
4071 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4072 (ad-start-advice, ad-stop-advice): Remove.
4073
4074 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4075
4076 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4077 period before class method names, not after. Remove handling of
4078 one impossible case. Add comments.
4079
4080 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4081
4082 * emacs-lisp/advice.el: Remove support for freezing.
4083 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4084 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4085 Remove support for `freeze'.
4086
4087 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4088 override the default.
4089 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4090 cl--dotimes/dolist.
4091 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4092 `cl' is loaded.
4093
4094 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4095 from add-advice.
4096 (advice--strip-macro): New function.
4097 (advice--defalias-fset): Use them to handle macros.
4098 (advice-add): Use them.
4099 (advice-member-p): Correctly handle macros.
4100
4101 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4102
4103 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4104 Never font-lock the beginning of singleton class as heredoc.
4105
4106 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4107
4108 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4109
4110 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4111
4112 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4113 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4114 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4115
4116 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4117
4118 Fix end-of-defun misbehavior.
4119 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4120 python-beginning-of-defun-function. Handle nested defuns
4121 correctly.
4122 (python-nav-end-of-defun): Rename from
4123 python-end-of-defun-function. Ensure forward movement.
4124 (python-info-current-defun): Reimplement to work as intended
4125 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4126 parent defuns as soon as possible.
4127
4128 2012-11-13 Glenn Morris <rgm@gnu.org>
4129
4130 * progmodes/flymake.el (flymake-error-bitmap)
4131 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4132 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4133
4134 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4135
4136 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4137 backward, always stop at indentation. Reverts the change from
4138 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4139
4140 2012-11-13 Glenn Morris <rgm@gnu.org>
4141
4142 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4143 Add ibuffer-filter-by-derived-mode.
4144
4145 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4146 the same name shadowing each other.
4147
4148 * window.el (with-temp-buffer-window): Doc tweak.
4149
4150 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4151
4152 * help.el (temp-buffer-max-height):
4153 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4154 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4155
4156 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4157
4158 * emacs-lisp/nadvice.el: New package.
4159 * subr.el (special-form-p): New function.
4160 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4161 (elp-all-instrumented-list): Remove var.
4162 (elp-not-profilable): Remove elp-wrapper.
4163 (elp-profilable-p): Use autoloadp and special-form-p.
4164 (elp--advice-name): New const.
4165 (elp-instrument-function): Use advice-add.
4166 (elp--instrumented-p): New predicate.
4167 (elp-restore-function): Use advice-remove.
4168 (elp-restore-all, elp-reset-all): Use mapatoms.
4169 (elp-set-master): Use elp--instrumented-p.
4170 (elp--make-wrapper): Rename from elp-wrapper, return a function
4171 suitable for advice-add. Use cl-inf.
4172 (elp-results): Use mapatoms+elp--instrumented-p.
4173 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4174 (debug-function-list): Remove var.
4175 (debug): Rename arg, and then let-bind it explicitly inside.
4176 (debugger-setup-buffer): Rename arg.
4177 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4178 (debugger-frame-number): Adjust to new debug-on-entry setup.
4179 (debug--implement-debug-on-entry): Rename from
4180 implement-debug-on-entry, add argument.
4181 (debugger-special-form-p): Remove, use special-form-p instead.
4182 (debug-on-entry): Use advice-add.
4183 (debug--function-list): New function.
4184 (cancel-debug-on-entry): Use it, along with advice-remove.
4185 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4186 (debugger-list-functions): Use debug--function-list instead of
4187 debug-function-list.
4188 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4189 (ad-special-form-p): Remove, use special-form-p instead.
4190 (ad-set-advice-info): Use add-function and remove-function.
4191 (ad--defalias-fset): Adjust accordingly.
4192
4193 2012-11-10 Glenn Morris <rgm@gnu.org>
4194
4195 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4196 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4197 (report-emacs-bug-create-existing-bugs-buffer)
4198 (report-emacs-bug-parse-query-results)
4199 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4200
4201 * term.el (term-default-fg-color, term-default-bg-color):
4202 Make obsolete, rather than just saying "deprecated" in the doc.
4203
4204 * term.el (term): Rename from `term-face'.
4205 (term-current-face, ansi-term-color-vector)
4206 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4207 Update all users.
4208
4209 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4210
4211 * server.el (server-create-window-system-frame): Handle Nextstep
4212 specially (Bug#12780).
4213
4214 2012-11-10 Glenn Morris <rgm@gnu.org>
4215
4216 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4217 Unautoload, and make obsolete. (Bug#7449)
4218
4219 2012-11-10 Chong Yidong <cyd@gnu.org>
4220
4221 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4222 rename from diff-remove-trailing-whitespace (Bug#12831).
4223
4224 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4225
4226 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4227 miscompilation of trace.el.
4228
4229 2012-11-10 Glenn Morris <rgm@gnu.org>
4230
4231 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4232
4233 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4234
4235 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4236 (bug#12812).
4237
4238 2012-11-10 Chong Yidong <cyd@gnu.org>
4239
4240 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4241 a defcustom with an appropriate :set function.
4242 (minibuffer-default--in-prompt-regexps): New function.
4243
4244 2012-11-10 Glenn Morris <rgm@gnu.org>
4245
4246 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4247 (define-modify-macro): Doc fixes.
4248
4249 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4250 (gv-define-simple-setter): Update doc of `fix-return'.
4251
4252 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4253
4254 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4255 twice when `fix-return' is set (bug#12813).
4256
4257 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4258 gv-define-simple-setter (bug#12812).
4259
4260 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4261 (bug#12756).
4262
4263 2012-11-10 Glenn Morris <rgm@gnu.org>
4264
4265 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4266
4267 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4268 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4269 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4270 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4271
4272 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4273
4274 2012-11-10 Leo Liu <sdl.web@gmail.com>
4275
4276 * ido.el (ido-set-matches-1): Improve flex matching performance by
4277 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4278
4279 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4280
4281 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4282 (ad--defalias-fset): New function.
4283 (ad-safe-fset): Remove.
4284 (ad-make-freeze-definition): Use cl-letf*.
4285
4286 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * subr.el (dolist): Don't bind VAR in RESULT.
4289
4290 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4291 (fset, documentation): Don't save real def since we don't advise.
4292 (ad-do-advised-functions): Remove problematic `result-form'.
4293 (ad-safe-fset): `ad-real-fset' => `fset'.
4294 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4295 uses CL's dolist internally.
4296 (ad-arglist): Remove unused arg `name'.
4297 (ad-docstring, ad-make-advised-docstring):
4298 `ad-real-documentation' => `documentation'.
4299 (warning-suppress-types): Declare.
4300 (ad-set-arguments): Simple CSE.
4301 (ad-recover-normality): Sanity check.
4302
4303 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4304 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4305
4306 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4307
4308 * ses.el: symbol to coordinate mapping is made by symbol property
4309 `ses-cell'. This means that the same mapping is done for all SES
4310 sheets. That is good enough for cells with standard A1 names, but
4311 not for named cell. So a hash map is added for the latter.
4312 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4313 (ses-sym-rowcol): Use hashmap for named cell.
4314 (ses-is-cell-sym-p): New defun.
4315 (ses-decode-cell-symbol): New defun.
4316 (ses-create-cell-variable): Add cell to hashmap when name is not
4317 A1-like.
4318 (ses-rename-cell): Check that cell new name is not already in
4319 spreadsheet with the use of ses-is-cell-sym-p
4320 (ses-rename-cell): Use hash map for named cells, but accept also
4321 renaming back to A1-like.
4322
4323 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4324
4325 * emacs-lisp/advice.el: Use new dynamic docstrings.
4326 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4327 Use dynamic-docstring-function instead of ad-advice-info.
4328 (ad--make-advised-docstring): New function extracted from
4329 ad-make-advised-docstring.
4330 (ad-make-advised-docstring): Use it.
4331 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4332 from sql-help.
4333 (sql-help): Use it with dynamic-docstring-function.
4334
4335 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4336
4337 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * files.el (hack-one-local-variable--obsolete): New function.
4340 (hack-one-local-variable): Use it for obsolete settings.
4341
4342 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4343 the new name.
4344
4345 * progmodes/js.el (js--filling-paragraph): New var.
4346 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4347 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4348 less sneaky.
4349
4350 2012-11-08 Julien Danjou <julien@danjou.info>
4351
4352 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4353 `auto-mode-alist' (Bug#12835).
4354
4355 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4356
4357 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4358 (perl--prettify-symbols-alist): New const.
4359 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4360 New functions.
4361 (perl-font-lock-keywords-2): Use them.
4362 (perl-electric-noindent-p): New function.
4363 (perl-mode): Use it to set up electric-indent-mode.
4364 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4365 (perl-mode-map): Remove bindings for them.
4366 (perl-imenu-generic-expression, perl-outline-level):
4367 Match functions&packages in column>0.
4368
4369 * env.el (env--substitute-vars-regexp): New const.
4370 (substitute-env-vars): Use it. Add `only-defined' arg.
4371 * net/tramp.el (tramp-replace-environment-variables): Use it.
4372
4373 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4374 Byte-compile *before* eval in eval-and-compile.
4375 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4376 (byte-compile-file-form-autoload): Don't hide actual definition.
4377 (byte-compile-maybe-guarded): Accept `functionp' as well.
4378
4379 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4380
4381 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4382
4383 * notifications.el (notifications-get-server-information-method):
4384 New defconst.
4385 (notifications-get-capabilities): Fix docstring.
4386 (notifications-get-server-information): New defun.
4387
4388 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4389
4390 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4391 readability.
4392
4393 * textmodes/ispell.el: Experimental support for support debugging.
4394 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4395 buffer for ispell.
4396 (ispell-print-if-debug): New function to print stuff to
4397 `ispell-debug-buffer' if debugging is enabled.
4398 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4399 show some debugging info.
4400 (ispell-buffer-with-debug): New function that creates a debugging
4401 buffer and calls `ispell-buffer' with debugging enabled.
4402
4403 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4404 comment in autoconf mode. (Bug#12768)
4405
4406 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4407
4408 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4409 frame-first-window, frame-root-window, frame-selected-window,
4410 minibuffer-selected-window, minibuffer-window,
4411 window-absolute-pixel-edges, window-at, window-body-height,
4412 window-body-width, window-display-table, window-combination-limit,
4413 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4414 window-inside-edges, window-inside-pixel-edges, window-left-child,
4415 window-left-column, window-margins, window-next-buffers,
4416 window-next-sibling, window-new-normal, window-new-total,
4417 window-normal-size, window-parameter, window-parameters, window-parent,
4418 window-pixel-edges, window-point, window-prev-buffers,
4419 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4420 window-start, window-text-height, window-top-child, window-top-line,
4421 window-total-height, window-total-width and window-use-time to the list
4422 of functions without side-effects.
4423 (toplevel): Add window-valid-p to the list of error-free functions
4424 without side-effects.
4425
4426 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4427
4428 * textmodes/ispell.el (ispell-program-name):
4429 Update spellchecker parameters when customized.
4430
4431 2012-11-04 Glenn Morris <rgm@gnu.org>
4432
4433 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4434
4435 2012-11-04 Chong Yidong <cyd@gnu.org>
4436
4437 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4438 same-window-* variables.
4439
4440 2012-11-04 Juri Linkov <juri@jurta.org>
4441
4442 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4443 (isearch-describe-key, isearch-describe-mode): Use a display
4444 action instead of binding same-window-* variables (Bug#10040).
4445
4446 2012-11-03 Glenn Morris <rgm@gnu.org>
4447
4448 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4449 Rename handler properties back from cl-- to cl-. (Bug#12788)
4450
4451 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4452
4453 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4454
4455 * term/pc-win.el: Don't load term/internal from here.
4456
4457 * loadup.el: Load term/internal from here.
4458
4459 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4460
4461 * progmodes/python.el (inferior-python-mode): Fix hang in
4462 jit-lock (Bug#12645).
4463
4464 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4465
4466 * window.el (switch-to-visible-buffer)
4467 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4468
4469 2012-11-03 Glenn Morris <rgm@gnu.org>
4470
4471 * emacs-lisp/cl-lib.el (cl--random-time):
4472 Rename from cl-random-time. (Bug#12773)
4473 (cl--gensym-counter, cl--random-state): Update callers.
4474 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4475
4476 2012-11-03 Chong Yidong <cyd@gnu.org>
4477
4478 * cus-start.el: Make cursor-type customizable (Bug#11633).
4479
4480 2012-11-02 Glenn Morris <rgm@gnu.org>
4481
4482 * filecache.el: No need to load find-lisp when compiling.
4483 (find-lisp-find-files): Autoload it.
4484 (file-cache-add-directory-recursively): Don't require find-lisp.
4485
4486 * image.el (image-type-from-file-name): Trivial simplification.
4487
4488 * emacs-lisp/bytecomp.el (byte-compile-eval):
4489 Decouple "noruntime" and "cl-functions" warnings.
4490
4491 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4492
4493 * play/gomoku.el (gomoku-display-statistics): Update mode line
4494 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4495
4496 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4497
4498 * window.el (quit-restore-window): If the window has been
4499 created on an existing frame and ended up as the sole window on
4500 that frame, do not delete it (Bug#12764).
4501
4502 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4503
4504 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4505 Rename from sh--inside-arithmetic-expression, handle more cases
4506 (bug#11263).
4507
4508 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4509 (sh-font-lock-open-heredoc): Use it (bug#12770).
4510
4511 2012-10-30 Glenn Morris <rgm@gnu.org>
4512
4513 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4514
4515 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4516
4517 2012-10-29 Chong Yidong <cyd@gnu.org>
4518
4519 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4520 function key is stored in a keyboard macro (Bug#4894).
4521
4522 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4523
4524 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4525
4526 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4527 header comments".
4528 (diff-unified->context, diff-context->unified)
4529 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4530
4531 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4532
4533 * files.el (find-alternate-file): Only ask one question (bug#12487).
4534
4535 2012-10-29 Chong Yidong <cyd@gnu.org>
4536
4537 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4538 Suggested by Dan Nicolaescu (Bug#6326).
4539
4540 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4541
4542 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4543
4544 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4545
4546 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4547
4548 * face-remap.el (face-remap-add-relative): Handle the case where a
4549 face-remapping-alist entry is a cons cell (Bug#12762).
4550
4551 2012-10-29 Kevin Ryde <user42@zip.com.au>
4552
4553 * woman.el (woman-parse-numeric-value): Handle picas correctly
4554 (Bug#12639).
4555
4556 2012-10-29 Glenn Morris <rgm@gnu.org>
4557
4558 * emacs-lisp/cl.el (defsetf): Doc fix.
4559
4560 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4561
4562 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4563 syntax to the matching opener, if any (bug#12547).
4564 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4565 matching open as a "case-(".
4566 (sh-smie-rc-grammar): Add a corresponding rule for it.
4567
4568 2012-10-28 Daniel Hackney <dan@haxney.org>
4569
4570 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4571 "PKGNAME-autoloads.el" in case we created it.
4572
4573 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4574
4575 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4576 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4577 (completion--twq-all): Disable too-strict assertions.
4578
4579 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4580
4581 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4582
4583 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4584 text to match the real keybindings.
4585
4586 2012-10-27 Juri Linkov <juri@jurta.org>
4587
4588 * wdired.el (wdired-keep-marker-rename): New defcustom.
4589 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4590 (Bug#11795)
4591
4592 * dired.el (dired-keep-marker-rename): Add reference to
4593 `wdired-keep-marker-rename' in the docstring.
4594 Add default character value ?R to display initially in
4595 Customization UI instead of ?@.
4596
4597 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4598
4599 * window.el (display-buffer): In doc-string describe
4600 window-height and window-width alist entries.
4601
4602 * time.el (display-time-world): Restore fit-window-to-buffer
4603 behavior.
4604
4605 2012-10-27 Chong Yidong <cyd@gnu.org>
4606
4607 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4608
4609 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4610
4611 * minibuffer.el (completion-category-overrides): New completion
4612 category `bookmark' (bug#11131).
4613
4614 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4615
4616 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4617 Silence bogus compiler warnings for ad-do-it.
4618
4619 * bookmark.el (bookmark-completing-read): Set the completion category
4620 to `bookmark' (bug#11131).
4621
4622 2012-10-26 Bastien <bzg@altern.org>
4623 Stefan Monnier <monnier@iro.umontreal.ca>
4624
4625 * face-remap.el: Use lexical-binding.
4626 (text-scale-adjust): Improve docstring. Use itself for the temporary
4627 overlay-map bindings, so as to repeat the "Use..." message each time.
4628
4629 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4630
4631 * emacs-lisp/macroexp.el (macroexp--expand-all):
4632 Obey byte-compile-warning-enabled-p (bug#12486).
4633
4634 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4635 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4636
4637 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4638
4639 * mouse.el (mouse-drag-line): Move last form into preceding when
4640 clause (Bug#12731).
4641
4642 * help.el (resize-temp-buffer-window): Fix doc-string.
4643
4644 2012-10-25 David Engster <deng@randomsample.de>
4645
4646 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4647 Remove. This feature is already integrated in imenu.
4648
4649 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4650 always loaded. Require `speedbar' unconditionally.
4651
4652 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4655
4656 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4657
4658 * net/ldap.el (ldap-search-internal): The official ldif format starts
4659 with a "version: 1" header (bug#12724).
4660
4661 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4662 (bug#12721).
4663
4664 2012-10-25 Glenn Morris <rgm@gnu.org>
4665
4666 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4667
4668 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4669
4670 * minibuffer.el (minibuffer-force-complete): Use one more marker
4671 for the temporary-overlay-map command (bug#12619).
4672
4673 2012-10-24 Chong Yidong <cyd@gnu.org>
4674
4675 * time.el (display-time-world-mode): Derive from special-mode.
4676 (display-time-world): Use display-buffer (Bug#12708).
4677 (display-time-world-mode-map): Variable deleted.
4678 (display-time-world-display): Wrap the final delete-char inside
4679 inhibit-read-only.
4680
4681 2012-10-24 Chong Yidong <cyd@gnu.org>
4682
4683 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4684 Doc fix.
4685
4686 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4687
4688 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4689
4690 * minibuffer.el (completion--all-sorted-completions-location): New var.
4691 (completion--cache-all-sorted-completions)
4692 (completion--flush-all-sorted-completions): Use it.
4693 (completion-in-region, completion-in-region--postch)
4694 (completion-at-point, completion-help-at-point): Use markers in
4695 completion-in-region--data (bug#12619).
4696
4697 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4698
4699 * progmodes/compile.el (compilation-start): Try to handle common
4700 quoting of `cd' argument (bug#12640).
4701
4702 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4703 (bug#12671).
4704
4705 2012-10-23 Glenn Morris <rgm@gnu.org>
4706
4707 * progmodes/gud.el (gud-menu-map):
4708 Check gdb-active-process is bound. (Bug#12358)
4709
4710 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4711
4712 * repeat.el (repeat): Set real-this-command (bug#12232).
4713
4714 * htmlfontify.el (hfy-post-html-hook):
4715 * filesets.el (filesets-cache-fill-content-hook):
4716 * arc-mode.el (archive-extract-hook):
4717 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4718 * net/rcirc.el (rcirc-sentinel-functions)
4719 (rcirc-receive-message-functions, rcirc-activity-functions)
4720 (rcirc-print-functions):
4721 * net/dbus.el (dbus-event-error-functions):
4722 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4723 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4724 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4725 * term/sun.el (sun-raw-prefix-hooks):
4726 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4727
4728 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4729
4730 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4731 Set `tramp-chunksize' to 1. This improves the performance.
4732 (tramp-smb-wait-for-output): Add timeout to
4733 `tramp-accept-process-output' calls.
4734
4735 2012-10-23 Chong Yidong <cyd@gnu.org>
4736
4737 * faces.el (font-list-limit): Define as an obsolete variable.
4738
4739 * startup.el (command-line):
4740 * cus-start.el: Don't refer to font-list-limit.
4741
4742 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4743
4744 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4745
4746 * subr.el (internal-temp-output-buffer-show): Rename from
4747 temp-output-buffer-show, since previously compiled files expect this name.
4748
4749 2012-10-23 Glenn Morris <rgm@gnu.org>
4750
4751 * image.el (image-type-from-file-name): If multiple types match,
4752 return the first one that is supported. (Bug#9045)
4753
4754 2012-10-22 Glenn Morris <rgm@gnu.org>
4755
4756 * image.el (imagemagick-enabled-types): Doc fix.
4757
4758 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4759
4760 * progmodes/which-func.el (which-func-current): The hash-table may have
4761 an explicit nil (bug#12338).
4762
4763 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4764
4765 * electric.el (electric-pair-delete-selection-self-insert-function):
4766 Rename to electric-pair-will-use-region, return a boolean.
4767 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4768
4769 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4770 (delete-selection-pre-hook): Use use-region-p.
4771 (delete-selection-self-insert-function): Remove.
4772 (self-insert-command): Obey self-insert-uses-region-functions.
4773 (self-insert-iso): Revert to previous setting, since we don't actually
4774 know what that command does.
4775 (delete-selection-self-insert-hooks): Remove.
4776
4777 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4778
4779 * delsel.el (delete-selection-helper): New function, extracted from
4780 delete-selection-pre-hook.
4781 (delete-selection-pre-hook): Use it.
4782 (delete-selection-self-insert-function): New function.
4783 (delete-selection-self-insert-hooks): New hook.
4784 (self-insert-command, self-insert-iso): Use it.
4785 * electric.el (electric-pair-syntax): New function, extracted from
4786 electric-pair-post-self-insert-function.
4787 (electric-pair-post-self-insert-function): Use it.
4788 (electric-pair-delete-selection-self-insert-function): New function.
4789 (electric-pair-mode): Require delsel and setup
4790 delete-selection-self-insert-hooks (bug#11520).
4791
4792 2012-10-20 Chong Yidong <cyd@gnu.org>
4793
4794 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4795 no changes to show (Bug#12586).
4796
4797 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4798 list explicitly (Bug#12571).
4799
4800 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4801
4802 * progmodes/flymake.el (flymake-create-temp-inplace):
4803 Use file-truename.
4804
4805 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4806
4807 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4808
4809 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4810
4811 * calc/calc-units.el (math-extract-units): Properly extract powers
4812 of units.
4813
4814 2012-10-20 Daniel Colascione <dancol@dancol.org>
4815
4816 * frame.el (make-frame): Set x-display-name as we used to in order
4817 to unbreak creating an X11 frame from an Emacs daemon started
4818 without a display.
4819
4820 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4821
4822 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4823 the same completion-field (bug#12221).
4824
4825 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4826
4827 * emacs-lisp/debug.el (debug): Record height of debugger window
4828 also when debugger will be back (Bug#8789).
4829
4830 2012-10-18 Chong Yidong <cyd@gnu.org>
4831
4832 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4833 Convert to defcustom.
4834 (gdb-get-source-file): Don't bind pop-up-windows.
4835
4836 * progmodes/gud.el (gud-display-line): Don't specially re-use
4837 other frames for the gdb-mi case (Bug#12648).
4838
4839 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4840
4841 * emacs-lisp/advice.el: Clean up commentary a bit.
4842 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4843 (byte-code-function-p): Never redefine.
4844
4845 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4846
4847 2012-10-18 Glenn Morris <rgm@gnu.org>
4848
4849 * dired.el (dired-sort-toggle): Some ls implementations only allow
4850 a single option string. (Bug#12666)
4851
4852 * minibuffer.el (completion-cycle-threshold): Doc fix.
4853
4854 2012-10-17 Kenichi Handa <handa@gnu.org>
4855
4856 * international/mule.el (set-keyboard-coding-system):
4857 Recover input meta mode when the new coding system doesn not use 8-bit.
4858 Supply TERMINAL arg to set-input-meta-mode.
4859
4860 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4861
4862 * wdired.el (wdired-old-marks): New variable.
4863 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4864 (wdired-do-renames): Move point with renamed file and don't lose
4865 mark status (Bug#11795).
4866
4867 2012-10-16 Juri Linkov <juri@jurta.org>
4868
4869 * replace.el (query-replace-help): Mention multi-buffer replacement
4870 keys in the Help message. (Bug#12655)
4871
4872 2012-10-15 Chong Yidong <cyd@gnu.org>
4873
4874 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4875
4876 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4877
4878 * window.el (display-buffer): Doc fix.
4879
4880 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4881 Adjust the msft regexp to the output of Studio 2010, and move msft
4882 before edg-1. See the discussion on emacs-devel,
4883 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4884 for the details.
4885
4886 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4887
4888 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4889 (oset): Move uses of object-class-fast macro after its definition.
4890
4891 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4892
4893 2012-10-13 Chong Yidong <cyd@gnu.org>
4894
4895 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4896 enabled, re-enable it (Bug#11963).
4897
4898 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4899
4900 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4901 non-nil, restore window configuration (Bug#12623).
4902
4903 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4904
4905 * help-fns.el (describe-variable, describe-function-1):
4906 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4907
4908 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4909
4910 2012-10-12 Glenn Morris <rgm@gnu.org>
4911
4912 * mail/rmailsum.el (rmail-header-summary):
4913 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4914
4915 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4916
4917 * progmodes/python.el (python-mode-map):
4918 Replace subtitute-key-definition with proper command remapping.
4919 (python-nav--up-list): Fix behavior for blocks on the same level.
4920
4921 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4922
4923 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4924
4925 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4926 changes to the format of load-history.
4927
4928 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4929 completion-ignore-case in case that var is buffer-local (bug#12615).
4930
4931 2012-10-11 Kenichi Handa <handa@gnu.org>
4932
4933 * international/eucjp-ms.el: Re-generated.
4934
4935 2012-10-10 Kenichi Handa <handa@gnu.org>
4936
4937 * select.el (xselect--encode-string): If a coding is specified for
4938 selection, and that is compatible with COMPOUND_TEXT, use it.
4939
4940 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4941
4942 * window.el (switch-to-buffer-preserve-window-point): New option.
4943 (switch-to-buffer):
4944 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4945
4946 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4947
4948 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4949 Don't document nil as a useful value (bug#12583).
4950
4951 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4952
4953 * net/tramp.el (tramp-debug-message):
4954 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4955 (with-tramp-progress-reporter): Rename from
4956 `tramp-with-progress-reporter'.
4957 (with-tramp-file-property, with-tramp-connection-property):
4958 Move from tramp-cache.el, rename from `with-file-property' and
4959 `with-connection-property', respectively.
4960
4961 * net/tramp-cache.el: Remove `with-file-property' and
4962 `with-connection-property'.
4963
4964 * net/tramp.el:
4965 * net/tramp-gvfs.el:
4966 * net/tramp-sh.el:
4967 * net/tramp-smb.el: Adapt callees.
4968
4969 * net/trampver.el: Update release number.
4970
4971 2012-10-09 Glenn Morris <rgm@gnu.org>
4972
4973 * w32-fns.el (set-message-beep):
4974 * term/w32-win.el (set-message-beep): Update declarations.
4975
4976 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4977
4978 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4979 (mode-line-widen, mode-line-input-method-map)
4980 (mode-line-coding-system-map, mode-line-remote)
4981 (mode-line-unbury-buffer, mode-line-bury-buffer)
4982 (mode-line-next-buffer, mode-line-previous-buffer):
4983 Replace save-selected-window+select-window => with-selected-window.
4984
4985 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4986 * progmodes/cc-vars.el (bq-process): Remove, unused.
4987
4988 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4989
4990 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4991
4992 Implemented `backward-up-list'-like navigation.
4993 * progmodes/python.el (python-nav-up-list)
4994 (python-nav-backward-up-list): New functions.
4995 (python-mode-map): Define substitute key for backward-up-list to
4996 python-nav-backward-up-list.
4997
4998 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4999
5000 * progmodes/python.el (python-fill-paragraph): Rename from
5001 python-fill-paragraph-function. Fixed fill-paragraph for
5002 decorators (Bug#12605).
5003
5004 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5005
5006 * progmodes/python.el (python-shell-output-filter): Handle extra
5007 carriage return in OSX (Bug#12409).
5008
5009 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5010
5011 Fix shell handling of unbalanced quotes and parens in output.
5012 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5013 (python-syntax-propertize-function): Use it.
5014 (python-shell-output-syntax-table): New var.
5015 (inferior-python-mode): Prevent unbalanced parens/quotes from
5016 previous output mess with current input context.
5017
5018 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5019
5020 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5021 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5022
5023 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5024
5025 * ffap.el (ffap-replace-file-component): Support Tramp file name
5026 syntax, not only ange-ftp's one.
5027
5028 2012-10-08 Glenn Morris <rgm@gnu.org>
5029
5030 * cus-start.el (message-log-max): Set :version.
5031
5032 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5033
5034 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5035
5036 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5037 the minibuffer window (Bug#10851).
5038
5039 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5040
5041 Enhancements on forward-sexp movement.
5042 * progmodes/python.el (python-nav-beginning-of-statement)
5043 (python-nav-end-of-statement): Return point-marker.
5044 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5045 (python-info-current-symbol)
5046 (python-info-statement-starts-block-p): Rename from
5047 python-info-beginning-of-block-p.
5048 (python-info-statement-ends-block-p): Rename from
5049 python-info-end-of-block-p.
5050 (python-info-beginning-of-statement-p)
5051 (python-info-end-of-statement-p)
5052 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5053 New functions.
5054
5055 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5056
5057 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5058 frame-selected-windows.
5059
5060 2012-10-08 Daniel Colascione <dancol@dancol.org>
5061
5062 * battery.el (battery-status-function): Check for
5063 w32-battery-status itself, not system-time windows-nt.
5064
5065 * frame.el: Require cl-lib.
5066 (display-format-alist): New variable mapping frame types to
5067 functions that initialize them.
5068 (window-system-for-display): New function: interprets
5069 display-format-alist.
5070 (make-frame-on-display): Remove existing display-selection logic
5071 and just forward to make-frame, which will now DTRT.
5072 (make-frame): Restructure to use window-system-for-display to
5073 figure out how to create a frame on a given display.
5074 (display-mouse-p): Look for frame-type w32, not a particular
5075 system-type.
5076
5077 * loadup.el: Load w32 lisp code when we have the w32 feature.
5078
5079 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5080 system-type windows-nt.
5081
5082 * server.el (server-create-window-system-frame): Look for window
5083 type.
5084 (server-proces-filter): Only force a window system when windows-nt
5085 _and_ w32. Explain why.
5086
5087 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5088 of window systems we configure for the mode.
5089
5090 * startup.el (command-line): Mark window system is initialized
5091 after we've done it.
5092
5093 * common-win.el (x-select-text): Look for w32, not windows-nt.
5094
5095 * ns-win.el: Require cl-lib. Add ourselves to
5096 display-format-alist.
5097 (ns-initialize-window-system): Assert we're not initialized twice.
5098
5099 * w32-win.el: Enable lexical binding; require cl-lib; add
5100 ourselves to display-format-alist.
5101 (w32-handle-dropped-file): Convert incoming dropped files from
5102 Windows paths to Cygwin ones before passing them on to the rest of
5103 Emacs.
5104 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5105 (w32-initialize-window-system): Assert we're not initialized twice.
5106
5107 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5108 (x-initialize-window-system): Assert we're not initialized twice.
5109
5110 * w32-common-fns.el: New File.
5111 (w32-version, w32-using-nt, w32-get-clipboard-data)
5112 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5113 (w32-charset-info-alist, x-last-selected, text)
5114 (x-get-selection-value, x-selection-value): Move here.
5115
5116 * w32-fns.el: Require w32-common-fns.
5117 (w32-version, w32-using-nt, w32-get-clipboard-data)
5118 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5119 (w32-charset-info-alist, x-last-selected, text)
5120 (x-get-selection-value, x-selection-value): Move to
5121 w32-common-fns.
5122
5123 * w32-vars.el:
5124 (w32-allow-system-shell, w32-system-shells): Define only in
5125 non-cygwin case.
5126
5127 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5130 (read-passwd): Remove a few more potential sources of leaks.
5131
5132 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5133
5134 * progmodes/python.el (inferior-python-mode)
5135 (python-shell-make-comint): Fix initialization of local
5136 variables copied from parent buffer.
5137
5138 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5139
5140 * term/ns-win.el (ns-read-file-name): Update declaration to match
5141 nsfns.m.
5142 (ns-respond-to-change-font): Change fontsize separatly so we are sure
5143 it is set when font is acted upon.
5144
5145 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5146
5147 Enhancements to indentation.
5148 * progmodes/python.el (python-indent-context): Give priority to
5149 inside-string context. Make comments indentation markers.
5150 (python-indent-region): Do not mess with strings, unless it's the
5151 enclosing set of quotes.
5152
5153 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5154
5155 * window.el (internal--before-save-selected-window)
5156 (internal--after-save-selected-window): New functions extracted from
5157 save-selected-window. Make sure we return the `alist' we construct.
5158 (save-selected-window): Use them.
5159
5160 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5161 Use with-selected-window.
5162
5163 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5164 forms that define macros (bug#12593).
5165
5166 2012-10-07 Kenichi Handa <handa@gnu.org>
5167
5168 * international/mule-conf.el (compound-text-with-extensions):
5169 Add :mime-charset property as x-ctext.
5170
5171 2012-10-07 Stefan Merten <smerten@oekonux.de>
5172
5173 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5174 (rst-indent-literal-normal, rst-indent-literal-minimized)
5175 (rst-indent-comment): Correct :version tag.
5176 (rst-official-cvs-rev): Correct version string.
5177
5178 2012-10-07 Glenn Morris <rgm@gnu.org>
5179
5180 * mail/rmailmm.el (rmail-mime-process-multipart):
5181 Do not confuse a multipart message with an epilogue
5182 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5183
5184 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5185
5186 Fix shell output retrieval and comint-prompt-regexp init.
5187 * progmodes/python.el (inferior-python-mode):
5188 (python-shell-make-comint): Fix initialization of
5189 comint-prompt-regexp from copied file local variables.
5190 (python-shell-fetched-lines): Remove var.
5191 (python-shell-output-filter-in-progress): Rename from
5192 python-shell-fetch-lines-in-progress.
5193 (python-shell-output-filter-buffer): Rename from
5194 python-shell-fetch-lines-string.
5195 (python-shell-fetch-lines-filter): Delete function.
5196 (python-shell-output-filter): New function.
5197 (python-shell-send-string-no-output): Use them.
5198
5199 2012-10-07 Glenn Morris <rgm@gnu.org>
5200
5201 * hi-lock.el (hi-lock-process-phrase):
5202 Try to make it less fragile. (Bug#7161)
5203
5204 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5205
5206 2012-10-06 Glenn Morris <rgm@gnu.org>
5207
5208 * ehelp.el (electric-help-mode): Use help-mode rather than
5209 non-existent mode `help'.
5210 (electric-help-map): Use button-buffer-map. (Bug#10917)
5211
5212 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5213 (reftex-create-bibtex-footer): Fix custom types.
5214
5215 * progmodes/sh-script.el (sh-indent-after-continuation):
5216 Add explicit :group.
5217
5218 * textmodes/rst.el (rst-preferred-decorations)
5219 (rst-shift-basic-offset): Clarify obsolescence versions.
5220
5221 * profiler.el (profiler): Add missing group :version tag.
5222 * avoid.el (mouse-avoidance-banish-position):
5223 * proced.el (proced-renice-command):
5224 * calc/calc.el (calc-ensure-consistent-units):
5225 * calendar/icalendar.el (icalendar-import-format-uid):
5226 * net/tramp.el (tramp-save-ad-hoc-proxies):
5227 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5228 * progmodes/flymake.el (flymake-error-bitmap)
5229 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5230 * progmodes/sh-script.el (sh-indent-after-continuation):
5231 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5232 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5233 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5234 (vhdl-array-index-record-field-in-sensitivity-list)
5235 (vhdl-indent-comment-like-next-code-line):
5236 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5237 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5238 (reftex-cite-key-separator, reftex-create-bibtex-header)
5239 (reftex-create-bibtex-footer):
5240 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5241 (rst-indent-literal-normal, rst-indent-literal-minimized)
5242 (rst-indent-comment): Add missing custom :version tags.
5243
5244 * calendar/timeclock.el (timeclock-modeline-display):
5245 Add missing obsolete alias for renamed user option.
5246
5247 * strokes.el (strokes-modeline-string):
5248 * emulation/crisp.el (crisp-mode-modeline-string):
5249 * eshell/esh-mode.el (eshell-status-in-modeline):
5250 Aliases to defcustoms must come before the defcustom.
5251
5252 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5253 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5254 (cal-tex-cursor-week-monday): Doc fixes.
5255 (cal-tex-cursor-week2-summary): Doc fix.
5256 Rename from cal-tex-cursor-week-at-a-glance.
5257
5258 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5259 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5260
5261 * calendar/calendar.el (calendar-mode-map):
5262 Add cal-tex-cursor-week2-summary.
5263
5264 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5265
5266 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5267
5268 * subr.el (read-passwd-map): New var.
5269 (read-passwd): Use `read-string' again.
5270 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5271
5272 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5273
5274 * register.el (append-to-register, prepend-to-register):
5275 Deactivate mark, as does `copy-to-register' (bug#12389).
5276
5277 2012-10-06 Chong Yidong <cyd@gnu.org>
5278
5279 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5280
5281 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5282
5283 * international/characters.el: Fix simple mistake ((car chars) ->
5284 elt), delete duplicated code.
5285
5286 2012-10-06 Glenn Morris <rgm@gnu.org>
5287
5288 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5289
5290 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5291
5292 * color.el (color-hsl-to-rgb): Fix incorrect results for
5293 small and large hue values. (Bug#12559)
5294
5295 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5296
5297 Enhancements to docstring formatting when filling paragraphs.
5298 * progmodes/python.el (python-fill-docstring-style): Rename from
5299 python-fill-string-style. Added new style.
5300 (python-fill-string): Use new style. Better checks for
5301 docstrings.
5302
5303 2012-10-05 Glenn Morris <rgm@gnu.org>
5304
5305 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5306
5307 * color.el (color-name-to-rgb, color-rgb-to-hex)
5308 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5309 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5310 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5311 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5312
5313 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5314
5315 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5316
5317 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5318 to get the correct size across symlinks.
5319
5320 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5321
5322 2012-10-04 Juri Linkov <juri@jurta.org>
5323
5324 * replace.el (query-replace-interactive): Declare obsolete.
5325 (query-replace-read-from): Add the last incremental search string
5326 to the list of default values accessible via M-n.
5327 (map-query-replace-regexp): Use `read-regexp'.
5328 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5329 (map-query-replace-regexp, replace-string, replace-regexp):
5330 Fix docstrings to replace mentions of `query-replace-interactive'
5331 with alternatives. (Bug#12526)
5332
5333 2012-10-04 Juri Linkov <juri@jurta.org>
5334
5335 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5336 (dired-pop-to-buffer): Declare obsolete.
5337 (dired-mark-pop-up): Doc fix.
5338
5339 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5340
5341 Allow user to set docstring style for fill-paragraph.
5342 * progmodes/python.el
5343 (python-fill-comment-function, python-fill-string-function)
5344 (python-fill-decorator-function, python-fill-paren-function):
5345 Remove :safe for defcustoms.
5346 (python-fill-string-style): New defcustom
5347 (python-fill-paragraph-function): Enhance context detection.
5348 (python-fill-string): Honor python-fill-string-style settings.
5349
5350 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5351
5352 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5353 after setting its buffer (Bug#10805).
5354
5355 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5356
5357 Fix cornercase for string syntax.
5358 * progmodes/python.el (python-syntax-propertize-function):
5359 Simplify and enhance the regexp for unescaped quotes. Now it also
5360 matches quotes in weird situations like the single quote in
5361 "something\"'".
5362 (python-syntax-stringify): Simplify num-quotes detecting code.
5363
5364 2012-10-03 Glenn Morris <rgm@gnu.org>
5365
5366 * help-macro.el (three-step-help):
5367 Revert 2012-09-29 change. (Bug#12567)
5368
5369 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5370
5371 * menu-bar.el (kill-this-buffer): Don't do anything when
5372 `menu-frame' is not alive or visible (Bug#8184).
5373
5374 * emacs-lisp/debug.el (debug): When quitting the debugger window
5375 restore current buffer (Bug#12502).
5376
5377 2012-10-02 Chong Yidong <cyd@gnu.org>
5378
5379 * progmodes/hideif.el (hif-lookup, hif-defined):
5380 Handle semantic-c-takeover-hideif.
5381
5382 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5383
5384 Change sampling interval units from ms to ns.
5385 * profiler.el (profiler-sampling-interval): Change units
5386 from ms to ns, multiplying the default by 1000000 so that
5387 it remains 1 ms.
5388 (profiler-report-cpu-line-format): Give enough room for
5389 the maximum counters on 64-bit hosts.
5390 (profiler-report-render-calltree-1): Call them "CPU samples",
5391 not "Time (ms)", since they are not milliseconds now (and
5392 never really were).
5393
5394 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5395
5396 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5397 Fix querying BBDB for entries without a last name (Bug#11580).
5398
5399 2012-10-02 Chong Yidong <cyd@gnu.org>
5400
5401 * emacs-lisp/eieio.el: Restore Version header.
5402
5403 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5404
5405 * vc/diff-mode.el (diff--auto-refine-data): New var.
5406 (diff-hunk): Use it to delay refinement.
5407 (diff-mode): Remove overlays when we turn off font-lock.
5408
5409 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5410 (table-initialize-table-fixed-width-mode)
5411 (table-set-table-fixed-width-mode): Remove functions.
5412 (table-command-list): Move initialization into declaration.
5413 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5414 (table-with-cache-buffer): Use `declare'.
5415 (table-span-cell): Simplify via CSE.
5416 (table-fixed-width-mode): Use define-minor-mode.
5417 (table-call-interactively, table-funcall, table-apply): Remove.
5418 (table-function): New function, to replace them.
5419
5420 * bookmark.el (bookmark-search-pattern): Remove var.
5421 (bookmark-read-search-input): Remove function.
5422 (bookmark-bmenu-search): Reimplement using a minibuffer.
5423
5424 * faces.el (modeline): Remove obsolete face name.
5425
5426 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5427 and give a non-nil default value.
5428 (add-change-log-entry): Simplify accordingly.
5429
5430 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5431
5432 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5433 (vc-git-log-edit-toggle-amend): New function.
5434 (vc-git-log-edit-toggle-signoff): New function.
5435 (vc-git-log-edit-mode): New major mode.
5436 (vc-git-log-edit-mode-map): Keymap for it.
5437 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5438
5439 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5440 header names.
5441 (log-edit-toggle-header): New function.
5442 (log-edit-extract-headers): Accept function values in HEADERS alist.
5443
5444 2012-10-01 David Engster <deng@randomsample.de>
5445
5446 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5447 from symbol property and change message to be more consistent with
5448 Emacs proper.
5449 (eieio-describe-generic): Add filename for each implementation.
5450 Fix indices for generic and normal methods.
5451 (eieio-method-def, eieio-class-def): New buttons.
5452 (eieio-help-find-method-definition)
5453 (eieio-help-find-class-definition): New functions.
5454 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5455 class, constructor and method definitions.
5456
5457 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5458 information in symbol property.
5459 (scoped-class): Remove.
5460 (eieio-slot-name-index, call-next-method): Check if it is bound.
5461
5462 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5463
5464 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5465 (eieio-custom-mode): New major mode.
5466 (eieio-customize-object): Use it.
5467
5468 2012-10-01 Eric Ludlam <zappo@gnu.org>
5469
5470 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5471 specifying the expected class, and whether subclassing is allowed.
5472 (eieio-persistent-convert-list-to-object):
5473 (eieio-persistent-validate/fix-slot-value)
5474 (eieio-persistent-slot-type-is-class-p): New functions.
5475 (eieio-named::slot-missing): Doc fix.
5476
5477 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5478 Stop using unused publd variable.
5479
5480 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5481 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5482 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5483 (eieio-speedbar-handle-click): Do not specify a class for the
5484 method. Fixes method invocation order problems with EDE.
5485
5486 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5487
5488 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5489 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5490
5491 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5492
5493 * bookmark.el (bookmark-version-control): Give tags in the
5494 :type choices (Bug#12309), and improve doc string.
5495 (bookmark-write-file): Bind `print-circle' to `t' to allow
5496 circular custom bookmark types. (Bug#12503)
5497
5498 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5499
5500 Revert the FOLLOW-SYMLINKS change for file-attributes.
5501 * files.el (remote-file-name-inhibit-cache, after-find-file):
5502 * time.el (display-time-file-nonempty-p): Undo last change.
5503
5504 * profiler.el (profiler-sampling-interval): Change default back to 1.
5505 See Stefan Monnier in
5506 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5507
5508 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5509
5510 Shell output catching a la gud-gdb.
5511 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5512 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5513 New Vars.
5514 (python-shell-fetch-lines-filter): New function.
5515 (python-shell-send-string-no-output): Use them.
5516
5517 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5518
5519 * profiler.el (profiler-sampling-interval): Rename from
5520 profiler-sample-interval.
5521 (profiler-sampling-interval): Default to 10.
5522 (profiler-find-profile): New command (was profiler-find-log).
5523 (profiler-find-profile-other-window): New command.
5524 (profiler-find-profile-other-frame): New command.
5525 (profiler-profile): Introduce API-level data structure.
5526
5527 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5528
5529 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5530 * files.el (remote-file-name-inhibit-cache):
5531 * time.el (display-time-file-nonempty-p): Use it.
5532 * files.el (after-find-file): Don't chase links before calling
5533 file-exists-p, as file-exists-p already does the right thing.
5534
5535 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5536
5537 Merge from standalone RefTeX repository.
5538
5539 The following ChangeLog entries are shortened versions of the
5540 original ones with file paths adapted. A not so strongly edited
5541 version of the original ChangeLog can be found in the commit log.
5542
5543 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5544 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5545 Correctly handle new value type returned by `reftex-citation'.
5546
5547 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5548 that entries with whitespace at various places are found.
5549 Doc fix. Include entries that are cross-referenced from cited entries.
5550 Include @String definitions in the resulting bib file. Add header
5551 and footer defined in `reftex-create-bibtex-header' and
5552 `reftex-create-bibtex-footer'.
5553 (reftex-do-citation): Make it possible again to insert
5554 non-existent entries. Save match data when asking for optional
5555 arguments. Return all keys, not just the first one.
5556 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5557 all citations in the same line.
5558 (reftex-parse-bibtex-entry): Accept additional optional argument
5559 `raw' and keep quotes or braces if it is non-nil. Match fields
5560 containing hyphens besides word constituents.
5561 (reftex-get-string-refs): New function.
5562 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5563 and ask if it should be reread in case it did.
5564 (reftex-pop-to-bibtex-entry)
5565 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5566 entries with spaces or tabs in front of arguments.
5567 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5568 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5569 Match entries containing numbers and symbol constituents.
5570 (reftex-do-citation, reftex-figure-out-cite-format):
5571 Use `reftex-cite-key-separator'.
5572
5573 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5574 (reftex-mouse-view-crossref): Explain why point is set.
5575
5576 * textmodes/reftex-global.el: Whitespace changes.
5577
5578 * textmodes/reftex-index.el: Move provide statement to end of
5579 file.
5580 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5581 (reftex-index-visit-phrases-buffer): Set marker when visiting
5582 buffer. This allows for returning from the phrases file to the
5583 file one was just editing instead of the file where the last
5584 phrases was added from.
5585 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5586 punctuation syntax as it usually is not used as string quote in
5587 TeX-related modes and may occur unmatched. The change also
5588 prevents fontification of quoted content.
5589 (reftex-index-phrases-mode): Use it.
5590
5591 * textmodes/reftex-parse.el (reftex-parse-from-file):
5592 Move backward one char if a `\' was matched after a section macro.
5593 (reftex-parse-from-file): Use beginning of match instead of end as
5594 bound.
5595
5596 * textmodes/reftex-ref.el: Adapt creation of
5597 `reftex-<package>-<macro>' functions to new structure of
5598 `reftex-ref-style-alist'.
5599 (reftex-reference): Use `reftex-ref-style-list' function.
5600 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5601 reference macro if `reftex-ref-macro-prompt' is non-nil.
5602 (reftex-reference): Pass refstyle to `reftex-format-special'.
5603 Determine reference macro by looking at
5604 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5605 Use only one special format function.
5606 (reftex-varioref-vref, reftex-fancyref-fref)
5607 (reftex-fancyref-Fref): Remove definitions. The functions are now
5608 generated from `reftex-ref-style-alist'.
5609 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5610 Remove.
5611 (reftex-format-special): New function.
5612
5613 * textmodes/reftex-sel.el
5614 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5615 of `reftex-ref-style-alist'. Remove code for testing macro type.
5616 (reftex-select-toggle-varioref)
5617 (reftex-select-toggle-fancyref): Remove.
5618 (reftex-select-cycle-ref-style-internal)
5619 (reftex-select-cycle-ref-style-forward)
5620 (reftex-select-cycle-ref-style-backward): New functions.
5621 (reftex-select-label-map): Use `v' and `V' for general cycling
5622 through reference styles. Add `p' for switching between number
5623 and page reference types.
5624
5625 * textmodes/reftex-toc.el (reftex-re-enlarge):
5626 Call `enlarge-window' only if there is something to do because in Emacs
5627 the horizontal version throws an error even if the parameter is 0.
5628
5629 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5630 (reftex-plug-into-AUCTeX): Doc fix.
5631 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5632 string. Adapt to new name.
5633 (reftex-ref-style-alist): Change structure so that it is not
5634 possible to use multiple different package names within a style.
5635 Remove the symbols for symbols for macro type distinction.
5636 Add characters for macro selection.
5637 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5638 (reftex-create-bibtex-footer): New variables.
5639 (reftex-format-ref-function): Mention third argument of special
5640 format function.
5641 (reftex-ref-style-alist, reftex-ref-style-default-list):
5642 New variables.
5643 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5644 to new implementation. Mark as obsolete. Add compatibility code
5645 for honoring the variable values in case they are set.
5646 (reftex-cite-format-builtin, reftex-bibliography-commands):
5647 Add support for ConTeXt.
5648 (reftex-format-ref-function, reftex-format-cite-function):
5649 Fix custom type.
5650 (reftex-cite-key-separator): New variable.
5651
5652 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5653 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5654 `reftex-syntax-table' because parens have to retain their paren
5655 syntax in order for parsing of BibTeX entries like @book(...) to
5656 work.
5657 (reftex-in-comment): Do not error out if `comment-start-skip' is
5658 not set. Deal correctly with escaped comment characters.
5659 (reftex-tie-multifile-symbols): Add doc string.
5660 Initialize `reftex-ref-style-list'.
5661 (reftex-untie-multifile-symbols): Add doc string.
5662 (reftex-add-index-macros): Doc fix.
5663 (reftex-ref-style-activate, reftex-ref-style-toggle)
5664 (reftex-ref-style-list): New functions.
5665 (reftex-mode-menu): Use them. Adapt to new structure of
5666 `reftex-ref-style-alist'.
5667 (reftex-select-with-char): Kill the RefTeX Select buffer when
5668 done.
5669 (reftex-remove-if): New function.
5670 (reftex-erase-all-selection-and-index-buffers)
5671 (reftex-mode-menu): Reference styles are now computed from
5672 `reftex-ref-style-alist'. Fix typo.
5673 (reftex-report-bug): New function.
5674 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5675 algorithms with O(n log n). Introduce optional argument SORT (not
5676 yet used).
5677
5678 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5679
5680 Enhancements for triple-quote string syntax.
5681 * progmodes/python.el (python-syntax-propertize-function):
5682 Match both quote cases in one regexp.
5683 (python-syntax-stringify): Handle matches properly.
5684
5685 2012-09-30 Juri Linkov <juri@jurta.org>
5686
5687 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5688 to nil around the call to `insert' to prevent
5689 directory time modification by lock_file. (Bug#2295)
5690 * tar-mode.el (tar-summarize-buffer): Idem.
5691
5692 2012-09-30 Juri Linkov <juri@jurta.org>
5693
5694 * facemenu.el (list-colors-sort): Add option "Luminance".
5695 (list-colors-sort-key): Implement it.
5696
5697 * vc/diff-mode.el (diff-refine-removed):
5698 * vc/ediff-init.el (ediff-fine-diff-A):
5699 * vc/smerge-mode.el (smerge-refined-removed):
5700 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5701
5702 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5703
5704 * term/ns-win.el (x-file-dialog): New function.
5705
5706 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5707
5708 * ido.el (ido-max-directory-size): Default to nil; the current
5709 default is small for POSIX systems, and impractical on Windows 7
5710 now that lstat returns directory sizes for NTFS.
5711
5712 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5713
5714 In buffer display functions handle window-height/window-width
5715 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5716 * window.el (window--display-buffer): New argument ALIST.
5717 Obey window-height and window-width alist entries.
5718 (window--try-to-split-window): New argument ALIST.
5719 Bind window-combination-limit to t when the window's size shall be
5720 changed and window-combination-limit equals `window-size'.
5721 (display-buffer-in-atom-window)
5722 (display-buffer-in-major-side-window)
5723 (display-buffer-in-side-window, display-buffer-same-window)
5724 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5725 (display-buffer-pop-up-window, display-buffer-below-selected)
5726 (display-buffer-at-bottom, display-buffer-in-previous-window)
5727 (display-buffer-use-some-window): Adjust all callers of
5728 window--display-buffer and window--try-to-split-window.
5729 (fit-frame-to-buffer): New option.
5730 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5731 is non-nil.
5732 (display-buffer-in-major-side-window): Evaluate window-height /
5733 window-width alist entries.
5734
5735 * help.el (temp-buffer-resize-frames)
5736 (temp-buffer-resize-regexps): Remove options.
5737 (temp-buffer-resize-mode): Adjust doc-string.
5738 (resize-temp-buffer-window): Don't consult
5739 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5740 temp-buffer-resize-frames.
5741
5742 * dired.el (dired-mark-pop-up):
5743 Call display-buffer-below-selected with a fit-window-to-buffer alist
5744 entry.
5745
5746 2012-09-30 Chong Yidong <cyd@gnu.org>
5747
5748 * server.el (server-host): Document the security implications.
5749 (server-auth-key): Doc fix.
5750
5751 * startup.el (initial-buffer-choice): Doc fix.
5752
5753 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5754
5755 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5756 restriction change.
5757
5758 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5759
5760 * help-fns.el (help-fns--obsolete): Fix last change.
5761
5762 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5763
5764 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5765 (minor-mode-map-alist): Remove redundant code.
5766
5767 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5768 visited in a buffer.
5769 (cvs-insert-visited-file): New function.
5770 (find-file-hook): Use it.
5771
5772 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5773
5774 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5775 chose face.
5776 (log-edit-empty-buffer-p): Don't require a space after a header.
5777
5778 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5779
5780 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5781
5782 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5783 a proper minor-mode.
5784
5785 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5786
5787 2012-09-29 Glenn Morris <rgm@gnu.org>
5788
5789 * winner.el (winner-mode): Remove variable (let define-minor-mode
5790 handle it).
5791 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5792 Doc fixes.
5793 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5794 (winner-mode): Use define-minor-mode.
5795
5796 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5797 the full definition in loaddefs, rather than duplicating it.
5798
5799 * help-macro.el (three-step-help): No need to autoload defcustom.
5800
5801 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5802 (inferior-lisp-program, inferior-lisp-load-command)
5803 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5804 No need to autoload defcustoms.
5805
5806 * hippie-exp.el (hippie-expand-try-functions-list)
5807 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5808 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5809 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5810 (hippie-expand-only-buffers): No need to autoload defcustoms.
5811 * progmodes/vhdl-mode.el (vhdl-line-expand):
5812 Explicitly load hippie-exp, so it does not get autoloaded
5813 while hippie-expand-try-functions-list is let-bound.
5814
5815 2012-09-28 Glenn Morris <rgm@gnu.org>
5816
5817 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5818
5819 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5820 Only "cl.el" counts as cl these days.
5821
5822 2012-09-28 Juri Linkov <juri@jurta.org>
5823
5824 Display archive errors in the echo area instead of inserting
5825 to the file buffer.
5826
5827 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5828 to STDERR-TEST that can be a regexp matching a successful output.
5829 Create a temporary file and redirect stderr to it. Search for
5830 STDERR-TEST in the stderr output and display it in the echo area
5831 if no match is found.
5832 (archive-extract-by-file): New function like
5833 `archive-extract-by-stdout' but extracting archives to files
5834 and looking for successful matches in stdout. Function body is
5835 mostly copied from `archive-rar-extract'.
5836 (archive-rar-extract): Use `archive-extract-by-file'.
5837 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5838
5839 2012-09-28 Leo Liu <sdl.web@gmail.com>
5840
5841 * pcomplete.el (pcomplete-show-completions):
5842 Use minibuffer-message to make pcomplete usable in minibuffer.
5843
5844 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5845
5846 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * type-break.el: Use lexical-binding.
5849 (type-break-mode): Use define-minor-mode.
5850
5851 * emacs-lisp/pcase.el (pcase--mark-used): New.
5852 (pcase--u1): Use it (bug#12512).
5853
5854 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5855 in load-history with the right file name.
5856
5857 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5858
5859 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5860 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5861 (doc-view-get-bounding-box): Make bounding box slicing work for
5862 ODF and DVI documents.
5863
5864 2012-09-28 Glenn Morris <rgm@gnu.org>
5865
5866 * type-break.el (type-break-mode, type-break-interval)
5867 (type-break-good-rest-interval, type-break-keystroke-threshold):
5868 No need to autoload.
5869 (type-break-good-rest-interval, type-break-keystroke-threshold):
5870 Add :set-after.
5871
5872 2012-09-28 Chong Yidong <cyd@gnu.org>
5873
5874 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5875 Add :version tag.
5876
5877 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5878
5879 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5880
5881 2012-09-27 Glenn Morris <rgm@gnu.org>
5882
5883 * faces.el (x-display-name): Declare (for without-x builds).
5884
5885 * linum.el (linum-format): Don't autoload it. Improve :type.
5886
5887 * progmodes/tcl.el: Don't require outline when compiling.
5888 (outline-regexp, outline-level): Declare.
5889 * textmodes/sgml-mode.el: Don't require outline when compiling.
5890 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5891
5892 * term.el (term-ansi-reset):
5893 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5894
5895 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5896 files for RCS and SCCS. (Bug#9781)
5897
5898 2012-09-27 Chong Yidong <cyd@gnu.org>
5899
5900 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5901 change; value should be t.
5902
5903 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 * image-mode.el: Use lexical-binding.
5906 (image-mode-winprops): Use t to stand for the window of
5907 a buffer that's not displayed.
5908 * doc-view.el (doc-view-new-window-function): Handle the new
5909 t in winprops.
5910 (doc-view-enlarge): Make it a real nop if the size is not changed.
5911 (doc-view-display): Handle the case where the buffer is not (yet?)
5912 displayed in any window.
5913 (doc-view-saved-settings): New var.
5914 (doc-view-mode): Use it.
5915 (doc-view-fallback-mode): Set it.
5916
5917 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5918 Set lexical-binding.
5919 (minibuffer-eldef-shorten-default): New var.
5920 (minibuffer-default-in-prompt-regexps): Use it for new default.
5921 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5922
5923 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5924
5925 * international/uni-bidi.el:
5926 * international/uni-category.el:
5927 * international/uni-name.el:
5928 * international/uni-numeric.el: Regenerate.
5929
5930 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5931 Stefan Monnier <monnier@iro.umontreal.ca>
5932
5933 * profiler.el: New file.
5934
5935 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5936
5937 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5938 (testcover-reinstrument): Simplify with CSE.
5939
5940 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5941
5942 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5943
5944 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5945
5946 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5947 (verilog-auto-input, verilog-auto-insert-lisp)
5948 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5949 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5950 (verilog-auto-unused, verilog-auto-wire)
5951 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5952 newline. Reported by Andrew Jones.
5953 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5954 Reported by Brad Dobbie.
5955 (verilog-batch-delete-trailing-whitespace):
5956 Create verilog-batch-delete-trailing-whitespace.
5957 Reported by Brad Dobbie.
5958 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5959 parameters from another module. Reported by Dan Katz.
5960 (verilog-auto, verilog-auto-assign-modport)
5961 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5962 AUTOINOUTMODPORT for UVM interface module shell generation.
5963 Reported by Brad Dobbie.
5964 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5965 standard behavior.
5966 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5967 Reported by Matt Martin.
5968
5969 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5970
5971 * window.el (window--resize-child-windows): When resizing child
5972 windows proportionally, process them in reverse order to
5973 preserve the "when splitting a window the new one gets the odd
5974 line" behavior.
5975 (window--resize-root-window-vertically): When resizing the
5976 minibuffer window try to affect only windows at the bottom of the
5977 frame. (Bug#12419)
5978
5979 2012-09-25 Chong Yidong <cyd@gnu.org>
5980
5981 * subr.el (declare): Doc fix.
5982
5983 * help-fns.el (help-fns--obsolete): Handle macros properly.
5984
5985 2012-09-25 Chong Yidong <cyd@gnu.org>
5986
5987 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5988 this function obsolete.
5989
5990 * calendar/cal-x.el (calendar-two-frame-setup)
5991 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5992 * calendar/calendar.el (american-calendar, european-calendar)
5993 (calendar-for-loop):
5994 * comint.el (comint-dynamic-simple-complete)
5995 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5996 * desktop.el (desktop-load-default):
5997 * dired-x.el (dired-omit-here-always)
5998 (dired-hack-local-variables, dired-default-directory):
5999 * emacs-lisp/derived.el (derived-mode-class):
6000 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6001 * emacs-lock.el (toggle-emacs-lock):
6002 * epa.el (epa-display-verify-result):
6003 * epg.el (epg-sign-keys, epg-start-sign-keys)
6004 (epg-passphrase-callback-function):
6005 * eshell/esh-util.el (eshell-for):
6006 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6007 (eshell-add-to-window-buffer-names):
6008 * files.el (locate-file-completion):
6009 * imenu.el (imenu-example--create-c-index)
6010 (imenu-example--create-lisp-index)
6011 (imenu-example--lisp-extract-index-name)
6012 (imenu-example--name-and-position):
6013 * international/mule-cmds.el (princ-list):
6014 * international/mule-diag.el (decode-codepage-char):
6015 * international/mule-util.el (detect-coding-with-priority):
6016 * iswitchb.el (iswitchb-read-buffer):
6017 * mail/mailalias.el (mail-complete):
6018 * mail/sendmail.el (mail-sent-via):
6019 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6020 (mouse-major-mode-menu):
6021 * password-cache.el (password-read-and-add):
6022 * pcomplete.el (pcomplete-parse-comint-arguments):
6023 * progmodes/sh-script.el (sh-maybe-here-document):
6024 * replace.el (query-replace-regexp-eval):
6025 * savehist.el (savehist-load):
6026 * simple.el (choose-completion-delete-max-match):
6027 * term.el (term-dynamic-simple-complete):
6028 * vc/ediff-init.el (ediff-check-version):
6029 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6030 * vc/vc.el (vc-diff-switches-list):
6031 * view.el (view-return-to-alist-update): Likewise.
6032
6033 * subr.el (eval-next-after-load, makehash, insert-string)
6034 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6035 mark obsolete.
6036 (mode-line-inverse-video): Variable deleted.
6037
6038 * international/mule-util.el (string-to-sequence): Remove.
6039
6040 * calendar/calendar.el (calendar-version):
6041 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6042 (icalendar-convert-diary-to-ical):
6043 * cus-edit.el (custom-mode):
6044 * ansi-color.el (ansi-color-unfontify-region):
6045 * international/latin1-disp.el (latin1-char-displayable-p):
6046 * progmodes/cwarn.el (turn-on-cwarn-mode):
6047 * progmodes/which-func.el (which-func-update-1):
6048 Use define-obsolete-function-alias.
6049
6050 * net/newst-backend.el (newsticker-cache-filename):
6051 * net/newst-treeview.el (newsticker-groups-filename):
6052 Fix incorrect obsolescence declaration.
6053
6054 * allout.el (allout-passphrase-hint-string): Likewise.
6055 (allout-init): Use a declare form to mark obsolete.
6056
6057 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6058 this applies to functions.
6059
6060 * iswitchb.el (iswitchb-read-buffer): Move code of
6061 iswitchb-define-mode-map here, and delete that obsolete function.
6062
6063 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6064 font-lock-reference-face.
6065
6066 2012-09-25 Glenn Morris <rgm@gnu.org>
6067
6068 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6069 Doc fixes.
6070
6071 * eshell/em-term.el (eshell-term-name):
6072 Default to term-term-name. (Bug#12485)
6073
6074 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6075
6076 * progmodes/python.el (python-shell-send-buffer): Better handling
6077 of "if __name__ == '__main__':" conditionals when sending the buffer.
6078
6079 2012-09-24 Glenn Morris <rgm@gnu.org>
6080
6081 * eshell/esh-cmd.el (eshell-find-alias-function):
6082 Tighten up file-name regexp. (Bug#12499)
6083
6084 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6085
6086 Enhancements for triple-quote string syntax.
6087 * progmodes/python.el (python-quote-syntax): Remove.
6088 (python-syntax-propertize-function): New value.
6089 (python-syntax-count-quotes, python-syntax-stringify):
6090 New functions.
6091
6092 2012-09-24 Chong Yidong <cyd@gnu.org>
6093
6094 * mail/supercite.el (sc-version): Remove obsolete function.
6095 (sc-describe): Don't mark as obsolete, since it is bound.
6096 (sc-submit-bug-report): Remove.
6097
6098 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6099 (cvs-commit-buffer-require-final-newline): Remove.
6100 (log-edit-require-final-newline)
6101 (log-edit-changelog-full-paragraphs): Default to t.
6102
6103 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6104 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6105 * vc/vc.el (vc-checkout-carefully): Likewise.
6106
6107 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6108 (emerge-version): Remove.
6109
6110 * progmodes/compile.el (compile-internal): Remove.
6111 (compilation-parse-errors-function): Fix typo.
6112
6113 * international/mule.el (set-char-table-default): Remove.
6114 (set-coding-priority, make-coding-system, generic-char-p)
6115 (charset-list, charset-bytes, charset-id): Use declare to mark
6116 functions as obsolete.
6117
6118 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6119 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6120 * vc/vc-hooks.el (vc-default-registered): Don't use
6121 vc-master-templates.
6122
6123 * font-lock.el (font-lock-reference-face):
6124 Use define-obsolete-variable-alias.
6125
6126 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6127 * calendar/calendar.el (calendar-font-lock-keywords):
6128 * calendar/diary-lib.el (diary-font-lock-keywords)
6129 (diary-fancy-font-lock-keywords):
6130 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6131 * textmodes/reftex-index.el (reftex-insert-index):
6132 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6133 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6134 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6135 * progmodes/prolog.el (prolog-font-lock-keywords):
6136 * progmodes/idlwave.el (idlwave-idl-keywords):
6137 * progmodes/ada-mode.el (ada-font-lock-keywords):
6138 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6139
6140 2012-09-24 Glenn Morris <rgm@gnu.org>
6141
6142 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6143
6144 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6145
6146 * progmodes/python.el (python-indent-line): More consistent cursor
6147 movement behavior.
6148
6149 2012-09-23 Stefan Merten <smerten@oekonux.de>
6150
6151 * textmodes/rst.el: Fix compiler warning.
6152
6153 2012-09-23 Roland Winkler <winkler@gnu.org>
6154
6155 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6156 Transcribe also LaTeX hyphenation.
6157 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6158 bibtex-reformat-previous-options.
6159
6160 2012-09-23 Roland Winkler <winkler@gnu.org>
6161
6162 * proced.el (proced-renice-command): New variable.
6163 (proced-marked-processes): New function.
6164 (proced-with-processes-buffer): New macro.
6165 (proced-send-signal): Use them.
6166 (proced-renice): New command bound to r.
6167
6168 2012-09-23 Roland Winkler <winkler@gnu.org>
6169
6170 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6171 ibuffer-saved-filter-groups has one element, shortcut the call of
6172 completing-read. (Bug#12331)
6173
6174 2012-09-23 Chong Yidong <cyd@gnu.org>
6175
6176 * bindings.el (mode-line-toggle-read-only):
6177 * bs.el (bs-toggle-readonly):
6178 * buff-menu.el (Buffer-menu-toggle-read-only):
6179 * dired.el (dired-toggle-read-only):
6180 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6181
6182 2012-09-23 Chong Yidong <cyd@gnu.org>
6183
6184 * image.el (image-type-available-p): Adapt to init-image-library
6185 argument changes.
6186
6187 2012-09-22 Juri Linkov <juri@jurta.org>
6188
6189 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6190 `dired-toggle-read-only'. (Bug#12462)
6191
6192 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6193
6194 * subr.el (temp-output-buffer-show): New function.
6195 (with-output-to-temp-buffer): Call temp-output-buffer-show
6196 instead of internal-temp-output-buffer-show.
6197
6198 2012-09-22 Chong Yidong <cyd@gnu.org>
6199
6200 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6201 (Bug#12462).
6202
6203 * repeat.el (repeat): Doc fix (Bug#12348).
6204
6205 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6206 (Bug#10909).
6207
6208 * simple.el (shell-command-on-region): Doc fix.
6209 (read-only-mode): Doc fix.
6210
6211 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6212
6213 * emacs-lisp/timer.el (run-with-idle-timer)
6214 (timer-activate-when-idle): Warn against reinvoking an idle timer
6215 from within its own timer action. (Bug#12447)
6216
6217 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6218
6219 * cus-start.el (window-combination-limit): Add new optional
6220 values.
6221 * window.el (temp-buffer-window-show)
6222 (window--try-to-split-window): Handle new values of
6223 window-combination-limit (Bug#1806).
6224 (split-window): Test window-combination-limit for t instead of
6225 non-nil.
6226 (display-buffer-at-bottom): New buffer display action function.
6227 * help.el (temp-buffer-resize-regexps): New option.
6228 (temp-buffer-resize-mode): Rewrite doc-string.
6229 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6230 Don't resize reused window. Suggested by Glenn Morris.
6231
6232 2012-09-22 Stefan Merten <smerten@oekonux.de>
6233
6234 * textmodes/rst.el: Revamp section title faces.
6235 (rst-official-version)
6236 (rst-package-emacs-version-alist): Sync with official version
6237 V1.4.0.
6238 (rst-faces-defaults, rst-set-level-default)
6239 (rst-level-face-max, rst-level-face-base-color)
6240 (rst-level-face-base-light, rst-level-face-format-light)
6241 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6242 (rst-adornment-faces-alist): Match new setup.
6243 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6244 (rst-level-5, rst-level-6): New faces.
6245
6246 2012-09-22 Chong Yidong <cyd@gnu.org>
6247
6248 * simple.el (undo): Handle indirect buffers (Bug#8207).
6249
6250 2012-09-21 Leo Liu <sdl.web@gmail.com>
6251
6252 IDO: Disable match re-ordering for buffer switching.
6253 * ido.el (ido-buffer-disable-smart-matches): New variable.
6254 (ido-set-matches-1): Use it. (Bug#2042)
6255
6256 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6257
6258 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6259 Fix 2011-05-17 change. (Bug#12418)
6260
6261 2012-09-21 Leo Liu <sdl.web@gmail.com>
6262
6263 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6264
6265 2012-09-21 Glenn Morris <rgm@gnu.org>
6266
6267 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6268 Be more robust about locating simple.el.
6269
6270 2012-09-21 Glenn Morris <rgm@gnu.org>
6271
6272 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6273
6274 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6275
6276 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6277
6278 2012-09-20 Juri Linkov <juri@jurta.org>
6279
6280 * replace.el (query-replace-read-from): Use `read-regexp' instead
6281 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6282 (occur-read-primary-args): Use `read-regexp' instead of
6283 `read-string'.
6284 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6285 `read-from-minibuffer'.
6286 * isearch.el (isearch-occur): Use `read-regexp' instead of
6287 `read-string'.
6288 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6289 `read-from-minibuffer'.
6290 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6291 of `read-string'. (Bug#7567)
6292
6293 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6294 and allow accepting a list of strings prepended to a list of
6295 standard default values. Doc fix. (Bug#12321)
6296
6297 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6298
6299 * replace.el (read-regexp): Don't add ": " when PROMPT already
6300 ends with a colon and space. (Bug#12321)
6301
6302 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6303
6304 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6305 error.
6306
6307 2012-09-20 Stefan Merten <smerten@oekonux.de>
6308
6309 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6310 Fixes feature request bug#11711.
6311 (rst-mode): Create `imenu-create-index-function'.
6312 (rst-get-stripped-line): Delete after refactoring.
6313 (rst-section-tree, rst-section-tree-rec)
6314 (rst-section-tree-point): Refactor and document properly.
6315 (rst-imenu-find-adornments-for-position)
6316 (rst-imenu-convert-cell, rst-imenu-create-index):
6317 New function.
6318
6319 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6320
6321 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6322 (macroexp--expand-all): Use it.
6323 (macroexp--funcall-and-return): Remove by folding it into its sole
6324 caller (macroexp--warn-and-return).
6325 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6326 Use macroexp--obsolete-warning.
6327
6328 * calc/calc.el: Fix last change by removing the whole chunk, since it
6329 was only needed back when Calc was not bundled.
6330
6331 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6332
6333 * emacs-lisp/debug.el (debug): Restore assignment to
6334 debugger-old-buffer removed on 2012-09-08.
6335
6336 2012-09-20 Juri Linkov <juri@jurta.org>
6337
6338 * dired-aux.el (dired-diff): Remove (require 'diff) since
6339 `diff-latest-backup-file' is now autoloaded.
6340
6341 2012-09-20 Chong Yidong <cyd@gnu.org>
6342
6343 * vc/diff.el (diff-latest-backup-file): Autoload.
6344
6345 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6346
6347 * calc/calc.el: Remove redundant autoload shape check.
6348 (sel-mode): Don't defvar.
6349 (calc-get-stack-element): Add `sel-mode' arg instead.
6350 (calc-top, calc-top-list): Pass it this additional argument.
6351 * calc/calc-store.el (calc-store-map):
6352 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6353 (calc-map-equation, calc-outer-product, calc-inner-product):
6354 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6355
6356 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6357
6358 2012-09-19 Juri Linkov <juri@jurta.org>
6359
6360 * dired-aux.el (dired-diff): Add (require 'diff) because
6361 `diff-latest-backup-file' is not autoloaded.
6362 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6363 of `dired-get-filename' to t to not report error when there is
6364 no default file on the current line.
6365
6366 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6367
6368 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6369 macroexp--eval-if-compile.
6370 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6371 (macroexp--expand-all): Use them (bug#12371).
6372
6373 * doc-view.el (doc-view-guess-paper-size)
6374 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6375
6376 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6377
6378 New feature: set optimal slice from BoundingBox information.
6379 * doc-view.el (doc-view-mode-map): Add keybinding.
6380 (doc-view-menu): Add menu entry.
6381 (doc-view-set-slice): Adapt docstring.
6382 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6383 (doc-view-scale-bounding-box)
6384 (doc-view-set-slice-from-bounding-box): New functions.
6385 (doc-view-paper-sizes): New defvar.
6386
6387 2012-09-19 Glenn Morris <rgm@gnu.org>
6388
6389 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6390 (byte-compile-log-warning): Autoload. (Bug#12371)
6391
6392 * calendar/calendar.el (calendar-american-month-header)
6393 (calendar-european-month-header, calendar-iso-month-header)
6394 (calendar-month-header): New options.
6395 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6396 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6397
6398 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6399
6400 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6401
6402 2012-09-18 Juri Linkov <juri@jurta.org>
6403
6404 * dired-aux.el (dired-diff): Restore original functionality of
6405 getting the default value, but keep new feature of using the
6406 latest existing backup file (`diff-latest-backup-file').
6407
6408 2012-09-18 Juri Linkov <juri@jurta.org>
6409
6410 * dired.el (dired-mark): If the region is active in Transient Mark
6411 mode, mark all files in the active region. Doc fix.
6412 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6413 Doc fix. (Bug#10624)
6414
6415 2012-09-18 Juri Linkov <juri@jurta.org>
6416
6417 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6418 attributes for M-n are pulled from the file at point.
6419 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6420 Suggested by Drew Adams. (Bug#10624)
6421
6422 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6423
6424 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6425 whitespace after "end".
6426 (ruby-do-end-to-brace): Collapse block to one line if it fits
6427 within fill-column.
6428
6429 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6430
6431 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6432 value.
6433 (debug): Don't remove debugger window when debugger is expected
6434 to be back.
6435
6436 2012-09-18 Chong Yidong <cyd@gnu.org>
6437
6438 * custom.el (defface): Doc fix.
6439
6440 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6441
6442 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6443
6444 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6445 to initialize query-on-exit; then test that instead (bug#12288).
6446
6447 2012-09-17 Stefan Merten <smerten@oekonux.de>
6448
6449 * textmodes/rst.el: Add support for `testcover'.
6450 (rst-defcustom-testcover, rst-testcover-add-compose)
6451 (rst-testcover-add-1value): New functions.
6452 (rst-portable-mark-active-p): Replace by `use-region-p'.
6453 (rst-update-section, rst-classify-adornment)
6454 (rst-find-title-line): Mark `1value' forms.
6455 (rst-classify-adornment): Remove superfluous form.
6456 (rst-update-section, rst-get-adornments-around)
6457 (rst-adornment-complete-p, rst-get-next-adornment)
6458 (rst-adjust, rst-promote-region)
6459 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6460 (rst-find-pfx-in-region, rst-section-tree-rec)
6461 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6462 (rst-toc-node, rst-toc, rst-forward-section)
6463 (rst-iterate-leftmost-paragraphs)
6464 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6465 (rst-bullet-list-region)
6466 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6467 (rst-compile-find-conf, rst-compile)
6468 (rst-repeat-last-character): Fix style.
6469
6470 2012-09-17 Chong Yidong <cyd@gnu.org>
6471
6472 * comint.el (comint--complete-file-name-data): Don't add a space
6473 if the status is `sole'; that adds a gratuitous space in the
6474 completion-cycling case (Bug#12092).
6475
6476 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6477
6478 2012-09-17 Richard Stallman <rms@gnu.org>
6479
6480 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6481 only in the mime-shown mode, not in raw mode.
6482 (rmail-mime): Toggle off mime by displaying the message without
6483 mime processing. (Bug#12305)
6484
6485 * mail/rmail.el (rmail-retry-failure):
6486 Turn off mime processing first. (Bug#12037)
6487
6488 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6489
6490 2012-09-17 Chong Yidong <cyd@gnu.org>
6491
6492 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6493 (shell-dynamic-complete-functions): Convert to defcustom.
6494 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6495
6496 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6497 * comint.el (comint-prompt-read-only):
6498 * custom.el (defcustom):
6499 * hi-lock.el (hi-lock-mode):
6500 * ibuffer.el (ibuffer-formats):
6501 * ielm.el (ielm-prompt-read-only):
6502 * novice.el (disable-command):
6503 * saveplace.el (toggle-save-place):
6504 * speedbar.el (speedbar-supported-extension-expressions):
6505 * startup.el (auto-save-list-file-prefix, init-file-user)
6506 (after-init-hook, inhibit-startup-echo-area-message):
6507 * strokes.el (strokes-help):
6508 * time-stamp.el (time-stamp):
6509 * calendar/calendar.el (calendar, diary-file):
6510 * calendar/diary-lib.el (diary-mail-entries, diary)
6511 (diary-list-entries-hook):
6512 * calendar/holidays.el (holidays, calendar-holidays):
6513 * calendar/lunar.el (lunar-phases):
6514 * calendar/solar.el (sunrise-sunset):
6515 * emulation/edt.el (edt-load-keys):
6516 * emulation/viper.el (viper-mode):
6517 * eshell/em-alias.el (eshell-command-aliases-list):
6518 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6519 * international/ogonek.el (ogonek-information):
6520 * net/tramp-cmds.el (tramp-bug):
6521 * net/quickurl.el (quickurl-reread-hook-postfix):
6522 * play/decipher.el (decipher-font-lock-keywords):
6523 * progmodes/cc-styles.el (c-set-style):
6524 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6525 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6526 * progmodes/octave-mod.el (octave-mode):
6527 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6528 * progmodes/verilog-mode.el (verilog-read-defines):
6529 * textmodes/two-column.el (2C-mode): Likewise.
6530
6531 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6532
6533 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6534 that holds many addresses.
6535
6536 2012-09-16 Chong Yidong <cyd@gnu.org>
6537
6538 * align.el (align-areas): Call the indication function with
6539 positions instead of markers for arguments (Bug#12343).
6540
6541 * files.el (parse-colon-path): Use split-string (Bug#12351).
6542
6543 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6544 (display-buffer-function): Mark as obsolete.
6545
6546 * progmodes/compile.el (compilation-parse-errors): Accept list
6547 values similar to font-lock-keywords (Bug#12136).
6548 Suggested by Oleksandr Manzyuk.
6549 (compilation-error-regexp-alist): Doc fix.
6550
6551 2012-09-15 Glenn Morris <rgm@gnu.org>
6552
6553 * version.el (emacs-bzr-version-bzr): New function.
6554 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6555
6556 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6557 checkouts, check the parent dirstate matches the branch.
6558 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6559 empty string.
6560
6561 * version.el (emacs-bzr-version): Doc fix.
6562 (emacs-bzr-version-dirstate): New function.
6563 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6564 is local try and check that it matches the branch. If not, just
6565 use dirstate information. (Bug#12441)
6566
6567 2012-09-14 Juri Linkov <juri@jurta.org>
6568
6569 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6570 (Bug#12399)
6571
6572 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6573
6574 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6575
6576 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6577 Remove obsolete byte-compiler hack that tried to silence some warnings.
6578 (edebug-submit-bug-report): Remove.
6579 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6580 Remove aliases, use the un-prefixed name instead.
6581 (edebug-pop-to-buffer): Consider other frames.
6582 (edebug-original-read):: Make it more obvious that it's always defined.
6583 (edebug--make-form-data-entry, edebug--form-data-name)
6584 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6585 single-dashed name, and implement with cl-defstruct.
6586 (edebug-set-form-data-entry): Use the standard accessors.
6587 (edebug-make-top-form-data-entry): Use push.
6588 (edebug-no-match): Drop useless `funcall'.
6589 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6590 to functions.
6591 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6592 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6593 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6594 (easy-menu-define, with-custom-print): Remove redundant specs.
6595 (edebug-outside-overriding-local-map)
6596 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6597 (edebug--display): Bind unread-command-events directly to nil rather
6598 than binding it to unread-command-events and later setting it to nil.
6599 (edebug--display): Kill edebug-eval-buffer here...
6600 (edebug--recursive-edit): ...rather than here.
6601 Bind standard-output and standard-input.
6602 (edebug-eval): Check cl-macroexpand-all is fboundp.
6603 (edebug-temp-display-freq-count): Fix last change.
6604
6605 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6606 * subr.el (noreturn, 1value): Add `debug' spec.
6607 * emacs-lisp/advice.el: Require cl-lib.
6608 (ad-copy-tree): Remove, use copy-tree instead.
6609 (ad-dolist): Remove use dolist or cl-dolist instead.
6610 (ad-do-return): Remove, use cl-return instead.
6611 (defadvice): Add `debug' spec.
6612
6613 2012-09-13 Juri Linkov <juri@jurta.org>
6614
6615 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6616 (Bug#12399)
6617
6618 2012-09-13 Glenn Morris <rgm@gnu.org>
6619
6620 * calc/calc.el (math-compose-expr):
6621 * calc/calc-ext.el (math-compose-expr):
6622 * progmodes/cc-defs.el (cl-macroexpand-all):
6623 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6624 (cl-macroexpand-all): Update declarations.
6625
6626 * vc/vc.el: No need to require ediff.
6627 (ediff-load-version-control): Declare.
6628 (ediff-vc-internal): Fix declaration.
6629 (vc-version-ediff): Require ediff.
6630
6631 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6632
6633 Use a more backwards-compatible timer format (Bug#12430).
6634 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6635 being right after USECS, as that better supports old code that
6636 inadvisedly looked directly at the timer vector.
6637
6638 2012-09-13 Kenichi Handa <handa@gnu.org>
6639
6640 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6641 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6642 `coding-priority' property of these language environment.
6643
6644 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6645
6646 Fix glitches caused by addition of psec to timers (Bug#12430).
6647 * image.el (image-animate-timer):
6648 * time.el (display-time-world-timer):
6649 Use timer--function and timer--args rather than raw access to
6650 timer vector.
6651
6652 2012-09-13 Glenn Morris <rgm@gnu.org>
6653
6654 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6655 If not compiling a file, try using load-file-name.
6656
6657 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6658
6659 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6660 Fix last change.
6661 (edebug-update-eval-list): Use `push'.
6662
6663 * emacs-lisp/edebug.el: Use lexical-binding.
6664 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6665 Mark unused args with underscore.
6666 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6667 (edebug-form-data): Use defvar-local.
6668 (edebug-make-before-and-after-form, edebug-make-after-form):
6669 Use backquote.
6670 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6671 Not dynamically scoped any more.
6672 (edebug--enter-trace): Add arguments `function' and `args'.
6673 Rename from edebug-enter-trace.
6674 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6675 (edebug--update-coverage): Add `after-index' and `value' args.
6676 Rename from edebug-update-coverage.
6677 (edebug-slow-after): Call it accordingly.
6678 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6679 edebug-recursive-edit.
6680 (edebug--display): Call it accordingly. Add args `value',
6681 `offset-index', and `arg-mode'. Rename from edebug-display.
6682 (edebug-debugger, edebug): Call it accordingly.
6683 (edebug-eval-display-list): Use dolist.
6684
6685 2012-09-12 Juri Linkov <juri@jurta.org>
6686
6687 * info.el (Info-search): Don't check for isearch-mode and
6688 isearch-regexp before let-binding search-spaces-regexp to
6689 Info-search-whitespace-regexp.
6690 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6691 search-whitespace-regexp if isearch-lax-whitespace or
6692 isearch-regexp-lax-whitespace is non-nil.
6693 (Info-mode): Don't set local variable search-whitespace-regexp.
6694 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6695
6696 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6697
6698 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6699 (debugger-env-macro): Remove support for unread-command-char.
6700
6701 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6702 the temporary map re-appearing on emulation-mode-map-alists.
6703
6704 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6705 since 22.1.
6706
6707 * ehelp.el (with-electric-help): Accept functions in
6708 electric-help-form-to-execute.
6709 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6710 And replace unread-command-char -> unread-command-events.
6711
6712 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6713
6714 Sync with Tramp 2.2.6.
6715
6716 * net/tramp.el (tramp-accept-process-output): Don't use
6717 JUST-THIS-ONE in the XEmacs case.
6718
6719 * net/trampver.el: Update release number.
6720
6721 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6722
6723 * emacs-lisp/debug.el (debugger-previous-window-height):
6724 New variable.
6725 (debug): When debugger-jumping-flag is non-nil try to restore
6726 height of debugger window. (Bug#8789)
6727
6728 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6729
6730 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6731 overriding-local-map and pre/post-command-hook here.
6732 (edebug-recursive-edit): Do it here instead (bug#12345).
6733 (edebug-outside-unread-command-char): Remove all uses of
6734 unread-command-char.
6735
6736 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6737 inhibit-debugger is bound instead.
6738
6739 2012-09-11 Bastien Guerry <bzg@gnu.org>
6740
6741 * subr.el (set-temporary-overlay-map): Add a docstring.
6742 (Bug#12346)
6743
6744 2012-09-11 Bastien Guerry <bzg@gnu.org>
6745
6746 * minibuffer.el (completion-table-subvert): Fix docstring.
6747 (Bug#12347)
6748
6749 2012-09-11 Bastien Guerry <bzg@gnu.org>
6750
6751 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6752
6753 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6754
6755 * progmodes/sql.el: Version 3.1
6756 (sql-db2-escape-newlines): New variable.
6757 (sql-escape-newlines-filter): Use it.
6758
6759 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6760
6761 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6762
6763 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6764
6765 * vc/diff-mode.el (diff-mode-menu):
6766 Bind diff-remove-trailing-whitespace.
6767
6768 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6771 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6772 (emacs-lisp-byte-code-mode): New functions.
6773 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6774 (eval-defun-2): Remove bogus interactive spec.
6775 (lisp-indent-line): Remove redundant whole-exp code, now done in
6776 indent-according-to-mode.
6777 (save-match-data): Remove redundant indent data.
6778
6779 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6780 Use `declare'.
6781
6782 2012-09-09 Juri Linkov <juri@jurta.org>
6783
6784 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6785 (replace-lax-whitespace, query-replace-regexp)
6786 (query-replace-regexp-eval, replace-regexp): Doc fix.
6787 (perform-replace, replace-highlight): Let-bind
6788 isearch-lax-whitespace to replace-lax-whitespace and
6789 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6790
6791 * isearch.el (isearch-query-replace): Let-bind
6792 replace-lax-whitespace to isearch-lax-whitespace and
6793 replace-regexp-lax-whitespace to
6794 isearch-regexp-lax-whitespace. (Bug#10885)
6795
6796 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6799
6800 2012-09-09 Alan Mackenzie <acm@muc.de>
6801
6802 * progmodes/cc-engine.el (c-state-cache-init):
6803 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6804 (c-record-parse-state-state):
6805 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6806
6807 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6808
6809 * register.el (register-separator): Rename from
6810 separator-register. All uses changed. Doc fix.
6811 (register): Fix version.
6812
6813 2012-09-09 Chong Yidong <cyd@gnu.org>
6814
6815 * replace.el (query-replace-map): Bind four new symbols for
6816 requesting window scrolling.
6817
6818 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6819 query-replace-map (Bug#8948).
6820
6821 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6822
6823 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6824 since they are now in query-replace-map.
6825
6826 * window.el (scroll-other-window-down): Make the arg optional.
6827
6828 2012-09-09 Chong Yidong <cyd@gnu.org>
6829
6830 * files.el (hack-local-variables-confirm): Use quit-window to kill
6831 the *Local Variables* buffer.
6832
6833 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6834
6835 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6836 not just expect to be at its beginning. Adjust callees.
6837 Succeed when do-end block has no space before the pipe character.
6838 (ruby-brace-to-do-end): When the original block is one-liner,
6839 convert to multiline. Reindent the result.
6840
6841 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6842
6843 * register.el (register): New group.
6844 (separator-register): New user option.
6845 (increment-register): Route it to `append-to-register', if
6846 register contains text. Implication is that `C-x r +' can now be
6847 used for appending to a text register (bug#12217).
6848 (append-to-register, prepend-to-register): Add separator based on
6849 `separator-register'.
6850
6851 2012-09-08 Alan Mackenzie <acm@muc.de>
6852
6853 AWK Mode: make auto-newline work when there's "==" in the pattern.
6854 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6855 correctly.
6856 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6857 Test more rigorously for "=" token.
6858
6859 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6860
6861 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6862 Only fail when reached LIMIT.
6863
6864 2012-09-08 Chong Yidong <cyd@gnu.org>
6865
6866 * dired.el (dired-mode-map): Don't bind M-=.
6867
6868 * dired-aux.el (dired-diff): Use backup file as default.
6869
6870 2012-09-08 Drew Adams <drew.adams@oracle.com>
6871
6872 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6873
6874 2012-09-08 Chong Yidong <cyd@gnu.org>
6875
6876 * subr.el (syntax-after, syntax-class): Doc fix.
6877
6878 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6879
6880 * window.el (display-buffer-in-previous-window): New buffer
6881 display action function.
6882
6883 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6884 (debugger-previous-window): New variable.
6885 (debug): Rewrite using display-buffer-in-previous-window,
6886 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6887
6888 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6891
6892 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6893
6894 * progmodes/python.el (python-shell-send-string):
6895 When default-directory is remote, create temp file on remote
6896 filesystem.
6897 (python-shell-send-file): When file is remote, pass local view of
6898 file paths to remote Python interpreter. (Bug#12340)
6899
6900 2012-09-07 Chong Yidong <cyd@gnu.org>
6901
6902 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6903
6904 * files.el (after-find-file): Don't fail on a read-only buffer if
6905 require-final-newline is `visit' or `visit-save' (Bug#11156).
6906
6907 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6908
6909 * userlock.el (ask-user-about-supersession-threat):
6910 Use read-char-choice (Bug#12093).
6911
6912 2012-09-07 Chong Yidong <cyd@gnu.org>
6913
6914 * subr.el (buffer-narrowed-p): New function.
6915
6916 * ses.el (ses-widen):
6917 * simple.el (count-words--buffer-message):
6918 * net/browse-url.el (browse-url-of-buffer): Use it.
6919
6920 * simple.el (count-words-region): Don't signal an error if there
6921 is a non-nil prefix arg and the mark is not set.
6922
6923 * help.el (describe-key-briefly): Allow the message to be seen
6924 when invoked from the minibuffer (Bug#7014).
6925
6926 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6927
6928 * progmodes/ruby-mode.el (ruby-end-of-defun)
6929 (ruby-beginning-of-defun): Simplify, allow indentation before
6930 block beginning and end keywords.
6931 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6932 (ruby-end-of-defun): Expect that the point is at the beginning of
6933 the defun.
6934
6935 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6936
6937 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6938 (bug#12367).
6939 (cl--make-usage-args): Strip _ from argument names.
6940
6941 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6942
6943 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6944 obsolete alias speedbar-key-map.
6945 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6946 (vhdl-index-menu-init): Don't use obsolete variable
6947 font-lock-maximum-size.
6948
6949 2012-09-06 Chong Yidong <cyd@gnu.org>
6950
6951 * frame.el (window-system-version): Mark as obsolete.
6952
6953 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6954 of obsolete variable speedbar-key-map.
6955
6956 2012-09-06 Juri Linkov <juri@jurta.org>
6957
6958 * replace.el (replace-lax-whitespace): New defcustom.
6959 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6960 (replace-string, replace-regexp): Mention it in docstrings.
6961 (perform-replace, replace-highlight): Let-bind
6962 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6963 to the values of replace-lax-whitespace and regexp-flag.
6964 Don't let-bind search-whitespace-regexp. (Bug#10885)
6965
6966 * isearch.el (isearch-query-replace): Let-bind
6967 replace-lax-whitespace instead of let-binding
6968 replace-search-function and replace-re-search-function.
6969 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6970 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6971 (isearch-toggle-symbol): Set isearch-regexp to nil
6972 in isearch-word mode (like in isearch-toggle-word).
6973
6974 2012-09-06 Juri Linkov <juri@jurta.org>
6975
6976 * replace.el (replace-search-function)
6977 (replace-re-search-function): Set default values to nil.
6978 (perform-replace): Let-bind isearch-related variables based on
6979 replace-related values, call `isearch-search-fun' and let-bind
6980 the result to `search-function'. Remove code that sets
6981 `search-function' and `search-string' separately for
6982 `delimited-flag'.
6983 (replace-highlight): Add new argument `delimited-flag' and
6984 rename other arguments to the names used in `perform-replace'.
6985 Let-bind `isearch-word' to the argument `delimited-flag'.
6986 (Bug#10885, bug#10887)
6987
6988 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6989
6990 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6991 ruby-beginning-of-indent, simplify, allow all keywords to have
6992 indentation before them.
6993 (ruby-beginning-of-indent): Adjust for above. Search until the
6994 found point is not inside a string or comment.
6995 (ruby-font-lock-keywords): Allow symbols to start with "@"
6996 character, give them higher priority than variables.
6997 (ruby-syntax-propertize-function)
6998 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6999 matchers. Expression expansions are not comments when inside a
7000 string, and there comment syntax status is irrelevant.
7001 (ruby-match-expression-expansion): New function. Check that
7002 expression expansion is inside a string, and it's not escaped.
7003 (ruby-font-lock-keywords): Use it.
7004
7005 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7006
7007 * help.el (temp-buffer-max-height): New default value.
7008 (temp-buffer-resize-frames): New option.
7009 (resize-temp-buffer-window): Optionally resize frame.
7010
7011 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7012 (fit-frame-to-buffer): New function.
7013
7014 2012-09-05 Glenn Morris <rgm@gnu.org>
7015
7016 * emulation/cua-rect.el (cua--init-rectangles):
7017 * textmodes/picture.el (picture-mode-map):
7018 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7019 like forward-char and backward-char. (Bug#12317)
7020
7021 2012-09-05 Leo Liu <sdl.web@gmail.com>
7022
7023 * progmodes/flymake.el (flymake-warning-re): New variable.
7024 (flymake-parse-line): Use it.
7025
7026 2012-09-05 Glenn Morris <rgm@gnu.org>
7027
7028 * calendar/holidays.el (holiday-christian-holidays):
7029 Rename an entry. (Bug#12289)
7030
7031 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7032
7033 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7034 (bug#12222).
7035
7036 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7037
7038 * loadup.el: Load macroexp. Remove hack.
7039 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7040 (macroexp--expand-all): Use it to get better warnings.
7041 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7042 (internal-macroexpand-for-load): New functions.
7043 (macroexp--pending-eager-loads): New var.
7044 (emacs-startup-hook): New hack to replace one in loadup.el.
7045 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7046 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7047 (cl-psetf): Simplify.
7048 (cl-defstruct): Add indent rule.
7049
7050 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7051
7052 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7053 over `user-mail-address' for the SMTP MAIL FROM envelope.
7054 (smtpmail-via-smtp): Ditto.
7055
7056 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7057
7058 * progmodes/ruby-mode.el: Clean up keybindings.
7059 (ruby-mode-map): Don't bind ruby-electric-brace,
7060 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7061 backward-kill-word, reindent-then-newline-and-indent.
7062 (ruby-mark-defun): Remove.
7063 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7064 (ruby-mode): Set local beginning-of-defun-function and
7065 end-of-defun-function values.
7066
7067 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7068
7069 * window.el (temp-buffer-window-setup-hook)
7070 (temp-buffer-window-show-hook): New hooks.
7071 (temp-buffer-window-setup, temp-buffer-window-show)
7072 (with-temp-buffer-window): New functions.
7073 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7074 (special-display-popup-frame): Make sure the window used shows BUFFER.
7075
7076 * help.el (temp-buffer-resize-mode): Fix doc-string.
7077 (resize-temp-buffer-window): New optional argument WINDOW.
7078
7079 * files.el (recover-file, save-buffers-kill-emacs):
7080 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7081
7082 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7083
7084 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7085 remote definition of `default-directory', ensure we can connect.
7086
7087 2012-09-02 Juri Linkov <juri@jurta.org>
7088
7089 Toggle whitespace matching mode with M-s SPC.
7090 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7091
7092 * isearch.el (search-whitespace-regexp): Doc fix.
7093 Remove cons cell customization.
7094 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7095 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7096 New variables.
7097 (isearch-forward, isearch-forward-regexp): Doc fix.
7098 (isearch-toggle-lax-whitespace): New command.
7099 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7100 (re-search-forward-lax-whitespace)
7101 (re-search-backward-lax-whitespace): New functions.
7102 (isearch-whitespace-regexp): Remove function.
7103 (isearch-query-replace): Let-bind replace-search-function and
7104 replace-re-search-function.
7105 (isearch-occur): Let-bind search-spaces-regexp according to the
7106 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7107 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7108 condition for C-q SPC.
7109 (isearch-search-fun-default): Use new functions mentioned above.
7110 (isearch-search-forward, isearch-search-backward): Remove functions.
7111 (isearch-search): Don't let-bind search-spaces-regexp.
7112 (isearch-lazy-highlight-space-regexp): Remove variable.
7113 (isearch-lazy-highlight-lax-whitespace)
7114 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7115 (isearch-lazy-highlight-new-loop): Use them.
7116 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7117
7118 2012-09-02 Chong Yidong <cyd@gnu.org>
7119
7120 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7121
7122 2012-09-02 Glenn Morris <rgm@gnu.org>
7123
7124 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7125
7126 2012-09-01 Glenn Morris <rgm@gnu.org>
7127
7128 * term.el: Tidy up menu definitions.
7129 (term-mode-map): Use easymenu for In/Out, Complete menus.
7130 (term-pager-break-map): Initialize in the defvar.
7131 (term-terminal-menu, term-signals-menu): Define with easymenu.
7132 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7133 (term-pager-menu): New, extracted from term-process-pager.
7134 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7135 (term-update-mode-line): Propertize line/char and page items.
7136 (term-process-pager): Move keymap initialization elsewhere.
7137
7138 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7139
7140 * window.el (switch-to-prev-buffer): Handle additional values of
7141 BURY-OR-KILL argument. Don't switch in minibuffer window.
7142 (switch-to-next-buffer): Don't switch in minibuffer window.
7143 (quit-restore-window): New function based on quit-window.
7144 Handle additional values of former KILL argument.
7145 (quit-window): Call quit-restore-window with appropriate
7146 interpretation of KILL argument.
7147 (display-buffer-below-selected): New buffer display action
7148 function.
7149
7150 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7151
7152 * minibuffer.el (completion-at-point-functions): Complete docstring
7153 (bug#12254).
7154
7155 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7156
7157 Better seed support for (random).
7158 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7159 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7160 * play/mpuz.el, play/tetris.el, play/zone.el:
7161 * calc/calc-comb.el (math-init-random-base):
7162 * play/blackbox.el (bb-init-board):
7163 * play/life.el (life):
7164 * server.el (server-use-tcp):
7165 * type-break.el (type-break):
7166 Remove unnecessary call to (random t).
7167 * net/sasl.el (sasl-unique-id-function):
7168 Change (random t) to (random), now that the latter is more random.
7169 * play/life.el (life-initialized): Remove no-longer-needed var.
7170
7171 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7172
7173 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7174 Consider frame's buffer predicate when choosing the buffer.
7175 (Bug#12081)
7176
7177 2012-08-30 Richard Stallman <rms@gnu.org>
7178
7179 * simple.el (special-mode-map): Delete binding for `z'.
7180
7181 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7182
7183 * progmodes/compile.el (compilation-always-kill): Doc fix.
7184
7185 2012-08-30 Chong Yidong <cyd@gnu.org>
7186
7187 * window.el (display-buffer-reuse-frames): Make the obsolescence
7188 message more informative.
7189
7190 2012-08-30 Glenn Morris <rgm@gnu.org>
7191
7192 * paren.el (show-paren-delay):
7193 Add a :set function. Doc fix. (Bug#12297)
7194
7195 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7196
7197 * progmodes/compile.el (compilation-always-kill): New var.
7198 (compilation-start): Use it.
7199
7200 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7201
7202 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7203 * files.el (read-only-mode): Move to simple.el.
7204
7205 * files.el (read-only-mode): New minor mode.
7206 (toggle-read-only): Use it and mark obsolete.
7207 (find-file--read-only):
7208 * vc/vc.el (vc-next-action, vc-checkout):
7209 * vc/vc-cvs.el (vc-cvs-checkout):
7210 * obsolete/vc-mcvs.el (vc-mcvs-update):
7211 * ffap.el (ffap--toggle-read-only): Update callers.
7212
7213 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7214
7215 * eshell/esh-ext.el (eshell-external-command): Do not examine
7216 remote shell scripts.
7217 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7218
7219 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7220 "/usr/local/sbin".
7221
7222 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7223
7224 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7225
7226 2012-08-28 Leo Liu <sdl.web@gmail.com>
7227
7228 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7229 completion-at-point. (Bug#12220)
7230
7231 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7232
7233 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7234
7235 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7236
7237 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7238 be buffer-local; add delete-trailing-whitespace (bug#12259).
7239
7240 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7241
7242 * progmodes/hideif.el (hif-compress-define-list):
7243 Fix typo. (Bug#11951)
7244
7245 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7246
7247 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7248 buffer local setting.
7249
7250 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7251 rcirc-encode-coding-system.
7252
7253 2012-08-28 Leo Liu <sdl.web@gmail.com>
7254
7255 * net/rcirc.el (rcirc-split-message): New function.
7256 (rcirc-send-message): Use it. (Bug#12051)
7257
7258 2012-08-28 Juri Linkov <juri@jurta.org>
7259
7260 * info.el (Info-fontify-node): Hide empty lines at the end of
7261 the node. (Bug#12272)
7262
7263 2012-08-27 Drew Adams <drew.adams@oracle.com>
7264
7265 * dired.el (dired-pop-to-buffer): Make window start at beginning
7266 of buffer (Bug#12281).
7267
7268 2012-08-26 Chong Yidong <cyd@gnu.org>
7269
7270 * window.el (special-display-regexps, special-display-frame-alist)
7271 (special-display-buffer-names, special-display-function)
7272 (display-buffer-reuse-frames): Mark as obsolete.
7273
7274 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7275
7276 * help.el (help-print-return-message): Don't treat
7277 display-buffer-reuse-frames specially.
7278
7279 2012-08-26 Chong Yidong <cyd@gnu.org>
7280
7281 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7282 New variable, replacing gdb-frame-parameters.
7283 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7284 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7285 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7286 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7287 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7288 the functions directly with gdb-display-buffer-other-frame-action.
7289 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7290 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7291 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7292 (gdb-display-registers-buffer): Define directly.
7293 (def-gdb-display-buffer): Macro deleted.
7294 (gdb-display-buffer): Remove second and third args, callers don't
7295 use them. Defer to the default display-buffer behavior, apart
7296 from making windows dedicated.
7297 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7298
7299 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7300
7301 * window.el (display-buffer-pop-up-frame): Handle a
7302 pop-up-frame-parameters alist entry.
7303 (display-buffer): Document it.
7304
7305 2012-08-26 Chong Yidong <cyd@gnu.org>
7306
7307 * isearch.el (search-whitespace-regexp): Make string and nil
7308 values apply to both ordinary and regexp search. Allow a cons
7309 cell value to distinguish between the two.
7310 (isearch-whitespace-regexp, isearch-search-forward)
7311 (isearch-search-backward): New functions.
7312 (isearch-occur, isearch-search-fun-default, isearch-search)
7313 (isearch-lazy-highlight-new-loop): Use them.
7314 (isearch-forward, isearch-forward-regexp): Doc fix.
7315
7316 2012-08-26 Chong Yidong <cyd@gnu.org>
7317
7318 * faces.el (help-argument-name): Always inherit from italic
7319 (Bug#12213).
7320
7321 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7322
7323 * window.el (window--even-window-heights): Even heights when
7324 WINDOW and the selected window form a vertical combination.
7325 (display-buffer-use-some-window): Provide that window used gets
7326 sized back by quit-window. (Bug#11880) and (Bug#12091)
7327
7328 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7329
7330 Fix file time stamp problem with bzr and CVS (Bug#12001).
7331 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7332 in the file's time stamp, since the version control system loses
7333 that information.
7334
7335 2012-08-22 Juri Linkov <juri@jurta.org>
7336
7337 * info.el (Info-fontify-node): Hide the suffix of the
7338 Info file name in the header line. (Bug#12187)
7339
7340 2012-08-22 Glenn Morris <rgm@gnu.org>
7341
7342 * calendar/cal-tex.el (cal-tex-weekly-common):
7343 Restore leading blank page.
7344
7345 2012-08-22 Le Wang <l26wang@gmail.com>
7346
7347 * misc.el (forward-to-word, backward-to-word): Activate or extend
7348 the region under `shift-select-mode'. (Bug#12231)
7349
7350 2012-08-22 Bastien Guerry <bzg@gnu.org>
7351
7352 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7353 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7354 gives details on why the space is never needed.
7355
7356 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7357
7358 * window.el (walk-window-tree, window-with-parameter):
7359 New optional argument MINIBUF to control whether these functions
7360 should run on the minibuffer window.
7361 (window-at-side-list): Don't operate on minibuffer window.
7362 (window-in-direction): Simplify and rewrite doc-string.
7363 (window--size-ignore): Rename to window--size-ignore-p.
7364 Update callers.
7365 (display-buffer-in-atom-window, window--major-non-side-window)
7366 (window--major-side-window, display-buffer-in-major-side-window)
7367 (delete-side-window, display-buffer-in-side-window):
7368 New functions.
7369 (window--side-check, window-deletable-p, delete-window)
7370 (delete-other-windows, split-window): Handle side windows and
7371 atomic windows appropriately.
7372 (window--display-buffer): Call display-buffer-record-window also
7373 when the window buffer did not change.
7374
7375 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7376
7377 * help-fns.el (help-fns--key-bindings):
7378 Abbreviate non-symbol remap targets. (Bug#12174)
7379
7380 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7381
7382 * dired.el (dired-mark-remembered): Don't clobber point.
7383 (Bug#11795)
7384
7385 2012-08-22 Glenn Morris <rgm@gnu.org>
7386
7387 * progmodes/bug-reference.el (bug-reference): New custom group.
7388 (bug-reference-bug-regexp): Make it a defcustom.
7389
7390 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7391
7392 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7393 (js-paren-indent-offset, js-square-indent-offset)
7394 (js-curly-indent-offset): Add :safe (Bug#12257).
7395
7396 2012-08-22 Edward O'Connor <hober0@gmail.com>
7397
7398 * json.el (json-key-format): Add error properties.
7399 (json-encode-key): New function.
7400 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7401 Use json-encode-key.
7402
7403 2012-08-22 Glenn Morris <rgm@gnu.org>
7404
7405 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7406 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7407 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7408 Update for above change.
7409
7410 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7411
7412 * cus-face.el (custom-face-attributes): Fix customize type for the
7413 :underline attribute. (Bug#11805)
7414
7415 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7416
7417 * window.el (window-point-1, set-window-point-1): Remove.
7418 (window-in-direction, record-window-buffer)
7419 (set-window-buffer-start-and-point, split-window-below)
7420 (window--state-get-1, display-buffer-record-window):
7421 Replace calls to window-point-1 and set-window-point-1 by calls to
7422 window-point and set-window-point respectively.
7423
7424 2012-08-21 Glenn Morris <rgm@gnu.org>
7425
7426 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7427 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7428 Use it.
7429
7430 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7431 (cal-tex-shortday): New function.
7432 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7433 (cal-tex-cursor-filofax-daily): Use the above.
7434
7435 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7436 New functions.
7437 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7438 (cal-tex-cursor-filofax-week): Use them.
7439
7440 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7441 New constants.
7442 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7443 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7444
7445 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7446 (cal-tex-end-document): Don't rely on buffer name.
7447
7448 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7449 Use cal-tex-vspace.
7450 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7451 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7452 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7453 Use cal-tex-arg.
7454
7455 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7456 (cal-tex-cursor-week, cal-tex-cursor-week2)
7457 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7458 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7459 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7460 (cal-tex-insert-preamble, cal-tex-b-document)
7461 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7462 Improve cal-tex-cmd usage.
7463
7464 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7465 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7466 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7467 (cal-tex-weekly-paper): New function.
7468 (cal-tex-cursor-week, cal-tex-cursor-week2)
7469 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7470 (cal-tex-cursor-day): Use it.
7471
7472 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7473 (cal-tex-cursor-filofax-week): Remove leading blank page.
7474
7475 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7476 Add autoload cookie. For now at least, don't use color, since
7477 no other cal-tex function does.
7478
7479 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7480 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7481 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7482
7483 2012-08-21 Juri Linkov <juri@jurta.org>
7484
7485 * info.el (Info-file-attributes): New variable.
7486 (info-insert-file-contents): Add file attributes to
7487 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7488 `Info-toc-nodes' when previous modtime of the Info file is less
7489 than new modtime.
7490 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7491 of info.el. (Bug#12230)
7492
7493 2012-08-20 Glenn Morris <rgm@gnu.org>
7494
7495 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7496 * calendar/holidays.el (calendar-holiday-list):
7497 Report errors with display-warning rather than beep'n'sleep.
7498
7499 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7500
7501 * net/tramp.el (tramp-accept-process-output): Accept only output
7502 from PROC. Otherwise, process filters and sentinels might be
7503 confused. (Bug#12145)
7504
7505 2012-08-20 Chong Yidong <cyd@gnu.org>
7506
7507 * descr-text.el (describe-text-properties-1): Use overlays-in to
7508 report on empty overlays (Bug#3322).
7509
7510 2012-08-20 Glenn Morris <rgm@gnu.org>
7511
7512 * mail/rmailout.el (rmail-output-read-file-name):
7513 Trap and report errors in rmail-output-file-alist elements.
7514
7515 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7516 since most non-font-lock faces are not also variables).
7517
7518 2012-08-20 Edward Reingold <reingold@iit.edu>
7519
7520 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7521 New function. (Bug12160)
7522
7523 2012-08-19 Glenn Morris <rgm@gnu.org>
7524
7525 * mail/rmailout.el (rmail-output-read-file-name):
7526 Fix previous change (when the alist is nil or does not match).
7527
7528 2012-08-19 Chong Yidong <cyd@gnu.org>
7529
7530 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7531 (Bug#12228).
7532
7533 2012-08-18 Chong Yidong <cyd@gnu.org>
7534
7535 * simple.el (yank-handled-properties): New defcustom.
7536 (yank-excluded-properties): Add font-lock-face and category.
7537 (yank): Doc fix.
7538
7539 * subr.el (remove-yank-excluded-properties):
7540 Obey yank-handled-properties. The special handling of font-lock-face
7541 and category is now done this way, instead of being hard-coded.
7542 (insert-for-yank-1): Remove font-lock-face handling.
7543 (yank-handle-font-lock-face-property)
7544 (yank-handle-category-property): New function.
7545
7546 2012-08-17 Glenn Morris <rgm@gnu.org>
7547
7548 * mail/rmailout.el (rmail-output-read-file-name):
7549 Check rmail-output-file-alist against the full message body
7550 in the correct rmail buffer. (Bug#12214)
7551
7552 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7553
7554 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7555 Eliminate superfluous prompt. (Bug#12203)
7556
7557 2012-08-17 Chong Yidong <cyd@gnu.org>
7558
7559 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7560 font spec, set the font directly (Bug#3228).
7561
7562 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7563
7564 * window.el (delete-window): Fix last fix.
7565
7566 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7567
7568 * window.el (window-valid-p): Move to window.c.
7569 (window-child, window-child-count, window-last-child)
7570 (window-normalize-window, window-combined-p)
7571 (window-combinations, window-atom-root, window-min-size)
7572 (window-sizable, window-sizable-p, window-size-fixed-p)
7573 (window-min-delta, window-max-delta, window--resizable)
7574 (window--resizable-p, window-resizable, window-total-size)
7575 (window-full-height-p, window-full-width-p, window-body-size)
7576 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7577 (minimize-window, window-deletable-p, delete-window)
7578 (delete-other-windows, set-window-buffer-start-and-point)
7579 (next-buffer, previous-buffer, split-window, balance-windows-2)
7580 (set-window-text-height, window-buffer-height)
7581 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7582 (truncated-partial-width-window-p): Minor code adjustments.
7583 In doc-strings state whether the argument window has to denote a
7584 live, valid or any window.
7585
7586 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7587
7588 * progmodes/subword.el (subword-forward-function)
7589 (subword-backward-function, subword-forward-regexp)
7590 (subword-backward-regexp): New variables.
7591 (subword-forward, subword-forward-internal, subword-backward-internal):
7592 Use new variables, eg so that different "word" definitions
7593 can be easily used. (Bug#11411)
7594
7595 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7596
7597 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7598 for composite selectors.
7599 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7600 operation just because we can't find a previous revision.
7601
7602 2012-08-15 Chong Yidong <cyd@gnu.org>
7603
7604 * frame.el (set-frame-font): Accept font objects.
7605
7606 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7607
7608 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7609
7610 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7611
7612 * man.el (Man-overstrike-face, Man-underline-face)
7613 (Man-reverse-face): Remove variables.
7614 (Man-overstrike, Man-underline, Man-reverse): New faces.
7615 (Man-fontify-manpage): Use them instead of the variables.
7616 (Man-cleanup-manpage): Comment change.
7617 (Man-ansi-color-map): New variable.
7618 (Man-fontify-manpage): Use it.
7619 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7620
7621 Implement ANSI SGR parameters 22-27 (bug#12146).
7622 * ansi-color.el (ansi-colors): Doc fix.
7623 (ansi-color-context, ansi-color-context-region): Doc fix.
7624 (ansi-color--find-face): New function.
7625 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7626 Rename the local variable `face' to `codes' since it is now a list of
7627 ansi codes. Doc fix.
7628 (ansi-color-get-face): Remove.
7629 (ansi-color-parse-sequence): New function, derived from
7630 ansi-color-get-face.
7631 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7632 codes 22-27.
7633
7634 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7635
7636 * subr.el (read-passwd): Allow use from a minibuffer.
7637
7638 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7639
7640 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7641 inside comments and strings as identifiers.
7642
7643 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7644 expression to evaluate. This allows to evaluate expressions with
7645 embedded whitespace.
7646 (gud-tooltip-tips): Add a blank before the newline in the
7647 message-box text, for the benefit of message-box emulation on
7648 MS-Windows.
7649
7650 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7651 messages from GDB, pop them up in a tooltip to give feedback to
7652 user.
7653 (gdb-tooltip-print-1): Quote the expression to evaluate.
7654 This allows to evaluate expressions with embedded whitespace.
7655 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7656 if the TTY name is nil or empty (which happens when communicating
7657 with the inferior via pipes, e.g. on MS-Windows).
7658 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7659 don't send that to the GUD buffer.
7660
7661 2012-08-14 Glenn Morris <rgm@gnu.org>
7662
7663 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7664 Optimize away setq-default with no args, as for setq. (Bug#12195)
7665
7666 2012-08-14 Chong Yidong <cyd@gnu.org>
7667
7668 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7669
7670 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7671 (Bug#12085).
7672
7673 2012-08-14 Glenn Morris <rgm@gnu.org>
7674
7675 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7676
7677 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7678
7679 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7680 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7681 Use cached shell name.
7682
7683 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7684
7685 * progmodes/python.el (python-shell-send-string):
7686 (python-shell-send-setup-code): Do not use `format' with `message'.
7687
7688 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7689
7690 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7691 (ruby-percent-literal-beg-re): New constant.
7692 (ruby-syntax-general-delimiters-goto-beg): Rename to
7693 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7694 (ruby-syntax-propertize-general-delimiters): Rename to
7695 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7696 popular term. Adjust comments everywhere.
7697 (ruby-syntax-propertize-percent-literal): Only propertize when not
7698 inside a simple string or comment. When the literal is unclosed,
7699 leave the text after it unpropertized.
7700 (ruby-syntax-methods-before-regexp): New constant.
7701 (ruby-syntax-propertize-function): Use it to recognize regexps.
7702 Don't look at the text after regexp, just use the whitelist.
7703
7704 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7705
7706 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7707 non-nil always load the compiled file if it exists. (Bug#12197)
7708
7709 2012-08-14 Chong Yidong <cyd@gnu.org>
7710
7711 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7712 (hi-lock-set-pattern): When deciding whether to use font lock or
7713 overlays, look at font-lock-mode instead of font-lock-fontified
7714 (Bug#12168).
7715 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7716 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7717
7718 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7719
7720 * subr.el (internal--after-with-selected-window): Fix typo
7721 (Bug#12193).
7722
7723 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7724
7725 Use `completion-table-dynamic' for completion functions.
7726 * progmodes/python.el
7727 (python-shell-completion--do-completion-at-point)
7728 (python-shell-completion--get-completions):
7729 Remove functions.
7730 (python-shell-completion-complete-at-point): New function.
7731 (python-completion-complete-at-point): Use it.
7732
7733 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7734
7735 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7736 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7737
7738 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7739
7740 * subr.el (function-get): Refine `autoload' arg so it can also
7741 autoload functions for gv.el (bug#12191).
7742 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7743 autoloads macros.
7744
7745 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7746 Prefer pcase-let over destructuring-bind.
7747 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7748 Also, remove whitespace as we go, rather than after accumulating the
7749 various places.
7750
7751 * subr.el (internal--before-with-selected-window)
7752 (internal--after-with-selected-window): Fix typo seleted->selected.
7753 (with-selected-window): Adjust callers.
7754 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7755
7756 2012-08-13 Bastien Guerry <bzg@gnu.org>
7757
7758 * window.el (special-display-popup-frame): Minor docstring
7759 enhancement. (Bug#12172)
7760
7761 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7762
7763 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7764 type 1-6.
7765 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7766 extended headers.
7767
7768 * files.el (hack-local-variables-filter): Remove useless eval.
7769
7770 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7771
7772 * subr.el (with-selected-window): Fix last change.
7773
7774 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7775
7776 * subr.el (internal--before-with-seleted-window)
7777 (internal--after-with-seleted-window): New functions.
7778 (with-selected-window): Use them, to replace dependency on
7779 tty-top-frame.
7780
7781 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7782
7783 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7784 binding for `newline'.
7785 (ruby-move-to-block): When moving backward, stop at block opening,
7786 not indentation.
7787 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7788 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7789 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7790 `ruby-toggle-block'.
7791
7792 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7793
7794 * ibuffer.el (ibuffer-do-toggle-read-only):
7795 * dired.el (dired-toggle-read-only):
7796 * buff-menu.el (Buffer-menu-toggle-read-only):
7797 * bindings.el (mode-line-toggle-read-only):
7798 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7799
7800 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7801
7802 * descr-text.el (describe-char): Put the overlays over the
7803 "displayed as" character.
7804
7805 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7806
7807 * calc/calc-units.el (math-default-units-table): Give an
7808 initial value.
7809 (math-put-default-units): Add options to put composite units and
7810 unit systems in the default units table.
7811 (calc-convert-units): Send composite units to
7812 `math-put-default-units' when appropriate.
7813
7814 2012-08-11 Glenn Morris <rgm@gnu.org>
7815
7816 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7817
7818 * tutorial.el (help-with-tutorial):
7819 * emacs-lisp/copyright.el (copyright-update-directory):
7820 * emacs-lisp/autoload.el (autoload-find-generated-file)
7821 (autoload-find-file): Disable local eval: (for insurance).
7822
7823 * files.el (hack-local-variables-filter): If an eval: form is not
7824 known to be safe, and enable-local-variables is :safe, then ignore
7825 the form totally, as is done for non-eval forms. (Bug#12155)
7826 This is CVE-2012-3479.
7827
7828 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7829
7830 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7831 (rx-form): Simplify.
7832
7833 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7834
7835 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7836 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7837 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7838 (ruby-syntax-propertize-function): Adjust for changes in
7839 `ruby-syntax-propertize-heredoc'.
7840
7841 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7842
7843 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7844 binding (use `M-;' instead).
7845 (ruby-singleton-class-p): New function.
7846 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7847
7848 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7849
7850 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7851
7852 2012-08-10 Chong Yidong <cyd@gnu.org>
7853
7854 * progmodes/python.el (python-shell-get-process-name): Don't mess
7855 with same-window-buffer-names.
7856
7857 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7858 (eshell-remove-from-window-buffer-names): Make obsolete.
7859 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7860 (eshell): Just use pop-to-buffer-same-window instead.
7861
7862 2012-08-10 Chong Yidong <cyd@gnu.org>
7863
7864 * bindings.el: Bind M-= back to count-words-region.
7865
7866 * simple.el (count-words-region): Accept a prefix arg for acting
7867 on the entire buffer.
7868 (count-words--buffer-message): New helper function.
7869
7870 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7871
7872 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7873 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7874 (event-start, event-end): Use posn-at-point to return a more
7875 informative posn.
7876 (posnp): New function.
7877 * mouse.el (popup-menu-normalize-position): Use it.
7878
7879 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7880
7881 * mouse.el (popup-menu-normalize-position): New function.
7882 (popup-menu): Use `popup-menu-normalize-position' to normalize
7883 the form for POSITION argument.
7884
7885 * term/x-win.el (x-menu-bar-open):
7886 Use the value returend from (posn-at-point) as position
7887 passed to `popup-menu'.
7888
7889 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7890
7891 * calc/calccomp.el (math-compose-expr): Add extra argument
7892 indicating that parentheses should be put around products in
7893 denominators. Give multiplication precedence over division during
7894 composition.
7895
7896 2012-08-09 Chong Yidong <cyd@gnu.org>
7897
7898 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7899 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7900 (Man-untabify-command, manual-program): Convert to defcustom
7901 (Bug#10429).
7902
7903 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7904
7905 * descr-text.el (describe-char): Don't insert extra newlines
7906 (Bug#10127).
7907
7908 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7909 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7910
7911 * align.el (align-region): Delete temporary markers (Bug#10047).
7912 Plus some code cleanups.
7913
7914 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7915
7916 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7917 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7918 (python-shell-internal-last-output): Use make-local-variable
7919 instead of make-variable-buffer-local.
7920
7921 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7922
7923 * progmodes/python.el: Enhancements to forward-sexp.
7924 (python-nav-forward-sexp): Rename from
7925 python-nav-forward-sexp-function.
7926 (python-nav--forward-sexp, python-nav--backward-sexp):
7927 New functions.
7928
7929 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7930
7931 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7932 modes and simplification modes.
7933
7934 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7935
7936 * delsel.el (delete-selection-pre-hook): Don't propagate the
7937 file-supersession signals (bug#12161).
7938
7939 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7940
7941 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7942 (cl-map-extents): Add compatibility aliases (bug#12135).
7943
7944 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7945
7946 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7947 tests by `ignore-error'.
7948 (tramp-find-shell): Open also a new shell, when cache is already
7949 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7950
7951 2012-08-08 Juri Linkov <juri@jurta.org>
7952
7953 * bookmark.el: Add `defaults' property to the bookmark record.
7954 (bookmark-current-buffer): Doc fix.
7955 (bookmark-make-record): Add `defaults' property with default values
7956 to the bookmark record.
7957 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7958 with `bookmark-insert-current-bookmark'.
7959 (bookmark-set): Get `defaults' property from the bookmark record
7960 and use it in `read-from-minibuffer'.
7961 (bookmark-insert-current-bookmark): Remove function.
7962
7963 * info.el (Info-bookmark-make-record): Add `defaults' property
7964 with values of canonical Info node name, the current Info file
7965 name and the current Info node name. (Bug#12107)
7966
7967 2012-08-08 Juri Linkov <juri@jurta.org>
7968
7969 * files.el (basic-save-buffer): Use `buffer-name' as the default
7970 of `read-file-name' when buffer is not visiting a file (bug#12128).
7971
7972 2012-08-08 Juri Linkov <juri@jurta.org>
7973
7974 * info.el (Info-isearch-search): Doc fix.
7975 (Info-search): Change search-failed message from "initial node" to
7976 "end of node" (bug#12078).
7977 (Info-isearch-search): Change `isearch-string-state' to
7978 `isearch--state-string'.
7979
7980 2012-08-08 Glenn Morris <rgm@gnu.org>
7981
7982 * language/persian.el: Remove file.
7983 * language/misc-lang.el: Move unique part of persian.el here.
7984 * loadup.el: Remove language/persian.
7985
7986 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7987
7988 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7989
7990 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7991
7992 * progmodes/python.el: Fix defsubst warning.
7993 (python-syntax-context) Rename from python-info-ppss-context.
7994 (python-syntax-context-type): Rename from
7995 python-info-ppss-context-type.
7996 (python-syntax-comment-or-string-p): Rename from
7997 python-info-ppss-comment-or-string-p.
7998
7999 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8000
8001 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8002
8003 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8004
8005 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8006 a defcustom that is quoted with backquote.
8007
8008 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8009 Fix handling of interactive spec when the body uses return.
8010 (math-do-arg-check, math-define-function-body): Use backquote forms.
8011 * calc/calc-ext.el (math-defcache): Likewise.
8012 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8013 * allout.el (allout-new-exposure): Likewise.
8014 * calc/calcalg2.el (math-tracing-integral): Likewise.
8015 * info.el (Info-last-menu-item): Likewise.
8016 * emulation/vip.el (vip-loop): Likewise.
8017 * textmodes/artist.el (artist-funcall): Likewise.
8018 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8019 Construct menu-item directly.
8020
8021 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8022 Don't declare.
8023
8024 2012-08-07 Chong Yidong <cyd@gnu.org>
8025
8026 * simple.el (deactivate-mark): Preserve text properties when
8027 saving the primary selection (Bug#8384).
8028
8029 2012-08-07 Kevin Ryde <user42@zip.com.au>
8030
8031 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8032 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8033 and continue processing (Bug#12110).
8034
8035 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8036
8037 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8038 syntax-propertize-function (bug#10095).
8039
8040 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8041
8042 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8043 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8044 describe-function-1.
8045 (describe-function-1): Use them. Move compiler macro after sig.
8046 (help-fns--compiler-macro): Use function-get. Assume we're already in
8047 standard-output. Adjust layout to new call order.
8048
8049 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8050 re-binding a symbol that has a symbol-macro (bug#12119).
8051
8052 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8053
8054 * language/persian.el: New file. (Bug#11812)
8055 * loadup.el: Add language/persian.el.
8056
8057 2012-08-06 Chong Yidong <cyd@gnu.org>
8058
8059 * window.el (window--maybe-raise-frame): New function.
8060 (window--display-buffer): Split off from here.
8061 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8062 (display-buffer-pop-up-window, display-buffer-use-some-window):
8063 Obey an inhibit-switch-frame action alist entry.
8064 (display-buffer): Update doc.
8065
8066 * replace.el (occur-after-change-function): Avoid losing focus by
8067 using the inhibit-switch-frame display parameter (Bug#12139).
8068
8069 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8070
8071 Make internal shell process buffer names start with space.
8072 * progmodes/python.el (python-shell-make-comint): Add optional
8073 argument INTERNAL.
8074 (run-python-internal): Use it.
8075 (python-shell-internal-get-or-create-process): Check for new
8076 internal buffer names.
8077
8078 2012-08-06 Glenn Morris <rgm@gnu.org>
8079
8080 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8081 Do less getting and setting of environment variables.
8082
8083 2012-08-05 Chong Yidong <cyd@gnu.org>
8084
8085 * proced.el (proced): Add substitution string to docstring to
8086 trigger autoloading of the proced library on C-h f (Bug#1768).
8087
8088 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8089 Don't show defvars which have no second argument (Bug#8638).
8090
8091 * imenu.el (imenu-generic-expression): Move documentation here
8092 from imenu--generic-function.
8093 (imenu--generic-function): Refer to imenu-generic-expression.
8094
8095 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8096
8097 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8098 indentation declaration.
8099 (viper-loop): Add indentation declaration (Bug#7025).
8100
8101 2012-08-05 Chong Yidong <cyd@gnu.org>
8102
8103 * help-fns.el (describe-variable): Add hyperlink for
8104 directory-local variables files. Improve buffer-local and
8105 permanent-local reporting; suggested by MON KEY (Bug#6644).
8106
8107 * help-mode.el (help-dir-local-var-def): New button type.
8108
8109 * files.el (kill-buffer-hook): Provide a defvar.
8110
8111 2012-08-05 Glenn Morris <rgm@gnu.org>
8112
8113 * eshell/esh-ext.el (eshell/addpath):
8114 Also update eshell-path-env. (Bug#12013)
8115
8116 2012-08-05 Chong Yidong <cyd@gnu.org>
8117
8118 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8119
8120 * fringe.el (fringe-styles): Add docstring.
8121 (fringe--check-mode): New function.
8122 (set-fringe-mode, set-fringe-style): Use it.
8123 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8124
8125 * files.el (set-auto-mode): Fix invalid setq call.
8126
8127 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8128
8129 * isearch.el: Misc simplification; use defstruct.
8130 (isearch-mode-map): Dense maps now work like sparse ones.
8131 (isearch--state): New defstruct.
8132 (isearch-string-state, isearch-message-state, isearch-point-state)
8133 (isearch-success-state, isearch-forward-state)
8134 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8135 (isearch-wrapped-state, isearch-barrier-state)
8136 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8137 replaced by defstruct's accessors.
8138 (isearch--set-state): Rename from isearch-top-state and change
8139 calling convention.
8140 (isearch-push-state): Use new isearch--get-state.
8141 (isearch-toggle-word): Disable regexp when enabling word.
8142 (isearch-message-prefix): Remove unused arg _c-q-hack.
8143 (isearch-message-suffix): Remove unused arg _ellipsis.
8144
8145 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8146
8147 * simple.el (list-processes--refresh): For a server use :host or
8148 :local as the address.
8149 (list-processes): Doc fix.
8150
8151 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8152
8153 * lisp/mpc.el: Support password in host argument.
8154 (mpc--proc-connect): Parse and use new password element.
8155 Set mpc-proc variable instead of returning process.
8156 (mpc-proc): Adjust accordingly.
8157
8158 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8159
8160 * whitespace.el (whitespace-display-mappings): Use Unicode
8161 codepoints, instead of emacs-mule codepoints. See
8162 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8163 for the details.
8164
8165 * files.el (file-truename): Don't skip symlink-chasing part on
8166 windows-nt. Incorporate the resolution of 8+3 short aliases on
8167 Windows into the loop that recursively chases symlinks.
8168 Compare directory and its parent case-insensitively on MS-Windows and
8169 MS-DOS.
8170
8171 2012-08-03 Chong Yidong <cyd@gnu.org>
8172
8173 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8174
8175 * sort.el (sort-regexp-fields): Doc fix.
8176
8177 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8178
8179 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8180 labels regex position point at the expected place.
8181
8182 2012-08-03 MON KEY <monkey@sandpframing.com>
8183
8184 * net/imap.el (imap-interactive-login, imap-authenticate)
8185 (imap-mailbox-lsub, imap-mailbox-list)
8186 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8187 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8188 (imap-parse-response): Doc fix.
8189
8190 2012-08-03 João Távora <joaotavora@gmail.com>
8191
8192 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8193 if sexp scanning does not move point (Bug#5734).
8194
8195 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8196
8197 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8198 Add listings, minted, and ctable packages.
8199 (reftex-label-alist-builtin): Move listings, minted, and ctable
8200 entries before LaTeX.
8201 (reftex-label-alist): Docfix.
8202
8203 2012-08-02 Bastien Guerry <bzg@gnu.org>
8204
8205 * replace.el (occur): Fix docstring (bug#12122).
8206
8207 2012-08-02 Glenn Morris <rgm@gnu.org>
8208
8209 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8210
8211 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8212
8213 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8214 * international/mule-cmds.el: Create
8215 inactivate-current-input-method-function as an obsolete alias for
8216 deactivate-current-input-method-function. See Katsumi Yamaoka in
8217 <http://bugs.gnu.org/10150#46>.
8218
8219 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8220
8221 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8222 of nested `if's.
8223
8224 2012-08-01 Glenn Morris <rgm@gnu.org>
8225
8226 * progmodes/autoconf.el (autoconf-definition-regexp):
8227 Add AH_TEMPLATE, adjust submatch numbering.
8228 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8229 (autoconf-current-defun-function): Update for above change.
8230 (autoconf-current-defun-function): First skip to end of current word.
8231
8232 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8233
8234 * calendar/cal-html.el (cal-html-insert-agenda-days):
8235 Fix typo. (Bug#12018)
8236
8237 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8238
8239 Shell processes: enhancements to startup and CEDET compatibility.
8240 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8241 (python-shell-make-comint): accept-process-output at startup.
8242 (run-python-internal): Set inferior-python-mode-hook to nil.
8243 (python-shell-internal-get-or-create-process): call sit-for.
8244 (python-preoutput-result): Add obsolete alias.
8245 (python-shell-internal-send-string): Use it.
8246 (python-shell-send-setup-code): Remove call to
8247 accept-process-output.
8248
8249 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8250
8251 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8252 (Bug#12108)
8253
8254 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8255
8256 * calc-mode.el (calc-basic-simplification-mode): Rename from
8257 `calc-limited-simplification-mode'.
8258 (calc-alg-simplification-mode): New function.
8259 (calc-set-simplify-mode): Adjust message.
8260
8261 * calc.el (calc-set-mode-line): Adjust mode line display for
8262 basic simplification mode.
8263
8264 * calc-help.el (calc-m-prefix-help): Update help message.
8265
8266 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8267 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8268
8269 2012-07-31 Bastien Guerry <bzg@gnu.org>
8270
8271 * man.el (man): Fix comment. (bug#12101)
8272
8273 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8274
8275 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8276 Don't return a non-nil value when no suitable buffer was found.
8277
8278 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8279
8280 * progmodes/python.el (run-python-internal): Disable font lock for
8281 internal shells.
8282
8283 2012-07-30 Stefan Merten <smerten@oekonux.de>
8284
8285 * textmodes/rst.el: Silence `checkdoc-ispell'.
8286 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8287 (rst-official-version, rst-official-cvs-rev)
8288 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8289 (rst-mode-map): New key binding.
8290
8291 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8292
8293 Update .PHONY listings in makefiles.
8294 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8295 autoloads, update-subdirs, updates, bzr-update, update-authors,
8296 compile-onefile, compile-calc, backup-compiled-files,
8297 compile-after-backup, compile-one-process, mh-autoloads,
8298 bootstrap-clean, distclean, maintainer-clean.
8299
8300 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8301
8302 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8303 (calc-set-mode-line): Don't display "AlgSimp ".
8304
8305 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8306 (calc-lim-simplify-mode): New function.
8307 (calc-set-simplify-mode): Default to 'alg.
8308 (calc-default-simplify-mode): Make algebraic simplifications
8309 the default.
8310
8311 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8312 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8313
8314 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8315 indicate new simplification modes.
8316
8317 * calc/README: Mention new default simplification mode.
8318
8319 * calc/calc.el (math-normalize-error): New variable.
8320 (math-normalize): Set `math-normalize-error' to t
8321 when there's an error.
8322
8323 * calc/calc-alg.el (math-simplify): Don't simplify when
8324 `math-normalize' returns an error.
8325
8326 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8327
8328 * international/mule-cmds.el (set-locale-environment): Revert last
8329 change, since display-graphic-p returns nil when this function is
8330 called during startup. Instead...
8331
8332 * term/w32console.el (terminal-init-w32console): ...setup the
8333 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8334
8335 2012-07-29 Juri Linkov <juri@jurta.org>
8336
8337 * simple.el (goto-line): Don't display default line number in the
8338 prompt because it should be displayed by `read-number' (bug#9952).
8339 Add the current line number to the defaults of `goto-line' to
8340 allow its easier modification by users with `M-n' (bug#9201).
8341
8342 * subr.el (read-number): Support multiple default values like in
8343 other minibuffer reading functions. Replace `read' with
8344 `string-to-number' for consistency with `number-to-string'.
8345
8346 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8347
8348 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8349 * emulation/viper-init.el (viper-deactivate-input-method-action):
8350 Rename from viper-inactivate-input-method-action.
8351 (viper-deactivate-input-method):
8352 Rename from viper-inactivate-input-method.
8353 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8354 * international/mule-cmds.el (deactivate-input-method):
8355 Rename from inactivate-input-method.
8356 Also run input-method-deactivate-hook.
8357 (deactivate-current-input-method-function):
8358 Rename from inactivate-current-input-method-function.
8359 (input-method-deactivate-hook): New hook.
8360 (input-method-inactivate-hook): Mark obsolete.
8361 (inactivate-input-method): Mark obsolete.
8362
8363 * international/quail.el (quail-activate):
8364 Also run quail-deactivate-hook.
8365 (quail-deactivate): Rename from quail-inactivate.
8366 * international/robin.el (robin-activate):
8367 Also run robin-deactivate-hook.
8368 (robin-deactivate): Rename from robin-inactivate.
8369
8370 2012-07-29 Chong Yidong <cyd@gnu.org>
8371
8372 * simple.el (indicate-copied-region): New function.
8373 (kill-ring-save): Split off from here.
8374
8375 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8376 (kill-rectangle): Set deactivate-mark to t on read-only error.
8377
8378 * register.el (copy-to-register, copy-rectangle-to-register):
8379 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8380 (append-to-register, prepend-to-register): Call indicate-copied-region.
8381
8382 2012-07-29 Juri Linkov <juri@jurta.org>
8383
8384 * simple.el (async-shell-command-buffer): New defcustom.
8385 (shell-command): Use it. (Bug#4719)
8386
8387 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8388
8389 * international/mule-cmds.el (set-locale-environment): In a
8390 console session on MS-Windows, set up keyboard and terminal
8391 encoding from the OEM codepage, not the ANSI codepage.
8392 (Bug#12055)
8393
8394 2012-07-28 Chong Yidong <cyd@gnu.org>
8395
8396 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8397 gdb-get-location.
8398
8399 2012-07-28 Leo Liu <sdl.web@gmail.com>
8400
8401 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8402 the alist (bug#12029).
8403
8404 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8405
8406 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8407 (compile-always, compile-first)
8408 ($(lisp)/calendar/cal-loaddefs.el)
8409 ($(lisp)/calendar/diary-loaddefs.el)
8410 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8411 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8412 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8413 instead of on update-subdirs.
8414 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8415
8416 2012-07-28 Chong Yidong <cyd@gnu.org>
8417
8418 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8419 directory if vc-deduce-backend returns nil (Bug#7350).
8420
8421 * simple.el (delete-trailing-lines): New option.
8422 (delete-trailing-whitespace): Obey it (Bug#11879).
8423
8424 2012-07-28 David Engster <deng@randomsample.de>
8425
8426 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8427 Explanation of new 'symbol-qnames feature in doc-strings.
8428 (xml-maybe-do-ns): Return expanded names as plain symbols if
8429 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8430 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8431
8432 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8433
8434 Consistent completion in inferior python with emacs -nw.
8435 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8436 binding in inferior-python-mode-map with "\t".
8437 (python-shell-completion-complete-at-point)
8438 (python-completion-complete-at-point): Remove interactive spec.
8439
8440 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8441
8442 * calc/calccomp.el (math-compose-expr): Undo previous change.
8443
8444 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8445
8446 * progmodes/python.el (python-mode-map): Add keybinding for
8447 run-python.
8448 (python-shell-make-comint): Fix pop-to-buffer call.
8449 (run-python): Autoload. New arg SHOW.
8450 (python-shell-get-or-create-process): Do not pop python process
8451 buffer.
8452
8453 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8454
8455 * notifications.el (notifications-on-action-signal)
8456 (notifications-on-closed-signal): Use also the bus address for the map.
8457 (notifications-notify, notifications-close-notification)
8458 (notifications-get-capabilities): Add optional argument BUS.
8459
8460 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8461
8462 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8463 Add support for the lstlisting and minted environments, and for the
8464 ctable macro.
8465 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8466 labels written in keyvals syntax.
8467
8468 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8469
8470 * calc/calccomp.el (math-compose-expr): Use parentheses when
8471 there is a product in the denominator of a fraction.
8472
8473 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8474
8475 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8476 ($(lisp)/calendar/diary-loaddefs.el)
8477 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8478 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8479 Fixes failures in parallel bootstrap because subdirs.el is being
8480 rewritten while the autoload files are built at the same time,
8481 which needs to load subdirs.el.
8482
8483 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8484
8485 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8486 (mouse-drag-line): Don't exit tracking when a switch-frame or
8487 switch-window event occurs (Bug#12006).
8488
8489 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8490
8491 * mouse.el (popup-menu): Fix last change.
8492
8493 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8494
8495 Autoload from Lisp with more care. Follow aliases when looking for
8496 function properties.
8497 * subr.el (autoloadp): New function.
8498 (symbol-file): Use it.
8499 (function-get): New function.
8500 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8501 autoload-do-load.
8502 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8503 (lisp-indent-function):
8504 * emacs-lisp/gv.el (gv-get):
8505 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8506 * emacs-lisp/byte-opt.el (byte-optimize-form):
8507 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8508 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8509 Use function-get.
8510 * emacs-lisp/cl.el: Don't propagate function properties any more.
8511
8512 * speedbar.el (speedbar-add-localized-speedbar-support):
8513 * emacs-lisp/disass.el (disassemble-internal):
8514 * desktop.el (desktop-load-file):
8515 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8516 (describe-function-1):
8517 * emacs-lisp/find-func.el (find-function-noselect):
8518 * emacs-lisp/elp.el (elp-instrument-function):
8519 * emacs-lisp/advice.el (ad-has-proper-definition):
8520 * apropos.el (apropos-safe-documentation, apropos-macrop):
8521 * emacs-lisp/debug.el (debug-on-entry):
8522 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8523 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8524 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8525
8526 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8527
8528 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8529 function, not an obsolete variable (Bug#12046).
8530
8531 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8532
8533 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8534
8535 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8536
8537 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8538 window only if it is still live (Bug#12034).
8539
8540 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8541
8542 * subr.el (redirect-frame-focus): Add advertised calling
8543 convention (Bug#12030).
8544
8545 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8546
8547 Prefer typical American spelling for "acknowledgment".
8548 * vc/add-log.el (change-log-acknowledgment): Rename from
8549 change-log-acknowledgement, with an alias for the old name.
8550
8551 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8552
8553 * calc-alg.el (math-simplify-divide): Don't cross multiply
8554 in an equation when the lhs is a variable.
8555
8556 2012-07-24 Julien Danjou <julien@danjou.info>
8557
8558 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8559 Remove, unused.
8560
8561 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8562
8563 * startup.el (command-line): Don't display an empty user name in
8564 the error message about non-existent home directory, when
8565 init-file-user was set to an empty string. See
8566 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8567 for the details and context.
8568
8569 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8570
8571 * ses.el (ses-cell-formula-aset): New macro.
8572 (ses-cell-references-aset): New macro.
8573 (ses-cell-p): New function.
8574 (ses-rename-cell): Do no longer rely on complex operations like
8575 ses-cell-set-formula or ses-set-cell to change the cell and handle
8576 the undo at the same time, but rather use lower level new macros
8577 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8578 the undo directly. Refresh the mode line.
8579
8580 2012-07-21 Leo Liu <sdl.web@gmail.com>
8581
8582 * progmodes/cc-cmds.el (c-defun-name):
8583 Use match-string-no-properties instead for consistency.
8584
8585 2012-07-20 Leo Liu <sdl.web@gmail.com>
8586
8587 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8588 (Bug#7879)
8589
8590 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8591
8592 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8593
8594 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8595 * progmodes/bug-reference.el, misearch.el: Provide themselves
8596 (bug#11915).
8597
8598 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8599 of narrowed buffer (bug#11966).
8600
8601 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8602
8603 * ses.el (ses-rename-cell): Set new name also in reference list of
8604 cells of which the renamed cell depends.
8605
8606 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8607
8608 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8609 to check whether menu-bar is shown or not. If not shown,
8610 show the menu-bar as a popup menu instead of using tmm.
8611 * mouse.el (popup-menu): Accept `point' as `position' argument.
8612
8613 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8614
8615 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8616 up inside string symbol literal (bug#11923).
8617
8618 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8619
8620 * startup.el (fancy-startup-text): Read the whole tutorial, not
8621 just its first 256 bytes. Prevents gibberish in display of the
8622 tutorial title.
8623
8624 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8625
8626 Drop idle buffer compaction due to an absence of the
8627 proved efficiency.
8628 * compact.el: Remove.
8629
8630 2012-07-19 Sam Steingold <sds@gnu.org>
8631
8632 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8633 vc-bzr-pull & vc-bzr-merge-branch.
8634 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8635 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8636 for consistency with compilation-error-regexp-alist.
8637 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8638 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8639 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8640 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8641
8642 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8643
8644 * emacs-lisp/chart.el: Use lexical-binding.
8645 (chart-emacs-storage): Don't hardcode the list of entries.
8646
8647 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8648
8649 Next round of tweaks caused by Fgarbage_collect changes.
8650 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8651
8652 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8653
8654 Compact buffers when idle.
8655 * compact.el: New file.
8656
8657 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8658
8659 * subr.el (eventp): Presume that if it looks vaguely like an event,
8660 it's an event (bug#10190).
8661
8662 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8663
8664 Enhancements to ppss related code (thanks Stefan).
8665 * progmodes/python.el (python-indent-context)
8666 (python-indent-calculate-indentation, python-indent-dedent-line)
8667 (python-indent-electric-colon, python-nav-forward-block)
8668 (python-mode-abbrev-table)
8669 (python-info-assignment-continuation-line-p): Simplify checks
8670 for ppss context.
8671 (python-info-continuation-line-p): Cleanup.
8672 (python-info-ppss-context): Do not catch 'quote.
8673 (python-info-ppss-context-type)
8674 (python-info-ppss-comment-or-string-p): Simplify.
8675
8676 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8677
8678 * progmodes/python.el: Enhancements to eldoc support.
8679 (python-info-current-symbol): New function.
8680 (python-eldoc-at-point): Use python-info-current-symbol.
8681 (python-info-current-defun): Fix cornercase on first defun scan.
8682 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8683 and signal error when no inferior python process is available.
8684
8685 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8686
8687 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8688 assume it's always t.
8689 (vc-git-registered): Remove caching, the function is only called
8690 once.
8691 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8692
8693 2012-07-18 Chong Yidong <cyd@gnu.org>
8694
8695 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8696
8697 * simple.el (count-words): Report on narrowing (Bug#9959).
8698
8699 * bindings.el: Bind M-= to count-words.
8700
8701 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8702
8703 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8704
8705 * progmodes/sh-script.el (sh-imenu-generic-expression):
8706 Capture a function with `function' keyword and without parentheses
8707 like "function FOO" (bug#11856).
8708
8709 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8710
8711 * window.el (split-window-sensibly): Make WINDOW argument
8712 optional.
8713
8714 2012-07-18 Chong Yidong <cyd@gnu.org>
8715
8716 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8717
8718 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8719 and make C-x 8 RET exit isearch (Bug#11439).
8720
8721 * international/iso-transl.el: Move isearch-mode-map key
8722 definitions to isearch.el.
8723
8724 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8725
8726 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8727 (eieio-defclass): Use gv-define-setter when possible.
8728
8729 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8730
8731 Reflect recent changes in Fgarbage_collect.
8732 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8733 reflect new format of data returned by Fgarbage_collect.
8734
8735 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8736
8737 New utility functions + python-info-ppss-context fix (Bug#11910).
8738 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8739 (python-info-ppss-comment-or-string-p): New functions.
8740 (python-info-ppss-context): Small fix for string check.
8741
8742 2012-07-17 Juri Linkov <juri@jurta.org>
8743
8744 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8745 (dired-do-async-shell-command): Don't add `*' at the end of the
8746 command (Bug#11815).
8747 (dired-do-shell-command): Doc fix.
8748 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8749 Join the individual commands using either "&" or ";" as the
8750 separator depending on the values of these trailing characters.
8751 At the end re-add the trailing "&". (Bug#10598)
8752
8753 * simple.el (async-shell-command): Sync the interactive spec with
8754 `shell-command'. Doc fix.
8755 (shell-command): Doc fix.
8756
8757 2012-07-17 Juri Linkov <juri@jurta.org>
8758
8759 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8760
8761 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8762
8763 Final renames and doc fixes for movement commands (bug#11899).
8764 * progmodes/python.el (python-nav-beginning-of-statement):
8765 Rename from python-nav-statement-start.
8766 (python-nav-end-of-statement): Rename from
8767 python-nav-statement-end.
8768 (python-nav-beginning-of-block): Rename from
8769 python-nav-block-start.
8770 (python-nav-end-of-block): Rename from python-nav-block-end.
8771
8772 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8773
8774 * progmodes/python.el (python-shell-send-string-no-output):
8775 Allow accept-process-output to quit, keeping shell process ready for
8776 future interactions (Bug#11868).
8777
8778 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8779
8780 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8781
8782 * emacs-lisp/elint.el (elint-find-args-in-code):
8783 Use help-function-arglist, so as to handle lexical byte-code.
8784
8785 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8786 change (bug#11826).
8787
8788 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8789
8790 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8791 Avoid spuriously marking the buffer as modified because of c-is-sws.
8792
8793 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8794 as not-a-comment (bug#11946).
8795
8796 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8797 for uninterned vars.
8798
8799 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8800 Use read-event since we don't really want to read chars but bytes.
8801
8802 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8803 $$..$$ but also $..$ using regexps (bug#11953).
8804 Use tex-verbatim for \url and \path.
8805 (tex-font-lock-keywords): Define as defconst like the others.
8806 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8807
8808 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8809
8810 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8811 alias for insert-char.
8812
8813 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8814
8815 * progmodes/python.el: Simplified imenu implementation.
8816 (python-nav-jump-to-defun): Remove command.
8817 (python-mode-map): Use `imenu' instead.
8818 (python-nav-list-defun-positions-cache)
8819 (python-imenu-include-defun-type, python-imenu-make-tree)
8820 (python-imenu-subtree-root-label, python-imenu-index-alist):
8821 Remove vars.
8822 (python-nav-list-defun-positions, python-nav-read-defun)
8823 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8824 (python-imenu-make-tree, python-imenu-create-index):
8825 Remove functions.
8826 (python-mode): Update to interact with imenu by setting
8827 `imenu-extract-index-name-function' only.
8828
8829 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8830
8831 * progmodes/python.el: Enhancements to navigation commands.
8832 (python-nav-backward-sentence)
8833 (python-nav-forward-sentence): Remove.
8834 (python-nav-backward-statement, python-nav-forward-statement)
8835 (python-nav-statement-start, python-nav-statement-end)
8836 (python-nav-backward-block, python-nav-forward-block)
8837 (python-nav-block-start, python-nav-block-end)
8838 (python-nav-forward-sexp-function)
8839 (python-info-current-line-comment-p)
8840 (python-info-current-line-empty-p): New functions.
8841 (python-indent-context): Use `python-nav-statement-start'.
8842
8843 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8844
8845 * eshell/em-ls.el (eshell/ls): Use `apply'.
8846
8847 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8848 multi-hops, instead of Tramp internals.
8849
8850 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8851
8852 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8853 when F1 and F2 are located on different hosts.
8854
8855 2012-07-14 Chong Yidong <cyd@gnu.org>
8856
8857 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8858 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8859 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8860 (xterm-mouse--read-event-sequence-1000)
8861 (xterm-mouse--read-event-sequence-1006): New functions. For old
8862 mouse protocol, handle M-mouse-X events correctly.
8863 (xterm-mouse-event): New arg specifying mouse protocol.
8864 (turn-on-xterm-mouse-tracking-on-terminal)
8865 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8866 sequence to toggle extended coordinates on newer XTerms.
8867 This appears to be harmless on terminals which do not support this.
8868
8869 2012-07-14 Leo Liu <sdl.web@gmail.com>
8870
8871 Add fringe bitmap indicators for flymake. (Bug#11253)
8872 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8873 (flymake-make-overlay): New arg BITMAP.
8874 (flymake-error-bitmap, flymake-warning-bitmap)
8875 (flymake-fringe-indicator-position): New user variables.
8876
8877 * fringe.el: New bitmap exclamation-mark.
8878
8879 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8880
8881 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8882 also (Bug#7879).
8883
8884 2012-07-14 Chong Yidong <cyd@gnu.org>
8885
8886 * electric.el (electric-pair-post-self-insert-function): Fix pair
8887 insertion in empty-region case (Bug#11520).
8888
8889 2012-07-14 Chong Yidong <cyd@gnu.org>
8890
8891 * bindings.el: Consolidate ctl-x-r-map bindings.
8892 Bind copy-rectangle-as-kill to C-x r w.
8893
8894 * rect.el, register.el: Move bindings to bindings.el.
8895
8896 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8897
8898 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8899
8900 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8901
8902 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8903
8904 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8905
8906 * bindings.el (top): Use `mapc' instead of `mapcar'.
8907
8908 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8909
8910 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8911
8912 * progmodes/sql.el (sql-comint): Suppress the check for program on
8913 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8914 (Bug#11908)
8915
8916 2012-07-13 Chong Yidong <cyd@gnu.org>
8917
8918 * bindings.el: Assign a non-nil permanent-local property to
8919 per-buffer variables which lack a default value (Bug#11930).
8920
8921 * help-fns.el (describe-variable): In the "automatically becomes
8922 local" notice, take note of permanent-local variables.
8923
8924 2012-07-13 Chong Yidong <cyd@gnu.org>
8925
8926 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8927 to allow printing the message when called from Lisp.
8928
8929 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8930 Remove toggle-read-only.
8931
8932 * bs.el (bs-toggle-readonly):
8933 * buff-menu.el (Buffer-menu-toggle-read-only):
8934 Remove with-no-warnings around toggle-read-only.
8935
8936 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8937 Remove with-no-warnings around toggle-read-only.
8938 (ffap-read-only, ffap-read-only-other-window)
8939 (ffap-read-only-other-frame): Callers changed.
8940
8941 * help-mode.el: Don't require view package.
8942 (help-mode-finish): Set buffer-read-only instead of calling
8943 toggle-read-only.
8944
8945 * bindings.el (mode-line-toggle-read-only):
8946 * dired.el (dired-toggle-read-only):
8947 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8948 with non-nil second arg.
8949
8950 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8951 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8952 directly.
8953
8954 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8955
8956 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8957 not incf.
8958
8959 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8960
8961 More CL cleanups and reduction of use of cl.el.
8962 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8963 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8964 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8965 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8966 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8967 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8968 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8969 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8970 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8971 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8972 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8973 * eshell/em-cmpl.el, eshell/em-banner.el:
8974 * calendar/parse-time.el: Use cl-lib.
8975 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8976 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8977 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8978 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8979 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8980 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8981 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8982 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8983 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8984 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8985 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8986 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8987 `lambda' rather than with `quote'.
8988 (eshell-do-opt): Adjust accordingly.
8989 (eshell-process-option): Simplify.
8990 * eshell/esh-var.el:
8991 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8992 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8993 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8994 to `pcase--dontcare'.
8995 * emacs-lisp/cl.el (labels): Mark obsolete.
8996 (cl--letf, letf): Move to cl-lib.
8997 (cl--letf*, letf*): Remove.
8998 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8999 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9000 (cl-progv): Rewrite.
9001 (cl--letf, cl-letf): Move from cl.el.
9002 (cl-letf*): New macro.
9003 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9004
9005 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9006
9007 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9008
9009 2012-07-11 Chong Yidong <cyd@gnu.org>
9010
9011 * vc/log-edit.el (log-edit-vc-backend): New variable.
9012 (log-edit): Doc fix.
9013
9014 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9015 argument of log-edit to set up all local variables.
9016 (vc-start-logentry): New optional arg specifying VC backend.
9017
9018 * vc/vc.el (vc-checkin): Use it.
9019 (vc-deduce-fileset): Handle Log Edit buffers.
9020 (vc-diff): Make first argument optional too.
9021
9022 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9023
9024 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9025
9026 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9027 command, just in case. The function is not needed anymore.
9028 (eshell-external-command): Do not call `eshell-remote-command'.
9029
9030 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9031
9032 Reduce use of (require 'cl).
9033 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9034 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9035 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9036 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9037 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9038 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9039 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9040 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9041 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9042 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9043 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9044 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9045 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9046 (byte-compile-unfold-bcf, byte-compile-check-variable):
9047 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9048 (byte-compile-nilconstp):
9049 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9050 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9051
9052 * emacs-lisp/gv.el (cond): Make it a valid place.
9053 (if): Simplify slightly.
9054
9055 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9056 (pcase--self-quoting-p): New function.
9057 (pcase--u1): Use it.
9058
9059 2012-07-10 Glenn Morris <rgm@gnu.org>
9060
9061 * emacs-lisp/authors.el (authors-fixed-entries):
9062 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9063
9064 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9065
9066 Rename configure.in to configure.ac (Bug#11603).
9067 * emacs-lisp/authors.el (authors-canonical-file-name):
9068 * progmodes/autoconf.el (autoconf-mode):
9069 Prefer configure.ac to configure.in.
9070
9071 2012-07-08 Chong Yidong <cyd@gnu.org>
9072
9073 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9074 Implement the mouse-1-click-follows-link handling properly.
9075
9076 * info.el (Info-link-keymap): Use follow-link mechanism for
9077 header-line links (Bug#374).
9078
9079 * simple.el (deactivate-mark): Do not set the primary selection
9080 if another program has acquired it (Bug#11772).
9081
9082 2012-07-07 Kevin Ryde <user42@zip.com.au>
9083
9084 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9085 (woman-decode-region): Replace escaped-escapes without destroying
9086 bold or underline (Bug#11552).
9087 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9088
9089 2012-07-07 Chong Yidong <cyd@gnu.org>
9090
9091 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9092 (interprogram-cut-function, interprogram-paste-function):
9093 Mention that we typically mean the clipboard.
9094
9095 2012-07-06 Glenn Morris <rgm@gnu.org>
9096
9097 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9098
9099 * files.el (toggle-read-only): Restrict message to interactive use.
9100
9101 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9102
9103 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9104
9105 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9106
9107 2012-07-06 Glenn Morris <rgm@gnu.org>
9108
9109 * Makefile.in (compile-one-process): Rename from "recompile".
9110
9111 * Makefile.in (bzr-update): "compile" is the same as "recompile
9112 autoloads", but parallelizable, so use that instead.
9113
9114 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9115
9116 * window.el (quit-window): Always restore window height when
9117 it's saved in quit-restore parameter (Bug#11810).
9118
9119 2012-07-06 Glenn Morris <rgm@gnu.org>
9120
9121 * simple.el (kill-whole-line): Doc tweak.
9122
9123 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9124
9125 * files.el (file-relative-name): Compare file names
9126 case-insensitively if on MS-Windows or MS-DOS, or if
9127 read-file-name-completion-ignore-case is non-nil. Don't use
9128 case-fold-search for this purpose. (Bug#11827)
9129
9130 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9131
9132 * calendar/cal-dst.el (calendar-current-time-zone):
9133 Return calendar-current-time-zone-cache if non-nil.
9134
9135 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9136 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9137
9138 * calendar/cal-dst.el (calendar-current-time-zone):
9139 Return calendar-current-time-zone-cache if non-nil.
9140
9141 2012-07-06 Glenn Morris <rgm@gnu.org>
9142
9143 * Makefile.in (cvs-update): Remove old alias.
9144
9145 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9146
9147 Sync with Tramp 2.2.6-pre.
9148
9149 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9150 compatible declaration.
9151
9152 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9153 Protect `list-load-path-shadows' call.
9154
9155 * net/tramp-compat.el (top): Require packages, which aren't
9156 autoloaded anymore for XEmacs. Protect call of
9157 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9158 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9159 it hurts at least for SXEmacs.
9160 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9161 standard-value for `temporary-file-directory'.
9162
9163 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9164 Redirect stderr to /dev/null.
9165 (tramp-sh-handle-write-region): uid and gid can be floats.
9166 Reported by Russell Sim <russell.sim@gmail.com>.
9167 (tramp-sh-handle-vc-registered): Hide errors.
9168 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9169 and `start-file-process'.
9170 (tramp-maybe-open-connection): Check also whether `non-essential'
9171 is bound.
9172
9173 2012-07-04 Chong Yidong <cyd@gnu.org>
9174
9175 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9176 (xml-parse-tag): Likewise, and avoid changing entity tables.
9177 (xml-syntax-table): Define from scratch, making sure not to give
9178 x2000 and other Unicode spaces whitespace syntax, since those are
9179 not spaces in XML.
9180 (xml-parse-fragment): Delete unused function.
9181 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9182 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9183 (xml-entity-ref, xml-pe-reference-re)
9184 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9185 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9186 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9187 (xml-entity-value-re): Use syntax references in regexps where
9188 possible; no need to define inside a let-binding.
9189 (xml-parse-dtd): Use xml-pe-reference-re.
9190 (xml-entity-or-char-ref-re): New defconst.
9191 (xml-parse-string, xml-substitute-special): Use it.
9192
9193 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9194
9195 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9196 (find-file--read-only): New function.
9197 (find-file-read-only, find-file-read-only-other-window)
9198 (find-file-read-only-other-frame): Use it.
9199 (insert-file-contents-literally): Don't `fset'.
9200 (get-free-disk-space): Use locate-dominating-file.
9201
9202 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9203 function is already compiled.
9204
9205 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9206
9207 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9208
9209 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9210 files on the same host.
9211
9212 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9213
9214 * help-fns.el (describe-function-1): Only call
9215 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9216
9217 2012-07-03 Chong Yidong <cyd@gnu.org>
9218
9219 * xml.el: Protect parser against XML bombs.
9220 (xml-entity-expansion-limit): New variable.
9221 (xml-parse-string, xml-substitute-special): Use it.
9222 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9223
9224 2012-07-03 Glenn Morris <rgm@gnu.org>
9225
9226 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9227 Allow linking to specific messages in debbugs reports (eg 123#5).
9228
9229 2012-07-02 Chong Yidong <cyd@gnu.org>
9230
9231 * xml.el: Fix entity and character reference expansion, allowing
9232 them to expand into markup as per XML spec.
9233 (xml-default-ns): New variable.
9234 (xml-entity-alist): Use XML spec definitions for lt and amp.
9235 (xml-parse-region): Make first two arguments optional.
9236 Discard text properties.
9237 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9238 All callers changed.
9239 (xml-parse-tag): Call xml-parse-tag-1. For backward
9240 compatibility, this function should not modify buffer contents.
9241 (xml-parse-tag-1): Fix opening-tag regexp.
9242 (xml-parse-string): Rewrite, handling entity and character
9243 references properly.
9244 (xml--entity-replacement-text): Signal an error if a parameter
9245 entity is undefined.
9246
9247 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9248
9249 * comint.el (comint-output-filter): Filter out repeated prompts.
9250
9251 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9252 and file-name-absolute-p.
9253 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9254 internal calls.
9255
9256 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9257
9258 Spelling fixes.
9259 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9260 Rename from byte-compile--refiy-function. All uses changed.
9261
9262 2012-07-01 Chong Yidong <cyd@gnu.org>
9263
9264 * xml.el (xml--parse-buffer): New function. Move most of
9265 xml-parse-region here.
9266 (xml-parse-region): Copy region into a temporary buffer, since
9267 parameter entity substitution requires changing buffer contents.
9268 Use xml--parse-buffer.
9269 (xml-parse-file): Use xml--parse-buffer.
9270 (xml-parse-dtd): Make parameter entity substitution work right.
9271 Use proper regexps for ELEMENT declarations (Bug#7172).
9272
9273 2012-06-30 Glenn Morris <rgm@gnu.org>
9274
9275 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9276
9277 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9278 Remove outdated and unnecessary dbus declarations.
9279
9280 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9281
9282 * emacs-lisp/timer.el (timer-until): Subtract results of
9283 float-time, instead of taking float-time of the result of
9284 time-subtract, since float-time signals an error for negative time
9285 arguments.
9286
9287 2012-06-30 Chong Yidong <cyd@gnu.org>
9288
9289 * xml.el (xml-*-re): Convert defvars into defconsts, and
9290 eval-and-compile them so eval-and-compile works on derivatives.
9291 (xml--entity-replacement-text): Use eval-and-comple.
9292
9293 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9294
9295 * vc/vc-git.el (vc-git-registered): Use cache property
9296 `git-registered'.
9297 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9298 `vc-git-working-revision' in order to benefit from the cache.
9299 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9300
9301 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9302
9303 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9304 removed (likely outside Emacs). (Bug#11757)
9305
9306 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9307
9308 * emacs-lisp/cl-lib.el: Require macroexp.
9309
9310 2012-06-30 Chong Yidong <cyd@gnu.org>
9311
9312 * xml.el: Implement XML parameter entities.
9313 (xml-parameter-entity-alist): New variable.
9314 (xml-parse-region, xml-parse-fragment): Preserve previous values
9315 of xml-entity-alist and xml-parameter-entity-alist, so that
9316 repeated calls on different documents do not change them.
9317 (xml-parse-tag): Fix doctype regexp.
9318 (xml--entity-replacement-text): New function.
9319 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9320 properly requires url retrieval which is unimplemented.
9321 (xml-escape-string): Doc fix.
9322
9323 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9324
9325 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9326
9327 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9328
9329 * fringe.el (fringe-mode): Doc fix.
9330
9331 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9332
9333 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9334 is non-nil.
9335 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9336 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9337
9338 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9339
9340 * calendar/cal-dst.el (calendar-current-time-zone):
9341 Return calendar-current-time-zone-cache if non-nil.
9342
9343 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9344
9345 * progmodes/which-func.el (which-func-format):
9346 Add mouse-face. (Bug#11698)
9347
9348 2012-06-29 Leo Liu <sdl.web@gmail.com>
9349
9350 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9351
9352 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9353
9354 * minibuffer.el (minibuffer-confirm-exit-commands):
9355 Add completion-at-point (bug#11725).
9356
9357 2012-06-29 Glenn Morris <rgm@gnu.org>
9358
9359 * progmodes/f90.el (f90-font-lock-keywords-2):
9360 Add some preprocessor elements. (Bug#10499)
9361
9362 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9363
9364 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9365 Use syntax-propertize (bug#11739).
9366
9367 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9368
9369 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9370
9371 2012-06-28 Julien Danjou <julien@danjou.info>
9372
9373 * term.el (term-handle-colors-array): Use a set of new faces to
9374 color the terminal. Also uses :inverse-video property.
9375 (term-default-fg-color): Set to nil by default, deprecate in favor
9376 of `term-face'.
9377 (term-default-bg-color): Set to nil by default, deprecate in favor
9378 of `term-face'.
9379 (term-current-face): Use `term-face' by default.
9380 (term-bold-attribute): Variable deleted.
9381
9382 2012-06-28 Glenn Morris <rgm@gnu.org>
9383
9384 * simple.el (completion-list-mode-finish):
9385 Don't use toggle-read-only. (Since completion-list-mode has
9386 a special mode-class, it wasn't doing anything extra anyway.)
9387
9388 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9389
9390 Make inlining of other-mode interpreted functions work (bug#11799).
9391 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9392 (byte-compile): Use it to fix compilation of lexical-binding closures.
9393 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9394 function, if needed.
9395
9396 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9397
9398 * help-mode.el (help-make-xrefs): Don't just withstand
9399 cyclic-variable-indirection but any error in documentation-property.
9400
9401 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9402 memory use.
9403 * bindings.el (bindings--define-key): New function.
9404 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9405 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9406 * bindings.el: Use it to purecopy define-key bindings.
9407
9408 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9409
9410 * emacs-lisp/cl.el (flet): Mark obsolete.
9411 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9412 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9413 * progmodes/js.el (js-c-fill-paragraph):
9414 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9415 (ebrowse-switch-member-buffer-to-derived-class):
9416 * play/5x5.el (5x5-solver): Use cl-flet.
9417
9418 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9419 (cl--symbol-function): New macro.
9420 (cl--letf, cl--letf*): Use it.
9421
9422 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9423 Strip "toggle-" if any.
9424
9425 2012-06-27 Glenn Morris <rgm@gnu.org>
9426
9427 * info.el (Info-default-directory-list): Move here from paths.el.
9428 * paths.el: Remove file, which is now empty.
9429 * loadup.el: No longer load "paths".
9430
9431 * custom.el (custom-initialize-delay): Doc fix.
9432
9433 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9434 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9435 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9436 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9437 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9438 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9439 * eshell/eshell.el (eshell-defgroup): Remove alias.
9440
9441 2012-06-27 Chong Yidong <cyd@gnu.org>
9442
9443 * help.el (help-enable-auto-load): New variable.
9444
9445 * help-fns.el (help-fns--autoloaded-p): New function.
9446 (describe-function-1): Refer to a function as "autoloaded" if it
9447 was autoloaded at any time in the past. Perform autoloading if
9448 help-enable-auto-load is non-nil.
9449
9450 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9451
9452 * makefile.w32-in (compile, compile-always): Depend on
9453 update-subdirs, not on subdirs.el. Otherwise, several different
9454 sub-targets of 'bootstrap' running in parallel could
9455 simultaneously write to subdirs.el, producing a garbled file.
9456
9457 2012-06-26 Sam Steingold <sds@gnu.org>
9458
9459 * files.el (file-name-base): New convenience function.
9460 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9461 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9462 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9463 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9464 * textmodes/ispell.el, textmodes/reftex-ref.el:
9465 * textmodes/tex-mode.el: Use it.
9466 Did not touch cedet and org because they are maintained elsewhere.
9467
9468 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9469
9470 * calendar/calendar.el (calendar-exit): Don't try to delete or
9471 iconify last frame. See:
9472 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9473
9474 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9475
9476 * server.el (server-process-filter): Remember dir in the
9477 process's `server-client-directory' properties.
9478
9479 2012-06-24 Chong Yidong <cyd@gnu.org>
9480
9481 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9482 non-tag text.
9483
9484 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9485
9486 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9487
9488 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9489
9490 * help-fns.el (describe-variable): Don't croak when doc is not found.
9491 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9492 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9493 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9494 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9495 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9496 ((lambda ..) ..).
9497 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9498
9499 2012-06-23 Chong Yidong <cyd@gnu.org>
9500
9501 * info.el (Info-mouse-follow-link): Accept symbol values of
9502 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9503 (Info-fontify-node): Use Info-link-keymap for all navigation
9504 buttons, with link-args property to perform the desired action.
9505 (Info-link-keymap): Doc fix.
9506 (Info-next-link-keymap, Info-prev-link-keymap)
9507 (Info-up-link-keymap): Delete now-unused keymaps.
9508
9509 2012-06-23 Chong Yidong <cyd@gnu.org>
9510
9511 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9512
9513 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9514 system abbrevs.
9515
9516 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9517
9518 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9519
9520 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9521 (bug#11719).
9522
9523 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9524 the requote function doesn't work properly (bug#11714).
9525
9526 2012-06-23 Glenn Morris <rgm@gnu.org>
9527
9528 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9529
9530 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9531
9532 Further GV/CL cleanups.
9533 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9534 gv-expander.
9535 (gv--defun-declaration): New function.
9536 (defun-declarations-alist): Use it.
9537 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9538 (gv-place): Autoload.
9539 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9540 original definition of dotimes and dolist.
9541 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9542 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9543 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9544 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9545 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9546 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9547 to the function's definition.
9548 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9549 * window.el:
9550 * files.el:
9551 * faces.el:
9552 * env.el: Don't use CL.
9553
9554 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9555
9556 Support higher-resolution time stamps (Bug#9000).
9557
9558 * calendar/time-date.el (with-decoded-time-value): New arg
9559 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9560 (encode-time-value): New optional arg PICO. New type 3.
9561 (time-to-seconds) [!float-time]: Support the new picoseconds
9562 component if it's used.
9563 (seconds-to-time, time-subtract, time-add):
9564 Support ps-resolution time stamps as well.
9565
9566 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9567 (timerp): Timer vectors now have length 9, not 8.
9568 (timer--time): Support new-style (4-part) time stamps.
9569 (timer-next-integral-multiple-of-time): Time stamps now have
9570 picosecond resolution, so take a bit more care about rounding.
9571 (timer-relative-time, timer-inc-time): New optional arg psecs.
9572 (timer-set-time-with-usecs): Set psecs to 0.
9573 (timer--activate): Check psecs component, too.
9574
9575 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9576
9577 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9578
9579 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9580 Move the non-essential binding to the post/pre-command-hook where it is
9581 more obviously correct.
9582
9583 * subr.el (read-passwd): Don't use a history at all.
9584 * savehist.el (savehist-save): Remove password saved accidentally
9585 because of the above bug.
9586
9587 2012-06-22 Bastien Guerry <bzg@gnu.org>
9588
9589 * files.el (toggle-read-only): Display a message telling whether
9590 the buffer is read-only or not (bug#11726).
9591
9592 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9593
9594 * emacs-lisp/gv.el: New file.
9595 * subr.el (push, pop): Extend to generalized variables.
9596 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9597 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9598 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9599 gv-define-simple-setter, and gv-define-expander.
9600 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9601 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9602 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9603 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9604 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9605 gv-letplace.
9606 (cl-defstruct): Don't define setf-method any more.
9607 * emacs-lisp/cl.el (flet): Don't autoload.
9608 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9609 (define-setf-expander, defsetf, define-modify-macro)
9610 (cl-struct-setf-expander): Move from cl-lib.el.
9611 * emacs-lisp/syntax.el:
9612 * emacs-lisp/ewoc.el:
9613 * emacs-lisp/smie.el:
9614 * emacs-lisp/cconv.el:
9615 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9616 (timer--time): Use gv-define-simple-setter.
9617 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9618 to avoid coding-system problems in subr.el. Adjust all users.
9619 (macroexp--maxsize, macroexp-small-p): New functions.
9620 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9621 * scroll-bar.el (scroll-bar-mode):
9622 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9623 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9624 * winner.el (winner-configuration, winner-make-point-alist)
9625 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9626 * files.el (locate-file-completion-table): Avoid list*.
9627
9628 2012-06-22 Chong Yidong <cyd@gnu.org>
9629
9630 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9631 (dired-create-files): Doc fix (Bug#11329).
9632 (dired-do-copy): Doc fix (Bug#11334).
9633 (dired-mark-read-string): Doc fix (Bug#11553).
9634
9635 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9636 Doc fix (Bug#11326).
9637 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9638 (dired-dwim-target): Doc fix.
9639
9640 * wdired.el (wdired-mode): Doc fix.
9641
9642 2012-06-22 Glenn Morris <rgm@gnu.org>
9643
9644 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9645 (pcmpl-rpm-cache-stamp-file): New constant.
9646 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9647 (pcmpl-rpm-packages): Optionally cache list of packages.
9648
9649 * pcmpl-rpm.el (pcmpl-rpm): New group.
9650 (pcmpl-rpm-query-options): New option.
9651 (pcmpl-rpm-packages): No need to inline it.
9652 Use pcmpl-rpm-query-options.
9653
9654 * calendar/calendar.el (calendar-in-read-only-buffer):
9655 Avoid some needless mode changes.
9656
9657 2012-06-21 Chong Yidong <cyd@gnu.org>
9658
9659 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9660 (desktop-path): Remove . from the default value (Bug#10977).
9661 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9662
9663 2012-06-20 Chong Yidong <cyd@gnu.org>
9664
9665 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9666
9667 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9668
9669 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9670 (bug#11201).
9671
9672 2012-06-20 Chong Yidong <cyd@gnu.org>
9673
9674 * term.el (term-window-width): Handle the case of a missing right
9675 fringe (Bug#8837).
9676 (term-check-size): Use window-text-height (Bug#5445).
9677 (term-mode): Use define-derived-mode. Minor cleanups.
9678 Set font-lock-defaults (Bug#7692).
9679 (term-move-columns, term-insert-char, term-emulate-terminal)
9680 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9681
9682 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9683
9684 * net/ange-ftp.el (ange-ftp-get-passwd):
9685 Bind `enable-recursive-minibuffers'.
9686 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9687
9688 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9689
9690 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9691
9692 2012-06-19 Glenn Morris <rgm@gnu.org>
9693
9694 * progmodes/python.el (python-mode): Derive from prog-mode.
9695
9696 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9697
9698 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9699 (edt-user-menu-bar-update-buffers): New functions.
9700 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9701
9702 2012-06-19 Chong Yidong <cyd@gnu.org>
9703
9704 * subr.el (with-selected-window): Preserve the selected window's
9705 terminal's top-frame (Bug#4702).
9706
9707 * window.el (save-selected-window): Likewise.
9708
9709 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9710
9711 * progmodes/python.el (python-rx-constituents): Move backquote.
9712 (python-skeleton-define, python-define-auxiliary-skeleton):
9713 Use `declare'.
9714
9715 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9716
9717 * minibuffer.el (read-file-name-default): Revert the patch from
9718 2012-06-17.
9719
9720 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9721
9722 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9723 (pcase--u1, pcase--q1): Don't use apply-partially.
9724
9725 2012-06-18 Glenn Morris <rgm@gnu.org>
9726
9727 * progmodes/python.el (python-proc, python-buffer)
9728 (python-send-receive, python-send-string): Fix obsolete versions.
9729
9730 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9731
9732 * window.el (special-display-p): Completely remove stringp
9733 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9734
9735 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9736
9737 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9738
9739 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9740
9741 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9742 * net/tramp-sh.el (tramp-maybe-open-connection):
9743 Throw if `non-essential' is non-nil.
9744
9745 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9746
9747 * window.el (special-display-p): Signal an error if BUFFER-NAME
9748 is not a string (Bug#11713).
9749
9750 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9751
9752 * progmodes/python.el (python-info-beginning-of-backslash):
9753 Rename from python-info-beginning-of-backlash, as a spelling fix.
9754
9755 2012-06-17 Chong Yidong <cyd@gnu.org>
9756
9757 * term.el (term-emulate-terminal): If term-check-size is called,
9758 move point to the process mark without resetting point (Bug#4635).
9759
9760 2012-06-17 Glenn Morris <rgm@gnu.org>
9761
9762 * international/mule-cmds.el (mule-menu-keymap)
9763 (set-language-environment, set-locale-environment): Doc tweaks.
9764
9765 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9766
9767 * cus-face.el (custom-face-attributes): Add wave-style underline
9768 attribute.
9769 * faces.el (set-face-attribute): Update docstring to describe
9770 wave-style underline attribute.
9771
9772 2012-06-16 Chong Yidong <cyd@gnu.org>
9773
9774 * term/xterm.el (terminal-init-xterm): Discard input before
9775 querying background mode (Bug#10959).
9776
9777 2012-06-16 Stefan Merten <smerten@oekonux.de>
9778
9779 * textmodes/rst.el: Added and corrected some comments.
9780 (rst-re-alist-def): Improve symbol syntax.
9781 (rst-mode-syntax-table): Correct syntax entries.
9782 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9783 (rst-official-version, rst-official-cvs-rev): Update version
9784 information.
9785
9786 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9787
9788 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9789 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9790
9791 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9792
9793 * progmodes/python.el: New python.el merge.
9794 (python-guess-indent): Obsolete var.
9795 (python-indent-guess-indent-offset): New defcustom.
9796 (python-indent): Obsolete var.
9797 (python-indent-offset): New defcustom.
9798 (python-python-command, python-jython-command): Delete var.
9799 (python-shell-interpreter): New defcustom.
9800 (python-pdbtrack-do-tracking-p): Delete var.
9801 (python-pdbtrack-activate): New defcustom.
9802 (python-use-skeletons): Obsolete var.
9803 (python-skeleton-autoinsert): New defcustom.
9804 (inferior-python-filter-regexp, python-continuation-offset)
9805 (python-honour-comment-indentation, python-indent-string-contents)
9806 (python-jython-packages, python-mode-hook)
9807 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9808 (python-shell-prompt-alist)
9809 (python-source-modes): Delete defcustoms.
9810 (python-check-buffer-name, python-eldoc-setup-code)
9811 (python-eldoc-string-code, python-ffap-setup-code)
9812 (python-ffap-string-code, python-fill-comment-function)
9813 (python-fill-decorator-function, python-fill-paren-function)
9814 (python-fill-string-function, python-imenu-include-defun-type)
9815 (python-imenu-make-tree, python-imenu-subtree-root-label)
9816 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9817 (python-shell-compilation-regexp-alist)
9818 (python-shell-completion-module-string-code)
9819 (python-shell-completion-pdb-string-code)
9820 (python-shell-completion-setup-code)
9821 (python-shell-completion-string-code)
9822 (python-shell-enable-font-lock, python-shell-exec-path)
9823 (python-shell-extra-pythonpaths)
9824 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9825 (python-shell-process-environment)
9826 (python-shell-prompt-block-regexp)
9827 (python-shell-prompt-output-regexp)
9828 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9829 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9830 (python-shell-virtualenv-path): New defcustoms.
9831 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9832 (inferior-python-mode-syntax-table, python--prompt-regexp)
9833 (python-buffer, python-command python-python-command)
9834 (python-default-template, python-imports, python-indent-index)
9835 (python-indent-list, python-indent-list-length)
9836 (python-mode-running, python-pdbtrack-is-tracking-p)
9837 (python-preoutput-continuation, python-preoutput-leftover)
9838 (python-preoutput-result, python-preoutput-skip-next-prompt)
9839 (python-prev-dir/file, python-recursing)
9840 (python-saved-check-command, python-version-checked)
9841 (python-which-func-length-limit)
9842 (view-return-to-alist): Delete vars.
9843 (python-check-custom-command, python-dotty-syntax-table)
9844 (python-imenu-index-alist, python-indent-current-level)
9845 (python-indent-dedenters, python-indent-levels)
9846 (python-nav-beginning-of-defun-regexp)
9847 (python-nav-list-defun-positions-cache)
9848 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9849 (python-shell-internal-buffer)
9850 (python-skeleton-available): New vars.
9851 (def-python-skeleton): Delete macro.
9852 (python-skeleton-define): New macro.
9853 (python-define-auxiliary-skeleton, python-rx): New macros.
9854 (python-insert-class): Delete command.
9855 (python-skeleton-class): New command.
9856 (python-insert-def): Delete command.
9857 (python-skeleton-def): New command.
9858 (python-insert-for): Delete command.
9859 (python-skeleton-for): New command.
9860 (python-insert-if): Delete command.
9861 (python-skeleton-if): New command.
9862 (python-insert-try/except, python-insert-try/finally): Delete commands.
9863 (python-skeleton-try): New command.
9864 (python-insert-while): Delete command.
9865 (python-skeleton-while): New command.
9866 (python-backspace): Delete command.
9867 (python-indent-dedent-line-backspace): New command.
9868 (python-electric-colon): Delete command.
9869 (python-indent-electric-colon): New command.
9870 (python-guess-indent): Delete command.
9871 (python-indent-guess-indent-offset): New command.
9872 (python-shift-left): Delete command.
9873 (python-indent-shift-left): New command.
9874 (python-shift-right): Delete command.
9875 (python-indent-shift-right): New command.
9876 (python-find-function): Delete command.
9877 (python-nav-jump-to-defun): New command.
9878 (python-next-statement): Delete command.
9879 (python-nav-forward-sentence): New command.
9880 (python-previous-statement): Delete command.
9881 (python-nav-backward-sentence): New command.
9882 (python-fill-paragraph): Delete command.
9883 (python-fill-paragraph-function): New command.
9884 (python-send-buffer): Delete command.
9885 (python-shell-send-buffer): New command.
9886 (python-send-defun): Delete command.
9887 (python-shell-send-defun): New command.
9888 (python-send-region, python-send-region-and-go): Delete commands.
9889 (python-shell-send-region)
9890 (python-shell-switch-to-shell): New commands.
9891 (python-send-string): Delete command.
9892 (python-shell-send-string): New command.
9893 (python-switch-to-python): Delete command.
9894 (python-shell-switch-to-shell): New command.
9895 (python-describe-symbol): Delete command.
9896 (python-eldoc-at-point): New command.
9897 (python--set-prompt-regexp, python-args-to-list)
9898 (python-after-info-look, python-check-version)
9899 (python-check-comint-prompt, python-find-imports)
9900 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9901 (python-unload-function, python-expand-template)
9902 (python-maybe-jython, python-preoutput-filter)
9903 (python-pdbtrack-get-source-buffer)
9904 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9905 (python-pdbtrack-toggle-stack-tracking)
9906 (python-pdbtrack-track-stack-file, python-initial-text)
9907 (python-first-word, python-comment-line-p, python-send-command)
9908 (python-setup-brm, python-sentinel, python-set-proc)
9909 (python-skip-out, python-input-filter, python-outdent-p)
9910 (python-outline-level, python-backslash-continuation-line-p)
9911 (python-end-of-block, python-end-of-statement, python-mark-block)
9912 (python-beginning-of-block, python-beginning-of-statement)
9913 (python-blank-line-p, python-beginning-of-string)
9914 (python-open-block-statement-p): Delete functions.
9915 (python-indent-line, python-indent-line-1): Delete functions.
9916 (python-indent-line): New function.
9917 (python-indentation-levels): Delete function.
9918 (python-indent-calculate-levels): New function.
9919 (python-proc): Delete function.
9920 (python-shell-get-process): New function.
9921 (python-send-receive): Delete function.
9922 (python-shell-send-string-no-output): New function.
9923 (python-module-path): Delete function.
9924 (python-ffap-module-path): New function.
9925 (python-completion-at-point)
9926 (python-symbol-completions): Delete functions.
9927 (python-completion-complete-at-point): New function.
9928 (python-load-file): Delete function.
9929 (python-shell-send-file): New function.
9930 (python-calculate-indentation): Delete function.
9931 (python-indent-calculate-indentation): New function.
9932 (python-skip-comments/blanks): Delete function.
9933 (python-util-forward-comment): New function.
9934 (python-continuation-line-p): Delete function.
9935 (python-info-continuation-line-p): New function.
9936 (python-which-func, python-current-defun): Delete function.
9937 (python-info-current-defun): New function.
9938 (python-beginning-of-defun): Delete function.
9939 (python-nav-beginning-of-defun): New function.
9940 (python-close-block-statement-p)
9941 (python-block-end-p): Delete function.
9942 (python-info-closing-block): New function.
9943 (python-comint-output-filter-function)
9944 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9945 (python-fill-comment, python-fill-decorator, python-fill-paren)
9946 (python-fill-string, python-imenu-make-element-tree)
9947 (python-imenu-make-tree, python-imenu-tree-assoc)
9948 (python-indent-context, python-indent-dedent-line)
9949 (python-indent-line-function)
9950 (python-indent-post-self-insert-function)
9951 (python-indent-toggle-levels)
9952 (python-info-assignment-continuation-line-p)
9953 (python-info-beginning-of-backlash)
9954 (python-info-block-continuation-line-p)
9955 (python-info-closing-block-message)
9956 (python-info-line-ends-backslash-p)
9957 (python-info-looking-at-beginning-of-defun)
9958 (python-info-ppss-context, python-info-ppss-context-type)
9959 (python-nav-list-defun-positions, python-nav-read-defun)
9960 (python-nav-sentence-end, python-nav-sentence-start)
9961 (python-pdbtrack-comint-output-filter-function)
9962 (python-pdbtrack-set-tracked-buffer)
9963 (python-shell-calculate-exec-path)
9964 (python-shell-calculate-process-environment)
9965 (python-shell-completion--do-completion-at-point)
9966 (python-shell-completion--get-completions)
9967 (python-shell-completion-complete-at-point)
9968 (python-shell-completion-complete-or-indent)
9969 (python-shell-get-or-create-process)
9970 (python-shell-get-process-name)
9971 (python-shell-internal-get-or-create-process)
9972 (python-shell-internal-get-process-name)
9973 (python-shell-internal-send-string, python-shell-make-comint)
9974 (python-shell-parse-command, python-shell-send-setup-code)
9975 (python-skeleton-add-menu-items)
9976 (python-util-clone-local-variables, python-util-position)
9977 (run-python-internal, python-indentation-levels)
9978 (python-nav-beginning-of-defun)
9979 (python-completion-complete-at-point): New functions.
9980 (run-python): Change arguments. New API requirements.
9981
9982 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9985 (bug#11649).
9986
9987 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9988 (macroexp--expand-all): Use it.
9989
9990 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9991 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9992 Use `cl-function' instead.
9993
9994 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9995
9996 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9997 Suggested by Stefan Monnier while discussing bug#11657.
9998
9999 2012-06-14 Sam Steingold <sds@gnu.org>
10000
10001 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10002
10003 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10004
10005 * play/doctor.el (doctor-doc): Remove parameter and use
10006 doctor-sent instead of sent.
10007 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10008
10009 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10010
10011 * files.el: Require cl-lib.
10012 (file-name-non-special): Replace case -> cl-case.
10013
10014 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10015
10016 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10017 mapping from #' to function*.
10018
10019 2012-06-13 Chong Yidong <cyd@gnu.org>
10020
10021 * mouse.el (mouse-drag-track): Do not set the mark if the user
10022 releases the mouse without selecting anything (Bug#11588).
10023
10024 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10025
10026 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10027 as well (bug#11646).
10028
10029 * loadup.el: Count byte-code functions as well.
10030
10031 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10032 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10033
10034 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10035 (bug#11649). Add cl-defun and cl-defmacro.
10036
10037 2012-06-13 Drew Adams <drew.adams@oracle.com>
10038
10039 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10040 Fix last change.
10041
10042 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10043
10044 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10045 Otherwise, it blocks in batch mode.
10046
10047 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10048
10049 * help-mode.el (bookmark-make-record-default): Declare.
10050
10051 2012-06-13 Chong Yidong <cyd@gnu.org>
10052
10053 * emacs-lisp/package.el (list-packages): Compute a list of
10054 packages that are newly-available since the last list-packages
10055 invocation.
10056 (package-menu--new-package-list): New var.
10057 (package-menu--generate, package-menu--print-info)
10058 (package-menu--status-predicate, package-menu-mark-install):
10059 Handle new status label "new".
10060
10061 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10062
10063 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10064 conversion to backquotes.
10065
10066 2012-06-12 Chong Yidong <cyd@gnu.org>
10067
10068 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10069 Rename from gud-inhibit-global-bindings.
10070
10071 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10072
10073 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10074 hook from nxml-glyph-set-hook.
10075
10076 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10077 declaration.
10078
10079 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10080
10081 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10082 Convert to defcustom.
10083
10084 2012-06-12 Drew Adams <drew.adams@oracle.com>
10085
10086 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10087 New functions.
10088 (help-mode): Use them.
10089
10090 2012-06-11 Glenn Morris <rgm@gnu.org>
10091
10092 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10093 Use preprocessor face for directives.
10094 (fortran-directive-re): Doc fix.
10095
10096 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10097
10098 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10099 conversion to backquotes (bug#11652).
10100
10101 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10102 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10103 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10104 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10105 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10106 (cl-ninth, cl-tenth): Mark them as inlinable.
10107 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10108 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10109 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10110 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10111 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10112 (cl-list*, cl-adjoin): Don't put an autoload manually.
10113 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10114 (cl--compiler-macro-list*): Add autoload cookie.
10115 (cl--compiler-macro-cXXr): New function.
10116
10117 * help-fns.el (help-fns--compiler-macro): New function extracted from
10118 describe-function-1; follow aliases and use `compiler-macro' property.
10119 (describe-function-1): Use it.
10120
10121 2012-06-11 Chong Yidong <cyd@gnu.org>
10122
10123 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10124 is uninstalled, if imagemagick is installed.
10125
10126 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10127
10128 * emacs-lisp/cl-lib.el: Use lexical-binding.
10129 (cl-map-extents, cl-maclisp-member): Remove.
10130 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10131 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10132 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10133 * emacs-lisp/cl-extra.el: Use lexical-binding.
10134 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10135 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10136 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10137 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10138 * emacs-lisp/cl-seq.el: Use lexical-binding.
10139 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10140 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10141 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10142 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10143 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10144 CL's internals.
10145
10146 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10147
10148 Sync with Tramp 2.2.6-pre.
10149
10150 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10151 `print-length' and `print-level' to nil, in order to avoid
10152 truncation. Reported by Christopher Schmidt
10153 <christopher@ristopher.com>.
10154
10155 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10156
10157 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10158 New defmacro.
10159 (tramp-compat-copy-directory): Add optional argument
10160 COPY-CONTENTS. It is not handled yet.
10161
10162 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10163 (tramp-ftp-file-name-p): Simplify.
10164
10165 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10166 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10167 connection vector.
10168
10169 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10170 (tramp-methods): Do not use `tramp-password-end-of-line'.
10171 (tramp-completion-function-alist-putty): Handle UNIX case.
10172 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10173 (tramp-do-file-attributes-with-stat)
10174 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10175 gid as real numbers. They could run out of integer range on cygwin.
10176 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10177 (tramp-sh-handle-expand-file-name): Handle hops.
10178 (tramp-open-connection-setup-interactive-shell):
10179 Use `tramp-cleanup'. Move check for busyboxes ...
10180 (tramp-find-shell): ... here. Simplify implementation.
10181 Set "remote-shell" property also for alternative shells.
10182 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10183 If failing, a regular file would be written otherwise.
10184 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10185 (tramp-find-inline-encoding): Cache the coding commands in the
10186 process cache. Apply test command on the remote side, if defined.
10187 (tramp-find-inline-compress): Cache the compress commands in the
10188 process cache.
10189 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10190 when requested. Handle hops.
10191 (tramp-current-connection): New defvar.
10192 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10193 Throw `suppress', if there was a failed connection shortly before.
10194 Handle user interrupt. (Bug#10187)
10195 (tramp-get-inline-compress, tramp-get-inline-coding):
10196 Read connection properties from the process cache.
10197
10198 * net/tramp-smb.el (tramp-smb-server-version)
10199 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10200 New defconsts.
10201 (tramp-smb-prompt): Extend for powershell prompt.
10202 (tramp-smb-file-name-handler-alist): Add handlers for
10203 `process-file', `shell-command' and `start-file-process'.
10204 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10205 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10206 (tramp-smb-file-name-p): Simplify.
10207 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10208 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10209 (tramp-smb-shell-quote-argument): New defuns.
10210 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10211 Implement using "tar". By this, time-stamps are preserved.
10212 (tramp-smb-handle-copy-file): Handle also the case of directories.
10213 (tramp-smb-do-file-attributes-with-stat)
10214 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10215 Use `tramp-get-connection-buffer').
10216 (tramp-smb-handle-rename-file): Use "rename", when source and
10217 target are on the same share.
10218 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10219 Use `tramp-smb-server-version'.
10220 (tramp-smb-wait-for-output): Remove prompt.
10221
10222 * net/tramp.el (top): Require 'cl.
10223 (tramp-methods, tramp-rsh-end-of-line):
10224 Remove `tramp-password-end-of-line' from docstring.
10225 (tramp-save-ad-hoc-proxies): New defcustom.
10226 (tramp-completion-function-alist): Adapt docstring.
10227 (tramp-default-password-end-of-line): Remove defcustom.
10228 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10229 (tramp-user-regexp, tramp-file-name-regexp-unified)
10230 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10231 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10232 (tramp-remote-file-name-spec-regexp): New defconst.
10233 (tramp-file-name-structure): Extend structure for hops.
10234 (tramp-get-method-parameter): Move up.
10235 (tramp-file-name-p, tramp-dissect-file-name)
10236 (with-parsed-tramp-file-name): Handle hops.
10237 (tramp-file-name-hop): New defun.
10238 (tramp-make-tramp-file-name): New optional arg HOP.
10239 (tramp-message-show-progress-reporter-message): New defvar.
10240 (tramp-with-progress-reporter): Use it. We cannot use
10241 `tramp-message-show-message' here, because this suppresses also
10242 error buffers.
10243 (tramp-error-with-buffer): Suppress buffer view, if
10244 `tramp-message-show-message' is nil.
10245 Use `tramp-get-connection-buffer'.
10246 (tramp-cleanup): New defun.
10247 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10248 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10249 an error unchanged.
10250 (tramp-completion-handle-file-name-all-completions): Handle hops.
10251 Fix an error when called from ido.
10252 (tramp-completion-dissect-file-name): Use better local variable
10253 name. Add hop to the vector.
10254 (tramp-handle-insert-file-contents): Use progress-reporter for the
10255 whole scenario.
10256 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10257 to `t'.
10258 (tramp-check-for-regexp): Simplify search.
10259 (tramp-enter-password): Remove it. Move implementation ...
10260 (tramp-action-password): ... here.
10261 (tramp-mode-string-to-int, tramp-local-host-p)
10262 (tramp-make-tramp-temp-file, tramp-read-passwd)
10263 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10264 Set tramp-autoload cookie.
10265
10266 * net/trampver.el: Update release number.
10267
10268 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10269 Michael Albinus <michael.albinus@gmx.de>
10270
10271 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10272 (tramp-parse-group, tramp-parse-file)
10273 (tramp-parse-shostkeys-sknownhosts): New defuns.
10274 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10275 (tramp-parse-shosts-group, tramp-parse-sconfig)
10276 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10277 (tramp-parse-sknownhosts, tramp-parse-hosts)
10278 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10279 Use them.
10280 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10281 (tramp-parse-putty-group): Don't narrow.
10282 (tramp-parse-putty): Make a loop.
10283 (tramp-file-name-handler): Catch the `suppress' signal.
10284
10285 2012-06-11 Chong Yidong <cyd@gnu.org>
10286
10287 * image.el (imagemagick-register-types): Put the ImageMagick entry
10288 at the end of image-type-file-name-regexps.
10289
10290 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10291
10292 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10293 (pcase, pcase-let*, pcase-dolist): Use them.
10294
10295 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10296
10297 * emacs-lisp/pcase.el (pcase--let*): New function.
10298 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10299 (pcase--expand): Use macroexp-let².
10300
10301 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10302
10303 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10304 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10305 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10306 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10307 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10308 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10309
10310 2012-06-10 Glenn Morris <rgm@gnu.org>
10311
10312 * mail/rmail.el (rmail-yank-current-message): Leave point at
10313 correct position. (Bug#11660)
10314
10315 2012-06-10 Chong Yidong <cyd@gnu.org>
10316
10317 * allout-widgets.el: Fix code header.
10318
10319 2012-06-10 Chong Yidong <cyd@gnu.org>
10320
10321 * cus-edit.el (customize-changed-options-previous-release):
10322 Bump to 24.1.
10323
10324 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10325
10326 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10327
10328 2012-06-09 Chong Yidong <cyd@gnu.org>
10329
10330 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10331
10332 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10333
10334 * window.el (special-display-popup-frame): Don't use
10335 window--display-buffer (Bug#11651).
10336
10337 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10338
10339 Fix parallel builds: make sure loaddefs.el is not being written
10340 while Lisp files are compiled.
10341 (compile): Don't depend on 'mh-autoloads'.
10342 (compile-CMD, compile-SH): Depend on 'autoloads'.
10343 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10344
10345 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10346
10347 2012-06-09 Chong Yidong <cyd@gnu.org>
10348
10349 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10350 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10351 Doc fixes (Bug#11225).
10352
10353 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10354
10355 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10356 a function if there's a clear indication that it has a compiler-macro.
10357 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10358 (macro-declarations-alist): Add arglist to declaration functions.
10359 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10360 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10361 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10362 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10363 Also add autoload to find the compiler macro.
10364 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10365 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10366 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10367 (cl--compiler-macro-get): New functions, replacing calls to
10368 cl-define-compiler-macro.
10369 (cl-typep) [compiler-macro]: Use macroexp-let².
10370
10371 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10372
10373 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10374 string properly, fixes Bug#11473.
10375
10376 2012-06-08 Chong Yidong <cyd@gnu.org>
10377
10378 * faces.el (set-face-attribute): Doc fix.
10379 (modify-face): Don't use :bold and :italic.
10380 (error, warning, success): Tweak definitions.
10381
10382 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10383 (custom-modified, custom-set, custom-changed, custom-themed)
10384 (custom-saved, custom-button, custom-button-mouse)
10385 (custom-button-pressed, custom-state, custom-comment-tag)
10386 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10387 (custom-group-subtitle): Use new-style face specs.
10388 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10389 (custom-set-face, custom-changed-face, custom-saved-face)
10390 (custom-button-face, custom-button-pressed-face)
10391 (custom-documentation-face, custom-state-face)
10392 (custom-comment-face, custom-comment-tag-face)
10393 (custom-variable-tag-face, custom-variable-button-face)
10394 (custom-face-tag-face, custom-group-tag-face-1)
10395 (custom-group-tag-face): Remove obsolete face alias.
10396
10397 * epa.el (epa-validity-high, epa-validity-medium)
10398 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10399 (epa-field-name, epa-field-body):
10400 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10401 (font-lock-keyword-face, font-lock-builtin-face)
10402 (font-lock-function-name-face, font-lock-variable-name-face)
10403 (font-lock-type-face, font-lock-constant-face):
10404 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10405 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10406 * speedbar.el (speedbar-button-face, speedbar-file-face)
10407 (speedbar-directory-face, speedbar-tag-face)
10408 (speedbar-selected-face, speedbar-highlight-face)
10409 (speedbar-separator-face):
10410 * whitespace.el (whitespace-newline, whitespace-space)
10411 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10412 (whitespace-line, whitespace-space-before-tab)
10413 (whitespace-space-after-tab, whitespace-indentation)
10414 (whitespace-empty):
10415 * emulation/cua-base.el (cua-global-mark):
10416 * eshell/em-prompt.el (eshell-prompt):
10417 * net/newst-plainview.el (newsticker-new-item-face)
10418 (newsticker-old-item-face, newsticker-immortal-item-face)
10419 (newsticker-obsolete-item-face, newsticker-date-face)
10420 (newsticker-statistics-face, newsticker-default-face):
10421 * net/newst-reader.el (newsticker-feed-face)
10422 (newsticker-extra-face, newsticker-enclosure-face):
10423 * net/newst-treeview.el (newsticker-treeview-face)
10424 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10425 (newsticker-treeview-immortal-face)
10426 (newsticker-treeview-obsolete-face)
10427 (newsticker-treeview-selection-face):
10428 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10429 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10430 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10431 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10432 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10433 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10434 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10435 (mpuz-text):
10436 * progmodes/vera-mode.el (vera-font-lock-number)
10437 (vera-font-lock-function, vera-font-lock-interface):
10438 * textmodes/table.el (table-cell): Use new-style face specs, and
10439 don't use the old :bold and :italic attributes.
10440
10441 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10442 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10443 (ebrowse-member-class, ebrowse-progress): Likewise.
10444 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10445 (ebrowse-file-name-face, ebrowse-default-face)
10446 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10447 (ebrowse-progress-face): Remove obsolete faces.
10448
10449 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10450 Inherit from error and warning faces respectively.
10451
10452 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10453 Likewise.
10454 (flyspell-incorrect-face, flyspell-duplicate-face):
10455 Remove obsolete aliases.
10456
10457 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10458
10459 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10460 Avoid infloop.
10461
10462 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10463
10464 * startup.el (argv, argi): Make lexically scoped.
10465 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10466 * emacs-lisp/cl-macs.el: Use lexical-binding.
10467 Rename cl-bind-* to cl--bind-*.
10468 * files.el: Don't require `cl' since it doesn't use it.
10469 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10470
10471 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10472
10473 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10474 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10475 instead of calling external sort utility.
10476 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10477
10478 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10479
10480 * descr-text.el (describe-char): Mention how to insert the
10481 character, if the current input method doesn't support it.
10482 See the discussion in this thread for the details:
10483 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10484
10485 2012-06-08 Sam Steingold <sds@gnu.org>
10486
10487 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10488 XF86Back to previous-buffer.
10489 (minibuffer-local-map): Bind them to next-history-element and
10490 previous-history-element respectively.
10491 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10492 help-go-back respectively.
10493 * info.el (Info-mode-map): Bind them to Info-history-forward and
10494 Info-history-back respectively.
10495 These are the keys next to Up on the ThinkPad keyboard.
10496
10497 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10498
10499 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10500 * emacs-lisp/cl-macs.el: Provide itself.
10501 (cl--labels-convert-cache): New var.
10502 (cl--labels-convert): New function.
10503 (cl-flet, cl-labels): New implementation with new semantics, relying on
10504 lexical-binding.
10505 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10506 (cl-closure-vars, cl--function-convert-cache)
10507 (cl--function-convert): Move from cl-macs.el.
10508 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10509 rename by removing the "cl-" prefix.
10510 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10511
10512 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10513
10514 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10515 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10516 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10517 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10518 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10519 (cl-hash-table-count): Add old compatibility aliases.
10520
10521 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10522 Use macroexpand-all-environment instead.
10523 (cl--old-macroexpand): New var.
10524 (cl--sm-macroexpand): New function.
10525 (cl-symbol-macrolet): Use it during macro expansion.
10526 (cl--function-convert-cache): New var.
10527 (cl--function-convert): New function, extracted from
10528 cl-macroexpand-all.
10529 (cl-lexical-let): Use it.
10530
10531 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10532 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10533 (cl-member): Remove old alias.
10534
10535 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10536 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10537 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10538 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10539 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10540 (cl-macroexpand-cmacs): Remove var.
10541 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10542 Use macroexpand-all instead.
10543
10544 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10545
10546 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10547 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10548 (macroexp-copyable-p): New functions and macros.
10549 * emacs-lisp/edebug.el (edebug-unwrap):
10550 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10551 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10552 (pcase--let*): Remove.
10553 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10554 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10555 macroexp-const-p instead.
10556 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10557
10558 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10559 instead of "cl-" for internal definitions. Use macroexp-const-p.
10560 (cl-old-bc-file-form): Remove var.
10561 (cl-const-exprs-p): Remove fun.
10562 (cl-labels, cl-macrolet): Use backquote.
10563 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10564 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10565 (cl-define-setf-expander): Rename from cl-define-setf-method.
10566 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10567
10568 * international/mule-cmds.el: Don't require CL.
10569 (view-hello-file): Don't use `letf'.
10570
10571 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10572
10573 * tmm.el (tmm-prompt): Use string-prefix-p.
10574 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10575 (tmm-add-prompt): Use minibuffer-completion-help.
10576 (tmm-delete-map): Remove.
10577
10578 * subr.el (kbd): Make it its own function.
10579
10580 2012-06-07 Stefan Merten <smerten@oekonux.de>
10581
10582 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10583 Silence compiler warnings. Fix versions.
10584 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10585 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10586 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10587 (rst-package-emacs-version-alist): Correct Emacs version to
10588 represent major merge with upstream.
10589 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10590
10591 2012-06-06 Glenn Morris <rgm@gnu.org>
10592
10593 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10594 Only print environment variables if set.
10595
10596 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10597
10598 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10599 (macroexp--cons): Rename from maybe-cons.
10600 (macroexp--accumulate): Rename from macroexp-accumulate.
10601 (macroexp--all-forms): Rename from macroexpand-all-forms.
10602 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10603 (macroexp--expand-all): Rename from macroexpand-all-1.
10604
10605 2012-06-06 Sam Steingold <sds@gnu.org>
10606
10607 * calendar/calendar.el (calendar-in-read-only-buffer):
10608 Call `special-mode' to enable the standard read-only keybindings.
10609
10610 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10611
10612 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10613 with "loading" messages (bug#11635).
10614
10615 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10616
10617 * files.el (enable-remote-dir-locals): New option.
10618 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10619
10620 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10621 Ensure, that the temp directory is local.
10622
10623 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10624 `temporary-file-directory'.
10625
10626 * progmodes/python.el (python-send-region): Ensure, that the
10627 temporary file is created also in the remote case.
10628
10629 2012-06-06 Glenn Morris <rgm@gnu.org>
10630
10631 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10632 (vc-rcs-update-changelog): Use it.
10633
10634 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10635
10636 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10637 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10638 (vc-sccs-diff): Replace use of the external vcdiff script.
10639
10640 2012-06-05 Glenn Morris <rgm@gnu.org>
10641
10642 * ledit.el: Move to obsolete/.
10643
10644 2012-06-05 Sam Steingold <sds@gnu.org>
10645
10646 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10647 patch (Bug#11140).
10648
10649 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10650
10651 * emacs-lisp/cust-print.el: Move to obsolete.
10652
10653 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10654 compiler-macro expansion.
10655
10656 Add native compiler-macro support.
10657 * emacs-lisp/macroexp.el (macroexpand-all-1):
10658 Support compiler-macros directly. Properly follow aliases and apply
10659 the compiler macros more thoroughly.
10660 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10661 macroexpand now properly follows aliases.
10662 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10663 (cl-compiler-macroexpand): Use new prop.
10664 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10665
10666 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10667
10668 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10669
10670 * window.el (get-lru-window, get-mru-window, get-largest-window):
10671 New argument NOT-SELECTED to avoid picking the selected window.
10672 (window--display-buffer-1, window--display-buffer-2): Replace by
10673 new function window--display-buffer
10674 (display-buffer-same-window, display-buffer-reuse-window)
10675 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10676 Use window--display-buffer.
10677 (display-buffer-use-some-window): Remove temporary dedication
10678 hack by calling get-lru-window and get-largest-window with
10679 NOT-SELECTED argument non-nil. Call window--display-buffer.
10680
10681 2012-06-05 Glenn Morris <rgm@gnu.org>
10682
10683 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10684 Replace external vcdiff script.
10685
10686 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10687
10688 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10689
10690 2012-06-04 Chong Yidong <cyd@gnu.org>
10691
10692 * image.el (imagemagick-types-inhibit): Revert last change.
10693 Add INFO and M.
10694 (imagemagick-enabled-types): Remove CIN and EPS*.
10695
10696 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10697
10698 * emacs-lisp/cl-lib.el: Rename from cl.el.
10699 * emacs-lisp/cl.el: New compatibility file.
10700 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10701 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10702 to obey the "cl-" prefix.
10703 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10704
10705 2012-06-03 Glenn Morris <rgm@gnu.org>
10706
10707 * emacs-lisp/authors.el (authors-aliases): Addition.
10708
10709 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10710 Fix :version.
10711
10712 2012-06-03 Stefan Merten <smerten@oekonux.de>
10713
10714 * textmodes/rst.el: Add comments.
10715 (rst-transition, rst-adornment): New faces.
10716 (rst-adornment-faces-alist): Make default safe to reevaluate.
10717 Fixes
10718 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10719 Improve customization tags.
10720 (rst-define-level-faces): Clarify meaning.
10721
10722 2012-06-03 Chong Yidong <cyd@gnu.org>
10723
10724 * progmodes/compile.el (compilation-mode-line-fail)
10725 (compilation-mode-line-run, compilation-mode-line-exit):
10726 New faces.
10727 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10728
10729 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10730
10731 * progmodes/which-func.el (which-func-update-ediff-windows):
10732 New function. Use it in ediff-select-hook (Bug#11478).
10733
10734 2012-06-03 Chong Yidong <cyd@gnu.org>
10735
10736 * bindings.el: Remove explicit help text from format-mode-line.
10737 It is now supplied by mode-line-default-help-echo.
10738 (mode-line-front-space, mode-line-end-spaces)
10739 (mode-line-misc-info): New variables.
10740 (mode-line-modes, mode-line-position): Move the default value to
10741 the variable definition.
10742 (mode-line-default-help-echo): New defcustom.
10743 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10744 (mode-line-modified-help-echo): New functions.
10745 (mode-line-mule-info, mode-line-modified): Use them.
10746 (mode-line-eol-desc, propertized-buffer-identification):
10747 Consistency fixes for help text.
10748 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10749 set-buffer-file-coding-system (Bug#289).
10750 (mode-line-mule-info-help-echo): Update help text.
10751
10752 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10753
10754 * simple.el (execute-extended-command): Set real-this-command
10755 (bug#11506).
10756
10757 2012-06-02 Chong Yidong <cyd@gnu.org>
10758
10759 Remove incorrect uses of "modeline" in comments, docstrings, and
10760 function/variable names (Bug#10329).
10761
10762 * cus-edit.el (mode-line):
10763 * dframe.el (dframe-mouse-hscroll):
10764 * emacs-lisp/re-builder.el:
10765 * emacs-lisp/easy-mmode.el (define-minor-mode):
10766 * frame.el (set-frame-name):
10767 * help.el (lookup-minor-mode-from-indicator):
10768 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10769 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10770 (c-toggle-hungry-state):
10771 * progmodes/antlr-mode.el (antlr-language-alist):
10772 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10773 * progmodes/vhdl-mode.el (vhdl-mode):
10774 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10775 * term/ns-win.el (ns-face-at-pos):
10776 * term/sup-mouse.el (sup-mouse-report):
10777 * textmodes/flyspell.el (flyspell-mode-line-string):
10778 * textmodes/ispell.el (ispell-highlight-face):
10779 * textmodes/reftex-global.el:
10780 * vc/vc-arch.el (vc-arch-mode-line-string):
10781 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10782 * vc/vc-git.el (vc-git-mode-line-string):
10783 * vc/vc-hooks.el (vc-display-status)
10784 (vc-default-mode-line-string):
10785 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10786
10787 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10788
10789 * dired.el (dired-sort-set-mode-line): Rename from
10790 dired-sort-set-modeline. All callers changed.
10791
10792 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10793 eshell-status-in-modeline.
10794
10795 * foldout.el (foldout-mode-line-string): Rename from
10796 foldout-modeline-string. All callers changed.
10797 (foldout-update-mode-line): Rename from foldout-update-modeline.
10798
10799 * subr.el (redraw-modeline): Make into obsolete alias.
10800
10801 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10802 timeclock-modeline-display. Make old name an alias.
10803 (timeclock-update-mode-line): Likewise. All callers changed.
10804 (timeclock-mode-line-display): No need to check before using
10805 add-hook.
10806 (timeclock-relative, timeclock-day-over-hook)
10807 (timeclock-use-elapsed, timeclock-mode-string)
10808 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10809
10810 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10811 crisp-mode-modeline-string.
10812
10813 * play/solitaire.el (solitaire-build-mode-line): Rename from
10814 solitaire-build-modeline. All callers changed.
10815
10816 * play/zone.el (zone-hiding-mode-line): Rename from
10817 zone-hiding-modeline. All callers changed.
10818 (zone): Remove unusued `modeline-hidden-level' property.
10819
10820 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10821 xscheme-modeline-initialize. All callers changed.
10822
10823 * strokes.el (strokes-lighter): Rename from
10824 strokes-modeline-string.
10825
10826 * textmodes/sgml-mode.el (html-face-tag-alist)
10827 (html-tag-face-alist): Use mode-line face instead of obsolete
10828 alias modeline.
10829
10830 2012-06-02 Stefan Merten <smerten@oekonux.de>
10831
10832 * textmodes/rst.el: Always require `cl'.
10833 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10834
10835 2012-06-02 Chong Yidong <cyd@gnu.org>
10836
10837 * image.el (imagemagick-enabled-types): Rename from
10838 imagemagick-types-enable. Add many more types.
10839 (imagemagick-types-inhibit): Change default to nil.
10840 (imagemagick-filter-types): Caller changed.
10841
10842 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10843
10844 * emacs-lisp/cl-macs.el: Use backquotes.
10845 (cl-transform-function-property): Use eval-and-compile rather than
10846 abusing `require'.
10847 (defstruct): Use declare-function instead of with-no-warnings.
10848
10849 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10850 (byte-compile-output-docform): Re-add the print-circle bindings.
10851 (byte-compile-fix-header): Use #$ just because it's shorter.
10852 (byte-compile-output-file-form): Remove defun/defmacro.
10853
10854 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10855
10856 * simple.el (choose-completion): Remove now obsolete binding for
10857 owindow.
10858
10859 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10860
10861 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10862 in order to avoid "Stack overflow in regexp matcher".
10863
10864 2012-05-31 Glenn Morris <rgm@gnu.org>
10865
10866 * image.el: For clarity, call imagemagick-register-types at
10867 top-level, rather than relying on a custom :initialize.
10868 (imagemagick-types-enable): New option. (Bug#11557)
10869 (imagemagick-filter-types): New function. (Bug#7406)
10870 (imagemagick-register-types): Use imagemagick-filter-types.
10871 If disabling support, remove elements altogether rather
10872 than using an impossible regexp.
10873 (imagemagick-types-inhibit): Give it the default init function.
10874
10875 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10876
10877 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10878 Handle arbitrary file name lengths (Bug#11585).
10879
10880 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10881
10882 * desktop.el (desktop-read): Clear previous and next buffers for
10883 all windows and bury *Messages* buffer (bug#11556).
10884
10885 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10886
10887 Add `declare' for `defun'. Align `defmacro's with it.
10888 * emacs-lisp/easy-mmode.el (define-minor-mode)
10889 (define-globalized-minor-mode): Don't autoload the var definitions.
10890 * emacs-lisp/byte-run.el: Use lexical-binding.
10891 (defun-declarations-alist, macro-declarations-alist): New vars.
10892 (defmacro, defun): Use them.
10893 (make-obsolete, define-obsolete-function-alias)
10894 (make-obsolete-variable, define-obsolete-variable-alias):
10895 Use `declare'.
10896 (macro-declaration-function): Mark obsolete.
10897 * emacs-lisp/autoload.el: Use lexical-binding.
10898 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10899
10900 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10901
10902 * textmodes/ispell.el (ispell-with-no-warnings):
10903 Define as a macro.
10904 (ispell-kill-ispell, ispell-change-dictionary):
10905 Use `called-interactively-p' for Emacs instead of obsolete
10906 `interactive-p'.
10907
10908 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10909
10910 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10911 (macro-declaration-function): Move var from C code.
10912 (macro-declaration-function): Define function with defalias.
10913 * emacs-lisp/macroexp.el (macroexpand-all-1):
10914 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10915 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10916 defun/defmacro any more.
10917 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10918 Provide fallback for unknown arglist.
10919 (byte-compile-arglist-warn): Change calling convention.
10920 (byte-compile-output-file-form): Move print-vars binding.
10921 (byte-compile-output-docform): Simplify accordingly.
10922 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10923 (byte-compile-defmacro-declaration): Remove.
10924 (byte-compile-file-form-defmumble): Generalize to defalias.
10925 (byte-compile-output-as-comment): Return byte-positions.
10926 Simplify callers accordingly.
10927 (byte-compile-lambda): Use `assert'.
10928 (byte-compile-defun, byte-compile-defmacro): Remove.
10929 (byte-compile-file-form-defalias):
10930 Use byte-compile-file-form-defmumble.
10931 (byte-compile-defalias-warn): Remove.
10932
10933 2012-05-29 Stefan Merten <smerten@oekonux.de>
10934
10935 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10936 possible. Fix authors. Improve comments. Improve loading of `cl'.
10937
10938 (rst-mode-abbrev-table): Merge definition.
10939 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10940 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10941
10942 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10943
10944 * calendar/icalendar.el
10945 (icalendar-export-region): Export UID properly.
10946
10947 2012-05-29 Leo Liu <sdl.web@gmail.com>
10948 * calendar/icalendar.el (icalendar-import-format):
10949 Add `icalendar-import-format-uid' (Bug#11525).
10950 (icalendar-import-format-uid): New.
10951 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10952 Export UID.
10953
10954 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10955
10956 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10957 different alternative patterns.
10958 (pcase-codegen): Be more careful to preserve identity.
10959 (pcase--u1): Don't forget to mark vars as used.
10960
10961 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10962 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10963 (byte-compile-from-buffer): ...rather than here.
10964
10965 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10966 functions from byte-compile-function-environment.
10967
10968 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10969
10970 * window.el (window-deletable-p): Avoid deleting the root window
10971 of a frame with an active minibuffer.
10972
10973 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10974
10975 * simple.el (choose-completion): Use quit-window (Bug#11567).
10976
10977 2012-05-29 Chong Yidong <cyd@gnu.org>
10978
10979 * whitespace.el (whitespace-cleanup): Fix usage of
10980 whitespace-empty-at-bob-regexp (Bug#11492).
10981
10982 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10983
10984 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10985 revert (Bug#11488).
10986
10987 2012-05-29 Juri Linkov <juri@jurta.org>
10988
10989 * isearch.el (isearch-mode-map): Bind `M-s _' to
10990 `isearch-toggle-symbol'. Bind `M-s c' to
10991 `isearch-toggle-case-fold'.
10992 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10993 (isearch-forward): Add `M-s _' to the docstring.
10994 (isearch-forward-symbol, isearch-toggle-case-fold)
10995 (isearch-symbol-regexp): New functions. (Bug#11381)
10996
10997 2012-05-29 Juri Linkov <juri@jurta.org>
10998
10999 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11000 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11001 a function, call it to get the regexp.
11002 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11003 property `isearch-message-prefix' instead of the string "word ".
11004 (isearch-search-fun-default): For the case of `isearch-word',
11005 return a lambda that calls re-search-forward/re-search-backward
11006 with a regexp returned by `word-search-regexp' or by the function
11007 in `isearch-word'.
11008
11009 2012-05-29 Juri Linkov <juri@jurta.org>
11010
11011 * isearch.el (isearch-search-fun-default): New function.
11012 (isearch-search-fun): Move default part to the new function
11013 `isearch-search-fun-default'.
11014 (isearch-search-fun-function): Set the default value to
11015 `isearch-search-fun-default'. (Bug#11381)
11016
11017 * comint.el (comint-history-isearch-end):
11018 Use `isearch-search-fun-default'.
11019 (comint-history-isearch-search): Use `isearch-search-fun-default'
11020 and remove spacial case for `isearch-word'.
11021 (comint-history-isearch-wrap): Remove spacial case for
11022 `isearch-word'.
11023
11024 * hexl.el (hexl-isearch-search-function):
11025 Use `isearch-search-fun-default'.
11026
11027 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11028 Use `word-search-regexp' for `isearch-word'.
11029
11030 * misearch.el (multi-isearch-search-fun):
11031 Use `isearch-search-fun-default'.
11032
11033 * simple.el (minibuffer-history-isearch-search):
11034 Use `isearch-search-fun-default' and remove spacial case for
11035 `isearch-word'.
11036 (minibuffer-history-isearch-wrap): Remove spacial case for
11037 `isearch-word'.
11038
11039 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11040 Remove spacial case for `isearch-word'.
11041 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11042
11043 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11044
11045 Decrease XEmacs incompatibilities.
11046 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11047 Use `string-match'.
11048 (flyspell-delete-region-overlays): Use alternative definition for
11049 XEmacs.
11050 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11051 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11052 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11053 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11054 `define-obsolete-face-alias' under XEmacs, but old method.
11055
11056 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11057 `with-no-warnings' definition or Emacs alias.
11058 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11059 (ispell-word): Do not use `region-p' if XEmacs.
11060
11061 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11062
11063 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11064 Check for `ispell-dictionary-base-alist' instead of full
11065 `ispell-dictionary-alist'.
11066 (ispell-init-process): Show spellchecker when starting new Ispell
11067 process.
11068
11069 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11070
11071 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11072 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11073
11074 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11075
11076 * version.el (motif-version-string, gtk-version-string)
11077 (ns-version-string): Declare.
11078
11079 2012-05-27 Juri Linkov <juri@jurta.org>
11080
11081 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11082 after the `eval-defun-1' specialcaseing
11083 like in `edebug-eval-defun' (bug#10181).
11084
11085 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11086 like in `eval-defun-1'.
11087
11088 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11089
11090 * mail/sendmail.el (mail-yank-region):
11091 Recognize rmail-yank-current-message in addition to insert-buffer.
11092 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11093 a *mail* buffer created through rmail-start-mail with sendmail as
11094 mail-user-agent.
11095
11096 2012-05-27 Chong Yidong <cyd@gnu.org>
11097
11098 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11099 Default to 256 (Bug#11267).
11100
11101 * help.el (describe-mode): Doc fix.
11102
11103 2012-05-26 Glenn Morris <rgm@gnu.org>
11104
11105 * w32-fns.el (w32-init-info): Remove.
11106 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11107
11108 * info.el (info-initialize): For self-contained NS builds, put the
11109 included info/ directory at the front. (Bug#2791)
11110
11111 * paths.el (Info-default-directory-list): Make it a defcustom,
11112 mainly so that we can use custom-initialize-delay.
11113
11114 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11115
11116 * subr.el (buffer-has-markers-at): Mark obsolete.
11117
11118 * subr.el (lambda): Use declare.
11119
11120 * emacs-lisp/lisp-mode.el (lambda):
11121 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11122
11123 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11124
11125 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11126
11127 2012-05-26 Glenn Morris <rgm@gnu.org>
11128
11129 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11130
11131 2012-05-25 Glenn Morris <rgm@gnu.org>
11132
11133 * paths.el: Remove no-byte-compile.
11134 * loadup.el: No need to load paths.el uncompiled.
11135
11136 * image.el (imagemagick-types-inhibit): Doc fix.
11137
11138 * version.el: Remove no-byte-compile and associated formatting.
11139 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11140 is ancient code from when there was an "inc-vers.el".
11141
11142 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11143
11144 * progmodes/gdb-mi.el: Minor style changes.
11145 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11146 Turn into minor modes.
11147 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11148 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11149 (gdb-shell): Remove unneeded let-binding.
11150 (gdb-get-many-fields): Eliminate O(n²) behavior.
11151
11152 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11153
11154 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11155 platforms that don't link in fontset.c.
11156
11157 2012-05-25 Juri Linkov <juri@jurta.org>
11158
11159 Use the same diff color scheme as in modern VCSes (bug#10181).
11160
11161 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11162 to avoid confusion with `diff-added' that now uses green colors.
11163 (diff-removed): Use shades of red.
11164 (diff-added): Use shades of green.
11165 (diff-changed): Leave just the yellow color.
11166 (diff-use-changed-face): New variable.
11167 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11168 how to highlight context diff changes.
11169 (diff-refine-change): Use shades of yellow.
11170 (diff-refine-removed): New face that uses shades of red.
11171 (diff-refine-added): New face that uses shades of green.
11172 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11173 `diff-refine-removed' in the call to `smerge-refine-subst'
11174 depending on the value of `diff-use-changed-face'.
11175
11176 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11177 (smerge-other): Use shades of green.
11178 (smerge-base): Use shades of yellow.
11179 (smerge-refined-change): Empty face.
11180 (smerge-refined-removed): New face that uses shades of red.
11181 (smerge-refined-added): New face that uses shades of green.
11182 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11183 args `props-r' and `props-a', and use them. Doc fix.
11184 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11185 on its value use different faces `smerge-refined-change',
11186 `smerge-refined-removed', `smerge-refined-added' in the call to
11187 `smerge-refine-subst'.
11188
11189 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11190 Add face condition `min-colors 88' with shades of red.
11191 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11192 `min-colors 88' with shades of green.
11193 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11194 `min-colors 88' with shades of yellow.
11195
11196 2012-05-24 Glenn Morris <rgm@gnu.org>
11197
11198 * paths.el (prune-directory-list, remote-shell-program): Move to...
11199 * files.el (prune-directory-list, remote-shell-program): ...here.
11200 For the latter, delay initialization, prefer ssh, just search PATH.
11201
11202 * paths.el (term-file-prefix): Move to faces.el (the only user).
11203 * faces.el (term-file-prefix): Move here, make it a defcustom.
11204
11205 * paths.el (news-directory, news-path, news-inews-program):
11206 Move to gnus/nnspool.el.
11207
11208 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11209
11210 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11211 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11212 Make the latter a defcustom, with a delayed initialization.
11213
11214 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11215 These were deleted from Gnus itself late 2010.
11216
11217 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11218
11219 * progmodes/which-func.el (which-func-ff-hook):
11220 Check against user-error, not error.
11221
11222 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11223 cl-specs.el, which no longer exists.
11224
11225 2012-05-22 Glenn Morris <rgm@gnu.org>
11226
11227 * info.el (info-emacs-bug): New command.
11228 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11229 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11230
11231 2012-05-21 Glenn Morris <rgm@gnu.org>
11232
11233 * makefile.w32-in (update-subdirs-SH):
11234 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11235
11236 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11237
11238 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11239
11240 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11241 Simplify Maven regexp, and make sure the file can't start with a space
11242 (bug#11517).
11243
11244 2012-05-21 Glenn Morris <rgm@gnu.org>
11245
11246 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11247 Scrap superfluous subshells.
11248
11249 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11252 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11253
11254 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11255
11256 * calc/calc.el (calc-ensure-consistent-units): New variable.
11257
11258 * calc/calc-units.el (math-consistent-units-p)
11259 (math-check-unit-consistency): New functions.
11260 (calc-quick-units, calc-convert-units):
11261 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11262 is non-nil.
11263 (calc-extract-units): Fix typo.
11264
11265 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11268
11269 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11270 (flyspell-default-deplacement-commands): Don't spell check after
11271 repeated window/frame switches (e.g. triggered by mouse-movement).
11272 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11273 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11274 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11275 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11276 Remove unused vars.
11277 (flyspell-get-casechars, flyspell-get-not-casechars):
11278 Simplify; Don't bother removing a ] just to add it back.
11279 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11280
11281 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11282
11283 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11284 New functions.
11285 (math-function-table): Add support for more C functions.
11286
11287 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11288
11289 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11290 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11291 Protect delay handling for otherchars against empty otherchars.
11292
11293 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11294
11295 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11296 their respective macro declarations.
11297 * skeleton.el (define-skeleton):
11298 * progmodes/compile.el (define-compilation-mode):
11299 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11300 (define-ibuffer-filter):
11301 * emacs-lisp/generic.el (define-generic-mode):
11302 * emacs-lisp/easy-mmode.el (define-minor-mode)
11303 (define-globalized-minor-mode):
11304 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11305 * emacs-lisp/byte-run.el (defsubst):
11306 * custom.el (deftheme): Add doc-string metadata.
11307
11308 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11309
11310 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11311
11312 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11313
11314 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11315
11316 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11317 * emacs-lisp/cl-macs.el: Idem.
11318 * emacs-lisp/cl-specs.el: Remove.
11319
11320 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11321
11322 Minor renaming of internal CL functions and variables.
11323 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11324 (cl--position): Rename from cl-position.
11325 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11326 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11327 (cl--random-state): Rename from *random-state*.
11328
11329 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11330
11331 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11332 parens around the arg list (bug#11499).
11333
11334 2012-05-17 Juri Linkov <juri@jurta.org>
11335
11336 * isearch.el (word-search-regexp, word-search-backward)
11337 (word-search-forward, word-search-backward-lax)
11338 (word-search-forward-lax): Move functions from search.c
11339 (bug#10145, bug#11381).
11340
11341 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11342
11343 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11344 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11345 Delay for otherchars as for normal word components.
11346
11347 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11348
11349 * minibuffer.el (completion--sifn-requote): Fix last change.
11350 (minibuffer-local-must-match-filename-map):
11351 Move define-obsolete-variable-alias before its var.
11352
11353 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11354
11355 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11356
11357 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11358 behavior.
11359 (completion--string-equal-p): New function.
11360 (completion--twq-all): Use it to get better assertion failure data.
11361
11362 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11363 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11364 (shell--requote-argument): New functions.
11365 (shell-completion-vars): Use them.
11366 (shell--parse-pcomplete-arguments): Rename from
11367 shell-parse-pcomplete-arguments.
11368 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11369 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11370 Obey comint-file-name-quote-list.
11371
11372 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11373 (smie-indent-keyword): Use it.
11374
11375 2012-05-14 Stefan Merten <smerten@oekonux.de>
11376
11377 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11378
11379 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11380
11381 * net/rlogin.el (rlogin-mode-map): Fix last change.
11382
11383 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11384
11385 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11386 the following \r\n using a single `process-send-string', since the
11387 Lotus SMTP server refuses to accept any commands if they are sent
11388 with two `process-send-string's (Bug#11444).
11389
11390 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11391
11392 * shell.el (shell-parse-pcomplete-arguments):
11393 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11394
11395 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11396
11397 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11398 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11399 (image-transform-width, image-transform-fit-width): New functions.
11400 (image-transform-properties): Use them.
11401 (image-transform-check-size): New function.
11402 (image-toggle-display-image): Use it (for testing).
11403 (image-transform-set-rotation): Reduce angle mod 360.
11404 Delete obsolete comment.
11405
11406 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11407
11408 * image-mode.el: Fix scaling (bug#11399).
11409 (image-transform-resize): Doc fix.
11410 (image-transform-properties): Default scale is 1 and height should
11411 be an integer.
11412
11413 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11414
11415 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11416 than hard-coding `car', to fix misbehavior when moving forward.
11417
11418 2012-05-13 Chong Yidong <cyd@gnu.org>
11419
11420 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11421 (tabulated-list-entries, tabulated-list-padding)
11422 (tabulated-list-sort-key): Make permanent-local.
11423
11424 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11425 (electric-buffer-list): Put electric buffer menu
11426 command descriptions in this docstring, instead of the docstring
11427 of electric-buffer-menu-mode. Code cleanups.
11428 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11429 Electric-buffer-menu-mode.
11430 (electric-buffer-update-highlight): Minor code cleanup.
11431
11432 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11433
11434 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11435 (Bug#11447)
11436
11437 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11438
11439 Move define-obsolete-variable-alias before the var's definition.
11440 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11441 * tooltip.el (tooltip-hook):
11442 * textmodes/reftex-toc.el (reftex-toc-map):
11443 * textmodes/reftex-sel.el (reftex-select-label-map)
11444 (reftex-select-bib-map):
11445 * textmodes/reftex-index.el (reftex-index-map)
11446 (reftex-index-phrases-map):
11447 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11448 * progmodes/meta-mode.el (meta-mode-map):
11449 * novice.el (disabled-command-hook):
11450 * loadhist.el (unload-hook-features-list):
11451 * frame.el (blink-cursor):
11452 * files.el (find-file-not-found-hooks, write-file-hooks)
11453 (write-contents-hooks):
11454 * emulation/tpu-edt.el (GOLD-map):
11455 * emacs-lock.el (emacs-lock-from-exiting):
11456 * emacs-lisp/generic.el (generic-font-lock-defaults):
11457 * emacs-lisp/chart.el (chart-map):
11458 * dos-fns.el (register-name-alist):
11459 * dired-x.el (dired-omit-files-p):
11460 * desktop.el (desktop-enable):
11461 * cus-edit.el (custom-mode-hook):
11462 * buff-menu.el (buffer-menu-mode-hook):
11463 * bookmark.el (bookmark-read-annotation-text-func)
11464 (bookmark-exit-hooks):
11465 * allout.el (allout-mode-deactivate-hook)
11466 (allout-exposure-change-hook, allout-structure-added-hook)
11467 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11468 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11469 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11470 comes before the corresponding variable's definition.
11471
11472 2012-05-12 Chong Yidong <cyd@gnu.org>
11473
11474 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11475 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11476 (Buffer-menu-mode-map): Bind it.
11477 (Buffer-menu--pretty-name): Add a mouse-face property.
11478
11479 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11480
11481 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11482 (prolog-upper-case-string, prolog-lower-case-string)
11483 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11484 (prolog-use-smie, prolog-smie-grammar): New vars.
11485 (prolog-smie-forward-token, prolog-smie-backward-token)
11486 (prolog-smie-rules): New funs.
11487 (prolog-comment-indent): Remove.
11488 (prolog-mode-variables): Use default comment indentation instead.
11489 Setup SMIE.
11490 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11491 (prolog-mode): Don't call them any more.
11492 (prolog-electric-colon, prolog-electric-dash)
11493 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11494
11495 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11496
11497 * minibuffer.el (completion--twq-all): Again, allow case differences.
11498
11499 * term.el: Move keymap initialization code to be more idiomatic.
11500 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11501 (term-terminal-menu): Move initialization into declaration.
11502 (term-escape-char): Let the user set it in her .emacs.
11503
11504 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11505 Provide SMIE-based indentation (not enabled by default yet).
11506 (sh-mode-map): Don't bind electric keys.
11507 Use electric-pair-mode instead of skeleton-pair.
11508 (sh-assignment-regexp): Fit within 80 columns.
11509 (sh-indent-supported): Specify actual shell name instead of boolean.
11510 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11511 (sh-maybe-here-document): Use it. Make obsolete.
11512 (sh-electric-here-document-mode) New minor mode.
11513 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11514 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11515 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11516 (sh-smie-rc-grammar, sh-use-smie): New vars.
11517 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11518 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11519 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11520 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11521 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11522 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11523 (sh-set-shell): Use smie-setup if requested.
11524
11525 * term.el (term-set-escape-char): Properly set term-escape-char.
11526 See http://stackoverflow.com/questions/10524656.
11527
11528 2012-05-10 Chong Yidong <cyd@gnu.org>
11529
11530 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11531 Use url-generic-parse-url, and handle host names and Windows
11532 filenames properly.
11533 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11534 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11535 URL schemes to work on.
11536 (ffap--toggle-read-only): New function.
11537 (ffap-read-only, ffap-read-only-other-window)
11538 (ffap-read-only-other-frame): Use it.
11539 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11540 necessary for ffap-url-unwrap-remote.
11541
11542 2012-05-10 Dave Abrahams <dave@boostpro.com>
11543
11544 * cus-start.el (create-lockfiles): Add it.
11545
11546 2012-05-09 Chong Yidong <cyd@gnu.org>
11547
11548 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11549 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11550
11551 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11552
11553 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11554
11555 2012-05-09 Chong Yidong <cyd@gnu.org>
11556
11557 * ansi-color.el (ansi-color-process-output): Check for validity of
11558 comint-last-output-start before using it. This avoids a bad
11559 interaction with gdb-mi's input/output buffer.
11560
11561 2012-05-09 Glenn Morris <rgm@gnu.org>
11562
11563 * files.el (dir-locals-read-from-file):
11564 Mention dir-locals in any error message.
11565
11566 2012-05-09 Chong Yidong <cyd@gnu.org>
11567
11568 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11569 package (Bug#11410).
11570
11571 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11572 variables into description.
11573
11574 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11575
11576 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11577 shell-delimiter-argument-list (bug#11348).
11578 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11579
11580 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11581
11582 * textmodes/rst.el: Silence byte-compiler warnings.
11583 (rst-re-alist, rst-reset-section-caches): Move around.
11584 (rst-re): Use `characterp', not `char-valid-p'.
11585 (font-lock-beg, font-lock-end): Declare.
11586
11587 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11588 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11589
11590 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11591
11592 2012-05-08 Glenn Morris <rgm@gnu.org>
11593
11594 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11595
11596 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11597
11598 * vc/log-edit.el: Add GNU coding standards highlighting.
11599 (log-edit-font-lock-gnu-style)
11600 (log-edit-font-lock-gnu-keywords): New vars.
11601 (log-edit-font-lock-keywords): New fun.
11602 (log-edit-mode): Don't fold case in font-lock.
11603 (log-edit-font-lock-keywords): Do not assume case-folding.
11604
11605 * imenu.el: Misc cleanup. Make docstrings out of comments.
11606 Use lexical-binding.
11607 (imenu--index-alist, imenu--last-menubar-index-alist)
11608 (imenu-menubar-modified-tick): Use defvar-local.
11609 (imenu--split-menu): Remove unused var.
11610 (imenu--cleanup-seen): Declare as global.
11611 (imenu--cleanup): Use dolist.
11612
11613 * subr.el (defvar-local): Add debug spec and doc-string position.
11614
11615 2012-05-08 Glenn Morris <rgm@gnu.org>
11616
11617 * language/burmese.el, language/cham.el, language/czech.el:
11618 * language/english.el, language/georgian.el, language/greek.el:
11619 * language/japanese.el, language/khmer.el, language/korean.el:
11620 * language/lao.el, language/misc-lang.el, language/romanian.el:
11621 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11622 * language/thai.el, language/utf-8-lang.el:
11623 Remove no-byte-compile setting.
11624
11625 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11626
11627 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11628
11629 * progmodes/make-mode.el (makefile-browse):
11630 Remove unnecessary interactive. (Bug#11324)
11631
11632 2012-05-07 Glenn Morris <rgm@gnu.org>
11633
11634 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11635
11636 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11637
11638 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11639
11640 * loadup.el: Preload newcomment.el.
11641 * newcomment.el: Move autoload-only code to toplevel.
11642
11643 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11644 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11645 Handle new :right-align column property.
11646 (tabulated-list-print-col): Idem, plus use `display' text-property to
11647 try and preserve alignment for variable pitch fonts.
11648
11649 2012-05-07 Chong Yidong <cyd@gnu.org>
11650
11651 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11652 (tabulated-list-use-header-line): New var.
11653 (tabulated-list-init-header): Use it.
11654 (tabulated-list-print-fake-header): New function.
11655 (tabulated-list-print): Use it.
11656 (tabulated-list-sort-button-map): Add non-header-line commands.
11657 (tabulated-list-init-header): Add column name property to basic
11658 labels as well.
11659 (tabulated-list-col-sort): Handle non-header-line button case.
11660 (tabulated-list--sort-by-column-name): Fix a corner case.
11661
11662 * buff-menu.el (list-buffers--refresh):
11663 Handle Buffer-menu-use-header-line.
11664
11665 2012-05-06 Chong Yidong <cyd@gnu.org>
11666
11667 * buff-menu.el: Convert to Tabulated List mode.
11668 (Buffer-menu-buffer+size-width): Make obsolete.
11669 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11670 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11671 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11672 documentation into docstring of buffer-menu.
11673 (Buffer-menu-toggle-files-only): Add an informative message.
11674 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11675 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11676 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11677 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11678 (Buffer-menu-execute, Buffer-menu-select)
11679 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11680 (Buffer-menu-bury): Use Tabulated List machinery.
11681 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11682 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11683 Delete.
11684 (list-buffers--refresh): New function.
11685 (list-buffers-noselect): Use it.
11686 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11687 (Buffer-menu--pretty-file-name): New helper functions.
11688
11689 * loadup.el: Preload tabulated-list.
11690
11691 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11692 tabulated-list-sort-column.
11693 (tabulated-list-init-header): Add the initial aligning space even
11694 if tabulated-list-padding is zero.
11695
11696 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11697
11698 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11699 whose cdr is not a cons cell correctly (bug#11038).
11700
11701 2012-05-06 Chong Yidong <cyd@gnu.org>
11702
11703 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11704 Accept additional plist in column descriptors.
11705 (tabulated-list-init-header): Obey it.
11706 (tabulated-list-get-entry): New function.
11707 (tabulated-list-put-tag): Use it. Use string-width instead of
11708 length.
11709 (tabulated-list--column-number): New function.
11710 (tabulated-list-print): Use it.
11711 (tabulated-list-print-col): New function.
11712 Set `tabulated-list-column-name' property on each column's text.
11713 (tabulated-list-print-entry): Use it.
11714 (tabulated-list-delete-entry, tabulated-list-set-col):
11715 New functions.
11716 (tabulated-list-sort-column): New command (Bug#11337).
11717
11718 * buff-menu.el (list-buffers): Move C-x C-b binding from
11719 buff-menu.el to bindings.el.
11720
11721 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11722 :advertised-binding feature.
11723
11724 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11725
11726 * progmodes/compile.el (compilation-internal-error-properties):
11727 Calculate start position correctly when end-col is set but
11728 end-line is not (Bug#11382).
11729
11730 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11731
11732 * man.el (Man-unindent): Use text-property-default-nonsticky to
11733 prevent untabify from inheriting face properties (Bug#11408).
11734
11735 2012-05-05 Stefan Merten <smerten@oekonux.de>
11736
11737 * textmodes/rst.el: Major merge with upstream development up to
11738 Docutils SVN r7399 / rst.el V1.2.1.
11739
11740 Clarify maintainership and authors.
11741
11742 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11743 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11744 (rst-official-version, rst-official-cvs-rev, rst-version)
11745 (rst-package-emacs-version-alist): New functions and variables
11746 for version information.
11747
11748 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11749 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11750 (rst-mode-syntax-table, rst-mode): New and corrected functions
11751 and variables representing reStructuredText features.
11752
11753 (rst-re): New function for reStructuredText regexes. Use in
11754 many places.
11755
11756 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11757 (rst-mode-map): Rebind keys.
11758
11759 (rst-mode-lazy, rst-font-lock-keywords)
11760 (rst-font-lock-extend-region)
11761 (rst-font-lock-extend-region-internal)
11762 (rst-font-lock-extend-region-extend)
11763 (rst-font-lock-find-unindented-line-limit)
11764 (rst-font-lock-find-unindented-line-match)
11765 (rst-adornment-level, rst-font-lock-adornment-level)
11766 (rst-font-lock-adornment-match)
11767 (rst-font-lock-handle-adornment-pre-match-form)
11768 (rst-font-lock-handle-adornment-matcher): Major revision of
11769 font-locking. Integrate with other code. Use `jit-lock-mode'.
11770
11771 (rst-preferred-adornments, rst-adjust-hook)
11772 (rst-new-adornment-down, rst-preferred-bullets)
11773 (rst-preferred-bullets, rst-indent, rst-indent-width)
11774 (rst-indent-field, rst-indent-literal-normal)
11775 (rst-indent-literal-minimized, rst-indent-comment): Change,
11776 extend and improve customization.
11777
11778 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11779 (rst-normalize-cursor-position, rst-get-decoration)
11780 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11781 (rst-rstrip, rst-toc-insert-find-delete-contents)
11782 (rst-shift-fill-region, rst-compute-bullet-tabs)
11783 (rst-debug-print-tabs, rst-debug-mark-found)
11784 (rst-shift-region-guts, rst-shift-region-right)
11785 (rst-shift-region-left, rst-use-char-classes)
11786 (rst-font-lock-keywords-function)
11787 (rst-font-lock-indentation-point)
11788 (rst-font-lock-find-unindented-line-begin)
11789 (rst-font-lock-find-unindented-line-end)
11790 (rst-font-lock-find-unindented-line)
11791 (rst-font-lock-adornment-point, rst-font-lock-level)
11792 (rst-adornment-level-alist): Remove functions and variables.
11793
11794 (rst-compare-adornments, rst-get-adornment-match)
11795 (rst-suggest-new-adornment, rst-get-adornments-around)
11796 (rst-adornment-complete-p, rst-get-next-adornment)
11797 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11798 (rst-straighten-adornments): Standardize function names to
11799 use "adornment" instead of "decoration". Correct callers.
11800 Similar standardizing in many places.
11801
11802 (rst-update-section, rst-adjust, rst-promote-region)
11803 (rst-enumerate-region, rst-bullet-list-region)
11804 (rst-repeat-last-character): Correct use of `interactive'.
11805
11806 (rst-classify-adornment, rst-find-all-adornments)
11807 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11808 (rst-find-leftmost-column, rst-repeat-last-character):
11809 Refactor functions.
11810
11811 (rst-find-title-line, rst-reset-section-caches)
11812 (rst-get-adornments-around, rst-adjust-adornment-work)
11813 (rst-arabic-to-roman, rst-roman-to-arabic)
11814 (rst-insert-list-pos, rst-insert-list-new-item)
11815 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11816 New functions.
11817
11818 (rst-all-sections, rst-section-hierarchy)
11819 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11820 New variables.
11821
11822 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11823 configuration instead of only buffer. Change where necessary.
11824
11825 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11826 (rst-shift-region, rst-adaptive-fill): New functions for
11827 indentation and filling.
11828
11829 (rst-comment-line-break, rst-comment-indent)
11830 (rst-comment-insert-comment, rst-comment-region)
11831 (rst-uncomment-region): New functions for handling comments.
11832
11833 (rst-compile): Quote shell arguments.
11834
11835 (rst-compile-pdf-preview, rst-compile-slides-preview):
11836 Delete temporary files after use.
11837
11838 2012-05-05 Glenn Morris <rgm@gnu.org>
11839
11840 * calendar/cal-html.el: Optionally include holidays in the output.
11841 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11842 (cal-html-holidays): New option.
11843 (cal-html-css-default): Add holiday entry.
11844 (holiday-in-range): Autoload it.
11845 (cal-html-htmlify-entry): Add optional class argument.
11846 (cal-html-htmlify-list): Add optional holidays argument.
11847 (cal-html-insert-agenda-days): Include holidays in the output.
11848 (cal-html-one-month): Maybe include holidays.
11849
11850 * calendar/holidays.el (holiday-in-range):
11851 Move here from cal-tex-list-holidays.
11852 * calendar/cal-tex.el (cal-tex-list-holidays):
11853 Make it an obsolete alias for holiday-in-range. Update all callers.
11854
11855 2012-05-05 Chong Yidong <cyd@gnu.org>
11856
11857 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11858 Nextstep.
11859
11860 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11861
11862 * files.el (file-auto-mode-skip): New var.
11863 (set-auto-mode-1): Use it.
11864
11865 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11866
11867 * repeat.el: Use lexical-binding.
11868 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11869 (repeat-undo-count): Remove.
11870 (repeat):
11871 * progmodes/octave-mod.el (octave-abbrev-start):
11872 * progmodes/f90.el (f90-abbrev-start):
11873 * face-remap.el (text-scale-adjust):
11874 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11875
11876 * emacs-lisp/pcase.el (pcase--let*): New function.
11877 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11878 a bit more.
11879 (pcase--split-pred): Be more clever about ruling out overlap between
11880 a predicate and some constant pattern.
11881 (pcase--q1): Use `null' instead of (eq foo nil).
11882
11883 * subr.el (setq-local, defvar-local): New macros.
11884 (kbd): Redefine as an alias.
11885 (with-selected-window): Leave unrelated frames alone.
11886 (set-temporary-overlay-map): New function.
11887
11888 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11889
11890 * subr.el (user-error): New function.
11891 * window.el (switch-to-buffer):
11892 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11893 (smerge-match-conflict):
11894 * simple.el (previous-matching-history-element)
11895 (next-matching-history-element, goto-history-element, undo-more)
11896 (undo-start):
11897 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11898 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11899 (next-file, tags-loop-scan, list-tags, complete-tag):
11900 * progmodes/compile.el (compilation-loop):
11901 * mouse.el (mouse-minibuffer-check):
11902 * man.el (Man-bgproc-sentinel, Man-goto-page):
11903 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11904 (Info-history-forward, Info-follow-reference, Info-menu)
11905 (Info-extract-menu-item, Info-extract-menu-counting)
11906 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11907 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11908 (Info-next-reference, Info-prev-reference, Info-index)
11909 (Info-index-next, Info-follow-nearest-node)
11910 (Info-copy-current-node-name):
11911 * imenu.el (imenu--make-index-alist)
11912 (imenu-default-create-index-function, imenu-add-to-menubar):
11913 * files.el (basic-save-buffer, recover-file):
11914 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11915 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11916 (checkdoc-message-text, checkdoc-defun):
11917 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11918 * cus-edit.el (customize-changed-options, customize-rogue)
11919 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11920 (custom-variable-mark-to-reset-standard)
11921 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11922 (custom-file):
11923 * completion.el (check-completion-length):
11924 * comint.el (comint-search-arg)
11925 (comint-previous-matching-input-string-position)
11926 (comint-previous-matching-input)
11927 (comint-replace-by-expanded-history-before-point, comint-send-input)
11928 (comint-copy-old-input, comint-backward-matching-input)
11929 (comint-goto-process-mark, comint-set-process-mark):
11930 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11931 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11932
11933 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11934
11935 * dabbrev.el (dabbrev--ignore-case-p): New function.
11936 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11937 Use it.
11938
11939 * files.el (automount-dir-prefix): Mark as obsolete.
11940
11941 2012-05-04 Glenn Morris <rgm@gnu.org>
11942
11943 * patcomp.el, play/bruce.el: Move to obsolete/.
11944
11945 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11946
11947 Fix minor Y10k bugs.
11948 * arc-mode.el (archive-unixdate):
11949 * autoinsert.el (auto-insert-alist):
11950 * calc/calc-forms.el (math-this-year):
11951 * emacs-lisp/copyright.el (copyright-current-year)
11952 (copyright-update-year, copyright):
11953 * tar-mode.el (tar-clip-time-string):
11954 * time.el (display-time-update):
11955 Don't assume years have 4 digits.
11956
11957 2012-05-04 Chong Yidong <cyd@gnu.org>
11958
11959 * dos-w32.el (file-name-buffer-file-type-alist)
11960 (direct-print-region-use-command-dot-com):
11961 * ffap.el (ffap-menu-regexp):
11962 * find-file.el (ff-special-constructs):
11963 * follow.el (follow-debug):
11964 * forms.el (forms--debug):
11965 * iswitchb.el (iswitchb-all-frames):
11966 * ido.el (ido-all-frames):
11967 * emacs-lisp/timer.el (timer-max-repeats):
11968 * mail/feedmail.el (feedmail-mail-send-hook)
11969 (feedmail-mail-send-hook-queued):
11970 * mail/footnote.el (footnote-signature-separator):
11971 * mail/mailabbrev.el (mail-alias-separator-string)
11972 (mail-abbrev-mode-regexp):
11973 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11974 * progmodes/idlwave.el (idlwave-libinfo-file)
11975 (idlwave-default-completion-case-is-down)
11976 (idlwave-library-routines): Convert defvars to defcustoms.
11977
11978 * mail/rmail.el (rmail-decode-mime-charset):
11979 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11980 (idlwave-shell-fix-inserted-breaks)
11981 (idlwave-shell-activate-alt-keybindings)
11982 (idlwave-shell-use-breakpoint-glyph):
11983 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11984
11985 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11986
11987 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11988
11989 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11990
11991 * progmodes/verilog-mode.el (font-lock-keywords):
11992 Fix mis-highligting auto. Reported by Craig Barner.
11993 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11994 defines from global name space. Reported by Dan Dever.
11995 (verilog-auto-reset, verilog-auto-reset-widths)
11996 (verilog-auto-tieoff): Support using unbased numbers for
11997 AUTORESET and AUTOTIEOFF.
11998 (verilog-submit-bug-report): Update variable list.
11999 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12000 parenthesis from not matching. Reported by Michael Rytting.
12001 (verilog-auto-template-lint): Fix hash error when linting modules
12002 with no used templates.
12003 (verilog-warn, verilog-warn-error)
12004 (verilog-warn-fatal): When non-interactive report multiple
12005 warnings before exiting. Suggested by Brad Dobbie.
12006 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12007 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12008 to report unused template errors. Reported by Brad Dobbie.
12009 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12010 nets, bug438. Reported by Vns Blore.
12011 (verilog-auto-inout-module, verilog-auto-reg)
12012 (verilog-read-decls, verilog-read-sub-decls-sig)
12013 (verilog-signals-edit-wire-reg, verilog-signals-with):
12014 Fix passing of Verilog data types in ANSI input/output ports
12015 such as "output logic" into the AUTOs. Special case "wire" and
12016 "reg" for backwards compatibility presuming Verilog 2001.
12017 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12018 (verilog-preprocess): Fix replication of preprocess output.
12019 Reported by Brad Dobbie.
12020 (verilog-auto-inst-interfaced-ports):
12021 Create verilog-auto-inst-interfaced-ports, bug429.
12022 Reported by Julian Gorfajn.
12023 (verilog-after-save-font-hook)
12024 (verilog-before-save-font-hook): New variable.
12025 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12026 (verilog-save-font-mods): Wrap disabling fontification, reported
12027 by David Rogoff.
12028 (verilog-do-indent, verilog-pretty-declarations-auto)
12029 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12030 Reported by Pierre-David Pfister.
12031 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12032 of class declarations, bug292. Reported by Kevin Heilman.
12033 (verilog-read-decls): Fix 'parameter type' not appearing in
12034 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12035 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12036 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12037 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12038 Reported by David Kravitz.
12039
12040 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12041
12042 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12043 assignment with tests in ifs and for loops.
12044 (verilog-extended-complete-re, verilog-complete-reg): Change so
12045 that DPI inport functions don't look like fuction declarations.
12046 (verilog-pretty-expr): Don't line up assignment
12047 operations to the test and increment in if and for loops
12048 (verilog-extended-complete-re, verilog-complete-reg): Change so
12049 that DPI inport functions don't look like fuction declarations.
12050
12051 2012-05-03 Kenichi Handa <handa@m17n.org>
12052
12053 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12054 decoding, and show a warning message without signaling an error
12055 (Bug#11282).
12056
12057 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12058
12059 * emacs-lisp/bytecomp.el
12060 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12061 since cconv.el might have introduced :fun-body, internal-make-closure,
12062 and friends for bytecomp to handle (bug#11391).
12063 * custom.el (defcustom): Avoid ((λ ..) ..).
12064
12065 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12066
12067 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12068
12069 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12070
12071 * notifications.el (dbus-debug):
12072 * term/linux.el (gpm-mouse-enable):
12073 * term/screen.el (xterm-register-default-colors): Declare.
12074
12075 2012-05-02 Chong Yidong <cyd@gnu.org>
12076
12077 * cus-start.el (gc-cons-percentage, exec-suffixes)
12078 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12079 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12080 (make-cursor-line-fully-visible, void-text-area-pointer)
12081 (font-list-limit): Add customization data.
12082
12083 * allout.el (allout-exposure-change-functions)
12084 (allout-structure-added-functions)
12085 (allout-structure-deleted-functions)
12086 (allout-structure-shifted-functions): Rename abnormal hooks from
12087 *-hook, and convert to defcustoms.
12088 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12089 Convert to defcustoms.
12090 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12091
12092 * allout-widgets.el: Hook callers changed.
12093
12094 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12095
12096 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12097 the yanked message in preference to the default value of
12098 buffer-file-coding-system.
12099
12100 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12101
12102 * window.el (display-buffer--action-function-custom-type):
12103 Fix entry.
12104
12105 2012-05-02 Alan Mackenzie <acm@muc.de>
12106
12107 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12108
12109 2012-05-01 Glenn Morris <rgm@gnu.org>
12110
12111 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12112
12113 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12114
12115 * cus-edit.el (custom-variable-documentation): Simplify with format.
12116
12117 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12118 Stefan Monnier <monnier@iro.umontreal.ca>
12119
12120 * simple.el (suggest-key-bindings, execute-extended-command):
12121 Move from keyboard.c.
12122
12123 2012-05-01 Chong Yidong <cyd@gnu.org>
12124
12125 * follow.el: Eliminate advice.
12126 (set-process-filter, process-filter, sit-for): Advice deleted.
12127 (follow-mode-off-hook): Obsolete hook removed.
12128 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12129 Vars deleted.
12130 (follow-auto): Use a :set function.
12131 (follow-mode): Rewritten. Don't advise process filters.
12132 (follow-switch-to-current-buffer-all, follow-scroll-up)
12133 (follow-scroll-down): Assume follow-mode is bound.
12134 (follow-comint-scroll-to-bottom)
12135 (follow-align-compilation-windows): New functions.
12136 (follow--window-sorter): New function.
12137 (follow-all-followers): Use it to explicitly sort windows by their
12138 positions; don't make assumptions about next-window order.
12139 (follow-windows-start-end, follow-delete-other-windows-and-split)
12140 (follow-calc-win-start): Doc fix.
12141 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12142 vertical-motion unnecessarily.
12143 (follow-adjust-window): New function.
12144 (follow-post-command-hook): Use it.
12145 (follow-call-set-process-filter, follow-call-process-filter)
12146 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12147 (follow-stop-intercept-process-output, follow-generic-filter):
12148 Functions deleted.
12149 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12150 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12151 New functions, replacing advice on scroll-bar-* commands.
12152 (follow-mwheel-scroll): New function (Bug#4112).
12153
12154 * comint.el (comint-adjust-point): New function.
12155 (comint-postoutput-scroll-to-bottom): Use it.
12156 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12157
12158 2012-05-01 Glenn Morris <rgm@gnu.org>
12159
12160 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12161 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12162 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12163 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12164 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12165 Remove no-byte-compile setting.
12166
12167 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12168
12169 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12170 all-completions code to not return a number in the last cdr.
12171
12172 2012-04-30 Leo Liu <sdl.web@gmail.com>
12173
12174 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12175 read-only error.
12176
12177 2012-04-29 Chong Yidong <cyd@gnu.org>
12178
12179 * follow.el (follow-calc-win-end): Rewrite to handle partial
12180 screen lines correctly (Bug#8390).
12181 (follow-avoid-tail-recenter): Minor cleanup.
12182
12183 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12184
12185 Avoid the obsolete `assoc' package.
12186 * speedbar.el (speedbar-refresh): Avoid adelete.
12187 (speedbar-file-lists): Simplify and avoid aput.
12188 * man.el (Man--sections, Man--refpages): New vars, replacing
12189 Man-sections-alist and Man-refpages-alist.
12190 (Man-build-section-alist, Man-build-references-alist):
12191 Use them; avoid aput.
12192 (Man--last-section, Man--last-refpage): New vars.
12193 (Man-follow-manual-reference): Use them.
12194 Use the `default' arg of completing-read.
12195 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12196
12197 2012-04-27 Chong Yidong <cyd@gnu.org>
12198
12199 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12200
12201 * startup.el (x-apply-session-resources): New function.
12202
12203 * term/ns-win.el (ns-initialize-window-system):
12204 * term/w32-win.el (w32-initialize-window-system):
12205 * term/x-win.el (x-initialize-window-system): Use it to properly
12206 set menu-bar-mode and other vars from X resources, even if the
12207 initial frame is not a window-system frame (Bug#2299).
12208
12209 * subr.el (read-key): Avoid running filter function when setting
12210 up temporary tool bar entries (Bug#9922).
12211
12212 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12213
12214 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12215 (Bug#11344)
12216
12217 2012-04-27 Chong Yidong <cyd@gnu.org>
12218
12219 * select.el (xselect--encode-string): New function, split from
12220 xselect-convert-to-string.
12221 (xselect-convert-to-string): Use it.
12222 (xselect-convert-to-filename, xselect-convert-to-os)
12223 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12224 returned strings are properly encoded (Bug#11315).
12225
12226 2012-04-27 Chong Yidong <cyd@gnu.org>
12227
12228 * simple.el (delete-active-region): Move to killing custom group.
12229
12230 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12231
12232 * progmodes/which-func.el (which-func-current): Quote %
12233 characters for mode-line processing.
12234
12235 2012-04-27 Chong Yidong <cyd@gnu.org>
12236
12237 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12238 reaching eob (Bug#11286).
12239
12240 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12241
12242 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12243 (gdb): Make it buffer-local and init to zero.
12244 (gdb-control-commands-regexp): New variable.
12245 (gdb-send): Don't wrap in "-interpreter-exec console" if
12246 gdb-control-level is positive. Increment gdb-control-level
12247 whenever the command matches gdb-control-commands-regexp, and
12248 decrement it each time the command is "end". (Bug#11279)
12249
12250 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12251
12252 * window.el (adjust-window-trailing-edge, enlarge-window)
12253 (shrink-window, window-resize):
12254 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12255 windows (Bug#11276).
12256
12257 2012-04-27 Chong Yidong <cyd@gnu.org>
12258
12259 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12260 fix "missing prefix" warning. All callers changed.
12261
12262 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12263
12264 * emacs-lisp/assoc.el: Move to obsolete/.
12265
12266 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12267
12268 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12269
12270 * term/ns-win.el (ns-define-service):
12271 * progmodes/pascal.el (pascal-goto-defun):
12272 * progmodes/js.el (js--read-tab):
12273 * progmodes/etags.el (tags-lazy-completion-table):
12274 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12275 * emacs-lisp/ewoc.el (ewoc--wrap):
12276 * emacs-lisp/assoc.el (aput, adelete, amake):
12277 * doc-view.el (doc-view-convert-current-doc):
12278 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12279
12280 2012-04-26 Chong Yidong <cyd@gnu.org>
12281
12282 * image.el (image-type-from-buffer): Only return supported image
12283 type (Bug#9045).
12284
12285 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12286 value, for symmetry with diff-end-of-hunk.
12287 (diff-split-hunk, diff-find-source-location)
12288 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12289 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12290 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12291 compute the relevant hunk or file properly (Bug#6005).
12292 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12293
12294 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12295
12296 * vc/vc-mtn.el:
12297 * vc/vc-hg.el:
12298 * vc/vc-git.el:
12299 * vc/vc-dir.el:
12300 * vc/vc-cvs.el:
12301 * vc/vc-bzr.el:
12302 * vc/vc-arch.el:
12303 * vc/vc.el: Replace lexical-let by lexical-binding.
12304 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12305 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12306 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12307
12308 2012-04-26 Chong Yidong <cyd@gnu.org>
12309
12310 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12311 (diff-mode-shared-map): Bind it to / and [remap undo].
12312
12313 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12314 (ediff-window-setup-function): Use it as the default, to set up
12315 windows based on whether the current frame is graphical (Bug#2138).
12316 (ediff-choose-window-setup-function-automatically): Make obsolete.
12317
12318 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12319
12320 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12321
12322 * ffap.el: Remove old code for obsolete package.
12323 (ffap-complete-as-file-p): Remove.
12324
12325 Use completion-table-with-quoting for comint and pcomplete.
12326 * comint.el (comint--unquote&requote-argument)
12327 (comint--unquote-argument, comint--requote-argument): New functions.
12328 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12329 (comint-quote-filename): Use regexp-opt-charset.
12330 (comint--common-suffix, comint--common-quoted-suffix)
12331 (comint--table-subvert): Remove.
12332 (comint-unquote-function, comint-requote-function): New vars.
12333 (comint--complete-file-name-data): Use them with
12334 completion-table-with-quoting.
12335 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12336 * pcomplete.el (pcomplete-arg-quote-list)
12337 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12338 (pcomplete-unquote-argument-function): Default to non-nil.
12339 (pcomplete-unquote-argument): Simplify.
12340 (pcomplete--common-quoted-suffix): Remove.
12341 (pcomplete-requote-argument-function): New var.
12342 (pcomplete--common-suffix): New function.
12343 (pcomplete-completions-at-point): Use completion-table-with-quoting
12344 and completion-table-subvert.
12345
12346 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12347 (minibuffer--double-dollars): Preserve properties.
12348 (completion--sifn-requote): New function.
12349 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12350
12351 * minibuffer.el: Add support for completion of quoted/escaped data.
12352 (completion-table-with-quoting, completion-table-subvert): New funs.
12353 (completion--twq-try, completion--twq-all): New functions.
12354 (completion--nth-completion): New function.
12355 (completion-try-completion, completion-all-completions): Use it.
12356
12357 2012-04-25 Leo Liu <sdl.web@gmail.com>
12358
12359 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12360 Use compilation-message if available to find real filename.
12361
12362 2012-04-25 Chong Yidong <cyd@gnu.org>
12363
12364 * vc/diff-mode.el (diff-setup-whitespace): New function.
12365 (diff-mode): Use it.
12366
12367 * vc/diff.el (diff-sentinel):
12368 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12369 Whitespace mode variables based on diff style (Bug#8612).
12370
12371 2012-04-25 Leo Liu <sdl.web@gmail.com>
12372
12373 * progmodes/python.el (python-send-region): Add suffix .py to the
12374 temp file.
12375
12376 * files.el (auto-mode-alist): Use javascript-mode instead.
12377
12378 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12379
12380 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12381
12382 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12383 (soap-resolve-references-for-array-type): Hack to prevent self
12384 references, see Bug#9.
12385 (soap-parse-envelope): Report the contents of the 'detail' node
12386 when receiving a fault reply.
12387 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12388
12389 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12390 (soap-inspect-simple-type): New function.
12391
12392 * net/soap-client.el (soap-simple-type): New struct.
12393 (soap-default-xsd-types, soap-default-soapenc-types)
12394 (soap-decode-basic-type, soap-encode-basic-type):
12395 support unsignedInt and double basic types.
12396 (soap-resolve-references-for-simple-type)
12397 (soap-parse-simple-type, soap-encode-simple-type): New function.
12398 (soap-parse-schema): Parse xsd:simpleType declarations.
12399
12400 * net/soap-client.el (soap-default-xsd-types)
12401 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12402 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12403 the local name of "soapenc:Array".
12404 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12405 decoding integer, byte and anyURI xsd types.
12406
12407 2012-04-25 Chong Yidong <cyd@gnu.org>
12408
12409 * cus-edit.el (custom-buffer-create-internal): Update header text.
12410
12411 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12412
12413 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12414 settings on 'system-type', not on 'window-system'. On MS-Windows,
12415 set interactive-mode on in GDB.
12416
12417 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12418
12419 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12420 (ruby-syntax-propertize-regexp): Remove.
12421 (ruby-syntax-propertize-function): Split regexp into chunks.
12422 Match following code directly.
12423
12424 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12425
12426 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12427 (ruby-syntax-propertize-regexp): New function.
12428 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12429 by a special keyword.
12430
12431 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12432 (ruby-syntax-general-delimiters-goto-beg)
12433 (ruby-syntax-propertize-general-delimiters): New functions.
12434 (ruby-syntax-propertize-function): Use them to handle GDL.
12435 (ruby-font-lock-keywords): Move old handling of GDL...
12436 (ruby-font-lock-syntactic-keywords): .. to here.
12437 (ruby-calculate-indent): Adjust indentation for GDL.
12438
12439 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12440
12441 * notifications.el (top): Remove unneeded declarations.
12442 (notifications-specification-version): Change to "1.2".
12443 (notifications-interface, notifications-notify-method)
12444 (notifications-close-notification-method): Fix docstring.
12445 (notifications-get-capabilities-method): New defconst.
12446 (notifications-notify): Add :action-items, :resident and
12447 :transient hints. Change "image_data" to "image-data" and
12448 "image_path" to "image-path".
12449 (notifications-get-capabilities): New defun.
12450
12451 2012-04-24 Leo Liu <sdl.web@gmail.com>
12452
12453 * progmodes/python.el: Move hideshow setup to the end.
12454
12455 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12456
12457 * window.el (handle-select-window): Clear echo area since this is
12458 no more done by read_char (Bug#11304).
12459
12460 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12461
12462 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12463 and `/ M' to filter-derived-mode.
12464 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12465 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12466 (ibuffer-mark-by-mode): Use default rather than initial-input.
12467 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12468
12469 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12470
12471 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12472 (ibuffer-filter-by-derived-mode): New filter.
12473 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12474
12475 2012-04-23 Andreas Politz <politza@fh-trier.de>
12476
12477 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12478
12479 2012-04-23 Chong Yidong <cyd@gnu.org>
12480
12481 * cus-edit.el (customize-apropos, customize-apropos-options):
12482 Disable matching of non-option variables (Bug#11176).
12483 (customize-option, customize-option-other-window)
12484 (customize-changed-options): Doc fix.
12485 (customize-apropos-options, customize-apropos-faces)
12486 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12487
12488 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12489 Fix word list splitting (Bug#11132).
12490 (apropos-symbol, apropos-keybinding, apropos-label)
12491 (apropos-property, apropos-function-button)
12492 (apropos-variable-button, apropos-misc-button): New faces.
12493 (apropos-symbol-face, apropos-keybinding-face)
12494 (apropos-label-face, apropos-property-face, apropos-match-face):
12495 Variables removed (Bug#8396).
12496 (apropos-library-button, apropos-format-plist, apropos-print)
12497 (apropos-print-doc, apropos-describe-plist): Callers changed.
12498
12499 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12500
12501 * net/xesam.el (xesam-mode-map): Use let-bound map in
12502 initialization. (Bug#11292)
12503
12504 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12505
12506 Preserve ispell session localwords when switching back to
12507 original buffer.
12508
12509 * textmodes/ispell.el (ispell-buffer-session-localwords):
12510 New buffer-local variable to hold buffer session localwords.
12511 (ispell-kill-ispell): Add option 'clear to delete session
12512 localwords.
12513 (ispell-command-loop, ispell-change-dictionary)
12514 (ispell-buffer-local-words): Preserve session localwords when
12515 needed.
12516
12517 * textmodes/flyspell.el (flyspell-process-localwords)
12518 (flyspell-do-correct): Preserve session localwords when needed.
12519
12520 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12521
12522 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12523 using obsolete `translation-table-for-input'.
12524 (ispell-word, ispell-process-line, ispell-complete-word):
12525 Use plain `insert' instead of removed `ispell-insert-word'.
12526
12527 2012-04-22 Chong Yidong <cyd@gnu.org>
12528
12529 * cus-edit.el (custom-variable-menu)
12530 (custom-variable-reset-saved, custom-face-menu)
12531 (custom-face-reset-saved): If there is no saved value, make the
12532 "reset-saved" operation bring back the default (Bug#9509).
12533 (custom-face-state): Properly detect themed faces.
12534
12535 * faces.el (face-spec-set): Stop supporting deprecated form of
12536 third arg.
12537
12538 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12539
12540 Move functions from C to Lisp. Make non-blocking method calls
12541 the default. Implement further D-Bus standard interfaces.
12542
12543 * net/dbus.el (dbus-message-internal): Declare function.
12544 Remove unneeded function declarations.
12545 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12546 (dbus-message-type-method-return, dbus-message-type-error)
12547 (dbus-message-type-signal): Declare variables. Remove local
12548 definitions.
12549 (dbus-interface-dbus, dbus-interface-peer)
12550 (dbus-interface-introspectable, dbus-interface-properties)
12551 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12552 Adapt docstring.
12553 (dbus-interface-objectmanager): New defconst.
12554 (dbus-call-method, dbus-call-method-asynchronously)
12555 (dbus-send-signal, dbus-method-return-internal)
12556 (dbus-method-error-internal, dbus-register-service)
12557 (dbus-register-signal, dbus-register-method): New defuns, moved
12558 from dbusbind.c
12559 (dbus-call-method-handler, dbus-setenv)
12560 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12561 New defuns.
12562 (dbus-call-method-non-blocking): Make it an obsolete function.
12563 (dbus-unregister-object, dbus-unregister-service)
12564 (dbus-handle-event, dbus-register-property)
12565 (dbus-property-handler): Obey the new structure of
12566 `bus-registered-objects'.
12567 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12568 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12569 Use `dbus-call-method'.
12570
12571 2012-04-22 Chong Yidong <cyd@gnu.org>
12572
12573 * cus-edit.el (custom-commands, custom-reset-menu)
12574 (Custom-reset-standard): Tweak labels.
12575 (custom-reset-button-menu): Change default to t.
12576 (custom-buffer-create-internal): For the custom-reset-button-menu
12577 case, put the revert button first.
12578 (custom-group-subtitle): New face.
12579 (custom-group-value-create): Align docstring to a specific column.
12580
12581 * wid-edit.el (widget-documentation-link-add): Don't handle
12582 indentation in this function.
12583 (widget-documentation-string-indent-to): New function.
12584 (widget-documentation-string-value-create): Use it.
12585
12586 * autorevert.el (auto-revert):
12587 * epg-config.el (epg):
12588 * ibuffer.el (ibuffer):
12589 * mpc.el (mpc):
12590 * ses.el (ses):
12591 * eshell/eshell.el (eshell):
12592 * net/ange-ftp.el (ange-ftp):
12593 * progmodes/ebnf2ps.el (postscript):
12594 * progmodes/flymake.el (flymake):
12595 * progmodes/prolog.el (prolog):
12596 * progmodes/verilog-mode.el (verilog-mode):
12597 * progmodes/which-func.el (which-func):
12598 * term/xterm.el (xterm):
12599 * textmodes/picture.el (picture):
12600 * textmodes/tildify.el (tildify):
12601 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12602 customization buffers.
12603
12604 2012-04-22 Alan Mackenzie <acm@muc.de>
12605
12606 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12607 Adding a ) can hide the resulting (..) from searches. Fix it.
12608 Bound the backward search to the position of the existing (.
12609
12610 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12611
12612 * progmodes/verilog-mode.el (verilog-mode): Check whether
12613 which-func-modes is t before adding verilog-mode.
12614 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12615
12616 2012-04-21 Leo Liu <sdl.web@gmail.com>
12617
12618 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12619
12620 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12621
12622 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12623 filling of the last column of a table (Bug#5635).
12624 (woman-find-next-control-line): New arg, specifying an additional
12625 regexp component for the control line.
12626 (woman2-roff-buffer): Use it.
12627 (woman-break-table): New function.
12628 (woman2-TS): Use it.
12629
12630 2012-04-21 Chong Yidong <cyd@gnu.org>
12631
12632 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12633 (woman-horizontal-escapes, woman-negative-vertical-space)
12634 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12635 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12636
12637 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12638
12639 * minibuffer.el (completion-file-name-table): Complete user names.
12640
12641 2012-04-20 Leo Liu <sdl.web@gmail.com>
12642
12643 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12644 and pcase-let*.
12645
12646 2012-04-20 Chong Yidong <cyd@gnu.org>
12647
12648 * server.el (server-execute): Respect initial-buffer-choice if it
12649 is a string and there are no files to open (Bug#2825).
12650 (server-create-window-system-frame, server-create-tty-frame):
12651 Don't switch buffers here.
12652 (server-process-filter): Only try to open a window system frame if
12653 compiled with graphical support (Bug#8314).
12654
12655 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12656
12657 * battery.el (battery-echo-area-format): Display remaining time
12658 for sysfs backend too (Bug#11269).
12659 (battery-linux-sysfs): Fix conditional for the charge.
12660
12661 2012-04-20 Chong Yidong <cyd@gnu.org>
12662
12663 * progmodes/gdb-mi.el (gdb): Revert previous change.
12664 (gdb-inferior-io--init-proc): New function.
12665 (gdb-init-1): Use it.
12666 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12667 responsible for allocating a new pty and hooking it to gdb when
12668 the old pty gets an EIO due to process exit.
12669 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12670 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12671 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12672
12673 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12674
12675 * window.el (window-min-size, window-sizable, window-min-delta)
12676 (window-max-delta, window--resizable, window-resizable)
12677 (window-total-size, window-full-height-p, window-full-width-p)
12678 (window-in-direction, window--resize-mini-window, window-resize)
12679 (window--resize-child-windows-normal)
12680 (window--resize-child-windows, window--resize-siblings)
12681 (window--resize-this-window, adjust-window-trailing-edge)
12682 (enlarge-window, shrink-window): Doc fixes.
12683
12684 2012-04-20 Chong Yidong <cyd@gnu.org>
12685
12686 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12687 New function to call delete-process on the gdb-inferior buffer's pty.
12688 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12689 pty process (Bug#11273).
12690 (gdb-update): New arg to suppress talking to the gdb process.
12691 (gdb-done-or-error): Use it.
12692 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12693 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12694 sentinel not being called.
12695
12696 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12697
12698 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12699
12700 2012-04-20 Glenn Morris <rgm@gnu.org>
12701
12702 * net/network-stream.el (open-network-stream): Doc fix.
12703
12704 2012-04-20 Chong Yidong <cyd@gnu.org>
12705
12706 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12707
12708 2012-04-20 Alan Mackenzie <acm@muc.de>
12709
12710 Ensure searching for keywords is case sensitive.
12711
12712 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12713 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12714 (c-defun-name, c-mark-function, c-cpp-define-name)
12715 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12716 (c-context-line-break): Bind case-fold-search to nil.
12717
12718 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12719 Bind case-fold-search to nil.
12720
12721 2012-04-20 Chong Yidong <cyd@gnu.org>
12722
12723 * mail/sendmail.el (mail-bury): Call return action with the right
12724 Rmail buffer (Bug#11242).
12725
12726 * server.el (server-process-filter): Handle corner case where both
12727 tty and nowait options are present (Bug#11102).
12728
12729 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12730
12731 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12732 (top level): Put into the executable the ident-style '$Id:' tag on
12733 windows-nt as well.
12734
12735 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12736
12737 * electric.el (electric-indent-post-self-insert-function): Check that
12738 electric-indent-mode is enabled in current buffer.
12739
12740 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12741
12742 * imenu.el (imenu-progress-message): Restore; it is "used" in
12743 erc/erc-imenu.el and net/snmp-mode.el.
12744
12745 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12746
12747 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12748 (mouse-avoidance-nudge-mouse): Remove unused binding.
12749
12750 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12751
12752 * descr-text.el (describe-char):
12753 * progmodes/python.el (python-describe-symbol):
12754 Don't call `toggle-read-only', set `buffer-read-only'.
12755
12756 * imenu.el (imenu-default-goto-function): Mark unused args.
12757 (imenu-progress-message): Remove obsolete macro; all callers changed.
12758
12759 * subr.el (keymap-canonicalize): Remove unused binding.
12760 (read-passwd): Mark unused arg.
12761
12762 * tutorial.el (tutorial--display-changes): Remove unused binding.
12763 (tutorial--save-tutorial-to): Remove unused variable.
12764
12765 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12766 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12767 (package-generate-autoloads, package-menu--generate)
12768 (package-menu--find-upgrades): Remove unused bindings.
12769
12770 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12771 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12772 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12773 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12774 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12775 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12776 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12777 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12778 (cua-delete-char-rectangle): Mark unused args.
12779 (cua-align-rectangle): Remove unused binding.
12780
12781 * mail/rmail.el (compilation--message->loc)
12782 (epa--find-coding-system-for-mime-charset): Declare.
12783
12784 * net/dbus.el (dbus-register-service): Declare.
12785 (dbus-name-owner-changed-handler): Remove unused binding.
12786
12787 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12788 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12789 (nxml-scan-backward-within): Mark unused arg.
12790 (nxml-dynamic-markup-word): Remove unused binding.
12791
12792 * mouse.el (mouse-menu-major-mode-map):
12793 * emacs-lisp/authors.el (authors-scan-change-log)
12794 (authors-add-to-author-list):
12795 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12796 * emacs-lisp/smie.el (smie-auto-fill):
12797 * mail/sendmail.el (mail-bury):
12798 * mail/unrmail.el (unrmail):
12799 * net/tls.el (open-tls-stream):
12800 * textmodes/picture.el (picture-mouse-set-point):
12801 Remove unused bindings.
12802
12803 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12804
12805 * net/tramp.el (tramp-action-password): Let-bind
12806 `enable-recursive-minibuffers' to t.
12807
12808 2012-04-18 Sam Steingold <sds@gnu.org>
12809
12810 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12811 instead of 'string to accommodate values like [f11].
12812 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12813 * progmodes/gdb-mi.el: Likewise.
12814
12815 2012-04-18 Leo Liu <sdl.web@gmail.com>
12816
12817 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12818 current buffer.
12819 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12820 LOCAL is nil.
12821
12822 2012-04-18 Chong Yidong <cyd@gnu.org>
12823
12824 * simple.el (line-move): Use forward-line if in batch mode
12825 (Bug#11053).
12826
12827 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12828
12829 * files.el (after-find-file): Do not try to add a final newline if
12830 the buffer is read-only (Bug#11156).
12831
12832 2012-04-17 Richard Stallman <rms@gnu.org>
12833
12834 * mail/rmail.el (rmail-start-mail):
12835 Pass (rmail-mail-return...) for the return-action.
12836 Pass (rmail-yank-current-message...) for the yank-action.
12837 (rmail-yank-current-message): New function.
12838 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12839 (rmail-reply): Likewise.
12840 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12841
12842 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12843 buffer, not the last. Reject temp buffers. Use the rmail-mode
12844 buffer, not newbuf.
12845
12846 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12847
12848 * server.el (server-ensure-safe-dir): Simplify.
12849
12850 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12851
12852 * emacs-lisp/smie.el: Provide smarter auto-filling.
12853 (smie-auto-fill): New function.
12854 (smie-setup): Use it.
12855
12856 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12857
12858 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12859
12860 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12861 (comment-indent): Use it.
12862
12863 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12864
12865 * ses.el: The overall change is to add cell renaming, that is
12866 setting fancy names for cell symbols other than name matching
12867 "\\`[A-Z]+[0-9]+\\'" regexp .
12868 (ses-localvars): Add ses--renamed-cell-symb-list.
12869 (ses-create-cell-variable): New defun.
12870 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12871 (ses-relocate-formula): Relocate formulas only for cells the
12872 symbols of which are not renamed, i.e. symbols whose names do not
12873 match regexp "\\`[A-Z]+[0-9]+\\'".
12874 (ses-relocate-all): Relocate values only for cells the symbols of
12875 which are not renamed.
12876 (ses-load): Create cells variables as the (ses-cell ...) are read,
12877 in order to check row col consistency with cell symbol name only
12878 for cells that are not renamed.
12879 (ses-replace-name-in-formula): New defun.
12880 (ses-rename-cell): New defun.
12881
12882 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12883
12884 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12885 New option (bug#11118).
12886 (perl-calculate-indent): Respect it.
12887
12888 2012-04-17 Glenn Morris <rgm@gnu.org>
12889
12890 * dired-aux.el (dired-mark-read-string): Doc fix.
12891
12892 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12893
12894 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12895 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12896
12897 2012-04-17 Glenn Morris <rgm@gnu.org>
12898
12899 * mouse.el (mouse-drag-track):
12900 * speedbar.el (speedbar-frame-mode):
12901 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12902
12903 2012-04-16 Leo Liu <sdl.web@gmail.com>
12904
12905 * progmodes/python.el: Trivial cleanup.
12906
12907 2012-04-16 Glenn Morris <rgm@gnu.org>
12908
12909 * vc/vc.el (vc-string-prefix-p):
12910 * vc/pcvs-util.el (cvs-string-prefix-p):
12911 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12912 * mpc.el (mpc-string-prefix-p):
12913 Make all of these into obsolete aliases for string-prefix-p.
12914 Update callers.
12915 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12916
12917 * textmodes/two-column.el: Move custom options to the start.
12918 (frame-width): Remove compat definition.
12919 (2C-associate-buffer, 2C-dissociate):
12920 Use with-current-buffer rather than save-excursion.
12921 (2C-dissociate): Force a mode-line update.
12922 (2C-autoscroll): Use ignore-errors.
12923
12924 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12925 Autoload trivia.
12926
12927 * emacs-lisp/cl-extra.el (*random-state*):
12928 Remove unnecessary declaration.
12929
12930 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12931
12932 * play/cookie1.el (cookie-snarf):
12933 Give an explicit error if input file cannot be read.
12934
12935 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12936
12937 * progmodes/perl-mode.el (c-macro-expand):
12938 Remove unnecessary autoload (it is in loaddefs.el).
12939
12940 * textmodes/picture.el (picture-desired-column)
12941 (picture-update-desired-column): Convert comments to doc-strings.
12942 (picture-substitute): Remove function.
12943 (picture-mode-map): Initialize in the defvar.
12944
12945 * woman.el: Remove eval-after-load for tar-mode.
12946 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12947 (woman-tar-extract-file): Autoload it.
12948
12949 * frame.el (automatic-hscrolling): Make this alias obsolete.
12950
12951 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12952
12953 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12954 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12955 (ispell-dictionary-base-alist): Revert to original XEmacs
12956 friendly version for default. [:alpha:] will be added in
12957 `ispell-set-spellchecker-params' if needed.
12958
12959 2012-04-16 Chong Yidong <cyd@gnu.org>
12960
12961 * image.el (imagemagick--file-regexp): New variable.
12962 (imagemagick-register-types): Use it.
12963 (imagemagick-types-inhibit): Add :set function. Allow new value
12964 of t to inhibit all types.
12965
12966 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12967 so we can preload it.
12968
12969 * loadup.el (fboundp): Preload regexp-opt, needed by
12970 imagemagick-register-types.
12971
12972 2012-04-15 Chong Yidong <cyd@gnu.org>
12973
12974 * frame.el (scrolling): Remove nearly unused customization group.
12975
12976 * scroll-all.el (scroll-all-mode): Move to windows group.
12977
12978 2012-04-15 Chong Yidong <cyd@gnu.org>
12979
12980 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12981
12982 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12983
12984 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12985 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12986
12987 2012-04-15 Glenn Morris <rgm@gnu.org>
12988
12989 * simple.el (process-file-side-effects): Doc fix.
12990
12991 2012-04-15 Glenn Morris <rgm@gnu.org>
12992
12993 * international/mule-cmds.el (set-language-environment): Doc fix.
12994
12995 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12996
12997 * server.el (server-auth-key, server-generate-key): Doc fixes.
12998 (server-get-auth-key): Doc fix. Use `string-match-p'.
12999 (server-start): Reflow docstring.
13000
13001 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13002
13003 * server.el (server-generate-key): `called-interactively-p'
13004 requires a parameter.
13005
13006 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13007
13008 * server.el (server-auth-key): New variable.
13009 (server-generate-key, server-get-auth-key): New function.
13010 (server-start): Use the new variable and functions to allow
13011 setting a permanent server key (bug#9423).
13012
13013 2012-04-14 Leo Liu <sdl.web@gmail.com>
13014
13015 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13016
13017 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13018
13019 Spelling fixes.
13020 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13021 Emacs uses American spelling.
13022
13023 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13024
13025 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13026 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13027 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13028 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13029
13030 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13031
13032 * progmodes/which-func.el (which-func-modes): Change default.
13033
13034 2012-04-14 Kim F. Storm <storm@cua.dk>
13035
13036 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13037 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13038
13039 2012-04-14 Chong Yidong <cyd@gnu.org>
13040
13041 * custom.el (custom-theme-set-variables): Doc fix.
13042
13043 2012-04-14 Glenn Morris <rgm@gnu.org>
13044
13045 * international/mule.el (set-auto-coding-for-load): Doc fix.
13046
13047 2012-04-14 Alan Mackenzie <acm@muc.de>
13048
13049 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13050 imenu work again for Objective C Mode. Correct the *-index values,
13051 these having been disturbed by a previous change in 2011-08.
13052
13053 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13054 Correct two search limits.
13055
13056 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13059
13060 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13061
13062 * international/characters.el: Fix sorting.
13063
13064 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13065
13066 * international/characters.el: Add more missing Latin case pairs.
13067
13068 2012-04-14 Glenn Morris <rgm@gnu.org>
13069
13070 * files.el (dir-locals-set-class-variables): Doc fix.
13071
13072 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13073
13074 * international/characters.el: Add set-case-syntax-pair call for
13075 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13076 counterpart. (Bug#11209)
13077
13078 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13079
13080 2012-04-14 Glenn Morris <rgm@gnu.org>
13081
13082 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13083
13084 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13085
13086 * textmodes/ispell.el (ispell-dictionary-base-alist):
13087 Add data for Hebrew.
13088
13089 2012-04-14 Chong Yidong <cyd@gnu.org>
13090
13091 * net/rcirc.el (rcirc-cmd-quit):
13092 Revert 2012-03-18 change (Bug#11192).
13093
13094 2012-04-14 Glenn Morris <rgm@gnu.org>
13095
13096 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13097
13098 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13099
13100 * minibuffer.el (completion-in-region-mode-map):
13101 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13102
13103 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13104
13105 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13106
13107 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13108
13109 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13110 to allow `C-M-f' and `C-M-b' to move to the nearest path
13111 separator (bug#9511).
13112
13113 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13114
13115 * avoid.el: Require cl when compiling. And also move the
13116 `provide' to the end.
13117
13118 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13119
13120 * avoid.el (mouse-avoidance-banish-position): New variable.
13121 (mouse-avoidance-banish-destination): Use it (bug#10165).
13122
13123 2012-04-13 Leo Liu <sdl.web@gmail.com>
13124
13125 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13126
13127 2012-04-13 Ken Brown <kbrown@cornell.edu>
13128
13129 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13130 this is no longer needed now that cygstart understands file:// URLs.
13131 (browse-url-filename-alist): For the same reason, don't modify
13132 file:// URLs on Cygwin.
13133
13134 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13135
13136 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13137 the region on shift if the binding is already shifted (bug#11221).
13138
13139 2012-04-12 Glenn Morris <rgm@gnu.org>
13140
13141 * mail/mailpost.el: Move to obsolete/.
13142
13143 2012-04-12 Drew Adams <drew.adams@oracle.com>
13144
13145 * imenu.el (imenu--generic-function): Ignore invisible definitions
13146 (bug#10123).
13147
13148 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13149
13150 * hexl.el (hexl-bits): New variable.
13151 (hexl-options): Mention the variable in the doc string.
13152 (hexl-rulerise, hexl-line-displen): New functions.
13153 (hexl-mode): Mention the new variable.
13154 (hexl-mode, hexl-current-address, hexl-current-address):
13155 Use the displen.
13156 (hexl-ascii-start-column): New function.
13157 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13158 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13159
13160 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13161
13162 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13163 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13164 the encoding, as expected by hunspell.
13165
13166 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13167
13168 * battery.el (battery--linux-sysfs-regexp): New const.
13169 (battery-status-function): Use it. Remove yeeloong special case.
13170 (battery-yeeloong-sysfs): Remove.
13171 (battery-echo-area-format): Remove yeeloong special case.
13172
13173 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13174
13175 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13176 Reported by Noah Friedman.
13177
13178 * subr.el (read-passwd): Use read-string.
13179
13180 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13181
13182 * vcursor.el (vcursor-move): Increase the priority of the overlay
13183 (bug#9663).
13184
13185 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13186
13187 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13188 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13189
13190 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13191
13192 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13193 define-minor-mode (bug#10760).
13194
13195 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13196
13197 * progmodes/grep.el (rgrep): Tweak the find command line so
13198 that directories matching `grep-find-ignored-files' won't be
13199 pruned (bug#10351).
13200
13201 2012-04-11 Chong Yidong <cyd@gnu.org>
13202
13203 * startup.el (command-line): Remove support for long-obsolete
13204 variable font-lock-face-attributes.
13205
13206 2012-04-11 Glenn Morris <rgm@gnu.org>
13207
13208 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13209
13210 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13211
13212 * window.el (window--state-get-1): Obey window-point-insertion-type.
13213
13214 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13215
13216 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13217 to previous function when point is on the first character of a
13218 function. Take care of that in `narrow-to-defun' (bug#6157).
13219
13220 2012-04-11 Glenn Morris <rgm@gnu.org>
13221
13222 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13223 not just file-errors.
13224
13225 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13226 (vc-bzr-sha1): Use internal sha1.
13227
13228 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13229
13230 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13231
13232 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13233
13234 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13235 that start in the middle of the line (bug#10496).
13236
13237 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13238
13239 * battery.el (battery-linux-proc-acpi): Only one battery is
13240 discharged at a time, but that seems to confuse battery.el when
13241 computing `rate-type' for the battery not being discharged
13242 (bug#10332).
13243
13244 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13245
13246 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13247
13248 * international/quail.el: Use dolist and simplify.
13249 (quail-define-package, quail-update-keyboard-layout)
13250 (quail-define-rules): Use dolist.
13251 (quail-insert-kbd-layout, quail-get-translation): CSE.
13252
13253 * tmm.el: Use dolist, remove left over hook.
13254 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13255 Use dolist.
13256 (calendar-load-hook): Don't mess with it.
13257
13258 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13259 Use derived-mode-p. Run the diff asynchronously.
13260
13261 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13262
13263 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13264
13265 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13266
13267 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13268 (list-dynamic-libraries--loaded): New function.
13269 (list-dynamic-libraries--refresh): Use it.
13270
13271 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13272
13273 * progmodes/python.el (python-fill-paragraph):
13274 Make python-fill-region in a multiline string work when font-lock is
13275 disabled (bug#7018).
13276
13277 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13278
13279 * language/european.el (cp775): Add oem/legacy (en)coding on
13280 DOS/MS Windows for the Baltic languages. There are still plenty
13281 of texts written in this encoding/codepage (bug#6519).
13282
13283 2012-04-10 Glenn Morris <rgm@gnu.org>
13284
13285 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13286 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13287
13288 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13289
13290 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13291 next-line "n" and previous-line "p" in order to make recentf more
13292 consistent with ibuffer, dired or org-mode (bug#9387).
13293
13294 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13295
13296 * image.el (put-image): Return the overlay created instead of the
13297 optional input string (bug#7834). Note that this may break code
13298 that is (for some reason or other) depending on `put-image'
13299 returning the string.
13300
13301 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13302
13303 * simple.el (zap-to-char): Allow zapping using input methods
13304 (bug#1580).
13305
13306 * textmodes/fill.el (fill-region): Leave point and mark where they
13307 were before filling (bug#5399).
13308
13309 2012-04-09 Glenn Morris <rgm@gnu.org>
13310
13311 * version.el (emacs-bzr-get-version):
13312 Handle lightweight checkouts of local branches.
13313
13314 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13315
13316 * international/characters.el: Recover lost case pairs. (Bug#11209)
13317
13318 2012-04-09 Chong Yidong <cyd@gnu.org>
13319
13320 * custom.el (custom-variable-p): Return nil for non-symbol
13321 arguments instead of signaling an error.
13322 (user-variable-p): Obsolete alias for custom-variable-p.
13323
13324 * apropos.el (apropos-variable):
13325 * files-x.el (read-file-local-variable):
13326 * simple.el (set-variable):
13327 * woman.el (woman-mini-help):
13328 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13329
13330 2012-04-09 Glenn Morris <rgm@gnu.org>
13331
13332 * startup.el (normal-top-level): Don't look for leim-list.el
13333 in places where it will not be found. (Bug#910)
13334
13335 * international/mule-cmds.el (set-default-coding-systems):
13336 * files.el (normal-mode):
13337 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13338 This function was removed with ucs-tables.el in 2008.
13339
13340 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13341
13342 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13343 ispell-encoding8-command to "-i", without a trailing space.
13344 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13345 separate command-line arguments, to specify the encoding, since
13346 that's how hunspell expects it.
13347
13348 2012-04-08 Glenn Morris <rgm@gnu.org>
13349
13350 * loadup.el: Load bindings before cus-start.
13351 This reduces somewhat the number of "rogue" settings in emacs -Q.
13352
13353 2012-04-07 Glenn Morris <rgm@gnu.org>
13354
13355 * version.el (emacs-bzr-get-version): New function.
13356 (emacs-bzr-version): New variable.
13357 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13358 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13359
13360 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13361
13362 * international/uni-bidi.el, international/uni-category.el:
13363 * international/uni-combining.el, international/uni-decimal.el:
13364 * international/uni-decomposition.el, international/uni-digit.el:
13365 * international/uni-lowercase.el, international/uni-mirrored.el:
13366 * international/uni-name.el, international/uni-numeric.el:
13367 * international/uni-titlecase.el, international/uni-uppercase.el:
13368 Update for Unicode 6.1.
13369
13370 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13371
13372 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13373
13374 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13375
13376 * window.el (shrink-window): Mention the `window-min-height'
13377 variable in the doc string.
13378
13379 2012-04-05 Bastien Guerry <bzg@altern.org>
13380
13381 * color.el (color-lighten-name): Fix typo.
13382
13383 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13384
13385 * server.el (server--on-display-p): New function.
13386 (server--on-display-p): Use it.
13387
13388 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13389
13390 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13391 (bug#11145).
13392
13393 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13394
13395 * comint.el (comint--common-quoted-suffix): Check string boundary
13396 before comparing (bug#11158).
13397 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13398
13399 2012-04-04 Chong Yidong <cyd@gnu.org>
13400
13401 * minibuffer.el (completion-extra-properties): Doc fix.
13402
13403 * subr.el (delayed-warnings-hook): Doc fix.
13404
13405 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13406
13407 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13408 selection (Bug#11159).
13409 (epa-insert-keys): Inform that the default public key will be
13410 exported if no key is selected.
13411
13412 2012-04-04 Richard Stallman <rms@gnu.org>
13413
13414 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13415
13416 2012-04-03 Chong Yidong <cyd@gnu.org>
13417
13418 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13419 mail-insert-file, not its obsolete alias mail-attach-file.
13420
13421 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13422
13423 * notifications.el (notifications-notify): Fix docstring.
13424
13425 2012-04-02 Glenn Morris <rgm@gnu.org>
13426
13427 * emacs-lisp/authors.el (authors-aliases): Another addition.
13428
13429 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13430
13431 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13432 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13433 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13434
13435 2012-04-01 Chong Yidong <cyd@gnu.org>
13436
13437 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13438 Handle root directory properly.
13439 (copy-directory): Caller changed.
13440
13441 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13442 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13443
13444 2012-03-31 Glenn Morris <rgm@gnu.org>
13445
13446 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13447
13448 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13449
13450 * calendar/calendar.el (calendar-window-list)
13451 (calendar-hide-window): Restore. (Bug#11140)
13452 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13453
13454 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13455
13456 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13457
13458 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13459 Check if file is a symlink (Bug#10489).
13460
13461 * files.el (copy-directory): Likewise.
13462
13463 2012-03-30 Chong Yidong <cyd@gnu.org>
13464
13465 * image.el (imagemagick-types-inhibit)
13466 (imagemagick-register-types): Doc fix.
13467
13468 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13469
13470 * textmodes/ispell.el (ispell-get-extended-character-mode):
13471 Disable extended-char-mode for hunspell. hunspell does not support it
13472 and treats ~word as ordinary words in pipe mode.
13473
13474 2012-03-30 Glenn Morris <rgm@gnu.org>
13475
13476 * tutorial.el (help-with-tutorial): Ensure local variables don't
13477 happen to make the buffer read-only. (Bug#11127)
13478
13479 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13480
13481 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13482 (perl-calculate-indent): Return `noindent' in strings.
13483
13484 2012-03-28 Sam Steingold <sds@gnu.org>
13485
13486 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13487 instead of the broken adhockery which does not prevent calendar
13488 buffers from being displayed at random after exit.
13489 (calendar-window-list, calendar-hide-window): Remove the broken
13490 adhockery.
13491
13492 2012-03-28 Glenn Morris <rgm@gnu.org>
13493
13494 * replace.el (query-replace-map): Doc fix.
13495
13496 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13497
13498 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13499 contents. (Bug#11109)
13500
13501 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13502
13503 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13504 (bug#11077).
13505 (avl-tree--check, avl-tree--check-node): New funs.
13506
13507 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13508
13509 * window.el (switch-to-visible-buffer): New option.
13510 (switch-to-prev-buffer, switch-to-next-buffer):
13511 Observe switch-to-visible-buffer. Make sure that checking for a window
13512 showing a buffer already is done on the same frame.
13513
13514 2012-03-27 Glenn Morris <rgm@gnu.org>
13515
13516 * startup.el (mail-host-address): Doc fix.
13517
13518 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13519
13520 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13521 than 197 variables.
13522
13523 2012-03-26 Ami Fischman <ami@fischman.org>
13524
13525 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13526
13527 2012-03-26 Glenn Morris <rgm@gnu.org>
13528
13529 * files.el (save-buffers-kill-emacs): Doc fix.
13530
13531 * startup.el (normal-top-level, command-line, command-line-1):
13532 Give them doc strings.
13533
13534 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13535
13536 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13537 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13538
13539 2012-03-25 Chong Yidong <cyd@gnu.org>
13540
13541 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13542 theme if it was previously enabled before (Bug#11031).
13543
13544 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13545 spec with custom-face-get-current-spec if its :shown-value is not
13546 determined yet (Bug#9337).
13547 (customize-create-theme, custom-theme-revert): Doc fixes.
13548
13549 * button.el (button-at): Minor addition to docstring.
13550
13551 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13552
13553 * vc/vc.el (vc-merge): Fix a prompt.
13554
13555 2012-03-24 Chong Yidong <cyd@gnu.org>
13556
13557 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13558 point (Bug#9623).
13559
13560 * button.el (button-at): Minor addition to docstring.
13561
13562 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13563
13564 * newcomment.el (comment-choose-indent): No space after BOL.
13565
13566 2012-03-22 Sam Steingold <sds@gnu.org>
13567
13568 * window.el (switch-to-prev-buffer): Revert last patch because the
13569 bug turned out to be an advertised feature (Elisp manual 28.14).
13570
13571 2012-03-22 Glenn Morris <rgm@gnu.org>
13572
13573 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13574 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13575
13576 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13577
13578 * net/network-stream.el (network-stream-open-starttls): Make error
13579 message under Windows be less misleading.
13580
13581 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13582
13583 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13584 understands (bug#9942).
13585
13586 2012-03-22 Chong Yidong <cyd@gnu.org>
13587
13588 * simple.el (end-of-visible-line): Handle return value of
13589 next-single-property-change properly (Bug#9371).
13590
13591 2012-03-22 Kenichi Handa <handa@m17n.org>
13592
13593 * international/quail.el (quail-insert-kbd-layout): Fix previous
13594 change. To avoid unwanted bidi reordering, use
13595 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13596
13597 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13598
13599 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13600 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13601 (ruby-beginning-of-indent): Be more careful with the difference
13602 between word-boundary and symbol boundary.
13603 (ruby-mode-syntax-table): Make : a symbol constituent.
13604
13605 2012-03-21 Andreas Politz <politza@fh-trier.de>
13606
13607 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13608
13609 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13610
13611 * progmodes/etags.el (tags-completion-at-point-function):
13612 Improve last fix.
13613
13614 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13615
13616 2012-03-21 Sam Steingold <sds@gnu.org>
13617
13618 * progmodes/etags.el (tags-completion-at-point-function):
13619 Avoid the error when point is inside the pattern.
13620
13621 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13622
13623 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13624 line (Bug#10855).
13625
13626 2012-03-21 Drew Adams <drew.adams@oracle.com>
13627
13628 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13629
13630 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13631
13632 * ido.el (ido-set-current-directory, ido-read-internal)
13633 (ido-choose-completion-string, ido-completion-help): Handle nil
13634 value of ido-completion-buffer (Bug#11008).
13635
13636 2012-03-21 Sam Steingold <sds@gnu.org>
13637
13638 * window.el (switch-to-prev-buffer): Do not switch to a visible
13639 window previous buffer, just like with the frame previous buffers.
13640
13641 2012-03-21 Chong Yidong <cyd@gnu.org>
13642
13643 * faces.el (make-face, make-empty-face, copy-face):
13644 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13645 Doc fixes.
13646
13647 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13648
13649 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13650 (widget-complete): Remove broken use of it.
13651
13652 2012-03-20 Chong Yidong <cyd@gnu.org>
13653
13654 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13655 Use string-width and truncate-string-width to handle arbitrary
13656 characters.
13657
13658 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13659
13660 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13661 to draw rectangles, not squares. (Regression introduced by revno
13662 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13663
13664 2012-03-18 Chong Yidong <cyd@gnu.org>
13665
13666 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13667 it is not yet defined (for temacs).
13668
13669 2012-03-18 Leo Liu <sdl.web@gmail.com>
13670
13671 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13672 prefix.
13673
13674 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13675
13676 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13677 (ispell-choices-win-default-height, ispell-silently-savep)
13678 (ispell-dictionary-alist, ispell-encoding8-command)
13679 (ispell-check-version, ispell-aspell-find-dictionary)
13680 (ispell-valid-dictionary-list, ispell-words-keyword)
13681 (ispell-get-word, ispell-internal-change-dictionary)
13682 (ispell-region, ispell-skip-region-list)
13683 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13684 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13685 (ispell-message-text-end, ispell-message)
13686 (ispell-buffer-local-parsing): Doc fix.
13687
13688 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13689
13690 * htmlfontify.el: Add support for code block fontification for ODT
13691 export (Bug #9914).
13692 (hfy-optimisations): Define new option
13693 `body-text-only'
13694 (hfy-fontify-buffer): Honor above setting.
13695 (hfy-begin-span, hfy-end-span): New routines factored out form
13696 `hfy-fontify-buffer'.
13697 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13698 that permit insertion of custom tags.
13699 (hfy-fontify-buffer): Use above handlers.
13700 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13701 (hfy-face-to-css): Re-defined to be a variable.
13702 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13703 over multiple runs. This is made possible by having the caller let
13704 bind a special variable `hfy-user-sheet-assoc'.
13705 (htmlfontify-string): New defun.
13706 (hfy-compile-face-map): Make sure that the last char in the
13707 buffer is correctly fontified.
13708 (hfy-face-resolve-face): Whitespace only change.
13709
13710 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13711
13712 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13713 message more clear.
13714
13715 2012-03-16 Leo Liu <sdl.web@gmail.com>
13716
13717 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13718
13719 2012-03-16 Alan Mackenzie <acm@muc.de>
13720
13721 Further optimize the handling of large macros.
13722
13723 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13724 limit to a call of `c-literal-limits'.
13725 (c-determine-+ve-limit): New function.
13726 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13727 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13728 In CASE 5B, restrict a search limit to 500.
13729 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13730
13731 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13732 Restrict macro bounds to +-500 from after-change's BEG END.
13733
13734 2012-03-16 Leo Liu <sdl.web@gmail.com>
13735
13736 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13737
13738 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13739
13740 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13741 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13742
13743 2012-03-16 Glenn Morris <rgm@gnu.org>
13744
13745 * view.el (view-buffer, view-buffer-other-window)
13746 (view-buffer-other-frame): Doc fixes re special mode-class.
13747
13748 * subr.el (eval-after-load): If named feature is provided not from
13749 a file, run after-load forms. (Bug#10946)
13750
13751 * calendar/calendar.el (calendar-insert-at-column):
13752 Handle non-unit-width characters a bit better. (Bug#10978)
13753
13754 2012-03-15 Chong Yidong <cyd@gnu.org>
13755
13756 * emacs-lisp/ring.el (ring-extend): New function.
13757 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13758
13759 * comint.el (comint-read-input-ring)
13760 (comint-add-to-input-history): Grow comint-input-ring lazily.
13761
13762 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13763
13764 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13765 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13766
13767 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13768 (imenu-add-to-menubar): Don't add a redundant index.
13769 (imenu-update-menubar): Handle a dynamically composed keymap.
13770
13771 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13772
13773 * mail/sendmail.el (mail-encode-header):
13774 Bind rfc2047-encode-encoded-words to nil.
13775
13776 2012-03-13 Glenn Morris <rgm@gnu.org>
13777
13778 * calendar/calendar.el (calendar-string-spread):
13779 Handle non-unit-width characters a bit better. (Bug#10978)
13780
13781 2012-03-13 Leo Liu <sdl.web@gmail.com>
13782
13783 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13784 directory and file as argument (Bug#10822).
13785
13786 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13787
13788 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13789 For dynamically generated code, follow $PC.
13790 (gdb-disassembly-handler-custom): Handle no function name case.
13791
13792 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13793
13794 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13795 * emulation/ws-mode.el (ws-query-replace):
13796 * sort.el (sort-regexp-fields):
13797 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13798
13799 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13800
13801 * dabbrev.el: Fix cycle completion order (bug#10963).
13802 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13803 (dabbrev-completion): Don't use an obarray; provide
13804 a cycle-sort-function.
13805
13806 2012-03-12 Leo Liu <sdl.web@gmail.com>
13807
13808 * simple.el (kill-new): Use equal-including-properties for comparison.
13809 (kill-do-not-save-duplicates): Doc fix.
13810
13811 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13812
13813 * dabbrev.el: Fix cycle completion (bug#10963).
13814 Use lexical binding and wrap to 80 columns.
13815 (dabbrev-completion): Delay computing the list of completions.
13816
13817 2012-03-12 Kenichi Handa <handa@m17n.org>
13818
13819 * international/quail.el (quail-insert-kbd-layout): Surround each
13820 row by LRO and PDF instead of inserting many LRMs. Pad the left
13821 and right of each non-spacing marks. Insert invisible space
13822 between lower and upper characters to prevent composition.
13823
13824 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13825
13826 * minibuffer.el (minibuffer-complete): Don't get confused when the
13827 function is run twice via different commands (bug#10958).
13828 (complete-with-action): Fix docstring.
13829
13830 2012-03-12 Chong Yidong <cyd@gnu.org>
13831
13832 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13833 (nxml-completion-at-point-function): New function.
13834 (nxml-mode): Use it.
13835 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13836
13837 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13838 Load generated autoloads file before byte compiling (Bug#10970).
13839 (package--make-autoloads-and-compile): New helper fun.
13840
13841 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13842
13843 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13844
13845 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13846
13847 * autorevert.el (auto-revert-handler): Ensure, that
13848 file-readable-p is applied only for local files or in
13849 auto-revert-tail-mode.
13850
13851 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13852
13853 * server.el (server-eval-at): Handle non-tcp connections.
13854 Decode result string.
13855
13856 * server.el (server-msg-size): New constant.
13857 (server-reply-print): New function.
13858 (server-eval-and-print): Use it.
13859 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13860 Handle -print-nonl.
13861
13862 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13863
13864 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13865 (Bug#10987).
13866
13867 2012-03-11 Chong Yidong <cyd@gnu.org>
13868
13869 * simple.el (goto-line): Doc fix (Bug#9938).
13870
13871 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13872
13873 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13874 when finished (Bug#10963).
13875
13876 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13877
13878 * window.el (split-window-below): Fix bug in case where
13879 split-window-keep-point is nil (Bug#10971).
13880
13881 2012-03-11 Juri Linkov <juri@jurta.org>
13882
13883 * replace.el (replace-highlight): Set isearch-word to nil
13884 unconditionally. (Bug#10887)
13885
13886 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13887
13888 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13889 mairix-replace-illegal-chars; all callers changed. Don't remove
13890 ^, ~, and = characters: they are meaningful in mairix search specs.
13891 (mairix-widget-create-query): Add usage information about mairix
13892 search forms: negating words, searching for substrings, etc.
13893
13894 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13895
13896 * international/fontset.el (font-encoding-alist): Add an entry for
13897 ksx1001 (Bug#5667).
13898
13899 2012-03-10 Richard Stallman <rms@gnu.org>
13900
13901 * mail/sendmail.el (mail-encode-header):
13902 Set rfc2047-encode-encoded-words.
13903
13904 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13905
13906 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13907 view buffer means not swapped.
13908 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13909 (rmail-write-region-annotate): Error if real text has disappeared.
13910
13911 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13912
13913 2012-03-10 Chong Yidong <cyd@gnu.org>
13914
13915 * emulation/cua-rect.el (cua--init-rectangles):
13916 * emulation/cua-base.el (cua--init-keymaps):
13917 Add delete-forward-char to remappings (Bug#9666).
13918
13919 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13920
13921 * speedbar.el (speedbar-unhighlight-one-tag-line):
13922 Avoid unhighlighting due to frame switching (Bug#10275).
13923
13924 2012-03-10 Chong Yidong <cyd@gnu.org>
13925
13926 * minibuffer.el (completion-in-region, completion-help-at-point):
13927 Give the completion field overlay a high priority (Bug#6830).
13928
13929 * dired.el (dired-goto-file): Recognize absolute file name
13930 listings (Bug#7126).
13931 (dired-goto-file-1): New helper function.
13932 (dired-toggle-read-only): Inhibit warnings.
13933
13934 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13935
13936 * net/dbus.el (dbus-property-handler): Return empty array if
13937 there are no properties.
13938
13939 2012-03-09 Leo Liu <sdl.web@gmail.com>
13940
13941 * savehist.el (savehist-printable): Stricter check for string
13942 value (Bug#10937).
13943
13944 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13945
13946 * mail/smtpmail.el (smtpmail-send-it):
13947 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13948 valid mbox format.
13949
13950 2012-03-09 Glenn Morris <rgm@gnu.org>
13951
13952 * files.el (dir-locals-find-file):
13953 Don't check result is regular, readable.
13954 (dir-locals-read-from-file): Demote errors.
13955
13956 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13957
13958 * international/quail.el (quail-insert-kbd-layout):
13959 Insert invisible LRM characters before each character in a keyboard
13960 layout cell, to prevent their reordering by bidi display engine.
13961 For details, see the discussion in
13962 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13963
13964 2012-03-08 Alan Mackenzie <acm@muc.de>
13965
13966 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13967 the starting position; make it extend the marked region when
13968 invoked repeatedly - all under appropriate circumstances.
13969 Fixes bugs #5525, #10906.
13970
13971 2012-03-08 Glenn Morris <rgm@gnu.org>
13972
13973 * files.el (locate-dominating-file, dir-locals-find-file):
13974 Undo 2012-03-06 change.
13975
13976 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13977
13978 * international/quail.el (quail-help):
13979 Force bidi-paragraph-direction be left-to-right. See discussion in
13980 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13981 for the reason.
13982
13983 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13984
13985 Avoid superfluous registering of signals. (Bug#10807)
13986
13987 * notifications.el (notifications-on-action-object)
13988 (notifications-on-close-object): New defvars.
13989 (notifications-on-action-signal, notifications-on-closed-signal):
13990 Unregister the signal if not needed any longer.
13991 (notifications-notify): Register `notifications-action-signal' or
13992 `notifications-closed-signal', if :on-action or :on-close has been
13993 passed as argument.
13994
13995 2012-03-07 Chong Yidong <cyd@gnu.org>
13996
13997 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13998 non-X platforms.
13999
14000 2012-03-06 Glenn Morris <rgm@gnu.org>
14001
14002 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14003 (x-disown-selection-internal, x-get-selection-internal):
14004 Doc fix (add arglist signatures). (Bug#10783)
14005
14006 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14007
14008 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14009 Handle breakpoints with no "type".
14010
14011 2012-03-06 Glenn Morris <rgm@gnu.org>
14012
14013 * files.el (locate-dominating-file): Add optional predicate argument.
14014 (dir-locals-find-file): Make use of above change.
14015
14016 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14017
14018 * info.el (Info-insert-dir): Also try "dir.gz".
14019
14020 2012-03-06 Glenn Morris <rgm@gnu.org>
14021
14022 * files.el (dir-locals-find-file):
14023 Ignore non-readable or non-regular files. (Bug#10928)
14024
14025 * files.el (locate-dominating-file): Doc fix.
14026
14027 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14028
14029 * calendar/calendar.el (calendar-set-mode-line):
14030 `getenv' returns a string. (Bug#10951)
14031
14032 2012-03-05 Leo Liu <sdl.web@gmail.com>
14033
14034 * simple.el (backward-delete-char-untabify): Constrain point to
14035 field (Bug#10939).
14036
14037 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14038
14039 2012-03-05 Chong Yidong <cyd@gnu.org>
14040
14041 * simple.el (count-words): If called from Lisp, return the word
14042 count, for symmetry with `count-lines'. Arglist changed.
14043 (count-words--message): Args changed. Consolidate counting code
14044 from count-words and count-words-region.
14045 (count-words-region): Caller changed.
14046 (count-lines-region): Make it an obsolete alias.
14047
14048 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14049
14050 * saveplace.el (save-place-to-alist)
14051 (save-place-ignore-files-regexp): Allow value nil to disable this
14052 feature.
14053
14054 2012-03-04 Chong Yidong <cyd@gnu.org>
14055
14056 * faces.el (face-spec-reset-face): For the default face, reset the
14057 attributes to default values (Bug#10748).
14058
14059 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14060
14061 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14062 previous patch: Check `message-send-mail-function', and not the
14063 default function (bug#10897).
14064
14065 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14066
14067 * notifications.el (notifications-on-action-signal)
14068 (notifications-on-closed-signal): Check for unique service name of
14069 incoming event. Fix error in removing entry.
14070 (top): Register for signals with wildcard service name.
14071 (notifications-notify): Use daemon unique service name for map entries.
14072
14073 2012-03-04 Chong Yidong <cyd@gnu.org>
14074
14075 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14076
14077 2012-03-04 Glenn Morris <rgm@gnu.org>
14078
14079 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14080 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14081 (expand-abbrev, define-abbrev-table): Doc fixes.
14082
14083 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14084
14085 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14086 `message-default-send-mail-function' and not `send-mail-function'
14087 when doing the prompting for `sendmail-query-once' before sending
14088 in Message buffers (bug#10897).
14089
14090 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14091 This is inconsistent with all the other stream functions, which leave
14092 the setting up to the higher levels (if so wanted) (bug#10931).
14093
14094 2012-03-02 Alan Mackenzie <acm@muc.de>
14095
14096 Depessimize the handling of very large macros.
14097
14098 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14099 (c-macro-cache-syntactic): New variables to implement a one
14100 element macro cache.
14101 (c-invalidate-macro-cache): New function.
14102 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14103 Adapt to use the new cache.
14104 (c-state-safe-place): Use better the cache of safe positions.
14105 (c-state-semi-nonlit-pos-cache)
14106 (c-state-semi-nonlit-pos-cache-limit):
14107 New variables for...
14108 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14109 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14110 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14111 Use c-state-semi-safe-place.
14112
14113 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14114 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14115
14116 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14117
14118 * jka-compr.el (jka-compr-call-process):
14119 Apply `file-accessible-directory-p' only when the default directory is
14120 not remote.
14121
14122 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14123
14124 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14125 access of FILE2, if FILE1 does not exist.
14126
14127 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14128 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14129
14130 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14131 Add "PAGER=" to `process-environment'.
14132
14133 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14134
14135 * progmodes/sql.el: Bug fix
14136 (sql-get-login-ext): Save login values in globals.
14137 (sql-get-login): Use new version of `sql-get-login-ext'.
14138 (sql-interactive-mode): Set global `sql-connection' to nil.
14139 (sql-connect): Set global values for connection.
14140 (sql-product-interactive): Save global values as buffer local.
14141
14142 2012-02-29 Leo Liu <sdl.web@gmail.com>
14143
14144 * abbrev.el (define-abbrevs): Reset sys to nil.
14145
14146 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14147
14148 * files.el (file-equal-p): Rename from `files-equal-p'.
14149 Return nil when one or both files don't exist.
14150 (file-subdir-of-p): Now only top directory must exists,
14151 return nil if it doesn't.
14152 (copy-directory): No need to test with `file-subdir-of-p' after
14153 creating dir.
14154 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14155 to `file-equal-p'.
14156
14157 2012-02-28 Glenn Morris <rgm@gnu.org>
14158
14159 * shell.el (shell-mode):
14160 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14161 * play/landmark.el (landmark-font-lock-face-O):
14162 * play/handwrite.el (handwrite):
14163 * play/gomoku.el (gomoku-O):
14164 * net/browse-url.el (browse-url-browser-display):
14165 * international/mule.el (define-charset):
14166 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14167 * filesets.el (filesets-find-file-delay):
14168 * eshell/em-xtra.el (eshell-xtra):
14169 * eshell/em-unix.el (eshell-grep):
14170 * emulation/viper.el (viper-mode):
14171 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14172 * emacs-lisp/easymenu.el (easy-menu-define):
14173 * calendar/timeclock.el (timeclock-use-display-time):
14174 * bs.el (bs-mode):
14175 * bookmark.el (bookmark-save-flag):
14176 Doc fix (standardize possessive apostrophe usage).
14177
14178 2012-02-27 Chong Yidong <cyd@gnu.org>
14179
14180 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14181 Fix key-binding lookup for ESC key (Bug#9146).
14182
14183 * font-lock.el (font-lock-specified-p): Rename from
14184 font-lock-spec-present. Callers changed.
14185
14186 2012-02-27 Daniel Hackney <dan@haxney.org>
14187
14188 * emacs-lisp/package.el (package-compute-transaction):
14189 Handle holding a package version to t in package-load-list.
14190
14191 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14192
14193 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14194 (tramp-get-inode, tramp-get-device): Use cached values.
14195
14196 2012-02-26 Alan Mackenzie <acm@muc.de>
14197
14198 Check there is a font-lock specification before doing initial
14199 fontification.
14200
14201 * font-core.el (font-lock-mode): Move the conditional from
14202 :after-hook to font-lock-initial-fontify.
14203 (font-lock-default-function): Move the check for a specification
14204 to font-lock-spec-present.
14205
14206 * font-lock.el (font-lock-initial-fontify): Call ...
14207 (font-lock-spec-present): New function.
14208
14209 2012-02-26 Jim Blandy <jimb@red-bean.com>
14210
14211 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14212 (gdb-send): Apply it to the operand of the '-interpreter-exec
14213 console' command, so that we can pass arguments with (say) quotes
14214 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14215
14216 2012-02-26 Chong Yidong <cyd@gnu.org>
14217
14218 * help-fns.el (describe-function-1): Clarify description of
14219 remapping (Bug#10844).
14220
14221 * files.el (files-equal-p): Doc fix.
14222 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14223 and quit the loop once a mismatch is found.
14224
14225 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14226
14227 * bs.el (bs--show-with-configuration): Don't throw an error
14228 if the window cannot be split; otherwise, subsequent calls to
14229 bs-show fail, restoring a stale window config. (Bug#10882)
14230
14231 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14232
14233 * term/ns-win.el (global-map): Bind ns-drag-file to
14234 ns-find-file (Bug#5855, Bug#10050).
14235
14236 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14237
14238 * calendar/parse-time.el (parse-time-string): Allow extractor to
14239 return nil.
14240
14241 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14242
14243 * net/tramp.el (tramp-file-name-for-operation):
14244 Add `files-equal-p' and `file-subdir-of-p'.
14245
14246 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14247 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14248 Add COPY-CONTENTS argument.
14249
14250 2012-02-25 Chong Yidong <cyd@gnu.org>
14251
14252 Add custom groups for VC backends, for consistency with vc-bzr.
14253
14254 * vc/vc-arch.el (vc-arch):
14255 * vc/vc-cvs.el (vc-cvs):
14256 * vc/vc-git.el (vc-git):
14257 * vc/vc-hg.el (vc-hg):
14258 * vc/vc-mtn.el (vc-mtn):
14259 * vc/vc-rcs.el (vc-rcs):
14260 * vc/vc-sccs.el (vc-sccs):
14261 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14262 All relevant defcustoms reassigned.
14263
14264 2012-02-25 Chong Yidong <cyd@gnu.org>
14265
14266 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14267
14268 * term/x-win.el (x-initialize-window-system): Reduce default for
14269 x-selection-timeout to 5 seconds (Bug#8869).
14270
14271 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14272
14273 * files.el (files-equal-p, file-subdir-of-p): New functions.
14274 (copy-directory): Error when trying to copy a directory on itself.
14275 Add missing copy-contents arg to tramp handler.
14276 * dired-aux.el (dired-copy-file-recursive): Same.
14277 (dired-create-files): Modify destination when source is equal to
14278 dest when copying files.
14279 Return also when dest is a subdir of source. (Bug#10489)
14280
14281 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14282
14283 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14284 (Bug#10874)
14285
14286 2012-02-23 Alan Mackenzie <acm@muc.de>
14287
14288 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14289 parameter "after-hook:" to allow the expansion to run code after
14290 the execution of the mode hooks.
14291
14292 * font-lock.el (font-lock-initial-fontify): New function extracted
14293 from font-lock-mode-internal.
14294
14295 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14296 :after-hook.
14297
14298 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14299
14300 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14301 (completion--cache-all-sorted-completions): New function.
14302 (completion-all-sorted-completions): Use it.
14303 (completion--do-completion, minibuffer-force-complete):
14304 Use it to re-instate the flush hook.
14305
14306 * icomplete.el (icomplete-completions): Replace last fix with a better
14307 one (bug#10850).
14308
14309 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14310
14311 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14312 when it might call us back infinitely (bug#10797).
14313
14314 2012-02-23 Glenn Morris <rgm@gnu.org>
14315
14316 * minibuffer.el (completion-category-overrides): Doc fix.
14317
14318 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14319
14320 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14321 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14322
14323 2012-02-23 Glenn Morris <rgm@gnu.org>
14324
14325 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14326 (authors-obsolete-files-regexps, authors-ignored-files)
14327 (authors-ambiguous-files, authors-renamed-files-alist):
14328 Add more entries.
14329
14330 2012-02-23 Juri Linkov <juri@jurta.org>
14331
14332 * isearch.el (isearch-occur): Sync interactive spec with occur's
14333 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14334
14335 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14336
14337 2012-02-22 Juri Linkov <juri@jurta.org>
14338
14339 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14340 (ucs-insert): Doc fix. Check for hex digits in the string.
14341 Don't display `nil' in the error message. (Bug#10857)
14342
14343 2012-02-22 Alan Mackenzie <acm@muc.de>
14344
14345 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14346
14347 2012-02-22 Glenn Morris <rgm@gnu.org>
14348
14349 * ffap.el (ffap-c-path):
14350 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14351
14352 2012-02-22 Chong Yidong <cyd@gnu.org>
14353
14354 * custom.el (load-theme): Doc fix.
14355
14356 2012-02-22 Glenn Morris <rgm@gnu.org>
14357
14358 * dired-x.el (dired-guess-shell-alist-default):
14359 Remove escape sequences from nroff output. (Bug#172)
14360
14361 2012-02-21 Glenn Morris <rgm@gnu.org>
14362
14363 * vc/emerge.el (emerge-defvar-local):
14364 Set `permanent-local' property rather than unused `preserved'.
14365
14366 * textmodes/picture.el (picture-delete-char): New alias.
14367 (picture-mode-map): Use it. (Bug#10860)
14368 (picture-mode): Doc fix.
14369
14370 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14371
14372 * newcomment.el (uncomment-region-default): Remove unused binding.
14373
14374 2012-02-21 Glenn Morris <rgm@gnu.org>
14375
14376 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14377 (picture-self-insert, picture-tab-chars): Doc fix.
14378 (picture-mode-map): Fix C-a, C-e.
14379
14380 2012-02-20 Glenn Morris <rgm@gnu.org>
14381
14382 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14383
14384 2012-02-20 Leo Liu <sdl.web@gmail.com>
14385
14386 * icomplete.el (icomplete-completions): Check FROM arg before
14387 passing to substring (Bug#10850).
14388
14389 2012-02-19 Chong Yidong <cyd@gnu.org>
14390
14391 * comint.el: Require ansi-color.
14392 (comint-output-filter-functions): Add ansi-color-process-output.
14393
14394 * ansi-color.el: Don't set comint-output-filter-functions; it is
14395 now in the initial value defined in comint.el.
14396 (ansi-color-apply-face-function): New variable.
14397 (ansi-color-apply-on-region): Use it.
14398 (ansi-color-apply-overlay-face): New function.
14399
14400 * shell.el (shell): No need to require ansi-color.
14401 (shell-mode): Use ansi-color-apply-face-function to highlight
14402 color escapes using font-lock-face property (Bug#10835).
14403
14404 2012-02-19 Chong Yidong <cyd@gnu.org>
14405
14406 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14407 mode-line formats (Bug#10839).
14408
14409 2012-02-18 Glenn Morris <rgm@gnu.org>
14410
14411 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14412
14413 * mail/undigest.el (unforward-rmail-message): Doc fix.
14414
14415 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14416
14417 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14418
14419 * international/characters.el (script-list): Sync with the latest
14420 Unicode Character Database.
14421
14422 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14423
14424 * international/titdic-cnv.el: Remove duplicate coding tag.
14425 * language/cham.el: Likewise.
14426 * language/tai-viet.el: Likewise.
14427
14428 2012-02-18 Glenn Morris <rgm@gnu.org>
14429
14430 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14431 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14432 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14433 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14434 * calendar/holidays.el (holiday-bahai-holidays)
14435 (calendar-holidays, list-holidays):
14436 Use utf-8 Bahá'í in doc-strings, menus, etc.
14437
14438 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14439
14440 * saveplace.el (save-place-ignore-files-regexp): New variable
14441 allowing for excluding files from saving their location of point.
14442 The default value matches the temporary commit message editing
14443 files from Git, SVN, Bazaar, and Mercurial.
14444 (save-place-to-alist): Use it.
14445
14446 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14447 Stefan Monnier <monnier@iro.umontreal.ca>
14448
14449 * newcomment.el (uncomment-region-default): Don't leave extra space
14450 when an arg is provided (bug#8150).
14451
14452 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14453
14454 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14455
14456 2012-02-17 Glenn Morris <rgm@gnu.org>
14457
14458 * net/socks.el: Require network-stream. (Bug#10599)
14459
14460 2012-02-17 Kenichi Handa <handa@m17n.org>
14461
14462 * international/charprop.el:
14463 * international/uni-name.el:
14464 * international/uni-old-name.el:
14465 * international/uni-comment.el: Regenerate.
14466
14467 2012-02-16 Glenn Morris <rgm@gnu.org>
14468
14469 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14470 Interactively in calendar buffer, give an error if not on a date.
14471
14472 2012-02-15 Glenn Morris <rgm@gnu.org>
14473
14474 * shell.el (shell-delimiter-argument-list):
14475 Revert 2011-02-17 change. (Bug#8027)
14476
14477 2012-02-15 Chong Yidong <cyd@gnu.org>
14478
14479 * minibuffer.el (completion-at-point-functions): Doc fix.
14480
14481 * custom.el (defcustom): Doc fix; note use of defvar.
14482
14483 2012-02-15 Glenn Morris <rgm@gnu.org>
14484
14485 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14486 Doc fixes.
14487
14488 2012-02-14 Glenn Morris <rgm@gnu.org>
14489
14490 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14491
14492 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14493
14494 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14495 way the ports list is computed.
14496 (smtpmail-query-smtp-server): Prompt the user for a port number if
14497 we can't connect to any of the standard ports (bug#10810).
14498
14499 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14500
14501 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14502
14503 2012-02-13 Glenn Morris <rgm@gnu.org>
14504
14505 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14506
14507 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14508
14509 * net/gnutls.el (gnutls-trustfiles): New variable.
14510 (gnutls-negotiate): Use it.
14511
14512 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14513
14514 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14515 does its stuff if Gnus is running.
14516
14517 2012-02-13 Alan Mackenzie <acm@muc.de>
14518
14519 Fix a loop in c-set-fl-decl-start.
14520
14521 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14522 c-backward-syntactic-ws actually moves backwards.
14523
14524 2012-02-13 Leo Liu <sdl.web@gmail.com>
14525
14526 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14527 beginning so that all \C-o chars are removed.
14528
14529 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14530
14531 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14532
14533 2012-02-12 Alan Mackenzie <acm@muc.de>
14534
14535 Fix infinite loop with long macros.
14536 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14537
14538 2012-02-12 Chong Yidong <cyd@gnu.org>
14539
14540 * window.el (display-buffer): Doc fix (Bug#10785).
14541
14542 2012-02-12 Glenn Morris <rgm@gnu.org>
14543
14544 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14545 (x-disown-selection-internal, x-get-selection-internal):
14546 Sync docs with the xselect.c versions.
14547
14548 * allout-widgets.el: Add missing license notice.
14549
14550 2012-02-11 Glenn Morris <rgm@gnu.org>
14551
14552 * select.el (x-get-selection-internal, x-own-selection-internal)
14553 (x-disown-selection-internal):
14554 * x-dnd.el (x-get-selection-internal): Update declarations.
14555
14556 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14557
14558 * window.el (window-sides-slots):
14559 * tool-bar.el (tool-bar-position):
14560 * term/xterm.el (xterm-extra-capabilities):
14561 * ses.el (ses-self-reference-early-detection):
14562 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14563 (verilog-auto-wire-type)
14564 (verilog-auto-delete-trailing-whitespace)
14565 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14566 (verilog-auto-tieoff-declaration):
14567 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14568 (sql-oracle-statement-starters, sql-oracle-scan-on):
14569 * progmodes/prolog.el (prolog-align-comments-flag)
14570 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14571 (prolog-left-indent-regexp, prolog-paren-indent-p)
14572 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14573 (prolog-types, prolog-mode-specificators)
14574 (prolog-determinism-specificators, prolog-directives)
14575 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14576 (prolog-electric-dot-flag)
14577 (prolog-electric-dot-full-predicate-template)
14578 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14579 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14580 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14581 (prolog-program-switches, prolog-prompt-regexp)
14582 (prolog-debug-on-string, prolog-debug-off-string)
14583 (prolog-trace-on-string, prolog-trace-off-string)
14584 (prolog-zip-on-string, prolog-zip-off-string)
14585 (prolog-use-standard-consult-compile-method-flag)
14586 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14587 (prolog-imenu-max-lines, prolog-info-predicate-index)
14588 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14589 (prolog-char-quote-workaround):
14590 * progmodes/cc-vars.el (c-defun-tactic):
14591 * net/tramp.el (tramp-encoding-command-interactive)
14592 (tramp-local-end-of-line):
14593 * net/soap-client.el (soap-client):
14594 * net/netrc.el (netrc-file):
14595 * net/gnutls.el (gnutls):
14596 * minibuffer.el (completion-category-overrides)
14597 (completion-cycle-threshold)
14598 (completion-pcm-complete-word-inserts-delimiters):
14599 * man.el (Man-name-local-regexp):
14600 * mail/feedmail.el (feedmail-display-full-frame):
14601 * international/characters.el (glyphless-char-display-control):
14602 * eshell/em-ls.el (eshell-ls-date-format):
14603 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14604 (lisp-lambda-list-keyword-parameter-indentation)
14605 (lisp-lambda-list-keyword-parameter-alignment):
14606 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14607 * dired-x.el (dired-omit-verbose):
14608 * cus-theme.el (custom-theme-allow-multiple-selections):
14609 * calc/calc.el (calc-highlight-selections-with-faces)
14610 (calc-lu-field-reference, calc-lu-power-reference)
14611 (calc-note-threshold):
14612 * battery.el (battery-mode-line-limit):
14613 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14614 (archive-7z-update):
14615 * allout.el (allout-prefixed-keybindings)
14616 (allout-unprefixed-keybindings)
14617 (allout-inhibit-auto-fill-on-headline)
14618 (allout-flattened-numbering-abbreviation):
14619 * allout-widgets.el (allout-widgets-auto-activation)
14620 (allout-widgets-icons-dark-subdir)
14621 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14622 (allout-widgets-theme-dark-background)
14623 (allout-widgets-theme-light-background)
14624 (allout-widgets-item-image-properties-emacs)
14625 (allout-widgets-item-image-properties-xemacs)
14626 (allout-widgets-run-unit-tests-on-load)
14627 (allout-widgets-time-decoration-activity)
14628 (allout-widgets-hook-error-post-time)
14629 (allout-widgets-track-decoration):
14630 Add missing :version tags to new defcustoms and defgroups.
14631
14632 * progmodes/sql.el (sql-ansi-statement-starters)
14633 (sql-oracle-statement-starters): Add custom type.
14634
14635 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14636 (prolog-system-version): Give it a type.
14637
14638 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14639
14640 * term/pc-win.el (x-select-text, x-selection-owner-p)
14641 (x-own-selection-internal, x-disown-selection-internal)
14642 (x-get-selection-internal): Sync doc strings and argument lists
14643 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14644
14645 2012-02-11 Leo Liu <sdl.web@gmail.com>
14646
14647 * progmodes/python.el (python-end-of-statement): Fix infinite
14648 loop. (Bug#10788)
14649
14650 2012-02-10 Glenn Morris <rgm@gnu.org>
14651
14652 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14653 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14654
14655 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14656
14657 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14658 about SMTP before checking the From header.
14659
14660 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14661 into own function for reuse by emacsbug.el.
14662
14663 2012-02-10 Leo Liu <sdl.web@gmail.com>
14664
14665 * subr.el (condition-case-unless-debug): Rename from
14666 condition-case-no-debug. All callers changed.
14667 (with-demoted-errors): Fix caller.
14668
14669 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14670 * nxml/rng-valid.el (rng-do-some-validation):
14671 * emacs-lisp/package.el (package-refresh-contents)
14672 (package-menu-execute):
14673 * desktop.el (desktop-create-buffer):
14674 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14675
14676 2012-02-10 Glenn Morris <rgm@gnu.org>
14677
14678 * textmodes/bibtex.el:
14679 Add missing :version tags for new/changed defcustoms.
14680
14681 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14682
14683 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14684
14685 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14686 (smtpmail-via-smtp): Use it, or fall back on the From address.
14687 (smtpmail-send-it): Ditto.
14688
14689 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14690
14691 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14692 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14693 (byte-compile-tmp-var): New const.
14694 (byte-compile-defvar): Use it to minimize .elc size.
14695 Just use `defvar' rather than simulate it (bug#10761).
14696
14697 2012-02-09 Glenn Morris <rgm@gnu.org>
14698
14699 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14700
14701 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14702 Add :version tags.
14703
14704 * progmodes/compile.el (compilation-error-screen-columns)
14705 (compilation-first-column, compilation-filter-start): Doc fixes.
14706
14707 * vc/log-view.el (log-view-toggle-entry-display):
14708 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14709
14710 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14711 (report-emacs-bug-can-use-xdg-email):
14712 (report-emacs-bug-insert-to-mailer): Doc fixes.
14713 (report-emacs-bug): Message fix.
14714
14715 * net/browse-url.el (browse-url-can-use-xdg-open)
14716 (browse-url-xdg-open): Doc fixes.
14717
14718 * electric.el (electric-indent-mode, electric-pair-mode)
14719 (electric-layout-rules, electric-layout-mode): Doc fixes.
14720 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14721
14722 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14723
14724 * server.el (server-unselect-display): Don't inadvertently kill
14725 the current buffer. (Bug#10729)
14726
14727 2012-02-08 Glenn Morris <rgm@gnu.org>
14728
14729 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14730 (sql-list-table): Doc fixes.
14731
14732 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14733 Comment out (does nothing).
14734
14735 * completion.el (dynamic-completion-mode):
14736 * dirtrack.el (dirtrack-debug-mode):
14737 * electric.el (electric-layout-mode):
14738 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14739 * face-remap.el (text-scale-mode, buffer-face-mode):
14740 * iimage.el (iimage-mode):
14741 * image-mode.el (image-transform-mode):
14742 * minibuffer.el (completion-in-region-mode):
14743 * scroll-lock.el (scroll-lock-mode):
14744 * simple.el (next-error-follow-minor-mode):
14745 * tar-mode.el (tar-subfile-mode):
14746 * tooltip.el (tooltip-mode):
14747 * vcursor.el (vcursor-use-vcursor-map):
14748 * wid-browse.el (widget-minor-mode):
14749 * emulation/tpu-edt.el (tpu-edt-mode):
14750 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14751 * international/iso-ascii.el (iso-ascii-mode):
14752 * language/thai-util.el (thai-word-mode):
14753 * mail/supercite.el (sc-minor-mode):
14754 * net/goto-addr.el (goto-address-mode):
14755 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14756 * progmodes/cwarn.el (cwarn-mode):
14757 * progmodes/flymake.el (flymake-mode):
14758 * progmodes/glasses.el (glasses-mode):
14759 * progmodes/hideshow.el (hs-minor-mode):
14760 * progmodes/pascal.el (pascal-outline-mode):
14761 * textmodes/enriched.el (enriched-mode):
14762 * vc/smerge-mode.el (smerge-mode):
14763 Doc fixes (minor mode argument).
14764
14765 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14766
14767 * ls-lisp.el (ls-lisp-sanitize): New function.
14768 (ls-lisp-insert-directory): Use it to fix or remove any elements
14769 in file-alist with missing attributes. (Bug#4673)
14770
14771 2012-02-07 Alan Mackenzie <acm@muc.de>
14772
14773 Fix spurious recognition of c-in-knr-argdecl.
14774
14775 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14776 putative K&R region.
14777
14778 2012-02-07 Alan Mackenzie <acm@muc.de>
14779
14780 * progmodes/cc-engine.el (c-forward-objc-directive):
14781 Prevent looping in "#pragma mark @implementation".
14782
14783 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14784
14785 * notifications.el (notifications-on-closed-signal): Make `reason'
14786 optional. (Bug#10744)
14787
14788 2012-02-07 Glenn Morris <rgm@gnu.org>
14789
14790 * emacs-lisp/easy-mmode.el (define-minor-mode):
14791 Doc fixes for the macro and the mode it defines.
14792
14793 * image.el (imagemagick-types-inhibit): Doc fix.
14794
14795 * cus-start.el (imagemagick-render-type): Add it.
14796
14797 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14798
14799 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14800 Set the default at load time, too, so that `font-lock-fontify-buffer'
14801 can be called without setting up the entire mode first. This fixes
14802 a bug in `mm-inline-text' with C MIME parts.
14803
14804 2012-02-06 Chong Yidong <cyd@gnu.org>
14805
14806 * simple.el (list-processes--refresh): Delete exited processes
14807 (Bug#8094).
14808
14809 * comint.el (comint-next-prompt): next-single-char-property-change
14810 and prev-single-char-property-change never return nil (Bug#8657).
14811
14812 * custom.el (defcustom): Doc fix (Bug#9711).
14813
14814 2012-02-05 Chong Yidong <cyd@gnu.org>
14815
14816 * cus-edit.el (custom-variable-reset-backup): Quote the value
14817 before storing it in the customized-value property (Bug#6712).
14818 (custom-display): Add a customization type tag.
14819 (custom-buffer-create-internal): Improve tooltip message.
14820
14821 * wid-edit.el (widget-field-value-get): New optional arg to
14822 suppress trailing whitespace truncation.
14823 (character): Use it (Bug#2689).
14824
14825 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14826
14827 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14828 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14829
14830 2012-02-05 Chong Yidong <cyd@gnu.org>
14831
14832 * cus-edit.el (custom-variable-value-create): For mismatched
14833 types, show the current value (Bug#7600).
14834
14835 * custom.el (defcustom): Doc fix.
14836
14837 2012-02-05 Glenn Morris <rgm@gnu.org>
14838
14839 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14840
14841 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14842
14843 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14844 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14845 (pp-last-sexp): Use `looking-at-p'.
14846
14847 2012-02-04 Glenn Morris <rgm@gnu.org>
14848
14849 * files.el (revert-buffer):
14850 Doc fix (mention revert-buffer-in-progress-p).
14851
14852 * emacs-lisp/ert-x.el (ert-simulate-command):
14853 Check deferred-action-list (which is obsolete) is bound.
14854
14855 * subr.el (with-wrapper-hook): Doc fixes.
14856
14857 * simple.el (filter-buffer-substring-functions)
14858 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14859
14860 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14861
14862 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14863 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14864
14865 2012-02-04 Leo Liu <sdl.web@gmail.com>
14866
14867 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14868
14869 2012-02-04 Glenn Morris <rgm@gnu.org>
14870
14871 * image.el (image-extension-data): Add obsolete alias.
14872
14873 * isearch.el (isearch-update): Doc fix.
14874
14875 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14876
14877 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14878
14879 2012-02-03 Glenn Morris <rgm@gnu.org>
14880
14881 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14882 (image-animate-timeout): Doc fix.
14883
14884 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14885
14886 2012-02-02 Glenn Morris <rgm@gnu.org>
14887
14888 * server.el (server-auth-dir): Doc fix.
14889 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14890
14891 * subr.el (run-mode-hooks): Doc fix.
14892
14893 2012-02-02 Juri Linkov <juri@jurta.org>
14894
14895 * image-mode.el (image-toggle-display-image): Remove tautological
14896 `major-mode' from the `derived-mode-p' test.
14897
14898 2012-02-02 Kenichi Handa <handa@m17n.org>
14899
14900 * composite.el (compose-region): Cancel previous change.
14901
14902 2012-02-02 Kenichi Handa <handa@m17n.org>
14903
14904 * composite.el (compose-region, compose-string): Signal error for
14905 a null string component (Bug#6988).
14906
14907 2012-02-01 Chong Yidong <cyd@gnu.org>
14908
14909 * view.el (view-buffer-other-window, view-buffer-other-frame):
14910 Handle special modes like view-buffer (Bug#10650).
14911 (view-buffer): Simplify.
14912
14913 * frame.el (set-frame-font): Tweak meaning of third argument.
14914
14915 * dynamic-setting.el (font-setting-change-default-font):
14916 Use set-frame-font (Bug#9982).
14917
14918 2012-02-01 Glenn Morris <rgm@gnu.org>
14919
14920 * progmodes/compile.el (compilation-internal-error-properties):
14921 Respect compilation-first-column in the "*compilation*" buffer.
14922
14923 * emacs-lisp/easy-mmode.el (define-minor-mode):
14924 Relax :variable's test for a named function.
14925
14926 2012-01-31 Alan Mackenzie <acm@muc.de>
14927
14928 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14929 off by one error.
14930
14931 2012-01-31 Chong Yidong <cyd@gnu.org>
14932
14933 * frame.el (set-frame-font): New arg ALL-FRAMES.
14934
14935 * menu-bar.el (menu-set-font): Use set-frame-font.
14936
14937 * faces.el (face-spec-reset-face): Don't apply unspecified
14938 attribute values to the default face.
14939
14940 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14941
14942 * progmodes/cwarn.el (cwarn): Remove dead link.
14943 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14944 Remove * from defcustom docstrings.
14945 (turn-on-cwarn-mode): Make obsolete.
14946 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14947 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14948
14949 2012-01-31 Glenn Morris <rgm@gnu.org>
14950
14951 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14952 Fix :variable handling of mode a symbol not equal to modefun.
14953 Allow named functions to be used as the cdr of :variable.
14954
14955 2012-01-30 Glenn Morris <rgm@gnu.org>
14956
14957 * emacs-lisp/authors.el (authors-fixed-entries):
14958 Remove reference to deleted file rnewspost.el.
14959
14960 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14961
14962 * window.el (window-with-parameter): Remove unused variable `windows'.
14963 (window--side-check): Remove unused variable `code'.
14964 (window--resize-siblings): Remove unused variable `first'.
14965 (adjust-window-trailing-edge): Remove unused variable `failed'.
14966 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14967 Use `let', not `let*'.
14968 (balance-windows-2): Remove unused variable `found'.
14969 (window--state-put-2): Remove unused variable `splits'.
14970 (window-state-put): Remove unused variable `selected'.
14971 (same-window-p): Use `string-match-p'.
14972 (display-buffer-assq-regexp): Remove unused variable `value'.
14973 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14974 Mark argument ALIST as ignored.
14975 (pop-to-buffer): Remove unused variable `old-window'.
14976
14977 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14978
14979 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14980 and .lzma compressed files.
14981
14982 2012-01-29 Chong Yidong <cyd@gnu.org>
14983
14984 * frame.el (window-system-default-frame-alist): Doc fix.
14985
14986 * dynamic-setting.el (font-setting-change-default-font): Don't
14987 change the default face if SET-FONT argument is non-nil (Bug#9982).
14988
14989 2012-01-29 Samuel Bronson <naesten@gmail.com>
14990
14991 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14992
14993 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14994
14995 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14996 breakpoints in files outside current directory (Bug#6098).
14997
14998 2012-01-29 Chong Yidong <cyd@gnu.org>
14999
15000 * progmodes/python.el: Require ansi-color at top-level.
15001
15002 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15003 Define and use in Emacs Lisp mode (Bug#9360).
15004 (lisp-mode-abbrev-table): Add doc.
15005 (lisp-mode-variables): Don't set local-abbrev-table.
15006 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15007
15008 2012-01-28 Roland Winkler <winkler@gnu.org>
15009
15010 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15011
15012 2012-01-28 Roland Winkler <winkler@gnu.org>
15013
15014 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15015 (bibtex-set-dialect): Use it. Either set global values of
15016 dialect-dependent variables or bind these variables buffer-locally
15017 (Bug#10254).
15018 (bibtex-mode): Call bibtex-set-dialect via
15019 hack-local-variables-hook.
15020 (bibtex-dialect): Update docstring.
15021 Add safe-local-variable predicate.
15022 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15023 bibtex-set-dialect.
15024 (bibtex-mode-map): Define menu for each dialect.
15025 (bibtex-entry): Fix docstring.
15026
15027 2012-01-28 Chong Yidong <cyd@gnu.org>
15028
15029 * eshell/esh-arg.el (eshell-quote-argument): New function.
15030
15031 * eshell/esh-ext.el (eshell-invoke-batch-file):
15032 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15033 first arg to eshell-parse-command (Bug#10523).
15034
15035 2012-01-28 Drew Adams <drew.adams@oracle.com>
15036
15037 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15038 `default-directory' is non-nil.
15039
15040 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15041
15042 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15043 line that displays system-configuration-options. (Bug#9924)
15044
15045 2012-01-28 Drew Adams <drew.adams@oracle.com>
15046
15047 * descr-text.el (describe-char): Show information about POS, in
15048 addition to information about the character at POS. Improve and
15049 update the doc string. Change "code point" to "code point in
15050 charset", to avoid confusion with the character's Unicode code
15051 point shown above that. (Bug#10129)
15052
15053 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15054
15055 * descr-text.el (describe-char): Show the raw character, not only
15056 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15057 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15058 for the reasons.
15059
15060 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15061
15062 * emacs-lisp/package.el (package-install):
15063 Run package-refresh-contents if there is no archive yet (Bug#9798).
15064
15065 2012-01-28 Chong Yidong <cyd@gnu.org>
15066
15067 * emacs-lisp/package.el (package-maybe-load-descriptor):
15068 New function, split from package-maybe-load-descriptor.
15069 (package-maybe-load-descriptor): Use it.
15070 (package-download-transaction): Fully load required packages
15071 inside the loop, so that `require' calls work (Bug#10593).
15072 (package-install): No need to call package-initialize now.
15073
15074 2012-01-28 Chong Yidong <cyd@gnu.org>
15075
15076 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15077
15078 * tooltip.el (tooltip-mode): Doc fix.
15079 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15080
15081 * frame.el (set-cursor-color): Doc fix (Bug#352).
15082
15083 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15084 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15085
15086 * cus-edit.el (custom-buffer-create-internal): Fix search button
15087 action (Bug#10542).
15088 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15089
15090 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15091
15092 * dired.el (dired-mark-files-regexp):
15093 Include any subdirectory components. (Bug#10445)
15094
15095 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15096
15097 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15098 Handle [host]:port syntax. (Bug#10533)
15099
15100 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15101
15102 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15103
15104 2012-01-26 Glenn Morris <rgm@gnu.org>
15105
15106 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15107 * term.el (term-raw-escape-map): Use Control-X-prefix.
15108 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15109
15110 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15111
15112 * window.el (window-state-get, window--state-get-1): Don't deal
15113 with fixed-sizeness of windows. Simplify code.
15114
15115 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15116
15117 * window.el (window--state-get-1, window--state-put-2):
15118 Don't save and restore the mark.
15119
15120 2012-01-25 Chong Yidong <cyd@gnu.org>
15121
15122 * custom.el (custom-variable-p): Doc fix.
15123
15124 2012-01-25 Glenn Morris <rgm@gnu.org>
15125
15126 * dired.el (dired-goto-file): Handle some of the more common
15127 characters that `ls -b' escapes. (Bug#10596)
15128
15129 * progmodes/compile.el (compilation-next-error-function):
15130 Respect compilation-first-column in the "*compilation*" buffer.
15131 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15132
15133 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15134
15135 2012-01-24 Glenn Morris <rgm@gnu.org>
15136
15137 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15138
15139 2012-01-24 Julien Danjou <julien@danjou.info>
15140
15141 * color.el (color-rgb-to-hsl): Fix value computing.
15142 (color-hue-to-rgb): New function.
15143 (color-hsl-to-rgb): New function.
15144 (color-clamp, color-saturate-hsl, color-saturate-name)
15145 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15146 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15147
15148 2012-01-24 Glenn Morris <rgm@gnu.org>
15149
15150 * vc/vc-rcs.el (vc-rcs-create-tag):
15151 * vc/vc-sccs.el (vc-sccs-create-tag):
15152 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15153
15154 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15155
15156 * eshell/esh-util.el (eshell-read-hosts-file):
15157 Skip comment lines. (Bug#10549)
15158
15159 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15160
15161 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15162
15163 * subr.el (display-delayed-warnings): Doc fix.
15164 (collapse-delayed-warnings): New function to collapse identical
15165 adjacent warnings.
15166 (delayed-warnings-hook): Add it.
15167
15168 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15169
15170 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15171
15172 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15173 (tramp-default-user-alist): Don't add "pscp".
15174 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15175 property "login-as", if set. (Bug#10530)
15176
15177 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15178
15179 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15180 "plink1" and "psftp". (Bug#10530)
15181
15182 2012-01-21 Kenichi Handa <handa@m17n.org>
15183
15184 * international/mule-cmds.el (prefer-coding-system): Show a
15185 warning message if the default value of file-name-coding-system
15186 was not changed.
15187
15188 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15189
15190 * windmove.el (windmove-reference-loc):
15191 Fix windmove-reference-loc miscalculation.
15192
15193 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15194
15195 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15196 default unit.
15197
15198 2012-01-21 Glenn Morris <rgm@gnu.org>
15199
15200 * international/mule.el (auto-coding-alist): Add .tbz.
15201
15202 * files.el (local-enable-local-variables): Doc fix.
15203 (inhibit-local-variables-regexps): Rename from
15204 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15205 Doc fix. Add some extensions from auto-coding-alist.
15206 (inhibit-local-variables-suffixes):
15207 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15208 (inhibit-local-variables-p):
15209 New function, extracted from set-auto-mode-1.
15210 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15211 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15212 (hack-local-variables): Doc fix. Make the mode-only case
15213 respect enable-local-variables and friends.
15214 Respect inhibit-local-variables-regexps for file-locals, but
15215 not for directory-locals.
15216 (set-visited-file-name):
15217 Take account of inhibit-local-variables-regexps.
15218 Whether it applies may change as the file name is changed.
15219 * jka-cmpr-hook.el (jka-compr-install):
15220 * jka-compr.el (jka-compr-uninstall):
15221 Update for inhibit-first-line-modes-suffixes name change.
15222
15223 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15224
15225 * help-macro.el (make-help-screen): Temporarily restore original
15226 binding for minor-mode-map-alist (Bug#10454).
15227
15228 2012-01-19 Julien Danjou <julien@danjou.info>
15229
15230 * color.el (color-name-to-rgb): Use the white color to find the max
15231 color component value and return correctly computed values.
15232 (color-name-to-rgb): Add missing float conversion for max value.
15233
15234 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15235
15236 * window.el (window--state-get-1, window-state-get): Do not use
15237 special state value for window-persistent-parameters.
15238 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15239 (window--state-put-2): Reset all window parameters to nil before
15240 assigning values of persistent parameters.
15241
15242 2012-01-18 Alan Mackenzie <acm@muc.de>
15243
15244 Eliminate sluggishness and hangs in fontification of "semicolon
15245 deserts".
15246
15247 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15248 Change value 10000 -> 3000.
15249 (c-state-safe-place): Reformulate so it doesn't stack up an
15250 infinite number of wrong entries in c-state-nonlit-pos-cache.
15251 (c-determine-limit-get-base, c-determine-limit): New functions to
15252 determine backward search limits disregarding literals.
15253 (c-find-decl-spots): Amend commenting.
15254 (c-cheap-inside-bracelist-p): New function which detects "={".
15255
15256 * progmodes/cc-fonts.el
15257 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15258 backward search.
15259 (c-font-lock-declarations): Fix an occurrence of point being
15260 undefined. Check additionally for point being in a bracelist or
15261 near a macro invocation without a semicolon so as to avoid a
15262 fruitless time consuming search for a declarator. Give a more
15263 precise search limit for declarators using the new
15264 c-determine-limit.
15265
15266 2012-01-18 Glenn Morris <rgm@gnu.org>
15267
15268 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15269 (set-auto-mode): Doc fixes.
15270
15271 2012-01-17 Glenn Morris <rgm@gnu.org>
15272
15273 * isearch.el (search-nonincremental-instead): Fix doc typo.
15274
15275 * dired.el (dired-insert-directory): Handle newlines in directory name.
15276 (dired-build-subdir-alist): Unescape newlines in directory name.
15277
15278 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15279
15280 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15281 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15282 (tramp-action-terminal): Use it. (Bug#10530)
15283
15284 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15285
15286 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15287
15288 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15289
15290 * window.el (window-state-ignored-parameters): Remove variable.
15291 (window--state-get-1): Rename argument MARKERS to IGNORE.
15292 Handle persistent window parameters. Make copy of clone-of
15293 parameter only if requested. (Bug#10348)
15294 (window--state-put-2): Install a window parameter only if it has
15295 a non-nil value or an existing parameter shall be overwritten.
15296
15297 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15298
15299 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15300
15301 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15302
15303 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15304 don't pass the (nil) value of `upnode' to string-match.
15305
15306 2012-01-14 Chong Yidong <cyd@gnu.org>
15307
15308 * startup.el (command-line): Fix X resource class for cursorColor.
15309 Fix values recognized by the cursorBlink resource.
15310
15311 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15312
15313 * epg.el (epg--make-temp-file): Avoid permission race condition
15314 when running on old Emacs versions (bug#10403).
15315
15316 2012-01-14 Glenn Morris <rgm@gnu.org>
15317
15318 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15319
15320 2012-01-13 Alan Mackenzie <acm@muc.de>
15321
15322 Fix filling for when filladapt mode is enabled.
15323
15324 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15325 c-mask-paragraph, pass in `fill-paragraph' rather than
15326 `fill-region-as-paragraph'. (This is a reversion of a previous
15327 change.)
15328 * progmodes/cc-mode.el (c-basic-common-init):
15329 Make fill-paragraph-handle-comment buffer local and set it to nil.
15330
15331 2012-01-13 Glenn Morris <rgm@gnu.org>
15332
15333 * dired.el (dired-switches-escape-p): New function.
15334 (dired-insert-directory): Use dired-switches-escape-p.
15335 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15336
15337 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15338
15339 2012-01-12 Glenn Morris <rgm@gnu.org>
15340
15341 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15342 changes in adaptive-fill-regexp. (Bug#10276)
15343
15344 2012-01-11 Alan Mackenzie <acm@muc.de>
15345
15346 Fix Emacs bug #10463 - put `widen's around the critical spots.
15347
15348 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15349 widen around each invocation of c-state-pp-to-literal. Remove an
15350 unused let variable.
15351
15352 2012-01-11 Glenn Morris <rgm@gnu.org>
15353
15354 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15355 Doc fix.
15356
15357 2012-01-10 Chong Yidong <cyd@gnu.org>
15358
15359 * net/network-stream.el (network-stream-open-starttls):
15360 Avoid emitting a confusing error message when the server gives a bad
15361 response to the capability command.
15362
15363 2012-01-10 Glenn Morris <rgm@gnu.org>
15364
15365 * mail/unrmail.el (unrmail): Tweak previous change.
15366
15367 2012-01-09 Chong Yidong <cyd@gnu.org>
15368
15369 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15370
15371 2012-01-08 Alan Mackenzie <acm@muc.de>
15372
15373 Optimize font locking in long enum definitions.
15374
15375 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15376 arm to a cond form to handle enums.
15377 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15378 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15379
15380 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15381
15382 * files.el (move-file-to-trash): Preserve default file modes on error.
15383 (Bug#10401)
15384
15385 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15386
15387 * faces.el (set-face-attribute): Clarify the meaning of the nil
15388 frame (bug#10294).
15389
15390 * subr.el (with-selected-frame): Mention that the selected frame
15391 is restored (bug#9980).
15392
15393 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15394 (bug#9759).
15395
15396 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15397 (password-read): Don't autoload unused function.
15398
15399 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15400
15401 * progmodes/which-func.el (which-func-mode): Turn into a
15402 non-interactive function and mark as obsolete (bug#10428).
15403
15404 2012-01-06 Chong Yidong <cyd@gnu.org>
15405
15406 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15407 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15408 functions, along with 1 and -1.
15409
15410 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15411
15412 * time.el (display-time-load-average)
15413 (display-time-default-load-average): Doc fixes. See the thread
15414 starting at
15415 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15416 for the details.
15417
15418 2012-01-06 Glenn Morris <rgm@gnu.org>
15419
15420 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15421 has no messages. (Bug#10377)
15422
15423 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15424 than Info-edit. (Bug#10385)
15425
15426 * time.el (display-time-load-average, display-time-next-load-average):
15427 Doc fixes.
15428
15429 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15430 local setting of buffer-read-only to the input buffer. (Bug#10419)
15431
15432 * calendar/calendar.el (calendar-mode):
15433 Locally set scroll-margin to 0. (Bug#10379)
15434
15435 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15436
15437 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15438
15439 2012-01-05 Glenn Morris <rgm@gnu.org>
15440
15441 * eshell/em-unix.el (diff-no-select): Autoload it.
15442 (eshell/diff): Use diff-no-select. (Bug#10420)
15443
15444 2012-01-05 Chong Yidong <cyd@gnu.org>
15445
15446 * shell.el (shell-dynamic-complete-functions): Revert last change.
15447 (shell-command-completion-function): New function.
15448 (shell-completion-vars): Use it to implement
15449 shell-completion-execonly (Bug#10417).
15450
15451 * custom.el (enable-theme): Don't set custom-safe-themes.
15452
15453 * cus-theme.el (custom-theme-merge-theme):
15454 Ignore custom-enabled-themes and custom-safe-themes.
15455
15456 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15457
15458 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15459 first prompt in `sql-interacive-mode'.
15460 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15461 keywords.
15462 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15463 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15464 context of original buffer. Invoke `sql-login-hook'.
15465
15466 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15467
15468 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15469 letters in cite-prefix.
15470
15471 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15472
15473 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15474
15475 2012-01-03 Chong Yidong <cyd@gnu.org>
15476
15477 * shell.el (shell-dynamic-complete-functions):
15478 Put pcomplete-completions-at-point, so as to try
15479 comint-filename-completion first (Bug#10417).
15480
15481 2012-01-02 Richard Stallman <rms@gnu.org>
15482
15483 * battery.el (battery-status-function):
15484 Detect when to use battery-yeeloong-sysfs.
15485 (battery-echo-area-format): Add string for Yeeloong.
15486 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15487 (battery-yeeloong-sysfs): New function.
15488
15489 2012-01-02 Chong Yidong <cyd@gnu.org>
15490
15491 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15492 (dirtrack): Merge code for handling relative filenames in prompt
15493 from shell-dir-cookie-watcher.
15494 (dirtrack-debug-message): New arg to avoid excess format calls.
15495
15496 * shell.el (shell-dir-cookie-re): Variable deleted.
15497 (shell-dir-cookie-watcher): Function deleted.
15498 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15499 with dirtrack-mode.
15500
15501 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15502
15503 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15504 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15505 libgnutls-26.dll.
15506
15507 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15508
15509 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15510
15511 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15512
15513 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15514 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15515
15516 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15517
15518 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15519 also for alternative shells.
15520 (tramp-open-connection-setup-interactive-shell): Check, whether
15521 the shell is a busybox.
15522 (tramp-send-command): Don't suppress multiple prompts for
15523 busyboxes, it hurts.
15524
15525 2011-12-28 Chong Yidong <cyd@gnu.org>
15526
15527 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15528 (gdb-get-source-file): Move mode line update to
15529 gdb-get-source-file (Bug#10087).
15530
15531 2011-12-25 Chong Yidong <cyd@gnu.org>
15532
15533 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15534 gud-gdb-marker-filter without taking it as an argument.
15535 (gud-gdb-run-command-fetch-lines): Caller changed.
15536 (gud-gdb-completion-function): New variable.
15537 (gud-gdb-completion-at-point): Use it.
15538 (gud-gdb-completions-1): Split from gud-gdb-completions.
15539
15540 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15541 function as separate arguments.
15542 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15543 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15544 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15545 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15546 (gdb-stopped, def-gdb-auto-update-trigger)
15547 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15548 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15549 Callers changed.
15550 (gud-gdbmi-completions): New function.
15551 (gdb): Use it for generating the completion table.
15552
15553 2011-12-24 Alan Mackenzie <acm@muc.de>
15554
15555 Introduce a mechanism to widen the region used in context font
15556 locking. Use this to protect declarations from losing their contexts.
15557
15558 * progmodes/cc-langs.el (c-before-font-lock-functions):
15559 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15560 (c-before-context-fontification-functions): New defvar, a list of
15561 functions to be run just before context (etc.) font locking.
15562
15563 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15564 New, functionality extracted from
15565 c-neutralize-syntax-in-and-mark-CPP.
15566 (c-in-after-change-fontification): New variable.
15567 (c-after-change): Set c-in-after-change-fontification.
15568 (c-set-fl-decl-start): Rejig its interface, so it can be called
15569 from both after-change and context fontifying.
15570 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15571 New functions.
15572 (c-standard-font-lock-fontify-region-function): New variable.
15573 (c-font-lock-fontify-region): New function.
15574
15575 2011-12-24 Juri Linkov <juri@jurta.org>
15576
15577 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15578 (Bug#10348)
15579
15580 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15581
15582 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15583 existence of source file. (Bug#10325)
15584
15585 2011-12-23 Alan Mackenzie <acm@muc.de>
15586
15587 Fix unstable fontification inside templates.
15588
15589 * progmodes/cc-langs.el (c-before-font-lock-functions):
15590 Newly created from the singular version. The (c c++ objc) entry now
15591 additionally has c-set-fl-decl-start. The other languages (apart
15592 from AWK) have that as a single entry.
15593
15594 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15595 The functionality for "local" declarations has been extracted to
15596 c-set-fl-decl-start.
15597
15598 * progmodes/cc-mode.el (c-common-init, c-after-change):
15599 Changes due to pluralisation of c-before-font-lock-functions.
15600 (c-set-fl-decl-start): New function, extracted from
15601 c-font-lock-enclosing-decls and enhanced.
15602
15603 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15604
15605 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15606
15607 2011-12-22 Juri Linkov <juri@jurta.org>
15608
15609 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15610
15611 2011-12-22 Chong Yidong <cyd@gnu.org>
15612
15613 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15614
15615 2011-12-21 Drew Adams <drew.adams@oracle.com>
15616
15617 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15618
15619 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15620
15621 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15622
15623 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15624
15625 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15626 highlighting and support. Fix up comments for capitalization.
15627 (cfengine-mode-debug): New var.
15628 (cfengine3-mode): Change the modeline indicator to "CFE3".
15629 (cfengine3-font-lock-keywords): Improve defun highlighting.
15630 (cfengine2-actions): Rename from `cfengine-actions'.
15631 (cfengine2-font-lock-keywords): Rename from
15632 `cfengine-font-lock-keywords'.
15633 (cfengine2-imenu-expression): Rename from
15634 `cfengine-imenu-expression'.
15635 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15636 (cfengine2-beginning-of-defun): Rename from
15637 `cfengine-beginning-of-defun'.
15638 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15639 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15640 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15641 modeline indicator to "CFE2".
15642 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15643 (cfengine-mode-abbrevs): Mark obsolete.
15644
15645 2011-12-21 Chong Yidong <cyd@gnu.org>
15646
15647 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15648 filename argument.
15649
15650 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15651
15652 * window.el (window-normalize-buffer-to-display): Remove.
15653 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15654
15655 2011-12-19 Chong Yidong <cyd@gnu.org>
15656
15657 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15658 Don't signal an error in a predicate function; return non-nil.
15659 (vc-dir-mark-file): Move the error here.
15660 (vc-dir-mark-unmark): If acting on the region, keep going if one
15661 of the entries cannot be marked/unmarked.
15662 (vc-dir-mark-all-files): If current entry is a directory, mark
15663 only child files, as documented.
15664
15665 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15666
15667 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15668 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15669 addition.
15670
15671 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15672
15673 * term/ns-win.el (ns-get-selection-internal)
15674 (ns-store-selection-internal): Declare.
15675 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15676 Declare as obsolete.
15677 (ns-get-pasteboard, ns-paste-secondary):
15678 Use ns-get-selection-internal.
15679 (ns-set-pasteboard, ns-copy-including-secondary):
15680 Use ns-store-selection-internal.
15681
15682 2011-12-17 Chong Yidong <cyd@gnu.org>
15683
15684 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15685 (vc-deduce-fileset): Doc fix.
15686
15687 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15688
15689 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15690
15691 2011-12-13 Sam Steingold <sds@gnu.org>
15692
15693 * man.el (Man-getpage-in-background): When running under a
15694 window-system, ignore $MANWIDTH and $COLUMNS.
15695
15696 2011-12-15 Kenichi Handa <handa@m17n.org>
15697
15698 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15699 (setup-ethiopic-environment-internal): Comment out key-binding for
15700 ethio-toggle-punctuation.
15701
15702 2011-12-13 Alan Mackenzie <acm@muc.de>
15703
15704 Add the switch statement to AWK Mode.
15705
15706 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15707 "default" to the keywords regexp.
15708
15709 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15710 expression as the rest.
15711 (c-nonlabel-token-key): Allow string literals for AWK.
15712 Refactor for the other modes.
15713
15714 Large brace-block initialisation makes CC Mode slow: Fix.
15715 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15716 routines. Limit backward searching in c-font-lock-enclosing.decl.
15717
15718 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15719 pp-state and literal type in addition to the limits.
15720 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15721 (c-state-literal-at): Use the above new defun.
15722 (c-slow-in-literal, c-fast-in-literal): Remove.
15723 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15724
15725 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15726 being in a literal. Add a limit for backward searching.
15727
15728 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15729 c-slow-in-literal.
15730
15731 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15732
15733 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15734
15735 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15736
15737 * window.el (delete-other-windows): Use correct frame in call to
15738 window-with-parameter.
15739
15740 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15741
15742 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15743 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15744 (makefile-gmake-statements, makefile-makepp-statements):
15745 Use it and add new makepp keywords.
15746 (makefile-makepp-font-lock-keywords): Add new patterns.
15747 (makefile-match-function-end): Match new [...] and [[...]].
15748
15749 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15750
15751 * ses.el (ses-call-printer-return, ses-cell-property-get)
15752 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15753 (ses-create-cell-variable, ses-reset-header-string)
15754 (ses-cell-set-formula, ses-repair-cell-reference-all)
15755 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15756 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15757 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15758 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15759 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15760 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15761 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15762 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15763 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15764 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15765 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15766 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15767
15768 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15769
15770 * ses.el: The overall change is to add cell renaming, that is
15771 setting fancy names for cell symbols other than name matching
15772 "\\`[A-Z]+[0-9]+\\'" regexp .
15773 (ses-create-cell-variable): New defun.
15774 (ses-relocate-formula): Relocate formulas only for cells the
15775 symbols of which are not renamed, i.e. symbols whose names do not
15776 match regexp "\\`[A-Z]+[0-9]+\\'".
15777 (ses-relocate-all): Relocate values only for cells the symbols of
15778 which are not renamed.
15779 (ses-load): Create cells variables as the (ses-cell ...) are read,
15780 in order to check row col consistency with cell symbol name only
15781 for cells that are not renamed.
15782 (ses-replace-name-in-formula): New defun.
15783 (ses-rename-cell): New defun.
15784
15785 2011-12-11 Chong Yidong <cyd@gnu.org>
15786
15787 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15788 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15789
15790 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15791
15792 * window.el (other-window): Fix docstring.
15793
15794 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15795
15796 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15797 `from' or `to' address before taking its substring.
15798 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15799 encoded name is chopped in the middle of the encoded string, and
15800 thus displayed encoded.
15801
15802 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15803
15804 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15805
15806 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15807
15808 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15809 to use texinfo-update-node and commands that call it if the
15810 Texinfo file uses @node lines without next/prev/up pointers.
15811 Correct outdated description about texinfo-master-menu.
15812 (texinfo-all-menus-update, texinfo-master-menu)
15813 (texinfo-update-node, texinfo-every-node-update)
15814 (texinfo-multiple-files-update): Doc fix. Warn against updating
15815 all the @node lines.
15816 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15817 argument is numeric. Explain better in the doc string what the
15818 function really does.
15819 (texinfo-insert-master-menu-list): Improve the error message
15820 displayed if there's no menu in the Top node.
15821 (Bug#2975) See also this thread:
15822 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15823
15824 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15825
15826 * speedbar.el (speedbar-supported-extension-expressions):
15827 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15828
15829 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15830
15831 * printing.el (pr-mode-alist):
15832 * simple.el (filter-buffer-substring-functions)
15833 (completion-list-insert-choice-function):
15834 * window.el (window-with-parameter, window-atom-root)
15835 (window-sides-slots, window-size-fixed, window-min-delta)
15836 (window-max-delta, window--resize-mini-window)
15837 (window--resize-child-windows-normal, window-tree)
15838 (delete-other-windows, quit-window, split-window)
15839 (display-buffer-record-window, special-display-buffer-names)
15840 (special-display-regexps, special-display-popup-frame)
15841 (same-window-p, split-window-sensibly)
15842 (display-buffer-overriding-action, display-buffer-alist)
15843 (display-buffer-base-action, display-buffer, switch-to-buffer)
15844 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15845 (fit-window-to-buffer, recenter-positions)
15846 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15847 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15848 and remove unneeded backslashes in docstrings.
15849
15850 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15851
15852 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15853
15854 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15855 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15856 end in ".mk".
15857 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15858 when reading the makefile (bug#10116).
15859
15860 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15861
15862 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15863 (bug#10116).
15864
15865 2011-12-06 Glenn Morris <rgm@gnu.org>
15866
15867 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15868
15869 2011-12-06 Chong Yidong <cyd@gnu.org>
15870
15871 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15872
15873 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15874
15875 * textmodes/table.el (table-shorten-cell): Fix typo.
15876
15877 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15878
15879 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15880
15881 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15882
15883 * descr-text.el (describe-char): Fix display of strong
15884 right-to-left characters and directional embeddings and overrides.
15885
15886 * simple.el (what-cursor-position): Fix display of codepoints of
15887 strong right-to-left characters.
15888
15889 2011-12-05 Chong Yidong <cyd@gnu.org>
15890
15891 * faces.el (read-color): Doc fix.
15892
15893 2011-12-05 Glenn Morris <rgm@gnu.org>
15894
15895 * align.el (align--set-marker): Add doc-string.
15896 Don't try to move something that is not a marker. (Bug#10216)
15897
15898 2011-12-04 Glenn Morris <rgm@gnu.org>
15899
15900 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15901 overly zealous deletion of trailing whitespace.
15902
15903 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15904
15905 * server.el (server-delete-client): On Windows, do not try to delete
15906 the only terminal.
15907 (server-process-filter): On Windows, treat requests for a tty frame as
15908 if they were for a GUI frame if the running server is in GUI mode.
15909
15910 2011-12-03 Glenn Morris <rgm@gnu.org>
15911
15912 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15913
15914 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15915
15916 * electric.el: Streamline electric-indent's hook.
15917 (electric-indent-chars): Revert to simple list.
15918 (electric-indent-functions): New var.
15919 (electric-indent-post-self-insert-function): Use it.
15920
15921 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15922 there's no inferior buffer (bug#10196).
15923 (prolog-consult-compile): Don't use toggle-read-only.
15924
15925 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15926
15927 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15928 interrupt. (Bug#10187)
15929
15930 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15931
15932 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15933 (bug#9160).
15934
15935 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15936 (bug#10191).
15937
15938 2011-12-02 Juri Linkov <juri@jurta.org>
15939
15940 * info.el (Info-search): Display "end of manual" when Isearch
15941 reaches the end of single-file Info manual. (Bug#9918)
15942
15943 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15944
15945 * isearch.el (isearch-message-prefix): Run the input method part
15946 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15947
15948 2011-12-02 Juri Linkov <juri@jurta.org>
15949
15950 * isearch.el (isearch-occur): Use `word-search-regexp' for
15951 `isearch-word'.
15952 (isearch-search-and-update): Add condition for `isearch-word' and
15953 call `word-search-regexp'. (Bug#10145)
15954
15955 2011-12-01 Glenn Morris <rgm@gnu.org>
15956
15957 * eshell/em-hist.el (eshell-hist-initialize):
15958 Handle eshell-history-size nil and HISTSIZE set or unset.
15959 (eshell-history-file-name, eshell-history-size): Fix custom type.
15960
15961 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15962
15963 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15964
15965 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15966
15967 * progmodes/verilog-mode.el (verilog-pretty-expr):
15968 Rework verilog-pretty-expr to handle new assignment operators in system
15969 verilog, such as += *= and the like.
15970 (verilog-assignment-operator-re): Regular expression to find the
15971 assigment operator in a verilog assignment.
15972 (verilog-assignment-operation-re): Regular expression to find an
15973 assignment statement for pretty-expr.
15974 (verilog-in-attribute-p): Query returns true if point is in an
15975 attribute context; used to skip these for expression line up from
15976 pretty-expr.
15977 (verilog-in-parameter-p): Query returns true if point is in an
15978 parameter definition context; used to skip these for expression
15979 line up from pretty-expr.
15980 (verilog-in-parenthesis-p): Query returns true if point is in a
15981 parenthetical expression, specifically ( ) but not [ ] or { };
15982 used by pretty-expr.
15983 (verilog-just-one-space): If there is no space, don't add one.
15984 (verilog-get-lineup-indent-2): Specifically skip just attribute
15985 contexts for expression lineup, rather than skipping all
15986 parenthetical expressions.
15987 (verilog-calculate-indent): Fix comment, and fix indent.
15988 (verilog-do-indent): Indent declarations in lists (suggested by
15989 Joachim Lechner).
15990 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15991 skeleton items.
15992 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15993 by Alain Mellan).
15994
15995 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15996
15997 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15998 parameters with embedded comments. Reported by Ray Stevens.
15999 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16000 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16001 Reported by Tim Holt.
16002 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16003 instantiated by upper module causing wrong expansion until AUTOed a
16004 second time. Reported by K C Buckenmaier.
16005 (verilog-diff-auto): Fix showing .* as a difference when
16006 `verilog-auto-star-save' off. Reported by Dan Dever.
16007 (verilog-auto-reset, verilog-read-always-signals)
16008 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16009 temporary signals in reset list if
16010 verilog-auto-reset-blocking-in-non is nil, and match assignment
16011 style to each signal's assignment type, bug381.
16012 Reported by Thomas Esposito.
16013 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16014 (verilog-uvm-statement-re): Support UVM indentation and
16015 highlighting, with old OVM keywords only.
16016 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16017 Support AUTOTIEOFF creating non-wire data types.
16018 Suggested by Jonathan Greenlaw.
16019 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16020 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16021 (verilog-inject-sense, verilog-read-inst-pins)
16022 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16023 Fix mismatching parenthesis inside commented out code when deleting
16024 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16025 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16026 non-numeric vector width. Reported by Alex Reed.
16027 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16028 detecting signals with parameter widths. Reported by Alex Reed.
16029 (verilog-auto-delete-trailing-whitespace):
16030 With `verilog-auto-delete-trailing-whitespace' remove trailing
16031 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16032 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16033 Fix verilog-scan-cache corruption when running user AUTO expansion
16034 hooks that call indentation routines.
16035 (verilog-simplify-range-expression): Fix typo ignoring lower case
16036 identifiers.
16037 (verilog-delete-auto): Fix delete-autos to also remove user created
16038 automatics, as long as they start with AUTO.
16039 (verilog-batch-diff-auto, verilog-diff-auto)
16040 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16041 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16042 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16043 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16044 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16045 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16046 is disabled and its cache will get corrupt, causing AUTOS not to
16047 expand. Instead use only -quick functions.
16048 (verilog-scan-region): Fix scanning over escaped quotes.
16049 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16050 (verilog-re-search-backward-quick)
16051 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16052 related functions now ignore strings, to fix misparsing of strings
16053 with magic comments embedded in them.
16054 (verilog-read-auto-template):
16055 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16056 Reported by Brad Dobbie.
16057 (verilog-read-auto-template):
16058 Fix 'verilog-auto-inst-template-numbers' with comments.
16059 Reported by Brad Dobbie.
16060 (verilog-auto-inst, verilog-auto-inst-param)
16061 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16062 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16063 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16064 debugging templates without merge conflicts, bug357.
16065 Reported by Brad Dobbie.
16066 (verilog-read-auto-template):
16067 Fix verilog-auto-inst-template-numbers with multiple templates.
16068 Reported by Brad Dobbie.
16069 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16070 abbrevs so user won't be asked to save.
16071 (verilog-read-auto-lisp-present): Fix to start at beginning of
16072 buffer in case called outside of verilog-auto.
16073 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16074 to "X-2". Reported by Matthew Myers.
16075 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16076 all inputs from module templates. Reported by Leith Johnson.
16077 (verilog-module-inside-filename-p): Fix locating programs as with
16078 modules.
16079 (verilog-auto-inst-port): Fix vl-width expressions when using
16080 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16081 (verilog-decls-get-regs, verilog-decls-get-signals,
16082 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16083 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16084 verilog-read-decls): Combine reg and wire structures into one var
16085 structure to represent SystemVerilog concepts.
16086 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16087 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16088 (verilog-auto-wire-type, verilog-insert-definition):
16089 Add verilog-auto-wire-type and AUTOLOGIC to support using
16090 SystemVerilog "logic" keyword instead of "wire"/"reg".
16091 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16092 to declares outputs that also have assignments (presumably in an
16093 ifdef or generate if so there's not a driver conflict).
16094 Reported by Matthew Myers.
16095 (verilog-auto-declare-nettype, verilog-insert-definition):
16096 Add verilog-auto-declare-nettype to fix declarations using
16097 `default_nettype none. Reported by Julian Gorfajn.
16098 (verilog-read-always-signals-recurse, verilog-read-decls)
16099 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16100 malformed end statement, bug325. Reported by Joshua Wise and
16101 Andrew Drake.
16102 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16103 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16104 when expanding .* in interfaces, bug320.
16105 Reported by Pierre-David Pfister.
16106 (verilog-read-module-name): Fix import statements between module
16107 name and open parenthesis, bug317.
16108 Reported by Pierre-David Pfister.
16109 (verilog-simplify-range-expression): Fix simplification of
16110 multiplications inside AUTOWIRE connections, bug303.
16111 (verilog-auto-inst-port): Support parameter expansion in
16112 multidimensional arrays.
16113 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16114 after "assert property". Reported by Julian Gorfajn.
16115 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16116 with multiplication, bug303.
16117 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16118 Reported by Jan Frode Lonnum.
16119
16120 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16121
16122 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16123 (hfy-shell-file-name, hfy-shell):
16124 * international/fontset.el (x-decompose-font-name): Fix typos.
16125
16126 2011-11-29 Ken Brown <kbrown@cornell.edu>
16127
16128 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16129 (gdb-version): Remove defvar.
16130 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16131 (gdb-gud-context-command, gdb-non-stop-handler)
16132 (gdb-current-context-command, gdb-stopped): Use it.
16133 (gdb-init-1): Enable pretty printing here.
16134 (gdb-non-stop-handler): Don't enable pretty-printing here.
16135 Check to see if the target supports non-stop mode; if not, turn off
16136 non-stop mode. Use the following.
16137 (gdb-check-target-async): New defun.
16138 (gud-watch, gdb-stopped): Fix whitespace.
16139 (gdb-get-source-file): Don't try to display the source file if
16140 `gdb-main-file' is nil.
16141
16142 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16143
16144 * align.el: Try to generate fewer markers (bug#10047).
16145 (align--set-marker): New macro.
16146 (align-region): Use it.
16147
16148 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16149
16150 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16151
16152 2011-11-29 Chong Yidong <cyd@gnu.org>
16153
16154 * indent.el (indent-for-tab-command, indent-according-to-mode):
16155 Doc fix.
16156 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16157
16158 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16159
16160 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16161 aware of remote file names. (Bug#10124)
16162
16163 2011-11-29 Chong Yidong <cyd@gnu.org>
16164
16165 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16166
16167 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16168
16169 * files.el (find-file): Don't use force-same-window (bug#10144).
16170 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16171 use pop-to-buffer if the selected window can't be used.
16172 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16173
16174 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16175
16176 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16177 special-mode-map.
16178
16179 2011-11-28 Chong Yidong <cyd@gnu.org>
16180
16181 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16182
16183 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16184
16185 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16186 gdb-get-source-file-list on gdb-create-source-file-list.
16187
16188 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16189
16190 * whitespace.el (whitespace-newline): Use a different foreground
16191 color for 16-color light-background displays.
16192
16193 2011-11-24 Chong Yidong <cyd@gnu.org>
16194
16195 * window.el (display-buffer--special-action): Doc fix.
16196
16197 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16198
16199 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16200 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16201 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16202 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16203 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16204 (avl-tree-stack-first):
16205 * emacs-lisp/cconv.el (cconv--analyse-use):
16206 * net/gnutls.el (gnutls-negotiate): Fix typos.
16207
16208 2011-11-24 Glenn Morris <rgm@gnu.org>
16209
16210 * lpr.el (lpr-windows-system, lpr-lp-system):
16211 * mail/binhex.el (binhex-begin-line):
16212 * progmodes/grep.el (grep-history, grep-find-history):
16213 * textmodes/flyspell.el:
16214 * vc/pcvs-defs.el (cvs-global-menu):
16215 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16216 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16217 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16218
16219 * net/tls.el: Fix case of "GnuTLS".
16220
16221 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16222
16223 * version.el (emacs-build-system): Give it a doc-string.
16224
16225 2011-11-24 Juri Linkov <juri@jurta.org>
16226
16227 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16228
16229 2011-11-24 Glenn Morris <rgm@gnu.org>
16230
16231 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16232 if called on a non-mime message just toggle the headers. (Bug#8006)
16233
16234 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16235
16236 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16237 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16238 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16239 (allout-rebullet-heading, allout-open-sibtopic)
16240 (allout-toggle-current-subtree-encryption)
16241 (allout-toggle-subtree-encryption, allout-encrypt-string)
16242 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16243 (allout-distinctive-bullets-string, allout-auto-activation):
16244 * window.el (window-normalize-buffer-to-display):
16245 * progmodes/verilog-mode.el (verilog-batch-indent):
16246 * textmodes/bibtex.el (bibtex-field-braces-opt)
16247 (bibtex-field-strings-opt):
16248 * vc/cvs-status.el (cvs-tree-merge):
16249 Fix typos.
16250
16251 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16252
16253 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16254 `non-essential' to t, in order to avoid remote connections.
16255
16256 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16257
16258 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16259 On MS-DOS and MS-Windows, compare with loaddefs.el
16260 case-insensitively.
16261
16262 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16263
16264 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16265
16266 2011-11-23 Glenn Morris <rgm@gnu.org>
16267
16268 * paths.el (rmail-file-name): Reformat the doc-string so that it
16269 is picked up.
16270
16271 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16272 (rmail-auto-file): Ignore case in the "special" field names,
16273 as mail-fetch-field does for all others.
16274
16275 * mail/rmail.el (rmail-forward):
16276 * mail/rmailkwd.el (rmail-set-label):
16277 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16278 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16279
16280 * mail/rmail.el (rmail-current-message): Doc fix.
16281
16282 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16283
16284 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16285
16286 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16287
16288 2011-11-22 Glenn Morris <rgm@gnu.org>
16289
16290 * mail/rmailmm.el (test-rmail-mime-handler)
16291 (test-rmail-mime-bulk-handler)
16292 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16293
16294 2011-11-21 Juri Linkov <juri@jurta.org>
16295
16296 * calc/calc.el (calc-read-key-sequence):
16297 Let-bind `input-method-function' to nil. (Bug#10018)
16298
16299 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16300
16301 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16302 Tell the caller that the next line needs recomputation, even
16303 though it doesn't start a sexp (bug#10094).
16304
16305 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16306
16307 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16308
16309 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16310
16311 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16312 Use force-same-window.
16313
16314 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16315
16316 * descr-text.el (describe-char-unicode-data):
16317 * json.el (json-string-escape):
16318 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16319 (Footnote-unicode, Footnote-style-p):
16320 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16321
16322 2011-11-20 Chong Yidong <cyd@gnu.org>
16323
16324 * window.el (replace-buffer-in-windows): Restore interactive spec.
16325
16326 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16327
16328 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16329
16330 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16331 (byte-compile-global-not-obsolete-vars): New var.
16332 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16333 Use it.
16334 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16335
16336 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16337
16338 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16339 * progmodes/pascal.el (electric-pascal-equal):
16340 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16341 * xml.el (xml-substitute-special): Fix typos.
16342
16343 2011-11-20 Glenn Morris <rgm@gnu.org>
16344
16345 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16346 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16347 Doc fixes.
16348 (rmail-decode-mime-charset): Mark as obsolete.
16349
16350 * mail/rmailsum.el (rmail-message-regexp-p-1):
16351 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16352 Before using mime functions, check they are set. (Bug#10077)
16353
16354 2011-11-19 Juri Linkov <juri@jurta.org>
16355
16356 * info.el (Info-finder-find-node): Use `package--builtins' instead
16357 of `package-alist'. Use node names formed by the pattern "Keyword "
16358 and the keyword name.
16359
16360 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16361
16362 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16363
16364 2011-11-19 Juri Linkov <juri@jurta.org>
16365
16366 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16367 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16368 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16369 `old-history', `old-history-forward'. Add let-binding
16370 `window-selected'. Remove calls to `kill-buffer',
16371 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16372 before calling `Info-find-node', so `Info-find-node-2' will reread
16373 the Info file. Restore window positions only when `window-selected'
16374 is non-nil.
16375
16376 2011-11-19 Juri Linkov <juri@jurta.org>
16377
16378 * isearch.el (isearch-lazy-highlight-new-loop):
16379 Remove condition `(not isearch-error)'. (Bug#9918)
16380
16381 * misearch.el (multi-isearch-search-fun): Add condition
16382 `(not bound)' to ignore lazy-highlighting search.
16383 Add the search-failed message "end of multi" when the end of
16384 multi-sequence is reached. Uncapitalize the search-failed
16385 message "Repeat for next buffer".
16386
16387 * info.el (Info-search): Add the search-failed message
16388 "end of the manual" when the end of the manual is reached
16389 in Isearch mode.
16390
16391 2011-11-19 Juri Linkov <juri@jurta.org>
16392
16393 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16394 Use non-destructive `remove' instead of `delete' because
16395 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16396 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16397
16398 2011-11-19 Juri Linkov <juri@jurta.org>
16399
16400 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16401 to nil instead of binding `search-ring' and `regexp-search-ring'.
16402 (Bug#9185)
16403
16404 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16405
16406 * simple.el (line-move): Force movement by logical lines for any
16407 hscrolled window, not only when auto-hscroll-mode is on.
16408 (line-move-visual): Update doc string to that effect. (Bug#10076)
16409
16410 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16411
16412 * language/european.el (macintosh): Define as alias for mac-roman.
16413
16414 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16415
16416 * mail/rmailmm.el (rmail-mime-display-header)
16417 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16418 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16419 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16420 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16421 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16422 of a raw aref.
16423 (rmail-mime-entity-segment): To get past the tagline, move forward
16424 2 more lines, to account for the 2 empty lines that precede and
16425 follow the line with the buttons.
16426 (rmail-mime-update-tagline): Move one more line, to get past the
16427 empty line that follows the buttons in the tagline. (Bug#9520)
16428
16429 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16430
16431 * window.el (window-max-delta-1, window-min-delta-1)
16432 (window-min-size-1, window-state-get-1, window-state-put-1)
16433 (window-state-put-2): Use "window--" prefix.
16434
16435 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16436
16437 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16438 (smie-warning-count): New var.
16439 (smie-set-prec2tab): Use it.
16440 (smie-bnf->prec2): Improve warnings. Add docstring.
16441 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16442 (smie-bnf--set-class): New function.
16443 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16444 corner case.
16445
16446 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16447 (compilation-error-properties, compilation-move-to-column):
16448 Handle compilation-first-column while in the target buffer.
16449
16450 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16451 Don't hardcode point-min==1.
16452
16453 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16454 (eshell-rewrite-for-command): Remove workaround.
16455 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16456 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16457 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16458
16459 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16460
16461 2011-11-17 Glenn Morris <rgm@gnu.org>
16462
16463 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16464 Ignore buffer-local generated-autoload-file if it is the same
16465 as the global value. (Bug#10049)
16466
16467 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16468
16469 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16470 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16471 (reftex-toc-previous-heading, reftex-toc-max-level)
16472 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16473 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16474 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16475 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16476 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16477 (reftex-toc-rename-label, reftex-toc-visit-location)
16478 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16479 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16480 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16481 leaving "*toc*" only for references to the buffer.
16482
16483 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16484
16485 * window.el (window-resize, delete-window, split-window):
16486 Replace window-splits by window-combination-resize.
16487 * cus-start.el (window-splits): Replace by window-combination-resize.
16488
16489 2011-11-17 Glenn Morris <rgm@gnu.org>
16490
16491 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16492 Make bash entry derive from sh entry, not shell entry.
16493
16494 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16495
16496 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16497 local file name.
16498
16499 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16500
16501 * menu-bar.el (menu-bar-file-menu):
16502 * printing.el (pr-ps-utility):
16503 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16504 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16505 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16506 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16507 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16508 (icalendar--convert-cyclic-to-ical)
16509 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16510 (icalendar--convert-ical-to-diary)
16511 (icalendar--convert-recurring-to-diary)
16512 (icalendar--convert-non-recurring-all-day-to-diary)
16513 (icalendar-import-format-sample):
16514 * progmodes/idlw-shell.el (idlwave-shell-mode):
16515 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16516 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16517 (vhdl-ps-print-init): Fix typos.
16518
16519 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16520
16521 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16522 FSF and collapse date sequence, obscure author/maintainer email address
16523 better, remove extra version line, track relocation of author's webpage.
16524
16525 * progmodes/python.el (python-pdbtrack-input-prompt)
16526 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16527 regular python pdb prompts. Adjustments shamelessly taken exactly as
16528 suggested in EmacsWiki page (tiny change):
16529 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16530
16531 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16532
16533 * expand.el (expand-pos, expand-index, expand-point):
16534 Remove redundant info from docstring.
16535 (expand-add-abbrevs): Doc fix.
16536 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16537 (expand-sample-perl-mode-expand-list): Fix typos.
16538
16539 * net/dbus.el (dbus-event-member-name):
16540 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16541 * term/pc-win.el (msdos-create-frame-with-faces):
16542 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16543
16544 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16545
16546 * window.el (split-window, window-state-get-1)
16547 (window-state-put-1, window-state-put-2): Rename occurrences of
16548 window-nest to window-combination-limit.
16549 * cus-start.el (window-nest): Rename to window-combination-limit.
16550
16551 2011-11-16 Chong Yidong <cyd@gnu.org>
16552
16553 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16554 regexp (Bug#10033).
16555
16556 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16557
16558 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16559 `completing-read' will remove *Completions* and will preserve
16560 current-buffer for us.
16561 (tmm-add-prompt): Users of *Completions* will always (re)set its
16562 major mode.
16563 (tmm-old-comp-map): Remove.
16564
16565 2011-11-16 Glenn Morris <rgm@gnu.org>
16566
16567 * mail/rmailedit.el: Require rmailmm when compiling.
16568 (rmail-old-mime-state): New declaration.
16569 (rmail-edit-current-message): If editing a mime message,
16570 edit the "raw" message from the mbox buffer.
16571 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16572
16573 2011-11-15 Glenn Morris <rgm@gnu.org>
16574
16575 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16576 which wasn't being used. Add optional arg to force given state.
16577 (rmail-mime): Add optional arg to force given state.
16578
16579 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16580
16581 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16582 * frame.el (display-mm-dimensions-alist):
16583 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16584 (outline-move-subtree-down):
16585 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16586 (newsticker--treeview-do-get-node):
16587 * net/quickurl.el (quickurl-list-buffer-name):
16588 * progmodes/dcl-mode.el (dcl-mode):
16589 * progmodes/gdb-mi.el (gdb-mapcar*):
16590 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16591
16592 2011-11-15 Glenn Morris <rgm@gnu.org>
16593
16594 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16595 in a boolean sense, so just make it a boolean, and fix the doc.
16596 (rmail-show-mime-function, rmail-mime-feature)
16597 (rmail-require-mime-maybe): Doc fixes.
16598 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16599
16600 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16601
16602 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16603
16604 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16605 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16606 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16607 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16608
16609 2011-11-15 Glenn Morris <rgm@gnu.org>
16610
16611 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16612 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16613 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16614 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16615 (rmail-mime, rmail-show-mime): Doc fixes.
16616
16617 * term/ns-win.el (mode-line-frame-identification):
16618 Leave it alone. (Bug#10051)
16619
16620 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16621
16622 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16623 Handle empty buffers. (Bug#9978)
16624
16625 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16626
16627 * international/mule.el (define-charset):
16628 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16629 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16630 * progmodes/verilog-mode.el (verilog-backward-token):
16631 * textmodes/ispell.el (lookup-words):
16632 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16633
16634 2011-11-14 Glenn Morris <rgm@gnu.org>
16635
16636 * progmodes/executable.el
16637 (executable-make-buffer-file-executable-if-script-p):
16638 Handle file-modes returning nil.
16639
16640 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16641 message - not necessary, and causes problems. (Bug#9831)
16642
16643 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16644
16645 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16646
16647 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16648 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16649 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16650
16651 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16652
16653 * window.el (window-resize, delete-window): Use window-splits
16654 variable instead of function.
16655 (window-state-get-1, window-state-put-2, window-state-put):
16656 Don't deal with windows' splits status.
16657
16658 2011-11-12 Glenn Morris <rgm@gnu.org>
16659
16660 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16661 (apropos-documentation): Doc fixes.
16662
16663 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16664
16665 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16666 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16667
16668 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16669
16670 * electric.el (electric-indent-post-self-insert-function): Make it
16671 possible for a char to only indent in some circumstances.
16672 (electric-indent-mode): Simplify.
16673
16674 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16675
16676 * window.el (windows-with-parameter): Remove unused function.
16677 (windows-at-side): Rename to window-at-side-list.
16678 (window-check, window-atom-check, window-atom-check-1)
16679 (window-side-check, window-size-ignore, window-size-fixed-1)
16680 (window-in-direction-2): Prefix with "window--".
16681 (window-tree-1): Rename to window--subtree, fix doc-string.
16682
16683 2011-11-11 Glenn Morris <rgm@gnu.org>
16684
16685 * subr.el (eval-after-load): If FILE is already loaded,
16686 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16687
16688 2011-11-10 Glenn Morris <rgm@gnu.org>
16689
16690 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16691 Call svn via vc-svn-command rather than vc-do-command.
16692 (vc-svn-command): Add --non-interactive. (Bug#9993)
16693 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16694
16695 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16696 Add toggle-read-only. (Bug#7292)
16697 * files.el (toggle-read-only): Mention that it should only
16698 be used interactively. (Bug#10006)
16699
16700 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16701
16702 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16703 Adjust regexp for OCaml warnings.
16704
16705 * electric.el (electric-pair-post-self-insert-function): Let user
16706 turn it off buffer-locally (bug#9932).
16707
16708 * progmodes/python.el (python-beginning-of-statement):
16709 Rewrite (bug#2703).
16710
16711 * progmodes/compile.el: Better handle TABs (bug#9749).
16712 (compilation-internal-error-properties)
16713 (compilation-next-error-function): Obey the target buffer's
16714 compilation-error-screen-columns.
16715
16716 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16717
16718 * progmodes/meta-mode.el: Remove obsolete comments.
16719 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16720 Fix typos in docstrings.
16721
16722 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16723
16724 * window.el (window-size-fixed-p): Rewrite doc-string.
16725 (window-resizable-p): Rename to window--resizable-p. Update callers.
16726 (window--resizable): New function. Make all callers of
16727 window-resizable call window--resizable instead.
16728 (window-resizable): Rewrite in terms of window--resizable.
16729
16730 2011-11-08 Glenn Morris <rgm@gnu.org>
16731
16732 * progmodes/delphi.el (delphi-mode-syntax-table):
16733 Let define-derived-mode define a proper syntax table. (Bug#9994)
16734
16735 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16736
16737 * window.el: Stay away from defsubst.
16738 (window-list-no-nils): Remove.
16739 (window-state-get-1, window-state-get): Use backquote instead.
16740
16741 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16742
16743 * emacs-lisp/find-func.el (find-function-read):
16744 Fix incorrect use of default argument in `completing-read'.
16745
16746 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16747
16748 * window.el (display-buffer-function, special-display-function):
16749 Mention display-buffer-record-window but do not mention
16750 help-setup parameter in doc-strings.
16751 (window-min-delta): Fix doc-string typo.
16752
16753 2011-11-08 Chong Yidong <cyd@gnu.org>
16754
16755 * window.el (window-total-height, window-total-width): Doc fix.
16756 (window-body-size): Move from C.
16757 (window-body-height, window-body-width): Move to C.
16758
16759 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16760
16761 * window.el: Make special-display like display-buffer-alist (bug#9532).
16762 (display-buffer--special-action): New function, morphed
16763 from display-buffer--special.
16764 (display-buffer): Use it to handle special-display-buffers at higher
16765 priority (just after display-buffer-alist).
16766 (display-buffer-fallback-action, display-buffer--other-frame-action)
16767 (pop-to-buffer-same-window): Remove display-buffer--special.
16768
16769 2011-11-07 Glenn Morris <rgm@gnu.org>
16770
16771 * calendar/cal-menu.el (cal-menu-set-date-title):
16772 Do nothing if not in a calendar. (Bug#9976)
16773
16774 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16775
16776 * files.el (find-file): Always use selected-window.
16777
16778 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16779
16780 * window.el (window-combinations): Make WINDOW argument
16781 mandatory. Rewrite doc-string.
16782 (walk-window-subtree, window-atom-check, window-min-delta)
16783 (window-max-delta, window--resize-this-window)
16784 (window--resize-root-window-vertically, window-tree)
16785 (balance-windows, window-state-put): Rewrite doc-strings as to
16786 not mention the term "subwindow".
16787 (window--resize-subwindows-skip-p): Rename to
16788 window--resize-child-windows-skip-p.
16789 (window--resize-subwindows-normal): Rename to
16790 window--resize-child-windows-normal.
16791 (window--resize-subwindows): Rename to
16792 window--resize-child-windows.
16793 (window-or-subwindow-p): Rename to window--in-subtree-p.
16794
16795 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16796
16797 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16798 Ensure that mbox format messages end in two newlines (Bug#9974).
16799
16800 2011-11-06 Chong Yidong <cyd@gnu.org>
16801
16802 * window.el (window-combination-p): Function deleted; its
16803 side-effect is not used in any existing code.
16804 (window-combinations, window-combined-p): Call window-*-child
16805 directly.
16806
16807 2011-11-05 Chong Yidong <cyd@gnu.org>
16808
16809 * window.el (window-valid-p): Rename from window-any-p.
16810 (window-size-ignore, window-state-get): Callers changed.
16811 (window-normalize-window): Rename from window-normalize-any-window.
16812 New arg LIVE-ONLY, replacing window-normalize-live-window.
16813 (window-normalize-live-window): Delete.
16814 (window-combination-p, window-combined-p, window-combinations)
16815 (walk-window-subtree, window-atom-root, window-min-size)
16816 (window-sizable, window-sizable-p, window-size-fixed-p)
16817 (window-min-delta, window-max-delta, window-resizable)
16818 (window-resizable-p, window-full-height-p, window-full-width-p)
16819 (window-current-scroll-bars, window-point-1, set-window-point-1)
16820 (window-at-side-p, window-in-direction, window-resize)
16821 (adjust-window-trailing-edge, maximize-window, minimize-window)
16822 (window-deletable-p, delete-window, delete-other-windows)
16823 (record-window-buffer, unrecord-window-buffer)
16824 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16825 (quit-window, split-window, window-state-put)
16826 (set-window-text-height, fit-window-to-buffer)
16827 (shrink-window-if-larger-than-buffer): Callers changed.
16828
16829 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16830
16831 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16832 rfc2047-decode-string.
16833 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16834 warnings.
16835
16836 * window.el (window-body-height, window-body-width): Mention in
16837 the doc string that the return values are in frame's canonical
16838 units. (Bug#9949)
16839
16840 2011-11-03 Alan Mackenzie <acm@muc.de>
16841
16842 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16843 change in cc-engine.el.
16844
16845 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16846
16847 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16848
16849 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16850
16851 * window.el (quit-window): Call unrecord-window-buffer after
16852 showing another buffer in the window. (Bug#9937)
16853 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16854
16855 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16856
16857 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16858 Accept status with more than 9 shelves. (Bug#9935)
16859 Reported by Colin D Bennett <colin@gibibit.com>.
16860
16861 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16862
16863 * help.el (with-help-window): Don't reference
16864 temp-buffer-show-specifiers in doc-string.
16865
16866 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16867
16868 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16869 menu-item.
16870
16871 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16872
16873 * whitespace.el: New version 13.2.2.
16874 (whitespace-newline-mode): Disable properly. Reported by Sarah
16875 <EmacsWiki>.
16876
16877 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16878
16879 * net/newst-treeview.el: Remove "Time-stamp".
16880 (newsticker--group-manage-orphan-feeds): Do not call
16881 newsticker--treeview-tree-update.
16882 (newsticker-treeview-update, newsticker-treeview):
16883 Call newsticker--treeview-tree-update if necessary.
16884
16885 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16886
16887 * window.el (window-iso-combination-p, window-iso-combined-p)
16888 (window-iso-combinations): Remove "iso-" infix.
16889 Suggested by Chong Yidong.
16890 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16891 (window-max-delta-1, window-resize, window--resize-siblings)
16892 (window--resize-this-window, adjust-window-trailing-edge)
16893 (split-window, balance-windows-1)
16894 (shrink-window-if-larger-than-buffer):
16895 * calendar/calendar.el (calendar-generate-window):
16896 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16897
16898 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16899
16900 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16901 in place (bug#9907).
16902 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16903 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16904 (eshell-structure-basic-command, eshell-rewrite-while-command)
16905 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16906 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16907 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16908 (eshell-do-pipelines-synchronously, eshell-eval-command):
16909 Use backquotes and prefer setq to set.
16910 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16911 (eshell-macrop): Use functionp.
16912 (eshell-do-eval): Handle multiple expressions in `while' body.
16913
16914 2011-10-30 Chong Yidong <cyd@gnu.org>
16915
16916 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16917 instead of set-mark (Bug#9810).
16918
16919 2011-10-30 Chong Yidong <cyd@gnu.org>
16920
16921 * window.el (split-window-below, split-window-right): Rename from
16922 split-window-above-each-other and split-window-side-by-side
16923 respectively. All callers changed.
16924 (split-window-sensibly, split-window-sensibly): Use them.
16925 (split-window-keep-point): Doc fix.
16926
16927 * isearch.el: Add isearch-scroll property to split-window-below
16928 and split-window-right.
16929
16930 * follow.el (follow-mode):
16931 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16932 * progmodes/ada-xref.el (ada-gdb-application):
16933 * emulation/vip.el (vip-buffer-in-two-windows):
16934 * image-dired.el (image-dired-dired-with-window-configuration):
16935 * dired-x.el (dired-do-find-marked-files):
16936 * dired.el (dired-pop-to-buffer):
16937 * bs.el (bs--show-with-configuration):
16938 * vc/emerge.el (emerge-setup-windows):
16939 * textmodes/two-column.el (2C-two-columns):
16940 * textmodes/reftex-toc.el (reftex-toc):
16941 * progmodes/gdb-mi.el (gdb-setup-windows):
16942 * progmodes/fortran.el (fortran-window-create):
16943 * net/newst-treeview.el (newsticker--treeview-window-init):
16944 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16945 * emulation/tpu-edt.el (tpu-gold-map):
16946 * emulation/crisp.el (crisp-mode-map):
16947 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16948
16949 2011-10-29 Chong Yidong <cyd@gnu.org>
16950
16951 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16952
16953 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16954
16955 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16956 forged Ispell output (Bug#7904).
16957
16958 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16959
16960 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16961
16962 * doc-view.el: Avoid ugly errors about not finding nil.
16963 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16964 (doc-view-dvipdf-program, doc-view-unoconv-program)
16965 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16966 Avoid nil or absolute file name as default value.
16967 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16968
16969 2011-10-28 Alan Mackenzie <acm@muc.de>
16970
16971 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16972
16973 2011-10-28 Alan Mackenzie <acm@muc.de>
16974
16975 Amend the handling of c-beginning/end-of-defun in nested declaration
16976 scopes.
16977
16978 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16979 cc-langs.el. Change it to a defcustom.
16980
16981 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16982 cc-vars.el.
16983
16984 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16985 Prevent "class foo : bar" being spuriously recognized as a label.
16986
16987 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16988 Add parameter `inclusive' (to include enclosing braces in the region).
16989 (c-widen-to-enclosing-decl-scope): New function.
16990 (c-while-widening-to-decl-block): New macro.
16991 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16992 outward for defun boundaries, and correspondingly change symbol
16993 `respect-enclosure' to `go-outward'.
16994 (c-declaration-limits): Change algorithm to report only the "innermost"
16995 defun's boundaries.
16996
16997 2011-10-28 Deniz Dogan <deniz@dogan.se>
16998
16999 * net/rcirc.el (rcirc-mode): Use hard newlines.
17000
17001 2011-10-28 Alan Mackenzie <acm@muc.de>
17002
17003 Amend to indent and fontify macros "which include their own semicolon"
17004 correctly, using the "virtual semicolon" mechanism.
17005
17006 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17007
17008 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17009 Recode to scan one line at a time rather than having \n and \r
17010 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17011 (c-forward-label): Amend for virtual semicolons.
17012 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17013
17014 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17015 of the new C macros.
17016
17017 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17018 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17019 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17020 (c-opt-cpp-macro-define): Make into a full language variable.
17021 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17022 AWK Mode (including \n, \r) removed, no longer needed.
17023
17024 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17025 Invoke c-make-macro-with-semi-re.
17026
17027 * progmodes/cc-vars.el (c-macro-with-semi-re):
17028 (c-macro-names-with-semicolon): New variables.
17029 (c-make-macro-with-semi-re): New function.
17030
17031 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17032
17033 * vc/log-edit.el: Fill empty field rather than adding new one.
17034 (log-edit-add-field): New function.
17035 (log-edit-insert-changelog): Use it.
17036
17037 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17038
17039 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17040
17041 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17042
17043 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17044 (gdb--check-interpreter): New function.
17045 (gdb): Use it.
17046
17047 2011-10-27 Glenn Morris <rgm@gnu.org>
17048
17049 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17050 (least-positive-float, least-negative-float)
17051 (least-positive-normalized-float, least-negative-normalized-float)
17052 (float-epsilon, float-negative-epsilon):
17053 Remove unnecessary declarations.
17054
17055 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17056 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17057 (least-positive-float, least-negative-float)
17058 (least-positive-normalized-float, least-negative-normalized-float)
17059 (float-epsilon, float-negative-epsilon): Add doc-strings,
17060 based on those in cl.texi.
17061
17062 * files.el (set-visited-file-name): If the major-mode changed,
17063 reload the local variables. (Bug#9796)
17064
17065 2011-10-27 Chong Yidong <cyd@gnu.org>
17066
17067 * subr.el (change-major-mode-after-body-hook): New hook.
17068 (run-mode-hooks): Run it.
17069
17070 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17071 Use change-major-mode-before-body-hook.
17072
17073 * simple.el (fundamental-mode):
17074 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17075 change introducing fundamental-mode-hook.
17076
17077 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17078
17079 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17080
17081 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17082
17083 * ido.el (ido-file-name-all-completions-1): Do not require
17084 tramp.el explicitly. (Bug#7583)
17085
17086 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17087
17088 * progmodes/octave-mod.el:
17089 * progmodes/octave-inf.el: Update maintainer.
17090
17091 2011-10-26 Chong Yidong <cyd@gnu.org>
17092
17093 * subr.el (with-wrapper-hook): Rewrite doc.
17094
17095 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17096
17097 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17098 filenames "/method:foo:". (Bug#9793)
17099
17100 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17101
17102 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17103 (bug#9865).
17104
17105 2011-10-24 Glenn Morris <rgm@gnu.org>
17106
17107 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17108
17109 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17110
17111 * notifications.el: Add the requirement of a running D-Bus session
17112 bus to the Commentary.
17113
17114 2011-10-24 Juri Linkov <juri@jurta.org>
17115
17116 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17117 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17118 (Bug#9364)
17119
17120 2011-10-24 Juri Linkov <juri@jurta.org>
17121
17122 * info.el (Info-following-node-name-re): Add newline to the list
17123 of allowed characters for leading space. (Bug#9824)
17124
17125 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17126
17127 * progmodes/octave-inf.el (inferior-octave-mode-map):
17128 Fix C-c C-h binding.
17129 * progmodes/octave-mod.el (octave-help): Remove.
17130
17131 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17132
17133 Sync with Tramp 2.2.3.
17134
17135 * net/tramp-cache.el (top): Pacify byte-compiler using
17136 `init-file-user' and `site-run-file'.
17137
17138 * net/trampver.el: Update release number.
17139
17140 2011-10-23 Chong Yidong <cyd@gnu.org>
17141
17142 * files.el (toggle-read-only): Remove obsolete comment about
17143 version control.
17144
17145 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17146 for toggle-read-only. Note that this hasn't called vc-next-action
17147 since 2008-05-02, though it wasn't documented at the time.
17148
17149 * vc/ediff-init.el (ediff-toggle-read-only-function):
17150 Use toggle-read-only.
17151
17152 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17153
17154 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17155 of c-parse-state.
17156
17157 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17158 correct faulty logical expression.
17159 (c-parse-state-state, c-record-parse-state-state):
17160 (c-replay-parse-state-state): New defvar/defuns.
17161 (c-debug-parse-state): Use new functions.
17162
17163 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17164
17165 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17166 last fix. Use window-in-direction correctly.
17167
17168 2011-10-21 Chong Yidong <cyd@gnu.org>
17169
17170 * progmodes/idlwave.el (idlwave-mode):
17171 * progmodes/vera-mode.el (vera-mode): No need to set
17172 require-final-newline; that's done in prog-mode.
17173 Suggested by Stefan Monnier.
17174
17175 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17176
17177 * mouse.el (mouse-drag-window-above)
17178 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17179 (mouse-drag-mode-line-1, mouse-drag-header-line)
17180 (mouse-drag-vertical-line-rightward-window): Remove.
17181 (mouse-drag-line): New function.
17182 (mouse-drag-mode-line, mouse-drag-header-line)
17183 (mouse-drag-vertical-line): Call mouse-drag-line.
17184 * window.el (window-at-side-p, windows-at-side): New functions.
17185
17186 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17187
17188 * tar-mode.el (tar-grind-file-mode):
17189 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17190
17191 2011-10-21 Chong Yidong <cyd@gnu.org>
17192
17193 * progmodes/idlwave.el (idlwave-mode):
17194 * progmodes/vera-mode.el (vera-mode):
17195 Use mode-require-final-newline.
17196
17197 2011-10-20 Glenn Morris <rgm@gnu.org>
17198
17199 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17200
17201 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17202
17203 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17204
17205 2011-10-20 Chong Yidong <cyd@gnu.org>
17206
17207 * emulation/cua-base.el (cua-mode):
17208 * mail/footnote.el (footnote-mode):
17209 * mail/mailabbrev.el (mail-abbrevs-mode):
17210 * net/xesam.el (xesam-minor-mode):
17211 * progmodes/bug-reference.el (bug-reference-mode):
17212 * progmodes/cap-words.el (capitalized-words-mode):
17213 * progmodes/compile.el (compilation-minor-mode)
17214 (compilation-shell-minor-mode):
17215 * progmodes/gud.el (gud-tooltip-mode):
17216 * progmodes/hideif.el (hide-ifdef-mode):
17217 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17218 * progmodes/subword.el (subword-mode):
17219 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17220 * progmodes/which-func.el (which-function-mode):
17221 * term/tvi970.el (tvi970-set-keypad-mode):
17222 * term/vt100.el (vt100-wide-mode):
17223 * textmodes/flyspell.el (flyspell-mode):
17224 * textmodes/ispell.el (ispell-minor-mode):
17225 * textmodes/nroff-mode.el (nroff-electric-mode):
17226 * textmodes/paragraphs.el (use-hard-newlines):
17227 * textmodes/refill.el (refill-mode):
17228 * textmodes/reftex.el (reftex-mode):
17229 * textmodes/rst.el (rst-minor-mode):
17230 * textmodes/sgml-mode.el (html-autoview-mode)
17231 (sgml-electric-tag-pair-mode):
17232 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17233 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17234 * emulation/crisp.el (crisp-mode):
17235 * emacs-lisp/eldoc.el (eldoc-mode):
17236 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17237 minor mode behavior.
17238
17239 2011-10-19 Juri Linkov <juri@jurta.org>
17240
17241 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17242 the list of hard-coded chars with escape-glyph face.
17243
17244 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17245
17246 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17247
17248 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17249
17250 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17251 running process.
17252
17253 2011-10-19 Glenn Morris <rgm@gnu.org>
17254
17255 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17256 Ignore ignored files. (Bug#9726)
17257
17258 2011-10-19 Chong Yidong <cyd@gnu.org>
17259
17260 Doc fix for minor modes, stating that an omitted argument enables
17261 the mode unconditionally when called from Lisp.
17262
17263 * abbrev.el (abbrev-mode):
17264 * allout.el (allout-mode):
17265 * autoinsert.el (auto-insert-mode):
17266 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17267 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17268 (global-auto-revert-mode):
17269 * battery.el (display-battery-mode):
17270 * composite.el (global-auto-composition-mode)
17271 (auto-composition-mode):
17272 * delsel.el (delete-selection-mode):
17273 * desktop.el (desktop-save-mode):
17274 * dired-x.el (dired-omit-mode):
17275 * dirtrack.el (dirtrack-mode):
17276 * doc-view.el (doc-view-minor-mode):
17277 * double.el (double-mode):
17278 * electric.el (electric-indent-mode, electric-pair-mode):
17279 * emacs-lock.el (emacs-lock-mode):
17280 * epa-hook.el (auto-encryption-mode):
17281 * follow.el (follow-mode):
17282 * font-core.el (font-lock-mode):
17283 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17284 * help.el (temp-buffer-resize-mode):
17285 * hilit-chg.el (highlight-changes-mode)
17286 (highlight-changes-visible-mode):
17287 * hi-lock.el (hi-lock-mode):
17288 * hl-line.el (hl-line-mode, global-hl-line-mode):
17289 * icomplete.el (icomplete-mode):
17290 * ido.el (ido-everywhere):
17291 * image-file.el (auto-image-file-mode):
17292 * image-mode.el (image-minor-mode):
17293 * iswitchb.el (iswitchb-mode):
17294 * jka-cmpr-hook.el (auto-compression-mode):
17295 * linum.el (linum-mode):
17296 * longlines.el (longlines-mode):
17297 * master.el (master-mode):
17298 * mb-depth.el (minibuffer-depth-indicate-mode):
17299 * menu-bar.el (menu-bar-mode):
17300 * minibuf-eldef.el (minibuffer-electric-default-mode):
17301 * mouse-sel.el (mouse-sel-mode):
17302 * msb.el (msb-mode):
17303 * mwheel.el (mouse-wheel-mode):
17304 * outline.el (outline-minor-mode):
17305 * paren.el (show-paren-mode):
17306 * recentf.el (recentf-mode):
17307 * reveal.el (reveal-mode, global-reveal-mode):
17308 * rfn-eshadow.el (file-name-shadow-mode):
17309 * ruler-mode.el (ruler-mode):
17310 * savehist.el (savehist-mode):
17311 * scroll-all.el (scroll-all-mode):
17312 * scroll-bar.el (scroll-bar-mode):
17313 * server.el (server-mode):
17314 * shell.el (shell-dirtrack-mode):
17315 * simple.el (auto-fill-mode, transient-mark-mode)
17316 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17317 (line-number-mode, column-number-mode, size-indication-mode)
17318 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17319 * strokes.el (strokes-mode):
17320 * time.el (display-time-mode):
17321 * t-mouse.el (gpm-mouse-mode):
17322 * tool-bar.el (tool-bar-mode):
17323 * tooltip.el (tooltip-mode):
17324 * type-break.el (type-break-mode-line-message-mode)
17325 (type-break-query-mode):
17326 * view.el (view-mode):
17327 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17328 (global-whitespace-mode, global-whitespace-newline-mode):
17329 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17330
17331 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17332 Fix autogenerated docstring.
17333
17334 2011-10-19 Juri Linkov <juri@jurta.org>
17335
17336 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17337 by checking environment variables "DESKTOP_SESSION" and
17338 "XDG_CURRENT_DESKTOP". (Bug#9779)
17339
17340 2011-10-19 Juri Linkov <juri@jurta.org>
17341
17342 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17343 (browse-url-chromium-program, browse-url-chromium-arguments):
17344 New defcustoms.
17345 (browse-url-default-browser): Check for `browse-url-chromium' and
17346 call `browse-url-chromium-program'.
17347 (browse-url-chromium): New command. (Bug#9779)
17348
17349 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17350
17351 * facemenu.el (list-colors-duplicates): On Windows, detect more
17352 duplicates by assuming that only colors matching "^System" are
17353 special "system colors". (Bug#9722)
17354
17355 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17356
17357 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17358 to distinguish the author from the committer.
17359
17360 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17361
17362 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17363
17364 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17365
17366 * international/mule.el (sgml-html-meta-auto-coding-function):
17367 Add support for detecting encoding in HTML5 specified only as
17368 <meta charset="UTF-8">. Implementation just makes http-equiv and
17369 content-type parts from HTML4 encoding string optional. (Bug#9716)
17370
17371 2011-10-18 Glenn Morris <rgm@gnu.org>
17372
17373 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17374
17375 2011-10-18 Chong Yidong <cyd@gnu.org>
17376
17377 * faces.el (cursor): Doc fix.
17378
17379 2011-10-17 Chong Yidong <cyd@gnu.org>
17380
17381 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17382
17383 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17384
17385 * dirtrack.el (dirtrack): Support shell buffers with path
17386 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17387
17388 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17389
17390 * json.el: Bump version to 1.3 and note change in History.
17391 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17392
17393 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17394
17395 * comint.el (comint-insert-input, comint-send-input)
17396 (comint-get-old-input-default, comint-backward-matching-input)
17397 (comint-next-prompt): Use nil instead of `input' for field property of
17398 past user input (bug#114).
17399
17400 * minibuffer.el (completion--replace): Inherit surrounding properties
17401 (bug#114).
17402 (minibuffer-complete-and-exit): Use it.
17403
17404 * comint.el (comint--table-subvert): Quote the all-completions output
17405 (bug#9160).
17406
17407 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17408
17409 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17410
17411 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17412 window on right of selected. (Bug#9350) Reword other window
17413 entries and separate them from frame entries.
17414
17415 2011-10-15 Glenn Morris <rgm@gnu.org>
17416
17417 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17418 Doc fixes.
17419
17420 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17421
17422 * net/network-stream.el (network-stream-open-starttls):
17423 Improve detection of failure due to lack of TLS support.
17424
17425 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17426 putting the input text in front and in bold.
17427
17428 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17429
17430 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17431
17432 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17433 empty buffer.
17434
17435 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17436 unread-command-events rather than pushing yet-another event.
17437
17438 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17439
17440 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17441 the explanation of the possible choices. Make the options passed
17442 to completing-read shorter.
17443
17444 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17445
17446 * textmodes/flyspell.el (flyspell-large-region): Make sure
17447 extended character mode is used if defined (Bug#1339).
17448
17449 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17450
17451 * simple.el (what-cursor-position): Fix the display of the
17452 character info for LRE, LRO, RLE, and RLO characters by appending
17453 an invisible PDF.
17454
17455 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17456
17457 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17458 even in case of error; add debug spec; simplify data flow.
17459 (with-timeout-handler): Remove.
17460
17461 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17462
17463 Fix Bug#6019, Bug#9315.
17464
17465 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17466 complete `buffer-file-name', the local file name part could look
17467 remotely (for example on VMS).
17468
17469 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17470 `tramp-run-real-handler'.
17471 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17472 already quoted by '"'.
17473
17474 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17475 Let `file-name-handler-alist' be nil, the local file name part
17476 could look remotely (for example on VMS).
17477
17478 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17479
17480 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17481 from here...
17482 (flyspell-post-command-hook): ...to here.
17483
17484 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17485
17486 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17487 if not needed.
17488 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17489 using completion. Protect against "slow" callers.
17490 Remove the "message hack".
17491
17492 2011-10-11 Juri Linkov <juri@jurta.org>
17493
17494 * isearch.el (isearch-lazy-highlight-word): New variable.
17495 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17496 Use it. (Bug#9727)
17497
17498 2011-10-11 Glenn Morris <rgm@gnu.org>
17499
17500 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17501 like f90-previous-statement does.
17502
17503 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17504
17505 * eshell/eshell.el (eshell-command): History should be saved
17506 only in interactive use, to avoid error.
17507
17508 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17509
17510 * minibuffer.el (completion-file-name-table): Fix last change,
17511 i.e. ignore normal errors but not the other ones.
17512
17513 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17514
17515 * window.el (special-display-buffer-names)
17516 (special-display-regexps): Remove some remnants of earlier
17517 changes from doc-strings.
17518 (quit-windows-on): New function.
17519
17520 * vc/vc.el (vc-revert, vc-rollback):
17521 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17522 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17523 (Bug#6183) (Bug#7074) (Bug#7447)
17524
17525 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17526
17527 * window.el (frame-auto-hide-function): Add version tag.
17528 (Bug#9699)
17529
17530 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17531
17532 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17533 condition.
17534
17535 2011-10-09 Leo Liu <sdl.web@gmail.com>
17536
17537 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17538 (Bug#9701)
17539
17540 2011-10-08 Glenn Morris <rgm@gnu.org>
17541
17542 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17543 before the first code statement zero indent. (Bug#9690)
17544
17545 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17546
17547 * simple.el (count-words-region): Always count in the region.
17548 Report the number of lines and characters too.
17549 (count-words): New command, which counts in the buffer if the
17550 region is inactive, as count-words-region used to.
17551 (count-words--message): New function. Handle plurals.
17552 (count-lines-region): Make it an alias for count-words-region.
17553
17554 * bindings.el (esc-map): Replace count-lines-region with
17555 count-words-region.
17556
17557 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17558
17559 * window.el (window--delete): Delete dedicated frame
17560 unconditionally when argument KILL is non-nil. (Bug#9699)
17561 (switch-to-buffer): Fix doc-string typo.
17562
17563 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17564
17565 * eshell/eshell.el (eshell-command): Avoid using hooks.
17566
17567 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17568
17569 * bindings.el ([M-left],[M-right]): Bind to left-word and
17570 right-word respectively.
17571
17572 2011-10-07 Glenn Morris <rgm@gnu.org>
17573
17574 * cus-start.el (debug-on-quit): Fix custom type.
17575
17576 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17577
17578 * subr.el (define-key-after): Clarify that the function is not
17579 useful for non-menu keymaps.
17580
17581 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17582
17583 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17584
17585 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17586 in current minibuffer (Fix bug with recursive minibuffers).
17587
17588 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17589
17590 * progmodes/gdb-mi.el (gdb): Doc fix.
17591
17592 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17593
17594 * window.el (frame-auto-hide-function): New option replacing
17595 frame-auto-delete. Suggested by Stefan Monnier.
17596 (window--delete): Call frame-auto-hide-function instead of
17597 investigating frame-auto-delete.
17598 (window-point-1, set-window-point-1): New functions.
17599 (window-in-direction, record-window-buffer, window-state-get-1)
17600 (display-buffer-record-window): Use window-point-1 instead of
17601 window-point.
17602 (set-window-buffer-start-and-point): Use set-window-point-1.
17603
17604 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17605
17606 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17607
17608 2011-10-05 Glenn Morris <rgm@gnu.org>
17609
17610 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17611 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17612
17613 2011-10-05 Leo Liu <sdl.web@gmail.com>
17614
17615 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17616 works with buffer object.
17617
17618 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17619
17620 * mpc.el (mpc-tool-bar-map): Add labels.
17621
17622 2011-10-04 Glenn Morris <rgm@gnu.org>
17623
17624 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17625
17626 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17627
17628 * window.el (window--delete): New function.
17629 (frame-auto-delete): Resuscitate option.
17630 (bury-buffer, replace-buffer-in-windows)
17631 (quit-window): Rewrite using window--delete.
17632 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17633 Pass display-buffer-mark-dedicated to window--display-buffer-2
17634 (Bug#9639).
17635
17636 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17637
17638 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17639 returns a list (bug#9554). Add remote file name completion.
17640 * comint.el (comint--table-subvert): Curry and get quote&unquote
17641 functions as arguments.
17642 (comint--complete-file-name-data): Adjust call accordingly.
17643 * pcomplete.el (pcomplete--table-subvert): Remove.
17644 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17645
17646 * minibuffer.el (completion-table-case-fold): Use currying.
17647 (completion--styles-type, completion--cycling-threshold-type):
17648 New constants.
17649 (completion-styles, completion-category-overrides)
17650 (completion-cycle-threshold): Use them.
17651 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17652 completion-table-case-fold.
17653
17654 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17655
17656 * minibuffer.el (completion-category-overrides): Fix type of styles
17657 and add more user friendly tags (bug#9660).
17658
17659 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17660
17661 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17662 (mule-input-method-string): New widget.
17663 (default-input-method, language-info-custom-alist): Use it.
17664
17665 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17666
17667 * pcomplete.el: Require comint.
17668 (pcomplete--common-suffix): Remove.
17669 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17670 (pcomplete--table-subvert): Sync with comint--table-subvert.
17671 (pcomplete--entries): Use comint-completion-file-name-table.
17672 * comint.el (comint-unquote-filename): Simplify.
17673 (comint-completion-file-name-table): New function (bug#9616).
17674 (comint--complete-file-name-data): Use it.
17675
17676 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17677 (pcmpl-gnu-tar-buffer): Remove.
17678 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17679 around. Make sure pcomplete-suffix-list is only changed temporarily.
17680 Don't look inside the tar's file if it's too large.
17681
17682 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17683
17684 * cus-edit.el (custom-mode-map):
17685 * epa.el (epa-key-list-mode-map):
17686 * man.el (Man-mode-map):
17687 * startup.el (splash-screen-keymap):
17688 * simple.el (special-mode-map): Use scroll-up-command and
17689 scroll-down-command.
17690
17691 * progmodes/idlw-help.el (idlwave-help-mode-map):
17692 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17693 * net/newst-plainview.el (newsticker-mode-map):
17694 * emulation/ws-mode.el (wordstar-mode-map):
17695 * emulation/vi.el (vi-com-map):
17696 * calc/calc-graph.el (calc-graph-show-dumb):
17697 * term/sun.el (terminal-init-sun):
17698 * term/ns-win.el (global-map):
17699 * progmodes/grep.el (grep-mode-map):
17700 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17701 * mail/rmail.el (rmail-mode-map):
17702 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17703
17704 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17705 custom-safe-themes as special.
17706
17707 2011-10-01 Julien Danjou <julien@danjou.info>
17708
17709 * notifications.el (notifications-notify): Fix docstring.
17710
17711 2011-10-01 Per Starbäck <per@starback.se>
17712
17713 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17714
17715 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17716
17717 * startup.el (command-line-1): Fix last fix by inserting
17718 initial-scratch-message into *scratch* before displaying it.
17719 (Bug#9605) and (Bug#9636)
17720
17721 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17722
17723 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17724 window is hscrolled, move by logical lines. (Bug#9607)
17725 (line-move-visual): Update the doc string to the above effect.
17726
17727 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17728
17729 * window.el (display-buffer-record-window): When WINDOW is the
17730 selected window use `point' instead of `window-point'. (Bug#9626)
17731
17732 * startup.el (command-line-1): Use insert-before-markers when
17733 inserting initial-scratch-message. (Bug#9605)
17734
17735 * help.el (help-window): Remove variable.
17736
17737 2011-09-29 Glenn Morris <rgm@gnu.org>
17738
17739 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17740
17741 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17742
17743 * descr-text.el (describe-char-categories): Accept category
17744 descriptions more than one line long.
17745
17746 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17747
17748 * simple.el (delete-trailing-whitespace): Fix last change.
17749
17750 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17751 Don't confuse "y => 3" as the beginning of a `y' operation.
17752
17753 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17754 object has more than 4 slots (bug#9613).
17755
17756 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17757
17758 * subr.el (with-output-to-temp-buffer):
17759 * net/quickurl.el (quickurl, quickurl-browse-url):
17760 Fix typos in docstrings.
17761
17762 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17763
17764 * minibuffer.el (completion-styles)
17765 (completion-category-overrides): Cross reference each other in doc
17766 strings.
17767
17768 2011-09-27 Glenn Morris <rgm@gnu.org>
17769
17770 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17771 to split-string. (Bug#9606)
17772
17773 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17774
17775 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17776 (bug#9615).
17777
17778 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17779
17780 * emacs-lisp/package.el (list-packages): Fix echo area message.
17781
17782 2011-09-27 Leo Liu <sdl.web@gmail.com>
17783
17784 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17785
17786 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17787
17788 * net/dbus.el (dbus-unregister-object): Don't release services for
17789 registered signals. (Bug#9581)
17790
17791 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17792
17793 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17794 function that picks between cfengine 2 and 3 support
17795 automatically. Update docs accordingly.
17796
17797 2011-09-22 Kenichi Handa <handa@m17n.org>
17798
17799 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17800 ZERO.
17801 (indian-itrans-v5-table-for-tamil): New variable.
17802 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17803
17804 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17805
17806 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17807 that's true if the current command involved collapsing of text.
17808 It's reset to false at the beginning of the next command.
17809 (allout-post-command-business): Move the cursor to the beginning
17810 of entry if the cursor is hidden and collapsing activity just
17811 happened.
17812
17813 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17814
17815 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17816 tracking (Bug#9541).
17817
17818 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17819
17820 * net/newst-reader.el (newsticker-html-renderer)
17821 (newsticker-show-news): Automatically load html rendering package
17822 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17823 because w3m-fill-column is let-bound" and the error "Symbol's value
17824 as variable is void: w3m-fill-column".
17825
17826 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17827
17828 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17829 Release services only if they are defined. (Bug#9581)
17830
17831 2011-09-23 Richard Stallman <rms@gnu.org>
17832
17833 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17834 distinguish start of paragraph from start of its text.
17835
17836 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17837
17838 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17839 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17840 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17841
17842 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17843
17844 * international/mule-diag.el (mule-diag): Insert a newline after
17845 each fontset description.
17846
17847 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17848
17849 * simple.el (delete-trailing-whitespace):
17850 Document last change; simplify.
17851
17852 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17853
17854 * simple.el (delete-trailing-whitespace): Also delete
17855 extra newlines at the end of the buffer.
17856
17857 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17858 (picture-newline): Use forward-line so as to ignore fields.
17859
17860 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17861
17862 * subr.el (with-wrapper-hook): Fix edebug spec.
17863
17864 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17865
17866 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17867 (bug#4538).
17868
17869 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17870
17871 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17872 Fix nasty bug using wrong cached values.
17873
17874 2011-09-23 Alan Mackenzie <acm@muc.de>
17875
17876 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17877
17878 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17879
17880 * window.el (pop-to-buffer): Ensure right window is selected if we
17881 chose another frame.
17882
17883 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17884
17885 * simple.el (what-cursor-position): Use get-char-property-change
17886 and next-single-char-property-change, to be able to show display
17887 properties that come from overlays as well as text properties.
17888
17889 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17890
17891 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17892
17893 * cmuscheme.el (run-scheme, switch-to-scheme):
17894 * cus-edit.el (customize-group, custom-buffer-create)
17895 (customize-browse):
17896 * info.el (info):
17897 * shell.el (shell):
17898 * mail/sendmail.el (mail):
17899 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17900
17901 2011-09-22 Richard Stallman <rms@gnu.org>
17902
17903 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17904 move back only to line beg, don't move back over blank lines.
17905
17906 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17907
17908 * files.el (copy-directory): Set directory attributes only in case
17909 they could be retrieved from the source directory. (Bug#9565)
17910
17911 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17912
17913 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17914 (hs-find-block-beginning, hs-hide-level-recursive):
17915 Ignore strings as well as comments. (Bug#9502)
17916
17917 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17918
17919 * progmodes/sql.el (sql-comint-postgres):
17920 Convert port number to a string. (Bug#9566)
17921
17922 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17923
17924 * window.el (quit-window): Undedicate window when switching to
17925 previous buffer. Reported by Thierry Volpiatto
17926 <thierry.volpiatto@gmail.com>.
17927 (special-display-popup-frame): When popping up a new frame reset
17928 its previous buffers to nil. Simplify code.
17929
17930 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17931
17932 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17933 and process filter, as done also in `shell-command'.
17934
17935 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17936
17937 * window.el (set-window-buffer-start-and-point):
17938 Call set-window-start with NOFORCE argument t.
17939 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17940 (quit-window): Reword doc-string. Handle new format of
17941 quit-restore parameter. Don't delete window if it has a
17942 previous buffer we can show instead of the present one.
17943 (display-buffer-record-window): Rewrite using a new format for
17944 the quit-restore window parameter
17945 (special-display-popup-frame, display-buffer-same-window)
17946 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17947 (display-buffer-pop-up-window, display-buffer-use-some-window):
17948 Adapt symbol passed to display-buffer-record-window.
17949 * help.el (help-window-setup): Handle new format of quit-restore
17950 parameter.
17951
17952 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17953
17954 * faces.el (face-list): Fix docstring (bug#9564).
17955
17956 * window.el (display-buffer--action-function-custom-type):
17957 Don't include internal functions in the Custom interface.
17958
17959 2011-09-20 Juri Linkov <juri@jurta.org>
17960
17961 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17962 (Info-forward-node, Info-backward-node, Info-next-preorder)
17963 (Info-last-preorder): Use it. (Bug#9528)
17964
17965 2011-09-20 Juri Linkov <juri@jurta.org>
17966
17967 * info.el (Info-last-preorder): Visit last menu item only when
17968 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17969
17970 2011-09-20 Julien Danjou <julien@danjou.info>
17971
17972 * password-cache.el (password-cache-remove): Remove entries even if the
17973 value is nil, so that password with a nil value (negative caching) is
17974 possible to invalidate.
17975
17976 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17977
17978 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17979 all whitespace around breakpoint. (Bug#9553)
17980 (f90-find-breakpoint): Only break at whitespace inside a comment.
17981
17982 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17983
17984 * minibuffer.el (completion-file-name-table): Keep track of errors.
17985 (completion-table-with-predicate): Handle the case where pred1 is nil.
17986 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17987
17988 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17989
17990 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17991 (debugger-return-value): Signal an error if the debugging context does
17992 not await any return value.
17993
17994 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17995 * image-mode.el (image-toggle-display-text)
17996 (image-toggle-display-image): Stay away from evil `intangible'.
17997
17998 2011-09-19 Leo Liu <sdl.web@gmail.com>
17999
18000 * replace.el (occur-revert-arguments): Make it permanent-local.
18001 (occur-mode): Don't call font-lock-defontify.
18002
18003 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18004
18005 * net/ldap.el (ldap-search-internal): Don't push empty search
18006 result (Bug#9508).
18007
18008 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18009
18010 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18011
18012 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18013
18014 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18015 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18016
18017 2011-09-18 Juri Linkov <juri@jurta.org>
18018
18019 * buff-menu.el (Buffer-menu-mode-map):
18020 * dired.el (dired-mode-map):
18021 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18022 (lisp-interaction-mode-map):
18023 * emacs-lisp/package.el (package-menu-mode-map):
18024 * epa.el (epa-key-list-mode-map):
18025 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18026 (menu-bar-options-menu):
18027 * outline.el (outline-mode-menu-bar-map):
18028 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18029 * vc/vc-dir.el (vc-dir-menu-map):
18030 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18031 Capitalize non-function content words in menu item strings.
18032
18033 * dired.el (dired-mode-map): Add menu item for
18034 `image-dired-dired-toggle-marked-thumbs'.
18035
18036 2011-09-18 Juri Linkov <juri@jurta.org>
18037
18038 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18039 to `isearch-case-fold-search' and restore its original value
18040 after the `isearch-mode' call.
18041
18042 2011-09-18 Juri Linkov <juri@jurta.org>
18043
18044 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18045 because `zgrep' returns 1 for successful matches (bug#9226).
18046
18047 2011-09-18 Juri Linkov <juri@jurta.org>
18048
18049 * info.el (Info-extract-menu-node-name): Check the second match
18050 for empty string (second test-case of bug#9528).
18051 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18052 intermediate nodes to the history (first test-case of bug#9528).
18053
18054 2011-09-18 Juri Linkov <juri@jurta.org>
18055
18056 * info.el (Info-mode-syntax-table): New variable.
18057 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18058
18059 2011-09-18 Juri Linkov <juri@jurta.org>
18060
18061 * info.el (Info-file-supports-index-cookies):
18062 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18063 outputs one more line for long file names (bug#4142).
18064
18065 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18066
18067 * newcomment.el (comment-normalize-vars): If prompting for
18068 comment-start, set comment-start-skip too (Bug#8424).
18069
18070 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18071
18072 * icomplete.el: Fix previous fix of Bug#5849.
18073 (icomplete-mode): Don't set completion-show-inline-help.
18074 (icomplete-minibuffer-setup): Set completion-show-inline-help
18075 locally during icompletion.
18076
18077 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18078
18079 * woman.el (woman2-process-escapes): Don't delete unrecognized
18080 escapes (Bug#7843).
18081
18082 * files.el (inhibit-first-line-modes-regexps): Add image files.
18083 (hack-local-variables-prop-line): Return nil for malformed
18084 prop-lines (Bug#9044).
18085
18086 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18087
18088 * net/tramp.el (top): Don't require 'shell.
18089 (tramp-methods): Fix docstring.
18090 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18091 Return complete remote file name. Handle "smb" case.
18092 Use `tramp-tmpdir', if defined for the respective method.
18093 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18094
18095 * net/tramp-compat.el (top): Require 'shell.
18096
18097 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18098 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18099 `tramp-current-host'.
18100 (tramp-get-remote-tmpdir): Remove.
18101
18102 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18103 `tramp-tmpdir' entries.
18104 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18105 (tramp-smb-handle-file-attributes): Ignore errors.
18106 (tramp-smb-wait-for-output): Check also for process end.
18107
18108 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18109
18110 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18111 when sending QUIT (bug#9312).
18112
18113 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18114
18115 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18116 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18117 occur-mode-display-occurrence.
18118 (occur-edit-mode): Add usage message.
18119 (occur-cease-edit): New command.
18120 (occur-after-change-function): Use text properties to find the
18121 position of the prefix text.
18122 (occur-engine): Set stickiness of prefix text properties.
18123
18124 2011-09-17 Glenn Morris <rgm@gnu.org>
18125
18126 * progmodes/etags.el (complete-tag):
18127 Fix call to completion-in-region. (Bug#9526)
18128
18129 2011-09-17 Juri Linkov <juri@jurta.org>
18130
18131 * textmodes/ispell.el (ispell-word): Add to the error message
18132 the word, ispell program name and current dictionary (bug#9121).
18133 (ispell-tex-arg-end): Capitalize "error" in the error message.
18134
18135 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18136
18137 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18138 check. (Bug#4251)
18139
18140 2011-09-17 Juri Linkov <juri@jurta.org>
18141
18142 * window.el (window-safe-min-height, window-safe-min-width):
18143 Fix typos (followup to bug#9522).
18144
18145 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18146
18147 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18148
18149 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18150
18151 * simple.el (line-move): If goal-column is set, move by logical
18152 lines, not by display lines. (Bug#971)
18153 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18154 to reflect the above change.
18155
18156 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18157
18158 * image.el (imagemagick-register-types): Use regexp-opt.
18159
18160 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18161
18162 * window.el (display-buffer-base-action): Rename from
18163 display-buffer-default-action. Make default value empty.
18164 (display-buffer-overriding-action): Convert to defvar.
18165 (display-buffer-fallback-action): New var.
18166
18167 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18168
18169 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18170 declaration.
18171 (package--add-to-archive-contents): If there is a duplicate entry
18172 with an older version, remove it.
18173 (package-menu-mark-delete, package-menu-mark-install)
18174 (package-menu-mark-unmark): Make unused args optional.
18175 (package-menu-mark-obsolete-for-deletion):
18176 Use package-menu-get-status instead of a regexp search.
18177 (package-menu-get-status): Use tabulated-list-entry.
18178 (package-menu-mark-upgrades): New command.
18179 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18180 (package-menu-execute): Do installation before deletion.
18181 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18182 instead of checking major-mode.
18183 (package-menu--find-upgrades): New function.
18184
18185 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18186
18187 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18188 passwords in the log buffer.
18189 (smtpmail-process-filter): Update the process marker so that the
18190 "broken by peer" status message is inserted in the right place.
18191
18192 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18193
18194 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18195 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18196 bibtex-completion-at-point-function.
18197 (bibtex-completion-at-point-function): Use them.
18198
18199 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18200
18201 * mpc.el (mpc-constraints-tag-lookup): New function.
18202 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18203 also to browser "album|playlist".
18204
18205 2011-09-14 Juri Linkov <juri@jurta.org>
18206
18207 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18208 (isearch-edit-string): Use length of `isearch-string' when
18209 `isearch-fail-pos' returns nil.
18210 (isearch-message): Remove duplicate code and call
18211 `isearch-fail-pos' with arg `t'.
18212
18213 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18214
18215 * replace.el (occur-mode-goto-occurrence): Don't force using other
18216 window (Bug#9499).
18217
18218 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18219
18220 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18221
18222 * window.el (display-buffer-window): Remove.
18223 (display-buffer-record-window): Use help-setup window parameter
18224 instead of variable display-buffer-window.
18225 (display-buffer-function, special-display-buffer-names)
18226 (special-display-function): Mention help-setup parameter instead
18227 of display-buffer-window in doc-string.
18228 * help.el (help-window-setup): New argument help-window.
18229 Use help-window-setup parameter instead of display-buffer-window.
18230 Reword some messages.
18231 (with-help-window): Pass window used for displaying the buffer
18232 to help-window-setup. Don't set display-buffer-window.
18233
18234 2011-09-13 Glenn Morris <rgm@gnu.org>
18235
18236 * emacs-lisp/debug.el (debugger-make-xrefs):
18237 Preserve point. (Bug#9462)
18238
18239 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18240
18241 * window.el (window-deletable-p): Use next-frame.
18242
18243 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18244
18245 * window.el (window-auto-delete): Remove.
18246 (window-deletable-p): Remove argument FORCE. Don't deal with
18247 dedication and previous buffers.
18248 (switch-to-prev-buffer): Don't delete window.
18249 (delete-windows-on): Delete a window's frame if and only if the
18250 window is dedicated.
18251 (replace-buffer-in-windows): Delete buffer's window or frame if
18252 and only if window is dedicated.
18253 (quit-window): Handle quit-restore as before last change.
18254 (bury-buffer): Delete window only if window-deletable-p returns t.
18255
18256 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18257
18258 * window.el (window-deletable-p): Never delete the last frame on a
18259 given terminal.
18260
18261 2011-09-13 Glenn Morris <rgm@gnu.org>
18262
18263 * help.el (describe-key-briefly): Copy previous standard-output change.
18264
18265 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18266
18267 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18268
18269 2011-09-13 Glenn Morris <rgm@gnu.org>
18270
18271 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18272 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18273
18274 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18275
18276 * dired-aux.el (dired-mark-read-string): Don't return default
18277 value on empty input (Bug#9361).
18278 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18279 Omit initial minibuffer contents.
18280 (dired-do-chmod): Signal an error on empty input.
18281 (dired-mark-read-string): Don't return default on empty input.
18282
18283 * files.el (file-modes-symbolic-to-number): Doc fix.
18284
18285 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18286
18287 * international/mule-cmds.el (ucs-completions): Remove.
18288 (read-char-by-name): Use complete-with-action instead; add metadata.
18289
18290 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18291
18292 * window.el (display-buffer--action-function-custom-type)
18293 (display-buffer--action-custom-type): New vars.
18294 (display-buffer-alist, display-buffer-default-action)
18295 (display-buffer-overriding-action): Add defcustom types.
18296
18297 * frame.el (delete-other-frames): Doc fix (Bug#276).
18298
18299 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18300
18301 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18302
18303 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18304
18305 Change modes that used same-window-* vars to use switch-to-buffer.
18306
18307 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18308 Use switch-to-buffer.
18309
18310 * cus-edit.el (customize-group, custom-buffer-create)
18311 (customize-browse, custom-buffer-create-other-window):
18312 Use switch-to-buffer or switch-to-buffer-other-window.
18313
18314 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18315 (Info-prev, Info-up, Info-speedbar-goto-node)
18316 (info-display-manual): Use switch-to-buffer.
18317 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18318
18319 * mail/sendmail.el (mail): Use switch-to-buffer.
18320 (mail-recover): Use switch-to-buffer-other-window.
18321
18322 * cmuscheme.el (run-scheme, switch-to-scheme):
18323 * ielm.el (ielm):
18324 * shell.el (shell):
18325 * net/rlogin.el (rlogin):
18326 * net/telnet.el (telnet, rsh):
18327 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18328
18329 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18330
18331 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18332
18333 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18334
18335 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18336 so don't mention it (bug#9301).
18337 (dired-sort-toggle-or-edit): Clarify string further.
18338
18339 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18340 match `x', `w32' and `ns', like the manual says (bug#9029).
18341
18342 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18343 (process-kill-buffer-query-function): Mention the buffer name in
18344 the query.
18345
18346 * image-mode.el (image-next-line): The line parameter is mandatory
18347 (bug#9258).
18348
18349 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18350 which can be useful (bug#9301).
18351
18352 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18353
18354 * subr.el (match-string): Mention that the current buffer should
18355 be the same as the search was done in (bug#9282).
18356
18357 * facemenu.el: Disable the remove-* commands if the mark isn't
18358 active (bug#9162).
18359
18360 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18361
18362 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18363 of display-buffer.
18364 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18365
18366 * replace.el (occur-mode-goto-occurrence)
18367 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18368 and display-buffer.
18369
18370 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18371 display-buffer.
18372
18373 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18374 special-display and same-window variables.
18375 (mail-other-window): Use switch-to-buffer-other-window.
18376 (mail-other-frame): USe switch-to-buffer-other-frame.
18377
18378 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18379 Use display-buffer-other-frame.
18380 (gdb-display-gdb-buffer): Use pop-to-buffer.
18381
18382 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18383
18384 * progmodes/python.el: Don't set same-window-buffer-names.
18385
18386 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18387
18388 * window.el (display-buffer-alist): Add *Python*.
18389
18390 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18391
18392 * window.el (display-buffer-alist): Add entry for buffers
18393 previously handled same-window-*.
18394 (display-buffer-alist, display-buffer-default-action)
18395 (display-buffer-overriding-action): Mark as risky.
18396 (display-buffer-alist): Document action function changes.
18397 (display-buffer--same-window-action)
18398 (display-buffer--other-frame-action): New variables.
18399 (switch-to-buffer, display-buffer-other-frame): Use them.
18400 (display-buffer): Rename reuse-frame entry to reusable-frames.
18401 (display-buffer-reuse-selected-window): Function deleted.
18402 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18403 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18404 (display-buffer-special): New function.
18405 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18406 display-buffer-reuse-or-pop-window. Split off special-display
18407 part into display-buffer-special.
18408 (display-buffer-use-some-window): Don't perform any special
18409 pop-up-frames handling.
18410 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18411 (display-buffer--maybe-same-window): Rename from
18412 display-buffer-maybe-same-window.
18413
18414 * info.el: Don't set same-window-regexps.
18415 (info-setup): New function.
18416 (info-other-window, info): Call it.
18417
18418 * cus-edit.el: Don't set same-window-regexps.
18419 (customize-group): New argument.
18420 (customize-group-other-window): Use it.
18421 (customize-face, customize-face-other-window): Likewise.
18422 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18423
18424 * net/rlogin.el:
18425 * net/telnet.el:
18426 * progmodes/gud.el: Don't set same-window-regexps.
18427
18428 * cmuscheme.el:
18429 * ielm.el:
18430 * shell.el:
18431 * mail/sendmail.el:
18432 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18433
18434 2011-09-10 Juri Linkov <juri@jurta.org>
18435
18436 * isearch.el (isearch-edit-string): Remove obsolete mention of
18437 `C-w' (`isearch-yank-word-or-char') from docstring.
18438 (isearch-query-replace): Fix typo in docstring (bug#9466).
18439
18440 2011-09-10 Juri Linkov <juri@jurta.org>
18441
18442 * paren.el (show-paren-function): Don't show escaped parens.
18443 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18444
18445 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18446
18447 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18448 (mm-default-file-encoding): Remove autoload forms, they are
18449 replaced with autoload cookies in mml.el and mm-encode.el.
18450 (mail-add-attachment): New command.
18451 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18452 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18453 the doc string.
18454 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18455
18456 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18457
18458 * simple.el (count-words-region): Use buffer if there's no region
18459 (bug#9429).
18460
18461 2011-09-09 Juri Linkov <juri@jurta.org>
18462
18463 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18464 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18465 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18466
18467 2011-09-09 Alan Mackenzie <acm@muc.de>
18468
18469 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18470 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18471
18472 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18473
18474 Fix for Savannah bug#9392.
18475 * simple.el (mail-encode-mml): New defvar.
18476
18477 * mail/rmail.el (mail-encode-mml): Add a defvar.
18478 (rmail-enable-mime-composing): Default to t.
18479 (rmail-forward): Use MIME method of forwarding only if both
18480 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18481 Set mail-encode-mml non-nil if the MIME method was used.
18482
18483 * mail/sendmail.el (mml-to-mime): Add autoload form.
18484 (mail-encode-mml): Add a defvar.
18485 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18486 to nil.
18487 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18488 message through mml-to-mime, and reset mail-encode-mml to nil.
18489
18490 2011-09-09 Glenn Morris <rgm@gnu.org>
18491
18492 * woman.el (woman-if-body): When processing an .el block,
18493 do not delete the next .el block as well. (Bug#9447)
18494 (woman-special-characters): Add oq, cq, and hy characters.
18495
18496 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18497
18498 * window.el (window-deletable-p): Make sure window is live before
18499 invoking window-prev-buffers.
18500
18501 2011-09-08 Leo Liu <sdl.web@gmail.com>
18502
18503 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18504
18505 2011-09-08 Juri Linkov <juri@jurta.org>
18506
18507 * progmodes/compile.el (compilation-environment): Make it
18508 a defcustom (bug#8340).
18509
18510 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18511
18512 * window.el (frame-auto-delete): Rename to window-auto-delete.
18513 Make it control auto-deletion of windows and/or frames.
18514 (window-deletable-p): New argument FORCE. Rewrite conditions
18515 for deleting window/frame. (Bug#9419)
18516 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18517 Rewrite handling of case when window/frame can be deleted.
18518 (delete-windows-on): Call window-deletable-p with new FORCE
18519 argument t. (Bug#9456)
18520
18521 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18522
18523 * help-mode.el (help-mode): Restore autoload.
18524
18525 2011-09-07 Juri Linkov <juri@jurta.org>
18526
18527 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18528 `compilation-environment'. Set buffer-local
18529 `compilation-environment' to `thisenv' later after (funcall mode).
18530 (Bug#8340)
18531
18532 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18533 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18534 instead of replacing its value. (Bug#8340)
18535
18536 2011-09-07 Juri Linkov <juri@jurta.org>
18537
18538 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18539 based on text properties put by `grep-filter' instead of matching
18540 escape sequences.
18541 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18542 to the value of `grep-error-screen-columns' (bug#9438).
18543
18544 2011-09-07 Juri Linkov <juri@jurta.org>
18545
18546 * simple.el (next-error-highlight, next-error-highlight-no-select):
18547 Doc fix (bug#9432).
18548
18549 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18550
18551 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18552 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18553
18554 2011-09-07 Leo Liu <sdl.web@gmail.com>
18555
18556 * net/rcirc.el (rcirc-mode): Conditionally initialize
18557 rcirc-input-ring.
18558
18559 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18560
18561 * emacs-lisp/find-func.el (find-function-C-source): Only set
18562 find-function-C-source-directory after checking that we found a source
18563 file there (bug#9440).
18564
18565 2011-09-06 Alan Mackenzie <acm@muc.de>
18566
18567 * isearch.el (isearch-other-meta-char): Wherever a key list is
18568 unread, "unread" the prefix arg, too. This fixes bug #8901.
18569
18570 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18571
18572 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18573
18574 2011-09-05 Juri Linkov <juri@jurta.org>
18575
18576 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18577
18578 2011-09-05 Juri Linkov <juri@jurta.org>
18579
18580 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18581 keeping point where processing of grep matches begins, and
18582 continue to delete remaining escape sequences from the same point.
18583 (grep-filter): Make leading zero optional in "0?1;31m" because
18584 git-grep emits "\033[1;31m" escape sequences unlike expected
18585 "\033[01;31m" as GNU Grep does (bug#9408).
18586 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18587
18588 2011-09-05 Juri Linkov <juri@jurta.org>
18589
18590 * subr.el (y-or-n-p): Capitalize "yes".
18591
18592 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18593
18594 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18595 `tramp-cache-unload-hook' where appropriate.
18596 (tramp-methods): Rename `tramp-remote-sh' to
18597 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18598 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18599
18600 * net/tramp-sh.el (top): Don't require 'shell.
18601 (tramp-methods): Add `tramp-remote-shell' and
18602 `tramp-remote-shell-args' entries.
18603 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18604 (tramp-sh-handle-shell-command): Remove.
18605 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18606 Use `tramp-remote-shell'.
18607
18608 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18609
18610 * mail/sendmail.el (sendmail-query-once-function): Delete.
18611 (sendmail-query-once): Save directly to send-mail-function.
18612 Update message-send-mail-function too.
18613
18614 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18615
18616 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18617
18618 * progmodes/python.el (python-mode-map): Use correct function to
18619 start python interpreter from menu-bar (as reported by Geert
18620 Kloosterman).
18621 (inferior-python-mode-map): Fix typo.
18622 (python-shell-map): Remove.
18623
18624 2011-09-03 Deniz Dogan <deniz@dogan.se>
18625
18626 * net/rcirc.el (rcirc-print): Simplify code for
18627 rcirc-scroll-show-maximum-output. There is no need to walk
18628 through all windows to find the right one.
18629
18630 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18631
18632 * help.el (help-return-method): Doc fix.
18633
18634 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18635
18636 * window.el (window-deletable-p): Don't return a non-nil value
18637 when there's a buffer that was shown in the window before.
18638 (Bug#9419)
18639 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18640 Set window's previous buffers to nil.
18641
18642 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18643
18644 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18645 newline before and after the tag line, so it doesn't interfere
18646 with determining the paragraph direction of bidirectional text.
18647
18648 2011-09-03 Leo Liu <sdl.web@gmail.com>
18649
18650 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18651
18652 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18653
18654 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18655 (pop-to-buffer): Change interactive spec. Pass second argument
18656 directly to display-buffer.
18657 (display-buffer): Fix interactive spec. Use functionp to
18658 distinguish between a function and a list of functions.
18659
18660 * abbrev.el (edit-abbrevs):
18661 * arc-mode.el (archive-extract):
18662 * autoinsert.el (auto-insert):
18663 * bookmark.el (bookmark-bmenu-list):
18664 * files.el (find-file):
18665 * view.el (view-buffer):
18666 * progmodes/compile.el (compilation-goto-locus):
18667 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18668
18669 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18670
18671 * window.el (display-buffer-alist): Doc fix.
18672 (display-buffer): Add docstring. Don't treat
18673 display-buffer-default specially.
18674 (display-buffer-reuse-selected-window)
18675 (display-buffer-same-window, display-buffer-maybe-same-window)
18676 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18677 (display-buffer-pop-up-window)
18678 (display-buffer-reuse-or-pop-window)
18679 (display-buffer-use-some-window): New functions.
18680 (display-buffer-default-action): Use them.
18681 (display-buffer-default): Delete.
18682 (pop-to-buffer-1): Fix choice of actions.
18683
18684 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18685
18686 * minibuffer.el (completion--insert-strings): Don't get confused by
18687 completion entries that end with an LF char.
18688
18689 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18690
18691 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18692
18693 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18694
18695 * window.el (display-buffer): Restore interactive spec.
18696 (display-buffer-same-window, display-buffer-other-window):
18697 New functions.
18698 (pop-to-buffer-1): New function. Use the above.
18699 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18700 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18701
18702 * view.el (view-buffer-other-window, view-buffer-other-frame):
18703 Just use pop-to-buffer.
18704
18705 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18706
18707 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18708
18709 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18710
18711 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18712
18713 2011-08-31 Richard Stallman <rms@gnu.org>
18714
18715 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18716 of the separation of rmail-view-buffer from rmail-buffer.
18717 If you say no to "replace original", the decrypt is in the
18718 view buffer. If you say yes, the decrypt goes into the
18719 rmail buffer also.
18720
18721 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18722
18723 * window.el (display-buffer-window): Rewrite doc-string.
18724 (display-buffer-record-window): New function.
18725 (display-buffer-macro-specifiers)
18726 (display-buffer-even-window-sizes, display-buffer-set-height)
18727 (display-buffer-set-width, display-buffer-in-window)
18728 (display-buffer-reuse-window, display-buffer-split-specifiers)
18729 (display-buffer-side-specifiers, display-buffer-split-window-1)
18730 (display-buffer-split-window, display-buffer-split-atom-window)
18731 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18732 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18733 (display-buffer-other-window-means-other-frame)
18734 (display-buffer-normalize-special)
18735 (display-buffer-normalize-default)
18736 (display-buffer-normalize-argument)
18737 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18738 (display-buffer-normalize-specifiers, display-buffer-frame)
18739 (display-buffer-same-window, display-buffer-same-frame)
18740 (display-buffer-other-window)
18741 (display-buffer-same-frame-other-window)
18742 (display-buffer-other-frame, pop-to-buffer-same-window)
18743 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18744 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18745 (switch-to-buffer-same-frame)
18746 (switch-to-buffer-other-window-same-frame)
18747 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18748 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18749 (display-buffer-alist-set): Remove.
18750 (display-buffer-function, special-display-buffer-names)
18751 (special-display-regexps, special-display-function):
18752 In doc-string refer to display-buffer-window and quit-restore
18753 parameter.
18754 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18755 (special-display-frame-alist, special-display-popup-frame)
18756 (same-window-buffer-names, same-window-regexps, same-window-p)
18757 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18758 (split-window-preferred-function, split-height-threshold)
18759 (split-width-threshold, window-splittable-p)
18760 (split-window-sensibly, window--try-to-split-window)
18761 (window--frame-usable-p, even-window-heights)
18762 (window--even-window-heights, window--display-buffer-1)
18763 (window--display-buffer-2, display-buffer-other-frame):
18764 Restore old Emacs 23 code, order and doc-strings where applicable.
18765 (display-buffer-default, display-buffer-assq-regexp): New functions.
18766 (display-buffer-alist): Rewrite doc-string.
18767 (display-buffer-default-action)
18768 (display-buffer-overriding-action): New variables.
18769 (display-buffer, switch-to-buffer): Rewrite.
18770 (pop-to-buffer): Restore Emacs 23 behavior but use
18771 window-normalize-buffer-to-display.
18772 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18773 Restore Emacs 23 behavior but use
18774 window-normalize-buffer-to-switch-to.
18775 (pop-to-buffer-same-window): Rewrite.
18776 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18777 Rewrite using Emacs 23 options.
18778
18779 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18780
18781 * net/tramp.el (tramp-root-regexp): Remove.
18782 (tramp-completion-file-name-regexp-unified)
18783 (tramp-completion-file-name-regexp-separate)
18784 (tramp-completion-file-name-regexp-url): Don't use leading volume
18785 letter on w32 systems. (Bug#5303, Bug#9311)
18786 (tramp-drop-volume-letter): Simplify definition.
18787 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18788
18789 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18790
18791 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18792 (bug#9356).
18793
18794 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18795
18796 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18797
18798 2011-08-29 Juri Linkov <juri@jurta.org>
18799
18800 * isearch.el (isearch-done): Don't display message "Mark saved"
18801 when arg `edit' is non-nil to prevent its flicker in the echo area.
18802
18803 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18804
18805 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18806 obsolete packages for deletion.
18807
18808 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18809
18810 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18811 (help-mode): Derive help-mode from special-mode. Don't invoke
18812 view-mode from help-mode.
18813 (help-xref-override-view-map): Remove.
18814 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18815 view-mode is not used anymore.
18816
18817 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18818
18819 * server.el (server-port): Doc fix.
18820
18821 * cus-theme.el (custom-theme-choose-mode): Inherit from
18822 special-mode (Bug#9124).
18823 (custom-theme-choose-mode-map): Add special-mode to parent.
18824
18825 2011-08-28 Alan Mackenzie <acm@muc.de>
18826
18827 * progmodes/cc-fonts.el
18828 (c-make-font-lock-BO-decl-search-function): New function.
18829 (c-basic-matchers-after - "Fontify the clauses after various
18830 keywords"): Extract the three keyword lists for the 3 erroneous
18831 constructs from the list of four, and use the new function above
18832 in place of an old one.
18833
18834 2011-08-28 Deniz Dogan <deniz@dogan.se>
18835
18836 * net/rcirc.el (rcirc-insert-prev-input)
18837 (rcirc-insert-next-input): Remove unused argument.
18838
18839 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18840
18841 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18842
18843 2011-08-27 Alan Mackenzie <acm@muc.de>
18844
18845 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18846 handle function pointer parameters properly.
18847
18848 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18849
18850 * window.el (display-buffer-reuse-window): Fix case where
18851 selected window was reused with non-nil OTHER-WINDOW argument.
18852 (Bug#9381)
18853
18854 2011-08-27 Deniz Dogan <deniz@dogan.se>
18855
18856 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18857 oftc's NickServ messages.
18858
18859 2011-08-27 Glenn Morris <rgm@gnu.org>
18860
18861 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18862
18863 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18864
18865 * emacs-lisp/package.el (package-install): Call package-initialize
18866 if called interactively.
18867
18868 2011-08-26 Leo Liu <sdl.web@gmail.com>
18869
18870 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18871
18872 2011-08-25 Juri Linkov <juri@jurta.org>
18873
18874 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18875 `search-whitespace-regexp' (bug#9364).
18876
18877 2011-08-25 Juri Linkov <juri@jurta.org>
18878
18879 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18880 `regexp-search-ring' to their global values to protect from
18881 updating by `read-from-minibuffer' (bug#9185).
18882
18883 2011-08-25 Juri Linkov <juri@jurta.org>
18884
18885 * textmodes/ispell.el (ispell-command-loop): Add newline
18886 at the end of the "Use option `i'..." line.
18887
18888 2011-08-25 Juri Linkov <juri@jurta.org>
18889
18890 * battery.el (display-battery-mode): If `battery-status-function'
18891 or `battery-mode-line-format' is nil, display the message and set
18892 `display-battery-mode' to nil (bug#9363).
18893
18894 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18895
18896 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18897 bidi-string-mark-left-to-right; they are unnecessary now.
18898
18899 2011-08-25 Deniz Dogan <deniz@dogan.se>
18900
18901 * net/quickurl.el: Documentation typo fixes.
18902
18903 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18904
18905 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18906
18907 2011-08-25 Glenn Morris <rgm@gnu.org>
18908
18909 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18910
18911 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18912 (smtpmail-via-smtp): Handle nil response from smtp.
18913
18914 2011-08-24 Juri Linkov <juri@jurta.org>
18915
18916 * proced.el (proced-marked): Inherit from `error' instead of
18917 `font-lock-warning-face'.
18918
18919 * ibuffer.el (ibuffer-marked-face): Change default face from
18920 `font-lock-warning-face' to `warning'.
18921 (ibuffer-deletion-face): Change default face from
18922 `font-lock-type-face' to `error'.
18923
18924 * battery.el (battery-update): Use the face `error' instead of
18925 `font-lock-warning-face' (bug#6117).
18926
18927 2011-08-24 Juri Linkov <juri@jurta.org>
18928
18929 * faces.el (success): Change face color from "Green3" to
18930 "ForestGreen" on light background (bug#9353).
18931
18932 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18933
18934 * window.el (quit-window): Rename from quit-restore-window.
18935 Use same arglist as old quit-window.
18936 (frame-auto-delete): Doc fix.
18937
18938 * view.el (view-mode-exit): Use quit-window.
18939
18940 2011-08-24 Juri Linkov <juri@jurta.org>
18941
18942 * isearch.el (isearch-ring-adjust1): Start visiting previous
18943 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18944 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18945 for empty search string (when the last search string is reused
18946 automatically) to adjust the isearch ring to the last element and
18947 prepare the correct index for further M-p commands (bug#9185).
18948
18949 2011-08-24 Kenichi Handa <handa@m17n.org>
18950
18951 * international/ucs-normalize.el: If decomposition property of
18952 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18953 nil.
18954 (nfd, nfkd): Likewise.
18955
18956 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18957
18958 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18959 from process filters aren't reliably transmitted to the surrounding
18960 accept-process-output.
18961 (mpc-proc-check): New function.
18962 (mpc-proc-sync): Use it (bug#8293)
18963
18964 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18965
18966 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18967 Add compatibility functions (bug#9313).
18968
18969 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18970
18971 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18972
18973 * international/uni-bidi.el: Regenerate.
18974
18975 2011-08-23 Kenichi Handa <handa@m17n.org>
18976
18977 * international/charprop.el:
18978 * international/uni-bidi.el:
18979 * international/uni-category.el:
18980 * international/uni-combining.el:
18981 * international/uni-comment.el:
18982 * international/uni-decimal.el:
18983 * international/uni-decomposition.el:
18984 * international/uni-digit.el:
18985 * international/uni-lowercase.el:
18986 * international/uni-mirrored.el:
18987 * international/uni-name.el:
18988 * international/uni-numeric.el:
18989 * international/uni-old-name.el:
18990 * international/uni-titlecase.el:
18991 * international/uni-uppercase.el: Regenerate.
18992
18993 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18994
18995 * help.el (help-window-setup): Fix message displayed when other
18996 window is reused. (Bug#9341)
18997
18998 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18999
19000 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19001 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19002
19003 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19004 Mark obsolete.
19005 * shell.el (shell-parse-pcomplete-arguments): New function.
19006 (shell-completion-vars): Use it instead (bug#9160).
19007
19008 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19009
19010 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19011 strings and comments (bug#9333).
19012
19013 * emacs-lisp/debug.el (debug-arglist): New function.
19014 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19015 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19016
19017 2011-08-22 Juri Linkov <juri@jurta.org>
19018
19019 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19020 Revert regexp that highlights output switches to its old
19021 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19022
19023 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19024 to check for empty output (bug#9226).
19025
19026 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19027
19028 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19029 symbol-constituent as the default, as that stops font-lock from
19030 working properly (Bug#8843).
19031
19032 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19033
19034 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19035 `coding-system-for-*' around the process open call to avoid
19036 auth-source side effects.
19037 (smtpmail-try-auth-methods): Expand the secret password.
19038 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19039 probe hangs.
19040
19041 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19042
19043 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19044
19045 * emacs-lisp/find-func.el (find-function-noselect): New arg
19046 lisp-only.
19047
19048 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19049 signal an error for built-in functions (Bug#6664).
19050
19051 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19052
19053 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19054 (smtpmail-try-auth-methods): Use it.
19055
19056 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19057
19058 * font-lock.el (font-lock-fontify-region)
19059 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19060 (font-lock-default-unfontify-buffer)
19061 (font-lock-default-fontify-region)
19062 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19063
19064 * progmodes/compile.el (compilation-error-properties):
19065 Fix confusion between file struct and message struct (Bug#9319).
19066 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19067 `ant' regexp.
19068
19069 * net/browse-url.el (browse-url-firefox): Don't call
19070 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19071
19072 2011-08-20 Glenn Morris <rgm@gnu.org>
19073
19074 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19075
19076 * tutorial.el (tutorial--default-keys): Update some default bindings.
19077
19078 * files.el (hack-local-variables): Fully ignore case for "mode:".
19079
19080 2011-08-20 Alan Mackenzie <acm@muc.de>
19081
19082 Resolve invalid use of a regexp in regexp-opt.
19083
19084 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19085 detection for a java annotation.
19086
19087 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19088 detection for a java annotation.
19089
19090 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19091 handling for java.
19092 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19093
19094 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19095
19096 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19097 (Bug#9274).
19098
19099 2011-08-20 Alan Mackenzie <acm@muc.de>
19100
19101 Fontify CPP expressions correctly when starting in the middle of
19102 such a construct. Mainly for when jit-lock etc. starts a chunk
19103 here.
19104
19105 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19106 variable.
19107 (c-make-font-lock-search-form): New function, extracted from
19108 c-make-font-lock-search-function.
19109 (c-make-font-lock-search-function): Use the above function.
19110 (c-make-font-lock-context-search-function): New function.
19111 (c-cpp-matchers): Enhance the preprocessor expression case with
19112 the above function
19113 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19114 which takes an expression.
19115
19116 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19117
19118 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19119
19120 * window.el (display-buffer-reuse-window)
19121 (display-buffer-pop-up-window): Don't reuse or split a side
19122 window.
19123
19124 2011-08-19 Glenn Morris <rgm@gnu.org>
19125
19126 * files.el (hack-local-variables-prop-line, hack-local-variables):
19127 Downcase "Mode:". (Bug#9331)
19128
19129 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19130
19131 * international/characters.el: Add L and R categories.
19132
19133 * subr.el (bidi-string-mark-left-to-right): Rename from
19134 string-mark-left-to-right. Use category search.
19135
19136 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19137
19138 2011-08-18 Juri Linkov <juri@jurta.org>
19139
19140 * faces.el (error, warning, success): New faces with definitions
19141 copied from old default values of `font-lock-warning-face',
19142 `compilation-warning', `compilation-info' (bug#6117).
19143
19144 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19145
19146 * progmodes/compile.el (compilation-error): Inherit from `error'.
19147 (compilation-warning): Inherit from `warning'.
19148 (compilation-info): Inherit from `success'.
19149
19150 * dired.el (dired-marked): Inherit from `warning'.
19151 (dired-flagged): Inherit from `error'.
19152
19153 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19154
19155 * mail/smtpmail.el (auth-source): Require to avoid problems with
19156 binding variables (bug#9298). Also clean up some unused
19157 autoloads.
19158
19159 * net/network-stream.el (network-stream-open-starttls):
19160 Support using starttls.el without using gnutls-cli.
19161
19162 2011-08-17 Juri Linkov <juri@jurta.org>
19163
19164 * progmodes/grep.el (rgrep): Handle the case when
19165 `grep-find-command' is a cons cell (bug#9278).
19166
19167 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19168
19169 * window.el (display-buffer-pop-up-frame): Run frame creation
19170 function with BUFFER current (as special-display-popup-frame
19171 does). Reported by Drew Adams.
19172
19173 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19174
19175 * epa-mail.el: Simplify GnuPG group expansion using
19176 epg-expand-group.
19177 (epa-mail-group-alist, epa-mail-group-modtime)
19178 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19179 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19180 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19181 Remove.
19182
19183 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19184
19185 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19186
19187 2011-08-16 Alan Mackenzie <acm@muc.de>
19188
19189 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19190 Correct, to avoid the inside of macros.
19191
19192 2011-08-16 Richard Stallman <rms@gnu.org>
19193
19194 * epa-mail.el: Handle GnuPG group definitions.
19195 (epa-mail-group-alist, epa-mail-group-modtime)
19196 (epa-mail-gnupg-conf-file): New variables.
19197 (epa-mail-parse-groups, epa-mail-sync-groups)
19198 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19199 (epa-mail-expand-recipients): New functions.
19200 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19201
19202 * mail/rmail.el (rmail-epa-decrypt): New command.
19203
19204 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19205 Don't bind buffer-read-only, just inhibit-read-only.
19206 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19207 (epa-decrypt-armor-in-region): Make error message clearer.
19208
19209 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19210
19211 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19212 and "a2b" to "ab" for `prefix'.
19213
19214 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19215
19216 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19217 filter groups.
19218 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19219 Fourquet (Bug#8804).
19220
19221 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19222
19223 * startup.el (argi): Declare as global variable (bug#9275).
19224
19225 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19226
19227 * subr.el (string-mark-left-to-right): Search the entire string
19228 for RTL script, not just the terminating character. Doc fix.
19229
19230 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19231
19232 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19233 New function.
19234 (js--regexp-literal, js-syntax-propertize-function): Remove.
19235 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19236 (js-mode-map): Don't rebind electric keys.
19237 (js-insert-and-indent): Remove.
19238 (js-mode): Setup electric-layout and electric-indent instead.
19239
19240 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19241
19242 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19243
19244 * epa.el (epa-progress-callback-function): Fix the logic of
19245 displaying progress.
19246 * epa-file.el (epa-file-insert-file-contents): Make progress
19247 display more user-friendly.
19248 (epa-file-write-region): Ditto.
19249
19250 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19251
19252 * subr.el (string-mark-left-to-right): New function.
19253
19254 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19255 Use string-mark-left-to-right.
19256 (list-buffers-noselect): Caller changed.
19257
19258 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19259 Use string-mark-left-to-right.
19260 (tabulated-list-print): Recenter after moving point.
19261
19262 2011-08-10 Juri Linkov <juri@jurta.org>
19263
19264 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19265 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19266 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19267
19268 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19269
19270 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19271 (Bug#7554).
19272
19273 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19274
19275 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19276 character. (Bug#6594)
19277
19278 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19279
19280 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19281 (image-dired--with-db-file): New macro.
19282 (image-dired-write-tags, image-dired-remove-tag)
19283 (image-dired-create-gallery-lists, image-dired-write-comments)
19284 (image-dired-get-comment, image-dired-mark-tagged-files)
19285 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19286 (image-dired-gallery-generate): Use insert-file-contents.
19287
19288 * time.el (display-time-world-list, display-time-world-display):
19289 * time-stamp.el (time-stamp-string):
19290 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19291 set-time-zone-rule (Bug#7337).
19292
19293 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19294
19295 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19296 (epg-error-to-string, epg-errors-to-string): New function.
19297 (epg-wait-for-completion): Reverse errors list.
19298 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19299 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19300 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19301 (epg-sign-keys, epg-generate-key-from-file)
19302 (epg-generate-key-from-string): Format errors by using
19303 epg-errors-to-string (bug#9255).
19304 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19305
19306 2011-08-07 Juri Linkov <juri@jurta.org>
19307
19308 * faces.el (list-faces-display): Remove extra angle bracket
19309 from `help-mode-map'.
19310
19311 * info.el (Info-history-toc-nodes): Doc fix.
19312
19313 * longlines.el (longlines-mode): Doc fix.
19314
19315 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19316
19317 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19318 of statements and in a few more cases (bug#9183).
19319
19320 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19321 New functions.
19322 (cl-transform-lambda): Use them (bug#9239).
19323
19324 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19325
19326 * window.el (display-buffer-same-window)
19327 (display-buffer-same-frame, display-buffer-other-window)
19328 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19329 (pop-to-buffer-other-window)
19330 (pop-to-buffer-same-frame-other-window)
19331 (pop-to-buffer-other-frame): Make them defuns.
19332 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19333
19334 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19335
19336 * subr.el (make-composed-keymap): Move from C. Change calling
19337 convention, and improve docstring to bring attention to a subtle point.
19338 * minibuffer.el (completing-read-default): Adjust accordingly.
19339
19340 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19341
19342 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19343 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19344
19345 * net/trampver.el: Update release number.
19346
19347 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19348
19349 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19350 "in" (bug#9190).
19351
19352 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19353
19354 * mail/sendmail.el (sendmail-query-once): Restore the current
19355 buffer after querying (bug#9074).
19356
19357 * dired.el (dired-flagged): Use different faces for marked and
19358 flagged files (bug#6117).
19359
19360 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19361 (bug#4433).
19362
19363 * ido.el (ido-mode): Switch off the message if called
19364 non-interactively.
19365
19366 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19367 before 587, since it appears that that's more likely to work for
19368 more people.
19369
19370 * cus-edit.el (custom-file): When running under emacs -q, always
19371 refuse to save the customizations, even if the .emacs file doesn't
19372 exist.
19373
19374 * info.el: Remove the `Info-beginning-of-buffer' function
19375 (bug#8325).
19376
19377 * net/network-stream.el (network-stream-open-starttls):
19378 Use `starttls-available-p' to see whether starttls.el can be used.
19379
19380 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19381
19382 * window.el (display-buffer-in-window): Don't set dedicated status
19383 of window here (Bug#9215).
19384 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19385 (display-buffer-pop-up-side-window)
19386 (display-buffer-in-side-window): Set dedicated status of window here.
19387
19388 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19389
19390 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19391 before binding generated-autoload-file.
19392
19393 2011-08-01 Deniz Dogan <deniz@dogan.se>
19394
19395 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19396
19397 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19398
19399 Sync with Tramp 2.2.2.
19400
19401 * net/trampver.el: Update release number.
19402
19403 2011-07-30 Juri Linkov <juri@jurta.org>
19404
19405 * dired-aux.el (dired-touch-initial): Remove function.
19406 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19407 current time, and `default' to the last modification time of the
19408 current marked file (bug#6887).
19409
19410 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19411
19412 * simple.el (goto-line): Use string-to-number to provide a
19413 numeric argument to read-number (bug#9163).
19414
19415 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19416
19417 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19418 connection process, it could be nil.
19419
19420 2011-07-27 Leo Liu <sdl.web@gmail.com>
19421
19422 Simplify url handling in rcirc-mode.
19423
19424 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19425 (rcirc-browse-url-at-mouse): Remove.
19426 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19427
19428 2011-07-26 Alan Mackenzie <acm@muc.de>
19429
19430 Fontify bitfield declarations properly.
19431
19432 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19433 (c-symbol-chars): Now exported as a lang variable.
19434 (c-not-primitive-type-keywords): New lang variable.
19435
19436 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19437 QT keyword "more" to prevent "more slots: ...." being spuriously
19438 parsed as a bitfield declaration.
19439
19440 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19441 Refactor and enhance to handle bitfield declarations.
19442 (c-punctuation-in): New function.
19443 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19444 declarations properly.
19445
19446 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19447
19448 * calendar/icalendar.el (icalendar--all-events): Take care of
19449 multiple vcalendars in a single file.
19450 (icalendar--convert-float-to-ical): Checkdoc fixes.
19451
19452 2011-07-25 Deniz Dogan <deniz@dogan.se>
19453
19454 * image.el (insert-image): Clarifying docstring.
19455
19456 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19457
19458 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19459 `tramp-send-command-and-check' if there is no error.
19460 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19461
19462 2011-07-22 Alan Mackenzie <acm@muc.de>
19463
19464 Prevent cc-langs.elc being loaded at run time.
19465
19466 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19467 cc-langs.
19468
19469 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19470 "(require 'cc-langs)". Quote a form so it will evaluate at
19471 (cc-mode's) compilation time.
19472
19473 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19474
19475 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19476 loading. (Bug#9114)
19477
19478 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19479
19480 * window.el (display-buffer-pop-up-window)
19481 (display-buffer-pop-up-side-window)
19482 (display-buffer-in-side-window): Call display-buffer-set-height
19483 and display-buffer-set-width after setting the new window's
19484 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19485
19486 2011-07-20 Sam Steingold <sds@gnu.org>
19487
19488 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19489 (etags-tags-included-tables): Call `convert-standard-filename' on
19490 the file names contained in TAGS so that windows Emacs can handle
19491 TAGS files created by cygwin ctags.
19492
19493 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19494
19495 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19496 which apparently didn't work.
19497
19498 2011-07-19 Roland Winkler <winkler@gnu.org>
19499
19500 * proced.el (proced-send-signal): For *Marked Processes* buffer
19501 put point at beginning of buffer.
19502
19503 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19504
19505 * proced.el (proced-format): Make header lines align with the text
19506 (bug#1779).
19507
19508 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19509
19510 * view.el (view-buffer): Allow running in `special' modes if we're
19511 visiting a file (bug#8615).
19512
19513 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19514
19515 * window.el (display-buffer-alist-of-strings-p)
19516 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19517 New functions.
19518 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19519 more accurately.
19520
19521 2011-07-18 Alan Mackenzie <acm@muc.de>
19522
19523 Fontify declarators properly when, e.g., a jit-lock chunk begins
19524 inside a declaration.
19525
19526 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19527
19528 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19529 New function.
19530 (c-complex-decl-matchers): Insert reference to
19531 c-font-lock-enclosing-decls.
19532
19533 * progmodes/cc-engine.el (c-backward-single-comment):
19534 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19535 to nil around calls to (forward-comment -1).
19536
19537 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19538
19539 * image.el (put-image): Doc typo fix.
19540
19541 * progmodes/etags.el (tags-search): Doc typo fix.
19542
19543 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19544 password if we get errors 550 to 554.
19545
19546 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19547
19548 * net/gnutls.el (gnutls-log-level): Remove.
19549
19550 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19551 indentation character (bug#6380).
19552
19553 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19554
19555 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19556 to clarify what the problem is (bug#4291).
19557
19558 * simple.el (current-kill): Clarify what
19559 `interprogram-paste-function' does (bug#7500).
19560 (auto-fill-mode): Document `auto-fill-function' in relation to
19561 `auto-fill-mode' (bug#2470).
19562
19563 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19564
19565 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19566 method if slot is read-only (bug#9035).
19567
19568 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19569
19570 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19571 * window.el (pop-to-buffer): Select window used even if it was
19572 selected before, see discussion of (Bug#8615), (Bug#6954).
19573 Pass argument NORECORD on to select-frame-set-input-focus.
19574
19575 2011-07-15 Glenn Morris <rgm@gnu.org>
19576
19577 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19578 Respect help-form.
19579
19580 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19581
19582 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19583 (gnutls-negotiate): Use it.
19584
19585 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19586
19587 * net/gnutls.el (gnutls-negotiate):
19588 Upcase `gnutls-algorithm-priority'.
19589
19590 2011-07-15 Glenn Morris <rgm@gnu.org>
19591
19592 * jka-compr.el (jka-compr-verbose): Move from here...
19593 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19594 Add missing :version tag.
19595 * info.el: No need to require jka-compr when compiling.
19596
19597 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19598
19599 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19600 (gnutls-negotiate): Use it.
19601
19602 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19603
19604 * info.el (Info-beginning-of-buffer): New command.
19605 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19606 announcing `b' as the key (bug#8325).
19607 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19608
19609 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19610
19611 * international/mule-cmds.el
19612 (describe-specified-language-support): Make the error message
19613 clearer (bug#8905).
19614
19615 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19616
19617 * isearch.el (isearch-barrier): Add a doc string, since it's
19618 mentioned in a function doc string (bug#8678).
19619
19620 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19621
19622 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19623 buffer argument (Bug#9083) and self-identifying label argument.
19624
19625 2011-07-15 Glenn Morris <rgm@gnu.org>
19626
19627 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19628
19629 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19630
19631 * man.el (Man-fontify-manpage): Fix message when formatting the
19632 man page (bug#7929).
19633
19634 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19635
19636 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19637 argument LRM; if non-nil, append an invisible LRM character to the
19638 buffer name.
19639 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19640 last argument non-nil, when formatting buffer names.
19641 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19642 paragraph direction.
19643
19644 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19645
19646 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19647 the man page name (bug#7929).
19648
19649 * image.el (put-image): Mention the `put-image' overlay property
19650 (bug#7834).
19651
19652 * scroll-bar.el (set-scroll-bar-mode): Mention that
19653 `scroll-bar-mode' lists the values (bug#7772).
19654
19655 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19656 command (bug#7729).
19657
19658 * rect.el (apply-on-rectangle): Return the point after the last
19659 operation.
19660 (string-rectangle): Go to the point after the last operation
19661 (bug#7522).
19662
19663 * printing.el (pr-toggle-region): Clarify the documentation
19664 slightly (bug#7493).
19665
19666 * time.el (display-time-update):
19667 Allow `display-time-mail-function' to return nil (bug#7158).
19668 Fix suggested by Detlev Zundel.
19669
19670 * vc/diff.el (diff): Clarify the order the file names are read
19671 (bug#7111).
19672
19673 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19674 the doc string (bug#7015).
19675
19676 * font-lock.el (font-lock-maximum-decoration): Mention what
19677 numeric levels mean (bug#6935).
19678
19679 * startup.el (initial-buffer-choice): Don't mention the `none'
19680 selection, which is against policy.
19681
19682 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19683
19684 * window.el (display-buffer-normalize-special):
19685 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19686
19687 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19688
19689 * subr.el (version<, version<=, version=): Mention "-CVS" and
19690 "-12345" alpha version numbers.
19691
19692 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19693
19694 * bindings.el: Add advertised binding for set-mark-command
19695 (Bug#5772).
19696
19697 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19698
19699 * bindings.el (mode-line-other-buffer):
19700 * bookmark.el (bookmark-bmenu-2-window):
19701 * bs.el (bs-cycle-next, bs-cycle-previous):
19702 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19703 switch-to-buffer.
19704
19705 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19706 Delete.
19707
19708 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19709
19710 * follow.el (follow-debug-message, follow-redisplay):
19711 * jka-cmpr-hook.el (with-auto-compression-mode):
19712 Fix typos in docstrings.
19713
19714 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19715
19716 * subr.el (with-silent-modifications): Clarify somewhat what the
19717 macro inhibits (bug#6525).
19718
19719 * simple.el (eval-expression): Note what it does if called
19720 interactively (bug#6495).
19721
19722 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19723
19724 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19725 Use pop-to-buffer buffer-or-name if it is nil.
19726
19727 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19728 Remove switch-to-buffer.
19729
19730 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19731
19732 * files.el (make-directory): Clarify that an error will be raised
19733 if there's an error (bug#6397).
19734
19735 * startup.el (initial-buffer-choice): Add `none' as a choice
19736 (bug#6234).
19737
19738 * subr.el (add-hook): Clarify section about buffer-local hooks
19739 (bug#6218).
19740
19741 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19742
19743 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19744
19745 * tabify.el (untabify): Preserve the current column so that point
19746 doesn't move (bug#6032).
19747
19748 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19749
19750 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19751 Rewrite to avoid awkward possessive "s" (bug#5986).
19752
19753 2011-07-13 Glenn Morris <rgm@gnu.org>
19754
19755 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19756 (dired-insert-directory): Give a message the first time
19757 if ls is found not to support --dired.
19758
19759 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19760
19761 * simple.el (toggle-truncate-lines): Clarify what is toggled
19762 (bug#5580). Text by Drew Adams.
19763
19764 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19765
19766 * simple.el (blink-matching-open): Make the error message from the
19767 last change less verbose.
19768
19769 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19770
19771 * font-lock.el (font-lock-comment-face): Use the high contrast
19772 "yellow" color for font-lock-comment-face on low color terminals
19773 using a dark background color (bug#4221).
19774
19775 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19776
19777 * dired.el (dired-insert-set-properties): Make the doc string
19778 reflect what it does now (bug#5325).
19779
19780 * simple.el (blink-matching-open): Say that we were unable to find
19781 the match within the limit, if we're limited (bug#5122).
19782
19783 * international/mule-cmds.el (prefer-coding-system): Add an
19784 example (bug#4869).
19785
19786 * progmodes/etags.el (tags-search): Document `file-list-form'
19787 (bug#4731).
19788
19789 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19790
19791 * net/browse-url.el (browse-url-default-browser)
19792 (browse-url-browser-function): Make the default browser choice a
19793 bit more logical (bug#4300). Also clean up the doc string.
19794
19795 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19796
19797 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19798 binary endings (bug#4440).
19799
19800 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19801
19802 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19803 which can be pretty annoying (bug#8971).
19804
19805 * jka-compr.el (jka-compr-verbose): New variable, and use
19806 throughout (bug#8971).
19807
19808 * info.el (Info-find-file): Fall back on the installation
19809 directory if we can't find the info node anywhere else.
19810
19811 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19812
19813 * vc/vc.el (vc-revert-file):
19814 Don't set file time-stamp in the past. (Bug#5181)
19815
19816 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19817
19818 * files.el (after-find-file): Give a better error message when
19819 trying to find a symlink that points to a file that doesn't exist
19820 (bug#4398).
19821
19822 * progmodes/cc-vars.el: Remove (probably) misleading comment
19823 (bug#4396).
19824
19825 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19826
19827 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19828
19829 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19830
19831 * mouse-sel.el: Hack restoring functionality, while keeping
19832 compatibility with 2010-07-03 changes to mouse selection.
19833 (mouse-sel-primary-overlay): New var.
19834 (mouse-sel-selection-alist): Use it.
19835 (mouse-sel-mode): Doc fix; remove points that are default features
19836 of mouse.el.
19837
19838 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19839
19840 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19841 Fix previous fix (bug#2490).
19842
19843 2011-07-12 Roland Winkler <winkler@gnu.org>
19844
19845 * textmodes/bibtex.el (bibtex-initialize):
19846 Use pop-to-buffer-same-window.
19847 (bibtex-search-entries): Fix interactive call.
19848
19849 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19850
19851 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19852 Fontise bytecomp Error lines more correctly (bug#2490).
19853 Fix suggested by Johan Bockgård.
19854
19855 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19856
19857 * dired-x.el (dired-guess-default): Use `delete-dups'.
19858
19859 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19860
19861 * dired.el (dired-mark-prompt):
19862 * dired-aux.el (dired-read-shell-command): Doc fix.
19863
19864 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19865
19866 * mail/sendmail.el (sendmail-query-once):
19867 Use `customize-save-variable' unconditionally, now that it works under
19868 emacs -Q.
19869
19870 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19871
19872 * cus-edit.el (custom-file): Take an optional no-error variable.
19873 (customize-save-variable): Set the variable, and give a warning if
19874 running under "emacs -q".
19875
19876 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19877
19878 * loadhist.el (unload-feature-special-hooks):
19879 Add `auto-coding-functions', `fill-nobreak-predicate' and
19880 `find-directory-functions' (bug#5327).
19881
19882 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19883
19884 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19885
19886 * cus-edit.el (custom-guess-name-alist): -alist variables should
19887 use the `alist' type (bug#3120). Suggested by Drew Adams.
19888
19889 * printing.el: Add documentation to all the `pr-toggle-' commands.
19890
19891 2011-07-11 Leo Liu <sdl.web@gmail.com>
19892
19893 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19894 backends where it makes sense (bug#2623).
19895
19896 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19897
19898 * dired-x.el (dired-guess-default): Remove duplicate shell command
19899 entries (bug#2028).
19900 (dired-guess-default): Fix grammar in doc string (bug#2028).
19901 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19902
19903 * subr.el (remove-duplicates): New conveniency function.
19904
19905 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19906
19907 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19908 (bug#1526).
19909
19910 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19911
19912 * window.el (display-buffer-normalize-default): Don't invert
19913 meaning of even-window-heights. Reported by Eli Zaretskii
19914 <eliz@gnu.org>.
19915
19916 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19917
19918 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19919
19920 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19921
19922 * window.el (display-buffer): Fix arguments to
19923 display-buffer-reuse-window in last change.
19924
19925 * faces.el (link): Use a less saturated blue on light backgrounds.
19926
19927 * startup.el (fancy-startup-text, fancy-about-text)
19928 (fancy-startup-tail): Use font-lock faces, for background safety.
19929
19930 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19931
19932 * emulation/viper-cmd.el (viper-change-state-to-vi):
19933 Limit triggering of abbrev expansion (Bug#9038).
19934
19935 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19936
19937 * window.el (display-buffer-default-specifiers): Remove.
19938 (display-buffer-macro-specifiers): Remove default specifiers.
19939 (display-buffer-alist): Default to nil.
19940 (display-buffer-reuse-window): New optional argument other-window.
19941 (display-buffer-pop-up-window): Allow splitting internal
19942 windows. Check whether a live window was created.
19943 (display-buffer-other-window-means-other-frame)
19944 (display-buffer-normalize-arguments): Rename to
19945 display-buffer-normalize-argument and rewrite. Set the
19946 other-window specifier.
19947 (display-buffer-normalize-special): New function.
19948 (display-buffer-normalize-options): Rename to
19949 display-buffer-normalize-default and rewrite.
19950 (display-buffer-normalize-options-inhibit): Remove.
19951 (display-buffer-normalize-specifiers): Rewrite.
19952 (display-buffer): Process other-window specifier and call
19953 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19954 more faithfully.
19955 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19956 (display-buffer-alist-set): Don't handle 'unset default values.
19957 (display-buffer-in-window, display-buffer-alist-set):
19958 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19959 <tassilo@member.fsf.org>.
19960
19961 2011-07-09 Leo Liu <sdl.web@gmail.com>
19962
19963 * register.el (insert-register): Restore accidental change on
19964 2011-06-26. (Bug#9028)
19965
19966 2011-07-09 Glenn Morris <rgm@gnu.org>
19967
19968 * subr.el (remq): Handle the empty list. (Bug#9024)
19969
19970 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19971
19972 * mail/sendmail.el (send-mail-function): No longer delay custom
19973 initialization.
19974 * custom.el (custom-initialize-delay): Doc fix.
19975
19976 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19977
19978 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19979
19980 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19981
19982 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19983 human-friendly prompt.
19984
19985 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19986
19987 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19988 provided by a particular plugin.
19989
19990 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19991
19992 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19993 save customizations (with "emacs -Q"), just set the variable
19994 instead of erroring out.
19995
19996 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19997
19998 2011-07-08 Juri Linkov <juri@jurta.org>
19999
20000 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20001 (archive-zip-update-case): Use 7z if found by `executable-find'.
20002 The order of searching the available programs is the same as in
20003 `archive-zip-extract' (bug#8968).
20004
20005 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20006
20007 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20008 (menu-bar-options-menu): Tweak descriptions.
20009
20010 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20011
20012 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20013 menu items into verb phrases (bug#1421). Also refill to fit under
20014 80 columns.
20015
20016 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20017
20018 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20019 (Info-read-node-name): Doc fix (Bug#1084).
20020
20021 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20022 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20023 (end-of-sexp, beginning-of-sexp)
20024 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20025 (forward-symbol, forward-same-syntax, word-at-point)
20026 (sentence-at-point): Doc fix (Bug#1144).
20027
20028 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20029
20030 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20031 should cover it (bug#1281).
20032
20033 * cus-edit.el (custom-show): Mark as obsolete.
20034
20035 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20036 negotiation fails, then possibly try again with a non-encrypted
20037 connection (bug#9017).
20038
20039 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20040 be used.
20041
20042 2011-07-07 Richard Stallman <rms@gnu.org>
20043
20044 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20045 property, and handle its changed format.
20046 Look for the correct line number.
20047 Use file's line contents (but not past first =) to find
20048 correct line in message.
20049
20050 2011-07-07 Kenichi Handa <handa@m17n.org>
20051
20052 * international/characters.el (build-unicode-category-table):
20053 Delete it.
20054 (unicode-category-table): Set it by unicode-property-table-internal.
20055
20056 * international/mule-cmds.el (char-code-property-alist): Move to
20057 to src/chartab.c.
20058 (get-char-code-property): Call unicode-property-table-internal to
20059 load a file. Call get-unicode-property-internal where necessary.
20060 (put-char-code-property): Call unicode-property-table-internal to
20061 load a file. Call put-unicode-property-internal where necessary.
20062 put-unicode-property-internal where necessary.
20063 (char-code-property-description):
20064 Call unicode-property-table-internal to load a file.
20065
20066 * international/charprop.el:
20067 * international/uni-bidi.el:
20068 * international/uni-category.el:
20069 * international/uni-combining.el:
20070 * international/uni-comment.el:
20071 * international/uni-decimal.el:
20072 * international/uni-decomposition.el:
20073 * international/uni-digit.el:
20074 * international/uni-lowercase.el:
20075 * international/uni-mirrored.el:
20076 * international/uni-name.el:
20077 * international/uni-numeric.el:
20078 * international/uni-old-name.el:
20079 * international/uni-titlecase.el:
20080 * international/uni-uppercase.el: Regenerate.
20081
20082 * loadup.el: Load international/charprop.el before
20083 international/characters.
20084
20085 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20086
20087 * window.el (next-buffer, previous-buffer): Signal an error if
20088 called from a minibuffer window.
20089
20090 * bindings.el: Revert 2011-07-04 change.
20091
20092 2011-07-06 Richard Stallman <rms@gnu.org>
20093
20094 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20095 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20096 Treat markers like ints.
20097 (rmail-mime-entity): Doc fix.
20098
20099 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20100
20101 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20102 defcustom again for backwards compatibility.
20103
20104 * simple.el (shell-command-on-region): Fill.
20105
20106 * dired-aux.el (dired-kill-line): Add a doc string.
20107
20108 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20109 to "\\sw\\|\\s_" (bug#358).
20110
20111 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20112 (dired-unmark-backward): Ditto.
20113 (dired-flag-backup-files): Ditto.
20114
20115 * dired-x.el (dired-mark-sexp): Ditto.
20116
20117 2011-07-06 Richard Stallman <rms@gnu.org>
20118
20119 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20120 (rmail-mime-entity): New arg TRUNCATED.
20121 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20122 New functions.
20123 (rmail-mime-save): Warn if entity is truncated.
20124 (rmail-mime-toggle-hidden): Likewise, for showing.
20125 (rmail-mime-process-multipart): Record when an entity is truncated.
20126
20127 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20128 if ENTITY is a string.
20129
20130 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20131
20132 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20133 of faces when `M-C-x'-ing their definitions (bug#8378).
20134 Also clean up the code slightly.
20135
20136 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20137 because that makes the colors go away.
20138
20139 * mail/sendmail.el (send-mail-function): Change the default to
20140 `sendmail-query-once'.
20141 (sendmail-query-once): Add an autoload cookie.
20142
20143 * net/network-stream.el (network-stream-open-starttls): Try using
20144 a plain connection even if the server offered STARTTLS, and we
20145 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20146 capability. This should make smtpmail.el work in slightly more
20147 configurations.
20148
20149 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20150
20151 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20152 New defun.
20153 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20154
20155 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20156
20157 * progmodes/sql.el: Version 3.0
20158 (sql-product-alist): Add product :completion-object,
20159 :completion-column, and :statement attributes.
20160 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20161 (sql-mode-syntax-table): Mark all punctuation.
20162 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20163 ansi keywords.
20164 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20165 (sql-mode-oracle-font-lock-keywords): Improve.
20166 (sql-oracle-show-reserved-words): New function for development.
20167 (sql-product-font-lock): Simplify for source code buffers.
20168 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20169 New functions.
20170 (sql-highlight-product): Set product specific syntax table.
20171 (sql-mode-map): Add statement movement functions.
20172 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20173 New variable.
20174 (sql-statement-regexp, sql-beginning-of-statement)
20175 (sql-end-of-statement, sql-signum): New functions.
20176 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20177 (sql-show-sqli-buffer): Bug fix.
20178 (sql-interactive-mode): Store connection data as buffer local.
20179 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20180 with sql-interactive-mode.
20181 (sql-save-connection): Save buffer local settings.
20182 (sql-connection-menu-filter): Change menu entry name.
20183 (sql-product-interactive): Bug fix.
20184 (sql-preoutput-hold): New variable.
20185 (sql-interactive-remove-continuation-prompt): Bug fixes.
20186 (sql-debug-redirect): New variable.
20187 (sql-str-literal): New function.
20188 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20189 Redesign.
20190 (sql-oracle-save-settings, sql-oracle-restore-settings)
20191 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20192 (sql-completion-object, sql-completion-column)
20193 (sql-completion-sqlbuf): New variables.
20194 (sql-build-completions-1, sql-build-completions)
20195 (sql-try-completion): New functions.
20196 (sql-read-table-name): Use them.
20197 (sql-contains-names): New buffer local variable.
20198 (sql-list-all, sql-list-table): Use it.
20199 (sql-oracle-completion-types): New variable.
20200 (sql-oracle-completion-object, sql-sqlite-completion-object)
20201 (sql-postgres-completion-object): New functions.
20202
20203 2011-07-06 Glenn Morris <rgm@gnu.org>
20204
20205 * window.el (pop-to-buffer): Doc fix.
20206
20207 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20208
20209 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20210
20211 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20212
20213 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20214
20215 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20216
20217 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20218
20219 * button.el (button): Inherit from link face. Suggested by Dan
20220 Nicolaescu.
20221
20222 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20223
20224 * progmodes/gdb-mi.el: Fit in 80 columns.
20225 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20226 switch-to-buffer.
20227
20228 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20229 if imenu is simply not configured (bug#8941).
20230
20231 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20232
20233 * allout.el (allout-post-undo-hook): New allout outline-change
20234 event hook to signal undo activity.
20235 (allout-post-command-business): Run allout-post-undo-hook if an
20236 undo just occurred.
20237 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20238 * allout-widgets.el (allout-widgets-after-undo-function):
20239 Ensure the integrity of the current item's decoration after it has been
20240 in the vicinity of an undo.
20241 (allout-widgets-mode): Include allout-widgets-after-undo-function
20242 on the new allout-post-undo-hook.
20243
20244 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20245
20246 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20247 Let define-derived-mode define it.
20248 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20249 cycles of abbrev-table inheritance (bug#8998).
20250
20251 2011-07-05 Roland Winkler <winkler@gnu.org>
20252
20253 * textmodes/bibtex.el: Add support for biblatex.
20254 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20255 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20256 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20257 (bibtex-entry-alist, bibtex-field-alist): New variables.
20258 (bibtex-entry-field-alist): Obsolete alias for
20259 bibtex-BibTeX-entry-alist.
20260 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20261 (bibtex-set-dialect): New command.
20262 (bibtex-entry-type, bibtex-entry-head)
20263 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20264 Bind via bibtex-set-dialect.
20265 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20266 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20267 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20268 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20269 Define via bibtex-set-dialect.
20270 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20271 Obey bibtex-no-opt-remove-re.
20272 (bibtex-vec-push, bibtex-vec-incr): New functions.
20273 (bibtex-format-entry, bibtex-field-list)
20274 (bibtex-print-help-message, bibtex-validate)
20275 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20276
20277 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20278
20279 * progmodes/compile.el (compilation-goto-locus):
20280 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20281 * bs.el (bs-cycle-next, bs-cycle-previous):
20282 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20283 * bindings.el (mode-line-other-buffer):
20284 * autoinsert.el (auto-insert):
20285 * arc-mode.el (archive-extract):
20286 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20287
20288 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20289
20290 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20291 Fix check of `emacs-lock-unlockable-modes'.
20292 Coerce true values of `emacs-lock--try-unlocking' to t.
20293
20294 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20295
20296 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20297 * emacs-lock.el: New file.
20298
20299 2011-07-05 Julien Danjou <julien@danjou.info>
20300
20301 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20302 than `boundp' to check if face is set.
20303
20304 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20305
20306 * register.el (registerv-make):
20307 * window.el (window-min-height): Fix typos in docstrings.
20308
20309 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20310
20311 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20312 Update doc string.
20313
20314 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20315
20316 * server.el (server-execute): Catch quit and call
20317 `server-return-error' to pass the error back to emacsclient and
20318 close the connection (bug#8942).
20319
20320 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20321
20322 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20323 insecure exception for current topic. Also note that auto-saves
20324 are handled differently.
20325
20326 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20327 State variables for tracking auto-save inhibition situation.
20328
20329 (allout-write-contents-hook-handler): Rename from
20330 'allout-write-file-hook-handler', and describe how it depends on
20331 write-contents-functions sensitivity to non-nil value to prevent
20332 file write.
20333
20334 (allout-auto-save-hook-handler): Remove. auto-save does not check
20335 this in individual buffers, only in the starting buffer, so this
20336 is not the right way for us to inhibit auto-save in a buffer
20337 according to its condition.
20338
20339 (allout-mode): Use new allout-write-contents-hook-handler, and
20340 only with write-contents-functions. Remove auto-save provisions -
20341 they're implemented elsewhere.
20342
20343 (allout-before-change-handler): If undo is in progress, note that
20344 for attention of allout-post-command-business.
20345
20346 (allout-post-command-business): If the command we're following was
20347 an undo, check for change in the status of encrypted items and
20348 adjust auto-save inhibitions accordingly.
20349
20350 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20351 according to whether there are or aren't any plain-text topics
20352 pending encryption.
20353
20354 (allout-inhibit-auto-save-info-for-decryption):
20355 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20356 if there are plain-text topics pending encryption.
20357
20358 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20359 buffer-saved-size and some allout state to not inhibit auto-saves
20360 if there are no longer any plain-text topics pending encryption.
20361
20362 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20363 No longer provide for exemption of the current topic.
20364
20365 2011-07-04 Juri Linkov <juri@jurta.org>
20366
20367 Add 7z operations to delete and save changed members (bug#8968).
20368 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20369 New defcustoms.
20370 (archive-7z-write-file-member): New function.
20371 (archive-7z-summarize): Fix the number of dashes in the
20372 listing output.
20373
20374 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20375
20376 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20377 (bug#8958).
20378
20379 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20380
20381 * bindings.el: Ignore next-buffer and previous-buffer in
20382 minibuffer-local-map.
20383
20384 * font-lock.el (font-lock-builtin-face): Change light background
20385 color to dark slate blue (Bug#6693).
20386
20387 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20388
20389 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20390
20391 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20392
20393 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20394 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20395 Add switch-to-buffer.
20396
20397 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20398
20399 * isearch.el (isearch-search-fun-function): Clarify further the
20400 meaning of the function returned.
20401
20402 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20403
20404 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20405
20406 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20407 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20408 Use it.
20409 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20410 `tramp-default-remote-path' does not exist.
20411 (tramp-send-command-and-read): New optional argument NOERROR.
20412 (tramp-open-connection-setup-interactive-shell)
20413 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20414 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20415 (tramp-process-sentinel): Flush also process' connection property.
20416 (tramp-sh-handle-start-file-process): Do not set process
20417 sentinel. It is done now ...
20418 (tramp-maybe-open-connection): ... here. (Bug#8929)
20419
20420 2011-07-04 MON KEY <monkey@sandpframing.com>
20421
20422 * play/animate.el (animate-string): Doc fixes and allow changing
20423 the buffer name (bug#5417).
20424
20425 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20426
20427 * play/animate.el (animation-buffer-name): Rename from *animate*.
20428
20429 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20430
20431 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20432 This is simpler and helps future-proof the code.
20433 (timer-until): Use time-subtract and float-time.
20434 (timer--time-less-p): Use time-less-p.
20435
20436 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20437
20438 * type-break.el (timep): Use the value of `float-time' to avoid a
20439 byte-compiler warning.
20440
20441 * server.el (server-eval-and-print): Return any result, even nil.
20442
20443 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20444
20445 * type-break.el: Accept time formats that the builtins accept.
20446 (timep, type-break-time-difference): Accept any format that
20447 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20448 This is simpler and helps future-proof the code.
20449 (type-break-time-difference): Round rather than ignoring
20450 subseconds components.
20451
20452 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20453
20454 * info.el (Info-apropos-matches): Make non-interactive, since it
20455 doesn't seem to do anything useful as a command (bug#8829).
20456
20457 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20458
20459 * frame.el (frame-background-mode, frame-set-background-mode):
20460 Move from faces.el.
20461 (frame-default-terminal-background): New function.
20462
20463 * custom.el (custom-push-theme): Don't record faces in `changed'
20464 theme; this doesn't work correctly for per-frame face settings.
20465 (disable-theme): Use face-set-after-frame-default to reset faces.
20466 (custom--frame-color-default): New function.
20467
20468 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20469
20470 * dired.el (dired-flagging-regexp): Remove unused variable
20471 (bug#8769).
20472
20473 2011-03-29 Kevin Ryde <user42@zip.com.au>
20474
20475 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20476 `perl-Test2' extend to match possible "fail #N" rep count
20477 (bug#8377).
20478
20479 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20480
20481 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20482 `smtpmail-via-smtp' now returns the error instead of nil.
20483
20484 * isearch.el (isearch-search-fun-function): Clarify the doc string
20485 (bug#8101).
20486
20487 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20488
20489 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20490 unnecessary spaces (bug#8987).
20491
20492 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20493
20494 * net/network-stream.el (open-network-stream): Use the
20495 :end-of-capability command thoughout.
20496
20497 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20498
20499 * net/network-stream.el (open-network-stream): Add the
20500 :end-of-capability command parameter, used by pop3.el.
20501
20502 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20503
20504 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20505
20506 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20507 for list)" (bug#6475).
20508
20509 * files.el (file-expand-wildcards): Ignore non-readable
20510 sub-directories while trying to find matches instead of signaling
20511 an error (bug#6297).
20512
20513 * man.el (Man-reference-regexp): Allow matching possible
20514 word-wrapped references (bug#6289).
20515
20516 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20517 for consistency with the other vc buffers (bug#6197).
20518 (vc-checkin): Ditto.
20519
20520 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20521
20522 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20523
20524 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20525
20526 * custom.el (defcustom): Clarify that :set is only used in the
20527 Customize user interface (bug#6089).
20528
20529 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20530 associated with a file, refuse to run instead of erroring out
20531 (bug#6084).
20532
20533 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20534 the doc string, since it appears that using `fill-column' always
20535 controls the width (bug#7845).
20536
20537 * simple.el (shell-command-on-region): Say where the error output
20538 went if `shell-command-default-error-buffer' is set (bug#6857).
20539
20540 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20541
20542 * allout.el (allout-yank-processing): Adjust cursor position for
20543 backwards-deleted space.
20544
20545 (allout-rebullet-heading): Register changes with
20546 allout-exposure-changed-hook, so the modified topic is properly
20547 decorated.
20548
20549 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20550
20551 * minibuffer.el (completion-in-region): Document PREDICATE
20552 (bug#7136).
20553
20554 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20555 of keyword/argument pairs (bug#6904).
20556
20557 * replace.el (multi-occur):
20558 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20559
20560 2011-07-02 Drew Adams <drew.adams@oracle.com>
20561
20562 * dired.el (dired-mark-if): Make the message about whether it's
20563 marking or unmarking clearer (bug#8523).
20564
20565 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20566
20567 * disp-table.el (display-table-print-array): New function.
20568 (describe-display-table): Use it to print the vectors more pretty
20569 (Bug#8859).
20570
20571 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20572
20573 * window.el (window-state-get-1): Don't assign clone numbers.
20574 Add clone-of item to list of window parameters.
20575 (window-state-put-2): Don't process clone numbers.
20576 (display-buffer-alist): Fix doc-string.
20577
20578 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20579
20580 * subr.el (remq): Don't allocate if it's not needed.
20581 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20582 (keymap--merge-bindings): New functions.
20583 (keymap-canonicalize): Use them to refine the canonicalization.
20584 * minibuffer.el (minibuffer-local-completion-map)
20585 (minibuffer-local-must-match-map): Move initialization from C.
20586 (minibuffer-local-filename-completion-map): Move initialization from C;
20587 don't inherit from anything here.
20588 (minibuffer-local-filename-must-match-map): Make obsolete.
20589 (completing-read-default): Use make-composed-keymap to combine
20590 minibuffer-local-filename-completion-map with either
20591 minibuffer-local-must-match-map or
20592 minibuffer-local-filename-completion-map.
20593
20594 2011-07-01 Glenn Morris <rgm@gnu.org>
20595
20596 * type-break.el (type-break-time-sum): Use dolist.
20597
20598 * textmodes/flyspell.el (flyspell-word-search-backward):
20599 Replace CL function.
20600
20601 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20602
20603 * mouse.el (mouse--strip-first-event): New function.
20604 (function-key-map): Use it to map fringe clicks to normal clicks
20605 by default.
20606
20607 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20608 (vc-bzr-revision-completion-table): Add support for annotate and date.
20609
20610 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20611 inherit from parent.
20612
20613 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20614
20615 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20616 (dired-show-file-type): Doc fixup (bug#8818).
20617
20618 * dired.el (dired-mode): Fix up the doc string as suggested by
20619 Drew Adams (bug#8817).
20620
20621 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20622 cookie, since the manual says that it should be possible to add
20623 this function to `find-file-hook' (bug#8709).
20624
20625 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20626
20627 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20628 here. Noted Ted Zlatanov as the maintainer.
20629 (cfengine-common-settings, cfengine-common-syntax): New functions
20630 to set up common things between `cfengine-mode' and
20631 `cfengine3-mode'.
20632 (cfengine3-mode): New mode.
20633 (cfengine3-defuns cfengine3-defuns-regex
20634 (cfengine3-class-selector-regex cfengine3-category-regex)
20635 (cfengine3-vartypes cfengine3-font-lock-keywords)
20636 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20637 (cfengine3-indent-line): Add from cfengine3.el.
20638
20639 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20640
20641 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20642
20643 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20644
20645 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20646
20647 * window.el (same-window-buffer-names, same-window-regexps)
20648 (same-window-p, special-display-frame-alist)
20649 (special-display-popup-frame, special-display-function)
20650 (special-display-buffer-names, special-display-regexps)
20651 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20652 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20653 (split-window-preferred-function, split-height-threshold)
20654 (split-width-threshold, even-window-heights)
20655 (display-buffer-mark-dedicated, window-splittable-p)
20656 (split-window-sensibly, window-safely-shrinkable-p):
20657 Un-obsolete.
20658 (display-buffer): Don't spread args with function specifier
20659 because special-display-popup-frame won't like it.
20660
20661 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20662
20663 Time-stamp simplifications and fixes.
20664 These improve accuracy slightly, and future-proof the code
20665 against some potential changes to current-time format.
20666
20667 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20668 by using time-since and float-time.
20669
20670 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20671 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20672 + NNN microseconds".
20673
20674 * type-break.el (type-break-time-sum): Rewrite using time-add.
20675
20676 * play/hanoi.el (hanoi-current-time-float): Remove.
20677 All uses replaced by float-time.
20678
20679 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20680 This yields a more-accurate answer.
20681 (rng-time-to-float): Remove; no longer needed.
20682
20683 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20684
20685 * calendar/timeclock.el (timeclock-seconds-to-time):
20686 Defalias to seconds-to-time, since they're the same thing.
20687
20688 * emacs-lisp/elp.el (elp-elapsed-time):
20689 * emacs-lisp/benchmark.el (benchmark-elapse):
20690 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20691
20692 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20693
20694 * window.el (bury-buffer): Don't iconify the only frame.
20695 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20696 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20697
20698 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20699
20700 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20701 Add mouse-yank-primary.
20702
20703 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20704
20705 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20706
20707 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20708
20709 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20710 (find-library-name): Use it to find relative load names when provided
20711 absolute file name (bug#8803).
20712
20713 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20714
20715 * textmodes/flyspell.el (flyspell-word): Consider words that
20716 differ only in case as potential doublons (bug#5687).
20717
20718 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20719 Remove two rather uninteresting debugging-like messages to make
20720 debbugs.el more silent.
20721
20722 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20723 a password-like phrase.
20724
20725 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20726
20727 * progmodes/cc-guess.el: New file.
20728
20729 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20730
20731 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20732 derived from `c-basic-common-init'.
20733
20734 * progmodes/cc-mode.el (top-level): Require cc-guess.
20735 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20736
20737 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20738
20739 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20740
20741 2011-06-30 Alan Mackenzie <acm@muc.de>
20742
20743 * progmodes/cc-engine.el (c-guess-continued-construct):
20744 Correct the handling of template-args-cont, particularly for when font
20745 lock is disabled. Name this case as "CASE G".
20746
20747 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20748
20749 * allout.el (allout-yank-processing): Fix injection of extra space
20750 between bullet and non-whitespace character in first topic when
20751 pasting, ensuring that the actual spacing in the pasted topic
20752 following the bullet char is preserved. This extra space was
20753 causing pasted encrypted topics to get a decrypted status even
20754 when the content was actually still encrypted. Now the decryption
20755 status from before the paste is preserved.
20756
20757 (allout-flag-region): Set all allout overlays so they evaporate
20758 when reduced to zero length (evanescent), to prevent overlay
20759 leakage.
20760
20761 2011-06-30 Glenn Morris <rgm@gnu.org>
20762
20763 * w32-fns.el (w32-charset-info-alist): Declare.
20764
20765 * find-dired.el (find-grep-options): Simplify.
20766
20767 * term/ns-win.el (ns-set-resource): Declare.
20768
20769 * ses.el (row, col): Declare dynamic variables honestly.
20770
20771 * textmodes/reftex-parse.el (index-tags): Declare.
20772
20773 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20774
20775 * cus-edit.el (customize-push-and-save): New function.
20776
20777 * files.el (hack-local-variables-confirm): Use it.
20778
20779 * custom.el (load-theme): New arg NO-CONFIRM.
20780 Use customize-push-and-save (Bug#8720).
20781 (custom-enabled-themes): Doc fix.
20782
20783 * cus-theme.el (customize-create-theme)
20784 (custom-theme-merge-theme): Callers to load-theme changed.
20785
20786 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20787
20788 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20789 short URLs have at least one dot in them (bug #7614).
20790
20791 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20792 nil, because using a pty is apparently too slow (bug #895).
20793
20794 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20795
20796 * mail/sendmail.el (sendmail-query-once): New function.
20797 (sendmail-query-once-function): New variable.
20798
20799 2011-06-29 Glenn Morris <rgm@gnu.org>
20800
20801 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20802
20803 * ses.el (top-level): Require cl when compiling.
20804 (ses-set-localvars): Fix error statement.
20805 Call it at compile time to silence a storm of warnings.
20806
20807 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20808
20809 * window.el (normalize-live-buffer): Rename to
20810 window-normalize-buffer.
20811 (normalize-live-frame): Rename to window-normalize-frame.
20812 (normalize-any-window): Rename to window-normalize-any-window.
20813 (normalize-live-window): Rename to window-normalize-live-window.
20814 (make-window-atom): Rename to window-make-atom.
20815 (window-resize-reset): Rename to window--resize-reset.
20816 (window-resize-reset-1): Rename to window--resize-reset-1.
20817 (resize-mini-window): Rename to window--resize-mini-window.
20818 (resize-subwindows-skip-p): Rename to
20819 window--resize-subwindows-skip-p.
20820 (resize-subwindows-normal): Rename to
20821 window--resize-subwindows-normal.
20822 (resize-subwindows): Rename to window--resize-subwindows.
20823 (resize-other-windows): Rename to window--resize-siblings.
20824 (resize-this-window): Rename to window--resize-this-window.
20825 (resize-root-window): Rename to window--resize-root-window.
20826 (resize-root-window-vertically): Rename to
20827 window--resize-root-window-vertically.
20828 (normalize-buffer-to-display): Rename to
20829 window-normalize-buffer-to-display.
20830 (normalize-buffer-to-switch-to): Rename to
20831 window-normalize-buffer-to-switch-to.
20832 Correspondingly update all callers of the functions listed
20833 above.
20834 (display-buffer-alist, display-buffer-normalize-arguments)
20835 (display-buffer-normalize-options, display-buffer)
20836 (display-buffer-alist-set): Use "function" instead of
20837 "fun-with-args".
20838
20839 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20840
20841 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20842 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20843 debbugs.gnu.org. Mention acknowledgment email.
20844
20845 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20846
20847 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20848 buffer multibyteness, since it shouldn't matter.
20849
20850 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20851
20852 * window.el (display-buffer-in-side-window): Handle dedicated
20853 windows as in display-buffer-reuse-window.
20854 (display-buffer-normalize-alist): Use value of override
20855 specifier.
20856 (display-buffer-normalize-specifiers): Use value of
20857 other-window-means-other-frame specifier.
20858 (display-buffer-alist): Rewrite some texts in widgets.
20859 (display-buffer): Spread arguments when calling function
20860 specified by fun-with-args.
20861
20862 2011-06-28 Deniz Dogan <deniz@dogan.se>
20863
20864 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20865 Unnest `let'.
20866
20867 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20868 selectors (Bug#5732).
20869 (css-proprietary-nmstart-re): Use `regexp-opt'.
20870
20871 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20872
20873 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20874 (eshell-ls-date-format): New defcustom.
20875 (eshell-ls-file): Use it.
20876
20877 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20878
20879 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20880
20881 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20882
20883 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20884 (ange-ftp-make-tmp-name): New arg.
20885 (ange-ftp-file-local-copy): Use it.
20886
20887 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20888
20889 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20890 no-conversion (Bug#8870).
20891
20892 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20893
20894 * window.el (window-right, window-left, window-child)
20895 (window-child-count, window-last-child)
20896 (window-iso-combination-p, walk-window-tree-1)
20897 (window-atom-check-1, window-tree-1, delete-window)
20898 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20899 new naming conventions - window-vchild, window-hchild,
20900 window-next and window-prev are now called window-top-child,
20901 window-left-child, window-next-sibling and window-prev-sibling
20902 respectively.
20903 (resize-window-reset): Rename to window-resize-reset.
20904 (resize-window-reset-1): Rename to window-resize-reset-1.
20905 (resize-window): Rename to window-resize.
20906 (window-min-height, window-min-width)
20907 (resize-mini-window, resize-this-window, resize-root-window)
20908 (resize-root-window-vertically, adjust-window-trailing-edge)
20909 (enlarge-window, shrink-window, maximize-window)
20910 (minimize-window, delete-window, quit-restore-window)
20911 (split-window, balance-windows, balance-windows-area-adjust)
20912 (balance-windows-area, window-state-put-2)
20913 (display-buffer-even-window-sizes, display-buffer-set-height)
20914 (display-buffer-set-width, set-window-text-height)
20915 (fit-window-to-buffer): Rename all "resize-window" prefixed
20916 calls to use the "window-resize" prefix convention.
20917 (display-buffer-alist): Fix symbol for label specifier.
20918 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20919 corresponding specifier.
20920 Reported by Juanma Barranquero <lekktu@gmail.com>.
20921
20922 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20923
20924 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20925 convention.
20926 (ses-call-printer): Does not pass an empty string to formatter when the
20927 cell is empty to keep from barking printer Calc math-format-value.
20928
20929 2011-06-27 Richard Stallman <rms@gnu.org>
20930
20931 * battery.el (battery-mode-line-limit): New variable.
20932 (battery-update): Handle it.
20933
20934 * mail/rmailmm.el (rmail-mime-process-multipart):
20935 Handle truncated messages.
20936
20937 2011-06-27 Glenn Morris <rgm@gnu.org>
20938
20939 * progmodes/flymake.el (flymake-err-line-patterns):
20940 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20941
20942 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20943
20944 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20945 (ses--clean-!, ses--clean-_): New functions.
20946 (ses-range): Add configurability of readout order, and conversion
20947 to Calc vector.
20948
20949 * ses.el (ses-repair-cell-reference-all): New function.
20950 (ses-cell-symbol): Set macro as safe, so that it can be used in
20951 formulas.
20952
20953 * ses.el: Update cycle detection algorithm.
20954 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20955 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20956 (ses-set-localvars): New function.
20957 (ses-make-cell): Add property-list as a cell element.
20958 (ses-cell-property-get-fun, ses-cell-property-get)
20959 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20960 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20961 New functions.
20962 (ses-cell-property-set, ses-cell-property-pop)
20963 (ses-cell-property-get-handle): New macro.
20964 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20965 New aliases, used for code readability.
20966 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20967 cycle detection.
20968 (ses-self-reference-early-detection): New defcustom.
20969 (ses-formula-references): Robustify against self-referring cells.
20970 (ses-mode): Use ses-set-localvars.
20971 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20972 before lauching the update processing.
20973 (ses-initialize-Dijkstra-attempt): New function.
20974 (ses-recalculate-cell): Update for cycle detection based on
20975 Dijkstra algorithm.
20976
20977 * ses.el: Fix commenting and indenting convention.
20978
20979 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20980
20981 * bs.el (bs-cycle-next): Complete last change.
20982
20983 2011-06-27 Drew Adams <drew.adams@oracle.com>
20984
20985 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20986
20987 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20988
20989 * net/network-stream.el (network-stream-open-starttls):
20990 Don't re-get capabilities unless we've reestablished connection.
20991 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20992
20993 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20994 to binary to possibly avoid line encoding issues on Windows (among
20995 other things).
20996
20997 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20998
20999 * net/network-stream.el (open-network-stream): Return an :error
21000 saying what the problem was, if possible.
21001
21002 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21003 server.
21004
21005 * net/network-stream.el (network-stream-open-starttls): If we
21006 wanted to use STARTTLS, and the server offered it, but we weren't
21007 able to because we had no STARTTLS support, then close the connection.
21008 (open-network-stream): Return an :error element, if present.
21009
21010 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21011
21012 * hl-line.el (hl-line-sticky-flag): Doc fix.
21013 (global-hl-line-sticky-flag): New option (Bug#8323).
21014 (global-hl-line-highlight): Obey it.
21015
21016 * vc/vc.el (vc-revert-show-diff): Default to t.
21017
21018 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21019
21020 * allout-widgets.el (allout-widgets-post-command-business):
21021 Stop decorating intermediate isearch matches. They're not being
21022 undecorated when an isearch is continued past, and isearch
21023 automatically collapses them. This leads to "widget leaks", where
21024 decorated items accumulate in collapsed areas. Lines with lots of
21025 hidden widgets can slow down cursor travel, substantially.
21026 Too much complicated machinery would be needed to ensure undecoration,
21027 so we're doing without this nicety.
21028
21029 (allout-widgets-tally-string): Don't try to do a hash-table-count
21030 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21031 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21032 *Messages* when allout-widgets-maintain-tally is t.
21033
21034 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21035
21036 * window.el (display-buffer-normalize-argument): Rename to
21037 display-buffer-normalize-arguments. Handle special meaning of
21038 LABEL argument. Respect special-display-function when popping up
21039 a new frame. Fix code searching for a window showing the buffer
21040 on another frame.
21041 (display-buffer-normalize-specifiers):
21042 Call display-buffer-normalize-arguments.
21043 (display-buffer-in-window): Don't undedicate the window if its
21044 buffer remains the same.
21045 Reported by Drew Adams <drew.adams@oracle.com>.
21046 (display-buffer-alist): Add choice for same-window macro
21047 specfier.
21048 (display-buffer): Mention special meaning of LABEL argument in
21049 doc-string. Fix quoting. Don't pop up a new frame even as
21050 fallback.
21051
21052 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21053
21054 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21055 avoid deleting the current window in some cases (bug#8911).
21056
21057 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21058
21059 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21060 (Bug#8934)
21061
21062 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21063
21064 * net/network-stream.el (network-stream-open-starttls):
21065 Use built-in TLS support if `gnutls-available-p' is true.
21066 (network-stream-open-tls): Ditto.
21067
21068 2011-06-26 Leo Liu <sdl.web@gmail.com>
21069
21070 * register.el (registerv): New struct.
21071 (registerv-make): New function.
21072 (jump-to-register, describe-register-1, insert-register):
21073 Support the jump-func, print-func and insert-func slot of a registerv
21074 struct. (Bug#8415)
21075
21076 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21077
21078 * vc/vc.el (vc-revert-show-diff): New defcustom.
21079 (vc-diff-internal): New arg specifying diff buffer.
21080 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21081 reuse an existing *vc-diff* buffer (Bug#8927).
21082
21083 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21084
21085 2011-06-26 Glenn Morris <rgm@gnu.org>
21086
21087 * progmodes/f90.el (f90-critical-indent): New option.
21088 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21089 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21090 (f90-mode): Doc fix.
21091 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21092 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21093 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21094 (f90-match-end): Handle block, critical.
21095
21096 2011-06-25 Glenn Morris <rgm@gnu.org>
21097
21098 * calendar/diary-lib.el (diary-included-files): Doc fix.
21099 (diary-include-files): New function, extracted from
21100 diary-include-other-diary-files and diary-mark-included-diary-files.
21101 (diary-include-other-diary-files, diary-mark-included-diary-files):
21102 Just call diary-include-files.
21103 (diary-mark-entries): Reset diary-included-files on first call.
21104
21105 * calendar/diary-lib.el (diary-mark-entries)
21106 (diary-mark-included-diary-files):
21107 Visit included diary-files in temp buffers.
21108
21109 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21110 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21111 (f90-start-block-re, f90-imenu-generic-expression)
21112 (f90-looking-at-program-block-start, f90-no-block-limit):
21113 Add support for submodules.
21114
21115 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21116 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21117
21118 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21119
21120 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21121 buffer-file-type before setting its value, to avoid disastrous
21122 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21123
21124 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21125
21126 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21127
21128 * ses.el (ses-unload-function):
21129 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21130
21131 * proced.el (proced-unload-function):
21132 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21133
21134 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21135
21136 * server.el (server-create-window-system-frame): Add parameters arg.
21137 (server-process-filter): Doc fix. Handle frame-parameters.
21138
21139 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21140
21141 Fix bug#8730, bug#8781.
21142
21143 * loadhist.el (unload--set-major-mode): New function.
21144 (unload-feature): Use it.
21145
21146 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21147 (python-unload-function): New function.
21148
21149 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21150
21151 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21152
21153 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21154
21155 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21156 the candidates list.
21157
21158 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21159
21160 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21161
21162 2011-06-23 Richard Stallman <rms@gnu.org>
21163
21164 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21165 (rmail-variables): Set next-error-move-function.
21166 (rmail-what-message): Take argument POS.
21167 (rmail-next-error-move): New function.
21168
21169 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21170
21171 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21172 messages for adjacent non-terminals.
21173
21174 2011-06-23 Richard Stallman <rms@gnu.org>
21175
21176 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21177 (rmail-show-message-1): Preserve buffer modified flag.
21178 (rmail-start-mail): Don't specify use of rmail-mail-return;
21179 that's done by mail-bury now.
21180 (rmail-mail-return): Handle arg NEWBUF.
21181
21182 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21183
21184 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21185 SIZE is a number.
21186
21187 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21188
21189 * window.el (get-lru-window, get-mru-window)
21190 (get-largest-window): Never return a minibuffer window.
21191 (display-buffer-pop-up-window): Fix a bug that could lead to
21192 reusing the minibuffer window.
21193 (display-buffer): Pass original specifier argument to
21194 display-buffer-function instead of the normalized one.
21195 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21196
21197 2011-06-22 Leo Liu <sdl.web@gmail.com>
21198
21199 * minibuffer.el (completing-read-function)
21200 (completing-read-default): Move from minibuf.c.
21201
21202 2011-06-22 Richard Stallman <rms@gnu.org>
21203
21204 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21205 to Rmail even if not started by a special Rmail command.
21206
21207 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21208 Copy the buffer currently showing just one message.
21209
21210 2011-06-22 Roland Winkler <winkler@gnu.org>
21211
21212 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21213 (bibtex-clean-entry): First delete the old key so that a
21214 customized algorithm for generating the new key does not get
21215 confused by the old key.
21216 (bibtex-url): Obey regexp of first step.
21217 (bibtex-search-entries): Do not use add-to-list with local
21218 list-var.
21219
21220 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21221
21222 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21223 stored a user name, then query for the password first, instead of
21224 waiting for SMTP to give an error message and the trying again.
21225
21226 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21227
21228 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21229 BUFFER in call-process.
21230
21231 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21232
21233 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21234 QUIT twice.
21235 (smtpmail-try-auth-methods): Require user name and password from
21236 auth-source.
21237
21238 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21239
21240 * window.el (display-buffer-default-specifiers)
21241 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21242 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21243 (split-window): Normalize SIDE argument (Bug#8916).
21244
21245 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21246 (special-display-frame-alist, special-display-popup-frame):
21247 Remove duplicate declarations. These are now in window.el.
21248
21249 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21250
21251 * mail/smtpmail.el (smtpmail-via-smtp):
21252 Set :use-starttls-if-possible so that we always use STARTTLS if the
21253 server supports it. SMTP servers that support STARTTLS commonly
21254 require it.
21255
21256 * net/network-stream.el (network-stream-open-starttls): Support
21257 upgrading to STARTTLS always, even if we don't have built-in support.
21258 (open-network-stream): Add the :always-query-capabilities keyword.
21259
21260 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21261 upgrades with `open-network-stream', and rely solely on
21262 auth-source for all credentials. Big changes throughout the file,
21263 but in particular:
21264 (smtpmail-auth-credentials): Remove.
21265 (smtpmail-starttls-credentials): Remove.
21266 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21267 MAIL FROM, too.
21268
21269 * net/network-stream.el (network-stream-open-starttls):
21270 Provide support for client certificates both for external and built-in
21271 STARTTLS.
21272 (auth-source): Require.
21273 (open-network-stream): Document the :client-certificate keyword.
21274 (network-stream-certificate): Change cert-cert to cert and
21275 cert-key to key.
21276
21277 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21278
21279 * net/tramp-cache.el (top): Don't load the persistency file when
21280 "emacs -Q" has been called.
21281
21282 2011-06-21 Tim Harper <timcharper@gmail.com>
21283
21284 * term/ns-win.el (ns-initialize-window-system):
21285 Set application-specific `ApplePressAndHoldEnabled' system
21286 resource to NO as it is not yet supported by the NS port.
21287
21288 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21289
21290 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21291 (list-dynamic-libraries): ...not here.
21292
21293 2011-06-21 Leo Liu <sdl.web@gmail.com>
21294
21295 * subr.el (sha1): Implement sha1 using secure-hash.
21296
21297 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21298
21299 * window.el (display-buffer-alist): In default value do not
21300 enforce searching a window on any but the selected frame.
21301 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21302 (display-buffer-select-window): Remove function.
21303 (display-buffer-in-window): When a window on another frame gets
21304 reused, do not select it any more but just raise its frame if
21305 necessary (Bug#8851) and (Bug#8856).
21306 (display-buffer-normalize-options): Handle pop-up-frames related
21307 options more faithfully.
21308 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21309 window if it is on another frame.
21310 (display-buffer-alist, display-buffer-default-specifiers):
21311 Don't make new frame unsplittable by default.
21312 (display-buffer-normalize-argument): Fix doc-string typo and use
21313 'same-frame-other-window instead of 'other-window when associating
21314 with display-buffer-macro-specifiers.
21315
21316 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21317
21318 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21319 New functions.
21320 (5x5-mode-map, 5x5-mode-menu): Bind them.
21321 (5x5-draw-grid): Tweak the solver's rendering.
21322
21323 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21324
21325 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21326 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21327
21328 2011-06-21 Drew Adams <drew.adams@oracle.com>
21329
21330 * menu-bar.el: Use function variable instead of switch-to-buffer.
21331 (menu-bar-select-buffer-function): New variable.
21332 (menu-bar-update-buffers): Use it (bug#8876).
21333
21334 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21335
21336 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21337 variable's status.
21338
21339 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21340
21341 * x-dnd.el (x-dnd-version-from-flags)
21342 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21343 and long as number (Bug#8899).
21344 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21345
21346 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21347
21348 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21349 (completion-try-completion, completion-all-completions): Compute the
21350 metadata argument if it's missing; make it optional (bug#8795).
21351
21352 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21353 (widget-complete): Use new :completion-function property.
21354 (widget-completions-at-point): New function.
21355 (default): Use :completion-function instead of :complete.
21356 (widget-default-completions): Rename from widget-default-complete;
21357 Rewrite.
21358 (widget-string-complete, widget-file-complete, widget-color-complete):
21359 Remove functions.
21360 (file, symbol, function, variable, coding-system, color):
21361 * international/mule-cmds.el (default-input-method, charset)
21362 (language-info-custom-alist):
21363 * cus-edit.el (face): Use new property :completions.
21364
21365 * progmodes/pascal.el (pascal-completions-at-point): New function.
21366 (pascal-mode): Use it.
21367 (pascal-mode-map): Use completion-at-point.
21368 (pascal-toggle-completions): Make obsolete.
21369 (pascal-complete-word, pascal-show-completions):
21370 * progmodes/octave-mod.el (octave-complete-symbol):
21371 Redefine as obsolete alias.
21372 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21373 Signal absence of completion info for old Octave,
21374 (inferior-octave-complete): Redefine as obsolete alias.
21375 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21376 (meta-completions-at-point): Rename from meta-complete-symbol and
21377 adapt it for use on completion-at-point-functions.
21378 (meta-common-mode): Use it.
21379 (meta-looking-at-backward, meta-match-buffer): Remove.
21380 (meta-complete-symbol): Redefine as obsolete alias.
21381 (meta-common-mode-map): Use completion-at-point.
21382 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21383 (makefile-mode-map): Use completion-at-point.
21384 (makefile-completions-at-point): Rename from makefile-complete and
21385 adapt it for use on completion-at-point-functions.
21386 (makefile-mode): Use it.
21387 (makefile-complete): Redefine as obsolete alias.
21388
21389 2011-06-20 Deniz Dogan <deniz@dogan.se>
21390
21391 * net/rcirc.el: Delete trailing whitespaces once and for all.
21392
21393 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21394
21395 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21396
21397 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21398
21399 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21400
21401 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21402
21403 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21404
21405 * window.el (display-buffer-other-window-means-other-frame):
21406 Call display-buffer-normalize-alist.
21407 (display-buffer-normalize-specifiers-1): Rename to
21408 display-buffer-normalize-argument. New argument other-frame.
21409 Rewrite.
21410 (display-buffer-normalize-specifiers-2): Rename to
21411 display-buffer-normalize-options.
21412 (display-buffer-normalize-alist-1): New function.
21413 (display-buffer-normalize-specifiers-3): Rename to
21414 display-buffer-normalize-alist.
21415 Call display-buffer-normalize-alist-1.
21416 (display-buffer-normalize-options-inhibit): New variable.
21417 (display-buffer-normalize-specifiers): Rewrite calling
21418 display-buffer-normalize-alist,
21419 display-buffer-normalize-argument, and
21420 display-buffer-normalize-options. Don't call the latter if
21421 display-buffer-normalize-options-inhibit is non-nil.
21422 (frame-auto-delete): New option.
21423 (window-deletable-p): Use frame-auto-delete.
21424 (window-list-no-nils, window-state-ignored-parameters)
21425 (window-state-get-1, window-state-get, window-state-put-list)
21426 (window-state-put-1, window-state-put-2, window-state-put):
21427 New functions.
21428 (display-buffer-normalize-options): Move special-display-p group
21429 after pop-up-frame group (Bug#8851) and (Bug#8856).
21430
21431 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21432
21433 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21434 groups (Bug#8776).
21435 (rx-submatch-n): New function.
21436 (rx): Document it.
21437
21438 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21439 (Bug#8768).
21440
21441 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21442
21443 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21444
21445 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21446 anytime existing face settings are present (Bug#8889).
21447
21448 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21449 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21450 Remove unused argument.
21451
21452 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21453
21454 * window.el (display-buffer-default-specifiers):
21455 Remove pop-up-frame. Add pop-up-window-min-height,
21456 pop-up-window-min-width, and another reuse-window specifier
21457 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21458 (display-buffer-normalize-specifiers-2):
21459 Handle split-height-threshold and split-width-threshold also when
21460 pop-up-windows is unset. Add a reuse-window specifier for the
21461 case popping up a new window fails.
21462 (special-display-popup-frame): Remove double quoting.
21463 (display-buffer-normalize-specifiers-1): Fix thinko.
21464
21465 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21466
21467 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21468 according to comint-completion-addsuffix.
21469
21470 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21471 (pcomplete-suffix-list): Mark as obsolete.
21472 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21473 pcomplete-seen in the closure.
21474 (pcomplete-comint-setup): Setup completion-at-point as well.
21475 (pcomplete--entries): New function.
21476 (pcomplete--env-regexp): New var.
21477 (pcomplete-entries): Rewrite to work with partial-completion and
21478 without relying on pcomplete-suffix-list.
21479 (pcomplete-pare-list): Remove, unused.
21480
21481 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21482
21483 * window.el (display-buffer-alist): Set pop-up-window-min-height
21484 and pop-up-window-min-width in default value. Reported by
21485 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21486 other-window-means-other-frame.
21487 (display-buffer-macro-specifiers): Comment out entry for
21488 other-window specifier.
21489 (display-buffer-other-window-means-other-frame): New function.
21490 (display-buffer-normalize-specifiers-1): New arguments
21491 buffer-name and label. Treat other-window case specially.
21492 (display-buffer-normalize-specifiers-2): Treat other-window case
21493 specially.
21494 (display-buffer-normalize-specifiers-3): New function.
21495 (display-buffer-normalize-specifiers):
21496 Call display-buffer-normalize-specifiers-3.
21497
21498 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21499
21500 * window.el (same-window-p): Fix two typos introduced when
21501 adding with-no-warnings.
21502 (display-buffer-normalize-specifiers-1): Don't check
21503 pop-up-frames for 'unset initialization.
21504 (display-buffer-normalize-specifiers-2): Major rewrite using
21505 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21506 (pop-up-frames, display-buffer-reuse-frames)
21507 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21508 Suggested by David Engster <deng@randomsample.de>.
21509 (even-window-heights): Initialize to 'unset.
21510 (display-buffer-alist-set): Handle new 'unset initializations.
21511 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21512 other window case.
21513
21514 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21515
21516 * window.el (display-buffer-normalize-specifiers-1):
21517 Respect current value of pop-up-frames for most reasonable values of
21518 second argument of display-buffer (Bug#8865).
21519 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21520 (switch-to-buffer-other-window-same-frame)
21521 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21522 Adams (Bug#8875).
21523 (display-buffer): Don't check noninteractive when calling
21524 display-buffer-pop-up-frame.
21525 (display-buffer-pop-up-frame): Never pop up a frame in
21526 noninteractive mode (Bug#8857).
21527 (enlarge-window, shrink-window): Don't report an error when the
21528 window can't be resized as requested (Bug#8862).
21529
21530 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21531
21532 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21533
21534 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21535
21536 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21537
21538 2011-06-15 Alan Mackenzie <acm@muc.de>
21539
21540 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21541 for declarators, disable knr checking to speed up for normal files.
21542 2: Refactor, replacing a sequence of nested if forms by a cond form.
21543
21544 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21545
21546 * net/network-stream.el (open-network-stream): Add the keyword
21547 :always-query-capabilities for the case where you want to force a
21548 `plain' network connection, but the protocol still requires the
21549 capabilitiy command (i.e., SMTP and EHLO).
21550
21551 * subr.el (process-live-p): Rename from `process-alive-p' for
21552 consistency with other `-live-p' functions.
21553
21554 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21555
21556 * window.el (same-window-buffer-names, same-window-regexps)
21557 (special-display-frame-alist, special-display-popup-frame)
21558 (special-display-function, special-display-buffer-names)
21559 (special-display-regexps, pop-up-frame-alist)
21560 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21561 (pop-up-windows, split-window-preferred-function)
21562 (split-height-threshold, split-width-threshold, even-window-heights)
21563 (display-buffer-mark-dedicated): Don't encourage the use of
21564 display-buffer-alist from Elisp code.
21565
21566 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21567
21568 * progmodes/python.el (python-mode): Derive from prog-mode.
21569 * progmodes/ps-mode.el (ps-mode):
21570 * progmodes/mixal-mode.el (mixal-mode):
21571 * progmodes/cfengine.el (cfengine-mode):
21572 * progmodes/ld-script.el (ld-script-mode): Likewise.
21573
21574 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21575
21576 * window.el (display-buffer-alist): Trim default value to avoid
21577 popping up a new frame (Bug#8857) or reusing an arbitrary window
21578 on another frame.
21579 (display-buffer): Do not fall back on popping up a new frame in
21580 batch mode (Bug#8857).
21581
21582 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21583
21584 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21585 (custom-theme-summary): New function.
21586 (customize-themes): Use it.
21587
21588 2011-06-13 Glenn Morris <rgm@gnu.org>
21589
21590 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21591
21592 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21593
21594 * help.el (help-window): Remove variable.
21595 (help-window-point-marker, temp-buffer-max-height)
21596 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21597 (help-print-return-message): Don't set help-window.
21598 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21599 (help-window-setup-finish): Remove.
21600 (help-window-display-message, help-window-setup)
21601 (with-help-window): Major rewrite based on new
21602 display-buffer-window variable.
21603
21604 * help-mode.el (help-mode-finish): Remove help-window related
21605 code.
21606
21607 * view.el (view-exits-all-viewing-windows): Remove reference to
21608 view-return-to-alist in doc-string.
21609 (view-return-to-alist): Make obsolete.
21610 (view-buffer): Call pop-to-buffer-same-window and remove
21611 undo-window code.
21612 (view-buffer-other-window): Call pop-to-buffer-other-window and
21613 simplify code. Ignore second argument.
21614 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21615 simplify code. Ignore second argument.
21616 (view-return-to-alist-update): Make obsolete.
21617 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21618 Rewrite using quit-restore window parameters.
21619 (view-mode-exit): Rename second argument to EXIT-ONLY.
21620 Rewrite using quit-restore-window.
21621 (View-exit, View-exit-and-edit, View-leave, View-quit)
21622 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21623 appropriate arguments.
21624 (view-end-message): Use quit-restore window parameter.
21625
21626 * window.el (display-buffer-function): Rewrite doc-string.
21627 (display-buffer-window, display-buffer-alist): New variables.
21628 (display-buffer-split-specifiers)
21629 (display-buffer-side-specifiers)
21630 (display-buffer-macro-specifiers): New constants.
21631 (display-buffer-even-window-sizes, display-buffer-set-height)
21632 (display-buffer-set-width, display-buffer-select-window)
21633 (display-buffer-in-window, display-buffer-reuse-window)
21634 (display-buffer-split-window-1, display-buffer-split-window)
21635 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21636 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21637 (display-buffer-in-side-window, normalize-buffer-to-display)
21638 (display-buffer-normalize-specifiers-1)
21639 (display-buffer-normalize-specifiers-2)
21640 (display-buffer-normalize-specifiers, display-buffer-frame):
21641 New functions.
21642 (display-buffer): Major rewrite.
21643 (display-buffer-other-window, display-buffer-other-frame)
21644 (pop-to-buffer, switch-to-buffer-other-window)
21645 (switch-to-buffer-other-frame): Rewrite.
21646 (display-buffer-same-window, display-buffer-same-frame)
21647 (display-buffer-same-frame-other-window)
21648 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21649 (pop-to-buffer-other-window)
21650 (pop-to-buffer-same-frame-other-window)
21651 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21652 (switch-to-buffer-other-window-same-frame): New functions.
21653 (same-window-p, special-display-p): Rewrite disabling warnings.
21654 Make obsolete.
21655 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21656 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21657 Make obsolete
21658 (same-window-buffer-names, same-window-regexps)
21659 (special-display-frame-alist, special-display-popup-frame)
21660 (special-display-function, special-display-buffer-names)
21661 (special-display-regexps, pop-up-frame-alist)
21662 (pop-up-frame-function, split-window-preferred-function)
21663 (split-height-threshold, split-width-threshold)
21664 (even-window-heights): Make obsolete.
21665
21666 2011-06-12 Glenn Morris <rgm@gnu.org>
21667
21668 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21669 Misc simplifications.
21670
21671 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21672
21673 * window.el (window-safely-shrinkable-p): Restore function which
21674 was inadvertently removed in change from 2011-06-11. Declare as
21675 obsolete.
21676
21677 * calendar/calendar.el (calendar-generate-window):
21678 Use window-iso-combined-p instead of combination of one-window-p and
21679 window-safely-shrinkable-p.
21680
21681 2011-06-12 Glenn Morris <rgm@gnu.org>
21682
21683 * progmodes/fortran.el (fortran-mode-syntax-table):
21684 * progmodes/f90.el (f90-mode-syntax-table):
21685 Set % to punctuation. (Bug#8820)
21686 (f90-find-tag-default): Remove, no longer needed.
21687
21688 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21689
21690 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21691
21692 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21693
21694 * image.el (image-animated-p): Return animation delay in seconds.
21695 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21696 (image-animate-timeout): Remove DELAY argument. Don't assume
21697 every subimage has the same delay; get it from image-animated-p.
21698 (image-animate): Caller changed.
21699
21700 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21701
21702 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21703 to ignored backtrace functions.
21704
21705 2011-06-11 Glenn Morris <rgm@gnu.org>
21706
21707 * calendar/appt.el (appt-disp-window-function): Doc fix.
21708 (appt-check): Handle overlapping appointments. (Bug#8337)
21709
21710 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21711
21712 * window.el (window-tree-1, window-tree): New functions, moving
21713 the latter to window.el.
21714 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21715 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21716 (bw-refresh-edges): Remove.
21717 (balance-windows-1, balance-windows-2): New functions.
21718 (balance-windows): Rewrite in terms of window tree functions,
21719 balance-windows-1 and balance-windows-2.
21720 (bw-adjust-window): Remove.
21721 (balance-windows-area-adjust): New function with functionality of
21722 bw-adjust-window but using resize-window.
21723 (set-window-text-height): Rewrite doc-string.
21724 Use normalize-live-window and resize-window.
21725 (enlarge-window-horizontally, shrink-window-horizontally):
21726 Rename argument to DELTA.
21727 (window-buffer-height): New function.
21728 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21729 Rewrite using new window resize routines.
21730 (kill-buffer-and-window, mouse-autoselect-window-select):
21731 Use ignore-errors instead of condition-case.
21732 (quit-window): Call delete-frame instead of delete-windows-on
21733 for the only buffer on frame.
21734
21735 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21736
21737 * loadup.el (top-level): Load window before files for the sake
21738 of replace-buffer-in-windows.
21739
21740 * files.el (read-buffer-to-switch)
21741 (switch-to-buffer-other-window)
21742 (switch-to-buffer-other-frame, display-buffer-other-frame):
21743 Move to window.el.
21744
21745 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21746 (previous-buffer): Move to window.el.
21747
21748 * bindings.el (unbury-buffer): Move to window.el.
21749
21750 * window.el (delete-other-windows-vertically): Move after
21751 definition of delete-other-windows.
21752 (other-window, delete-windows-on, replace-buffer-in-windows):
21753 Move here from window.c.
21754 (record-window-buffer, unrecord-window-buffer)
21755 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21756 (switch-to-next-buffer): New functions.
21757 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21758 from simple.el. Call switch-to-next-buffer.
21759 (previous-buffer): Move here from simple.el.
21760 Call switch-to-prev-buffer.
21761 (bury-buffer): Move here from buffer.c. Switch to previous
21762 buffer when window cannot be deleted.
21763 (unbury-buffer): Move here from bindings.el.
21764 (ctl-x-map): Move binding for other-window from window.c to
21765 here.
21766 (read-buffer-to-switch, switch-to-buffer-other-window)
21767 (switch-to-buffer-other-frame): Move here from files.el.
21768 (normalize-buffer-to-switch-to): New functions.
21769 (switch-to-buffer): Move here from buffer.c.
21770 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21771
21772 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21773
21774 * window.el (window-min-height, window-min-width): Move here
21775 from window.c. Add defcustoms and rewrite doc-strings.
21776 (resize-mini-window, resize-window): New functions.
21777 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21778 Move here from window.c.
21779 (maximize-window, minimize-window): New functions.
21780 (delete-window, delete-other-windows, split-window): Move here
21781 from window.c.
21782 (window-split-min-size): New function.
21783 (split-window-keep-point): Mention split-window-above-each-other
21784 instead of split-window-vertically.
21785 (split-window-above-each-other, split-window-vertically):
21786 Rename split-window-vertically to split-window-above-each-other
21787 and provide defalias for old definition.
21788 (split-window-side-by-side, split-window-horizontally):
21789 Rename split-window-horizontally to split-window-side-by-side
21790 and provide defalias for the old definition.
21791 (ctl-x-map): Move bindings for delete-window,
21792 delete-other-windows and enlarge-window here from window.c.
21793 Replace bindings for split-window-vertically and
21794 split-window-horizontally by bindings for
21795 split-window-above-each-other and split-window-side-by-side.
21796
21797 * cus-start.el (all): Remove entries for window-min-height and
21798 window-min-width. Add entries for window-splits and
21799 window-nest.
21800
21801 2011-06-09 Glenn Morris <rgm@gnu.org>
21802
21803 * calendar/appt.el (appt-mode-line): New function.
21804 (appt-check, appt-disp-window): Use it.
21805
21806 * files.el (hack-one-local-variable-eval-safep):
21807 Allow minor-modes with explicit +/-1 arguments.
21808
21809 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21810
21811 * term/xterm.el (xterm): Add defgroup.
21812 (xterm-extra-capabilities): Add defcustom to supply known xterm
21813 capabilities, skip querying them, or query them (default).
21814 (terminal-init-xterm): Use it.
21815 (terminal-init-xterm-modify-other-keys): New function to set up
21816 modifyOtherKeys support to simplify `terminal-init-xterm'.
21817
21818 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21819
21820 * window.el (resize-window-reset, resize-window-reset-1)
21821 (resize-subwindows-skip-p, resize-subwindows-normal)
21822 (resize-subwindows, resize-other-windows, resize-this-window)
21823 (resize-root-window, resize-root-window-vertically)
21824 (window-deletable-p, window-or-subwindow-p)
21825 (frame-root-window-p): New functions.
21826
21827 2011-06-09 Glenn Morris <rgm@gnu.org>
21828
21829 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21830 (ange-ftp-get-files): Use it.
21831
21832 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21833
21834 * mail/sendmail.el (mail-recover-1, mail-recover):
21835 * files.el (recover-file, recover-session):
21836 Handle dired-listing-switches not being just a single short option.
21837
21838 2011-06-09 Glenn Morris <rgm@gnu.org>
21839
21840 * calendar/appt.el (appt-display-message, appt-disp-window):
21841 Handle lists of appointments.
21842
21843 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21844
21845 * window.el (one-window-p): Move down in code.
21846 Rewrite doc-string.
21847 (window-current-scroll-bars): Rewrite doc-string.
21848 Normalize live window argument.
21849 (walk-windows, get-window-with-predicate, count-windows):
21850 Rewrite doc-string. Use window-list-1.
21851 (window-in-direction-2, window-in-direction, get-mru-window):
21852 New functions.
21853
21854 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21855
21856 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21857 Doc fix (Bug#8713).
21858
21859 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21860
21861 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21862
21863 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21864
21865 * loadhist.el (unload-feature-special-hooks):
21866 Add `comint-output-filter-functions'.
21867
21868 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21869
21870 * calendar/appt.el (appt-check): Move some initializations into the let.
21871
21872 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21873
21874 * window.el (window-height): Defalias to window-total-height.
21875 (window-width): Defalias to window-body-width.
21876
21877 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21878
21879 * image-mode.el (image-toggle-animation): New command.
21880 (image-mode-map): Bind it to RET.
21881 (image-mode): Update message.
21882 (image-toggle-display-image): Avoid a spurious cache flush.
21883 (image-transform-rotation): Doc fix.
21884 (image-transform-properties): Return quickly in the normal case.
21885 (image-animate-loop): Rename from image-animate-max-time.
21886
21887 * image.el (image-animate-max-time): Move to image-mode.el.
21888 (create-animated-image): Remove unnecessary function.
21889 (image-animate): Rename from image-animate-start. New arg.
21890 (image-animate-stop): Remove; just use image-animate-timer.
21891 (image-animate-timer): Use car-safe.
21892 (image-animate-timeout): Rename argument.
21893
21894 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21895
21896 * window.el (get-lru-window, get-largest-window): Move here from
21897 window.c. Rename first argument to ALL-FRAMES.
21898 Rephrase doc-strings.
21899 (get-buffer-window-list): Rewrite using window-list-1.
21900 Rephrase doc-string.
21901 (window-safe-min-height, window-safe-min-width): New constants.
21902 (window-size-ignore, window-min-size, window-min-size-1)
21903 (window-sizable, window-sizable-p, window-size-fixed-1)
21904 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21905 (window-max-delta-1, window-max-delta, window-resizable)
21906 (window-resizable-p, window-total-height, window-total-width)
21907 (window-body-width): New functions.
21908 (window-full-height-p, window-full-width-p): Rewrite using
21909 window-total-size.
21910 (window-body-height): Rewrite using window-body-size.
21911
21912 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21913
21914 * window.el (window-right, window-left, window-child)
21915 (window-child-count, window-last-child, window-any-p)
21916 (normalize-live-buffer, normalize-live-frame)
21917 (normalize-any-window, normalize-live-window)
21918 (window-iso-combination-p, window-iso-combined-p)
21919 (window-iso-combinations)
21920 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21921 (windows-with-parameter, window-with-parameter)
21922 (window-atom-root, make-window-atom, window-atom-check-1)
21923 (window-atom-check, window-side-check, window-check):
21924 New functions.
21925 (ignore-window-parameters, window-sides, window-sides-vertical)
21926 (window-sides-slots): New variables.
21927 (window-size-fixed): Move down in code. Minor doc-string fix.
21928
21929 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21930
21931 * comint.el (comint-dynamic-complete-as-filename)
21932 (comint-dynamic-complete-filename): Correctly call
21933 completion-in-region.
21934
21935 2011-06-05 Deniz Dogan <deniz@dogan.se>
21936
21937 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21938 in last change.
21939
21940 2011-06-05 Deniz Dogan <deniz@dogan.se>
21941
21942 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21943 (rcirc): Use it to prompt for encryption.
21944
21945 2011-06-05 Roland Winkler <winkler@gnu.org>
21946
21947 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21948 (bibtex-search-entries): New command bound to C-c C-a.
21949 (bibtex-display-entries): New function.
21950
21951 2011-06-05 Roland Winkler <winkler@gnu.org>
21952
21953 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21954 (bibtex-insert-kill): After yanking insert newline if necessary.
21955 (bibtex-initialize): Call bibtex-string-files-init only once.
21956 (bibtex-mode): Do not call easy-menu-add.
21957 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21958 (bibtex-yank): Set arg properly if nil.
21959
21960 2011-06-05 Roland Winkler <winkler@gnu.org>
21961
21962 * textmodes/bibtex.el (bibtex-search-entry-globally):
21963 New variable.
21964 (bibtex-search-entry): Use it.
21965
21966 2011-06-05 Roland Winkler <winkler@gnu.org>
21967
21968 * textmodes/bibtex.el (bibtex-entry-format): New option
21969 sort-fields.
21970 (bibtex-format-entry, bibtex-reformat): Honor this option.
21971 (bibtex-parse-entry): Return fields in proper order.
21972
21973 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21974
21975 * doc-view.el (doc-view-remove-if): Move computation of result out
21976 of `dolist' to silence misleading lexical-binding warning.
21977
21978 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21979
21980 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21981 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21982
21983 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21984
21985 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21986 "SunOS 5.10".
21987
21988 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21989
21990 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21991 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21992 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21993 (tramp-parse-putty):
21994 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21995 (tramp-completion-function-alist-ssh)
21996 (tramp-completion-function-alist-telnet)
21997 (tramp-completion-function-alist-su)
21998 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21999 cookie.
22000
22001 * net/tramp-ftp.el:
22002 * net/tramp-sh.el:
22003 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22004 load "tramp.el" `tramp-set-completion-function'.
22005
22006 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22007
22008 * shell.el: Require and use pcomplete.
22009 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22010 (shell-completion-vars): Set pcomplete-default-completion-function.
22011
22012 2011-06-04 Deniz Dogan <deniz@dogan.se>
22013
22014 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22015 `memq' (Bug#8799).
22016
22017 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22018
22019 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22020
22021 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22022
22023 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22024 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22025 * vc/log-view.el (log-view-beginning-of-defun):
22026 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22027 (smerge-refine-forward, smerge-refine-chopup-region):
22028 Silence warning for unused `dotimes' counter variables.
22029
22030 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22031
22032 * net/tramp.el (tramp-with-progress-reporter): Rename from
22033 with-progress-reporter. Use `declare'.
22034 * net/tramp-smb.el:
22035 * net/tramp-sh.el:
22036 * net/tramp-gvfs.el: Update all uses.
22037
22038 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22039
22040 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22041 buffer isn't killed before making it current.
22042
22043 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22044
22045 Silence various byte-compiler warnings.
22046 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22047 `access-type' and new obsolescence format.
22048 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22049 new format.
22050 (byte-compile-check-variable): New `access-type' argument.
22051 Only warn if the access-type is obsolete.
22052 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22053 (byte-compile-variable-set): Adjust callers.
22054 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22055 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22056 setting it as obsolete.
22057 * simple.el (minibuffer-completing-symbol):
22058 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22059 access as obsolete.
22060 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22061 obsolete yet.
22062 * international/quail.el (quail-mouse-choose-completion): Remove unused
22063 code referring to obsolete var.
22064 (quail-choose-completion-string): Remove.
22065 * server.el (server-clients-with, server-kill-buffer-query-function)
22066 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22067 * proced.el (proced-send-signal):
22068 * emacs-lisp/lisp.el (lisp-complete-symbol):
22069 Replace completion-annotate-function with completion-extra-properties.
22070
22071 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22072
22073 * simple.el (goto-line): Use read-number.
22074 (overriding-map-is-bound): Remove.
22075 (saved-overriding-map): Change default.
22076 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22077 Take the map as argument.
22078 (universal-argument, negative-argument, digit-argument): Use it.
22079 (restore-overriding-map): Adjust.
22080 (do-auto-fill): Use fill-forward-paragraph.
22081 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22082
22083 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22084 (minibuffer-inactive-mode): New major mode.
22085 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22086 the *Messages* buffer" hack.
22087 (mouse-popup-menubar): Don't burp if the event is a normal key.
22088
22089 Miscellaneous tweaks.
22090 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22091 lexical scoping as in subr.el's dolist and dotimes.
22092 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22093 Silence compiler warning.
22094 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22095 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22096 * international/ccl.el (ccl-compile): Trivial simplification.
22097 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22098 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22099 `printflag' argument.
22100 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22101 Purecopy the whole obsolescence data.
22102
22103 2011-06-01 Leo Liu <sdl.web@gmail.com>
22104
22105 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22106 improve doc-string as suggested by Marco Pessotto
22107 <melmothx@gmail.com>.
22108 (rcirc-print): Fix last change.
22109
22110 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22111
22112 * minibuffer.el (complete-with-action): Return nil for the metadata and
22113 boundaries of non-functional tables.
22114 (completion-table-dynamic): Return nil for the metadata.
22115 (completion-table-with-terminator): Add default case, using
22116 complete-with-action.
22117 (completion--metadata): New function.
22118 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22119 to try and avoid pathological performance problems.
22120 (completion--embedded-envvar-table): Return `category' metadata.
22121
22122 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22123
22124 * subr.el (process-alive-p): New tiny convenience function.
22125
22126 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22127
22128 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22129 content but also its previous major mode.
22130
22131 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22132
22133 * emacs-lisp/debug.el (debug): Restore the previous content of the
22134 *Backtrace* buffer when we exit with C-M-c.
22135
22136 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22137
22138 * minibuffer.el: Add metadata method to completion tables.
22139 (completion-category-overrides): New defcustom.
22140 (completion-metadata, completion--field-metadata)
22141 (completion-metadata-get, completion--styles)
22142 (completion--cycle-threshold): New functions.
22143 (completion-try-completion, completion-all-completions):
22144 Add `metadata' argument to choose completion-styles.
22145 (completion--do-completion): Use metadata to choose cycling.
22146 (completion-all-sorted-completions): Use metadata for sorting.
22147 Remove :completion-cycle-penalty which is not needed any more.
22148 (completion--try-word-completion): Add `metadata' argument.
22149 (minibuffer-completion-help): Check metadata for annotation function
22150 and sorting.
22151 (completion-file-name-table): Return `category' metadata.
22152 (minibuffer-completing-file-name): Make obsolete.
22153 * simple.el (minibuffer-completing-symbol): Make obsolete.
22154 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22155 completion-try-completion.
22156
22157 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22158
22159 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22160
22161 2011-05-30 Leo Liu <sdl.web@gmail.com>
22162
22163 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22164 (rcirc-print): Decode all incoming messages (bug#8744).
22165 (rcirc-decode-coding-system): Allow value nil for automatic coding
22166 system detection.
22167
22168 2011-06-01 Glenn Morris <rgm@gnu.org>
22169
22170 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22171
22172 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22173
22174 * image.el (image-animate-max-time): Allow nil and t values.
22175 Default to nil.
22176 (create-animated-image): Doc fix.
22177 (image-animate-start): Remove second arg; just use
22178 image-animate-max-time.
22179 (image-animate-timeout): Doc fix. Args changed.
22180
22181 * image-mode.el (image-toggle-display-image): Ensure that the
22182 image spec passed to the animate timer is the same object as in
22183 the buffer's display property (Bug#6981).
22184 (image-transform-properties): Doc fix.
22185
22186 * image.el (image-animate-max-time): Default to nil.
22187
22188 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22189
22190 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22191 entire buffer list (Bug#8184).
22192
22193 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22194
22195 * image.el (imagemagick-types-inhibit)
22196 (imagemagick-register-types): Doc fix.
22197
22198 2011-05-29 Deniz Dogan <deniz@dogan.se>
22199
22200 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22201 default.
22202
22203 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22204
22205 * select.el: Don't perform clipboard-manager saving in hooks;
22206 leave the hooks empty.
22207
22208 2011-05-28 Leo Liu <sdl.web@gmail.com>
22209
22210 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22211 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22212 (occur-edit-mode): New major mode (Bug#8463).
22213 (occur-after-change-function): New function.
22214 (occur-engine): Give Occur tags a read-only property.
22215
22216 2011-05-28 Kevin Ryde <user42@zip.com.au>
22217
22218 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22219
22220 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22221
22222 * bindings.el (help-echo): Make the initial non-indicator dash
22223 empty on graphical terminals (Bug#7295).
22224
22225 * files.el (auto-mode-alist): Move config rule after the
22226 in-stripping one (Bug#8547).
22227
22228 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22229
22230 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22231 setting (Bug#8740).
22232
22233 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22234
22235 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22236 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22237 (Bug#8539).
22238
22239 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22240
22241 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22242
22243 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22244
22245 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22246 (hs-hide-block-at-point, hs-find-block-beginning)
22247 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22248 (Bug#8279).
22249
22250 2011-05-28 Glenn Morris <rgm@gnu.org>
22251
22252 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22253
22254 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22255
22256 * help-fns.el (describe-function-1): If the function is a derived
22257 major mode, print the parent mode.
22258
22259 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22260 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22261
22262 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22263
22264 * minibuffer.el (completion--capf-wrapper): Check applicability before
22265 returning non-nil for non-exclusive completion data.
22266 * progmodes/etags.el (tags-completion-at-point-function):
22267 * info-look.el (info-lookup-completions-at-point): Mark as
22268 non-exclusive.
22269 (info-complete): Adjust accordingly.
22270
22271 * info-look.el: Convert to lexical-binding and completion-at-point.
22272 (info-lookup-completions-at-point): New function.
22273 (info-complete): Use it and completion-in-region.
22274
22275 2011-05-28 Drew Adams <drew.adams@oracle.com>
22276
22277 * isearch.el: Let M-e start with point at the first mismatched char.
22278 (isearch-fail-pos): New function.
22279 (isearch-edit-string): Use it.
22280
22281 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22282
22283 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22284
22285 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22286
22287 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22288 traversal functions for avl-trees.
22289 (avl-tree--stack): New struct.
22290 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22291 (avl-tree-enter): Add optional `updatefun' arg.
22292 (avl-tree--do-enter): Add optional `updatefun' arg.
22293 Change return value.
22294 (avl-tree-delete): Add optional `test' and `nilflag' args.
22295 (avl-tree--do-delete): Add `test' and `nilflag' args.
22296 Change return value.
22297 (avl-tree-member): Add optional `nilflag'
22298 (avl-tree-member-p): New function.
22299 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22300 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22301 (avl-tree-stack-empty-p): New functions.
22302
22303 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22304 avl-tree--del-balance1 and make it work both ways.
22305 (avl-tree--del-balance2): Remove.
22306 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22307 make it work both ways.
22308 (avl-tree--enter-balance2): Remove.
22309 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22310 New macros.
22311 (avl-tree--mapc, avl-tree-map): Add direction argument.
22312
22313 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22314
22315 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22316
22317 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22318
22319 * select.el: Support clipboard managers with built-in function
22320 x-clipboard-manager-save, via delete-frame-functions and
22321 kill-emacs-hook.
22322 (xselect-convert-to-targets): Add MULTIPLE target to list.
22323 (xselect-convert-to-save-targets): New function.
22324
22325 2011-05-27 Kenichi Handa <handa@m17n.org>
22326
22327 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22328 let-binding rfc2047-encode-encoded-words to nil.
22329
22330 2011-05-27 Glenn Morris <rgm@gnu.org>
22331
22332 * mail/emacsbug.el: Don't require url-util.
22333
22334 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22335
22336 * files.el (set-auto-mode):
22337 Also respect mode: entries at the end of the file. (Bug#8586)
22338
22339 2011-05-26 Glenn Morris <rgm@gnu.org>
22340
22341 * files.el (hack-local-variables-prop-line, hack-local-variables):
22342 Downcase mode names, as seems to be traditional.
22343 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22344
22345 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22346 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22347
22348 2011-05-25 Julien Danjou <julien@danjou.info>
22349
22350 * textmodes/rst.el (rst-define-level-faces): Do not define face
22351 symbol if it is already defined.
22352
22353 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22354
22355 * play/5x5.el (5x5-new-game, 5x5-randomize):
22356 Reset 5x5-solver-output to nil when a new grid is cast.
22357 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22358 these debugging traces, as defmacro breaks the compiled code.
22359
22360 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22361
22362 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22363
22364 2011-05-24 Leo Liu <sdl.web@gmail.com>
22365
22366 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22367 (vc-bzr-sha1): Adapt.
22368
22369 * sha1.el: Remove. Function `sha1' is now builtin.
22370
22371 * bindings.el: Provide sha1 feature.
22372
22373 2011-05-24 Kenichi Handa <handa@m17n.org>
22374
22375 * mail/sendmail.el: Require `rfc2047'.
22376 (mail-insert-from-field): Do not perform RFC2047 encoding.
22377 (mail-encode-header): New function.
22378 (sendmail-send-it): Set buffer-file-coding-system of the work
22379 buffer to the return value of select-message-coding-system.
22380 Call mail-encode-header.
22381
22382 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22383
22384 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22385
22386 * mail/supercite.el (sc-default-cite-frame):
22387 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22388
22389 2011-05-24 Glenn Morris <rgm@gnu.org>
22390
22391 * progmodes/python.el (brm-menu): Declare.
22392
22393 * emulation/viper.el (viper-set-hooks): Declare.
22394
22395 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22396 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22397 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22398 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22399 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22400 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22401
22402 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22403
22404 Add an :exit-function for completion-at-point.
22405
22406 * minibuffer.el (completion--done): New fun.
22407 (completion--do-completion): Use it. New arg `expect-exact'.
22408 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22409 since completion--do-completion does it for us now.
22410 (minibuffer-force-complete): Use completion--done and
22411 completion--replace. Handle sole-completion case with more care.
22412 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22413 (completion-extra-properties): New var.
22414 (completion-annotate-function): Make obsolete.
22415 (minibuffer-completion-help): Adjust accordingly.
22416 Use completion-list-insert-choice-function.
22417 (completion-at-point, completion-help-at-point):
22418 Bind completion-extra-properties.
22419 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22420 * simple.el (completion-list-insert-choice-function): New var.
22421 (completion-setup-function): Preserve it.
22422 (choose-completion): Pay attention to it, shuffle the code a bit.
22423 (choose-completion-string): New arg `insert-function'.
22424
22425 * textmodes/bibtex.el: Convert to lexical binding.
22426 (bibtex-mode-map): Use completion-at-point.
22427 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22428 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22429 (bibtex-complete): Define as obsolete alias.
22430 (bibtex-complete-internal): Remove.
22431 (bibtex-format-entry): Remove unused sub-group in regexp.
22432 * shell.el (shell--command-completion-data)
22433 (shell-environment-variable-completion):
22434 * pcomplete.el (pcomplete-completions-at-point):
22435 * comint.el (comint--complete-file-name-data): Use :exit-function
22436 instead of completion-table-with-terminator so it also works for
22437 choose-completion.
22438
22439 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22440
22441 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22442
22443 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22444 (bug#8710).
22445
22446 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22447
22448 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22449
22450 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22451 customization variable and implement: If non-nil, auto-fill will
22452 be inhibited while on topic's header line.
22453
22454 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22455
22456 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22457 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22458 always have a solution in grid size = 5 cases.
22459 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22460 (5x5-solver-output, 5x5-log-buffer): New vars.
22461 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22462 Make these variables buffer local to achieve 5x5 multi-session-ness.
22463 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22464 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22465 (5x5-solve-suggest): New funs.
22466 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22467 randomize a grid so that we ensure that there is always a solution.
22468 (5x5-make-random-grid): Allow other movement than flipping.
22469
22470 2011-05-23 Kevin Ryde <user42@zip.com.au>
22471
22472 * emacs-lisp/advice.el (ad-read-advised-function):
22473 Use `function-called-at-point' as the default, if it has
22474 advice and passes PREDICATE.
22475
22476 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22477
22478 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22479 byte-compile-lambda if it's actually a lambda.
22480
22481 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22482 Fix function quoting. Use backquote better.
22483
22484 2011-05-22 Yuanle Song <sylecn@gmail.com>
22485
22486 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22487 matching (Bug#8516).
22488
22489 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22490
22491 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22492 different face (Bug#8178).
22493
22494 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22495
22496 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22497 defface (Bug#8144).
22498
22499 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22500
22501 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22502 funcall as well (bug#8712). Warn when performing those conversions.
22503 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22504
22505 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22506
22507 2011-05-22 Glenn Morris <rgm@gnu.org>
22508
22509 * files.el (hack-local-variables-prop-line): Small simplifications.
22510 (hack-local-variables, hack-local-variables-prop-line):
22511 If MODE-ONLY, return the mode, rather than just `t'.
22512
22513 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22514
22515 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22516
22517 2011-05-21 Glenn Morris <rgm@gnu.org>
22518
22519 * files.el (hack-local-variables-prop-line, hack-local-variables):
22520 If only interested in the mode, don't bother doing the other stuff.
22521
22522 * image-mode.el (image-after-revert-hook):
22523 Redraw all frames on which the image is visible. (Bug#8567)
22524
22525 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22526
22527 * wid-edit.el (widget-checklist-match-inline):
22528 Fix 2011-04-19 change. (Bug#8649)
22529
22530 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22531
22532 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22533 Also allow singlespace after single-letter capitals followed by a dot.
22534
22535 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22536 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22537
22538 2011-05-20 Nix <nix@esperi.org.uk>
22539
22540 * files.el (basic-save-buffer-2):
22541 Fix handling of break-hardlink-on-save with non-existent files.
22542
22543 2011-05-19 Deniz Dogan <deniz@dogan.se>
22544
22545 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22546 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22547
22548 2011-05-19 Glenn Morris <rgm@gnu.org>
22549
22550 * progmodes/f90.el (f90-type-def-re):
22551 Handle "type, bind(c)". (Bug#8691)
22552
22553 * emacs-lisp/autoload.el (batch-update-autoloads):
22554 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22555
22556 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22557
22558 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22559 property for the correct connection in case of multihops.
22560
22561 2011-05-18 Glenn Morris <rgm@gnu.org>
22562
22563 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22564 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22565
22566 Rationalize calendar handling of day and month abbrev-arrays.
22567 * calendar/calendar.el (calendar-customized-p): New function.
22568 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22569 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22570 Add :set function.
22571 (calendar-abbrev-length, calendar-day-abbrev-array)
22572 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22573 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22574 Elements may no longer be nil.
22575 (calendar-day-name, calendar-month-name):
22576 Update for changed nature of abbrev arrays.
22577 * calendar/diary-lib.el (diary-name-pattern):
22578 Update for changed nature of abbrev arrays.
22579 (diary-mark-entries-1): Update calendar-make-alist calls.
22580 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22581 * calendar/cal-html.el (cal-html-day-abbrev-array):
22582 Simply inherit from calendar-day-abbrev-array.
22583
22584 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22585
22586 * progmodes/grep.el (grep-mode): Disable default
22587 compilation-directory-matcher setting (bug#8684).
22588
22589 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22590
22591 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22592 instead of "head" and "tail". There were problems with SunOS 5.9,
22593 and it performs better.
22594
22595 2011-05-17 Glenn Morris <rgm@gnu.org>
22596
22597 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22598
22599 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22600 Replace obsolete function.
22601
22602 * shell.el (pcomplete-parse-arguments-function): Declare.
22603
22604 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22605 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22606 (appt-check): Doc fixes.
22607 (appt-disp-window-function, appt-delete-window-function):
22608 Remove needless special case in custom :type.
22609 (appt-display-count): Default to 0, not nil.
22610 (appt-check): Reset appt-display-count to 0, not nil.
22611
22612 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22613
22614 * progmodes/python.el (python-font-lock-keywords):
22615 Add the Python 3.X keyword "nonlocal" (bug#8639).
22616
22617 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22618
22619 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22620
22621 2011-05-16 Kevin Ryde <user42@zip.com.au>
22622
22623 * info-look.el (makefile-automake-mode): New setups, looking in
22624 automake manual, then makefile-mode.
22625 (makefile-mode): Remove automake manual, have it just in
22626 makefile-automake-mode since there's various things different or
22627 not relevant to plain make.
22628 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22629 believe a hypothetical automake-mode would go to makefile-mode,
22630 not the other way around.
22631
22632 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22633
22634 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22635 hunk-end tags (Bug#8672).
22636
22637 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22638 vc-annotate-show-diff-revision-at-line (Bug#8671).
22639
22640 2011-05-14 Glenn Morris <rgm@gnu.org>
22641
22642 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22643 in the middle of an existing one with multiple authors. (Bug#8645)
22644 (change-log-font-lock-keywords): Also handle multiple author lines
22645 with leading tabs. (Bug#8644)
22646
22647 * calendar/appt.el (appt-check): Rename some local variables.
22648 Some simplification/reordering.
22649
22650 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22651 (feedmail-sendmail-f-doesnt-sell-me-out)
22652 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22653 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22654 (feedmail-queue-runner-message-sender): Set :version.
22655 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22656 (bbdb-dwim-net-address, vm-mail): Declare.
22657 (feedmail-binmail-gnulinuxish-template):
22658 Rename from feedmail-binmail-linuxish-template.
22659 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22660 Use insert-buffer-substring.
22661
22662 2011-05-14 Bill Carpenter <bill@carpenter.org>
22663
22664 * mail/feedmail.el (feedmail-patch-level): Increase.
22665 (feedmail-debug): New custom group.
22666 (feedmail-confirm-outgoing-timeout)
22667 (feedmail-sendmail-f-doesnt-sell-me-out)
22668 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22669 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22670 (feedmail-sender-line, feedmail-from-line)
22671 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22672 (feedmail-spray-this-address)
22673 (feedmail-spray-address-fiddle-plex-list)
22674 (feedmail-queue-use-send-time-for-date)
22675 (feedmail-queue-use-send-time-for-message-id)
22676 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22677 (feedmail-buffer-eating-function):
22678 Doc fixes.
22679 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22680 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22681 (feedmail-message-action-scroll-down): New functions.
22682 (feedmail-queue-directory, feedmail-queue-draft-directory):
22683 Use expand-file-name.
22684 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22685 Remove C-v help entry.
22686 (feedmail-queue-buffer-file-name): New variable.
22687 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22688 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22689 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22690 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22691 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22692 (feedmail-message-action-toggle-spray)
22693 (feedmail-run-the-queue-no-prompts)
22694 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22695 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22696 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22697 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22698 (feedmail-envelope-deducer, feedmail-fiddle-from)
22699 (feedmail-fiddle-sender, feedmail-default-date-generator)
22700 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22701 (feedmail-fiddle-spray-address)
22702 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22703 (feedmail-fiddle-list-of-fiddle-plexes)
22704 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22705 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22706 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22707 Change default. Doc fix.
22708 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22709 (feedmail-binmail-linuxish-template): New constant.
22710 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22711 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22712 (feedmail-send-it): Add debug call.
22713 Use feedmail-queue-buffer-file-name, and
22714 feedmail-send-it-immediately-wrapper.
22715 (feedmail-message-action-send): Add debug call.
22716 Use feedmail-send-it-immediately-wrapper.
22717 (feedmail-queue-express-to-queue): Add debug call.
22718 Run feedmail-queue-express-hook.
22719 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22720 (feedmail-message-action-help-blat):
22721 Rename from feedmail-queue-send-edit-prompt-help-first.
22722 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22723 Check line-endings. Handle errors better.
22724 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22725 Doc fix. Add debug call.
22726 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22727 Use feedmail-queue-send-edit-prompt-inner.
22728 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22729 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22730 from feedmail-queue-send-edit-prompt.
22731 (feedmail-queue-send-edit-prompt-help)
22732 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22733 (feedmail-tidy-up-slug): Add debug call.
22734 Respect feedmail-queue-slug-suspect-regexp.
22735 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22736 (feedmail-dump-message-to-queue): Add debug call.
22737 Expand queue-directory.
22738 (feedmail-dump-message-to-queue): Change message slightly.
22739 Use feedmail-say-chatter.
22740 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22741 (feedmail-send-it-immediately-wrapper): New function.
22742 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22743 Insert empty string rather than newline. Handle full-frame case.
22744 Use catch/throw. Use feedmail-say-chatter.
22745 (feedmail-fiddle-from): Try mail-host-address.
22746 (feedmail-default-message-id-generator): Doc fix.
22747 Bind system-time-locale. Handle missing end.
22748 (feedmail-fiddle-x-mailer): Add debug call.
22749 Handle feedmail-x-mailer-line being nil.
22750 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22751 Add debug call. Use buffer-substring-no-properties.
22752 (feedmail-say-debug, feedmail-say-chatter): New functions.
22753 (feedmail-find-eoh): Give an explicit error.
22754
22755 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22756
22757 * net/newst-treeview.el (newsticker-treeview-face): Change default
22758 family from helvetica to sans.
22759 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22760 etc/images/newsticker.
22761
22762 * net/newst-reader.el (newsticker-feed-face): Change default
22763 family from helvetica to sans.
22764
22765 * net/newst-plainview.el (newsticker-new-item-face)
22766 (newsticker-old-item-face, newsticker-immortal-item-face)
22767 (newsticker-obsolete-item-face, newsticker-date-face)
22768 (newsticker-statistics-face): Change default family from
22769 helvetica to sans.
22770 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22771 etc/images/newsticker.
22772
22773 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22774 (newsticker--process-auto-mark-filter-match): Tell user about
22775 auto-marking.
22776
22777 2011-05-13 Didier Verna <didier@xemacs.org>
22778
22779 Common Lisp indentation improvements on defmethod and lambda-lists.
22780 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22781 TODO entries.
22782 (lisp-lambda-list-keyword-parameter-indentation)
22783 (lisp-lambda-list-keyword-parameter-alignment)
22784 (lisp-lambda-list-keyword-alignment): New customizable user options.
22785 (lisp-indent-defun-method): Improve docstring.
22786 (extended-loop-p): Fix comment.
22787 (lisp-indent-lambda-list-keywords-regexp): New variable.
22788 (lisp-indent-lambda-list): New function.
22789 (lisp-indent-259): Use it.
22790 (lisp-indent-defmethod): Support for more than one
22791 method qualifier and properly indent methods lambda-lists.
22792 (defgeneric): Provide a missing common-lisp-indent-function property.
22793
22794 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22795
22796 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22797 bounds for the empty string (bug#8667).
22798
22799 2011-05-13 Glenn Morris <rgm@gnu.org>
22800
22801 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22802
22803 * mail/sendmail.el (sendmail-program): Try executable-find first.
22804 (sendmail-send-it): `sendmail-program' cannot be unbound.
22805
22806 * calendar/appt.el (appt-make-list): Simplify.
22807 (appt-time-msg-list): Doc fix.
22808 (appt-check): Change mode-line message at the time of the appointment.
22809
22810 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22811
22812 * progmodes/ld-script.el (ld-script-keywords)
22813 (ld-script-builtins): Update keywords list.
22814
22815 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22816
22817 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22818
22819 * shell.el (shell-completion-vars): New function.
22820 (shell-mode):
22821 * simple.el (read-shell-command): Use it.
22822 (blink-matching-open): No need for " [...]" in minibuffer-message.
22823
22824 2011-05-12 Glenn Morris <rgm@gnu.org>
22825
22826 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22827 (appt-check): Simplify.
22828
22829 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22830
22831 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22832 literal "/dev/null".
22833
22834 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22835
22836 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22837 Fix typo.
22838
22839 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22840
22841 * progmodes/which-func.el (which-function):
22842 Use add-log-current-defun instead of add-log-current-defun-function,
22843 which might not be defined (Bug#8260).
22844
22845 2011-05-12 Glenn Morris <rgm@gnu.org>
22846
22847 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22848 Let byte-compile-initial-macro-environment always take precedence.
22849
22850 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22851
22852 * net/rcirc.el: Add support for SSL/TLS connections.
22853 (rcirc-server-alist): New field `encryption'.
22854 (rcirc): Check `encryption' settings.
22855 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22856 Merge make-local-variable into `set'.
22857 (rcirc--connection-open-p): New function.
22858 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22859 the process is not a network process (e.g. running gnutls-cli).
22860 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22861 Make rcirc-(en|de)code-coding-system local here.
22862 (rcirc-mode): Merge make-local-variable into `set'.
22863 (rcirc-parent-buffer): Make permanent buffer-local.
22864 (rcirc-multiline-minor-mode): Don't do it here.
22865 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22866 there's no server buffer.
22867
22868 2011-05-11 Glenn Morris <rgm@gnu.org>
22869
22870 * newcomment.el (comment-kill): Prefix "unused" local.
22871
22872 * term/w32console.el (get-screen-color): Declare.
22873
22874 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22875 Handle symbol elements of byte-compile-initial-macro-environment.
22876
22877 2011-05-10 Leo Liu <sdl.web@gmail.com>
22878
22879 * bookmark.el (bookmark-bmenu-mode-map):
22880 Bind bookmark-bmenu-search to `/'.
22881
22882 * mail/footnote.el: Convert to utf-8 encoding.
22883 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22884 (Footnote-unicode): New function.
22885 (footnote-style-alist): Add unicode style to the list.
22886 (footnote-style): Doc fix.
22887
22888 2011-05-10 Jim Meyering <meyering@redhat.com>
22889
22890 Fix doubled-word typos.
22891 * international/quail.el (quail-insert-kbd-layout): and and -> and
22892 * kermit.el: and and -> and
22893 * net/ldap.el (ldap-search-internal): to to -> to
22894 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22895 * progmodes/js.el (js-mode): and and -> and
22896 * textmodes/artist.el (artist-move-to-xy): at at -> at
22897 (artist-draw-region-trim-line-endings): if if -> if
22898 And Safetyc -> Safety.
22899 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22900
22901 2011-05-10 Glenn Morris <rgm@gnu.org>
22902 Stefan Monnier <monnier@iro.umontreal.ca>
22903
22904 * files.el (hack-one-local-variable-eval-safep):
22905 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22906
22907 2011-05-10 Glenn Morris <rgm@gnu.org>
22908
22909 * calendar/diary-lib.el (diary-list-entries-hook)
22910 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22911 (diary-nongregorian-marking-hook, diary-list-entries)
22912 (diary-include-other-diary-files, diary-mark-entries)
22913 (diary-mark-included-diary-files): Doc fixes.
22914
22915 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22916
22917 * misc.el: Require tabulated-list.el during compilation.
22918
22919 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22920
22921 * progmodes/compile.el (compilation-start):
22922 Run compilation-filter-hook for the async case too.
22923 (compilation-filter-hook): Doc fix.
22924
22925 2011-05-09 Deniz Dogan <deniz@dogan.se>
22926
22927 * wdired.el: Remove outdated installation comment. Fix usage
22928 comment.
22929
22930 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22931
22932 * misc.el: Implement new command `list-dynamic-libraries'.
22933 (list-dynamic-libraries--loaded-only-p): New variable.
22934 (list-dynamic-libraries--refresh): New function.
22935 (list-dynamic-libraries): New command.
22936
22937 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22938
22939 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22940 Fix the ant regexp to handle end-line and end-column info from jikes.
22941 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22942 higher priority to avoid clobbering by gnu.
22943
22944 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22945
22946 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22947 if the face has existing theme settings (Bug#8454).
22948
22949 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22950
22951 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22952 Only match variables declared via `my' or `our' (Bug#8261).
22953
22954 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22955 special file names `.' and `..' (Bug#8259).
22956
22957 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22958
22959 * progmodes/grep.el (grep-mode-font-lock-keywords):
22960 Remove buffer-changing entries.
22961 (grep-filter): New function.
22962 (grep-mode): Add it to compilation-filter-hook.
22963
22964 * progmodes/compile.el (compilation-filter-hook)
22965 (compilation-filter-start): New defvars.
22966 (compilation-filter): Call compilation-filter-hook prior to
22967 updating the process mark.
22968
22969 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22970
22971 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22972
22973 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22974
22975 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22976 mailclient-send-it even if window-system is nil. (Bug#8595)
22977
22978 * term/w32console.el (terminal-init-w32console):
22979 Call get-screen-color and use its output to set the frame
22980 background-mode. (Bug#8597)
22981
22982 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22983
22984 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22985 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22986 New functions.
22987 (defgeneric, eieio--defmethod): Use them.
22988 (eieio-defgeneric): Remove.
22989 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22990
22991 2011-05-07 Glenn Morris <rgm@gnu.org>
22992
22993 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22994 Use let rather than let*.
22995 (timeclock-find-discrep): Remove unused local.
22996
22997 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22998
22999 * calendar/appt.el (appt-time-msg-list): Doc fix.
23000
23001 2011-05-06 Noah Friedman <friedman@splode.com>
23002
23003 * apropos.el (apropos-print-doc): Only use
23004 emacs-lisp-docstring-fill-column when it is bound to an integer,
23005 per that variable's documentation.
23006
23007 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23008
23009 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23010 and warnings are not silently discarded (e.g. use -d instead of -P).
23011
23012 2011-05-06 Glenn Morris <rgm@gnu.org>
23013
23014 * calendar/appt.el (appt-message-warning-time): Doc fix.
23015 (appt-warning-time-regexp): New option.
23016 (appt-make-list): Respect appt-message-warning-time.
23017
23018 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23019 New options.
23020 (diary-add-to-list): Strip comments from the displayed string.
23021 (diary-mode): Set comment-start and comment-end.
23022
23023 * vc/diff-mode.el (smerge-refine-subst): Declare.
23024 (diff-refine-hunk): Don't require smerge-mode when compiling.
23025
23026 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23027
23028 * simple.el (list-processes): Return nil as the docstring says.
23029
23030 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23031
23032 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23033 to "".
23034 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23035 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23036 determining of binary transfer. (Bug#7383)
23037
23038 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23039
23040 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23041 Fix port computation bug. (Bug#8618)
23042
23043 2011-05-05 Glenn Morris <rgm@gnu.org>
23044
23045 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23046
23047 * simple.el (shell-dynamic-complete-functions)
23048 (comint-dynamic-complete-functions): Declare.
23049
23050 * net/network-stream.el (gnutls-negotiate):
23051 * simple.el (tabulated-list-print): Fix declarations.
23052
23053 * progmodes/gud.el (syntax-symbol, syntax-point):
23054 Remove unnecessary and incorrect declarations.
23055
23056 * emacs-lisp/check-declare.el (check-declare-scan):
23057 Handle byte-compile-initial-macro-environment in bytecomp.el.
23058
23059 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23060
23061 Fix earlier half-done eieio-defmethod change (bug#8338).
23062 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23063 Streamline and change calling convention.
23064 (defmethod): Adjust accordingly and simplify.
23065 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23066 new eieio--defmethod.
23067 (slot-boundp): Minor CSE simplification.
23068
23069 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23070
23071 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23072 (glasses-make-readable): Use glasses-separate-capital-groups.
23073
23074 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23075
23076 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23077 (warning-series): Doc fix.
23078 (display-warning): Don't try to create the buffer if we just found it.
23079
23080 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23081
23082 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23083 (autoload-find-generated-file): New function.
23084 (generate-file-autoloads): Bind generated-autoload-file to
23085 buffer-file-name.
23086 (update-file-autoloads, update-directory-autoloads):
23087 Use autoload-find-generated-file. If called interactively, prompt for
23088 output file (Bug#7989).
23089 (batch-update-autoloads): Doc fix.
23090
23091 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23092
23093 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23094
23095 2011-05-04 Glenn Morris <rgm@gnu.org>
23096
23097 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23098 function, so it follows changes in calendar-date-style.
23099 (diary-fancy-date-matcher): New function.
23100 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23101 (diary-fancy-font-lock-fontify-region-function):
23102 Use diary-fancy-date-pattern as a function.
23103
23104 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23105 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23106
23107 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23108
23109 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23110 instead of positional arguments. Allow :keylist and :crlfiles
23111 arguments.
23112 (open-gnutls-stream): Call it.
23113
23114 * net/network-stream.el (network-stream-open-starttls): Adjust to
23115 call `gnutls-negotiate' with :process and :hostname arguments.
23116
23117 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23118
23119 * minibuffer.el (completion--message): New function.
23120 (completion--do-completion, minibuffer-complete)
23121 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23122 (completion--do-completion): Don't ignore completion-auto-help when in
23123 icomplete-mode.
23124
23125 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23126 internal encoding (e.g. tibetan zero is not whitespace).
23127 (global-whitespace-mode): Prefer save-current-buffer.
23128 (whitespace-trailing-regexp): Remove useless save-match-data.
23129 (whitespace-empty-at-bob-regexp): Minor simplification.
23130
23131 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23132
23133 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23134
23135 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23136
23137 * textmodes/ispell.el (ispell-add-per-file-word-list):
23138 Use `concat' to create string for insertion.
23139
23140 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23141
23142 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23143 Avoid open-line which runs post-self-insert-hook.
23144 (bibtex-fill-entry): Remove unused `end' var.
23145
23146 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23147
23148 * textmodes/ispell.el (ispell-add-per-file-word-list):
23149 Protect against `nil' value of `comment-start' (Bug#8579).
23150
23151 2011-05-03 Leo Liu <sdl.web@gmail.com>
23152
23153 * isearch.el (isearch-yank-pop): New command.
23154 (isearch-mode-map): Bind it to `M-y'.
23155 (isearch-forward): Mention it.
23156
23157 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23158
23159 * simple.el (minibuffer-complete-shell-command): Remove.
23160 (minibuffer-local-shell-command-map): Use completion-at-point.
23161 (read-shell-command): Setup completion vars here instead.
23162 (read-expression-map): Bind TAB to symbol completion.
23163
23164 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23165 error directly rather via storing it into `results'.
23166
23167 2011-05-02 Leo Liu <sdl.web@gmail.com>
23168
23169 * vc/diff.el: Fix description.
23170
23171 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23172
23173 * server.el (server-eval-at): New function.
23174
23175 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23176
23177 * net/network-stream.el (open-network-stream): Take a :nowait
23178 parameter and pass it on to `make-network-process'.
23179 (network-stream-open-plain): Ditto.
23180
23181 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23182
23183 * faces.el (face-spec-set-match-display): Don't match toolkit
23184 options on terminal frames.
23185
23186 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23187
23188 * progmodes/pascal.el: Use lexical binding.
23189 (pascal-mode-map): Remove author preferences.
23190
23191 * pcomplete.el (pcomplete-std-complete): Don't abuse
23192 completion-at-point.
23193
23194 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23195
23196 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23197 removing code that has been dead since 1991 or so.
23198
23199 * startup.el (command-line): When warning about "_emacs", use a
23200 delayed warning to allow the user to filter it out.
23201
23202 2011-04-28 Deniz Dogan <deniz@dogan.se>
23203
23204 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23205 user has not joined.
23206
23207 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23208
23209 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23210 aren't any completions at point.
23211
23212 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23213
23214 * subr.el (display-delayed-warnings): New function.
23215 (delayed-warnings-hook): New variable.
23216
23217 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23218
23219 * minibuffer.el (completion-at-point, completion-help-at-point):
23220 Don't presume that a given completion-at-point-function will always
23221 use the same calling convention.
23222
23223 * pcomplete.el (pcomplete-completions-at-point):
23224 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23225 pcomplete-seen is non-nil.
23226 (pcomplete-comint-setup): Also recognize the new comint/shell
23227 completion functions.
23228 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23229 pcomplete-seen is non-nil.
23230
23231 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23232
23233 * calendar/icalendar.el (diary-lib): Add require statement.
23234 (icalendar--create-uid): Read out a uid from a text-property on
23235 the first character in the entry. This allows for code to add its
23236 own uid to the entry.
23237 (icalendar--convert-float-to-ical): Add export of
23238 `diary-float'-entries save for those with the optional DAY
23239 argument.
23240
23241 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23242
23243 * subr.el (shell-quote-argument): Use alternate escaping strategy
23244 when we spot a variable reference in a string.
23245
23246 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23247
23248 * cus-start.el (all): Define customization for debug-on-event.
23249
23250 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23251
23252 * subr.el (shell-quote-argument): Escape correctly under Windows.
23253
23254 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23255
23256 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23257
23258 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23259
23260 * net/tramp.el (tramp-process-actions): Add POS argument.
23261 Delete region between POS and (pos).
23262
23263 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23264 Use `nil' position in `tramp-process-actions' call.
23265 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23266
23267 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23268 position in `tramp-process-actions' call.
23269
23270 * net/trampver.el: Update release number.
23271
23272 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23273
23274 * custom.el (defcustom): Obey lexical-binding.
23275
23276 Fix octave-inf completion problems reported by Alexander Klimov.
23277 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23278 Inherit from octave-mode-syntax-table.
23279 (inferior-octave-mode): Set info-lookup-mode.
23280 (inferior-octave-completion-at-point): New function.
23281 (inferior-octave-complete): Use it and completion-in-region.
23282 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23283 comint-filename-completion.
23284 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23285 symbol elements which shouldn't be word elements.
23286 (octave-font-lock-keywords, octave-beginning-of-defun)
23287 (octave-function-header-regexp): Adjust regexps accordingly.
23288 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23289
23290 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23291
23292 * net/gnutls.el (gnutls-errorp): Declare before first use.
23293
23294 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23295
23296 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23297 verify-error, and verify-hostname-error parameters. Check whether
23298 default trustfile exists before going to use it. Add missing
23299 argument to gnutls-message-maybe call. Return value.
23300 Reported by Claudio Bley <claudio.bley@gmail.com>.
23301 (open-gnutls-stream): Add usage example.
23302
23303 * net/network-stream.el (network-stream-open-starttls): Give host
23304 parameter to `gnutls-negotiate'.
23305 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23306 * subr.el (shell-quote-argument): Escape correctly under Windows.
23307
23308 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23309
23310 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23311 Use correct match group (bug#8438).
23312
23313 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23314
23315 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23316 (package-menu--generate): New arg specifying packages to show.
23317 (package-menu-refresh, package-menu-execute, list-packages):
23318 Callers changed.
23319 (package-show-package-list): New function, replacing deleted
23320 package--list-packages (renamed because it is non-internal).
23321
23322 * finder.el (finder-list-matches): Use package-show-package-list
23323 instead of deleted package--list-packages.
23324
23325 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23326 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23327 (vc-annotate-mode-map): Bind it to RET.
23328
23329 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23330
23331 * progmodes/etags.el (next-file): Don't use set-buffer to change
23332 buffers (Bug#8478).
23333
23334 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23335
23336 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23337
23338 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23339 (apropos-accumulator): Doc fix.
23340 (apropos-function, apropos-macro, apropos-command)
23341 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23342 (apropos-plist): Add face property.
23343 (apropos-symbols-internal): Fix indentation.
23344 (apropos-print): Simplify help, and recognize apropos-multi-type.
23345 (apropos-print-doc): Use button-type-get to extract the button's
23346 face property. Fill docstring (Bug#8352).
23347
23348 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23349
23350 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23351
23352 * play/mpuz.el (mpuz-silent): Doc fix.
23353 (mpuz-mode-map): Use mapc.
23354 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23355 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23356 Fix typos in docstrings.
23357
23358 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23359 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23360
23361 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23362
23363 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23364
23365 * minibuffer.el (completion--do-completion): Avoid the "Next char
23366 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23367
23368 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23369 mouse-2 into unread-command-events, it is interpreted correctly.
23370
23371 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23372 (image-toggle-display): Doc fix.
23373
23374 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23375
23376 * textmodes/page.el (what-page): Use line-number-at-pos to
23377 calculate line number (Bug#6825).
23378
23379 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23380
23381 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23382 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23383 Pass argument NO-DEFAULT to `find-tag-interactive'.
23384
23385 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23386
23387 Lexical-binding cleanup.
23388
23389 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23390 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23391 * progmodes/ada-prj.el (ada-prj-initialize-values)
23392 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23393 (ada-prj-show-value):
23394 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23395 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23396 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23397 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23398 * progmodes/bug-reference.el (bug-reference-push-button):
23399 * progmodes/fortran.el (fortran-line-length):
23400 * progmodes/glasses.el (glasses-change):
23401 * progmodes/octave-mod.el (octave-fill-paragraph):
23402 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23403 (python-pdbtrack-grub-for-buffer, python-sentinel):
23404 * progmodes/sql.el (sql-save-connection):
23405 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23406 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23407 Mark unused parameters.
23408
23409 * progmodes/compile.el (compilation--flush-directory-cache)
23410 (compilation--flush-parse, compile-internal): Mark unused parameters.
23411 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23412 (compilation-next-error-function): Remove unused variable `timestamp'.
23413
23414 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23415 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23416
23417 * progmodes/dcl-mode.el (dcl-end-of-command):
23418 Remove unused variable `start'.
23419 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23420 (dcl-option-value-basic, dcl-option-value-offset)
23421 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23422 Mark unused parameters.
23423 (dcl-save-local-variable): Remove unused variable `val'.
23424 (mode): Declare.
23425
23426 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23427 Mark unused parameters.
23428 (delphi-ignore-changes): Move before first use.
23429 (delphi-charset-token-at): Remove unused variable `start'.
23430 (delphi-else-start): Remove unused variable `if-count'.
23431 (delphi-comment-block-start, delphi-comment-block-end):
23432 Remove unused variable `kind'.
23433 (delphi-indent-line): Remove unused variable `new-point'.
23434
23435 * progmodes/ebrowse.el (ebrowse-files-list)
23436 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23437 Mark unused parameters. Don't quote `lambda'.
23438 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23439 Don't quote `lambda'.
23440 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23441 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23442 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23443 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23444 Use `ignore-errors'.
23445 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23446 (ebrowse-view/find-file-and-search-pattern)
23447 (ebrowse-view/find-member-declaration/definition):
23448 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23449 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23450 Rename parameter PREFIX-ARG to PREFIX.
23451 (ebrowse-tags-read-name): Remove unused variables `start' and
23452 `member-info'.
23453 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23454 to `tags-file'.
23455
23456 * progmodes/etags.el (local-find-tag-hook): Declare.
23457 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23458 Mark unused parameters.
23459
23460 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23461 (executable-interpret): Mark unused parameter.
23462
23463 * progmodes/flymake.el (flymake-process-sentinel)
23464 (flymake-after-change-function)
23465 (flymake-create-temp-with-folder-structure)
23466 (flymake-get-include-dirs-dot): Mark unused parameters.
23467 (flymake-safe-delete-directory): Remove unused variable `err'.
23468
23469 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23470 (speedbar-timer-fn, speedbar-line-text)
23471 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23472 (speedbar-center-buffer-smartly): Declare functions.
23473 (gdb-find-watch-expression): Remove unused variable `array'.
23474 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23475 (gdb-starting): Mark unused parameters.
23476 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23477 (gdb-table-string): Remove unused variable `res'.
23478 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23479 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23480 (gdb-display-buffer): Remove unused variable `cur-size'.
23481
23482 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23483 allow lexical-binding compilation.
23484 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23485 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23486 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23487 Mark unused parameters.
23488 (gud-gdb-marker-filter): Remove unused variable `match'.
23489 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23490 lambda expressions and funcall them, instead of using `fset'.
23491
23492 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23493 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23494
23495 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23496 variable `header-beg'; use `let'.
23497
23498 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23499 `restart', `last-sexp' and `at-do'.
23500
23501 * progmodes/js.el (js--debug): Mark unused parameter.
23502 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23503 (js--splice-into-items): Remove unused variable `item'.
23504 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23505
23506 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23507 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23508 (makefile-complete): Remove unused variable `try'.
23509 (makefile-fill-paragraph, makefile-match-function-end):
23510 Mark unused parameters.
23511
23512 * progmodes/octave-inf.el (inferior-octave-complete):
23513 Remove unused variable `proc'.
23514 (inferior-octave-output-digest): Mark unused parameter.
23515
23516 * progmodes/perl-mode.el (perl-calculate-indent):
23517 Remove unused variable `err'.
23518
23519 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23520 (prolog-indent-line): Mark unused parameters.
23521 (prolog-indent-line): Remove unused variable `beg'.
23522
23523 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23524 (reporter-dont-compact-list): Declare.
23525
23526 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23527 Remove unused variable `char'.
23528 (sh-debug): Mark unused parameter.
23529 (sh-get-indent-info): Remove unused variable `start'.
23530 (sh-calculate-indent): Remove unused variable `var'.
23531
23532 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23533 (simula-electric-keyword): Remove unused variable `null'.
23534 (simula-search-backward, simula-search-forward): Remove unused
23535 variables `begin' and `end'.
23536
23537 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23538 Remove unused variable `pos'.
23539 (vera-electric-tab, vera-comment-uncomment-region):
23540 Mark unused parameters.
23541 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23542
23543 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23544
23545 * emacs-lisp/package.el (package--builtins, package-alist)
23546 (package-load-descriptor, package-built-in-p, package-activate)
23547 (define-package, package-installed-p)
23548 (package-compute-transaction, package-buffer-info)
23549 (package--push): Doc fix. Distinguish more clearly between
23550 version strings and version lists.
23551
23552 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23553
23554 Lexical-binding cleanup.
23555
23556 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23557 (5x5-make-mutate-best):
23558 * play/fortune.el (fortune-in-buffer):
23559 * play/gomoku.el (gomoku-init-display):
23560 * play/solitaire.el (solitaire, solitaire-do-check):
23561 * play/tetris.el (tetris-default-update-speed-function):
23562 Mark unused parameters.
23563
23564 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23565 (bubbles--shift): Remove unused variable `char-org'.
23566 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23567 (bubbles--show-images): Remove unused variable `char'.
23568
23569 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23570 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23571 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23572 (decipher-analyze-buffer): Use ?\s.
23573 (decipher-make-checkpoint): Remove unused variable `mapping'.
23574
23575 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23576
23577 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23578 Remove unused variable `result'; use `let'.
23579
23580 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23581 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23582 (gametree-children-shown-p, gametree-compute-reduced-score):
23583 Use `ignore-errors'.
23584
23585 * play/handwrite.el (ps-lpr-switches): Declare.
23586 (handwrite): Remove unused variables `pmin' and `lastp'.
23587
23588 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23589
23590 * play/landmark.el (landmark-init-display)
23591 (landmark-update-naught-weights): Mark unused parameters.
23592 (landmark-y): Remove unused variable `noise'. Simplify.
23593 (landmark-human-plays): Remove unused variable `score'.
23594
23595 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23596 (mpuz-try-proposal): Remove unused variable `game'.
23597
23598 * play/zone.el (life-patterns): Declare.
23599
23600 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23601
23602 * vc/vc.el (ediff-vc-internal): Declare function.
23603
23604 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23605
23606 * shell.el: Use lexical-binding and std completion UI.
23607 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23608 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23609 comint-preoutput-filter-functions rather than on
23610 comint-output-filter-functions.
23611 (shell-command-completion, shell--command-completion-data)
23612 (shell-filename-completion, shell-environment-variable-completion)
23613 (shell-c-a-p-replace-by-expanded-directory): New functions.
23614 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23615 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23616 (shell-dynamic-complete-environment-variable): Use them.
23617 (shell-dynamic-complete-as-environment-variable)
23618 (shell-dynamic-complete-as-command): Remove.
23619 (shell-match-partial-variable): Match past point.
23620 * comint.el: Clean up use of completion-at-point-functions.
23621 (comint-completion-at-point): New function.
23622 (comint-mode): Use it completion-at-point-functions.
23623 (comint-dynamic-complete): Make it obsolete.
23624 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23625 (comint-c-a-p-replace-by-expanded-history): New function.
23626 (comint-dynamic-complete-functions)
23627 (comint-replace-by-expanded-history): Use it.
23628 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23629 termination strings. Try harder to avoid second try-completion.
23630 (completion-in-region-mode-map): Disable bindings that don't work yet.
23631
23632 * comint.el: Use lexical-binding. Require CL.
23633 (comint-dynamic-complete-functions): Use comint-filename-completion.
23634 (comint-completion-addsuffix): Tweak custom type.
23635 (comint-filename-completion, comint--common-suffix)
23636 (comint--common-quoted-suffix, comint--table-subvert)
23637 (comint--complete-file-name-data): New functions.
23638 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23639 (comint-dynamic-list-filename-completions): Use them.
23640 (comint-dynamic-simple-complete): Make obsolete.
23641
23642 * minibuffer.el (completion-in-region-mode):
23643 Keep completion-in-region-mode--predicate global.
23644 (completion-in-region--postch):
23645 Assume completion-in-region-mode--predicate is not null.
23646
23647 * progmodes/flymake.el (flymake-start-syntax-check-process):
23648 Obey `dir'. Simplify.
23649
23650 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23651 we're in VC after all.
23652
23653 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23654
23655 * vc/vc.el (vc-diff-build-argument-list-internal)
23656 (vc-version-ediff, vc-ediff): New commands.
23657 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23658
23659 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23660
23661 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23662 add sanity check.
23663
23664 * obsolete/erc-hecomplete.el: Make obsolete.
23665 * obsolete/: Standardize obsolescence info in the header.
23666
23667 2011-04-20 Glenn Morris <rgm@gnu.org>
23668
23669 * calendar/solar.el (solar-horizontal-coordinates):
23670 Use the longitude argument rather than `calendar-longitude'.
23671 (solar-date-next-longitude): Remove unused locals.
23672
23673 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23674
23675 * whitespace.el: New version 13.2.1.
23676
23677 2011-04-20 felix <EmacsWiki> (tiny change)
23678
23679 * whitespace.el (global-whitespace-mode): Keep highlight when
23680 switching between major modes on a file.
23681
23682 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23683
23684 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23685 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23686 multi-line comments as well.
23687
23688 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23689
23690 Lexical-binding cleanup.
23691
23692 * arc-mode.el (archive-mode-revert):
23693 * cmuscheme.el (scheme-interactively-start-process):
23694 * custom.el (custom-initialize-delay):
23695 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23696 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23697 * emacs-lock.el (emacs-lock-clear-sentinel):
23698 * ezimage.el (defezimage):
23699 * follow.el (follow-avoid-tail-recenter):
23700 * fringe.el (set-fringe-mode-1):
23701 * generic-x.el (bat-generic-mode-compile):
23702 * help-mode.el (help-info-variable, help-do-xref)
23703 (help-mode-revert-buffer):
23704 * help.el (view-emacs-todo):
23705 * iswitchb.el (iswitchb-completion-help):
23706 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23707 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23708 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23709 * locate.el (locate-update):
23710 * longlines.el (longlines-encode-region)
23711 (longlines-after-change-function):
23712 * outline.el (outline-isearch-open-invisible):
23713 * ps-def.el (declare-function, charset-dimension, char-width)
23714 (encode-char):
23715 * ps-mule.el (ps-mule-plot-string):
23716 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23717 (recentf-edit-list-select, recentf-edit-list-validate)
23718 (recentf-open-files-action):
23719 * rect.el (delete-whitespace-rectangle-line)
23720 (rectangle-number-line-callback):
23721 * register.el (window-configuration-to-register)
23722 (frame-configuration-to-register):
23723 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23724 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23725 (xselect-convert-to-targets, xselect-convert-to-delete)
23726 (xselect-convert-to-filename, xselect-convert-to-charpos)
23727 (xselect-convert-to-lineno, xselect-convert-to-colno)
23728 (xselect-convert-to-os, xselect-convert-to-host)
23729 (xselect-convert-to-user, xselect-convert-to-class)
23730 (xselect-convert-to-name, xselect-convert-to-integer)
23731 (xselect-convert-to-atom, xselect-convert-to-identity):
23732 * subr.el (declare, ignore, process-kill-without-query)
23733 (text-clone-maintain):
23734 * terminal.el (te-get-char, te-tic-sentinel):
23735 * tool-bar.el (tool-bar-make-keymap):
23736 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23737 * type-break.el (type-break-mode, type-break-noninteractive-query):
23738 * view.el (View-back-to-mark):
23739 * wid-browse.el (widget-browse-action, widget-browse-widget)
23740 (widget-browse-widgets, widget-browse-sexp):
23741 * widget.el (define-widget-keywords):
23742 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23743 Mark unused parameters.
23744
23745 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23746 (align-areas): Remove unused variable `look'.
23747 (align-region): Remove unused variables `real-end' and `pos-list'.
23748
23749 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23750
23751 * bindings.el (mode-line-modified, mode-line-remote):
23752 Mark unused parameters.
23753 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23754
23755 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23756 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23757
23758 * comint.el (comint-history-isearch-pop-state)
23759 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23760 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23761 (comint-substitute-in-file-name): Doc fix.
23762
23763 * completion.el (cmpl-statistics-block): Mark unused parameter.
23764 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23765 (save-completions-to-file, load-completions-from-file):
23766 Remove unused local variable `e'.
23767
23768 * composite.el (compose-chars): Remove unused variable `len'.
23769 (lgstring-insert-glyph): Remove unused variable `g'.
23770 (compose-glyph-string): Remove unused variables `ascent',
23771 `descent', `lbearing' and `rbearing'.
23772 (compose-glyph-string-relative): Remove unused variables
23773 `lbearing', `rbearing' and `wadjust'.
23774 (compose-gstring-for-graphic): Remove unused variables `header',
23775 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23776 (compose-gstring-for-terminal): Remove unused variables `header'
23777 and `nchars'. Use `let', not `let*'.
23778
23779 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23780 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23781 (Custom-buffer-done, custom-buffer-create-internal)
23782 (custom-browse-visibility-action, custom-browse-group-tag-action)
23783 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23784 (widget-magic-mouse-down-action, custom-toggle-parent)
23785 (custom-add-parent-links, custom-toggle-hide-variable)
23786 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23787 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23788 (custom-face-menu-create, custom-variable-menu-create, get)
23789 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23790 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23791 (customize-apropos): Remove unused variable `tests'.
23792 (custom-group-value-create): Remove unused variable `hidden-p'.
23793 (sort-fold-case): Declare.
23794
23795 * cus-theme.el (custom-reset-standard-faces-list)
23796 (custom-reset-standard-variables-list): Declare.
23797 (customize-create-theme, custom-theme-revert, custom-theme-write)
23798 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23799 Mark unused parameters.
23800
23801 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23802
23803 * delim-col.el (delimit-columns-max): Move defvar before first use.
23804
23805 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23806 (describe-char): Don't quote `lambda'. Mark unused parameter.
23807
23808 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23809 (auto-insert): Declare.
23810 (desktop-restore-file-buffer): Rename desktop-* parameters;
23811 mark unused ones.
23812 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23813 (desktop-buffer): Rename desktop-* parameters.
23814
23815 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23816 (dframe-reposition-frame-xemacs, dframe-help-echo)
23817 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23818 Mark unused parameters.
23819
23820 * dired-aux.el (backup-extract-version-start, overwrite-query)
23821 (overwrite-backup-query, rename-regexp-query)
23822 (rename-non-directory-query): Declare.
23823 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23824 (dired-add-entry): Remove unused variable `orig-file-name'.
23825 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23826 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23827 `dired-copy-preserve-time' directly.
23828 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23829 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23830
23831 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23832 (dired-virtual-revert, dired-make-relative-symlink):
23833 Mark unused parameters.
23834 (manual-program): Declare.
23835 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23836 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23837 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23838
23839 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23840
23841 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23842
23843 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23844 Declare.
23845
23846 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23847
23848 * electric.el (Electric-command-loop): Rename parameter
23849 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23850
23851 * expand.el (expand-in-literal): Remove unused variable `here'.
23852
23853 * facemenu.el (facemenu-add-new-color):
23854 Remove unused variable `docstring'.
23855
23856 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23857 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23858 (face-attr-construct): Mark unused parameter. Doc fix.
23859 (read-color): Remove unused variable `hex-string'.
23860
23861 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23862 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23863 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23864 (display-buffer-other-frame): Remove unused variable `old-window'.
23865 (kill-buffer-hook): Declare.
23866 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23867 Mark unused parameters.
23868 (after-find-file): Pass 1 to `auto-save-mode', not t.
23869
23870 * files-x.el (auto-insert): Declare.
23871 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23872
23873 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23874 variable `buf'. Mark unused parameter.
23875 (find-lisp-insert-directory): Mark unused parameter.
23876
23877 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23878 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23879 (format-common-tail): Remove, unused.
23880 (format-deannotate-region): Remove unused variable `loc'.
23881 (format-annotate-region): Remove unused variable `p'.
23882 (format-annotate-single-property-change): Remove unused variables
23883 `default' and `tail'.
23884
23885 * forms.el (read-file-filter): Declare.
23886 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23887
23888 * frame.el (frame-creation-function-alist): Mark unused parameter.
23889 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23890
23891 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23892 Remove unused parameters.
23893 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23894 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23895
23896 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23897 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23898 (hfy-prepare-tag-map): Mark unused parameters.
23899 (htmlfontify-buffer): Use `called-interactively-p'.
23900
23901 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23902 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23903 (ibuffer-do-occur): Mark unused parameters.
23904 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23905 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23906
23907 * ibuffer.el: Don't quote `lambda'.
23908 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23909 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23910 Mark unused parameters.
23911
23912 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23913 (ido-completing-read): Mark unused parameters.
23914 (ido-copy-current-word): Mark unused parameters;
23915 remove unused variable `name'.
23916 (ido-sort-merged-list): Remove unused parameter `dirs'.
23917
23918 * ielm.el (ielm-input-sender): Mark unused parameter.
23919 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23920 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23921 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23922 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23923 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23924
23925 * image-dired.el (image-dired-display-thumbs): Remove unused
23926 variables `curr-file' and `count'.
23927 (image-dired-remove-tag): Remove unused variable `start'.
23928 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23929 variable `curr-file'
23930 (image-dired-rotate-original): Remove unused variable `temp-file'.
23931 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23932 Remove unused variable `file'.
23933 (image-dired-gallery-generate): Remove unused variable `curr'.
23934 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23935
23936 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23937
23938 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23939
23940 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23941
23942 * isearch.el (minibuffer-history-symbol): Declare.
23943 (isearch-edit-string): Remove unused variable `err'.
23944 (isearch-message-prefix, isearch-message-suffix):
23945 Mark unused parameters.
23946
23947 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23948
23949 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23950
23951 * makesum.el (double-column): Remove unused variable `cnt'.
23952
23953 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23954 (ido-ignore-item-temp-list): Declare.
23955
23956 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23957 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23958 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23959 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23960 `mouse-col-delta'.
23961
23962 * mouse-sel.el (mouse-extend-internal):
23963 Remove unused variable `orig-window-frame'.
23964
23965 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23966 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23967 Move declarations before first use.
23968 (pcomplete-opt): Mark unused parameters; doc fix.
23969
23970 * proced.el (proced-revert): Mark unused parameter.
23971 (proced-send-signal): Remove unused variable `err'.
23972
23973 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23974 Rename parameter PREFIX-ARG to ARG.
23975 (ps-basic-plot-string, ps-basic-plot-whitespace):
23976 Mark unused parameters.
23977
23978 * replace.el (replace-count): Define.
23979 (occur-revert-function): Mark unused parameters.
23980 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23981 (isearch-case-fold-search, isearch-string): Declare.
23982 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23983 bind `case-fold-search'. Remove unused variables `beg' and `end',
23984 and simplify.
23985 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23986 COUNT and bind `replace-count'.
23987 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23988 to COUNT.
23989
23990 * savehist.el (print-readably, print-string-length): Declare.
23991
23992 * shadowfile.el (shadow-expand-cluster-in-file-name):
23993 Remove unused variable `cluster'.
23994 (shadow-copy-file): Remove unused variable `i'.
23995 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23996 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23997 (shadow-define-literal-group, shadow-define-regexp-group)
23998 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23999
24000 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24001 (shell): Use `called-interactively-p'.
24002 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24003
24004 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24005 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24006 (delete-backward-char): Remove unused variable `ocol'.
24007 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24008 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24009 (event-apply-hyper-modifier, event-apply-shift-modifier)
24010 (event-apply-control-modifier, event-apply-meta-modifier):
24011 Mark unused parameters.
24012 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24013 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24014
24015 * speedbar.el (speedbar-ignored-directory-expressions)
24016 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24017 (speedbar-find-file, speedbar-dir-follow)
24018 (speedbar-directory-buttons-follow, speedbar-tag-find)
24019 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24020 (speedbar-buffers-line-directory, speedbar-buffer-click):
24021 Mark unused parameters.
24022 (speedbar-tag-file): Remove unused variable `mode'.
24023 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24024
24025 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24026
24027 * talk.el (talk): Remove unused variable `display'.
24028
24029 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24030 (tar-write-region-annotate): Mark unused parameter.
24031
24032 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24033 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24034 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24035 warning by another.
24036
24037 * time-stamp.el (time-stamp-string-preprocess):
24038 Remove unused variable `require-padding'.
24039
24040 * tree-widget.el (widget-glyph-enable): Declare.
24041 (tree-widget-action): Mark unused parameter.
24042
24043 * w32-fns.el (x-get-selection): Mark unused parameter.
24044 (autoload-make-program, generated-autoload-file): Declare.
24045
24046 * wdired.el (wdired-revert): Mark unused parameters.
24047 (wdired-xcase-word): Remove unused variable `err'.
24048
24049 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24050 (whitespace-help-scroll): Remove unused variable `data-help'.
24051
24052 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24053 (widget-image-insert, widget-after-change, default)
24054 (widget-default-format-handler, widget-default-notify)
24055 (widget-default-prompt-value, widget-info-link-action)
24056 (widget-url-link-action, widget-function-link-action)
24057 (widget-variable-link-action, widget-file-link-action)
24058 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24059 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24060 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24061 (widget-insert-button-action, widget-delete-button-action, visibility)
24062 (widget-documentation-link-action, widget-documentation-string-action)
24063 (widget-const-prompt-value, widget-regexp-match, symbol)
24064 (widget-coding-system-prompt-value)
24065 (widget-key-sequence-value-to-external, sexp)
24066 (widget-sexp-value-to-internal, character, vector, cons)
24067 (widget-choice-prompt-value, widget-boolean-prompt-value)
24068 (widget-color--choose-action): Mark unused parameters.
24069 (widget-item-match-inline, widget-choice-match-inline)
24070 (widget-checklist-match, widget-checklist-match-inline)
24071 (widget-group-match): Rename parameter VALUES to VALS.
24072 (widget-field-value-set): Remove unused variable `size'.
24073 (widget-color-action): Remove unused variables `value' and `start'.
24074
24075 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24076 variable `dir'. Doc fix.
24077 (windmove-find-other-window): Don't pass it.
24078
24079 * window.el (count-windows): Mark unused parameter.
24080 (bw-adjust-window): Remove unused variable `err'.
24081
24082 * woman.el (woman-file-name): Remove unused variable `default'.
24083 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24084 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24085 (global-font-lock-mode): Declare.
24086 (woman-decode-region): Mark unused parameter.
24087 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24088
24089 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24090 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24091 (x-dnd-handle-moz-url): Remove unused variable `title'.
24092 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24093
24094 * xml.el (xml-parse-tag, xml-parse-attlist):
24095 Remove unused variable `pos'.
24096
24097 2011-04-19 Glenn Morris <rgm@gnu.org>
24098
24099 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24100 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24101 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24102 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24103 * calendar/cal-html.el (cal-html-insert-minical):
24104 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24105 (calendar-mark-date-pattern):
24106 Prefix "unused" locals.
24107
24108 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24109 optional argument `style'.
24110
24111 * calendar/appt.el (appt-make-list):
24112 * calendar/cal-china.el (calendar-chinese-date-string):
24113 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24114 (diary-hebrew-yahrzeit):
24115 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24116 * calendar/calendar.el (calendar-generate-window):
24117 * calendar/time-date.el (time-to-days):
24118 Remove unused local variables.
24119
24120 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24121
24122 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24123 glyphless-char-display table.
24124 (tabulated-list-glyphless-char-display): New var.
24125
24126 2011-04-18 Sam Steingold <sds@gnu.org>
24127
24128 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24129 to acknowledgments.
24130
24131 2011-04-17 Glenn Morris <rgm@gnu.org>
24132
24133 * calendar/diary-lib.el (diary-sexp-entry):
24134 * calendar/holidays.el (holiday-sexp):
24135 Set debug-on-error rather than the removed stack-trace-on-error.
24136
24137 2011-04-16 Glenn Morris <rgm@gnu.org>
24138
24139 * progmodes/f90.el: Use lexical-binding.
24140 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24141
24142 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24143
24144 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24145 (mail-mode): Setup mailalias completion here instead.
24146 * mail/mailalias.el: Use lexical-binding.
24147 (pattern, mailalias-done): Declare dynamic.
24148 (mail-completion-at-point-function): New function, from mail-complete.
24149 (mail-complete): Use it.
24150 (mail-completion-expand): New function.
24151 (mail-get-names): Use it.
24152 (mail-directory, mail-directory-process, mail-directory-stream):
24153 Don't use `pattern' for lexically bound arg.
24154
24155 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24156
24157 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24158 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24159 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24160
24161 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24162 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24163 (byte-interactive-p): Define them again, for use when inlining
24164 old code.
24165
24166 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24167
24168 * loadup.el: Use `string-to-number', not `string-to-int'.
24169
24170 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24171
24172 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24173 gud-gdb-complete-command.
24174 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24175 (gud-gdb-completion-at-point): New function.
24176 (gud-gdb-completions): Remove.
24177
24178 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24179
24180 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24181 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24182 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24183 whether `executable-find' is bound.
24184
24185 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24186
24187 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24188
24189 * minibuffer.el (completion-in-region-mode-predicate)
24190 (completion-in-region-mode--predicate): New vars.
24191 (completion-in-region, completion-in-region--postch)
24192 (completion-in-region-mode): Use them.
24193 (completion--capf-wrapper): Also return the hook function.
24194 (completion-at-point, completion-help-at-point):
24195 Adjust and provide a predicate.
24196
24197 Preserve arg names for advice of subr and lexical functions (bug#8457).
24198 * help-fns.el (help-function-arglist): Consolidate the subr and
24199 new-byte-code cases. Add argument `preserve-names' to extract names
24200 from the docstring when needed.
24201 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24202 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24203 (ad-arglist): Use help-function-arglist's new arg.
24204 (ad-definition-type): Use cond.
24205
24206 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24207
24208 * autorevert.el (auto-revert-handler):
24209 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24210 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24211 Don't quote lambda.
24212
24213 * image-mode.el (image-transform-set-scale):
24214 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24215
24216 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24217
24218 * net/network-stream.el (network-stream-open-starttls): Only do
24219 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24220 Upgrades via gnutls-cli are too slow to be done opportunistically.
24221
24222 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24223
24224 * dframe.el (dframe-current-frame): Remove spurious quote.
24225
24226 2011-04-12 Glenn Morris <rgm@gnu.org>
24227
24228 * calendar/cal-tex.el (cal-tex-end-document):
24229 Try to automatically use latin1 input if needed.
24230
24231 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24232 Don't try to cons a mark onto an empty element.
24233
24234 2011-04-11 Leo Liu <sdl.web@gmail.com>
24235
24236 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24237 buffers.
24238 (ido-kill-buffer-at-head): Support killing virtual buffers.
24239
24240 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24241
24242 * minibuffer.el (completion-show-inline-help): New var.
24243 (completion--do-completion, minibuffer-complete)
24244 (minibuffer-force-complete, minibuffer-complete-word):
24245 Inhibit minibuffer messages if completion-show-inline-help is nil.
24246
24247 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24248 to avoid interference from inline help (Bug#5849).
24249
24250 2011-04-10 Leo Liu <sdl.web@gmail.com>
24251
24252 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24253 Fix typo.
24254
24255 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24256
24257 * image-mode.el (image-toggle-display-image): Signal an error if
24258 not in Image mode.
24259 (image-transform-mode, image-transform-resize)
24260 (image-transform-set-rotation): Doc fix.
24261 (image-transform-set-resize): Delete.
24262 (image-transform-set-scale, image-transform-fit-to-height)
24263 (image-transform-fit-to-width): Handle image-toggle-display-image
24264 and image-transform-resize directly.
24265
24266 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24267
24268 * doc-view.el (doc-view-fit-width-to-window)
24269 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24270 New functions for fitting the shown image to the Emacs window size.
24271 (doc-view-mode-map): Add bindings for the new functions.
24272
24273 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24274
24275 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24276 Fix typo in docstring.
24277
24278 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24279
24280 * files.el (file-size-human-readable): Produce one digit after
24281 decimal, like "ls -lh" does.
24282
24283 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24284 the file size representation.
24285
24286 * simple.el (list-processes): If async subprocesses are not
24287 available, error out with a clear error message.
24288
24289 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24290
24291 * help.el (help-form-show): New function, to be called from C.
24292 Put help-form output in a buffer named differently than *Help*.
24293
24294 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24295
24296 * files.el (file-size-human-readable): New function.
24297
24298 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24299 computing the representation inline. Don't require `cl'.
24300
24301 2011-04-08 Glenn Morris <rgm@gnu.org>
24302
24303 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24304
24305 * net/browse-url.el (browse-url-firefox):
24306 Test system-type, not system-configuration.
24307
24308 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24309 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24310 Use log-edit-empty-buffer-p. (Bug#7598)
24311
24312 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24313 (rlogin-mode-map): Initialize in the defvar.
24314 (rlogin): Use ignore-errors.
24315
24316 * replace.el (occur-mode-map): Some fixes for menu items.
24317
24318 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24319
24320 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24321
24322 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24323
24324 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24325 issuing unused warnings.
24326
24327 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24328 macro directly.
24329
24330 * simple.el: Lisp reimplement of list-processes. Based on an
24331 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24332 (process-menu-mode): New major mode.
24333 (list-processes--refresh, list-processes):
24334 (process-menu-visit-buffer): New functions.
24335
24336 * files.el (save-buffers-kill-emacs): Don't assume any return
24337 value of list-processes, which is undocumented anyway.
24338
24339 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24340
24341 * emacs-lisp/tabulated-list.el: New file.
24342
24343 * emacs-lisp/package.el: Use Tabulated List mode.
24344 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24345 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24346 table format using Tabulated List mode variables.
24347 (package--push): New macro, replacing package-list-maybe-add.
24348 (package-menu--generate): Use package--push. Renamed from
24349 package--generate-package-list.
24350 (package-menu-refresh, list-packages): Use it.
24351 (package-menu--print-info): Rename from package-print-package.
24352 Return insertion data instead of inserting it directly.
24353 (package-menu-describe-package, package-menu-execute):
24354 Use tabulated-list-get-id.
24355 (package-menu-mark-delete, package-menu-mark-install)
24356 (package-menu-mark-unmark, package-menu-backup-unmark)
24357 (package-menu-mark-obsolete-for-deletion):
24358 Use tabulated-list-put-tag.
24359 (package--list-packages, package-menu-revert)
24360 (package-menu-get-package, package-menu-get-version)
24361 (package-menu-sort-by-column): Functions deleted.
24362 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24363 (package-menu--status-predicate, package-menu--version-predicate)
24364 (package-menu--name-predicate)
24365 (package-menu--description-predicate): Handle arguments in the
24366 Tabulated List format.
24367 (package-list-packages-no-fetch): Call list-packages.
24368
24369 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24370
24371 * files.el (after-find-file-from-revert-buffer): Remove variable.
24372 (after-find-file): Don't bind it.
24373 (revert-buffer-in-progress-p): New variable.
24374 (revert-buffer): Bind it.
24375 Pass nil for `after-find-file-from-revert-buffer'.
24376
24377 * saveplace.el (save-place-find-file-hook): Use new variable
24378 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24379
24380 2011-04-06 Glenn Morris <rgm@gnu.org>
24381
24382 * Makefile.in (AUTOGEN_VCS): New variable.
24383 (autoloads): Use $AUTOGEN_VCS.
24384
24385 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24386 * calendar/calendar.el (calendar-mode-map):
24387 Check for toolkit scroll bars. (Bug#8305)
24388
24389 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24390
24391 * minibuffer.el (completion-in-region--postch)
24392 (completion-in-region-mode): Remove unnecessary messages.
24393
24394 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24395
24396 * font-lock.el (font-lock-refresh-defaults):
24397 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24398 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24399
24400 * info.el (Info-directory-list, Info-read-node-name-2)
24401 (Info-split-parameter-string): Doc fixes.
24402 (Info-virtual-nodes): Reflow docstring.
24403 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24404 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24405 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24406 Fix typos in docstrings.
24407 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24408 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24409 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24410 (Info-restore-desktop-buffer): Mark unused parameters.
24411 (Info-directory-find-file, Info-directory-find-node)
24412 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24413 (Info-virtual-index-find-node, Info-apropos-find-file)
24414 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24415 Mark unused parameters; fix typos in docstrings.
24416 (Info-virtual-index): Remove unused local variable `nodename'.
24417
24418 2011-04-05 Deniz Dogan <deniz@dogan.se>
24419
24420 * net/rcirc.el: Update my e-mail address.
24421 (rcirc-mode-map): Remove M-o binding.
24422
24423 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24424
24425 * startup.el (command-line): Save the cursor's theme-face
24426 directly, instead of using face-override-spec.
24427
24428 * custom.el (load-theme): Minor optimization in assigning faces.
24429
24430 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24431
24432 * help-fns.el (describe-variable): Complete all variables having
24433 documentation, including keywords.
24434 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24435
24436 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24437
24438 Convert to lexical-binding.
24439
24440 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24441 (bs--get-marked-string, bs--get-modified-string)
24442 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24443 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24444 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24445
24446 * ehelp.el (electric-help-execute-extended)
24447 (electric-help-ctrl-x-prefix):
24448 * hexl.el (hexl-revert-buffer-function):
24449 * linum.el (linum-after-change, linum-after-scroll):
24450 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24451
24452 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24453
24454 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24455
24456 * epa-dired.el:
24457 * epa-mail.el:
24458 * epa-hook.el:
24459 * epa-file.el:
24460 * epa.el:
24461 * epg.el: Use lexical binding.
24462
24463 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24464
24465 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24466
24467 * textmodes/flyspell.el (flyspell-word): Recognize default
24468 dictionary case for flyspell-mark-duplications-exceptions.
24469 Use regexp matching for languages.
24470 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24471 default dictionary (Bug#7926).
24472
24473 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24474
24475 * emacs-lisp/package.el (package--with-work-buffer):
24476 Recognize https URLs.
24477
24478 * net/network-stream.el: Move from gnus/proto-stream.el.
24479 Change prefix to network-stream throughout.
24480 (open-protocol-stream): Merge into open-network-stream, leaving
24481 open-protocol-stream as an alias. Handle nil BUFFER args.
24482
24483 * subr.el (open-network-stream): Move to net/network-stream.el.
24484
24485 2011-04-02 Glenn Morris <rgm@gnu.org>
24486
24487 * find-dired.el (find-exec-terminator): New option.
24488 (find-ls-option): Test for -ls support.
24489 (find-ls-subdir-switches): Test for -b in find-ls-option.
24490 (find-dired, find-grep-dired): Doc fixes.
24491 (find-dired): Use find-exec-terminator.
24492
24493 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24494 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24495 (find-name-arg): Remove purecopy.
24496
24497 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24498 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24499 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24500 accordingly. Don't add the null-device if not needed.
24501
24502 * files.el (save-some-buffers): Doc fix.
24503
24504 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24505
24506 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24507
24508 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24509
24510 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24511 Use `dolist' rather than `mapcar'.
24512
24513 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24514
24515 Add lexical binding.
24516
24517 * subr.el (apply-partially): Use new closures rather than CL.
24518 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24519 (dolist, dotimes): Use slightly different expansion for lexical code.
24520 (functionp): Move to C.
24521 (letrec): New macro.
24522 (with-wrapper-hook): Use it and apply-partially instead of CL.
24523 (eval-after-load): Preserve lexical-binding.
24524 (save-window-excursion, with-output-to-temp-buffer): Turn them
24525 into macros.
24526
24527 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24528
24529 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24530 than the arglist.
24531 (help-add-fundoc-usage): Don't add `Not documented'.
24532 (help-function-arglist): Handle closures, subroutines, and new
24533 byte-code-functions.
24534 (help-make-usage): Remove leading underscores.
24535 (describe-function-1): Handle closures.
24536 (describe-variable): Use special-variable-p for completion.
24537
24538 * files.el (lexical-binding): Declare safe.
24539
24540 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24541 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24542 (pcase): Add `let' pattern.
24543 Change memoization so it actually works.
24544 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24545 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24546 <let>: New case.
24547
24548 * emacs-lisp/macroexp.el: Use lexical binding.
24549 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24550 Don't convert ' to #' without checking that it's indeed quoting
24551 a lambda.
24552
24553 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24554 Use eval-sexp-add-defvars.
24555 (eval-sexp-add-defvars): New fun.
24556
24557 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24558
24559 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24560 Don't autoload.
24561 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24562 than the internal `byte-compile-lambda'.
24563 (defmethod): Don't hide code under quotes.
24564 (eieio-defmethod): New `code' argument.
24565
24566 * emacs-lisp/eieio-comp.el: Remove.
24567
24568 * emacs-lisp/edebug.el (edebug-eval-defun)
24569 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24570 (edebug-toggle): Avoid `eval'.
24571
24572 * emacs-lisp/disass.el (disassemble-internal): Handle new
24573 `closure' objects.
24574 (disassemble-1): Handle new byte codes.
24575
24576 * emacs-lisp/cl.el (pushnew): Silence warning.
24577
24578 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24579 (cl-byte-compile-throw): Remove.
24580 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24581
24582 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24583 closures.
24584
24585 * emacs-lisp/cconv.el: New file.
24586
24587 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24588 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24589 (byte-compile-initial-macro-environment):
24590 Handle declare-function here.
24591 (byte-compile--lexical-environment): New var.
24592 (byte-stack-ref, byte-stack-set, byte-discardN)
24593 (byte-discardN-preserve-tos): New lap codes.
24594 (byte-interactive-p): Don't use any more.
24595 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24596 New macros.
24597 (byte-compile-lapcode): Use them and handle new lap codes.
24598 (byte-compile-obsolete): Remove.
24599 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24600 (byte-compile-arglist-warn): Check late def of inlinable funs.
24601 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24602 since they should have been expanded by now.
24603 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24604 (byte-compile-from-buffer): Remove unused second arg.
24605 (byte-compile-preprocess): New function.
24606 (byte-compile-toplevel-file-form): New function to distinguish
24607 file-form calls from outside from file-form calls from hunk-handlers.
24608 (byte-compile-file-form): Simplify.
24609 (byte-compile-file-form-defsubst): Remove.
24610 (byte-compile-file-form-defmumble): Simplify now that
24611 byte-compile-lambda always returns a byte-code-function.
24612 (byte-compile): Preprocess.
24613 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24614 Remove, not used any more.
24615 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24616 (byte-compile-make-args-desc): New funs.
24617 (byte-compile-lambda): Handle lexical functions. Always return
24618 a byte-code-function.
24619 (byte-compile-reserved-constants): New var, to make up room for
24620 closed-over variables.
24621 (byte-compile-constants-vector): Obey it.
24622 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24623 (byte-compile-macroexpand-declare-function): New function.
24624 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24625 byte-code-functions.
24626 (byte-compile-form): Check obsolescence here.
24627 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24628 (byte-compile-variable-ref): Remove.
24629 (byte-compile-dynamic-variable-op): New fun.
24630 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24631 (byte-compile-variable-set): New funs.
24632 (byte-compile-discard): Add 2 args.
24633 (byte-compile-stack-ref, byte-compile-stack-set)
24634 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24635 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24636 macroexpand-all instead.
24637 (byte-compile-quote-form): Remove.
24638 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24639 (byte-compile-bind, byte-compile-unbind): New funs.
24640 (byte-compile-let): Handle let* and lexical binding.
24641 (byte-compile-let*): Remove.
24642 (byte-compile-catch, byte-compile-unwind-protect)
24643 (byte-compile-track-mouse, byte-compile-condition-case):
24644 Handle a new :fun-body form, used for lexical scoping.
24645 (byte-compile-save-window-excursion)
24646 (byte-compile-with-output-to-temp-buffer): Remove.
24647 (byte-compile-defun): Simplify.
24648 (byte-compile-stack-adjustment): New fun.
24649 (byte-compile-out): Use it.
24650 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24651
24652 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24653 handler any more.
24654
24655 * emacs-lisp/byte-opt.el: Use lexical binding.
24656 (byte-inline-lapcode): Remove (to bytecomp).
24657 (byte-compile-inline-expand): Pay attention to inlining to/from
24658 lexically bound code.
24659 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24660 any more.
24661 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24662 any more and don't call compiler-macros.
24663 (byte-compile-splice-in-already-compiled-code): Remove.
24664 (byte-code): Don't inline any more.
24665 (disassemble-offset): Receive `bytes' as argument rather than via
24666 dynamic scoping.
24667 (byte-compile-tag-number): Declare before first use.
24668 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24669 `return' even if make-spliceable.
24670 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24671 obsolete interactive-p.
24672 (byte-optimize-lapcode): Optimize new lap-codes.
24673 Don't trip up on new form of `byte-constant' lap code.
24674
24675 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24676
24677 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24678
24679 * custom.el (custom-initialize-default, custom-declare-variable):
24680 Use `defvar'.
24681
24682 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24683 New variables.
24684 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24685 (COMPILE_FIRST): Add macroexp and cconv.
24686 * makefile.w32-in: Mirror changes in Makefile.in.
24687
24688 * vc/cvs-status.el:
24689 * vc/diff-mode.el:
24690 * vc/log-edit.el:
24691 * vc/log-view.el:
24692 * vc/smerge-mode.el:
24693 * textmodes/bibtex-style.el:
24694 * textmodes/css-mode.el:
24695 * startup.el:
24696 * uniquify.el:
24697 * minibuffer.el:
24698 * newcomment.el:
24699 * reveal.el:
24700 * server.el:
24701 * mpc.el:
24702 * emacs-lisp/smie.el:
24703 * doc-view.el:
24704 * dired.el:
24705 * abbrev.el: Use lexical binding.
24706
24707 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24708
24709 * info.el (info-display-manual): New function.
24710
24711 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24712
24713 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24714
24715 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24716
24717 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24718 an entry for that server in rcirc-authinfo. (Bug#8385)
24719
24720 2011-03-31 Glenn Morris <rgm@gnu.org>
24721
24722 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24723
24724 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24725
24726 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24727
24728 * progmodes/python.el (python-default-interpreter)
24729 (python-python-command-args, python-jython-command-args)
24730 (python-which-shell, python-which-args, python-which-bufname)
24731 (python-file-queue, python-comint-output-filter-function)
24732 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24733 variables and functions.
24734
24735 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24736
24737 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24738 (completion-in-region-mode): New minor mode.
24739 (completion-in-region): Use it.
24740 (completion-in-region--data, completion-in-region-mode-map): New vars.
24741 (completion-in-region--postch): New function.
24742 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24743 New vars.
24744 (completion--capf-wrapper): New function.
24745 (completion-at-point): Use it to track well-behavedness of
24746 hook functions.
24747 (completion-help-at-point): New command.
24748
24749 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24750
24751 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24752 syntax class to search for whitespace on a single line
24753 (Message-ID: <4D938140.4030905@redhat.com>).
24754
24755 2011-03-30 Leo Liu <sdl.web@gmail.com>
24756
24757 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24758 New commands.
24759 (edit-abbrevs-map): Bind them here.
24760 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24761
24762 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24763
24764 * allout.el (allout-hide-by-annotation, allout-flag-region):
24765 Reduce possibility of overlay leakage by making them volatile.
24766
24767 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24768 hash is not shared between buffers. Mode initialization is
24769 responsible for giving it a useful starting value.
24770 (allout-item-span): Reduce possibility of overlay leakage by
24771 making them volatile.
24772 (allout-widgets-count-buttons-in-region): Add diagnostic function
24773 for tracking down button overlay leaks.
24774
24775 2011-03-29 Leo Liu <sdl.web@gmail.com>
24776
24777 * ido.el (ido-read-internal): Use the default history var
24778 minibuffer-history if no HISTORY is specified.
24779
24780 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24781
24782 * net/imap.el (imap-shell-open, imap-process-connection-type):
24783 Use imap-process-connection-type for 'shell' streams as well as
24784 Kerberos, SSL, other subprocesses.
24785
24786 2011-03-28 Leo Liu <sdl.web@gmail.com>
24787
24788 * abbrev.el (abbrev-table-empty-p): New function.
24789 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24790 nonempty ones. (Bug#5937)
24791
24792 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24793
24794 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24795
24796 2011-03-27 Leo Liu <sdl.web@gmail.com>
24797
24798 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24799 for foreground and background colors.
24800 (ansi-color-make-color-map): Adapt.
24801
24802 2011-03-25 Leo Liu <sdl.web@gmail.com>
24803
24804 * midnight.el (midnight-time-float): Remove. Note it calculates
24805 the microsecond component incorrectly and seconds-to-time does the
24806 same job.
24807 Remove redundant (require 'timer).
24808
24809 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24810 (ido-completions): Remove unused arguments. (Bug#8329)
24811
24812 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24813
24814 * minibuffer.el (completion--flush-all-sorted-completions):
24815 Remove itself from hook.
24816 (completion-at-point): Let the functions perform the completion
24817 immediately and return nil or t.
24818 * comint.el (comint-dynamic-complete-functions): Now identical to
24819 completion-at-point-functions.
24820 (comint-dynamic-list-input-ring): Remove unused var `index'.
24821 (comint--match-partial-filename, comint--unquote&expand-filename):
24822 New funs, split from comint-match-partial-filename.
24823 (comint-dynamic-complete): Use completion-at-point.
24824 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24825
24826 2011-03-24 Drew Adams <drew.adams@oracle.com>
24827
24828 * thingatpt.el: Support `defun'.
24829
24830 2011-03-23 Leo Liu <sdl.web@gmail.com>
24831
24832 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24833
24834 * help-mode.el (help-mode-finish): Tweak regexp.
24835
24836 2011-03-23 Glenn Morris <rgm@gnu.org>
24837
24838 * eshell/esh-opt.el (eshell-eval-using-options):
24839 Do not bind unused local variable `eshell-option-stub'.
24840
24841 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24842
24843 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24844
24845 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24846 keymap variable in `with-no-warnings' to avoid a warning when the
24847 keymap has been already `defconst'ed.
24848
24849 2011-03-22 Leo Liu <sdl.web@gmail.com>
24850
24851 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24852 encode all chars in abbrevs; otherwise use emacs-mule or
24853 utf-8-emacs. (Bug#8308)
24854
24855 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24856
24857 * simple.el (backward-delete-char-untabify):
24858 Avoid warning about using `delete-backward-char'.
24859
24860 * image.el (image-type-file-name-regexps): Make it variable.
24861 `imagemagick-register-types' modifies it, and the user may want
24862 to add new extensions for known image types.
24863 (imagemagick-register-types): Throw error if not using ImageMagick.
24864
24865 2011-03-22 Leo Liu <sdl.web@gmail.com>
24866
24867 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24868 located before rcirc-prompt-end-marker.
24869 (rcirc-complete): Error if point is not after rcirc prompt.
24870 Handle the case when table is nil.
24871 (rcirc-user-authenticated): Define to fix compiler warning.
24872
24873 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24874
24875 * custom.el (custom--inhibit-theme-enable): Make it affect only
24876 custom-theme-set-variables and custom-theme-set-faces.
24877 (provide-theme): Ignore custom--inhibit-theme-enable.
24878 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24879 (custom-enabling-themes): Delete variable.
24880 (enable-theme): Accept only loaded themes as arguments.
24881 Ignore the special custom-enabled-themes variable.
24882 (custom-enabled-themes): Forbid themes from setting this.
24883 Eliminate use of custom-enabling-themes.
24884 (custom-push-theme): Quote "changed" custom var entry.
24885
24886 2011-03-21 Leo Liu <sdl.web@gmail.com>
24887
24888 * ido.el (ido-read-internal): Add ido-selected to history instead
24889 of user input.
24890
24891 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24892
24893 * subr.el (deferred-action-list, deferred-action-function):
24894 Mark obsolete.
24895
24896 2011-03-21 Leo Liu <sdl.web@gmail.com>
24897
24898 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24899 change on 2011-02-13 (bug#8309).
24900
24901 * minibuffer.el (read-file-name-function): Change default value.
24902 (read-file-name--defaults): Rename from read-file-name-defaults.
24903 (read-file-name-default): Rename from read-file-name.
24904 (read-file-name): Call read-file-name-function.
24905
24906 2011-03-21 Glenn Morris <rgm@gnu.org>
24907
24908 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24909 Doc fixes.
24910
24911 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24912
24913 * cus-theme.el: Add missing provide statement.
24914 (customize-create-theme): Extract theme value correctly.
24915 (custom-theme-visit-theme): Autoload.
24916 (customize-create-theme): Prompt before inserting default faces.
24917
24918 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24919
24920 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24921 units and musical notes.
24922
24923 2011-03-20 Leo Liu <sdl.web@gmail.com>
24924
24925 * ido.el (ido-read-internal): Use completing-read-default.
24926 (ido-completing-read): Fix compatibility with completing-read.
24927
24928 2011-03-20 Christian Ohler <ohler@gnu.org>
24929
24930 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24931 (ert-delete-all-tests): Use `called-interactively-p' rather than
24932 `interactive-p'.
24933 (ert--make-xrefs-region): Respect END.
24934
24935 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24936
24937 * dired-aux.el (dired-create-directory): Signal an error if the
24938 directory already exists (Bug#8246).
24939
24940 * facemenu.el (list-colors-display): Call list-faces-display
24941 inside with-help-window.
24942 (list-colors-print): Use display property to align the final
24943 column, instead of checking window-width.
24944
24945 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24946
24947 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24948 windows-nt systems.
24949 (emerge-protect-metachars): Quote correctly for ms-dos and
24950 windows-nt systems.
24951
24952 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24953
24954 * info.el (info-initialize): Replace all uses of `:' with
24955 path-separator for compatibility with non-Unix systems.
24956 Cache quoting of path-separator. (Bug#8258)
24957
24958 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24959
24960 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24961 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24962 (mouse-avoidance-mode): Fix typos in docstrings.
24963
24964 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24965
24966 * startup.el (package-subdirectory-regexp): Move from package.el.
24967 Omit \\` and \\', and let callers add them.
24968
24969 * emacs-lisp/package.el (package-strip-version)
24970 (package-load-all-descriptors): Add \\` and \\' to
24971 package-subdirectory-regexp before using it.
24972 (package-untar-buffer): New arg DIR; ensure that file untars only
24973 into this expected directory. Remove superfluous delete-region.
24974 (package-unpack): Caller changed.
24975 (package-tar-file-info): Use package-subdirectory-regexp.
24976
24977 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24978
24979 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24980 diff-mode-shared-map (bug#8284).
24981 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24982
24983 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24984
24985 * calendar/time-date.el (format-seconds): Use assoc instead of
24986 assoc-string, since assoc-string doesn't exist in XEmacs.
24987
24988 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24989
24990 * custom.el (custom-known-themes): Reflow docstring.
24991 (custom-theme-load-path): Fix typo in docstring.
24992 (load-theme): Fix typo in error message.
24993 (custom-available-themes, custom-variable-theme-value):
24994 Use `let', not `let*'.
24995
24996 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24997
24998 * calc/README: Mention inclusion of musical notes.
24999
25000 * calc/calc-units.el (calc-lu-quant): Rename from
25001 `calc-logunits-quantity'.
25002 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25003 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25004 (calc-db): Rename from `calc-dblevel'.
25005 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25006 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25007 (calc-np): Rename from `calc-nplevel'.
25008 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25009 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25010 (calc-lu-plus): Rename from `calc-logunits-add'.
25011 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25012 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25013 (calc-lu-minus): Rename from `calc-logunits-sub'.
25014 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25015 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25016 (calc-lu-times): Rename from `calc-logunits-mul'.
25017 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25018 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25019 (calc-lu-divide): Rename from `calc-logunits-div'.
25020 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25021 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25022
25023 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25024 functions being autoloaded.
25025
25026 * calc/calc.el (calc-lu-power-reference): Rename from
25027 `calc-logunits-power-reference'.
25028 (calc-lu-field-reference): Rename from
25029 `calc-logunits-field-reference'.
25030
25031 * calc/calc-help.el (calc-l-prefix-help):
25032 Mention musical note functions.
25033
25034 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25035
25036 * minibuffer.el (completion-all-sorted-completions):
25037 Use :completion-cycle-penalty text property if present.
25038
25039 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25040
25041 * allout.el (allout-yank-processing): Adjust for new rebulleting
25042 regime so bullet being yanked is used without prompting the user
25043 for a choice.
25044
25045 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25046
25047 * startup.el (command-line): Warn the user that _emacs is deprecated.
25048
25049 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25050
25051 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25052 (delphi-verbose, delphi-comment-face, delphi-string-face)
25053 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25054 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25055 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25056 (delphi-new-comment-line, delphi-font-lock-defaults)
25057 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25058 Fix typos in docstrings.
25059
25060 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25061
25062 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25063 Invert the roles of character and string values for INSTEAD, so a
25064 string is used for the more common case of a defaulting prompt.
25065
25066 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25067
25068 * progmodes/ruby-mode.el (ruby-backward-sexp):
25069 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25070 * play/gamegrid.el (gamegrid-make-face):
25071 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25072 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25073 * notifications.el (notifications-notify):
25074 * net/xesam.el (xesam-search-engines):
25075 * net/quickurl.el (quickurl-list-insert):
25076 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25077
25078 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25079
25080 * startup.el (command-line): Update package subdirectory regexp.
25081
25082 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25083
25084 * allout.el (allout-abbreviate-flattened-numbering)
25085 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25086
25087 * subr.el (read-char-choice): Only show the cursor after the prompt,
25088 not after the answer.
25089
25090 2011-03-15 Kevin Ryde <user42@zip.com.au>
25091
25092 * help-fns.el (variable-at-point): Skip leading quotes, if any
25093 (bug#8253).
25094
25095 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25096
25097 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25098 warning message.
25099
25100 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25101
25102 * shell.el (shell): When called interactively, offer to change the
25103 shell file name on remote hosts.
25104
25105 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25106
25107 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25108 integration for LDAP parameters. The host, base, user or binddn,
25109 and secret tokens can be specified in a netrc file, for instance.
25110 This is optional because an `auth-source' parameter must be
25111 specified in the search attributes.
25112
25113 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25114
25115 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25116
25117 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25118
25119 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25120 into declaration. Remove redundant and harmful binding.
25121
25122 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25123
25124 * files.el (file-ownership-preserved-p): Pass `integer' as an
25125 explicit 2nd argument to `file-attributes'. If the file's owner
25126 is the Administrators group on Windows, and the current user is
25127 Administrator, consider that a match.
25128
25129 * server.el (server-ensure-safe-dir): Consider server directory
25130 safe on MS-Windows if its owner is the Administrators group while
25131 the current Emacs user is Administrator. Use `=' to compare
25132 numerical UIDs, since they could be integers or floats.
25133
25134 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25135
25136 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25137
25138 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25139
25140 Sync with Tramp 2.2.1.
25141
25142 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25143
25144 * net/trampver.el: Update release number.
25145
25146 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25147
25148 * progmodes/compile.el (compilation--previous-directory): Fix up
25149 various nil/dead-marker mismatches (bug#8014).
25150 (compilation-directory-properties, compilation-error-properties):
25151 Don't call it at a position past the one we're about to change.
25152
25153 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25154 Disable obsolescence warnings in the file that declares it.
25155
25156 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25157
25158 * allout-widgets.el (allout-widgets-tally):
25159 Initialize allout-widgets-tally as a hash table rather than nil to
25160 prevent mode-line redisplay warnings. Also, clarify the module
25161 description and fix a comment typo.
25162
25163 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25164
25165 * help-fns.el (describe-variable): Don't complete keywords.
25166 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25167
25168 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25169
25170 * emacs-lisp/package.el (package-version-join): Impose a standard
25171 string representation for pre/alpha/beta version lists.
25172 (package-unpack-single): Standardize the directory name by passing
25173 it through package-version-join.
25174 (package-strip-rcs-id): Accept any version string that does not
25175 signal an error in version-to-list.
25176
25177 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25178
25179 * simple.el (delete-trailing-whitespace): Return nil for the
25180 benefit of `write-file-functions'.
25181
25182 2011-03-10 Glenn Morris <rgm@gnu.org>
25183
25184 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25185
25186 * vc/vc-git.el (vc-git-program): New option.
25187 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25188 (vc-git--call): Use it.
25189
25190 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25191
25192 * cus-edit.el (Custom-newline): If no button at point, look
25193 for a subgroup button at start-of-line. (Bug#2298)
25194
25195 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25196
25197 2011-03-10 Julien Danjou <julien@danjou.info>
25198
25199 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25200 `cursor-type' is nil.
25201
25202 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25203
25204 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25205
25206 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25207
25208 * allout.el: Change so yank of distinctive-bullet items
25209 preserves the existing header prefix, rebulleting it if necessary,
25210 rather than replacing it. This is necessary for proper operation
25211 of cooperative addons like allout-widgets.
25212 (allout-make-topic-prefix, allout-rebullet-heading):
25213 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25214 value as alternate bullet to be used, instead of prompting the user
25215 for a bullet character.
25216
25217 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25218
25219 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25220 Do not use `tramp-file-name-port', because this returns also
25221 `tramp-default-port'.
25222
25223 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25224
25225 * net/rcirc.el (rcirc-handler-001): Remove useless
25226 with-rcirc-process-buffer.
25227 (rcirc-check-auth-status): Swap arguments to string-match.
25228
25229 2011-03-09 Glenn Morris <rgm@gnu.org>
25230
25231 * shell.el (shell-mode):
25232 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25233
25234 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25235 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25236
25237 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25238
25239 * emacs-lisp/package.el (package-refresh-contents)
25240 (package-menu-execute): Use condition-case-no-debug.
25241
25242 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25243
25244 * simple.el (shell-command-to-string): Use `process-file'.
25245
25246 * emacs-lisp/package.el (package-tar-file-info): Handle also
25247 remote files.
25248
25249 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25250 Use `equal' for upload base check.
25251
25252 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25253
25254 * textmodes/texinfo.el (texinfo-environments):
25255 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25256
25257 2011-03-08 Glenn Morris <rgm@gnu.org>
25258
25259 * cus-start.el (cursor-in-non-selected-windows):
25260 Fix :set quoting oddness. (Bug#8192)
25261
25262 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25263 in some setf expressions. (Bug#2159)
25264
25265 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25266
25267 * custom.el (custom-available-themes): Return themes in
25268 alphabetical order.
25269
25270 See ChangeLog.15 for earlier changes.
25271
25272 ;; Local Variables:
25273 ;; coding: utf-8
25274 ;; End:
25275
25276 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25277
25278 This file is part of GNU Emacs.
25279
25280 GNU Emacs is free software: you can redistribute it and/or modify
25281 it under the terms of the GNU General Public License as published by
25282 the Free Software Foundation, either version 3 of the License, or
25283 (at your option) any later version.
25284
25285 GNU Emacs is distributed in the hope that it will be useful,
25286 but WITHOUT ANY WARRANTY; without even the implied warranty of
25287 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25288 GNU General Public License for more details.
25289
25290 You should have received a copy of the GNU General Public License
25291 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.