]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* bookmark.el: Display the bookmark list header similarly to the
[gnu-emacs] / lisp / ChangeLog
1 2013-03-07 Karl Fogel <kfogel@red-bean.com>
2
3 * bookmark.el: Display the bookmark list header similarly to the
4 buffer list header (see `list-buffers'), where the default is now
5 an immovable/immutable header line. Patch by Matthias Meulien
6 <orontee {_AT_} gmail.com> with a few tweaks by me.
7
8 (bookmark-bmenu-use-header-line): New variable.
9 (bookmark-bmenu-inline-header-height): New name for
10 `bookmark-bmenu-header-height', to avoid confusion with the code
11 for the new immovable header. All references changed.
12 (bookmark-bmenu-set-header): New function.
13 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
14 Conditionalize header construction accordingly.
15 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
16 the inline header height.
17 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
18 Conditionalize the skipping of the inline header height.
19
20 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
21
22 * progmodes/js.el (js--multi-line-declaration-indentation): Merge
23 from js2-mode (https://github.com/mooz/js2-mode/issues/89).
24
25 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
26
27 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Only
28 propertize regexp when not inside a string (Bug#13885).
29
30 2013-03-06 Alan Mackenzie <acm@muc.de>
31
32 Correct the position of point in some line-up functions.
33 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
34 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
35 point at column 0 rather than at a random place in the line.
36
37 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
38
39 * net/tramp-compat.el (tramp-compat-delete-directory): Implement
40 TRASH argument.
41
42 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
43
44 Keep pre-existing highlighting in completion candidates (Bug#13250).
45 * minibuffer.el (completions-first-difference): State that the
46 face is "added" in the docstring.
47 (completions-common-part): Same. And don't inherit from default.
48 (completion-hilit-commonality): Prepend 'completions-common-part
49 and 'completion-first-difference faces to the 'face property,
50 instead of replacing the value(s).
51 (completion--insert-strings): Same with 'completions-annotations face.
52 (completion-hilit-commonality): Use 'face instead of
53 'font-lock-face, because it gets priority if the completion
54 strings already have 'face set.
55
56 2013-03-04 Alan Mackenzie <acm@muc.de>
57
58 Replace `last-command-event' by `last-command-char' in XEmacs.
59 * progmodes/cc-defs.el (c-last-command-char): New macro.
60 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
61 (c-semi&comma-no-newlines-before-nonblanks)
62 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
63 in place of `last-command-event'.
64 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
65 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
66 (c-electric-paren, c-electric-continued-statement): Use the new
67 macro in place of `last-command-event'.
68
69 2013-03-04 Glenn Morris <rgm@gnu.org>
70
71 * files.el (inhibit-local-variables-regexps):
72 Add .diff and .patch. (Bug#13862)
73
74 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
75
76 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
77 whether the "su" command is available on the device.
78
79 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
80
81 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
82 (tramp-adb-handle-process-file): Remove superfluous setting.
83 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
84 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
85 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
86
87 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
88
89 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
90 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
91 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
92 Use dict-key rather than dict-name for the error message.
93
94 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
95
96 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
97 when reverting (bug#13831).
98
99 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
100
101 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
102 Always expand affix-file before storing to protect against changed
103 `default-directory'.
104 (ispell-print-if-debug): Make sure message is printed at the end
105 of the debug buffer.
106
107 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
108
109 * net/tramp.el (tramp-obsolete-methods): New defconst.
110 (tramp-warned-obsolete-methods): New defvar.
111 (tramp-find-method): Check for obsolete methods. Map them to a
112 replacement method if appropriate.
113
114 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
115 Remove methods.
116 (top): Remove completion functions for "scp1", "scp2", "ssh1",
117 "ssh2" and "plink1".
118
119 2013-02-28 Dale Sedivec <dale@codefu.org>
120
121 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
122 Return valid syntax-table property value when converting
123 quotes within text from string syntax to punctuation syntax (bug#13844).
124
125 2013-02-28 Juri Linkov <juri@jurta.org>
126
127 * dired-aux.el (dired-diff): If file at point is a backup file,
128 use its original as the default value, and reverse the order
129 of arguments to the `diff' call. Doc fix. (Bug#13772)
130
131 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
132
133 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
134 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
135
136 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
137
138 Initial support for hunspell dictionaries auto-detection (Bug#13639)
139
140 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
141 Ask hunspell about available and default dictionaries.
142 (ispell-parse-hunspell-affix-file): Extract relevant info from
143 hunspell affix file.
144 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
145 `ispell-dictionary-alist' entry for given dictionary after info
146 provided by `ispell-parse-hunspell-affix-file'.
147 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
148 of parsed hunspell dicts and associated affix files.
149 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
150 of parsed hunspell dicts and associated parameters.
151 (ispell-set-spellchecker-params):
152 Call `ispell-find-hunspell-dictionaries' if hunspell and not
153 previously done.
154 (ispell-start-process):
155 Call `ispell-hunspell-fill-dictionary-entry' for current
156 dictionary if it is not initialized.
157
158 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
159
160 * imenu.el: Comment nitpicks.
161
162 2013-02-28 Sam Steingold <sds@gnu.org>
163
164 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
165 See <http://stackoverflow.com/questions/14720205>.
166
167 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
168
169 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
170 (net-utils-mode): Use it.
171 (net-utils--revert-cmd): New var.
172 (net-utils-run-simple): Set it, and remove bogus interactive spec.
173 (traceroute): Use net-utils-run-simple.
174
175 2013-02-28 Glenn Morris <rgm@gnu.org>
176
177 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
178
179 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
180
181 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
182 (doc-view-fallback-mode): Remove overlays here.
183 (doc-view-toggle-display): Instead of here. Don't throw away
184 image-mode-winprops-alist.
185 (doc-view-goto-page): Don't mess with hscroll.
186
187 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
188
189 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
190 &optional (bug#13819).
191
192 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
193
194 * net/tramp-adb.el (tramp-adb-parse-device-names)
195 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
196
197 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
198
199 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
200 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
201 defined. POSIX environments fall back to the "C" locale then and
202 emit a warning, which shall be suppressed.
203
204 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
205
206 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
207 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
208
209 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
210
211 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
212
213 2013-02-25 Juri Linkov <juri@jurta.org>
214
215 * replace.el (read-regexp): Let-bind `default' to the first
216 element of `defaults' if it's a list, otherwise it should be
217 a string or nil. Let-bind `suggestions' to `defaults' if it's
218 a list, otherwise make a list with the string value. Doc fix.
219 (Bug#13805)
220
221 2013-02-25 Eli Zaretskii <eliz@gnu.org>
222
223 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
224 that match "\`\.#", to avoid compiling lock files, even if they
225 are readable (as they are on MS-Windows).
226
227 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
228
229 * files.el (basic-save-buffer): Remove redundant directory-creation.
230
231 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
232
233 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
234 Add option to force `pi' to remain symbolic.
235 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
236 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
237 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
238 derivatives, when necessary.
239
240 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
241
242 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
243 (ps-mode-octal-region): Use string-make-unibyte.
244
245 2013-02-23 Glenn Morris <rgm@gnu.org>
246
247 * emulation/viper-cmd.el (viper-submit-report):
248 * progmodes/ps-mode.el (ps-mode-maintainer-address):
249 * progmodes/vera-mode.el (vera-mode-help-address):
250 * textmodes/artist.el (artist-maintainer-address):
251 * textmodes/reftex.el (reftex-report-bug):
252 * vc/ediff-util.el (ediff-submit-report):
253 Add bug-gnu-emacs to bug report address.
254
255 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
256 Remove bug report entries.
257 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
258
259 * emacs-lisp/bytecomp.el (byte-compile-level): New.
260 (byte-compile-file, byte-compile-from-buffer):
261 Use separate input/output buffers for each level of recursive
262 byte-compile-file calls. (Bug#13787)
263
264 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
265
266 * net/tramp.el (tramp-methods): Fix docstring.
267 (tramp-ssh-controlmaster-options): Rename it from
268 `tramp-ssh-controlmaster-template'. Return a string.
269 (tramp-default-method): Adapt check for
270 `tramp-ssh-controlmaster-options'.
271
272 * net/tramp-sh.el (tramp-methods):
273 Replace `tramp-ssh-controlmaster-template' by "%c".
274 (tramp-do-copy-or-rename-file-out-of-band)
275 (tramp-maybe-open-connection): Use it in format spec. Ensure,
276 that it is applied for the first hop only.
277
278 2013-02-22 Juri Linkov <juri@jurta.org>
279
280 * isearch.el (isearch-lazy-highlight-new-loop):
281 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
282 to `isearch-other-end' if it is not nil. (Bug#13402)
283
284 * replace.el (replace-highlight): Let-bind `isearch-other-end'
285 to `match-beg'.
286
287 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
288 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
289 and `isearch-error' to nil.
290
291 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
292
293 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
294
295 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
296 Handle multibyte file names.
297
298 2013-02-22 Glenn Morris <rgm@gnu.org>
299
300 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
301 (sgml-transformation-function): Give it a :set function.
302 (sgml-tag): Doc fix.
303
304 * cmuscheme.el (scheme-buffer):
305 * progmodes/inf-lisp.el (inferior-lisp-buffer):
306 * progmodes/tcl.el (inferior-tcl-buffer):
307 * textmodes/tex-mode.el (tex-command): Doc fixes.
308
309 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
310
311 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
312
313 2013-02-21 Bastien Guerry <bzg@gnu.org>
314
315 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
316
317 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
318
319 * progmodes/python.el (python-info-current-defun):
320 Enhance match-data cluttering prevention.
321
322 2013-02-21 Glenn Morris <rgm@gnu.org>
323
324 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
325 loaded while outline-regexp is let bound. (Bug#9584)
326
327 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
328
329 * progmodes/python.el (python-info-current-defun): Fix failed
330 defun name retrieval because of unwanted match-data cluttering.
331
332 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
333
334 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
335 defconst. Apply independent check for ControlPersist.
336
337 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
338 temporarily, via "env".
339
340 2013-02-21 Glenn Morris <rgm@gnu.org>
341
342 * info.el (Info-enable-edit): Remove.
343 (Info-edit): Disable it rather than using Info-enable.
344 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
345 (Info-cease-edit): Make editing of Info files obsolete.
346
347 * informat.el (Info-tagify):
348 Handle buffers not visiting files. (Bug#13763)
349
350 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
351
352 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
353
354 2013-02-21 Glenn Morris <rgm@gnu.org>
355
356 * files.el (basic-save-buffer): Move check for existing parent
357 directory after hooks. (Bug#13773)
358
359 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
360
361 * simple.el (command-execute): Move from C. Add obsolete check.
362 (extended-command-history): Move from C.
363
364 2013-02-20 Ulrich Müller <ulm@gentoo.org>
365
366 * jka-cmpr-hook.el (jka-compr-compression-info-list)
367 (jka-compr-mode-alist-additions): Handle .txz suffix for
368 XZ-compressed tar archives (bug#13770).
369
370 2013-02-20 Bastien Guerry <bzg@gnu.org>
371
372 * outline.el (outline-regexp, outline-heading-end-regexp):
373 Make variables, not options (bug#13731).
374
375 2013-02-20 Glenn Morris <rgm@gnu.org>
376
377 * image.el (image-current-frame): Change from variable to function.
378 (image-show-frame): Rename from image-nth-frame. Update callers.
379 * image-mode.el (image-multi-frame): New variable.
380 (image-mode-map, image-mode, image-goto-frame):
381 Use image-multi-frame rather than image-current-frame.
382 (image-mode, image-goto-frame): Use image-current-frame as
383 function rather than as variable.
384
385 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
386 * emacs-lisp/cl-macs.el (cl--make-type-test)
387 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
388
389 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
390
391 * net/tramp-cache.el (tramp-get-hash-table): New defun.
392 (tramp-get-file-property, tramp-set-file-property)
393 (tramp-get-connection-property, tramp-set-connection-property): Use it.
394 (tramp-flush-file-property, tramp-flush-directory-property):
395 Rename argument to KEY.
396 (tramp-flush-connection-property): Simplify a little bit.
397 (tramp-connection-property-p): New defun.
398 (top): Reapply saved values only if there isn't a corresponding
399 entry in `tramp-connection-properties'.
400
401 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
402
403 * progmodes/python.el (python-indent-context):
404 Fix python-info-line-ends-backslash-p call.
405 (python-info-line-ends-backslash-p)
406 (python-info-beginning-of-backslash): Respect line-number argument.
407 (python-info-current-line-comment-p):
408 Fix behavior when not at beginning-of-line.
409 (python-util-position): Remove function.
410 (python-util-goto-line): New function.
411
412 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
413
414 * eshell/em-unix.el (eshell/su): Require tramp.
415 (eshell/sudo): Require tramp. Remove now unnecessary check.
416
417 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
418 `tramp-current-connection' in order to avoid an error when several
419 commands are invoked in a short time in eshell and friends.
420
421 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
422
423 Cleanup some of EIEIO's namespace.
424 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
425 Use it to define all the class-* and object-* field accessors (renamed
426 to eieio--class-* and eieio--object-*). Update all uses.
427 (eieio--class-num-slots, eieio--object-num-slots): Rename from
428 class-num-slots and object-num-slots.
429 (eieio--check-type): New macro.
430 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
431 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
432 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
433 (object-assoc-list-safe): Use it.
434 (eieio-defclass): Tighten regexp.
435 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
436 Remove unreachable code.
437 (object-class-fast): Declare obsolete.
438 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
439 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
440 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
441 Rename from class-name, object-name, object-set-name-string,
442 object-class, object-class-name, class-parents, class-children,
443 class-precedence-list, class-parent; with obsolete alias.
444 (class-of, class-direct-superclasses, class-direct-subclasses):
445 Declare obsolete.
446 (eieio-defmethod): Use `memq'; remove unreachable code.
447 * emacs-lisp/eieio-base.el (eieio-persistent-read):
448 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
449 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
450
451
452 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
453
454 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
455 Use font-lock-keyword-face for macros and special forms (bug#8345).
456
457 2013-02-17 Didier Verna <didier@didierverna.net>
458
459 * net/network-stream.el (network-stream-open-starttls):
460 Check that response to the starttls-command is non-nil. (Bug#13706)
461
462 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
465 Don't assume all identifier chars have syntax word.
466 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
467 Remove bar-not-symbol. Adjust callers.
468 (lisp-mode-variables): Don't set a font-lock-syntax-table.
469
470 2013-02-17 Leo Liu <sdl.web@gmail.com>
471
472 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
473
474 2013-02-17 Glenn Morris <rgm@gnu.org>
475
476 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
477
478 * image-mode.el (image-mode-map): Add image-dired menu entry.
479
480 * image-dired.el (tumme): Make this alias obsolete.
481
482 2013-02-16 Glenn Morris <rgm@gnu.org>
483
484 * image.el (image-animated-types): Remove.
485 (image-multi-frame-p): Rename from image-animated-p, and generalize.
486 (image-animated-p): Make obsolete alias.
487 (image-animate, image-nth-frame, image-animate-timeout):
488 Use image-multi-frame-p.
489 (image-animate-timeout): If no delay, use image-default-frame-delay.
490 * image-mode.el (image-mode, image-toggle-animation):
491 Use image-multi-frame-p. (Bug#763, bug#10739)
492 (image-mode): Adjust startup message for a multi-frame image.
493
494 * image-mode.el (image-mode-map): Give it a menu.
495
496 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
497
498 * net/tramp-cache.el (tramp-connection-properties): New customer
499 option.
500 (tramp-get-connection-property): Use it.
501
502 * net/tramp-compat.el (top): Require 'trampver.
503
504 * net/tramp-sh.el (tramp-remote-process-environment):
505 Set tramp-autoload cookie.
506
507 2013-02-16 Kevin Ryde <user42@zip.com.au>
508
509 * info-look.el (info-lookup-select-mode): If major-mode has no
510 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
511
512 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
513
514 * replace.el (read-regexp): Tighten the regexp that matches tag.
515 When tag is retrieved with `find-tag-default', use regexp that
516 matches tag at point. Also update docstring (Bug#13687).
517
518 2013-02-16 Eli Zaretskii <eliz@gnu.org>
519
520 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
521 add watch for the file, not its parent directory, since w32notify
522 sets up the watch for the directory internally. (Bug#13725)
523
524 2013-02-16 Glenn Morris <rgm@gnu.org>
525
526 * image.el (image-default-frame-delay): New variable.
527 (image-animated-p): Use image-default-frame-delay.
528 (image-minimum-frame-delay): New constant.
529 (image-animate-timeout): Use image-minimum-frame-delay.
530
531 * image.el (image-nth-frame): New, split from image-animate-timeout.
532 (image-animate-timeout): Use image-nth-frame.
533 * image-mode.el (image-goto-frame, image-next-frame)
534 (image-previous-frame): New commands.
535 (image-mode-map): Add new frame commands.
536
537 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
538
539 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
540 If col-desc already has help-echo, use it. (Bug#13563)
541
542 2013-02-16 Glenn Morris <rgm@gnu.org>
543
544 * image.el (image-current-frame): New variable.
545 (image-animate-timeout): Set image-current-frame.
546 * image-mode.el (image-mode): For animated images,
547 display a frame counter via mode-line-process.
548
549 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
550
551 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
552
553 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
554
555 2013-02-15 Alan Mackenzie <acm@muc.de>
556
557 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
558 global minor mode has been enabled, call the minor mode function
559 for a new buffer once only, after the major mode hook, whilst
560 allowing that hook explicitly to disable the minor mode.
561 (MODE-disable-in-buffer): New (generated) function.
562 (disable-MODE): New (generated) buffer local variable.
563
564 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
565
566 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
567 `iswitchb-next-match' and `iswitchb-prev-match' resply.
568 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
569 `ido-next-match' and `ido-prev-match' resply.
570 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
571 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
572 `icomplete-backward-completions' (Bug#13708).
573
574 2013-02-15 Glenn Morris <rgm@gnu.org>
575
576 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
577
578 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
579
580 * net/goto-addr.el (goto-address-fontify): Add start and end args.
581 (goto-address-fontify-region): Use them instead of narrowing, so
582 syntax-ppss has access to the whole buffer.
583
584 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
585
586 * progmodes/python.el: Explain how to restore "cc-mode"-like
587 forward-sexp movement in header documentation (Bug#13642).
588 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
589 comments and strings (GH bug 114).
590
591 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
592
593 * progmodes/python.el (python-info-current-defun): Fix current
594 defun detection (Bug#13618).
595
596 2013-02-15 Chong Yidong <cyd@gnu.org>
597
598 * xml.el (xml-parse-string): Fix typo in handling of bad character
599 references.
600
601 2013-02-15 Glenn Morris <rgm@gnu.org>
602
603 * play/fortune.el (fortune-compile): Simplify and fix previous change.
604
605 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
606
607 * net/tramp.el (tramp-debug-message):
608 Add `tramp-condition-case-unless-debug'.
609 (tramp-debug-on-error): New defvar.
610 (tramp-condition-case-unless-debug): New defun.
611 (tramp-file-name-handler): Use it.
612
613 2013-02-14 Juri Linkov <juri@jurta.org>
614
615 * info.el (Info-isearch-filter): Treat non-nil values of
616 `search-invisible' including its default value `open'
617 like the value `t' to match hidden text. (Bug#13402)
618
619 2013-02-14 Glenn Morris <rgm@gnu.org>
620
621 * help-fns.el (find-lisp-object-file-name): Give special treatment
622 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
623
624 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
625
626 * net/quickurl.el (quickurl-save-urls):
627 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
628
629 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
630
631 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
632 depth for unfinished percent literal. Not using it in the caller.
633 (ruby-move-to-block): Jump over multiline literals of all types,
634 ignoring code-looking contents inside them.
635 (ruby-add-log-current-method): Improve performance at the expense
636 of accuracy. `ruby-block-contains-point' is relatively slow, so
637 only use it for method and singleton class blocks.
638
639 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
640
641 Use ControlMaster where applicable. (Bug#13677)
642
643 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
644 replacing `tramp-detect-ssh-controlmaster'.
645 (tramp-default-method): Use it.
646
647 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
648 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
649 arguments.
650 [scpc, rsyncc]: Remove methods.
651 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
652 and "ssh2_old".
653 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
654 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
655
656 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * emacs-lisp/package.el (package--initialized): Move before first use.
659
660 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
661
662 * icomplete.el (icomplete-hide-common-prefix): New user option.
663 (icomplete-first-match): New face.
664 (icomplete-completions): Correct handling of "complete but not
665 unique" (Bug#12638).
666
667 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
668
669 * descr-text.el (describe-char): Display the script (bug#13698).
670
671 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
672
673 * tmm.el: Use lexical-binding and current-active-maps.
674 (tmm-menubar): Use map-keymap and pcase.
675 (tmm--completion-table): New function.
676 (tmm-prompt): Use it to fix the menu order.
677 (tmm-get-keybind): Use current-active-maps.
678
679 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
680
681 Add dired-hide-details-mode. (Bug#6799)
682
683 * locate.el (locate-mode): Set parent mode property to dired-mode.
684
685 * find-dired.el (find-dired): Call dired-insert-set-properties on
686 initial information line. Set process mark on end of buffer.
687 (find-dired-sentinel):
688 Call dired-insert-set-properties on summary.
689
690 * dired.el (dired-hide-details-hide-symlink-targets)
691 (dired-hide-details-hide-information-lines): New options.
692 (dired-insert-directory):
693 Set properties after final treatment of output.
694 (dired-insert-set-properties):
695 Set dired-hide-details-* properties.
696 (dired-mode-map): Bind dired-hide-details-mode.
697 (dired-mode): Set buffer-invisibility-spec to a list.
698 (dired-next-line): Skip hidden lines.
699 (dired-previous-line): Use dired-next-line.
700 (dired-hide-details-mode): New minor mode.
701 (dired-hide-details-update-invisibility-spec): New function.
702
703 2013-02-13 Glenn Morris <rgm@gnu.org>
704
705 * play/yow.el: Move to obsolete/. (Bug#9384)
706
707 2013-02-13 Juri Linkov <juri@jurta.org>
708
709 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
710 to select `ediff-control-frame' and set input focus correctly on Xfce.
711 (Bug#12218)
712
713 2013-02-13 Juri Linkov <juri@jurta.org>
714
715 * image-mode.el (image-mode-map):
716 * doc-view.el (doc-view-mode-map):
717 * vc/ediff-util.el (ediff-setup-keymap):
718 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
719
720 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
721
722 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
723 performance. Instead of recalculating indentation fully for each
724 line, sum up indentation depth based only on visited lines.
725 (ruby-parse-partial): Increase the depth after "do" even when END
726 is right after it.
727 (ruby-parse-partial): When END is in the middle of a percent
728 literal, increase the depth if the delimiter chars belong to the
729 paren syntax class.
730
731 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
732
733 * play/fortune.el (fortune-compile): Also make the compiled file
734 if it does not exist at all, not just if it is old. (Bug#5338)
735
736 2013-02-13 Glenn Morris <rgm@gnu.org>
737
738 * emacs-lisp/package.el (package-menu-execute): Doc fix.
739
740 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
741
742 * lisp/emacs-lisp/package.el (package-menu-execute):
743 Add optional noquery argument. (Bug#13625)
744
745 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
746
747 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
748 if DIR exists and PARENTS is non-nil.
749
750 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
751
752 * progmodes/js.el (js--multi-line-declaration-indentation):
753 Silence byte-compiler warning.
754
755 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
756
757 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
758
759 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
760 only if it doesn't exist.
761
762 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
763 Set process marker.
764
765 2013-02-12 Tassilo Horn <tsdh@gnu.org>
766
767 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
768 UserInstallation when calling soffice to work around LibreOffice
769 bug 37531.
770
771 2013-02-12 Glenn Morris <rgm@gnu.org>
772
773 * files.el (basic-save-buffer):
774 Offer to create a non-existing directory. (Bug#3016)
775
776 * calc/calc-graph.el (calc-graph-show-dumb):
777 * calendar/calendar.el (calendar-mode-map):
778 * cus-edit.el (custom-mode-map):
779 * ehelp.el (electric-help-map):
780 * emulation/vip.el (vip-mode-map):
781 * epa.el (epa-key-list-mode-map):
782 * info.el (Info-mode-map):
783 * mail/rmail.el (rmail-mode-map):
784 * mail/rmailsum.el (rmail-summary-mode-map):
785 * man.el (Man-mode-map):
786 * net/newst-plainview.el (newsticker-mode-map):
787 * progmodes/cpp.el (cpp-edit-mode-map):
788 * progmodes/grep.el (grep-mode-map):
789 * progmodes/idlw-help.el (idlwave-help-mode-map):
790 * simple.el (special-mode-map):
791 * startup.el (splash-screen-keymap):
792 * view.el (view-mode-map):
793 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
794
795 2013-02-11 Elias Pipping <pipping@lavabit.com>
796
797 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
798 (bug#13679).
799
800 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
803
804 2013-02-11 Glenn Morris <rgm@gnu.org>
805
806 * vc/diff.el (diff-use-labels): New variable.
807 (diff-no-select): Use --label rather than -L, and first
808 check that it is supported. (Bug#11067)
809
810 * files.el (enable-dir-local-variables): New variable.
811 (hack-dir-local-variables): Respect enable-dir-local-variables.
812 * tutorial.el (help-with-tutorial):
813 Ignore directory-local variables. (Bug#11127)
814
815 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
816 (vc-svn-global-switches): ... to here. (Bug#13513)
817
818 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
819
820 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
821 Handle "foo (bar, default: xxx): " prompts.
822
823 2013-02-10 Chong Yidong <cyd@gnu.org>
824
825 * files.el (basic-save-buffer-1): Do not set
826 buffer-file-coding-system-explicit (Bug#4533).
827
828 * mail/emacsbug.el (report-emacs-bug): Change binding of
829 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
830
831 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
832
833 * calc/calc.el (calc-allow-units-as-numbers): New variable.
834 * calc/calc-units.el (calc-convert-units): Use new variable.
835
836 2013-02-09 Eli Zaretskii <eliz@gnu.org>
837
838 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
839
840 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
841 buffer-file-type.
842
843 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
844 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
845 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
846 coding-system-for-write instead.
847
848 * jka-compr.el (jka-compr-write-region): Don't bind
849 buffer-file-type.
850
851 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
852 buffer-file-type.
853
854 * files.el (file-name-buffer-file-type-alist): Remove defvar.
855 (insert-file-contents-literally): Remove reference to
856 file-name-buffer-file-type-alist.
857
858 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
859 make-obsolete.
860 (find-buffer-file-type-match, find-buffer-file-type): Remove.
861 (find-buffer-file-type-coding-system): Remove references to
862 find-buffer-file-type-match, find-buffer-file-type, and
863 buffer-file-type.
864 Don't put find-buffer-file-type-coding-system into
865 file-coding-system-alist.
866 (find-file-binary, find-file-text): Bind coding-system-for-read
867 instead of file-name-buffer-file-type-alist.
868
869 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
870
871 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
872 converter (Bug#13622).
873 (doc-view-unoconv-program): Make obsolete alias.
874 (doc-view-odf->pdf-converter-program): New variable.
875 (doc-view-odf->pdf-converter-function): New variable.
876 (doc-view-mode-p): Use it.
877 (doc-view-odf->pdf-converter-unoconv):
878 Rename from `doc-view-odf->pdf-converter-unoconv'.
879 (doc-view-odf->pdf-converter-soffice): New function.
880 (doc-view-convert-current-doc):
881 Use `doc-view-odf->pdf-converter-function'.
882
883 2013-02-09 Chong Yidong <cyd@gnu.org>
884
885 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
886 view-echo-area-messages (Bug#13340).
887
888 * help.el (view-echo-area-messages): Use display-buffer.
889
890 * dired-x.el (dired-do-run-mail): Prompt for confirmation
891 (Bug#13561).
892
893 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
894
895 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
896 Eval body right away, now that we do eager macroexpansion (bug#13605).
897
898 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
899 (fundamental-mode): Use run-mode-hooks.
900
901 * eshell/esh-proc.el (eshell/kill): Fix last change.
902 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
903
904 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
905
906 * eshell/esh-proc.el (eshell/kill): Rewrite.
907
908 * eshell/em-ls.el (show-almost-all): Declare.
909 (eshell-do-ls): Add support for -A argument.
910
911 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
912
913 * icomplete.el (icomplete-forward-completions)
914 (icomplete-backward-completions): Handle corner case (bug#13602).
915
916 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
917
918 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
919 be nil. Handle this. (Bug#13636)
920
921 2013-02-07 Richard Stallman <rms@gnu.org>
922
923 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
924 `save-buffer-coding-system'.
925
926 2013-02-07 Alan Mackenzie <acm@muc.de>
927
928 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
929 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
930 (c-parse-state-get-strategy): Don't return 'BOD any more.
931 (c-append-lower-brace-pair-to-state-cache):
932 Extra parameter HERE instead of narrowing.
933 Widen to top of buffer before searching backwards for a brace pair.
934 (c-state-push-any-brace-pair): Add HERE parameter to function call.
935 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
936 Narrow to parameter HERE, in place of being called narrowed.
937 (c-remove-stale-state-cache): Extra parameter HERE in place of
938 narrowing. Check there's an open brace in the cache before
939 searching for its match.
940 (c-invalidate-state-cache-1): Add HERE parameter to function call.
941 (c-parse-state-1): Don't narrow here for 'forward strategy,
942 instead passing extra parameter HERE to several functions.
943 Remove 'BOD strategy.
944
945 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
946
947 * emacs-lisp/package.el (describe-package-1): Tell what archive is
948 used to install the package.
949
950 2013-02-06 Glenn Morris <rgm@gnu.org>
951
952 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
953 if we can't get user input. (Bug#6567)
954
955 * startup.el (command-line): If simple.el is missing,
956 test and warn about for some possible causes.
957
958 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
959
960 * cus-start.el (all): Add ns-use-native-fullscreen.
961
962 2013-02-05 Glenn Morris <rgm@gnu.org>
963
964 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
965
966 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
967 Fix directory creation in fallback case.
968
969 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
970
971 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
972 (vc-update-change-log): Use dolist.
973
974 2013-02-04 Chong Yidong <cyd@gnu.org>
975
976 * thingatpt.el: Rewrite the URL detection routines, absorbing some
977 code from ffap.el.
978 (thing-at-point-beginning-of-url-regexp): New var.
979 (thing-at-point-uri-schemes): Update list of URI schemes.
980 (thing-at-point-url-regexp): Variable deleted.
981 (thing-at-point-markedup-url-regexp): Disallow newlines.
982 (thing-at-point-newsgroup-regexp)
983 (thing-at-point-newsgroup-heads)
984 (thing-at-point-default-mail-uri-scheme): New variables.
985 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
986 method to find the possible bounds of the URI at point.
987 New optional argument to find ill-formed URIs.
988 (thing-at-point-url-at-point): Rewrite. New arguments for finding
989 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
990 the scheme-adding heuristics from ffap-url-at-point.
991 (thing-at-point--bounds-of-well-formed-url): New function.
992 Do parens matching to decide whether to include parens in the URI
993 (Bug#9153).
994
995 * ffap.el: Require thingatpt.
996 (ffap-url-at-point): Delegate URI detection to thing-at-point.
997 All URI-valid characters are now recognized (Bug#5673).
998 (ffap-string-at-point): Use use-region-p.
999 (ffap-url-regexp): Extra character is handled by thing-at-point.
1000 (ffap-string-at-point-mode-alist): Allow parentheses.
1001 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1002 Convert to aliases; code moved to thingatpt.el.
1003 (ffap-gnus-hook): Use setq-local.
1004
1005 2013-02-04 Glenn Morris <rgm@gnu.org>
1006
1007 * emacs-lisp/ert.el (ert--explain-format-atom):
1008 Don't try to print non-characters as characters. (Bug#13543)
1009
1010 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1011
1012 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1013 (tramp-backtrace): New defun.
1014 (tramp-handle-insert-file-contents): Use `visit' when inserting
1015 the local copy.
1016
1017 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1018 Use `remote-file-name-inhibit-cache'.
1019
1020 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1021
1022 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1023 (bug#13614).
1024
1025 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1026 current-load-list (bug#13366).
1027
1028 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1029
1030 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1031 Identify g++ template instantiation trace. (Bug#12287)
1032 (compilation-mode-hook, compilation-start-hook)
1033 (compilation-window-height): Simplify docstrings. (Bug#13379)
1034
1035 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 * mouse.el (mouse-drag-track): Always deactivate the mark before
1038 running the final event's command since that command is in charge of
1039 activating the mark if needed (bug#13523).
1040
1041 2013-02-02 Juri Linkov <juri@jurta.org>
1042
1043 * replace.el (perform-replace): Move let-bindings of isearch-*
1044 variables deeper to the loop that searches for the next match.
1045 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1046 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1047 (Bug#13579)
1048
1049 * isearch.el (isearch-search-fun-default): Check for null
1050 first element of isearch-cmds as a precaution when it's used
1051 with inactive isearch.
1052
1053 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1054
1055 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1056 error when buffer in question is narrowed so position 1 is out of
1057 visible part.
1058
1059 2013-02-02 Glenn Morris <rgm@gnu.org>
1060
1061 * textmodes/remember.el (remember-clipboard): Doc fix.
1062
1063 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1066 properties (bug#13179).
1067
1068 2013-02-02 Juri Linkov <juri@jurta.org>
1069
1070 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1071 instead of hard-coded default face `match'. (Bug#9438)
1072
1073 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1074
1075 * vc/vc-arch.el (vc-arch-registered):
1076 * vc/vc-bzr.el (vc-bzr-registered):
1077 * vc/vc-cvs.el (vc-cvs-registered):
1078 * vc/vc-git.el (vc-git-registered):
1079 * vc/vc-hg.el (vc-hg-registered):
1080 * vc/vc-mtn.el (vc-mtn-registered):
1081 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1082 (Bug#13139)
1083
1084 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1085 prefix argument. (Bug#11656)
1086
1087 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1088
1089 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1090
1091 2013-02-01 Glenn Morris <rgm@gnu.org>
1092
1093 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1094 if the backend is known not to support it.
1095
1096 * imenu.el (imenu-default-create-index-function):
1097 Tweak infinite loop test to check for forward motion as well as none.
1098
1099 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1100
1101 * net/soap-client.el (soap-invoke): Encode the string for
1102 `url-request-data' as UTF-8.
1103 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1104
1105 2013-02-01 Glenn Morris <rgm@gnu.org>
1106
1107 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1108
1109 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1110
1111 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1112
1113 * net/tramp.el (tramp-tramp-file-p): Comment check for
1114 `string-as-unibyte'. The function does not exist on XEmacs, and
1115 likely we need another approach.
1116
1117 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1118 `tramp-gw-*' variables are bound.
1119
1120 2013-01-31 Glenn Morris <rgm@gnu.org>
1121
1122 * files.el (basic-save-buffer-2): Choose coding system for
1123 writing the file before backing it up, to reduce delay between
1124 backing up and writing the new version. (Bug#13522)
1125
1126 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1127
1128 * simple.el (cycle-spacing): New command.
1129 (just-one-space): Use it.
1130
1131 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1132
1133 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1134 (opascal-newline-always-indents): Remove custom.
1135 (opascal-tab, opascal-newline): Remove commands.
1136 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1137 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1138 (opascal-save-match-data): Remove, use save-match-data instead.
1139 (opascal-save-state): Use with-silent-modifications.
1140
1141 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1142 (bug#13585).
1143
1144 2013-01-30 Juri Linkov <juri@jurta.org>
1145
1146 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1147 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1148 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1149
1150 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1151
1152 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1153 column if we're just deleting the backslashes.
1154 (makefile-fill-paragraph): Use eolp.
1155
1156 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1157
1158 * autorevert.el (auto-revert-use-notify): Fix docstring.
1159
1160 2013-01-30 Leo Liu <sdl.web@gmail.com>
1161
1162 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1163
1164 2013-01-30 Glenn Morris <rgm@gnu.org>
1165
1166 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1167 unread-command-events twice in some cases. This tries to implement
1168 the 2012-07-26 changes in a different way. (Bug#13560)
1169
1170 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1171
1172 * progmodes/python.el
1173 (python-pdbtrack-comint-output-filter-function): Enhancements on
1174 stacktrace detection. (thanks @gnovak)
1175
1176 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1177
1178 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1179 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1180 Use defvar-local.
1181 (jit-lock-register): Use setq-local.
1182
1183 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1184
1185 * calc-units.el (math-default-units-table): Remove initial value.
1186 (calc-convert-units): Treat expressions where all the units cancel as
1187 if they didn't have units.
1188
1189 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1190
1191 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1192 (tramp-completion-reread-directory-timeout): Fix type.
1193 (tramp-connection-min-time-diff): New defcustom.
1194
1195 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1196
1197 2013-01-30 Glenn Morris <rgm@gnu.org>
1198
1199 * imenu.el (imenu-default-create-index-function):
1200 Put back a version of the infinite loop test removed 2013-01-23.
1201
1202 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1203
1204 * progmodes/python.el (python-shell-parse-command):
1205 Find python-shell-interpreter with modified environment.
1206
1207 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1208
1209 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1210
1211 2013-01-29 Alan Mackenzie <acm@muc.de>
1212
1213 Amend to fontify /regexp/s in actions correctly.
1214 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1215 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1216 are no longer included.
1217 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1218 What used to be these variables without "-line" in the name.
1219 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1220 (c-awk-non-arith-op-bra-re): Now also matches {.
1221 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1222 "return", and "case".
1223 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1224 by /.
1225 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1226 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1227
1228 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1229
1230 * autorevert.el (auto-revert-use-notify):
1231 Use `custom-initialize-default' for initialization. (Bug#13583)
1232
1233 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1234
1235 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1236 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1237 in `tramp-file-name-handler'.
1238 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1239 compatibility.
1240 (tramp-compute-multi-hops): Check, whether
1241 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1242
1243 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1244
1245 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1246 (bug#13297).
1247
1248 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1249
1250 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1251 checks made superfluous by the \_< operator.
1252 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1253 temporarily) broken indentation.
1254 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1255 Highlight nested constants, too. \_< broke that.
1256
1257 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1258
1259 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1260 instead of "\\b".
1261
1262 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1263
1264 * autorevert.el (auto-revert-handler): Notifications which result
1265 from a saved file shall not be taken into account. (Bug#13557)
1266
1267 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1268
1269 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1270 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1271 (lisp-mode): Pass t for it. (Bug#13556)
1272
1273 2013-01-25 Alan Mackenzie <acm@muc.de>
1274
1275 AWK Mode: Fix indentation bug at top level. Bug #12274.
1276
1277 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1278 just before CASE 5D.
1279
1280 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1281
1282 * net/socks.el (socks-nslookup-host): Use string-to-number.
1283
1284 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1285
1286 * autorevert.el (auto-revert-remote-files)
1287 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1288 (auto-revert-notify-enabled, auto-revert-use-notify)
1289 (auto-revert-notify-watch-descriptor-hash-list)
1290 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1291 (auto-revert-notify-event-descriptor)
1292 (auto-revert-notify-event-action)
1293 (auto-revert-notify-event-file-name): Doc fix.
1294 (global-auto-revert-mode): Reorder checks.
1295 (auto-revert-notify-rm-watch): Respect changed values of
1296 `auto-revert-notify-watch-descriptor-hash-list'.
1297 (auto-revert-notify-add-watch): Check for
1298 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1299 `inotify-add-watch'. Watch `default-directory' instead of
1300 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1301 has a changed meaning now. (Bug#13540)
1302 (auto-revert-notify-handler): Change implementation wrt events
1303 returning from a directory.
1304 (auto-revert-handler): Reorder implementation for checks of remote
1305 files.
1306 (auto-revert-buffers): Fix parentheses error.
1307
1308 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1309
1310 * progmodes/python.el: Enhancements to header documentation about
1311 skeletons. (Bug#5716)
1312
1313 * imenu.el (imenu-default-create-index-function): Remove useless
1314 infinite loop check. (Bug#13438)
1315
1316 2013-01-25 Alan Mackenzie <acm@muc.de>
1317
1318 Fix a bug in the state cache mechanism. Refactor this a bit.
1319
1320 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1321 `cache-pos' element from the return value.
1322 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1323 buffer to enable proper searching from beyond HERE. Amend the
1324 test for detecting the sought brace pair. Amend the value written
1325 to the "brace desert cache" when the brace isn't found.
1326 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1327 and several other variables analogously.
1328 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1329 parameter to a locally calculated variable.
1330 (c-parse-state-1): Change the calling conventions to the two
1331 defuns involving `cache-pos'.
1332
1333 2013-01-25 Chong Yidong <cyd@gnu.org>
1334
1335 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1336
1337 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1338
1339 * paren.el (show-paren-function): Make sure to set 'priority and
1340 'face only if the overlay does exist.
1341
1342 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1343
1344 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1345
1346 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1347 basic attributes.
1348 (tramp-sh-handle-set-file-acl): Improve error checking.
1349
1350 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1351
1352 * doc-view.el (doc-view-display): Force mode line update until all
1353 document is converted. Suggested by Stefan Monnier (Bug#13164).
1354
1355 2013-01-23 Bastien Guerry <bzg@gnu.org>
1356
1357 * paren.el (show-paren-function): Make sure an overlay exists
1358 before trying to delete it. Also use `pos' as a position only
1359 when it is an integer.
1360
1361 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1362
1363 * play/gametree.el (gametree-break-line-here): Use point-marker.
1364
1365 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1366
1367 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1368 Mark descriptive parts with `display' property.
1369
1370 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1371
1372 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1373 New variable to map standard dict names to hunspell ones.
1374 (ispell-set-spellchecker-params): Make sure specific dict names
1375 are used for standard dicts with hunspell.
1376
1377 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1378
1379 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1380 chars for note (%N) and url (%U).
1381 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1382
1383 2013-01-21 Juri Linkov <juri@jurta.org>
1384
1385 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1386 in addition to existing separate binding `meta f10' in `global-map'.
1387 (Bug#13484)
1388
1389 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1390
1391 Improve XEmacs compatibility.
1392
1393 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1394
1395 * net/tramp-adb.el (top): Require `time-date'.
1396 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1397 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1398 Use `tramp-file-name-handler'.
1399 (tramp-adb-maybe-open-connection):
1400 Use `tramp-compat-set-process-query-on-exit-flag'.
1401
1402 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1403 Use `tramp-compat-funcall'.
1404
1405 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1406 `tramp-compat-funcall'.
1407
1408 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1409
1410 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1411 reimplementation using "adb shell command ..." instead of running
1412 remote shell interactively.
1413
1414 2013-01-20 Glenn Morris <rgm@gnu.org>
1415
1416 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1417 Add native profiler menu entries.
1418
1419 * profiler.el (profiler-running-p): New function.
1420 (profiler-cpu-profile): Use profiler-running-p.
1421 (profiler-report-mode-map): Add some more menu entries.
1422
1423 2013-01-19 Glenn Morris <rgm@gnu.org>
1424
1425 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1426 fixes 2012-12-07 change. (Bug#13499)
1427
1428 2013-01-19 Leo Liu <sdl.web@gmail.com>
1429
1430 * dired.el (dired-get-marked-files): Prune erroneous values due to
1431 last change. (Bug#13152)
1432
1433 2013-01-19 Glenn Morris <rgm@gnu.org>
1434
1435 * progmodes/etags.el (tags-table-check-computed-list):
1436 Preserve point in tags buffer. (Bug#13412)
1437
1438 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1439
1440 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1441 Chong Yidong <cyd@gnu.org>
1442
1443 * image-mode.el (image-next-file, image-previous-file):
1444 New commands (Bug#8453).
1445 (image-mode-map): Bind them to n and p.
1446 (image-mode--images-in-directory): New helper function.
1447
1448 2013-01-19 Chong Yidong <cyd@gnu.org>
1449
1450 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1451 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1452 save and restore the old window configuration.
1453
1454 2013-01-18 Leo Liu <sdl.web@gmail.com>
1455
1456 * progmodes/js.el: Tweak autoload cookie for alias.
1457
1458 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1459
1460 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1461 buffer local, again. This was lost with the fix on 2013-01-12.
1462
1463 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1464
1465 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1466 order to support several eshell buffers in parallel.
1467
1468 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1469
1470 * autorevert.el (auto-revert-use-notify): In the :set function, do
1471 not modify `kill-buffer-hook'.
1472 (auto-revert-notify-rm-watch):
1473 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1474 (auto-revert-notify-add-watch): Do not call
1475 `auto-revert-notify-rm-watch', but add it to a buffer local
1476 `kill-buffer-hook'.
1477
1478 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1479
1480 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1481 call to `eval' rather than a backquoted lambda.
1482
1483 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1486 to return an explicit nil.
1487 (advice--remove-function): Change accordingly.
1488
1489 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1490 the use of nadvice.el.
1491
1492 * progmodes/which-func.el (which-function): Silence imenu errors
1493 (bug#13433).
1494
1495 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1496
1497 * progmodes/sql.el: (sql-imenu-generic-expression):
1498 (sql-mode-font-lock-object-name): Match schema qualified names.
1499 (sql-connect): Use string keys.
1500 (sql-product-interactive): Wait for interpreter prompt.
1501 (sql-comint-oracle): Set process coding based on NLS_LANG.
1502
1503 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1504
1505 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1506 (sql-interactive-remove-continuation-prompt):
1507 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1508
1509 2013-01-14 Leo Liu <sdl.web@gmail.com>
1510
1511 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1512 (Bug#13420)
1513
1514 2013-01-14 Glenn Morris <rgm@gnu.org>
1515
1516 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1517 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1518
1519 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1520
1521 * progmodes/python.el (python-nav-end-of-statement):
1522 Fix cornercase when handling multiline strings.
1523
1524 2013-01-13 Richard Stallman <rms@gnu.org>
1525
1526 * mail/sendmail.el (mail-position-on-field): Add doc string.
1527
1528 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1529 Get current message boundaries and pass them to
1530 message-forward-make-body-mime. Minor style changes.
1531
1532 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1533
1534 * cus-start.el (all): Avoid warnings about
1535 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1536
1537 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1538
1539 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1540
1541 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1542
1543 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1544 (jit-lock--debug-fontifying): New var.
1545 (jit-lock--debug-fontify): New function.
1546 * subr.el (condition-case-unless-debug): Don't prevent catching the
1547 error, just let the debbugger run.
1548 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1549 timer code and don't drop errors silently.
1550
1551 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1552
1553 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1554 `permanent-local' property.
1555 (auto-revert-notify-handler): Use `file-equal-p'.
1556
1557 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1558
1559 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1560 file notification by ACTION. For filtering by file name, compare
1561 only the non-directory part of the file name.
1562
1563 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1564
1565 * autorevert.el: Use cl-lib instead of cl.
1566
1567 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1568 (vc-bzr-checkin): Use it.
1569 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1570 will preserve match-data.
1571
1572 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1573
1574 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1575 (js--declaration-keyword-re): New var.
1576 (js--multi-line-declaration-indentation): New function.
1577 (js--proper-indentation): Use it.
1578
1579 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1580
1581 * calc/calc.el (calc-highlight-selections-with-faces)
1582 (calc-dispatch):
1583 * comint.el (comint-history-isearch-message):
1584 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1585 * ffap.el (ffap-string-at-point-region, ffap-next)
1586 (ffap-string-at-point, ffap-string-around)
1587 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1588 (ffap-literally):
1589 * font-lock.el (font-lock-keywords-alist)
1590 (font-lock-removed-keywords-alist):
1591 * help-mode.el (help-xref-symbol-regexp):
1592 * info.el (Info-find-emacs-command-nodes):
1593 * international/mule.el (add-to-coding-system-list):
1594 * isearch.el (isearch-message-function, isearch-fail-pos):
1595 * misearch.el (multi-isearch-next-buffer-function):
1596 * newcomment.el (comment-box):
1597 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1598 (pr-setting-database):
1599 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1600 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1601 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1602 (pike-font-lock-keywords-3):
1603 * progmodes/compile.el (compile):
1604 * progmodes/etags.el (tags-table-files)
1605 (tags-table-files-function, tags-included-tables-function):
1606 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1607 (gdb-restore-windows):
1608 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1609 (ps-n-up-filling-database):
1610 * server.el (server-buffer, server-log):
1611 * simple.el (newline, delete-backward-char, delete-forward-char)
1612 (minibuffer-history-isearch-message, kill-line, track-eol)
1613 (temporary-goal-column):
1614 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1615 (flyspell-default-deplacement-commands):
1616 * textmodes/ispell.el (ispell-accept-output):
1617 * textmodes/sgml-mode.el (html-tag-help):
1618 * vc/compare-w.el (compare-ignore-whitespace)
1619 (compare-ignore-case, compare-windows-dehighlight):
1620 * vc/diff.el (diff):
1621 * whitespace.el (whitespace-point)
1622 (whitespace-font-lock-refontify, whitespace-bob-marker)
1623 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1624
1625 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1626
1627 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1628 (auto-revert-notify-rm-watch): Ignore errors.
1629 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1630 inotify, and '(size last-write-time) for w32notify.
1631 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1632 watch fails - this is a fallback to the file modification check.
1633 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1634 (auto-revert-notify-event-action)
1635 (auto-revert-notify-event-file-name): New defuns.
1636 (auto-revert-notify-handler): Use them. Implement first
1637 plausibility checks.
1638 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1639
1640 2013-01-11 Julien Danjou <julien@danjou.info>
1641
1642 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1643 max are almost equal. Also return the correct value for V which is
1644 already between 0 and 1.
1645
1646 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1647
1648 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1649
1650 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1651
1652 * autorevert.el (auto-revert-notify-rm-watch)
1653 (auto-revert-notify-add-watch): Fix typos in w32notify function
1654 names.
1655
1656 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1657
1658 * autorevert.el (auto-revert-notify-enabled): Move up.
1659 (auto-revert-use-notify): New defcustom.
1660 (auto-revert-mode, global-auto-revert-mode)
1661 (auto-revert-notify-add-watch, auto-revert-handler)
1662 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1663 `auto-revert-notify-enabled'.
1664
1665 2013-01-10 Elias Pipping <pipping@exherbo.org>
1666
1667 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1668 * doc-view.el (doc-view-document->bitmap):
1669 Use doc-view-single-page-converter-function instead of
1670 single-page-converter arg; adjust callers.
1671
1672 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1673
1674 * progmodes/which-func.el (which-function): Understand Semantic's use
1675 of overlays in imenu--index-alist.
1676
1677 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1678
1679 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1680 (Man-man-k-use-anchor): New var.
1681 (Man-parse-man-k): New function.
1682 (Man-completion-table): Use it.
1683 (man): Flush the completion cache between uses.
1684
1685 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1686
1687 * autorevert.el: Add file watch support.
1688 (auto-revert-notify-enabled): New defconst.
1689 (auto-revert-notify-watch-descriptor-hash-list)
1690 (auto-revert-notify-watch-descriptor)
1691 (auto-revert-notify-modified-p): New defvars.
1692 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1693 (auto-revert-notify-handler): New defuns.
1694 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1695 when mode is disabled.
1696 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1697 (auto-revert-buffers): Add file watches for active buffers.
1698
1699 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1700
1701 * cus-start.el (toplevel): Only allow float values for
1702 scroll-up-aggressively and scroll-down-aggressively.
1703 Allow any number for line-spacing.
1704
1705 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1706
1707 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1708 (doc-view-pdf->png-converter-function): Use mupdf if available.
1709 (doc-view-djvu->png-converter-function)
1710 (doc-view-ps->png-converter-function): Remove.
1711 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1712 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1713 (doc-view-already-converted-p): Adjust accordingly.
1714 (doc-view-mode-p): Simplify.
1715 (doc-view-enlarge): Use setq-local.
1716 (doc-view-pdf->png-converter-ghostscript)
1717 (doc-view-djvu->png-converter-ddjvu)
1718 (doc-view-pdf->png-converter-mupdf): Rework to call
1719 doc-view-start-process directly.
1720 (doc-view-pdf/ps->png): Simplify accordingly.
1721 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1722 (doc-view-document->bitmap): Rename from doc-view-document->png.
1723 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1724 (doc-view-set-slice-from-bounding-box): Fix completion table.
1725 (doc-view-mode): Use add-hook for after-revert-hook.
1726
1727 2013-01-10 Glenn Morris <rgm@gnu.org>
1728
1729 * emacs-lisp/authors.el (authors-ignored-files)
1730 (authors-valid-file-names, authors-renamed-files-alist):
1731 Add some more entries.
1732
1733 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1734
1735 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1736 `t' pseudo-window entry.
1737
1738 2013-01-10 Alan Mackenzie <acm@muc.de>
1739
1740 Fix bugs in the c-parse-state mechanism. Reuse some markers
1741 instead of continually generating new ones.
1742
1743 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1744 (c-state-old-cpp-end-marker): New variables.
1745 (c-append-lower-brace-pair-to-state-cache): Start a backward
1746 search for "}" definitively outside CPP constructs.
1747 (c-remove-stale-state-cache): Inform the caller of a need to
1748 search back for a brace pair in certain circumstances.
1749 (c-state-maybe-marker): New macro.
1750 (c-parse-state): Reuse markers when appropriate.
1751
1752 2013-01-10 Glenn Morris <rgm@gnu.org>
1753
1754 * simple.el (execute-extended-command): Doc fix.
1755 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1756
1757 2013-01-10 Chong Yidong <cyd@gnu.org>
1758
1759 * faces.el (read-face-name): Doc fix.
1760
1761 2013-01-10 Roland Winkler <winkler@gnu.org>
1762
1763 * emacs-lisp/crm.el: Allow any regexp for separators.
1764 (crm-default-separator): All spaces around the default comma separator.
1765 (crm--completion-command): New macro.
1766 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1767 (crm-complete-and-exit): Handle non-single-char separators.
1768
1769 2013-01-09 Elias Pipping <pipping@lavabit.com>
1770
1771 * doc-view.el: Add support for DjVu (bug#13164).
1772 (doc-view-djvu->png-converter-function): New config var.
1773 (doc-view-single-page-converter-function, doc-view--image-type)
1774 (doc-view--image-file-extension): New vars.
1775 (doc-view-mode): Initialize them.
1776 (doc-view-goto-page): Use them.
1777 (doc-view-mode-p): Add support for ddjvu.
1778 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1779 (doc-view-set-up-single-converter): New funs.
1780 (doc-view-pdf/ps->png): Extend for djvu.
1781 (doc-view-document->png): Rename from doc-view-pdf->png.
1782 (doc-view-convert-current-doc): Handle djvu.
1783 (doc-view-insert-image, doc-view-display)
1784 (doc-view-already-converted-p): Don't hardcode png.
1785 (doc-view-set-doc-type): Recognize djvu docs.
1786
1787 2013-01-09 Elias Pipping <pipping@lavabit.com>
1788
1789 * doc-view.el: Add support for mupdf converter (bug#13164).
1790 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1791 (doc-view-ps->png-converter-function): New config vars.
1792 (doc-view-pdf->png-converter-ghostscript)
1793 (doc-view-ps->png-converter-ghostscript)
1794 (doc-view-pdf->png-converter-mupdf): New functions.
1795 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1796
1797 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1798
1799 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1800 first in session cache: When `tramp-own-remote-path' is in
1801 `tramp-remote-path', the remote path is only set in the session
1802 cache.
1803
1804 2013-01-09 Glenn Morris <rgm@gnu.org>
1805
1806 * emacs-lisp/trace.el (trace-function-foreground)
1807 (trace-function-background): Doc fix.
1808
1809 2013-01-09 Juri Linkov <juri@jurta.org>
1810
1811 * international/mule-cmds.el (read-char-by-name): Move let-binding
1812 of completion-ignore-case around completing-read to fix regression
1813 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1814 `string-match-p' using the nil value of `case-fold-search' and
1815 `completion-ignore-case' in `completion-pcm--all-completions'.
1816 (Bug#12615).
1817
1818 2013-01-09 Glenn Morris <rgm@gnu.org>
1819
1820 * progmodes/compile.el (compilation-parse-errors):
1821 Fix typo. (Bug#13369)
1822
1823 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1824
1825 * comint.el (comint-send-input): Check size of buffer before
1826 waiting for process output, in case already accepted. (Bug#13290)
1827
1828 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1829
1830 Spelling fixes.
1831 * net/tramp-adb.el (tramp-adb-get-toolbox):
1832 Fix misspelling of 'unknown'.
1833
1834 2013-01-08 Juri Linkov <juri@jurta.org>
1835
1836 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1837 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1838 Use underline style wave on terminals that support it. (Bug#13000)
1839
1840 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1843 the predicate returns nil.
1844
1845 * simple.el: Use lexical-binding.
1846 (primitive-undo): Use pcase.
1847 (minibuffer-history-isearch-push-state): Use a closure.
1848
1849 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1850
1851 * simple.el (primitive-undo): Move from undo.c.
1852
1853 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1854
1855 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1856 (cvs-mode-remove-handled): Use it (bug#13380).
1857
1858 * emacs-lisp/nadvice.el (advice--tweak): New function.
1859 (advice--remove-function, advice--subst-main): Use it.
1860
1861 * emacs-lisp/advice.el: Update commentary.
1862
1863 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1864
1865 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1866 Remove spurious entry.
1867
1868 2013-01-08 Glenn Morris <rgm@gnu.org>
1869
1870 * net/tramp.el (tramp-default-host-alist): Add :version.
1871
1872 2013-01-08 Juri Linkov <juri@jurta.org>
1873
1874 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1875 single completion. (Bug#12456)
1876 (info--manual-names): Expand node completions into an explicit list
1877 before appending it to another list. Filter out internal buffers
1878 with the leading space in the buffer name. (Bug#10771)
1879
1880 2013-01-08 Juri Linkov <juri@jurta.org>
1881
1882 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1883 that defaults to the Top node.
1884 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1885 the short format (FILENAME) goes to the Top node.
1886 (Info-build-node-completions): Rename arg `file' to `filename'.
1887 (Bug#13365)
1888
1889 2013-01-07 Bastien Guerry <bzg@gnu.org>
1890
1891 * menu-bar.el (menu-bar-search-documentation-menu):
1892 Use `apropos-user-option' and fix the help message.
1893
1894 2013-01-07 Bastien Guerry <bzg@gnu.org>
1895
1896 * apropos.el (apropos-do-all): Update docstring.
1897 (apropos-user-option-button): New face.
1898 (apropos-user-option): Rename from `apropos-variable' and update
1899 docstring.
1900 (apropos-variable): Rewrite, now show all variables by default.
1901 (apropos-print): Mention "User option" instead of "Variable" when
1902 printing doc for user options. (Bug#13276)
1903
1904 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1905
1906 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1907 Handle filename correctly, when parsing "source -> target" symlink
1908 output.
1909 (tramp-adb-handle-set-file-times): New defun.
1910
1911 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1914 advice list when the interactive-spec of ad-Advice-* changes.
1915
1916 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1917
1918 * wid-edit.el (widget-default-get): Work for inlined elements.
1919 (Bug#12670)
1920
1921 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1922
1923 * net/tramp.el (tramp-default-host-alist): New defcustom.
1924 (tramp-find-host): Use it.
1925 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1926 `eshell-directory-change-hook'.
1927
1928 * net/tramp-adb.el (top): Add adb specific entry in
1929 `tramp-default-host-alist'.
1930 (tramp-adb-file-name-host): Remove function.
1931 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1932 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1933
1934 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1935
1936 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1937
1938 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1939
1940 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1941
1942 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1943 consist of more than one digit.
1944 (tramp-adb-file-name-handler-alist):
1945 Use `tramp-handle-file-exists-p' consistently.
1946 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1947 (tramp-adb-handle-file-exists-p): Remove function.
1948 (tramp-adb-file-name-host): New defun.
1949 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1950 Use it.
1951 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1952
1953 2013-01-06 Chong Yidong <cyd@gnu.org>
1954
1955 * vc/vc.el (vc-next-action): Detect buffer modifications
1956 conflicting with locking VCS operation (Bug#11490).
1957
1958 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1959
1960 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1961
1962 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1963 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1964
1965 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1966
1967 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1968 parsing of ls output using regular expression (handle filenames
1969 with spaces). Use virtual device number.
1970 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1971 cleanup).
1972
1973 2013-01-04 Daiki Ueno <ueno@gnu.org>
1974
1975 * epg.el: Silence byte-compiler warnings.
1976 (epg--start): Use delete-char instead of delete-backward-char.
1977 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1978
1979 2013-01-04 Daiki Ueno <ueno@gnu.org>
1980
1981 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1982 Suggested by Eli Zaretskii <eliz@gnu.org>.
1983
1984 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1985
1986 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1987 non-negative integers. Otherwise, the default values are used.
1988 (tramp-convert-file-attributes): Convert uid and gid to integers.
1989
1990 2013-01-04 Glenn Morris <rgm@gnu.org>
1991
1992 * term.el (term-handle-colors-array): Ensure face attributes
1993 are fully specified, not nil. (Bug#13337)
1994
1995 * term.el (term-default-fg-color, term-default-bg-color):
1996 Fix custom type.
1997
1998 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1999 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2000 rather than 'jka-compr being loaded. (Bug#13338)
2001
2002 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2003
2004 * icomplete.el (icomplete-completions):
2005 Honor icomplete-prospects-height once more following
2006 2012-11-29 changes. (Bug#13224)
2007
2008 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2009
2010 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2011 of called-interactively-p as well (bug#13237).
2012
2013 * view.el (view--enable, view--disable): Rename from view-mode-enable
2014 and view-mode-disable and assume it's called from view-mode.
2015 (view-mode-enable, view-mode-disable): Redefine as obsolete
2016 compatibility layer above view-mode.
2017 (view-mode-enter): Call `view-mode'.
2018
2019 * files.el (after-find-file): Call `view-mode'.
2020
2021 * doc-view.el (doc-view-scale-internally): New var.
2022 (doc-view-enlarge, doc-view-insert-image): Obey it.
2023
2024 2013-01-03 Daiki Ueno <ueno@gnu.org>
2025
2026 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2027 exist. (Bug#13344)
2028
2029 2013-01-03 Glenn Morris <rgm@gnu.org>
2030
2031 * mail/rmail.el (rmail-set-header-1): Ignore case.
2032 Handle multi-line headers. (Bug#13330)
2033
2034 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2035 Handle paragraph starting at beginning of buffer.
2036
2037 * subr.el (eval-after-load): Don't purecopy the form, so that it
2038 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2039
2040 * emacs-lisp/byte-run.el (defun): Place cl declarations
2041 after any interactive spec. (Bug#13265)
2042
2043 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2044
2045 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2046 defun. Don't check for DECL if DOCSTRING isn't a string.
2047 (defun): Likewise.
2048
2049 2013-01-02 Glenn Morris <rgm@gnu.org>
2050
2051 * eshell/em-cmpl.el (eshell-pcomplete):
2052 More thoroughly imitate pcomplete. (Bug#13293)
2053
2054 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2055 Return nil for empty path elements. (Bug#13296)
2056
2057 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2058
2059 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2060 order to improve efficiency (Based on Daniel Colascione's
2061 <dancol@dancol.org> patch). (Bug#13182)
2062
2063 2013-01-02 Glenn Morris <rgm@gnu.org>
2064
2065 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2066
2067 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2068
2069 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2070 neither DOCSTRING nor DECL was given. (Bug#13316)
2071
2072 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2073
2074 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2075 `error' call.
2076 (tramp-do-copy-or-rename-file): Ignore errors when calling
2077 `set-file-extended-attributes'.
2078
2079 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2080 Add handler for `file-acl'.
2081 (tramp-smb-handle-file-acl): New defun.
2082
2083 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2084
2085 * calc/README: Mention ISO 8601 week-numbering dates.
2086
2087 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2088
2089 * view.el (view-mode-enable): New argument run-view-mode-hook.
2090 Run view-mode-hook only when it's non-nil (Bug#13315).
2091 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2092 argument t.
2093
2094 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2095
2096 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2097 (No device connected, invalid device name). (Bug #13299)
2098
2099 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2100
2101 * window.el (window-resizable--p): Rename to window-resizable-p.
2102 (window-resize-no-error): New function.
2103
2104 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2105 broken in fix from 2012-12-28.
2106
2107 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2109 * subr.el (special-form-p): Don't signal errors on undef aliases.
2110
2111 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2112
2113 * calc/calc-forms.el (math-parse-date): Try using
2114 `math-parse-iso-date' when it looks like it might be needed.
2115 Allow times of 24:00.
2116 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2117 of 24:00.
2118
2119 2012-12-30 Glenn Morris <rgm@gnu.org>
2120
2121 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2122 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2123 (rmail-summary-displayed, rmail-summary): Declare.
2124 (mairix-rmail-display): Just require rmail.
2125
2126 2012-12-30 Chong Yidong <cyd@gnu.org>
2127
2128 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2129 check for the tarball contents.
2130
2131 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2132
2133 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2134 tarfile content listings (Bug#13136).
2135
2136 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2137
2138 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2139 Insert the undecoded text of the message being forwarded. (Bug#9521)
2140
2141 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2142
2143 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2144 integers, if they are real numbers. (Bug#13282)
2145
2146 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2147 Return `t' on success.
2148
2149 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2150 Add handler for `set-file-selinux-context'.
2151
2152 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2153
2154 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2155 (tramp-sh-handle-set-file-acl): Return `t' on success.
2156
2157 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2158
2159 * files.el (backup-buffer-copy, basic-save-buffer-2):
2160 If set-file-extended-attributes fails, fall back on set-file-modes
2161 instead of signaling an error. (Bug#13298)
2162 (basic-save-buffer): Likewise.
2163
2164 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2165
2166 * progmodes/python.el: Support other commands triggering
2167 python-indent-line so indentation cycling continues to work.
2168 (python-indent-trigger-commands): New defcustom.
2169 (python-indent-line): Use it.
2170
2171 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2172
2173 * progmodes/python.el (python-shell-send-region): Add blank lines
2174 for non sent code so backtraces remain correct.
2175
2176 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2177
2178 * progmodes/python.el: Remove cl dependency.
2179 (python-syntax-count-quotes): Replace incf call.
2180 (python-fill-string): Replace setf call.
2181
2182 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2183
2184 * info.el (info-other-window): New arg, for consistency with info.
2185
2186 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2187
2188 * mail/rmail.el (rmail-maybe-display-summary):
2189 Rewrite (Bug#13066).
2190
2191 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2192
2193 * epg.el (epg--start): Modify process-environment locally.
2194
2195 2012-12-28 Daiki Ueno <ueno@gnu.org>
2196
2197 * epg.el: Support pinentry-curses.
2198 Suggested by Werner Koch in
2199 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2200 (epg-agent-file, epg-agent-mtime): New variable.
2201 (epg--start): Record the modified time of gpg-agent socket file,
2202 to restore Emacs frame after pinentry-curses termination.
2203 (epg-wait-for-completion): Restore Emacs frame here.
2204
2205 2012-12-27 Juri Linkov <juri@jurta.org>
2206
2207 * info.el (Info-file-completions): New variable.
2208 (Info-read-node-name-1): Complete node names in the Info file
2209 when a file name is given. Call `Info-build-node-completions'
2210 with a file name.
2211 (Info-build-node-completions): Add new arg `file'. When it is
2212 non-nil, visit it in a temporary buffer and cache its completions in
2213 `Info-current-file-completions'. Move most of the function body to
2214 `Info-build-node-completions-1'.
2215 (Info-build-node-completions-1): New function with the body from
2216 `Info-build-node-completions'. (Bug#12456)
2217
2218 2012-12-27 Juri Linkov <juri@jurta.org>
2219
2220 * frame.el (frame-maximization-style): Remove user option.
2221 (cycle-frame-maximized): Remove function.
2222 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2223 (toggle-frame-fullscreen): New command bound to <f11> instead of
2224 `toggle-frame-maximized'.
2225 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2226
2227 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2228
2229 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2230
2231 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2232 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2233 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2234 for `file-accessible-directory-p'. (Bug#13275)
2235
2236 2012-12-27 Sam Steingold <sds@gnu.org>
2237
2238 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2239 continuations, see <http://stackoverflow.com/questions/3582436>.
2240
2241 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2242
2243 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2244 "module" and "def" to have indentation before them.
2245 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2246
2247 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2248
2249 2012-12-27 Alan Mackenzie <acm@muc.de>
2250
2251 Speed up fontification where there's large brace blocks.
2252 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2253 to a call of c-beginning-of-decl-1.
2254
2255 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2256
2257 * comint.el (comint-adjust-window-point): New function.
2258 (comint-postoutput-scroll-to-bottom):
2259 Call comint-adjust-window-point (Bug#13248).
2260
2261 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2262
2263 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2264 Rakefile regexp.
2265 (auto-mode-alist): Associate .gemspec files with ruby-mode
2266 (https://bugs.ruby-lang.org/issues/5453).
2267
2268 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2269
2270 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2271 Suppress coloring, if possible (required for BusyBox based systems like
2272 CyanogenMod).
2273 (tramp-adb-handle-file-attributes)
2274 (tramp-adb-handle-insert-directory)
2275 (tramp-adb-handle-file-name-all-completions): Use it.
2276 (tramp-adb-get-toolbox): New defun. Check for remote shell
2277 implementation (BusyBox or Toolbox).
2278
2279 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2280
2281 * startup.el (initial-buffer-choice): Allow function as value
2282 (Bug#13251).
2283 (command-line-1): Handle case where initial-buffer-choice
2284 specifies a function.
2285 * server.el (server-execute): Handle case where
2286 initial-buffer-choice specifies a function.
2287
2288 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2289
2290 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2291 its own function.
2292 (smtpmail-try-auth-methods): Forget the user name/password if the
2293 login is unsuccessful (bug#12424).
2294
2295 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2296
2297 * notifications.el (notifications-notify): Protect body with
2298 `with-demoted-errors'.
2299
2300 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2301 Check properties of remote device. Restart connection, if there is a
2302 change.
2303
2304 2012-12-21 Chong Yidong <cyd@gnu.org>
2305
2306 * sort.el (sort-subr): Doc fix (Bug#13056).
2307
2308 2012-12-21 Bastien Guerry <bzg@gnu.org>
2309
2310 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2311
2312 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2313
2314 * simple.el (process-file): Overwrite stderr file, if exists.
2315
2316 2012-12-21 Daiki Ueno <ueno@gnu.org>
2317
2318 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2319 (epg-error): Set `error-message' property.
2320
2321 2012-12-21 Chong Yidong <cyd@gnu.org>
2322
2323 * international/mule-cmds.el (read-char-by-name): Signal an error
2324 if the user does not supply a valid character (Bug#13177).
2325
2326 * simple.el (transpose-subr-1): Preserve marker positions by
2327 changing the insertion sequence (Bug#13122).
2328
2329 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2330
2331 * simple.el (kill-region): Deactivate mark even for empty regions
2332 (Bug#13169).
2333
2334 2012-12-21 Chong Yidong <cyd@gnu.org>
2335
2336 * help-fns.el (describe-variable): Make sure we get the right
2337 buffer name (Bug#13105). Suggested by Kelly Dean.
2338
2339 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2340
2341 * comint.el (comint-redirect-previous-input-string): New variable.
2342 (comint-redirect-setup, comint-redirect-cleanup)
2343 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2344 (comint-redirect-preoutput-filter): Fix verbose message.
2345
2346 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2347
2348 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2349 is too long for Tramp. See discussion in
2350 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2351
2352 * progmodes/compile.el (compilation-start): Remove line escape
2353 template.
2354
2355 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2356
2357 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2358 Adjust comment.
2359
2360 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2361
2362 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2363 following non-comment text (bug#13207).
2364 (lm-header-multiline): Continuation lines need to be indented more than
2365 the first line.
2366 (lm-homepage): New function.
2367 (lm-with-file): Don't be confused if narrowing is in effect.
2368
2369 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2370
2371 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2372 very beginning of a hunk (e.g. killing the first line).
2373
2374 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2375
2376 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2377 and text properties from returned ACL string.
2378 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2379 for "setfacl" command.
2380
2381 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2382
2383 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2384 `tramp-cleanup-this-connection', when the process has died.
2385 (Bug#13151)
2386
2387 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2390
2391 2012-12-17 Kevin Ryde <user42@zip.com.au>
2392
2393 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2394
2395 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2396
2397 Add support for preserving ACL entries of files.
2398
2399 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2400 `set-file-acl' handlers.
2401
2402 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2403 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2404
2405 * net/tramp-compat.el (tramp-compat-copy-file):
2406 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2407
2408 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2409 Add `file-acl' and `set-file-acl' handlers.
2410 (tramp-gvfs-handle-copy-file):
2411 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2412 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2413 New defuns.
2414
2415 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2416 Add `file-acl' and `set-file-acl' handlers.
2417 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2418 (tramp-sh-handle-set-file-acl): New defuns.
2419 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2420 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2421
2422 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2423 Add `file-acl' and `set-file-acl' handlers.
2424 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2425
2426 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2427
2428 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2429 use pop-to-buffer with NORECORD argument t. As buffer name, use
2430 *Metahelp* with a leading space (Bug#13190).
2431
2432 2012-12-16 Romain Francoise <romain@orebokech.com>
2433
2434 * files.el (file-extended-attributes)
2435 (set-file-extended-attributes): New functions.
2436 (backup-buffer): Use them to handle both SELinux context and ACL
2437 entries.
2438 (backup-buffer-copy): Work with an alist of extended attributes,
2439 rather than an SELinux context.
2440 (basic-save-buffer-2): Ditto.
2441
2442 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2443
2444 * battery.el (battery-bsd-apm): New function.
2445
2446 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2447
2448 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2449 standard date formats.
2450
2451 2012-12-15 Juri Linkov <juri@jurta.org>
2452
2453 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2454 `isearch-insert-char-by-name'.
2455 (with-isearch-suspended): New defmacro with body mostly from
2456 `isearch-edit-string' except the part that sets
2457 `isearch-new-string' and `isearch-new-message'.
2458 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2459 body that sets `isearch-new-string' and `isearch-new-message'.
2460 (isearch-insert-char-by-name): New command.
2461 * international/mule-cmds.el (read-char-by-name): Let-bind
2462 `enable-recursive-minibuffers' to t.
2463 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2464
2465 2012-12-15 Juri Linkov <juri@jurta.org>
2466
2467 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2468 (Bug#13175)
2469
2470 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2471
2472 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2473 the prompt. (Bug#13045)
2474
2475 2012-12-14 Glenn Morris <rgm@gnu.org>
2476
2477 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2478 Try to include filename in non-bytecomp warning. (Bug#13132)
2479
2480 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2481
2482 Fix permissions bugs with setgid directories etc. (Bug#13125)
2483 * files.el (backup-buffer): Don't rely on 9th output of
2484 file-attributes, as it's now a placeholder. Instead, use the new
2485 optional arg of file-ownership-preserved-p.
2486 (file-ownership-preserved-p): New optional arg GROUP.
2487 Fix mishandling of setuid directories that would cause this
2488 function to return t when it should have returned nil.
2489 Document what happens if the file does not exist, and when
2490 it's not known whether the ownership will be preserved.
2491 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2492 Likewise.
2493 (tramp-get-local-gid): Use group-gid for integer, as that's
2494 faster and more reliable.
2495
2496 2012-12-14 Julien Danjou <julien@danjou.info>
2497
2498 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2499 Update keywords list, data type and PL/pgSQL.
2500
2501 2012-12-14 Dave Abrahams <dave@boostpro.com>
2502
2503 * vc/ediff-util.el (ediff-buffer-type): New function.
2504 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2505 rather than taking it as as argument.
2506 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2507
2508 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2509
2510 * json.el: Add pretty-print option (bug#12634).
2511 (json-encoding-separator, json-encoding-default-indentation)
2512 (json--encoding-current-indentation, json-encoding-pretty-print)
2513 (json-encoding-lisp-style-closings): New vars.
2514 (json--with-indentation): New macro.
2515 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2516 (json-encode-array): Use it to obey json-encoding-pretty-print.
2517 (json-pretty-print-buffer, json-pretty-print): New commands.
2518
2519 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2520
2521 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2522 Extract `ruby-syntax-propertize-expansions'.
2523 (ruby-syntax-propertize-expansions): Only change syntax on
2524 certain string delimiters, to punctuation. This way the common
2525 functions like forward-word and thing-at-point still work.
2526 (ruby-match-expression-expansion): Improve readability.
2527 (ruby-block-contains-point): New function.
2528 (ruby-add-log-current-method): Handle several edge cases.
2529
2530 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2531
2532 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2533 unload-feature finishes even when aborting an ongoing edebug session.
2534 Also, do not worry about edebug-mode, unload-feature takes care of it.
2535
2536 2012-12-13 Andreas Schwab <schwab@suse.de>
2537
2538 * net/tls.el (tls-program): Update customize type.
2539
2540 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2541
2542 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2543 (edebug-setup-hook, cl-read-load-hooks): Use it.
2544 (edebug-unload-function): New function. (Bug#13163)
2545
2546 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2547
2548 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2549 Otherwise, there could be errors in autoloading. (Bug#13151)
2550
2551 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2552
2553 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2554 sequences.
2555
2556 2012-12-13 Alan Mackenzie <acm@muc.de>
2557
2558 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2559 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2560 around `forward-comment' not recognizing ^M as whitespace.
2561
2562 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2563
2564 * progmodes/python.el (python-skeleton-class)
2565 (python-skeleton-def): Do not add space after defun name.
2566
2567 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2568
2569 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2570 (cl--symbol-function): Remove (now that funbound is like nil).
2571
2572 2012-12-12 Glenn Morris <rgm@gnu.org>
2573
2574 * button.el (button--area-button-p): Fix typo.
2575
2576 2012-12-12 Sam Steingold <sds@gnu.org>
2577
2578 * frame.el (frame-maximization-style): New user option.
2579 (toggle-frame-maximized): Toggle frame maximization according to
2580 `frame-maximization-style', bound to <f11>.
2581 (cycle-frame-maximized): Cycle between all maximization styles and
2582 non-maximized frame, bound to shift-<f11>.
2583
2584 2012-12-12 David Cadé <codename68@gmail.com>
2585
2586 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2587
2588 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2589
2590 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2591 (eieio-override-prin1): Don't quote kewords and booleans.
2592 (object-write) <eieio-default-superclass>: Don't put closing parens
2593 on new line, avoid needless empty lines, align values that are objects
2594 with the slot keyword (instead of beginning on the same line).
2595 (eieio-list-prin1): Align value with slot keyword; increase
2596 eieio-print-depth before printing members of the list.
2597
2598 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2599
2600 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2601 a display text-property.
2602 (report-emacs-bug-hook): Don't bother deleting it any more.
2603
2604 * hilit-chg.el (highlight-save-buffer-state): Delete.
2605 Use with-silent-modifications instead.
2606 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2607
2608 * button.el: Handle buttons in display text-properties.
2609 (button--area-button-p, button--area-button-string):
2610 Use (STRING . STRING-POS) representation instead of just STRING.
2611
2612 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2613
2614 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2615 subdirectory be skipped.
2616
2617 2012-12-11 Glenn Morris <rgm@gnu.org>
2618
2619 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2620
2621 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2622 Treat preprocessor lines embedded in continuations like comments.
2623 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2624
2625 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2626
2627 * calc/calc.el (calc-standard-date-formats): Add more date
2628 formats.
2629 * calc/calc-forms.el (math-parse-iso-date): New function.
2630 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2631 (math-parse-iso-date-validate): Add extra error checking.
2632 (calc-date-notation): Add ability to access new date formats.
2633
2634 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2635
2636 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2637 font-lock as well as when there's no text-property.
2638
2639 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2640
2641 * hi-lock.el: Refine the choice of default face.
2642 (hi-lock-keyword->face): New function. Use it wherever we used
2643 cadadadr instead.
2644 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2645 (hi-lock--last-face): Remove var.
2646 (hi-lock--unused-faces): New var to replace it.
2647 (hi-lock-read-face-name): Use/maintain it.
2648 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2649 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2650 if it has another face.
2651
2652 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2653
2654 * subr.el (w32notify-handle-event): New function.
2655 (inotify-handle-event): Doc fix.
2656
2657 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2658
2659 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2660
2661 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2662
2663 * simple.el (just-one-space): Doc fix.
2664
2665 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2666
2667 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2668
2669 2012-12-10 Le Wang <l26wang@gmail.com>
2670
2671 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2672 narrowed buffer (bug#12361).
2673
2674 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2675
2676 * vc/vc-hooks.el (vc-state): Doc fix.
2677
2678 2012-12-10 Glenn Morris <rgm@gnu.org>
2679
2680 * mail/rmail.el (rmail-maybe-display-summary):
2681 Preserve buffer, in case select-window changes it. (Bug#13066)
2682
2683 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2684
2685 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2686 cl-load-hook where they belong.
2687
2688 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2689
2690 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2691
2692 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2693
2694 Parallelize byte compilation on MS-Windows.
2695 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2696 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2697 (WINS_BASIC): Define as concatenation of the above.
2698 (compile): Subdivide into 4 separate and independent jobs that can
2699 be run in parallel.
2700 (compile0-CMD, compile0-SH): New targets for compiling
2701 COMPILE_FIRST files, which are prerequisites for the rest of the
2702 byte-compilation.
2703 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2704 New targets for parallel compilation with cmd.exe.
2705 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2706 compiling under a Unixy shell.
2707
2708 2012-12-09 Chong Yidong <cyd@gnu.org>
2709
2710 * simple.el (set-mark-default-inactive): Delete this
2711 accidentally-introduced option.
2712 (set-mark-command, exchange-point-and-mark): Remove calls.
2713
2714 2012-12-09 Glenn Morris <rgm@gnu.org>
2715
2716 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2717 Respect a defcustom's :set function, if appropriate. (Bug#109)
2718 (eval-defun): Doc fix.
2719
2720 2012-12-08 Juri Linkov <juri@jurta.org>
2721
2722 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2723 (Info-fontify-node, Info-bookmark-make-record): Remove the
2724 file extension from Info-current-file (Bug#13016).
2725
2726 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2727
2728 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2729 point, still provide some default.
2730 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2731 names, since we don't use it right now. Actually return the list.
2732 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2733
2734 2012-12-07 Chong Yidong <cyd@gnu.org>
2735
2736 * novice.el (disabled-command-function): Remove a spurious help
2737 xref (Bug#13043). Suggested by Kelly Dean.
2738
2739 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2740 syntax is specified (Bug#13025).
2741
2742 * info.el (Info-set-mode-line): Remove the file extension from
2743 Info-current-file if there is one (Bug#13016).
2744
2745 2012-12-07 Glenn Morris <rgm@gnu.org>
2746
2747 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2748 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2749 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2750 and rmail-mime-decoded. (Bug#9841)
2751
2752 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2753 (batch-unrmail, unrmail): Doc fixes.
2754 (unrmail): Respect unrmail-mbox-format.
2755 * mail/rmail.el (rmail-mbox-format): New option.
2756 (rmail-show-message-1): Respect rmail-mbox-format.
2757
2758 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2759
2760 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2761
2762 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2763
2764 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2765 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2766 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2767 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2768 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2769 (cl-progv): Don't rely on dynamic scoping to find the body.
2770 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2771 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2772 (cl-declaim): Use backquotes.
2773 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2774 Use "cl--" prefix for the object's tag.
2775
2776 * ses.el: Use advice-add/remove.
2777 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2778 (copy-region-as-kill, yank): Use advice-add.
2779 (ses-unload-function): Use advice-remove.
2780
2781 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2782
2783 * button.el: Make them work in header-lines (bug#12817).
2784 (button-map): Add bindings for header-line and mode-line use.
2785 (button-get, button-put, button-label): `button' may now be a string.
2786 (button-activate): Don't make it a defsubst.
2787 (button--area-button-p, button--area-button-string): New functions.
2788 (make-text-button): Fix the return value when `beg' was a string.
2789 (push-button): Handle the mode-line case.
2790
2791 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2792
2793 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2794 (sql-signum): Remove. Use `cl-signum' instead.
2795 (sql-read-passwd): Remove; use read-passwd instread.
2796 (sql-get-login-ext): Use read-string.
2797 (sql-get-login): Use dolist and pcase.
2798 (sql--completion-table): Rename from sql-try-completion.
2799 Use complete-with-action.
2800 (sql-mode): Don't change abbrev-all-caps globally.
2801 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2802 (sql-postgres-completion-object): Initialize vars in their `let'.
2803 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2804 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2805 (sql-comint-interbase): Use a single append, without setq.
2806 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2807
2808 * hi-lock.el: Rework the default face and the serialize regexp code.
2809 (hi-lock--auto-select-face-defaults): Remove.
2810 (hi-lock-string-serialize-serial): Remove.
2811 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2812 make weak.
2813 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2814 equal string.
2815 (hi-lock-set-pattern): Adjust accordingly.
2816 (hi-lock--regexps-at-point): Simplify accordingly.
2817 (hi-lock--auto-select-face-defaults): Remove.
2818 (hi-lock--last-face): New var to replace it.
2819 (hi-lock-read-face-name): Rewrite (bug#11095).
2820 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2821
2822 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2823
2824 * net/tramp.el (tramp-replace-environment-variables):
2825 Hide compiler warning.
2826 (tramp-file-name-for-operation): Remove `executable-find',
2827 `start-process', `call-process' and `call-process-region'.
2828
2829 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2830
2831 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2832 compatibility.
2833
2834 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2835
2836 2012-12-06 Chong Yidong <cyd@gnu.org>
2837
2838 * ffap.el (ffap-replace-file-component): Fix typo.
2839
2840 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2843 fix open-paren-like token test (bug#12785).
2844
2845 2012-12-06 Glenn Morris <rgm@gnu.org>
2846
2847 * mail/rmailsum.el (rmail-new-summary): Tweak for
2848 rmail-maybe-display-summary changing buffer. (Bug#13066)
2849
2850 2012-12-06 Juri Linkov <juri@jurta.org>
2851
2852 * info.el (Info-fontify-node): Don't hide the last newline.
2853 (Bug#12272)
2854
2855 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2856
2857 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2858 so as to enable message-read-from-minibuffer to expand mail aliases.
2859
2860 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2863 the `intangible' property.
2864 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2865
2866 2012-12-05 Deniz Dogan <deniz@dogan.se>
2867
2868 * net/rcirc.el (rcirc-urls): Update documentation.
2869 (rcirc-condition-filter): New function.
2870 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2871 and exclude consecutive duplicate URLs (Bug#6082).
2872
2873 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2874
2875 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2876 Check return code of copy command.
2877
2878 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2879 Use group `tramp'. Add version.
2880
2881 2012-12-05 Chong Yidong <cyd@gnu.org>
2882
2883 * ffap.el (ffap-url-regexp): Don't require matching at front of
2884 string (Bug#4952).
2885 (ffap-url-p): If only a substring matches, return that.
2886 (ffap-url-at-point): Use the return value of ffap-url-p.
2887 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2888 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2889 (ffap-guess-file-name-at-point): Likewise.
2890 (ffap-replace-file-component): Fix typo.
2891
2892 * info.el (info-display-manual): Add existing Info buffers, whose
2893 files may not be in Info-directory-list, to the completion.
2894 (info--manual-names): New helper function.
2895
2896 2012-12-05 Glenn Morris <rgm@gnu.org>
2897
2898 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2899 New functions, for detecting and resolving conflicts. (Bug#10709)
2900
2901 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2902
2903 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2904 (hi-lock-auto-select-face-defaults): New buffer local variable.
2905 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2906 (hi-lock-unface-buffer): Prompt user with useful defaults.
2907 With prefix arg, unhighlight all hi-lock patterns in buffer.
2908
2909 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2910
2911 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2912
2913 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2914
2915 * Makefile.in (TRAMP_SRC):
2916 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2917
2918 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2919
2920 * net/tramp-adb.el: New package.
2921
2922 2012-12-04 Chong Yidong <cyd@gnu.org>
2923
2924 * terminal.el: Move to obsolete/.
2925
2926 * longlines.el: Move to obsolete/.
2927
2928 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2929 Remove code referring to longlines mode.
2930
2931 2012-12-03 Juri Linkov <juri@jurta.org>
2932
2933 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2934
2935 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2936
2937 * textmodes/ispell.el (ispell-init-process)
2938 (ispell-start-process, ispell-internal-change-dictionary):
2939 Make sure personal dictionary name is expanded after initial
2940 `default-directory' value. Use expanded strings for
2941 keep/restart checks and for value (Bug#13019).
2942
2943 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2944
2945 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2946
2947 2012-12-03 Leo Liu <sdl.web@gmail.com>
2948
2949 * files.el (dir-locals-read-from-file): Check file non-empty
2950 before reading. (Bug#13038)
2951
2952 2012-12-03 Glenn Morris <rgm@gnu.org>
2953
2954 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2955 Remove any version extension before checking filename. (Bug#13006)
2956 (jka-compr-compression-info-list): Belated :version bump.
2957
2958 2012-12-03 Chong Yidong <cyd@gnu.org>
2959
2960 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2961
2962 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2963 (buffer-menu): Doc fix (Bug#12294).
2964
2965 2012-12-03 Roland Winkler <winkler@gnu.org>
2966
2967 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2968 of diary-show-all-entries in the diary buffer (Bug#12994).
2969
2970 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2971
2972 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2973 "<STDIN>". This is binary safe.
2974
2975 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2976
2977 * calc/calc-forms.el (math-absolute-from-iso-dt)
2978 (math-date-to-iso-dt, math-parse-iso-date-validate)
2979 (math-iso-dt-to-date): New functions.
2980 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2981 (math-fd-isoweekday): New variables.
2982 (calc-date-notation, math-parse-standard-date, math-format-date)
2983 (math-format-date-part): Add support for more formatting codes.
2984
2985 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2986
2987 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2988 current buffer's file name when called interactively (Bug#12488).
2989
2990 2012-12-02 Juri Linkov <juri@jurta.org>
2991
2992 * info.el (info-display-manual): Don't clobber an existing Info
2993 buffer (Bug#10770). Add completion (Bug#10771).
2994
2995 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2996
2997 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2998 before using it for comparison (Bug#5297).
2999
3000 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3001
3002 * textmodes/css-mode.el (css-current-defun-name): New function.
3003 (css-mode): Use it.
3004
3005 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3006 (html-mode): Use it.
3007
3008 2012-12-01 Chong Yidong <cyd@gnu.org>
3009
3010 Modularize add-log-current-defun (Bug#2224).
3011 Suggested by Jari Aalto.
3012
3013 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3014 (add-log-current-defun): Move mode-specific code to other files.
3015 (add-log-lisp-like-modes, add-log-c-like-modes)
3016 (add-log-tex-like-modes): Variables deleted.
3017
3018 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3019 (lisp-mode-variables): Use it.
3020
3021 * progmodes/cc-mode.el (c-common-init):
3022 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3023 add-log-current-defun-function.
3024
3025 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3026 (m4-mode): Use it.
3027
3028 * progmodes/perl-mode.el (perl-current-defun-name): New.
3029 (perl-mode): Use it.
3030
3031 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3032 Use lisp-current-defun-name.
3033
3034 * textmodes/tex-mode.el (tex-current-defun-name): New.
3035 (tex-common-initialization): Use it.
3036
3037 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3038 (texinfo-mode): Use it.
3039
3040 2012-12-01 Chong Yidong <cyd@gnu.org>
3041
3042 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3043 * progmodes/autoconf.el (autoconf-mode):
3044 * progmodes/js.el (js-mode):
3045 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3046 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3047 * progmodes/perl-mode.el (perl-mode):
3048 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3049 * textmodes/css-mode.el (css-mode):
3050 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3051 (sgml-tags-invisible, sgml-guess-indent):
3052 * textmodes/tex-mode.el (tex-common-initialization)
3053 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3054 (doctex-mode, plain-tex-mode, latex-mode):
3055 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3056
3057 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3058
3059 * vc/vc-hg.el (vc-hg-next-revision):
3060 Ensure use of default "tip" output format. (Bug#6968)
3061
3062 2012-12-01 Kim F. Storm <storm@cua.dk>
3063
3064 * startup.el (fancy-startup-tail): Add a clickable link
3065 (Bug#2176).
3066
3067 2012-12-01 Chong Yidong <cyd@gnu.org>
3068
3069 * startup.el (fancy-startup-tail): Improve the message about
3070 auto-save files (Bug#2176).
3071
3072 * files.el (recover-session): Improve the descriptive message, and
3073 use substitute-command-keys.
3074
3075 2012-12-01 Glenn Morris <rgm@gnu.org>
3076
3077 * ido.el (ido-file-internal):
3078 Handle other-window, other-frame for dired. (Bug#13036)
3079
3080 2012-11-30 Glenn Morris <rgm@gnu.org>
3081
3082 * icomplete.el (icomplete-separator): Fix :version.
3083
3084 2012-11-30 Chong Yidong <cyd@gnu.org>
3085
3086 * shell.el (shell): For C-u M-x shell, use an inactive shell
3087 buffer as the default (Bug#1975).
3088 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3089 (shell-mode): Use them to reapply ansi colorization if Shell mode
3090 is re-enabled.
3091
3092 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3093
3094 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3095
3096 2012-11-30 Samuel Bronson <naesten@gmail.com>
3097
3098 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3099 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3100
3101 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3102
3103 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3104 by move-to-column (Bug#3234).
3105
3106 2012-11-30 Chong Yidong <cyd@gnu.org>
3107
3108 * longlines.el (longlines-wrap-line, longlines-encode-region):
3109 Preserve text properties (Bug#1425).
3110
3111 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3112
3113 * vc/vc.el (vc-register): Allow registering a file which is
3114 already registered with a different backend (Bug#10589).
3115
3116 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3117 Stefan Monnier <monnier@iro.umontreal.ca>
3118
3119 * icomplete.el: Change separator; add ido-style commands.
3120 (icomplete-show-key-bindings): Remove custom var.
3121 (icomplete-get-keys): Remove function.
3122 (icomplete-forward-completions, icomplete-backward-completions):
3123 New commands.
3124 (icomplete-minibuffer-map): New var.
3125 (icomplete-minibuffer-setup): Use it.
3126 (icomplete-exhibit): Don't delay if the list of completions is known.
3127 (icomplete-separator): New custom.
3128 (icomplete-completions): Use it.
3129 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3130 (minibuffer-force-complete-and-exit): New command.
3131 (minibuffer--complete-and-exit): New function extracted from
3132 minibuffer-complete-and-exit.
3133 (minibuffer-complete-and-exit): Use it.
3134
3135 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3136 error message when the file doesn't exist (bug#12974).
3137
3138 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3139
3140 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3141
3142 2012-11-29 Glenn Morris <rgm@gnu.org>
3143
3144 * files.el (hack-dir-local-variables): Warn if try to set
3145 coding via dir-locals, since it doesn't work. (Bug#7169)
3146
3147 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3148 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3149 Set buffer-local value of desktop-save-buffer.
3150 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3151 New functions.
3152 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3153 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3154
3155 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3156 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3157 Doc fix.
3158 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3159 Doc fixes.
3160
3161 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3162
3163 * calc/calc-forms.el (calc-date-notation): Fix regexp
3164 used to find time codes. Fix symbol for seconds.
3165
3166 2012-11-27 Glenn Morris <rgm@gnu.org>
3167
3168 * emacs-lisp/derived.el (derived-mode-make-docstring):
3169 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3170
3171 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3172
3173 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3174 lexically scoped variables (bug#13005).
3175
3176 2012-11-27 Glenn Morris <rgm@gnu.org>
3177
3178 * vc/vc-hooks.el (vc-mistrust-permissions):
3179 Default to t, to avoid data-loss. (Bug#11490)
3180
3181 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3182
3183 * progmodes/python.el (python-indent-guess-indent-offset):
3184 If indentation is guessed make python-indent-offset buffer-local.
3185
3186 Fix Imenu regression.
3187 * progmodes/python.el (python-nav-beginning-of-defun):
3188 Fix forward movement when statement(s) separates point from defun.
3189 (python-imenu-prev-index-position): New function.
3190
3191 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3192
3193 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3194
3195 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3196 Don't set buffer-file-type. Return nil. (Bug#12989)
3197
3198 2012-11-27 Glenn Morris <rgm@gnu.org>
3199
3200 * hippie-exp.el (hippie-expand-try-functions-list):
3201 Re-autoload it. (Bug#12982)
3202
3203 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3204
3205 * descr-text.el (describe-char-padded-string):
3206 Call internal-char-font only on GUI frames. (Bug#11964)
3207
3208 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3209
3210 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3211 and obsoletion message.
3212
3213 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3214
3215 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3216 the constructs to keep outside of the `cl-block' (bug#12977).
3217
3218 2012-11-27 Chong Yidong <cyd@gnu.org>
3219
3220 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3221 keep reading until we get the up-event anyway, in order to process
3222 the up-event for mouse-1-click-follows-link (Bug#12971).
3223
3224 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3227 base function is not yet defined (bug#12965).
3228 (ad-activate-advised-definition): Use ad-compile-function.
3229 (ad-activate): Use cond.
3230
3231 2012-11-25 Leo Liu <sdl.web@gmail.com>
3232
3233 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3234 (Bug#12979)
3235
3236 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3237
3238 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3239 reftex-section-info-function in order to be compatible with
3240 Texinfo integration.
3241
3242 * textmodes/reftex.el (reftex-section-pre-regexp)
3243 (reftex-section-post-regexp, reftex-section-info-function):
3244 New variable.
3245 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3246 reftex-section-post-regexp, and reftex-section-info-function in order
3247 to be compatible with Texinfo integration.
3248
3249 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3250 use reftex-section-pre-regexp variable in order to be compatible with
3251 Texinfo integration.
3252
3253 2012-11-25 Chong Yidong <cyd@gnu.org>
3254
3255 * faces.el: Make face-spec-set more analogous to setq.
3256 (face-spec-set): Change the third arg to specify whether this
3257 function is being called via defface, customize, or a third party.
3258 Set the appropriate symbol properties. Clear the override spec if
3259 setting via Custom. Initialize face if necessary. (Bug#4988)
3260 (face-spec-recalc): Allow theme faces to completely replace the
3261 defface spec, in the same way as custom faces (Bug#8454).
3262
3263 * cus-face.el (custom-declare-face): Move face initialization to
3264 face-spec-set.
3265 (custom-theme-set-faces): Don't initialize the face name here, as
3266 that is now done in face-spec-set.
3267
3268 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3269 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3270 Simplify by using the new arg to face-spec-set.
3271
3272 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3273 reset face-override-spec too, and use custom-declare-face.
3274
3275 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3276
3277 * term/ns-win.el (ns-initialize-window-system): Move creation of
3278 fontsets here (Bug#11964).
3279
3280 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3281
3282 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3283 cell renaming.
3284
3285 2012-11-24 Chong Yidong <cyd@gnu.org>
3286
3287 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3288 obsolete.
3289
3290 * custom.el (custom-theme-set-variables): Use a topological sort
3291 for ordering by custom dependencies (Bug#12952).
3292 (custom--sort-vars, custom--sort-vars-1): New functions.
3293
3294 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3295
3296 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3297 lexical-binding (bug#12938).
3298
3299 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3300
3301 * image-mode.el (image-transform-check-size): Use assertions only
3302 for images of type imagemagick.
3303
3304 Otherwise no error, image-transform-fit-to-{width,height} is
3305 silently ignored, as before. Doc fix.
3306
3307 2012-11-24 Chong Yidong <cyd@gnu.org>
3308
3309 * faces.el (color-defined-p): Doc fix (Bug#12853).
3310
3311 2012-11-24 Juri Linkov <juri@jurta.org>
3312
3313 * dired.el (dired-mark): Add optional arg `interactive'.
3314 Check for `use-region-p' if `interactive' is non-nil.
3315 (dired-unmark, dired-flag-file-deletion): Add optional arg
3316 `interactive'. Call `dired-mark' with the arg `interactive'.
3317 (Bug#10624)
3318
3319 * wdired.el: Revert 2012-10-17 change partly and replace it with
3320 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3321 (wdired-finish-edit): Add marks for new file names to
3322 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3323 after `revert-buffer'.
3324 (wdired-do-renames): Remove calls to `dired-remove-file',
3325 `dired-add-file', `dired-add-entry'. (Bug#11795)
3326
3327 2012-11-24 Alan Mackenzie <acm@muc.de>
3328
3329 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3330
3331 Fix bugs in the state cache. Enhance a debugging mechanism.
3332 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3333 "brace at column zero" strategy for C++.
3334 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3335 (c-parse-state-point): New variable.
3336 (c-record-parse-state-state): Record old parse state with
3337 `copy-tree'. Record previous value of point.
3338 (c-debug-parse-state-double-cons): New debugging function.
3339 (c-debug-parse-state): Call the above new function.
3340 (c-toggle-parse-state-debug): Output a confirmatory message.
3341
3342 * progmodes/cc-mode.el (c-before-change, c-after-change):
3343 Call c-invalidate-state-cache from `c-before-change' instead of
3344 `c-after-change'.
3345
3346 2012-11-23 Chong Yidong <cyd@gnu.org>
3347
3348 * find-cmd.el (find-constituents): Add executable, ipath,
3349 readable, samefile, writable, daystart, regextype (Bug#12856).
3350
3351 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3352
3353 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3354
3355 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3356
3357 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3358 definition. This fixes a bootstrap failure.
3359 (calc-gregorian-switch): In menu, put dates before regions.
3360 This is easier to follow, lines up better in the menu, and lets us
3361 coalesce regions that switch at the same time. Give country
3362 names, not "Vatican", as that's better for non-expert users.
3363 Use names that are stable between the date of switch and now, e.g.,
3364 Bohemia and Moravia (which existed then and now) and not
3365 Czechoslovakia (which didn't exist then and doesn't exist now).
3366 What is now the U.S. mostly did not switch at the same time as
3367 Britain, so omit the U.S. Correct spelling of "Britain".
3368 Catholic Switzerland was too much of a mess, so omit it.
3369
3370 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3371
3372 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3373 after the variable is changed.
3374
3375 2012-11-21 Daniel Colascione <dancol@dancol.org>
3376
3377 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3378 in SQL declarations for font-lock.
3379 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3380
3381 2012-11-21 Glenn Morris <rgm@gnu.org>
3382
3383 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3384 (face-italic-p): Add optional argument "inherit".
3385
3386 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3387 Remove -p suffix from names, for consistency with other set-face-*.
3388 (set-face-inverse-video): Fix interactive spec.
3389 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3390 * textmodes/table.el (table--update-cell-face):
3391 Use set-face-inverse-video rather than now obsolete alias.
3392
3393 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3394
3395 * simple.el (line-move): Don't call line-move-partial if
3396 scroll-conservatively is in effect. (Bug#12927)
3397
3398 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3399
3400 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3401 Fallback on completion-at-point rather than
3402 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3403 (eshell-cmpl-initialize): Setup completion-at-point.
3404
3405 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3406
3407 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3408
3409 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3410
3411 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3412 are remote, check out-of-band property for both.
3413
3414 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3415
3416 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3417 code rewrite.
3418
3419 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3420
3421 More minor time fixes.
3422 * calendar/time-date.el: Commentary fix.
3423 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3424 too much other code depends on (0 0) time stamps.
3425 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3426 Add a couple of FIXME comments.
3427
3428 Minor cleanup for times as lists of four integers.
3429 * files.el (dir-locals-directory-cache):
3430 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3431 Doc fixes.
3432 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3433 * ps-bdf.el (bdf-file-newer-than-time):
3434 Process four-integers time stamps, not two. Doc fixes.
3435
3436 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3437
3438 * uniquify.el (uniquify-managed): Use defvar-local.
3439 (rename-buffer, create-file-buffer): Advise with advice-add.
3440 (uniquify-unload-function): Unadvise accordingly.
3441
3442 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3443 (trace-buffer): Don't purecopy.
3444 (trace-entry-message, trace-exit-message): Add `context' arg.
3445 (trace--timer): New var.
3446 (trace-make-advice): Adjust for use in nadvice.
3447 Add `context' argument. Delay `display-buffer' via a timer.
3448 (trace-function-internal): Use advice-add.
3449 (trace--read-args): New function.
3450 (trace-function-foreground, trace-function-background): Use it.
3451 (trace-function): Rename to trace-function-foreground and redefine as
3452 an alias to that new name.
3453 (untrace-function, untrace-all): Adjust to the use of nadvice.
3454
3455 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3456
3457 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3458
3459 * subr.el (called-interactively-p-functions): New var.
3460 (internal--called-interactively-p--get-frame): New macro.
3461 (called-interactively-p, interactive-p): Rewrite in Lisp.
3462 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3463 (called-interactively-p-functions): Use it.
3464 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3465 (called-interactively-p-functions): Use it.
3466 * allout.el (allout-called-interactively-p): Don't assume
3467 called-interactively-p is a subr.
3468
3469 2012-11-20 Glenn Morris <rgm@gnu.org>
3470
3471 * profiler.el (profiler-report-mode-map): Add a menu.
3472 No need to bind `q' because we derive from special-mode.
3473 (profiler-report-find-entry): Handle calls from the menu-bar.
3474
3475 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3477 * emacs-lisp/byte-run.el (defun-declarations-alist):
3478 Allow a compiler-macro to be a lambda expression.
3479
3480 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3481 eval-when-compile.
3482 (python-syntax-context): Add compiler-macro.
3483 (python-font-lock-keywords): Simplify with De Morgan.
3484
3485 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3486
3487 * files.el (load-file): Require match in minibuffer selection, as was
3488 the case in Emacs-20 before we changed the spec to allow .elc files
3489 (bug#12935).
3490
3491 * json.el: Don't require cl since we don't use it.
3492 * color.el: Don't require cl.
3493 (color-complement): `caddr' -> `nth 2'.
3494
3495 * calendar/time-date.el (time-to-seconds): De-obsolete.
3496
3497 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3498
3499 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3500 year numbers.
3501 (math-date-to-julian-dt): Adjust the initial approximation for the
3502 year to deal with the new definition of the DATE.
3503
3504 2012-11-19 Daniel Colascione <dancol@dancol.org>
3505
3506 * term/w32-win.el (cygwin-convert-path-from-windows):
3507 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3508
3509 2012-11-18 Chong Yidong <cyd@gnu.org>
3510
3511 * filecache.el (file-cache--read-list): New function.
3512 (file-cache-add-directory-list, file-cache-add-file-list)
3513 (file-cache-delete-file-list, file-cache-delete-directory-list):
3514 Use it to read a list of files or directories (Bug#12846).
3515 (file-cache-add-file, file-cache-add-directory)
3516 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3517 (file-cache-delete-directory): Print an message.
3518
3519 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3520
3521 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3522 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3523
3524 2012-11-18 Glenn Morris <rgm@gnu.org>
3525
3526 * image.el (insert-image, insert-sliced-image): Doc fix.
3527
3528 2012-11-18 Chong Yidong <cyd@gnu.org>
3529
3530 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3531 (Bug#12810).
3532
3533 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3534
3535 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3536 response when the target file is in a subdirectory (Bug#12757).
3537
3538 2012-11-18 Chong Yidong <cyd@gnu.org>
3539
3540 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3541
3542 2012-11-18 Glenn Morris <rgm@gnu.org>
3543
3544 * emacs-lisp/cl-lib.el (face-underline-p):
3545 Use set-face-underline rather than the alias set-face-underline-p.
3546
3547 * window.el (with-temp-buffer-window): Doc fix.
3548 * subr.el (with-output-to-temp-buffer):
3549 Add doc xref to with-temp-buffer-window.
3550
3551 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3552
3553 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3554 * calc/calc.el (math-format-date-cache): Declare.
3555
3556 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3557
3558 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3559 It also uses January 1, 1 AD as its day number 1.
3560 * calc/calc-forms.el (math-julian-date-beginning)
3561 (math-julian-date-beginning-int): Implement this.
3562
3563 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3564
3565 * descr-text.el (quail-find-key):
3566 * dired.el (desktop-file-name):
3567 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3568 * generic-x.el (comint-mode, comint-exec):
3569 * image-dired.el (widget-forward):
3570 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3571 (speedbar-change-expand-button-char)
3572 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3573 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3574 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3575 (widget-field-action, widget-value-set):
3576 * speedbar.el (imenu--make-index-alist):
3577 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3578 (ring-length, ring-insert):
3579 * vcursor.el (compare-windows-skip-whitespace):
3580 * woman.el (dired-get-filename):
3581 Declare functions.
3582
3583 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3584
3585 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3586
3587 * calc/calc.el (calc-gregorian-switch): New variable.
3588
3589 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3590 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3591 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3592 (math-leap-year-p): Add option to distinguish between Julian
3593 and Gregorian calendars.
3594 (math-day-number): Use `math-day-in-year' to do the computations.
3595 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3596 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3597 to do the computations.
3598 (math-date-to-dt): Use `math-date-to-julian-dt' and
3599 `math-date-to-gregorian-dt' to do the computations.
3600 (calcFunc-weekday, math-format-date-part): Use the new version of
3601 the DATE to determine the weekday.
3602 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3603 when necessary.
3604
3605 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3606
3607 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3608 Cygwin; otherwise use 'file:'. (Bug#12914)
3609 (cygwin-convert-path-from-windows): Declare, to avoid
3610 byte-compiler warnings.
3611
3612 2012-11-17 Andreas Politz <politza@fh-trier.de>
3613
3614 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3615 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3616 prefix and negative numeric prefix args (Bug#12795).
3617
3618 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3619
3620 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3621 Don't signal an error with a score that is too low to add to the
3622 list of top scores. (Bug#12779)
3623
3624 2012-11-17 Chong Yidong <cyd@gnu.org>
3625
3626 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3627
3628 * filecache.el (file-cache-add-file): Handle relative file name in
3629 the argument (Bug#12694).
3630
3631 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3632
3633 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3634
3635 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3636
3637 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3638
3639 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3640
3641 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3642
3643 * window.el (enlarge-window, shrink-window): Don't mention return
3644 value in doc-string (Bug#12896).
3645 (window--display-buffer): Don't resize frames - it won't work
3646 with all window managers and defeat pop-up-frame-alist.
3647 (display-buffer-alist): In doc-string explain that CONDITION can
3648 be a function and which arguments are passed to it (Bug#12854).
3649 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3650 expressions (Bug#12854).
3651 (display-buffer): Pass ACTION argument to
3652 display-buffer-assq-regexp.
3653
3654 2012-11-16 Glenn Morris <rgm@gnu.org>
3655
3656 * window.el (fit-frame-to-buffer-bottom-margin)
3657 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3658
3659 * faces.el (face-underline-p): Use face-attribute-specified-or.
3660
3661 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3662
3663 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3664
3665 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3666
3667 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3668
3669 2012-11-16 Glenn Morris <rgm@gnu.org>
3670
3671 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3672 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3673
3674 * faces.el (face-underline-p): Doc fix. Handle :underline being
3675 things other than `t' (a string, a list).
3676 (face-inverse-video-p): Doc fix.
3677 (set-face-underline): Rename it back from set-face-underline-p.
3678 Doc fix. Allow interactive input of values other than t.
3679 (read-face-attribute): Apply formatting to :underline,
3680 since like :box and :stipple it can take list values.
3681
3682 * term.el (ansi-term): Don't let C-x escape-char binding
3683 clobber the more standard C-c binding. (Bug#12842)
3684
3685 * subr.el (set-temporary-overlay-map): Doc fix.
3686
3687 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3688
3689 * window.el (record-window-buffer)
3690 (display-buffer-record-window): When copying the markers to
3691 window-point preserve window-point-insertion-type. (Bug#12588)
3692
3693 2012-11-16 Glenn Morris <rgm@gnu.org>
3694
3695 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3696 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3697 Use new names for hooks rather than obsolete aliases.
3698
3699 2012-11-15 Daniel Colascione <dancol@dancol.org>
3700
3701 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3702 prefix instead of "file:" so that when FILE-NAME begins with "//",
3703 as it does when the target file is on a network share, url-handler
3704 isn't confused.
3705
3706 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3707
3708 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3709 a preactivated advice from an old advice.el; they're not compatible!
3710
3711 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3712
3713 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3714 Fix string-spec case.
3715
3716 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3717
3718 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3719
3720 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3721 (advice--buffer-local-function-sample): New var.
3722 (advice--set-buffer-local, advice--buffer-local): New functions.
3723 (add-function, remove-function): Use them.
3724
3725 2012-11-15 Drew Adams <drew.adams@oracle.com>
3726
3727 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3728
3729 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3730
3731 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3732 potential binding of print-gensym to t, and prettify (back)quotes in
3733 case they appear in args's default values (bug#12884).
3734
3735 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3736
3737 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3738 (advice-eval-interactive-spec): New function.
3739 (advice--make-interactive-form): Support around advice (bug#12844).
3740
3741 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3742
3743 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3744 more strict. Add docstring.
3745 (ruby-expression-expansion-re): Extract from
3746 `ruby-match-expression-expansion'.
3747 (ruby-syntax-propertize-function): After everything else, search
3748 for expansions in string literals, mark their insides as
3749 whitespace syntax and save match data for font-lock.
3750 (ruby-font-lock-keywords): Use the 2nd group from expression
3751 expansion matches.
3752 (ruby-match-expression-expansion): Use the match data saved to the
3753 text property in ruby-syntax-propertize-function.
3754
3755 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3756
3757 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3758 (bug#12879).
3759
3760 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3761
3762 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3763 start/end keyword a bit harder. Works with different values of N.
3764 Add more comments.
3765 (ruby-end-of-block): Update accordingly.
3766
3767 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3768
3769 * woman.el (woman-file-name): Don't mess with unread-command-events
3770 (bug#12861).
3771
3772 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3773 Remove out of date self-require hack.
3774 (ad-do-advised-functions): Use simple `dolist'.
3775 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3776 (ad-advice-definition): Redefine as functions.
3777 (ad-advice-classes): Move before first use.
3778 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3779 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3780 (ad--defalias-fset): Remove functions.
3781 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3782 (ad-get-orig-definition): Rewrite.
3783 (ad-make-advised-definition-docstring): Change base docstring.
3784 (ad-real-orig-definition): Rewrite.
3785 (ad-map-arglists): Change name of called function.
3786 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3787 (ad-make-advised-definition): Simplify.
3788 (ad-assemble-advised-definition): Tweak for new calling context.
3789 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3790 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3791 function and call ad-activate if needed.
3792 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3793 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3794 (ad-compile-function): Compile ad-Advice-*.
3795 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3796 (ad-start-advice, ad-stop-advice): Remove.
3797
3798 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3799
3800 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3801 period before class method names, not after. Remove handling of
3802 one impossible case. Add comments.
3803
3804 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * emacs-lisp/advice.el: Remove support for freezing.
3807 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3808 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3809 Remove support for `freeze'.
3810
3811 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3812 override the default.
3813 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3814 cl--dotimes/dolist.
3815 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3816 `cl' is loaded.
3817
3818 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3819 from add-advice.
3820 (advice--strip-macro): New function.
3821 (advice--defalias-fset): Use them to handle macros.
3822 (advice-add): Use them.
3823 (advice-member-p): Correctly handle macros.
3824
3825 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3826
3827 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3828 Never font-lock the beginning of singleton class as heredoc.
3829
3830 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3831
3832 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3833
3834 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3835
3836 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3837 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3838 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3839
3840 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3841
3842 Fix end-of-defun misbehavior.
3843 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3844 python-beginning-of-defun-function. Handle nested defuns
3845 correctly.
3846 (python-nav-end-of-defun): Rename from
3847 python-end-of-defun-function. Ensure forward movement.
3848 (python-info-current-defun): Reimplement to work as intended
3849 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3850 parent defuns as soon as possible.
3851
3852 2012-11-13 Glenn Morris <rgm@gnu.org>
3853
3854 * progmodes/flymake.el (flymake-error-bitmap)
3855 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3856 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3857
3858 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3859
3860 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3861 backward, always stop at indentation. Reverts the change from
3862 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3863
3864 2012-11-13 Glenn Morris <rgm@gnu.org>
3865
3866 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3867 Add ibuffer-filter-by-derived-mode.
3868
3869 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3870 the same name shadowing each other.
3871
3872 * window.el (with-temp-buffer-window): Doc tweak.
3873
3874 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3875
3876 * help.el (temp-buffer-max-height):
3877 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3878 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3879
3880 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3881
3882 * emacs-lisp/nadvice.el: New package.
3883 * subr.el (special-form-p): New function.
3884 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3885 (elp-all-instrumented-list): Remove var.
3886 (elp-not-profilable): Remove elp-wrapper.
3887 (elp-profilable-p): Use autoloadp and special-form-p.
3888 (elp--advice-name): New const.
3889 (elp-instrument-function): Use advice-add.
3890 (elp--instrumented-p): New predicate.
3891 (elp-restore-function): Use advice-remove.
3892 (elp-restore-all, elp-reset-all): Use mapatoms.
3893 (elp-set-master): Use elp--instrumented-p.
3894 (elp--make-wrapper): Rename from elp-wrapper, return a function
3895 suitable for advice-add. Use cl-inf.
3896 (elp-results): Use mapatoms+elp--instrumented-p.
3897 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3898 (debug-function-list): Remove var.
3899 (debug): Rename arg, and then let-bind it explicitly inside.
3900 (debugger-setup-buffer): Rename arg.
3901 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3902 (debugger-frame-number): Adjust to new debug-on-entry setup.
3903 (debug--implement-debug-on-entry): Rename from
3904 implement-debug-on-entry, add argument.
3905 (debugger-special-form-p): Remove, use special-form-p instead.
3906 (debug-on-entry): Use advice-add.
3907 (debug--function-list): New function.
3908 (cancel-debug-on-entry): Use it, along with advice-remove.
3909 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3910 (debugger-list-functions): Use debug--function-list instead of
3911 debug-function-list.
3912 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3913 (ad-special-form-p): Remove, use special-form-p instead.
3914 (ad-set-advice-info): Use add-function and remove-function.
3915 (ad--defalias-fset): Adjust accordingly.
3916
3917 2012-11-10 Glenn Morris <rgm@gnu.org>
3918
3919 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3920 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3921 (report-emacs-bug-create-existing-bugs-buffer)
3922 (report-emacs-bug-parse-query-results)
3923 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3924
3925 * term.el (term-default-fg-color, term-default-bg-color):
3926 Make obsolete, rather than just saying "deprecated" in the doc.
3927
3928 * term.el (term): Rename from `term-face'.
3929 (term-current-face, ansi-term-color-vector)
3930 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3931 Update all users.
3932
3933 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3934
3935 * server.el (server-create-window-system-frame): Handle Nextstep
3936 specially (Bug#12780).
3937
3938 2012-11-10 Glenn Morris <rgm@gnu.org>
3939
3940 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3941 Unautoload, and make obsolete. (Bug#7449)
3942
3943 2012-11-10 Chong Yidong <cyd@gnu.org>
3944
3945 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3946 rename from diff-remove-trailing-whitespace (Bug#12831).
3947
3948 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3949
3950 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3951 miscompilation of trace.el.
3952
3953 2012-11-10 Glenn Morris <rgm@gnu.org>
3954
3955 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3956
3957 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3960 (bug#12812).
3961
3962 2012-11-10 Chong Yidong <cyd@gnu.org>
3963
3964 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3965 a defcustom with an appropriate :set function.
3966 (minibuffer-default--in-prompt-regexps): New function.
3967
3968 2012-11-10 Glenn Morris <rgm@gnu.org>
3969
3970 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3971 (define-modify-macro): Doc fixes.
3972
3973 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3974 (gv-define-simple-setter): Update doc of `fix-return'.
3975
3976 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3977
3978 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3979 twice when `fix-return' is set (bug#12813).
3980
3981 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3982 gv-define-simple-setter (bug#12812).
3983
3984 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3985 (bug#12756).
3986
3987 2012-11-10 Glenn Morris <rgm@gnu.org>
3988
3989 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3990
3991 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3992 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3993 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3994 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3995
3996 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3997
3998 2012-11-10 Leo Liu <sdl.web@gmail.com>
3999
4000 * ido.el (ido-set-matches-1): Improve flex matching performance by
4001 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4002
4003 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4006 (ad--defalias-fset): New function.
4007 (ad-safe-fset): Remove.
4008 (ad-make-freeze-definition): Use cl-letf*.
4009
4010 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4011
4012 * subr.el (dolist): Don't bind VAR in RESULT.
4013
4014 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4015 (fset, documentation): Don't save real def since we don't advise.
4016 (ad-do-advised-functions): Remove problematic `result-form'.
4017 (ad-safe-fset): `ad-real-fset' => `fset'.
4018 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4019 uses CL's dolist internally.
4020 (ad-arglist): Remove unused arg `name'.
4021 (ad-docstring, ad-make-advised-docstring):
4022 `ad-real-documentation' => `documentation'.
4023 (warning-suppress-types): Declare.
4024 (ad-set-arguments): Simple CSE.
4025 (ad-recover-normality): Sanity check.
4026
4027 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4028 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4029
4030 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4031
4032 * ses.el: symbol to coordinate mapping is made by symbol property
4033 `ses-cell'. This means that the same mapping is done for all SES
4034 sheets. That is good enough for cells with standard A1 names, but
4035 not for named cell. So a hash map is added for the latter.
4036 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4037 (ses-sym-rowcol): Use hashmap for named cell.
4038 (ses-is-cell-sym-p): New defun.
4039 (ses-decode-cell-symbol): New defun.
4040 (ses-create-cell-variable): Add cell to hashmap when name is not
4041 A1-like.
4042 (ses-rename-cell): Check that cell new name is not already in
4043 spreadsheet with the use of ses-is-cell-sym-p
4044 (ses-rename-cell): Use hash map for named cells, but accept also
4045 renaming back to A1-like.
4046
4047 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4048
4049 * emacs-lisp/advice.el: Use new dynamic docstrings.
4050 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4051 Use dynamic-docstring-function instead of ad-advice-info.
4052 (ad--make-advised-docstring): New function extracted from
4053 ad-make-advised-docstring.
4054 (ad-make-advised-docstring): Use it.
4055 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4056 from sql-help.
4057 (sql-help): Use it with dynamic-docstring-function.
4058
4059 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4060
4061 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4062
4063 * files.el (hack-one-local-variable--obsolete): New function.
4064 (hack-one-local-variable): Use it for obsolete settings.
4065
4066 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4067 the new name.
4068
4069 * progmodes/js.el (js--filling-paragraph): New var.
4070 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4071 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4072 less sneaky.
4073
4074 2012-11-08 Julien Danjou <julien@danjou.info>
4075
4076 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4077 `auto-mode-alist' (Bug#12835).
4078
4079 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4080
4081 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4082 (perl--prettify-symbols-alist): New const.
4083 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4084 New functions.
4085 (perl-font-lock-keywords-2): Use them.
4086 (perl-electric-noindent-p): New function.
4087 (perl-mode): Use it to set up electric-indent-mode.
4088 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4089 (perl-mode-map): Remove bindings for them.
4090 (perl-imenu-generic-expression, perl-outline-level):
4091 Match functions&packages in column>0.
4092
4093 * env.el (env--substitute-vars-regexp): New const.
4094 (substitute-env-vars): Use it. Add `only-defined' arg.
4095 * net/tramp.el (tramp-replace-environment-variables): Use it.
4096
4097 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4098 Byte-compile *before* eval in eval-and-compile.
4099 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4100 (byte-compile-file-form-autoload): Don't hide actual definition.
4101 (byte-compile-maybe-guarded): Accept `functionp' as well.
4102
4103 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4104
4105 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4106
4107 * notifications.el (notifications-get-server-information-method):
4108 New defconst.
4109 (notifications-get-capabilities): Fix docstring.
4110 (notifications-get-server-information): New defun.
4111
4112 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4113
4114 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4115 readability.
4116
4117 * textmodes/ispell.el: Experimental support for support debugging.
4118 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4119 buffer for ispell.
4120 (ispell-print-if-debug): New function to print stuff to
4121 `ispell-debug-buffer' if debugging is enabled.
4122 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4123 show some debugging info.
4124 (ispell-buffer-with-debug): New function that creates a debugging
4125 buffer and calls `ispell-buffer' with debugging enabled.
4126
4127 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4128 comment in autoconf mode. (Bug#12768)
4129
4130 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4131
4132 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4133 frame-first-window, frame-root-window, frame-selected-window,
4134 minibuffer-selected-window, minibuffer-window,
4135 window-absolute-pixel-edges, window-at, window-body-height,
4136 window-body-width, window-display-table, window-combination-limit,
4137 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4138 window-inside-edges, window-inside-pixel-edges, window-left-child,
4139 window-left-column, window-margins, window-next-buffers,
4140 window-next-sibling, window-new-normal, window-new-total,
4141 window-normal-size, window-parameter, window-parameters, window-parent,
4142 window-pixel-edges, window-point, window-prev-buffers,
4143 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4144 window-start, window-text-height, window-top-child, window-top-line,
4145 window-total-height, window-total-width and window-use-time to the list
4146 of functions without side-effects.
4147 (toplevel): Add window-valid-p to the list of error-free functions
4148 without side-effects.
4149
4150 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4151
4152 * textmodes/ispell.el (ispell-program-name):
4153 Update spellchecker parameters when customized.
4154
4155 2012-11-04 Glenn Morris <rgm@gnu.org>
4156
4157 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4158
4159 2012-11-04 Chong Yidong <cyd@gnu.org>
4160
4161 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4162 same-window-* variables.
4163
4164 2012-11-04 Juri Linkov <juri@jurta.org>
4165
4166 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4167 (isearch-describe-key, isearch-describe-mode): Use a display
4168 action instead of binding same-window-* variables (Bug#10040).
4169
4170 2012-11-03 Glenn Morris <rgm@gnu.org>
4171
4172 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4173 Rename handler properties back from cl-- to cl-. (Bug#12788)
4174
4175 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4176
4177 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4178
4179 * term/pc-win.el: Don't load term/internal from here.
4180
4181 * loadup.el: Load term/internal from here.
4182
4183 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4184
4185 * progmodes/python.el (inferior-python-mode): Fix hang in
4186 jit-lock (Bug#12645).
4187
4188 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4189
4190 * window.el (switch-to-visible-buffer)
4191 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4192
4193 2012-11-03 Glenn Morris <rgm@gnu.org>
4194
4195 * emacs-lisp/cl-lib.el (cl--random-time):
4196 Rename from cl-random-time. (Bug#12773)
4197 (cl--gensym-counter, cl--random-state): Update callers.
4198 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4199
4200 2012-11-03 Chong Yidong <cyd@gnu.org>
4201
4202 * cus-start.el: Make cursor-type customizable (Bug#11633).
4203
4204 2012-11-02 Glenn Morris <rgm@gnu.org>
4205
4206 * filecache.el: No need to load find-lisp when compiling.
4207 (find-lisp-find-files): Autoload it.
4208 (file-cache-add-directory-recursively): Don't require find-lisp.
4209
4210 * image.el (image-type-from-file-name): Trivial simplification.
4211
4212 * emacs-lisp/bytecomp.el (byte-compile-eval):
4213 Decouple "noruntime" and "cl-functions" warnings.
4214
4215 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4216
4217 * play/gomoku.el (gomoku-display-statistics): Update mode line
4218 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4219
4220 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4221
4222 * window.el (quit-restore-window): If the window has been
4223 created on an existing frame and ended up as the sole window on
4224 that frame, do not delete it (Bug#12764).
4225
4226 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4229 Rename from sh--inside-arithmetic-expression, handle more cases
4230 (bug#11263).
4231
4232 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4233 (sh-font-lock-open-heredoc): Use it (bug#12770).
4234
4235 2012-10-30 Glenn Morris <rgm@gnu.org>
4236
4237 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4238
4239 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4240
4241 2012-10-29 Chong Yidong <cyd@gnu.org>
4242
4243 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4244 function key is stored in a keyboard macro (Bug#4894).
4245
4246 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4247
4248 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4249
4250 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4251 header comments".
4252 (diff-unified->context, diff-context->unified)
4253 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4254
4255 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4256
4257 * files.el (find-alternate-file): Only ask one question (bug#12487).
4258
4259 2012-10-29 Chong Yidong <cyd@gnu.org>
4260
4261 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4262 Suggested by Dan Nicolaescu (Bug#6326).
4263
4264 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4265
4266 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4267
4268 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4269
4270 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4271
4272 * face-remap.el (face-remap-add-relative): Handle the case where a
4273 face-remapping-alist entry is a cons cell (Bug#12762).
4274
4275 2012-10-29 Kevin Ryde <user42@zip.com.au>
4276
4277 * woman.el (woman-parse-numeric-value): Handle picas correctly
4278 (Bug#12639).
4279
4280 2012-10-29 Glenn Morris <rgm@gnu.org>
4281
4282 * emacs-lisp/cl.el (defsetf): Doc fix.
4283
4284 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4285
4286 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4287 syntax to the matching opener, if any (bug#12547).
4288 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4289 matching open as a "case-(".
4290 (sh-smie-rc-grammar): Add a corresponding rule for it.
4291
4292 2012-10-28 Daniel Hackney <dan@haxney.org>
4293
4294 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4295 "PKGNAME-autoloads.el" in case we created it.
4296
4297 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4298
4299 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4300 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4301 (completion--twq-all): Disable too-strict assertions.
4302
4303 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4304
4305 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4306
4307 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4308 text to match the real keybindings.
4309
4310 2012-10-27 Juri Linkov <juri@jurta.org>
4311
4312 * wdired.el (wdired-keep-marker-rename): New defcustom.
4313 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4314 (Bug#11795)
4315
4316 * dired.el (dired-keep-marker-rename): Add reference to
4317 `wdired-keep-marker-rename' in the docstring.
4318 Add default character value ?R to display initially in
4319 Customization UI instead of ?@.
4320
4321 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4322
4323 * window.el (display-buffer): In doc-string describe
4324 window-height and window-width alist entries.
4325
4326 * time.el (display-time-world): Restore fit-window-to-buffer
4327 behavior.
4328
4329 2012-10-27 Chong Yidong <cyd@gnu.org>
4330
4331 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4332
4333 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4334
4335 * minibuffer.el (completion-category-overrides): New completion
4336 category `bookmark' (bug#11131).
4337
4338 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4339
4340 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4341 Silence bogus compiler warnings for ad-do-it.
4342
4343 * bookmark.el (bookmark-completing-read): Set the completion category
4344 to `bookmark' (bug#11131).
4345
4346 2012-10-26 Bastien <bzg@altern.org>
4347 Stefan Monnier <monnier@iro.umontreal.ca>
4348
4349 * face-remap.el: Use lexical-binding.
4350 (text-scale-adjust): Improve docstring. Use itself for the temporary
4351 overlay-map bindings, so as to repeat the "Use..." message each time.
4352
4353 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4354
4355 * emacs-lisp/macroexp.el (macroexp--expand-all):
4356 Obey byte-compile-warning-enabled-p (bug#12486).
4357
4358 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4359 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4360
4361 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4362
4363 * mouse.el (mouse-drag-line): Move last form into preceding when
4364 clause (Bug#12731).
4365
4366 * help.el (resize-temp-buffer-window): Fix doc-string.
4367
4368 2012-10-25 David Engster <deng@randomsample.de>
4369
4370 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4371 Remove. This feature is already integrated in imenu.
4372
4373 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4374 always loaded. Require `speedbar' unconditionally.
4375
4376 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4377
4378 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4379
4380 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4381
4382 * net/ldap.el (ldap-search-internal): The official ldif format starts
4383 with a "version: 1" header (bug#12724).
4384
4385 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4386 (bug#12721).
4387
4388 2012-10-25 Glenn Morris <rgm@gnu.org>
4389
4390 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4391
4392 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * minibuffer.el (minibuffer-force-complete): Use one more marker
4395 for the temporary-overlay-map command (bug#12619).
4396
4397 2012-10-24 Chong Yidong <cyd@gnu.org>
4398
4399 * time.el (display-time-world-mode): Derive from special-mode.
4400 (display-time-world): Use display-buffer (Bug#12708).
4401 (display-time-world-mode-map): Variable deleted.
4402 (display-time-world-display): Wrap the final delete-char inside
4403 inhibit-read-only.
4404
4405 2012-10-24 Chong Yidong <cyd@gnu.org>
4406
4407 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4408 Doc fix.
4409
4410 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4411
4412 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * minibuffer.el (completion--all-sorted-completions-location): New var.
4415 (completion--cache-all-sorted-completions)
4416 (completion--flush-all-sorted-completions): Use it.
4417 (completion-in-region, completion-in-region--postch)
4418 (completion-at-point, completion-help-at-point): Use markers in
4419 completion-in-region--data (bug#12619).
4420
4421 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4422
4423 * progmodes/compile.el (compilation-start): Try to handle common
4424 quoting of `cd' argument (bug#12640).
4425
4426 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4427 (bug#12671).
4428
4429 2012-10-23 Glenn Morris <rgm@gnu.org>
4430
4431 * progmodes/gud.el (gud-menu-map):
4432 Check gdb-active-process is bound. (Bug#12358)
4433
4434 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4435
4436 * repeat.el (repeat): Set real-this-command (bug#12232).
4437
4438 * htmlfontify.el (hfy-post-html-hook):
4439 * filesets.el (filesets-cache-fill-content-hook):
4440 * arc-mode.el (archive-extract-hook):
4441 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4442 * net/rcirc.el (rcirc-sentinel-functions)
4443 (rcirc-receive-message-functions, rcirc-activity-functions)
4444 (rcirc-print-functions):
4445 * net/dbus.el (dbus-event-error-functions):
4446 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4447 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4448 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4449 * term/sun.el (sun-raw-prefix-hooks):
4450 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4451
4452 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4453
4454 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4455 Set `tramp-chunksize' to 1. This improves the performance.
4456 (tramp-smb-wait-for-output): Add timeout to
4457 `tramp-accept-process-output' calls.
4458
4459 2012-10-23 Chong Yidong <cyd@gnu.org>
4460
4461 * faces.el (font-list-limit): Define as an obsolete variable.
4462
4463 * startup.el (command-line):
4464 * cus-start.el: Don't refer to font-list-limit.
4465
4466 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4467
4468 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4469
4470 * subr.el (internal-temp-output-buffer-show): Rename from
4471 temp-output-buffer-show, since previously compiled files expect this name.
4472
4473 2012-10-23 Glenn Morris <rgm@gnu.org>
4474
4475 * image.el (image-type-from-file-name): If multiple types match,
4476 return the first one that is supported. (Bug#9045)
4477
4478 2012-10-22 Glenn Morris <rgm@gnu.org>
4479
4480 * image.el (imagemagick-enabled-types): Doc fix.
4481
4482 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4483
4484 * progmodes/which-func.el (which-func-current): The hash-table may have
4485 an explicit nil (bug#12338).
4486
4487 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * electric.el (electric-pair-delete-selection-self-insert-function):
4490 Rename to electric-pair-will-use-region, return a boolean.
4491 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4492
4493 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4494 (delete-selection-pre-hook): Use use-region-p.
4495 (delete-selection-self-insert-function): Remove.
4496 (self-insert-command): Obey self-insert-uses-region-functions.
4497 (self-insert-iso): Revert to previous setting, since we don't actually
4498 know what that command does.
4499 (delete-selection-self-insert-hooks): Remove.
4500
4501 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4502
4503 * delsel.el (delete-selection-helper): New function, extracted from
4504 delete-selection-pre-hook.
4505 (delete-selection-pre-hook): Use it.
4506 (delete-selection-self-insert-function): New function.
4507 (delete-selection-self-insert-hooks): New hook.
4508 (self-insert-command, self-insert-iso): Use it.
4509 * electric.el (electric-pair-syntax): New function, extracted from
4510 electric-pair-post-self-insert-function.
4511 (electric-pair-post-self-insert-function): Use it.
4512 (electric-pair-delete-selection-self-insert-function): New function.
4513 (electric-pair-mode): Require delsel and setup
4514 delete-selection-self-insert-hooks (bug#11520).
4515
4516 2012-10-20 Chong Yidong <cyd@gnu.org>
4517
4518 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4519 no changes to show (Bug#12586).
4520
4521 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4522 list explicitly (Bug#12571).
4523
4524 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4525
4526 * progmodes/flymake.el (flymake-create-temp-inplace):
4527 Use file-truename.
4528
4529 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4530
4531 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4532
4533 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4534
4535 * calc/calc-units.el (math-extract-units): Properly extract powers
4536 of units.
4537
4538 2012-10-20 Daniel Colascione <dancol@dancol.org>
4539
4540 * frame.el (make-frame): Set x-display-name as we used to in order
4541 to unbreak creating an X11 frame from an Emacs daemon started
4542 without a display.
4543
4544 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4545
4546 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4547 the same completion-field (bug#12221).
4548
4549 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4550
4551 * emacs-lisp/debug.el (debug): Record height of debugger window
4552 also when debugger will be back (Bug#8789).
4553
4554 2012-10-18 Chong Yidong <cyd@gnu.org>
4555
4556 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4557 Convert to defcustom.
4558 (gdb-get-source-file): Don't bind pop-up-windows.
4559
4560 * progmodes/gud.el (gud-display-line): Don't specially re-use
4561 other frames for the gdb-mi case (Bug#12648).
4562
4563 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * emacs-lisp/advice.el: Clean up commentary a bit.
4566 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4567 (byte-code-function-p): Never redefine.
4568
4569 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4570
4571 2012-10-18 Glenn Morris <rgm@gnu.org>
4572
4573 * dired.el (dired-sort-toggle): Some ls implementations only allow
4574 a single option string. (Bug#12666)
4575
4576 * minibuffer.el (completion-cycle-threshold): Doc fix.
4577
4578 2012-10-17 Kenichi Handa <handa@gnu.org>
4579
4580 * international/mule.el (set-keyboard-coding-system):
4581 Recover input meta mode when the new coding system doesn not use 8-bit.
4582 Supply TERMINAL arg to set-input-meta-mode.
4583
4584 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4585
4586 * wdired.el (wdired-old-marks): New variable.
4587 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4588 (wdired-do-renames): Move point with renamed file and don't lose
4589 mark status (Bug#11795).
4590
4591 2012-10-16 Juri Linkov <juri@jurta.org>
4592
4593 * replace.el (query-replace-help): Mention multi-buffer replacement
4594 keys in the Help message. (Bug#12655)
4595
4596 2012-10-15 Chong Yidong <cyd@gnu.org>
4597
4598 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4599
4600 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4601
4602 * window.el (display-buffer): Doc fix.
4603
4604 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4605 Adjust the msft regexp to the output of Studio 2010, and move msft
4606 before edg-1. See the discussion on emacs-devel,
4607 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4608 for the details.
4609
4610 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4611
4612 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4613 (oset): Move uses of object-class-fast macro after its definition.
4614
4615 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4616
4617 2012-10-13 Chong Yidong <cyd@gnu.org>
4618
4619 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4620 enabled, re-enable it (Bug#11963).
4621
4622 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4623
4624 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4625 non-nil, restore window configuration (Bug#12623).
4626
4627 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4628
4629 * help-fns.el (describe-variable, describe-function-1):
4630 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4631
4632 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4633
4634 2012-10-12 Glenn Morris <rgm@gnu.org>
4635
4636 * mail/rmailsum.el (rmail-header-summary):
4637 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4638
4639 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4640
4641 * progmodes/python.el (python-mode-map):
4642 Replace subtitute-key-definition with proper command remapping.
4643 (python-nav--up-list): Fix behavior for blocks on the same level.
4644
4645 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4646
4647 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4648
4649 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4650 changes to the format of load-history.
4651
4652 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4653 completion-ignore-case in case that var is buffer-local (bug#12615).
4654
4655 2012-10-11 Kenichi Handa <handa@gnu.org>
4656
4657 * international/eucjp-ms.el: Re-generated.
4658
4659 2012-10-10 Kenichi Handa <handa@gnu.org>
4660
4661 * select.el (xselect--encode-string): If a coding is specified for
4662 selection, and that is compatible with COMPOUND_TEXT, use it.
4663
4664 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4665
4666 * window.el (switch-to-buffer-preserve-window-point): New option.
4667 (switch-to-buffer):
4668 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4669
4670 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4671
4672 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4673 Don't document nil as a useful value (bug#12583).
4674
4675 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4676
4677 * net/tramp.el (tramp-debug-message):
4678 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4679 (with-tramp-progress-reporter): Rename from
4680 `tramp-with-progress-reporter'.
4681 (with-tramp-file-property, with-tramp-connection-property):
4682 Move from tramp-cache.el, rename from `with-file-property' and
4683 `with-connection-property', respectively.
4684
4685 * net/tramp-cache.el: Remove `with-file-property' and
4686 `with-connection-property'.
4687
4688 * net/tramp.el:
4689 * net/tramp-gvfs.el:
4690 * net/tramp-sh.el:
4691 * net/tramp-smb.el: Adapt callees.
4692
4693 * net/trampver.el: Update release number.
4694
4695 2012-10-09 Glenn Morris <rgm@gnu.org>
4696
4697 * w32-fns.el (set-message-beep):
4698 * term/w32-win.el (set-message-beep): Update declarations.
4699
4700 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4701
4702 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4703 (mode-line-widen, mode-line-input-method-map)
4704 (mode-line-coding-system-map, mode-line-remote)
4705 (mode-line-unbury-buffer, mode-line-bury-buffer)
4706 (mode-line-next-buffer, mode-line-previous-buffer):
4707 Replace save-selected-window+select-window => with-selected-window.
4708
4709 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4710 * progmodes/cc-vars.el (bq-process): Remove, unused.
4711
4712 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4713
4714 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4715
4716 Implemented `backward-up-list'-like navigation.
4717 * progmodes/python.el (python-nav-up-list)
4718 (python-nav-backward-up-list): New functions.
4719 (python-mode-map): Define substitute key for backward-up-list to
4720 python-nav-backward-up-list.
4721
4722 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4723
4724 * progmodes/python.el (python-fill-paragraph): Rename from
4725 python-fill-paragraph-function. Fixed fill-paragraph for
4726 decorators (Bug#12605).
4727
4728 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4729
4730 * progmodes/python.el (python-shell-output-filter): Handle extra
4731 carriage return in OSX (Bug#12409).
4732
4733 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4734
4735 Fix shell handling of unbalanced quotes and parens in output.
4736 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4737 (python-syntax-propertize-function): Use it.
4738 (python-shell-output-syntax-table): New var.
4739 (inferior-python-mode): Prevent unbalanced parens/quotes from
4740 previous output mess with current input context.
4741
4742 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4743
4744 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4745 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4746
4747 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4748
4749 * ffap.el (ffap-replace-file-component): Support Tramp file name
4750 syntax, not only ange-ftp's one.
4751
4752 2012-10-08 Glenn Morris <rgm@gnu.org>
4753
4754 * cus-start.el (message-log-max): Set :version.
4755
4756 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4757
4758 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4759
4760 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4761 the minibuffer window (Bug#10851).
4762
4763 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4764
4765 Enhancements on forward-sexp movement.
4766 * progmodes/python.el (python-nav-beginning-of-statement)
4767 (python-nav-end-of-statement): Return point-marker.
4768 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4769 (python-info-current-symbol)
4770 (python-info-statement-starts-block-p): Rename from
4771 python-info-beginning-of-block-p.
4772 (python-info-statement-ends-block-p): Rename from
4773 python-info-end-of-block-p.
4774 (python-info-beginning-of-statement-p)
4775 (python-info-end-of-statement-p)
4776 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4777 New functions.
4778
4779 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4780
4781 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4782 frame-selected-windows.
4783
4784 2012-10-08 Daniel Colascione <dancol@dancol.org>
4785
4786 * battery.el (battery-status-function): Check for
4787 w32-battery-status itself, not system-time windows-nt.
4788
4789 * frame.el: Require cl-lib.
4790 (display-format-alist): New variable mapping frame types to
4791 functions that initialize them.
4792 (window-system-for-display): New function: interprets
4793 display-format-alist.
4794 (make-frame-on-display): Remove existing display-selection logic
4795 and just forward to make-frame, which will now DTRT.
4796 (make-frame): Restructure to use window-system-for-display to
4797 figure out how to create a frame on a given display.
4798 (display-mouse-p): Look for frame-type w32, not a particular
4799 system-type.
4800
4801 * loadup.el: Load w32 lisp code when we have the w32 feature.
4802
4803 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4804 system-type windows-nt.
4805
4806 * server.el (server-create-window-system-frame): Look for window
4807 type.
4808 (server-proces-filter): Only force a window system when windows-nt
4809 _and_ w32. Explain why.
4810
4811 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4812 of window systems we configure for the mode.
4813
4814 * startup.el (command-line): Mark window system is initialized
4815 after we've done it.
4816
4817 * common-win.el (x-select-text): Look for w32, not windows-nt.
4818
4819 * ns-win.el: Require cl-lib. Add ourselves to
4820 display-format-alist.
4821 (ns-initialize-window-system): Assert we're not initialized twice.
4822
4823 * w32-win.el: Enable lexical binding; require cl-lib; add
4824 ourselves to display-format-alist.
4825 (w32-handle-dropped-file): Convert incoming dropped files from
4826 Windows paths to Cygwin ones before passing them on to the rest of
4827 Emacs.
4828 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4829 (w32-initialize-window-system): Assert we're not initialized twice.
4830
4831 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4832 (x-initialize-window-system): Assert we're not initialized twice.
4833
4834 * w32-common-fns.el: New File.
4835 (w32-version, w32-using-nt, w32-get-clipboard-data)
4836 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4837 (w32-charset-info-alist, x-last-selected, text)
4838 (x-get-selection-value, x-selection-value): Move here.
4839
4840 * w32-fns.el: Require w32-common-fns.
4841 (w32-version, w32-using-nt, w32-get-clipboard-data)
4842 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4843 (w32-charset-info-alist, x-last-selected, text)
4844 (x-get-selection-value, x-selection-value): Move to
4845 w32-common-fns.
4846
4847 * w32-vars.el:
4848 (w32-allow-system-shell, w32-system-shells): Define only in
4849 non-cygwin case.
4850
4851 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4852
4853 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4854 (read-passwd): Remove a few more potential sources of leaks.
4855
4856 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4857
4858 * progmodes/python.el (inferior-python-mode)
4859 (python-shell-make-comint): Fix initialization of local
4860 variables copied from parent buffer.
4861
4862 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4863
4864 * term/ns-win.el (ns-read-file-name): Update declaration to match
4865 nsfns.m.
4866 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4867 it is set when font is acted upon.
4868
4869 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4870
4871 Enhancements to indentation.
4872 * progmodes/python.el (python-indent-context): Give priority to
4873 inside-string context. Make comments indentation markers.
4874 (python-indent-region): Do not mess with strings, unless it's the
4875 enclosing set of quotes.
4876
4877 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4878
4879 * window.el (internal--before-save-selected-window)
4880 (internal--after-save-selected-window): New functions extracted from
4881 save-selected-window. Make sure we return the `alist' we construct.
4882 (save-selected-window): Use them.
4883
4884 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4885 Use with-selected-window.
4886
4887 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4888 forms that define macros (bug#12593).
4889
4890 2012-10-07 Kenichi Handa <handa@gnu.org>
4891
4892 * international/mule-conf.el (compound-text-with-extensions):
4893 Add :mime-charset property as x-ctext.
4894
4895 2012-10-07 Stefan Merten <smerten@oekonux.de>
4896
4897 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4898 (rst-indent-literal-normal, rst-indent-literal-minimized)
4899 (rst-indent-comment): Correct :version tag.
4900 (rst-official-cvs-rev): Correct version string.
4901
4902 2012-10-07 Glenn Morris <rgm@gnu.org>
4903
4904 * mail/rmailmm.el (rmail-mime-process-multipart):
4905 Do not confuse a multipart message with an epilogue
4906 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4907
4908 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4909
4910 Fix shell output retrieval and comint-prompt-regexp init.
4911 * progmodes/python.el (inferior-python-mode):
4912 (python-shell-make-comint): Fix initialization of
4913 comint-prompt-regexp from copied file local variables.
4914 (python-shell-fetched-lines): Remove var.
4915 (python-shell-output-filter-in-progress): Rename from
4916 python-shell-fetch-lines-in-progress.
4917 (python-shell-output-filter-buffer): Rename from
4918 python-shell-fetch-lines-string.
4919 (python-shell-fetch-lines-filter): Delete function.
4920 (python-shell-output-filter): New function.
4921 (python-shell-send-string-no-output): Use them.
4922
4923 2012-10-07 Glenn Morris <rgm@gnu.org>
4924
4925 * hi-lock.el (hi-lock-process-phrase):
4926 Try to make it less fragile. (Bug#7161)
4927
4928 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4929
4930 2012-10-06 Glenn Morris <rgm@gnu.org>
4931
4932 * ehelp.el (electric-help-mode): Use help-mode rather than
4933 non-existent mode `help'.
4934 (electric-help-map): Use button-buffer-map. (Bug#10917)
4935
4936 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4937 (reftex-create-bibtex-footer): Fix custom types.
4938
4939 * progmodes/sh-script.el (sh-indent-after-continuation):
4940 Add explicit :group.
4941
4942 * textmodes/rst.el (rst-preferred-decorations)
4943 (rst-shift-basic-offset): Clarify obsolescence versions.
4944
4945 * profiler.el (profiler): Add missing group :version tag.
4946 * avoid.el (mouse-avoidance-banish-position):
4947 * proced.el (proced-renice-command):
4948 * calc/calc.el (calc-ensure-consistent-units):
4949 * calendar/icalendar.el (icalendar-import-format-uid):
4950 * net/tramp.el (tramp-save-ad-hoc-proxies):
4951 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4952 * progmodes/flymake.el (flymake-error-bitmap)
4953 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4954 * progmodes/sh-script.el (sh-indent-after-continuation):
4955 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4956 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4957 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4958 (vhdl-array-index-record-field-in-sensitivity-list)
4959 (vhdl-indent-comment-like-next-code-line):
4960 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4961 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4962 (reftex-cite-key-separator, reftex-create-bibtex-header)
4963 (reftex-create-bibtex-footer):
4964 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4965 (rst-indent-literal-normal, rst-indent-literal-minimized)
4966 (rst-indent-comment): Add missing custom :version tags.
4967
4968 * calendar/timeclock.el (timeclock-modeline-display):
4969 Add missing obsolete alias for renamed user option.
4970
4971 * strokes.el (strokes-modeline-string):
4972 * emulation/crisp.el (crisp-mode-modeline-string):
4973 * eshell/esh-mode.el (eshell-status-in-modeline):
4974 Aliases to defcustoms must come before the defcustom.
4975
4976 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4977 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4978 (cal-tex-cursor-week-monday): Doc fixes.
4979 (cal-tex-cursor-week2-summary): Doc fix.
4980 Rename from cal-tex-cursor-week-at-a-glance.
4981
4982 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4983 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4984
4985 * calendar/calendar.el (calendar-mode-map):
4986 Add cal-tex-cursor-week2-summary.
4987
4988 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4989
4990 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4991
4992 * subr.el (read-passwd-map): New var.
4993 (read-passwd): Use `read-string' again.
4994 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4995
4996 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4997
4998 * register.el (append-to-register, prepend-to-register):
4999 Deactivate mark, as does `copy-to-register' (bug#12389).
5000
5001 2012-10-06 Chong Yidong <cyd@gnu.org>
5002
5003 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5004
5005 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5006
5007 * international/characters.el: Fix simple mistake ((car chars) ->
5008 elt), delete duplicated code.
5009
5010 2012-10-06 Glenn Morris <rgm@gnu.org>
5011
5012 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5013
5014 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5015
5016 * color.el (color-hsl-to-rgb): Fix incorrect results for
5017 small and large hue values. (Bug#12559)
5018
5019 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5020
5021 Enhancements to docstring formatting when filling paragraphs.
5022 * progmodes/python.el (python-fill-docstring-style): Rename from
5023 python-fill-string-style. Added new style.
5024 (python-fill-string): Use new style. Better checks for
5025 docstrings.
5026
5027 2012-10-05 Glenn Morris <rgm@gnu.org>
5028
5029 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5030
5031 * color.el (color-name-to-rgb, color-rgb-to-hex)
5032 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5033 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5034 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5035 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5036
5037 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5038
5039 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5040
5041 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5042 to get the correct size across symlinks.
5043
5044 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5045
5046 2012-10-04 Juri Linkov <juri@jurta.org>
5047
5048 * replace.el (query-replace-interactive): Declare obsolete.
5049 (query-replace-read-from): Add the last incremental search string
5050 to the list of default values accessible via M-n.
5051 (map-query-replace-regexp): Use `read-regexp'.
5052 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5053 (map-query-replace-regexp, replace-string, replace-regexp):
5054 Fix docstrings to replace mentions of `query-replace-interactive'
5055 with alternatives. (Bug#12526)
5056
5057 2012-10-04 Juri Linkov <juri@jurta.org>
5058
5059 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5060 (dired-pop-to-buffer): Declare obsolete.
5061 (dired-mark-pop-up): Doc fix.
5062
5063 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5064
5065 Allow user to set docstring style for fill-paragraph.
5066 * progmodes/python.el
5067 (python-fill-comment-function, python-fill-string-function)
5068 (python-fill-decorator-function, python-fill-paren-function):
5069 Remove :safe for defcustoms.
5070 (python-fill-string-style): New defcustom
5071 (python-fill-paragraph-function): Enhance context detection.
5072 (python-fill-string): Honor python-fill-string-style settings.
5073
5074 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5075
5076 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5077 after setting its buffer (Bug#10805).
5078
5079 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5080
5081 Fix cornercase for string syntax.
5082 * progmodes/python.el (python-syntax-propertize-function):
5083 Simplify and enhance the regexp for unescaped quotes. Now it also
5084 matches quotes in weird situations like the single quote in
5085 "something\"'".
5086 (python-syntax-stringify): Simplify num-quotes detecting code.
5087
5088 2012-10-03 Glenn Morris <rgm@gnu.org>
5089
5090 * help-macro.el (three-step-help):
5091 Revert 2012-09-29 change. (Bug#12567)
5092
5093 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5094
5095 * menu-bar.el (kill-this-buffer): Don't do anything when
5096 `menu-frame' is not alive or visible (Bug#8184).
5097
5098 * emacs-lisp/debug.el (debug): When quitting the debugger window
5099 restore current buffer (Bug#12502).
5100
5101 2012-10-02 Chong Yidong <cyd@gnu.org>
5102
5103 * progmodes/hideif.el (hif-lookup, hif-defined):
5104 Handle semantic-c-takeover-hideif.
5105
5106 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5107
5108 Change sampling interval units from ms to ns.
5109 * profiler.el (profiler-sampling-interval): Change units
5110 from ms to ns, multiplying the default by 1000000 so that
5111 it remains 1 ms.
5112 (profiler-report-cpu-line-format): Give enough room for
5113 the maximum counters on 64-bit hosts.
5114 (profiler-report-render-calltree-1): Call them "CPU samples",
5115 not "Time (ms)", since they are not milliseconds now (and
5116 never really were).
5117
5118 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5119
5120 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5121 Fix querying BBDB for entries without a last name (Bug#11580).
5122
5123 2012-10-02 Chong Yidong <cyd@gnu.org>
5124
5125 * emacs-lisp/eieio.el: Restore Version header.
5126
5127 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * vc/diff-mode.el (diff--auto-refine-data): New var.
5130 (diff-hunk): Use it to delay refinement.
5131 (diff-mode): Remove overlays when we turn off font-lock.
5132
5133 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5134 (table-initialize-table-fixed-width-mode)
5135 (table-set-table-fixed-width-mode): Remove functions.
5136 (table-command-list): Move initialization into declaration.
5137 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5138 (table-with-cache-buffer): Use `declare'.
5139 (table-span-cell): Simplify via CSE.
5140 (table-fixed-width-mode): Use define-minor-mode.
5141 (table-call-interactively, table-funcall, table-apply): Remove.
5142 (table-function): New function, to replace them.
5143
5144 * bookmark.el (bookmark-search-pattern): Remove var.
5145 (bookmark-read-search-input): Remove function.
5146 (bookmark-bmenu-search): Reimplement using a minibuffer.
5147
5148 * faces.el (modeline): Remove obsolete face name.
5149
5150 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5151 and give a non-nil default value.
5152 (add-change-log-entry): Simplify accordingly.
5153
5154 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5155
5156 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5157 (vc-git-log-edit-toggle-amend): New function.
5158 (vc-git-log-edit-toggle-signoff): New function.
5159 (vc-git-log-edit-mode): New major mode.
5160 (vc-git-log-edit-mode-map): Keymap for it.
5161 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5162
5163 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5164 header names.
5165 (log-edit-toggle-header): New function.
5166 (log-edit-extract-headers): Accept function values in HEADERS alist.
5167
5168 2012-10-01 David Engster <deng@randomsample.de>
5169
5170 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5171 from symbol property and change message to be more consistent with
5172 Emacs proper.
5173 (eieio-describe-generic): Add filename for each implementation.
5174 Fix indices for generic and normal methods.
5175 (eieio-method-def, eieio-class-def): New buttons.
5176 (eieio-help-find-method-definition)
5177 (eieio-help-find-class-definition): New functions.
5178 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5179 class, constructor and method definitions.
5180
5181 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5182 information in symbol property.
5183 (scoped-class): Remove.
5184 (eieio-slot-name-index, call-next-method): Check if it is bound.
5185
5186 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5187
5188 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5189 (eieio-custom-mode): New major mode.
5190 (eieio-customize-object): Use it.
5191
5192 2012-10-01 Eric Ludlam <zappo@gnu.org>
5193
5194 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5195 specifying the expected class, and whether subclassing is allowed.
5196 (eieio-persistent-convert-list-to-object):
5197 (eieio-persistent-validate/fix-slot-value)
5198 (eieio-persistent-slot-type-is-class-p): New functions.
5199 (eieio-named::slot-missing): Doc fix.
5200
5201 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5202 Stop using unused publd variable.
5203
5204 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5205 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5206 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5207 (eieio-speedbar-handle-click): Do not specify a class for the
5208 method. Fixes method invocation order problems with EDE.
5209
5210 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5212 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5213 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5214
5215 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5216
5217 * bookmark.el (bookmark-version-control): Give tags in the
5218 :type choices (Bug#12309), and improve doc string.
5219 (bookmark-write-file): Bind `print-circle' to `t' to allow
5220 circular custom bookmark types. (Bug#12503)
5221
5222 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5223
5224 Revert the FOLLOW-SYMLINKS change for file-attributes.
5225 * files.el (remote-file-name-inhibit-cache, after-find-file):
5226 * time.el (display-time-file-nonempty-p): Undo last change.
5227
5228 * profiler.el (profiler-sampling-interval): Change default back to 1.
5229 See Stefan Monnier in
5230 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5231
5232 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5233
5234 Shell output catching a la gud-gdb.
5235 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5236 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5237 New Vars.
5238 (python-shell-fetch-lines-filter): New function.
5239 (python-shell-send-string-no-output): Use them.
5240
5241 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5242
5243 * profiler.el (profiler-sampling-interval): Rename from
5244 profiler-sample-interval.
5245 (profiler-sampling-interval): Default to 10.
5246 (profiler-find-profile): New command (was profiler-find-log).
5247 (profiler-find-profile-other-window): New command.
5248 (profiler-find-profile-other-frame): New command.
5249 (profiler-profile): Introduce API-level data structure.
5250
5251 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5252
5253 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5254 * files.el (remote-file-name-inhibit-cache):
5255 * time.el (display-time-file-nonempty-p): Use it.
5256 * files.el (after-find-file): Don't chase links before calling
5257 file-exists-p, as file-exists-p already does the right thing.
5258
5259 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5260
5261 Merge from standalone RefTeX repository.
5262
5263 The following ChangeLog entries are shortened versions of the
5264 original ones with file paths adapted. A not so strongly edited
5265 version of the original ChangeLog can be found in the commit log.
5266
5267 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5268 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5269 Correctly handle new value type returned by `reftex-citation'.
5270
5271 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5272 that entries with whitespace at various places are found.
5273 Doc fix. Include entries that are cross-referenced from cited entries.
5274 Include @String definitions in the resulting bib file. Add header
5275 and footer defined in `reftex-create-bibtex-header' and
5276 `reftex-create-bibtex-footer'.
5277 (reftex-do-citation): Make it possible again to insert
5278 non-existent entries. Save match data when asking for optional
5279 arguments. Return all keys, not just the first one.
5280 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5281 all citations in the same line.
5282 (reftex-parse-bibtex-entry): Accept additional optional argument
5283 `raw' and keep quotes or braces if it is non-nil. Match fields
5284 containing hyphens besides word constituents.
5285 (reftex-get-string-refs): New function.
5286 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5287 and ask if it should be reread in case it did.
5288 (reftex-pop-to-bibtex-entry)
5289 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5290 entries with spaces or tabs in front of arguments.
5291 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5292 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5293 Match entries containing numbers and symbol constituents.
5294 (reftex-do-citation, reftex-figure-out-cite-format):
5295 Use `reftex-cite-key-separator'.
5296
5297 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5298 (reftex-mouse-view-crossref): Explain why point is set.
5299
5300 * textmodes/reftex-global.el: Whitespace changes.
5301
5302 * textmodes/reftex-index.el: Move provide statement to end of
5303 file.
5304 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5305 (reftex-index-visit-phrases-buffer): Set marker when visiting
5306 buffer. This allows for returning from the phrases file to the
5307 file one was just editing instead of the file where the last
5308 phrases was added from.
5309 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5310 punctuation syntax as it usually is not used as string quote in
5311 TeX-related modes and may occur unmatched. The change also
5312 prevents fontification of quoted content.
5313 (reftex-index-phrases-mode): Use it.
5314
5315 * textmodes/reftex-parse.el (reftex-parse-from-file):
5316 Move backward one char if a `\' was matched after a section macro.
5317 (reftex-parse-from-file): Use beginning of match instead of end as
5318 bound.
5319
5320 * textmodes/reftex-ref.el: Adapt creation of
5321 `reftex-<package>-<macro>' functions to new structure of
5322 `reftex-ref-style-alist'.
5323 (reftex-reference): Use `reftex-ref-style-list' function.
5324 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5325 reference macro if `reftex-ref-macro-prompt' is non-nil.
5326 (reftex-reference): Pass refstyle to `reftex-format-special'.
5327 Determine reference macro by looking at
5328 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5329 Use only one special format function.
5330 (reftex-varioref-vref, reftex-fancyref-fref)
5331 (reftex-fancyref-Fref): Remove definitions. The functions are now
5332 generated from `reftex-ref-style-alist'.
5333 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5334 Remove.
5335 (reftex-format-special): New function.
5336
5337 * textmodes/reftex-sel.el
5338 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5339 of `reftex-ref-style-alist'. Remove code for testing macro type.
5340 (reftex-select-toggle-varioref)
5341 (reftex-select-toggle-fancyref): Remove.
5342 (reftex-select-cycle-ref-style-internal)
5343 (reftex-select-cycle-ref-style-forward)
5344 (reftex-select-cycle-ref-style-backward): New functions.
5345 (reftex-select-label-map): Use `v' and `V' for general cycling
5346 through reference styles. Add `p' for switching between number
5347 and page reference types.
5348
5349 * textmodes/reftex-toc.el (reftex-re-enlarge):
5350 Call `enlarge-window' only if there is something to do because in Emacs
5351 the horizontal version throws an error even if the parameter is 0.
5352
5353 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5354 (reftex-plug-into-AUCTeX): Doc fix.
5355 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5356 string. Adapt to new name.
5357 (reftex-ref-style-alist): Change structure so that it is not
5358 possible to use multiple different package names within a style.
5359 Remove the symbols for symbols for macro type distinction.
5360 Add characters for macro selection.
5361 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5362 (reftex-create-bibtex-footer): New variables.
5363 (reftex-format-ref-function): Mention third argument of special
5364 format function.
5365 (reftex-ref-style-alist, reftex-ref-style-default-list):
5366 New variables.
5367 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5368 to new implementation. Mark as obsolete. Add compatibility code
5369 for honoring the variable values in case they are set.
5370 (reftex-cite-format-builtin, reftex-bibliography-commands):
5371 Add support for ConTeXt.
5372 (reftex-format-ref-function, reftex-format-cite-function):
5373 Fix custom type.
5374 (reftex-cite-key-separator): New variable.
5375
5376 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5377 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5378 `reftex-syntax-table' because parens have to retain their paren
5379 syntax in order for parsing of BibTeX entries like @book(...) to
5380 work.
5381 (reftex-in-comment): Do not error out if `comment-start-skip' is
5382 not set. Deal correctly with escaped comment characters.
5383 (reftex-tie-multifile-symbols): Add doc string.
5384 Initialize `reftex-ref-style-list'.
5385 (reftex-untie-multifile-symbols): Add doc string.
5386 (reftex-add-index-macros): Doc fix.
5387 (reftex-ref-style-activate, reftex-ref-style-toggle)
5388 (reftex-ref-style-list): New functions.
5389 (reftex-mode-menu): Use them. Adapt to new structure of
5390 `reftex-ref-style-alist'.
5391 (reftex-select-with-char): Kill the RefTeX Select buffer when
5392 done.
5393 (reftex-remove-if): New function.
5394 (reftex-erase-all-selection-and-index-buffers)
5395 (reftex-mode-menu): Reference styles are now computed from
5396 `reftex-ref-style-alist'. Fix typo.
5397 (reftex-report-bug): New function.
5398 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5399 algorithms with O(n log n). Introduce optional argument SORT (not
5400 yet used).
5401
5402 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5403
5404 Enhancements for triple-quote string syntax.
5405 * progmodes/python.el (python-syntax-propertize-function):
5406 Match both quote cases in one regexp.
5407 (python-syntax-stringify): Handle matches properly.
5408
5409 2012-09-30 Juri Linkov <juri@jurta.org>
5410
5411 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5412 to nil around the call to `insert' to prevent
5413 directory time modification by lock_file. (Bug#2295)
5414 * tar-mode.el (tar-summarize-buffer): Idem.
5415
5416 2012-09-30 Juri Linkov <juri@jurta.org>
5417
5418 * facemenu.el (list-colors-sort): Add option "Luminance".
5419 (list-colors-sort-key): Implement it.
5420
5421 * vc/diff-mode.el (diff-refine-removed):
5422 * vc/ediff-init.el (ediff-fine-diff-A):
5423 * vc/smerge-mode.el (smerge-refined-removed):
5424 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5425
5426 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5427
5428 * term/ns-win.el (x-file-dialog): New function.
5429
5430 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5431
5432 * ido.el (ido-max-directory-size): Default to nil; the current
5433 default is small for POSIX systems, and impractical on Windows 7
5434 now that lstat returns directory sizes for NTFS.
5435
5436 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5437
5438 In buffer display functions handle window-height/window-width
5439 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5440 * window.el (window--display-buffer): New argument ALIST.
5441 Obey window-height and window-width alist entries.
5442 (window--try-to-split-window): New argument ALIST.
5443 Bind window-combination-limit to t when the window's size shall be
5444 changed and window-combination-limit equals `window-size'.
5445 (display-buffer-in-atom-window)
5446 (display-buffer-in-major-side-window)
5447 (display-buffer-in-side-window, display-buffer-same-window)
5448 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5449 (display-buffer-pop-up-window, display-buffer-below-selected)
5450 (display-buffer-at-bottom, display-buffer-in-previous-window)
5451 (display-buffer-use-some-window): Adjust all callers of
5452 window--display-buffer and window--try-to-split-window.
5453 (fit-frame-to-buffer): New option.
5454 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5455 is non-nil.
5456 (display-buffer-in-major-side-window): Evaluate window-height /
5457 window-width alist entries.
5458
5459 * help.el (temp-buffer-resize-frames)
5460 (temp-buffer-resize-regexps): Remove options.
5461 (temp-buffer-resize-mode): Adjust doc-string.
5462 (resize-temp-buffer-window): Don't consult
5463 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5464 temp-buffer-resize-frames.
5465
5466 * dired.el (dired-mark-pop-up):
5467 Call display-buffer-below-selected with a fit-window-to-buffer alist
5468 entry.
5469
5470 2012-09-30 Chong Yidong <cyd@gnu.org>
5471
5472 * server.el (server-host): Document the security implications.
5473 (server-auth-key): Doc fix.
5474
5475 * startup.el (initial-buffer-choice): Doc fix.
5476
5477 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5478
5479 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5480 restriction change.
5481
5482 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5483
5484 * help-fns.el (help-fns--obsolete): Fix last change.
5485
5486 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5487
5488 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5489 (minor-mode-map-alist): Remove redundant code.
5490
5491 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5492 visited in a buffer.
5493 (cvs-insert-visited-file): New function.
5494 (find-file-hook): Use it.
5495
5496 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5497
5498 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5499 chose face.
5500 (log-edit-empty-buffer-p): Don't require a space after a header.
5501
5502 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5503
5504 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5505
5506 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5507 a proper minor-mode.
5508
5509 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5510
5511 2012-09-29 Glenn Morris <rgm@gnu.org>
5512
5513 * winner.el (winner-mode): Remove variable (let define-minor-mode
5514 handle it).
5515 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5516 Doc fixes.
5517 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5518 (winner-mode): Use define-minor-mode.
5519
5520 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5521 the full definition in loaddefs, rather than duplicating it.
5522
5523 * help-macro.el (three-step-help): No need to autoload defcustom.
5524
5525 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5526 (inferior-lisp-program, inferior-lisp-load-command)
5527 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5528 No need to autoload defcustoms.
5529
5530 * hippie-exp.el (hippie-expand-try-functions-list)
5531 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5532 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5533 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5534 (hippie-expand-only-buffers): No need to autoload defcustoms.
5535 * progmodes/vhdl-mode.el (vhdl-line-expand):
5536 Explicitly load hippie-exp, so it does not get autoloaded
5537 while hippie-expand-try-functions-list is let-bound.
5538
5539 2012-09-28 Glenn Morris <rgm@gnu.org>
5540
5541 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5542
5543 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5544 Only "cl.el" counts as cl these days.
5545
5546 2012-09-28 Juri Linkov <juri@jurta.org>
5547
5548 Display archive errors in the echo area instead of inserting
5549 to the file buffer.
5550
5551 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5552 to STDERR-TEST that can be a regexp matching a successful output.
5553 Create a temporary file and redirect stderr to it. Search for
5554 STDERR-TEST in the stderr output and display it in the echo area
5555 if no match is found.
5556 (archive-extract-by-file): New function like
5557 `archive-extract-by-stdout' but extracting archives to files
5558 and looking for successful matches in stdout. Function body is
5559 mostly copied from `archive-rar-extract'.
5560 (archive-rar-extract): Use `archive-extract-by-file'.
5561 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5562
5563 2012-09-28 Leo Liu <sdl.web@gmail.com>
5564
5565 * pcomplete.el (pcomplete-show-completions):
5566 Use minibuffer-message to make pcomplete usable in minibuffer.
5567
5568 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5569
5570 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * type-break.el: Use lexical-binding.
5573 (type-break-mode): Use define-minor-mode.
5574
5575 * emacs-lisp/pcase.el (pcase--mark-used): New.
5576 (pcase--u1): Use it (bug#12512).
5577
5578 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5579 in load-history with the right file name.
5580
5581 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5582
5583 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5584 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5585 (doc-view-get-bounding-box): Make bounding box slicing work for
5586 ODF and DVI documents.
5587
5588 2012-09-28 Glenn Morris <rgm@gnu.org>
5589
5590 * type-break.el (type-break-mode, type-break-interval)
5591 (type-break-good-rest-interval, type-break-keystroke-threshold):
5592 No need to autoload.
5593 (type-break-good-rest-interval, type-break-keystroke-threshold):
5594 Add :set-after.
5595
5596 2012-09-28 Chong Yidong <cyd@gnu.org>
5597
5598 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5599 Add :version tag.
5600
5601 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5602
5603 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5604
5605 2012-09-27 Glenn Morris <rgm@gnu.org>
5606
5607 * faces.el (x-display-name): Declare (for without-x builds).
5608
5609 * linum.el (linum-format): Don't autoload it. Improve :type.
5610
5611 * progmodes/tcl.el: Don't require outline when compiling.
5612 (outline-regexp, outline-level): Declare.
5613 * textmodes/sgml-mode.el: Don't require outline when compiling.
5614 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5615
5616 * term.el (term-ansi-reset):
5617 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5618
5619 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5620 files for RCS and SCCS. (Bug#9781)
5621
5622 2012-09-27 Chong Yidong <cyd@gnu.org>
5623
5624 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5625 change; value should be t.
5626
5627 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * image-mode.el: Use lexical-binding.
5630 (image-mode-winprops): Use t to stand for the window of
5631 a buffer that's not displayed.
5632 * doc-view.el (doc-view-new-window-function): Handle the new
5633 t in winprops.
5634 (doc-view-enlarge): Make it a real nop if the size is not changed.
5635 (doc-view-display): Handle the case where the buffer is not (yet?)
5636 displayed in any window.
5637 (doc-view-saved-settings): New var.
5638 (doc-view-mode): Use it.
5639 (doc-view-fallback-mode): Set it.
5640
5641 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5642 Set lexical-binding.
5643 (minibuffer-eldef-shorten-default): New var.
5644 (minibuffer-default-in-prompt-regexps): Use it for new default.
5645 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5646
5647 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5648
5649 * international/uni-bidi.el:
5650 * international/uni-category.el:
5651 * international/uni-name.el:
5652 * international/uni-numeric.el: Regenerate.
5653
5654 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5655 Stefan Monnier <monnier@iro.umontreal.ca>
5656
5657 * profiler.el: New file.
5658
5659 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5662 (testcover-reinstrument): Simplify with CSE.
5663
5664 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5665
5666 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5667
5668 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5669
5670 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5671 (verilog-auto-input, verilog-auto-insert-lisp)
5672 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5673 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5674 (verilog-auto-unused, verilog-auto-wire)
5675 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5676 newline. Reported by Andrew Jones.
5677 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5678 Reported by Brad Dobbie.
5679 (verilog-batch-delete-trailing-whitespace):
5680 Create verilog-batch-delete-trailing-whitespace.
5681 Reported by Brad Dobbie.
5682 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5683 parameters from another module. Reported by Dan Katz.
5684 (verilog-auto, verilog-auto-assign-modport)
5685 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5686 AUTOINOUTMODPORT for UVM interface module shell generation.
5687 Reported by Brad Dobbie.
5688 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5689 standard behavior.
5690 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5691 Reported by Matt Martin.
5692
5693 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5694
5695 * window.el (window--resize-child-windows): When resizing child
5696 windows proportionally, process them in reverse order to
5697 preserve the "when splitting a window the new one gets the odd
5698 line" behavior.
5699 (window--resize-root-window-vertically): When resizing the
5700 minibuffer window try to affect only windows at the bottom of the
5701 frame. (Bug#12419)
5702
5703 2012-09-25 Chong Yidong <cyd@gnu.org>
5704
5705 * subr.el (declare): Doc fix.
5706
5707 * help-fns.el (help-fns--obsolete): Handle macros properly.
5708
5709 2012-09-25 Chong Yidong <cyd@gnu.org>
5710
5711 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5712 this function obsolete.
5713
5714 * calendar/cal-x.el (calendar-two-frame-setup)
5715 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5716 * calendar/calendar.el (american-calendar, european-calendar)
5717 (calendar-for-loop):
5718 * comint.el (comint-dynamic-simple-complete)
5719 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5720 * desktop.el (desktop-load-default):
5721 * dired-x.el (dired-omit-here-always)
5722 (dired-hack-local-variables, dired-default-directory):
5723 * emacs-lisp/derived.el (derived-mode-class):
5724 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5725 * emacs-lock.el (toggle-emacs-lock):
5726 * epa.el (epa-display-verify-result):
5727 * epg.el (epg-sign-keys, epg-start-sign-keys)
5728 (epg-passphrase-callback-function):
5729 * eshell/esh-util.el (eshell-for):
5730 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5731 (eshell-add-to-window-buffer-names):
5732 * files.el (locate-file-completion):
5733 * imenu.el (imenu-example--create-c-index)
5734 (imenu-example--create-lisp-index)
5735 (imenu-example--lisp-extract-index-name)
5736 (imenu-example--name-and-position):
5737 * international/mule-cmds.el (princ-list):
5738 * international/mule-diag.el (decode-codepage-char):
5739 * international/mule-util.el (detect-coding-with-priority):
5740 * iswitchb.el (iswitchb-read-buffer):
5741 * mail/mailalias.el (mail-complete):
5742 * mail/sendmail.el (mail-sent-via):
5743 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5744 (mouse-major-mode-menu):
5745 * password-cache.el (password-read-and-add):
5746 * pcomplete.el (pcomplete-parse-comint-arguments):
5747 * progmodes/sh-script.el (sh-maybe-here-document):
5748 * replace.el (query-replace-regexp-eval):
5749 * savehist.el (savehist-load):
5750 * simple.el (choose-completion-delete-max-match):
5751 * term.el (term-dynamic-simple-complete):
5752 * vc/ediff-init.el (ediff-check-version):
5753 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5754 * vc/vc.el (vc-diff-switches-list):
5755 * view.el (view-return-to-alist-update): Likewise.
5756
5757 * subr.el (eval-next-after-load, makehash, insert-string)
5758 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5759 mark obsolete.
5760 (mode-line-inverse-video): Variable deleted.
5761
5762 * international/mule-util.el (string-to-sequence): Remove.
5763
5764 * calendar/calendar.el (calendar-version):
5765 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5766 (icalendar-convert-diary-to-ical):
5767 * cus-edit.el (custom-mode):
5768 * ansi-color.el (ansi-color-unfontify-region):
5769 * international/latin1-disp.el (latin1-char-displayable-p):
5770 * progmodes/cwarn.el (turn-on-cwarn-mode):
5771 * progmodes/which-func.el (which-func-update-1):
5772 Use define-obsolete-function-alias.
5773
5774 * net/newst-backend.el (newsticker-cache-filename):
5775 * net/newst-treeview.el (newsticker-groups-filename):
5776 Fix incorrect obsolescence declaration.
5777
5778 * allout.el (allout-passphrase-hint-string): Likewise.
5779 (allout-init): Use a declare form to mark obsolete.
5780
5781 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5782 this applies to functions.
5783
5784 * iswitchb.el (iswitchb-read-buffer): Move code of
5785 iswitchb-define-mode-map here, and delete that obsolete function.
5786
5787 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5788 font-lock-reference-face.
5789
5790 2012-09-25 Glenn Morris <rgm@gnu.org>
5791
5792 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5793 Doc fixes.
5794
5795 * eshell/em-term.el (eshell-term-name):
5796 Default to term-term-name. (Bug#12485)
5797
5798 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5799
5800 * progmodes/python.el (python-shell-send-buffer): Better handling
5801 of "if __name__ == '__main__':" conditionals when sending the buffer.
5802
5803 2012-09-24 Glenn Morris <rgm@gnu.org>
5804
5805 * eshell/esh-cmd.el (eshell-find-alias-function):
5806 Tighten up file-name regexp. (Bug#12499)
5807
5808 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5809
5810 Enhancements for triple-quote string syntax.
5811 * progmodes/python.el (python-quote-syntax): Remove.
5812 (python-syntax-propertize-function): New value.
5813 (python-syntax-count-quotes, python-syntax-stringify):
5814 New functions.
5815
5816 2012-09-24 Chong Yidong <cyd@gnu.org>
5817
5818 * mail/supercite.el (sc-version): Remove obsolete function.
5819 (sc-describe): Don't mark as obsolete, since it is bound.
5820 (sc-submit-bug-report): Remove.
5821
5822 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5823 (cvs-commit-buffer-require-final-newline): Remove.
5824 (log-edit-require-final-newline)
5825 (log-edit-changelog-full-paragraphs): Default to t.
5826
5827 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5828 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5829 * vc/vc.el (vc-checkout-carefully): Likewise.
5830
5831 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5832 (emerge-version): Remove.
5833
5834 * progmodes/compile.el (compile-internal): Remove.
5835 (compilation-parse-errors-function): Fix typo.
5836
5837 * international/mule.el (set-char-table-default): Remove.
5838 (set-coding-priority, make-coding-system, generic-char-p)
5839 (charset-list, charset-bytes, charset-id): Use declare to mark
5840 functions as obsolete.
5841
5842 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5843 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5844 * vc/vc-hooks.el (vc-default-registered): Don't use
5845 vc-master-templates.
5846
5847 * font-lock.el (font-lock-reference-face):
5848 Use define-obsolete-variable-alias.
5849
5850 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5851 * calendar/calendar.el (calendar-font-lock-keywords):
5852 * calendar/diary-lib.el (diary-font-lock-keywords)
5853 (diary-fancy-font-lock-keywords):
5854 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5855 * textmodes/reftex-index.el (reftex-insert-index):
5856 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5857 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5858 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5859 * progmodes/prolog.el (prolog-font-lock-keywords):
5860 * progmodes/idlwave.el (idlwave-idl-keywords):
5861 * progmodes/ada-mode.el (ada-font-lock-keywords):
5862 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5863
5864 2012-09-24 Glenn Morris <rgm@gnu.org>
5865
5866 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5867
5868 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5869
5870 * progmodes/python.el (python-indent-line): More consistent cursor
5871 movement behavior.
5872
5873 2012-09-23 Stefan Merten <smerten@oekonux.de>
5874
5875 * textmodes/rst.el: Fix compiler warning.
5876
5877 2012-09-23 Roland Winkler <winkler@gnu.org>
5878
5879 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5880 Transcribe also LaTeX hyphenation.
5881 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5882 bibtex-reformat-previous-options.
5883
5884 2012-09-23 Roland Winkler <winkler@gnu.org>
5885
5886 * proced.el (proced-renice-command): New variable.
5887 (proced-marked-processes): New function.
5888 (proced-with-processes-buffer): New macro.
5889 (proced-send-signal): Use them.
5890 (proced-renice): New command bound to r.
5891
5892 2012-09-23 Roland Winkler <winkler@gnu.org>
5893
5894 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5895 ibuffer-saved-filter-groups has one element, shortcut the call of
5896 completing-read. (Bug#12331)
5897
5898 2012-09-23 Chong Yidong <cyd@gnu.org>
5899
5900 * bindings.el (mode-line-toggle-read-only):
5901 * bs.el (bs-toggle-readonly):
5902 * buff-menu.el (Buffer-menu-toggle-read-only):
5903 * dired.el (dired-toggle-read-only):
5904 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5905
5906 2012-09-23 Chong Yidong <cyd@gnu.org>
5907
5908 * image.el (image-type-available-p): Adapt to init-image-library
5909 argument changes.
5910
5911 2012-09-22 Juri Linkov <juri@jurta.org>
5912
5913 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5914 `dired-toggle-read-only'. (Bug#12462)
5915
5916 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5917
5918 * subr.el (temp-output-buffer-show): New function.
5919 (with-output-to-temp-buffer): Call temp-output-buffer-show
5920 instead of internal-temp-output-buffer-show.
5921
5922 2012-09-22 Chong Yidong <cyd@gnu.org>
5923
5924 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5925 (Bug#12462).
5926
5927 * repeat.el (repeat): Doc fix (Bug#12348).
5928
5929 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5930 (Bug#10909).
5931
5932 * simple.el (shell-command-on-region): Doc fix.
5933 (read-only-mode): Doc fix.
5934
5935 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5936
5937 * emacs-lisp/timer.el (run-with-idle-timer)
5938 (timer-activate-when-idle): Warn against reinvoking an idle timer
5939 from within its own timer action. (Bug#12447)
5940
5941 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5942
5943 * cus-start.el (window-combination-limit): Add new optional
5944 values.
5945 * window.el (temp-buffer-window-show)
5946 (window--try-to-split-window): Handle new values of
5947 window-combination-limit (Bug#1806).
5948 (split-window): Test window-combination-limit for t instead of
5949 non-nil.
5950 (display-buffer-at-bottom): New buffer display action function.
5951 * help.el (temp-buffer-resize-regexps): New option.
5952 (temp-buffer-resize-mode): Rewrite doc-string.
5953 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5954 Don't resize reused window. Suggested by Glenn Morris.
5955
5956 2012-09-22 Stefan Merten <smerten@oekonux.de>
5957
5958 * textmodes/rst.el: Revamp section title faces.
5959 (rst-official-version)
5960 (rst-package-emacs-version-alist): Sync with official version
5961 V1.4.0.
5962 (rst-faces-defaults, rst-set-level-default)
5963 (rst-level-face-max, rst-level-face-base-color)
5964 (rst-level-face-base-light, rst-level-face-format-light)
5965 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5966 (rst-adornment-faces-alist): Match new setup.
5967 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5968 (rst-level-5, rst-level-6): New faces.
5969
5970 2012-09-22 Chong Yidong <cyd@gnu.org>
5971
5972 * simple.el (undo): Handle indirect buffers (Bug#8207).
5973
5974 2012-09-21 Leo Liu <sdl.web@gmail.com>
5975
5976 IDO: Disable match re-ordering for buffer switching.
5977 * ido.el (ido-buffer-disable-smart-matches): New variable.
5978 (ido-set-matches-1): Use it. (Bug#2042)
5979
5980 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5981
5982 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5983 Fix 2011-05-17 change. (Bug#12418)
5984
5985 2012-09-21 Leo Liu <sdl.web@gmail.com>
5986
5987 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5988
5989 2012-09-21 Glenn Morris <rgm@gnu.org>
5990
5991 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5992 Be more robust about locating simple.el.
5993
5994 2012-09-21 Glenn Morris <rgm@gnu.org>
5995
5996 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5997
5998 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5999
6000 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6001
6002 2012-09-20 Juri Linkov <juri@jurta.org>
6003
6004 * replace.el (query-replace-read-from): Use `read-regexp' instead
6005 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6006 (occur-read-primary-args): Use `read-regexp' instead of
6007 `read-string'.
6008 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6009 `read-from-minibuffer'.
6010 * isearch.el (isearch-occur): Use `read-regexp' instead of
6011 `read-string'.
6012 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6013 `read-from-minibuffer'.
6014 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6015 of `read-string'. (Bug#7567)
6016
6017 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6018 and allow accepting a list of strings prepended to a list of
6019 standard default values. Doc fix. (Bug#12321)
6020
6021 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6022
6023 * replace.el (read-regexp): Don't add ": " when PROMPT already
6024 ends with a colon and space. (Bug#12321)
6025
6026 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6027
6028 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6029 error.
6030
6031 2012-09-20 Stefan Merten <smerten@oekonux.de>
6032
6033 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6034 Fixes feature request bug#11711.
6035 (rst-mode): Create `imenu-create-index-function'.
6036 (rst-get-stripped-line): Delete after refactoring.
6037 (rst-section-tree, rst-section-tree-rec)
6038 (rst-section-tree-point): Refactor and document properly.
6039 (rst-imenu-find-adornments-for-position)
6040 (rst-imenu-convert-cell, rst-imenu-create-index):
6041 New function.
6042
6043 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6044
6045 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6046 (macroexp--expand-all): Use it.
6047 (macroexp--funcall-and-return): Remove by folding it into its sole
6048 caller (macroexp--warn-and-return).
6049 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6050 Use macroexp--obsolete-warning.
6051
6052 * calc/calc.el: Fix last change by removing the whole chunk, since it
6053 was only needed back when Calc was not bundled.
6054
6055 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6056
6057 * emacs-lisp/debug.el (debug): Restore assignment to
6058 debugger-old-buffer removed on 2012-09-08.
6059
6060 2012-09-20 Juri Linkov <juri@jurta.org>
6061
6062 * dired-aux.el (dired-diff): Remove (require 'diff) since
6063 `diff-latest-backup-file' is now autoloaded.
6064
6065 2012-09-20 Chong Yidong <cyd@gnu.org>
6066
6067 * vc/diff.el (diff-latest-backup-file): Autoload.
6068
6069 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6070
6071 * calc/calc.el: Remove redundant autoload shape check.
6072 (sel-mode): Don't defvar.
6073 (calc-get-stack-element): Add `sel-mode' arg instead.
6074 (calc-top, calc-top-list): Pass it this additional argument.
6075 * calc/calc-store.el (calc-store-map):
6076 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6077 (calc-map-equation, calc-outer-product, calc-inner-product):
6078 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6079
6080 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6081
6082 2012-09-19 Juri Linkov <juri@jurta.org>
6083
6084 * dired-aux.el (dired-diff): Add (require 'diff) because
6085 `diff-latest-backup-file' is not autoloaded.
6086 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6087 of `dired-get-filename' to t to not report error when there is
6088 no default file on the current line.
6089
6090 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6091
6092 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6093 macroexp--eval-if-compile.
6094 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6095 (macroexp--expand-all): Use them (bug#12371).
6096
6097 * doc-view.el (doc-view-guess-paper-size)
6098 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6099
6100 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6101
6102 New feature: set optimal slice from BoundingBox information.
6103 * doc-view.el (doc-view-mode-map): Add keybinding.
6104 (doc-view-menu): Add menu entry.
6105 (doc-view-set-slice): Adapt docstring.
6106 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6107 (doc-view-scale-bounding-box)
6108 (doc-view-set-slice-from-bounding-box): New functions.
6109 (doc-view-paper-sizes): New defvar.
6110
6111 2012-09-19 Glenn Morris <rgm@gnu.org>
6112
6113 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6114 (byte-compile-log-warning): Autoload. (Bug#12371)
6115
6116 * calendar/calendar.el (calendar-american-month-header)
6117 (calendar-european-month-header, calendar-iso-month-header)
6118 (calendar-month-header): New options.
6119 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6120 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6121
6122 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6123
6124 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6125
6126 2012-09-18 Juri Linkov <juri@jurta.org>
6127
6128 * dired-aux.el (dired-diff): Restore original functionality of
6129 getting the default value, but keep new feature of using the
6130 latest existing backup file (`diff-latest-backup-file').
6131
6132 2012-09-18 Juri Linkov <juri@jurta.org>
6133
6134 * dired.el (dired-mark): If the region is active in Transient Mark
6135 mode, mark all files in the active region. Doc fix.
6136 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6137 Doc fix. (Bug#10624)
6138
6139 2012-09-18 Juri Linkov <juri@jurta.org>
6140
6141 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6142 attributes for M-n are pulled from the file at point.
6143 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6144 Suggested by Drew Adams. (Bug#10624)
6145
6146 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6147
6148 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6149 whitespace after "end".
6150 (ruby-do-end-to-brace): Collapse block to one line if it fits
6151 within fill-column.
6152
6153 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6154
6155 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6156 value.
6157 (debug): Don't remove debugger window when debugger is expected
6158 to be back.
6159
6160 2012-09-18 Chong Yidong <cyd@gnu.org>
6161
6162 * custom.el (defface): Doc fix.
6163
6164 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6165
6166 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6167
6168 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6169 to initialize query-on-exit; then test that instead (bug#12288).
6170
6171 2012-09-17 Stefan Merten <smerten@oekonux.de>
6172
6173 * textmodes/rst.el: Add support for `testcover'.
6174 (rst-defcustom-testcover, rst-testcover-add-compose)
6175 (rst-testcover-add-1value): New functions.
6176 (rst-portable-mark-active-p): Replace by `use-region-p'.
6177 (rst-update-section, rst-classify-adornment)
6178 (rst-find-title-line): Mark `1value' forms.
6179 (rst-classify-adornment): Remove superfluous form.
6180 (rst-update-section, rst-get-adornments-around)
6181 (rst-adornment-complete-p, rst-get-next-adornment)
6182 (rst-adjust, rst-promote-region)
6183 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6184 (rst-find-pfx-in-region, rst-section-tree-rec)
6185 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6186 (rst-toc-node, rst-toc, rst-forward-section)
6187 (rst-iterate-leftmost-paragraphs)
6188 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6189 (rst-bullet-list-region)
6190 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6191 (rst-compile-find-conf, rst-compile)
6192 (rst-repeat-last-character): Fix style.
6193
6194 2012-09-17 Chong Yidong <cyd@gnu.org>
6195
6196 * comint.el (comint--complete-file-name-data): Don't add a space
6197 if the status is `sole'; that adds a gratuitous space in the
6198 completion-cycling case (Bug#12092).
6199
6200 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6201
6202 2012-09-17 Richard Stallman <rms@gnu.org>
6203
6204 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6205 only in the mime-shown mode, not in raw mode.
6206 (rmail-mime): Toggle off mime by displaying the message without
6207 mime processing. (Bug#12305)
6208
6209 * mail/rmail.el (rmail-retry-failure):
6210 Turn off mime processing first. (Bug#12037)
6211
6212 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6213
6214 2012-09-17 Chong Yidong <cyd@gnu.org>
6215
6216 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6217 (shell-dynamic-complete-functions): Convert to defcustom.
6218 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6219
6220 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6221 * comint.el (comint-prompt-read-only):
6222 * custom.el (defcustom):
6223 * hi-lock.el (hi-lock-mode):
6224 * ibuffer.el (ibuffer-formats):
6225 * ielm.el (ielm-prompt-read-only):
6226 * novice.el (disable-command):
6227 * saveplace.el (toggle-save-place):
6228 * speedbar.el (speedbar-supported-extension-expressions):
6229 * startup.el (auto-save-list-file-prefix, init-file-user)
6230 (after-init-hook, inhibit-startup-echo-area-message):
6231 * strokes.el (strokes-help):
6232 * time-stamp.el (time-stamp):
6233 * calendar/calendar.el (calendar, diary-file):
6234 * calendar/diary-lib.el (diary-mail-entries, diary)
6235 (diary-list-entries-hook):
6236 * calendar/holidays.el (holidays, calendar-holidays):
6237 * calendar/lunar.el (lunar-phases):
6238 * calendar/solar.el (sunrise-sunset):
6239 * emulation/edt.el (edt-load-keys):
6240 * emulation/viper.el (viper-mode):
6241 * eshell/em-alias.el (eshell-command-aliases-list):
6242 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6243 * international/ogonek.el (ogonek-information):
6244 * net/tramp-cmds.el (tramp-bug):
6245 * net/quickurl.el (quickurl-reread-hook-postfix):
6246 * play/decipher.el (decipher-font-lock-keywords):
6247 * progmodes/cc-styles.el (c-set-style):
6248 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6249 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6250 * progmodes/octave-mod.el (octave-mode):
6251 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6252 * progmodes/verilog-mode.el (verilog-read-defines):
6253 * textmodes/two-column.el (2C-mode): Likewise.
6254
6255 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6256
6257 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6258 that holds many addresses.
6259
6260 2012-09-16 Chong Yidong <cyd@gnu.org>
6261
6262 * align.el (align-areas): Call the indication function with
6263 positions instead of markers for arguments (Bug#12343).
6264
6265 * files.el (parse-colon-path): Use split-string (Bug#12351).
6266
6267 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6268 (display-buffer-function): Mark as obsolete.
6269
6270 * progmodes/compile.el (compilation-parse-errors): Accept list
6271 values similar to font-lock-keywords (Bug#12136).
6272 Suggested by Oleksandr Manzyuk.
6273 (compilation-error-regexp-alist): Doc fix.
6274
6275 2012-09-15 Glenn Morris <rgm@gnu.org>
6276
6277 * version.el (emacs-bzr-version-bzr): New function.
6278 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6279
6280 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6281 checkouts, check the parent dirstate matches the branch.
6282 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6283 empty string.
6284
6285 * version.el (emacs-bzr-version): Doc fix.
6286 (emacs-bzr-version-dirstate): New function.
6287 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6288 is local try and check that it matches the branch. If not, just
6289 use dirstate information. (Bug#12441)
6290
6291 2012-09-14 Juri Linkov <juri@jurta.org>
6292
6293 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6294 (Bug#12399)
6295
6296 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6297
6298 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6299
6300 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6301 Remove obsolete byte-compiler hack that tried to silence some warnings.
6302 (edebug-submit-bug-report): Remove.
6303 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6304 Remove aliases, use the un-prefixed name instead.
6305 (edebug-pop-to-buffer): Consider other frames.
6306 (edebug-original-read):: Make it more obvious that it's always defined.
6307 (edebug--make-form-data-entry, edebug--form-data-name)
6308 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6309 single-dashed name, and implement with cl-defstruct.
6310 (edebug-set-form-data-entry): Use the standard accessors.
6311 (edebug-make-top-form-data-entry): Use push.
6312 (edebug-no-match): Drop useless `funcall'.
6313 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6314 to functions.
6315 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6316 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6317 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6318 (easy-menu-define, with-custom-print): Remove redundant specs.
6319 (edebug-outside-overriding-local-map)
6320 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6321 (edebug--display): Bind unread-command-events directly to nil rather
6322 than binding it to unread-command-events and later setting it to nil.
6323 (edebug--display): Kill edebug-eval-buffer here...
6324 (edebug--recursive-edit): ...rather than here.
6325 Bind standard-output and standard-input.
6326 (edebug-eval): Check cl-macroexpand-all is fboundp.
6327 (edebug-temp-display-freq-count): Fix last change.
6328
6329 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6330 * subr.el (noreturn, 1value): Add `debug' spec.
6331 * emacs-lisp/advice.el: Require cl-lib.
6332 (ad-copy-tree): Remove, use copy-tree instead.
6333 (ad-dolist): Remove use dolist or cl-dolist instead.
6334 (ad-do-return): Remove, use cl-return instead.
6335 (defadvice): Add `debug' spec.
6336
6337 2012-09-13 Juri Linkov <juri@jurta.org>
6338
6339 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6340 (Bug#12399)
6341
6342 2012-09-13 Glenn Morris <rgm@gnu.org>
6343
6344 * calc/calc.el (math-compose-expr):
6345 * calc/calc-ext.el (math-compose-expr):
6346 * progmodes/cc-defs.el (cl-macroexpand-all):
6347 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6348 (cl-macroexpand-all): Update declarations.
6349
6350 * vc/vc.el: No need to require ediff.
6351 (ediff-load-version-control): Declare.
6352 (ediff-vc-internal): Fix declaration.
6353 (vc-version-ediff): Require ediff.
6354
6355 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6356
6357 Use a more backwards-compatible timer format (Bug#12430).
6358 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6359 being right after USECS, as that better supports old code that
6360 inadvisedly looked directly at the timer vector.
6361
6362 2012-09-13 Kenichi Handa <handa@gnu.org>
6363
6364 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6365 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6366 `coding-priority' property of these language environment.
6367
6368 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6369
6370 Fix glitches caused by addition of psec to timers (Bug#12430).
6371 * image.el (image-animate-timer):
6372 * time.el (display-time-world-timer):
6373 Use timer--function and timer--args rather than raw access to
6374 timer vector.
6375
6376 2012-09-13 Glenn Morris <rgm@gnu.org>
6377
6378 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6379 If not compiling a file, try using load-file-name.
6380
6381 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6382
6383 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6384 Fix last change.
6385 (edebug-update-eval-list): Use `push'.
6386
6387 * emacs-lisp/edebug.el: Use lexical-binding.
6388 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6389 Mark unused args with underscore.
6390 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6391 (edebug-form-data): Use defvar-local.
6392 (edebug-make-before-and-after-form, edebug-make-after-form):
6393 Use backquote.
6394 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6395 Not dynamically scoped any more.
6396 (edebug--enter-trace): Add arguments `function' and `args'.
6397 Rename from edebug-enter-trace.
6398 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6399 (edebug--update-coverage): Add `after-index' and `value' args.
6400 Rename from edebug-update-coverage.
6401 (edebug-slow-after): Call it accordingly.
6402 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6403 edebug-recursive-edit.
6404 (edebug--display): Call it accordingly. Add args `value',
6405 `offset-index', and `arg-mode'. Rename from edebug-display.
6406 (edebug-debugger, edebug): Call it accordingly.
6407 (edebug-eval-display-list): Use dolist.
6408
6409 2012-09-12 Juri Linkov <juri@jurta.org>
6410
6411 * info.el (Info-search): Don't check for isearch-mode and
6412 isearch-regexp before let-binding search-spaces-regexp to
6413 Info-search-whitespace-regexp.
6414 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6415 search-whitespace-regexp if isearch-lax-whitespace or
6416 isearch-regexp-lax-whitespace is non-nil.
6417 (Info-mode): Don't set local variable search-whitespace-regexp.
6418 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6419
6420 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6421
6422 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6423 (debugger-env-macro): Remove support for unread-command-char.
6424
6425 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6426 the temporary map re-appearing on emulation-mode-map-alists.
6427
6428 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6429 since 22.1.
6430
6431 * ehelp.el (with-electric-help): Accept functions in
6432 electric-help-form-to-execute.
6433 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6434 And replace unread-command-char -> unread-command-events.
6435
6436 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6437
6438 Sync with Tramp 2.2.6.
6439
6440 * net/tramp.el (tramp-accept-process-output): Don't use
6441 JUST-THIS-ONE in the XEmacs case.
6442
6443 * net/trampver.el: Update release number.
6444
6445 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6446
6447 * emacs-lisp/debug.el (debugger-previous-window-height):
6448 New variable.
6449 (debug): When debugger-jumping-flag is non-nil try to restore
6450 height of debugger window. (Bug#8789)
6451
6452 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6453
6454 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6455 overriding-local-map and pre/post-command-hook here.
6456 (edebug-recursive-edit): Do it here instead (bug#12345).
6457 (edebug-outside-unread-command-char): Remove all uses of
6458 unread-command-char.
6459
6460 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6461 inhibit-debugger is bound instead.
6462
6463 2012-09-11 Bastien Guerry <bzg@gnu.org>
6464
6465 * subr.el (set-temporary-overlay-map): Add a docstring.
6466 (Bug#12346)
6467
6468 2012-09-11 Bastien Guerry <bzg@gnu.org>
6469
6470 * minibuffer.el (completion-table-subvert): Fix docstring.
6471 (Bug#12347)
6472
6473 2012-09-11 Bastien Guerry <bzg@gnu.org>
6474
6475 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6476
6477 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6478
6479 * progmodes/sql.el: Version 3.1
6480 (sql-db2-escape-newlines): New variable.
6481 (sql-escape-newlines-filter): Use it.
6482
6483 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6484
6485 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6486
6487 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6488
6489 * vc/diff-mode.el (diff-mode-menu):
6490 Bind diff-remove-trailing-whitespace.
6491
6492 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6493
6494 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6495 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6496 (emacs-lisp-byte-code-mode): New functions.
6497 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6498 (eval-defun-2): Remove bogus interactive spec.
6499 (lisp-indent-line): Remove redundant whole-exp code, now done in
6500 indent-according-to-mode.
6501 (save-match-data): Remove redundant indent data.
6502
6503 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6504 Use `declare'.
6505
6506 2012-09-09 Juri Linkov <juri@jurta.org>
6507
6508 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6509 (replace-lax-whitespace, query-replace-regexp)
6510 (query-replace-regexp-eval, replace-regexp): Doc fix.
6511 (perform-replace, replace-highlight): Let-bind
6512 isearch-lax-whitespace to replace-lax-whitespace and
6513 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6514
6515 * isearch.el (isearch-query-replace): Let-bind
6516 replace-lax-whitespace to isearch-lax-whitespace and
6517 replace-regexp-lax-whitespace to
6518 isearch-regexp-lax-whitespace. (Bug#10885)
6519
6520 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6521
6522 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6523
6524 2012-09-09 Alan Mackenzie <acm@muc.de>
6525
6526 * progmodes/cc-engine.el (c-state-cache-init):
6527 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6528 (c-record-parse-state-state):
6529 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6530
6531 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6532
6533 * register.el (register-separator): Rename from
6534 separator-register. All uses changed. Doc fix.
6535 (register): Fix version.
6536
6537 2012-09-09 Chong Yidong <cyd@gnu.org>
6538
6539 * replace.el (query-replace-map): Bind four new symbols for
6540 requesting window scrolling.
6541
6542 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6543 query-replace-map (Bug#8948).
6544
6545 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6546
6547 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6548 since they are now in query-replace-map.
6549
6550 * window.el (scroll-other-window-down): Make the arg optional.
6551
6552 2012-09-09 Chong Yidong <cyd@gnu.org>
6553
6554 * files.el (hack-local-variables-confirm): Use quit-window to kill
6555 the *Local Variables* buffer.
6556
6557 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6558
6559 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6560 not just expect to be at its beginning. Adjust callees.
6561 Succeed when do-end block has no space before the pipe character.
6562 (ruby-brace-to-do-end): When the original block is one-liner,
6563 convert to multiline. Reindent the result.
6564
6565 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6566
6567 * register.el (register): New group.
6568 (separator-register): New user option.
6569 (increment-register): Route it to `append-to-register', if
6570 register contains text. Implication is that `C-x r +' can now be
6571 used for appending to a text register (bug#12217).
6572 (append-to-register, prepend-to-register): Add separator based on
6573 `separator-register'.
6574
6575 2012-09-08 Alan Mackenzie <acm@muc.de>
6576
6577 AWK Mode: make auto-newline work when there's "==" in the pattern.
6578 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6579 correctly.
6580 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6581 Test more rigorously for "=" token.
6582
6583 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6584
6585 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6586 Only fail when reached LIMIT.
6587
6588 2012-09-08 Chong Yidong <cyd@gnu.org>
6589
6590 * dired.el (dired-mode-map): Don't bind M-=.
6591
6592 * dired-aux.el (dired-diff): Use backup file as default.
6593
6594 2012-09-08 Drew Adams <drew.adams@oracle.com>
6595
6596 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6597
6598 2012-09-08 Chong Yidong <cyd@gnu.org>
6599
6600 * subr.el (syntax-after, syntax-class): Doc fix.
6601
6602 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6603
6604 * window.el (display-buffer-in-previous-window): New buffer
6605 display action function.
6606
6607 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6608 (debugger-previous-window): New variable.
6609 (debug): Rewrite using display-buffer-in-previous-window,
6610 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6611
6612 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6615
6616 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6617
6618 * progmodes/python.el (python-shell-send-string):
6619 When default-directory is remote, create temp file on remote
6620 filesystem.
6621 (python-shell-send-file): When file is remote, pass local view of
6622 file paths to remote Python interpreter. (Bug#12340)
6623
6624 2012-09-07 Chong Yidong <cyd@gnu.org>
6625
6626 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6627
6628 * files.el (after-find-file): Don't fail on a read-only buffer if
6629 require-final-newline is `visit' or `visit-save' (Bug#11156).
6630
6631 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6632
6633 * userlock.el (ask-user-about-supersession-threat):
6634 Use read-char-choice (Bug#12093).
6635
6636 2012-09-07 Chong Yidong <cyd@gnu.org>
6637
6638 * subr.el (buffer-narrowed-p): New function.
6639
6640 * ses.el (ses-widen):
6641 * simple.el (count-words--buffer-message):
6642 * net/browse-url.el (browse-url-of-buffer): Use it.
6643
6644 * simple.el (count-words-region): Don't signal an error if there
6645 is a non-nil prefix arg and the mark is not set.
6646
6647 * help.el (describe-key-briefly): Allow the message to be seen
6648 when invoked from the minibuffer (Bug#7014).
6649
6650 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6651
6652 * progmodes/ruby-mode.el (ruby-end-of-defun)
6653 (ruby-beginning-of-defun): Simplify, allow indentation before
6654 block beginning and end keywords.
6655 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6656 (ruby-end-of-defun): Expect that the point is at the beginning of
6657 the defun.
6658
6659 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6660
6661 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6662 (bug#12367).
6663 (cl--make-usage-args): Strip _ from argument names.
6664
6665 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6666
6667 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6668 obsolete alias speedbar-key-map.
6669 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6670 (vhdl-index-menu-init): Don't use obsolete variable
6671 font-lock-maximum-size.
6672
6673 2012-09-06 Chong Yidong <cyd@gnu.org>
6674
6675 * frame.el (window-system-version): Mark as obsolete.
6676
6677 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6678 of obsolete variable speedbar-key-map.
6679
6680 2012-09-06 Juri Linkov <juri@jurta.org>
6681
6682 * replace.el (replace-lax-whitespace): New defcustom.
6683 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6684 (replace-string, replace-regexp): Mention it in docstrings.
6685 (perform-replace, replace-highlight): Let-bind
6686 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6687 to the values of replace-lax-whitespace and regexp-flag.
6688 Don't let-bind search-whitespace-regexp. (Bug#10885)
6689
6690 * isearch.el (isearch-query-replace): Let-bind
6691 replace-lax-whitespace instead of let-binding
6692 replace-search-function and replace-re-search-function.
6693 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6694 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6695 (isearch-toggle-symbol): Set isearch-regexp to nil
6696 in isearch-word mode (like in isearch-toggle-word).
6697
6698 2012-09-06 Juri Linkov <juri@jurta.org>
6699
6700 * replace.el (replace-search-function)
6701 (replace-re-search-function): Set default values to nil.
6702 (perform-replace): Let-bind isearch-related variables based on
6703 replace-related values, call `isearch-search-fun' and let-bind
6704 the result to `search-function'. Remove code that sets
6705 `search-function' and `search-string' separately for
6706 `delimited-flag'.
6707 (replace-highlight): Add new argument `delimited-flag' and
6708 rename other arguments to the names used in `perform-replace'.
6709 Let-bind `isearch-word' to the argument `delimited-flag'.
6710 (Bug#10885, bug#10887)
6711
6712 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6713
6714 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6715 ruby-beginning-of-indent, simplify, allow all keywords to have
6716 indentation before them.
6717 (ruby-beginning-of-indent): Adjust for above. Search until the
6718 found point is not inside a string or comment.
6719 (ruby-font-lock-keywords): Allow symbols to start with "@"
6720 character, give them higher priority than variables.
6721 (ruby-syntax-propertize-function)
6722 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6723 matchers. Expression expansions are not comments when inside a
6724 string, and there comment syntax status is irrelevant.
6725 (ruby-match-expression-expansion): New function. Check that
6726 expression expansion is inside a string, and it's not escaped.
6727 (ruby-font-lock-keywords): Use it.
6728
6729 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6730
6731 * help.el (temp-buffer-max-height): New default value.
6732 (temp-buffer-resize-frames): New option.
6733 (resize-temp-buffer-window): Optionally resize frame.
6734
6735 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6736 (fit-frame-to-buffer): New function.
6737
6738 2012-09-05 Glenn Morris <rgm@gnu.org>
6739
6740 * emulation/cua-rect.el (cua--init-rectangles):
6741 * textmodes/picture.el (picture-mode-map):
6742 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6743 like forward-char and backward-char. (Bug#12317)
6744
6745 2012-09-05 Leo Liu <sdl.web@gmail.com>
6746
6747 * progmodes/flymake.el (flymake-warning-re): New variable.
6748 (flymake-parse-line): Use it.
6749
6750 2012-09-05 Glenn Morris <rgm@gnu.org>
6751
6752 * calendar/holidays.el (holiday-christian-holidays):
6753 Rename an entry. (Bug#12289)
6754
6755 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6756
6757 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6758 (bug#12222).
6759
6760 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6761
6762 * loadup.el: Load macroexp. Remove hack.
6763 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6764 (macroexp--expand-all): Use it to get better warnings.
6765 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6766 (internal-macroexpand-for-load): New functions.
6767 (macroexp--pending-eager-loads): New var.
6768 (emacs-startup-hook): New hack to replace one in loadup.el.
6769 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6770 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6771 (cl-psetf): Simplify.
6772 (cl-defstruct): Add indent rule.
6773
6774 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6775
6776 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6777 over `user-mail-address' for the SMTP MAIL FROM envelope.
6778 (smtpmail-via-smtp): Ditto.
6779
6780 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6781
6782 * progmodes/ruby-mode.el: Clean up keybindings.
6783 (ruby-mode-map): Don't bind ruby-electric-brace,
6784 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6785 backward-kill-word, reindent-then-newline-and-indent.
6786 (ruby-mark-defun): Remove.
6787 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6788 (ruby-mode): Set local beginning-of-defun-function and
6789 end-of-defun-function values.
6790
6791 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6792
6793 * window.el (temp-buffer-window-setup-hook)
6794 (temp-buffer-window-show-hook): New hooks.
6795 (temp-buffer-window-setup, temp-buffer-window-show)
6796 (with-temp-buffer-window): New functions.
6797 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6798 (special-display-popup-frame): Make sure the window used shows BUFFER.
6799
6800 * help.el (temp-buffer-resize-mode): Fix doc-string.
6801 (resize-temp-buffer-window): New optional argument WINDOW.
6802
6803 * files.el (recover-file, save-buffers-kill-emacs):
6804 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6805
6806 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6807
6808 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6809 remote definition of `default-directory', ensure we can connect.
6810
6811 2012-09-02 Juri Linkov <juri@jurta.org>
6812
6813 Toggle whitespace matching mode with M-s SPC.
6814 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6815
6816 * isearch.el (search-whitespace-regexp): Doc fix.
6817 Remove cons cell customization.
6818 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6819 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6820 New variables.
6821 (isearch-forward, isearch-forward-regexp): Doc fix.
6822 (isearch-toggle-lax-whitespace): New command.
6823 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6824 (re-search-forward-lax-whitespace)
6825 (re-search-backward-lax-whitespace): New functions.
6826 (isearch-whitespace-regexp): Remove function.
6827 (isearch-query-replace): Let-bind replace-search-function and
6828 replace-re-search-function.
6829 (isearch-occur): Let-bind search-spaces-regexp according to the
6830 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6831 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6832 condition for C-q SPC.
6833 (isearch-search-fun-default): Use new functions mentioned above.
6834 (isearch-search-forward, isearch-search-backward): Remove functions.
6835 (isearch-search): Don't let-bind search-spaces-regexp.
6836 (isearch-lazy-highlight-space-regexp): Remove variable.
6837 (isearch-lazy-highlight-lax-whitespace)
6838 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6839 (isearch-lazy-highlight-new-loop): Use them.
6840 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6841
6842 2012-09-02 Chong Yidong <cyd@gnu.org>
6843
6844 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6845
6846 2012-09-02 Glenn Morris <rgm@gnu.org>
6847
6848 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6849
6850 2012-09-01 Glenn Morris <rgm@gnu.org>
6851
6852 * term.el: Tidy up menu definitions.
6853 (term-mode-map): Use easymenu for In/Out, Complete menus.
6854 (term-pager-break-map): Initialize in the defvar.
6855 (term-terminal-menu, term-signals-menu): Define with easymenu.
6856 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6857 (term-pager-menu): New, extracted from term-process-pager.
6858 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6859 (term-update-mode-line): Propertize line/char and page items.
6860 (term-process-pager): Move keymap initialization elsewhere.
6861
6862 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6863
6864 * window.el (switch-to-prev-buffer): Handle additional values of
6865 BURY-OR-KILL argument. Don't switch in minibuffer window.
6866 (switch-to-next-buffer): Don't switch in minibuffer window.
6867 (quit-restore-window): New function based on quit-window.
6868 Handle additional values of former KILL argument.
6869 (quit-window): Call quit-restore-window with appropriate
6870 interpretation of KILL argument.
6871 (display-buffer-below-selected): New buffer display action
6872 function.
6873
6874 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6875
6876 * minibuffer.el (completion-at-point-functions): Complete docstring
6877 (bug#12254).
6878
6879 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6880
6881 Better seed support for (random).
6882 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6883 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6884 * play/mpuz.el, play/tetris.el, play/zone.el:
6885 * calc/calc-comb.el (math-init-random-base):
6886 * play/blackbox.el (bb-init-board):
6887 * play/life.el (life):
6888 * server.el (server-use-tcp):
6889 * type-break.el (type-break):
6890 Remove unnecessary call to (random t).
6891 * net/sasl.el (sasl-unique-id-function):
6892 Change (random t) to (random), now that the latter is more random.
6893 * play/life.el (life-initialized): Remove no-longer-needed var.
6894
6895 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6896
6897 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6898 Consider frame's buffer predicate when choosing the buffer.
6899 (Bug#12081)
6900
6901 2012-08-30 Richard Stallman <rms@gnu.org>
6902
6903 * simple.el (special-mode-map): Delete binding for `z'.
6904
6905 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6906
6907 * progmodes/compile.el (compilation-always-kill): Doc fix.
6908
6909 2012-08-30 Chong Yidong <cyd@gnu.org>
6910
6911 * window.el (display-buffer-reuse-frames): Make the obsolescence
6912 message more informative.
6913
6914 2012-08-30 Glenn Morris <rgm@gnu.org>
6915
6916 * paren.el (show-paren-delay):
6917 Add a :set function. Doc fix. (Bug#12297)
6918
6919 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6920
6921 * progmodes/compile.el (compilation-always-kill): New var.
6922 (compilation-start): Use it.
6923
6924 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6925
6926 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6927 * files.el (read-only-mode): Move to simple.el.
6928
6929 * files.el (read-only-mode): New minor mode.
6930 (toggle-read-only): Use it and mark obsolete.
6931 (find-file--read-only):
6932 * vc/vc.el (vc-next-action, vc-checkout):
6933 * vc/vc-cvs.el (vc-cvs-checkout):
6934 * obsolete/vc-mcvs.el (vc-mcvs-update):
6935 * ffap.el (ffap--toggle-read-only): Update callers.
6936
6937 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6938
6939 * eshell/esh-ext.el (eshell-external-command): Do not examine
6940 remote shell scripts.
6941 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6942
6943 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6944 "/usr/local/sbin".
6945
6946 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6947
6948 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6949
6950 2012-08-28 Leo Liu <sdl.web@gmail.com>
6951
6952 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6953 completion-at-point. (Bug#12220)
6954
6955 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6956
6957 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6958
6959 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6960
6961 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6962 be buffer-local; add delete-trailing-whitespace (bug#12259).
6963
6964 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6965
6966 * progmodes/hideif.el (hif-compress-define-list):
6967 Fix typo. (Bug#11951)
6968
6969 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6970
6971 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6972 buffer local setting.
6973
6974 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6975 rcirc-encode-coding-system.
6976
6977 2012-08-28 Leo Liu <sdl.web@gmail.com>
6978
6979 * net/rcirc.el (rcirc-split-message): New function.
6980 (rcirc-send-message): Use it. (Bug#12051)
6981
6982 2012-08-28 Juri Linkov <juri@jurta.org>
6983
6984 * info.el (Info-fontify-node): Hide empty lines at the end of
6985 the node. (Bug#12272)
6986
6987 2012-08-27 Drew Adams <drew.adams@oracle.com>
6988
6989 * dired.el (dired-pop-to-buffer): Make window start at beginning
6990 of buffer (Bug#12281).
6991
6992 2012-08-26 Chong Yidong <cyd@gnu.org>
6993
6994 * window.el (special-display-regexps, special-display-frame-alist)
6995 (special-display-buffer-names, special-display-function)
6996 (display-buffer-reuse-frames): Mark as obsolete.
6997
6998 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6999
7000 * help.el (help-print-return-message): Don't treat
7001 display-buffer-reuse-frames specially.
7002
7003 2012-08-26 Chong Yidong <cyd@gnu.org>
7004
7005 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7006 New variable, replacing gdb-frame-parameters.
7007 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7008 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7009 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7010 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7011 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7012 the functions directly with gdb-display-buffer-other-frame-action.
7013 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7014 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7015 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7016 (gdb-display-registers-buffer): Define directly.
7017 (def-gdb-display-buffer): Macro deleted.
7018 (gdb-display-buffer): Remove second and third args, callers don't
7019 use them. Defer to the default display-buffer behavior, apart
7020 from making windows dedicated.
7021 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7022
7023 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7024
7025 * window.el (display-buffer-pop-up-frame): Handle a
7026 pop-up-frame-parameters alist entry.
7027 (display-buffer): Document it.
7028
7029 2012-08-26 Chong Yidong <cyd@gnu.org>
7030
7031 * isearch.el (search-whitespace-regexp): Make string and nil
7032 values apply to both ordinary and regexp search. Allow a cons
7033 cell value to distinguish between the two.
7034 (isearch-whitespace-regexp, isearch-search-forward)
7035 (isearch-search-backward): New functions.
7036 (isearch-occur, isearch-search-fun-default, isearch-search)
7037 (isearch-lazy-highlight-new-loop): Use them.
7038 (isearch-forward, isearch-forward-regexp): Doc fix.
7039
7040 2012-08-26 Chong Yidong <cyd@gnu.org>
7041
7042 * faces.el (help-argument-name): Always inherit from italic
7043 (Bug#12213).
7044
7045 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7046
7047 * window.el (window--even-window-heights): Even heights when
7048 WINDOW and the selected window form a vertical combination.
7049 (display-buffer-use-some-window): Provide that window used gets
7050 sized back by quit-window. (Bug#11880) and (Bug#12091)
7051
7052 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7053
7054 Fix file time stamp problem with bzr and CVS (Bug#12001).
7055 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7056 in the file's time stamp, since the version control system loses
7057 that information.
7058
7059 2012-08-22 Juri Linkov <juri@jurta.org>
7060
7061 * info.el (Info-fontify-node): Hide the suffix of the
7062 Info file name in the header line. (Bug#12187)
7063
7064 2012-08-22 Glenn Morris <rgm@gnu.org>
7065
7066 * calendar/cal-tex.el (cal-tex-weekly-common):
7067 Restore leading blank page.
7068
7069 2012-08-22 Le Wang <l26wang@gmail.com>
7070
7071 * misc.el (forward-to-word, backward-to-word): Activate or extend
7072 the region under `shift-select-mode'. (Bug#12231)
7073
7074 2012-08-22 Bastien Guerry <bzg@gnu.org>
7075
7076 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7077 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7078 gives details on why the space is never needed.
7079
7080 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7081
7082 * window.el (walk-window-tree, window-with-parameter):
7083 New optional argument MINIBUF to control whether these functions
7084 should run on the minibuffer window.
7085 (window-at-side-list): Don't operate on minibuffer window.
7086 (window-in-direction): Simplify and rewrite doc-string.
7087 (window--size-ignore): Rename to window--size-ignore-p.
7088 Update callers.
7089 (display-buffer-in-atom-window, window--major-non-side-window)
7090 (window--major-side-window, display-buffer-in-major-side-window)
7091 (delete-side-window, display-buffer-in-side-window):
7092 New functions.
7093 (window--side-check, window-deletable-p, delete-window)
7094 (delete-other-windows, split-window): Handle side windows and
7095 atomic windows appropriately.
7096 (window--display-buffer): Call display-buffer-record-window also
7097 when the window buffer did not change.
7098
7099 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7100
7101 * help-fns.el (help-fns--key-bindings):
7102 Abbreviate non-symbol remap targets. (Bug#12174)
7103
7104 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7105
7106 * dired.el (dired-mark-remembered): Don't clobber point.
7107 (Bug#11795)
7108
7109 2012-08-22 Glenn Morris <rgm@gnu.org>
7110
7111 * progmodes/bug-reference.el (bug-reference): New custom group.
7112 (bug-reference-bug-regexp): Make it a defcustom.
7113
7114 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7115
7116 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7117 (js-paren-indent-offset, js-square-indent-offset)
7118 (js-curly-indent-offset): Add :safe (Bug#12257).
7119
7120 2012-08-22 Edward O'Connor <hober0@gmail.com>
7121
7122 * json.el (json-key-format): Add error properties.
7123 (json-encode-key): New function.
7124 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7125 Use json-encode-key.
7126
7127 2012-08-22 Glenn Morris <rgm@gnu.org>
7128
7129 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7130 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7131 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7132 Update for above change.
7133
7134 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7135
7136 * cus-face.el (custom-face-attributes): Fix customize type for the
7137 :underline attribute. (Bug#11805)
7138
7139 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7140
7141 * window.el (window-point-1, set-window-point-1): Remove.
7142 (window-in-direction, record-window-buffer)
7143 (set-window-buffer-start-and-point, split-window-below)
7144 (window--state-get-1, display-buffer-record-window):
7145 Replace calls to window-point-1 and set-window-point-1 by calls to
7146 window-point and set-window-point respectively.
7147
7148 2012-08-21 Glenn Morris <rgm@gnu.org>
7149
7150 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7151 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7152 Use it.
7153
7154 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7155 (cal-tex-shortday): New function.
7156 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7157 (cal-tex-cursor-filofax-daily): Use the above.
7158
7159 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7160 New functions.
7161 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7162 (cal-tex-cursor-filofax-week): Use them.
7163
7164 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7165 New constants.
7166 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7167 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7168
7169 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7170 (cal-tex-end-document): Don't rely on buffer name.
7171
7172 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7173 Use cal-tex-vspace.
7174 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7175 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7176 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7177 Use cal-tex-arg.
7178
7179 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7180 (cal-tex-cursor-week, cal-tex-cursor-week2)
7181 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7182 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7183 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7184 (cal-tex-insert-preamble, cal-tex-b-document)
7185 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7186 Improve cal-tex-cmd usage.
7187
7188 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7189 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7190 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7191 (cal-tex-weekly-paper): New function.
7192 (cal-tex-cursor-week, cal-tex-cursor-week2)
7193 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7194 (cal-tex-cursor-day): Use it.
7195
7196 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7197 (cal-tex-cursor-filofax-week): Remove leading blank page.
7198
7199 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7200 Add autoload cookie. For now at least, don't use color, since
7201 no other cal-tex function does.
7202
7203 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7204 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7205 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7206
7207 2012-08-21 Juri Linkov <juri@jurta.org>
7208
7209 * info.el (Info-file-attributes): New variable.
7210 (info-insert-file-contents): Add file attributes to
7211 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7212 `Info-toc-nodes' when previous modtime of the Info file is less
7213 than new modtime.
7214 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7215 of info.el. (Bug#12230)
7216
7217 2012-08-20 Glenn Morris <rgm@gnu.org>
7218
7219 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7220 * calendar/holidays.el (calendar-holiday-list):
7221 Report errors with display-warning rather than beep'n'sleep.
7222
7223 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7224
7225 * net/tramp.el (tramp-accept-process-output): Accept only output
7226 from PROC. Otherwise, process filters and sentinels might be
7227 confused. (Bug#12145)
7228
7229 2012-08-20 Chong Yidong <cyd@gnu.org>
7230
7231 * descr-text.el (describe-text-properties-1): Use overlays-in to
7232 report on empty overlays (Bug#3322).
7233
7234 2012-08-20 Glenn Morris <rgm@gnu.org>
7235
7236 * mail/rmailout.el (rmail-output-read-file-name):
7237 Trap and report errors in rmail-output-file-alist elements.
7238
7239 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7240 since most non-font-lock faces are not also variables).
7241
7242 2012-08-20 Edward Reingold <reingold@iit.edu>
7243
7244 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7245 New function. (Bug12160)
7246
7247 2012-08-19 Glenn Morris <rgm@gnu.org>
7248
7249 * mail/rmailout.el (rmail-output-read-file-name):
7250 Fix previous change (when the alist is nil or does not match).
7251
7252 2012-08-19 Chong Yidong <cyd@gnu.org>
7253
7254 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7255 (Bug#12228).
7256
7257 2012-08-18 Chong Yidong <cyd@gnu.org>
7258
7259 * simple.el (yank-handled-properties): New defcustom.
7260 (yank-excluded-properties): Add font-lock-face and category.
7261 (yank): Doc fix.
7262
7263 * subr.el (remove-yank-excluded-properties):
7264 Obey yank-handled-properties. The special handling of font-lock-face
7265 and category is now done this way, instead of being hard-coded.
7266 (insert-for-yank-1): Remove font-lock-face handling.
7267 (yank-handle-font-lock-face-property)
7268 (yank-handle-category-property): New function.
7269
7270 2012-08-17 Glenn Morris <rgm@gnu.org>
7271
7272 * mail/rmailout.el (rmail-output-read-file-name):
7273 Check rmail-output-file-alist against the full message body
7274 in the correct rmail buffer. (Bug#12214)
7275
7276 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7277
7278 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7279 Eliminate superfluous prompt. (Bug#12203)
7280
7281 2012-08-17 Chong Yidong <cyd@gnu.org>
7282
7283 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7284 font spec, set the font directly (Bug#3228).
7285
7286 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7287
7288 * window.el (delete-window): Fix last fix.
7289
7290 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7291
7292 * window.el (window-valid-p): Move to window.c.
7293 (window-child, window-child-count, window-last-child)
7294 (window-normalize-window, window-combined-p)
7295 (window-combinations, window-atom-root, window-min-size)
7296 (window-sizable, window-sizable-p, window-size-fixed-p)
7297 (window-min-delta, window-max-delta, window--resizable)
7298 (window--resizable-p, window-resizable, window-total-size)
7299 (window-full-height-p, window-full-width-p, window-body-size)
7300 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7301 (minimize-window, window-deletable-p, delete-window)
7302 (delete-other-windows, set-window-buffer-start-and-point)
7303 (next-buffer, previous-buffer, split-window, balance-windows-2)
7304 (set-window-text-height, window-buffer-height)
7305 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7306 (truncated-partial-width-window-p): Minor code adjustments.
7307 In doc-strings state whether the argument window has to denote a
7308 live, valid or any window.
7309
7310 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7311
7312 * progmodes/subword.el (subword-forward-function)
7313 (subword-backward-function, subword-forward-regexp)
7314 (subword-backward-regexp): New variables.
7315 (subword-forward, subword-forward-internal, subword-backward-internal):
7316 Use new variables, eg so that different "word" definitions
7317 can be easily used. (Bug#11411)
7318
7319 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7320
7321 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7322 for composite selectors.
7323 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7324 operation just because we can't find a previous revision.
7325
7326 2012-08-15 Chong Yidong <cyd@gnu.org>
7327
7328 * frame.el (set-frame-font): Accept font objects.
7329
7330 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7331
7332 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7333
7334 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7335
7336 * man.el (Man-overstrike-face, Man-underline-face)
7337 (Man-reverse-face): Remove variables.
7338 (Man-overstrike, Man-underline, Man-reverse): New faces.
7339 (Man-fontify-manpage): Use them instead of the variables.
7340 (Man-cleanup-manpage): Comment change.
7341 (Man-ansi-color-map): New variable.
7342 (Man-fontify-manpage): Use it.
7343 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7344
7345 Implement ANSI SGR parameters 22-27 (bug#12146).
7346 * ansi-color.el (ansi-colors): Doc fix.
7347 (ansi-color-context, ansi-color-context-region): Doc fix.
7348 (ansi-color--find-face): New function.
7349 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7350 Rename the local variable `face' to `codes' since it is now a list of
7351 ansi codes. Doc fix.
7352 (ansi-color-get-face): Remove.
7353 (ansi-color-parse-sequence): New function, derived from
7354 ansi-color-get-face.
7355 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7356 codes 22-27.
7357
7358 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7359
7360 * subr.el (read-passwd): Allow use from a minibuffer.
7361
7362 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7363
7364 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7365 inside comments and strings as identifiers.
7366
7367 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7368 expression to evaluate. This allows to evaluate expressions with
7369 embedded whitespace.
7370 (gud-tooltip-tips): Add a blank before the newline in the
7371 message-box text, for the benefit of message-box emulation on
7372 MS-Windows.
7373
7374 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7375 messages from GDB, pop them up in a tooltip to give feedback to
7376 user.
7377 (gdb-tooltip-print-1): Quote the expression to evaluate.
7378 This allows to evaluate expressions with embedded whitespace.
7379 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7380 if the TTY name is nil or empty (which happens when communicating
7381 with the inferior via pipes, e.g. on MS-Windows).
7382 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7383 don't send that to the GUD buffer.
7384
7385 2012-08-14 Glenn Morris <rgm@gnu.org>
7386
7387 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7388 Optimize away setq-default with no args, as for setq. (Bug#12195)
7389
7390 2012-08-14 Chong Yidong <cyd@gnu.org>
7391
7392 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7393
7394 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7395 (Bug#12085).
7396
7397 2012-08-14 Glenn Morris <rgm@gnu.org>
7398
7399 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7400
7401 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7402
7403 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7404 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7405 Use cached shell name.
7406
7407 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7408
7409 * progmodes/python.el (python-shell-send-string):
7410 (python-shell-send-setup-code): Do not use `format' with `message'.
7411
7412 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7413
7414 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7415 (ruby-percent-literal-beg-re): New constant.
7416 (ruby-syntax-general-delimiters-goto-beg): Rename to
7417 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7418 (ruby-syntax-propertize-general-delimiters): Rename to
7419 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7420 popular term. Adjust comments everywhere.
7421 (ruby-syntax-propertize-percent-literal): Only propertize when not
7422 inside a simple string or comment. When the literal is unclosed,
7423 leave the text after it unpropertized.
7424 (ruby-syntax-methods-before-regexp): New constant.
7425 (ruby-syntax-propertize-function): Use it to recognize regexps.
7426 Don't look at the text after regexp, just use the whitelist.
7427
7428 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7429
7430 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7431 non-nil always load the compiled file if it exists. (Bug#12197)
7432
7433 2012-08-14 Chong Yidong <cyd@gnu.org>
7434
7435 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7436 (hi-lock-set-pattern): When deciding whether to use font lock or
7437 overlays, look at font-lock-mode instead of font-lock-fontified
7438 (Bug#12168).
7439 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7440 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7441
7442 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7443
7444 * subr.el (internal--after-with-selected-window): Fix typo
7445 (Bug#12193).
7446
7447 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7448
7449 Use `completion-table-dynamic' for completion functions.
7450 * progmodes/python.el
7451 (python-shell-completion--do-completion-at-point)
7452 (python-shell-completion--get-completions):
7453 Remove functions.
7454 (python-shell-completion-complete-at-point): New function.
7455 (python-completion-complete-at-point): Use it.
7456
7457 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7458
7459 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7460 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7461
7462 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7464 * subr.el (function-get): Refine `autoload' arg so it can also
7465 autoload functions for gv.el (bug#12191).
7466 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7467 autoloads macros.
7468
7469 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7470 Prefer pcase-let over destructuring-bind.
7471 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7472 Also, remove whitespace as we go, rather than after accumulating the
7473 various places.
7474
7475 * subr.el (internal--before-with-selected-window)
7476 (internal--after-with-selected-window): Fix typo seleted->selected.
7477 (with-selected-window): Adjust callers.
7478 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7479
7480 2012-08-13 Bastien Guerry <bzg@gnu.org>
7481
7482 * window.el (special-display-popup-frame): Minor docstring
7483 enhancement. (Bug#12172)
7484
7485 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7486
7487 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7488 type 1-6.
7489 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7490 extended headers.
7491
7492 * files.el (hack-local-variables-filter): Remove useless eval.
7493
7494 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7495
7496 * subr.el (with-selected-window): Fix last change.
7497
7498 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7499
7500 * subr.el (internal--before-with-seleted-window)
7501 (internal--after-with-seleted-window): New functions.
7502 (with-selected-window): Use them, to replace dependency on
7503 tty-top-frame.
7504
7505 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7506
7507 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7508 binding for `newline'.
7509 (ruby-move-to-block): When moving backward, stop at block opening,
7510 not indentation.
7511 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7512 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7513 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7514 `ruby-toggle-block'.
7515
7516 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7517
7518 * ibuffer.el (ibuffer-do-toggle-read-only):
7519 * dired.el (dired-toggle-read-only):
7520 * buff-menu.el (Buffer-menu-toggle-read-only):
7521 * bindings.el (mode-line-toggle-read-only):
7522 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7523
7524 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7525
7526 * descr-text.el (describe-char): Put the overlays over the
7527 "displayed as" character.
7528
7529 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7530
7531 * calc/calc-units.el (math-default-units-table): Give an
7532 initial value.
7533 (math-put-default-units): Add options to put composite units and
7534 unit systems in the default units table.
7535 (calc-convert-units): Send composite units to
7536 `math-put-default-units' when appropriate.
7537
7538 2012-08-11 Glenn Morris <rgm@gnu.org>
7539
7540 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7541
7542 * tutorial.el (help-with-tutorial):
7543 * emacs-lisp/copyright.el (copyright-update-directory):
7544 * emacs-lisp/autoload.el (autoload-find-generated-file)
7545 (autoload-find-file): Disable local eval: (for insurance).
7546
7547 * files.el (hack-local-variables-filter): If an eval: form is not
7548 known to be safe, and enable-local-variables is :safe, then ignore
7549 the form totally, as is done for non-eval forms. (Bug#12155)
7550 This is CVE-2012-3479.
7551
7552 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7555 (rx-form): Simplify.
7556
7557 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7558
7559 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7560 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7561 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7562 (ruby-syntax-propertize-function): Adjust for changes in
7563 `ruby-syntax-propertize-heredoc'.
7564
7565 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7566
7567 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7568 binding (use `M-;' instead).
7569 (ruby-singleton-class-p): New function.
7570 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7571
7572 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7573
7574 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7575
7576 2012-08-10 Chong Yidong <cyd@gnu.org>
7577
7578 * progmodes/python.el (python-shell-get-process-name): Don't mess
7579 with same-window-buffer-names.
7580
7581 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7582 (eshell-remove-from-window-buffer-names): Make obsolete.
7583 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7584 (eshell): Just use pop-to-buffer-same-window instead.
7585
7586 2012-08-10 Chong Yidong <cyd@gnu.org>
7587
7588 * bindings.el: Bind M-= back to count-words-region.
7589
7590 * simple.el (count-words-region): Accept a prefix arg for acting
7591 on the entire buffer.
7592 (count-words--buffer-message): New helper function.
7593
7594 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7597 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7598 (event-start, event-end): Use posn-at-point to return a more
7599 informative posn.
7600 (posnp): New function.
7601 * mouse.el (popup-menu-normalize-position): Use it.
7602
7603 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7604
7605 * mouse.el (popup-menu-normalize-position): New function.
7606 (popup-menu): Use `popup-menu-normalize-position' to normalize
7607 the form for POSITION argument.
7608
7609 * term/x-win.el (x-menu-bar-open):
7610 Use the value returend from (posn-at-point) as position
7611 passed to `popup-menu'.
7612
7613 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7614
7615 * calc/calccomp.el (math-compose-expr): Add extra argument
7616 indicating that parentheses should be put around products in
7617 denominators. Give multiplication precedence over division during
7618 composition.
7619
7620 2012-08-09 Chong Yidong <cyd@gnu.org>
7621
7622 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7623 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7624 (Man-untabify-command, manual-program): Convert to defcustom
7625 (Bug#10429).
7626
7627 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7628
7629 * descr-text.el (describe-char): Don't insert extra newlines
7630 (Bug#10127).
7631
7632 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7633 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7634
7635 * align.el (align-region): Delete temporary markers (Bug#10047).
7636 Plus some code cleanups.
7637
7638 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7639
7640 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7641 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7642 (python-shell-internal-last-output): Use make-local-variable
7643 instead of make-variable-buffer-local.
7644
7645 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7646
7647 * progmodes/python.el: Enhancements to forward-sexp.
7648 (python-nav-forward-sexp): Rename from
7649 python-nav-forward-sexp-function.
7650 (python-nav--forward-sexp, python-nav--backward-sexp):
7651 New functions.
7652
7653 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7654
7655 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7656 modes and simplification modes.
7657
7658 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7659
7660 * delsel.el (delete-selection-pre-hook): Don't propagate the
7661 file-supersession signals (bug#12161).
7662
7663 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7666 (cl-map-extents): Add compatibility aliases (bug#12135).
7667
7668 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7669
7670 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7671 tests by `ignore-error'.
7672 (tramp-find-shell): Open also a new shell, when cache is already
7673 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7674
7675 2012-08-08 Juri Linkov <juri@jurta.org>
7676
7677 * bookmark.el: Add `defaults' property to the bookmark record.
7678 (bookmark-current-buffer): Doc fix.
7679 (bookmark-make-record): Add `defaults' property with default values
7680 to the bookmark record.
7681 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7682 with `bookmark-insert-current-bookmark'.
7683 (bookmark-set): Get `defaults' property from the bookmark record
7684 and use it in `read-from-minibuffer'.
7685 (bookmark-insert-current-bookmark): Remove function.
7686
7687 * info.el (Info-bookmark-make-record): Add `defaults' property
7688 with values of canonical Info node name, the current Info file
7689 name and the current Info node name. (Bug#12107)
7690
7691 2012-08-08 Juri Linkov <juri@jurta.org>
7692
7693 * files.el (basic-save-buffer): Use `buffer-name' as the default
7694 of `read-file-name' when buffer is not visiting a file (bug#12128).
7695
7696 2012-08-08 Juri Linkov <juri@jurta.org>
7697
7698 * info.el (Info-isearch-search): Doc fix.
7699 (Info-search): Change search-failed message from "initial node" to
7700 "end of node" (bug#12078).
7701 (Info-isearch-search): Change `isearch-string-state' to
7702 `isearch--state-string'.
7703
7704 2012-08-08 Glenn Morris <rgm@gnu.org>
7705
7706 * language/persian.el: Remove file.
7707 * language/misc-lang.el: Move unique part of persian.el here.
7708 * loadup.el: Remove language/persian.
7709
7710 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7711
7712 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7713
7714 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7715
7716 * progmodes/python.el: Fix defsubst warning.
7717 (python-syntax-context) Rename from python-info-ppss-context.
7718 (python-syntax-context-type): Rename from
7719 python-info-ppss-context-type.
7720 (python-syntax-comment-or-string-p): Rename from
7721 python-info-ppss-comment-or-string-p.
7722
7723 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7724
7725 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7726
7727 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7728
7729 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7730 a defcustom that is quoted with backquote.
7731
7732 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7733 Fix handling of interactive spec when the body uses return.
7734 (math-do-arg-check, math-define-function-body): Use backquote forms.
7735 * calc/calc-ext.el (math-defcache): Likewise.
7736 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7737 * allout.el (allout-new-exposure): Likewise.
7738 * calc/calcalg2.el (math-tracing-integral): Likewise.
7739 * info.el (Info-last-menu-item): Likewise.
7740 * emulation/vip.el (vip-loop): Likewise.
7741 * textmodes/artist.el (artist-funcall): Likewise.
7742 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7743 Construct menu-item directly.
7744
7745 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7746 Don't declare.
7747
7748 2012-08-07 Chong Yidong <cyd@gnu.org>
7749
7750 * simple.el (deactivate-mark): Preserve text properties when
7751 saving the primary selection (Bug#8384).
7752
7753 2012-08-07 Kevin Ryde <user42@zip.com.au>
7754
7755 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7756 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7757 and continue processing (Bug#12110).
7758
7759 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7760
7761 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7762 syntax-propertize-function (bug#10095).
7763
7764 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7765
7766 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7767 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7768 describe-function-1.
7769 (describe-function-1): Use them. Move compiler macro after sig.
7770 (help-fns--compiler-macro): Use function-get. Assume we're already in
7771 standard-output. Adjust layout to new call order.
7772
7773 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7774 re-binding a symbol that has a symbol-macro (bug#12119).
7775
7776 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7777
7778 * language/persian.el: New file. (Bug#11812)
7779 * loadup.el: Add language/persian.el.
7780
7781 2012-08-06 Chong Yidong <cyd@gnu.org>
7782
7783 * window.el (window--maybe-raise-frame): New function.
7784 (window--display-buffer): Split off from here.
7785 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7786 (display-buffer-pop-up-window, display-buffer-use-some-window):
7787 Obey an inhibit-switch-frame action alist entry.
7788 (display-buffer): Update doc.
7789
7790 * replace.el (occur-after-change-function): Avoid losing focus by
7791 using the inhibit-switch-frame display parameter (Bug#12139).
7792
7793 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7794
7795 Make internal shell process buffer names start with space.
7796 * progmodes/python.el (python-shell-make-comint): Add optional
7797 argument INTERNAL.
7798 (run-python-internal): Use it.
7799 (python-shell-internal-get-or-create-process): Check for new
7800 internal buffer names.
7801
7802 2012-08-06 Glenn Morris <rgm@gnu.org>
7803
7804 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7805 Do less getting and setting of environment variables.
7806
7807 2012-08-05 Chong Yidong <cyd@gnu.org>
7808
7809 * proced.el (proced): Add substitution string to docstring to
7810 trigger autoloading of the proced library on C-h f (Bug#1768).
7811
7812 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7813 Don't show defvars which have no second argument (Bug#8638).
7814
7815 * imenu.el (imenu-generic-expression): Move documentation here
7816 from imenu--generic-function.
7817 (imenu--generic-function): Refer to imenu-generic-expression.
7818
7819 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7820
7821 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7822 indentation declaration.
7823 (viper-loop): Add indentation declaration (Bug#7025).
7824
7825 2012-08-05 Chong Yidong <cyd@gnu.org>
7826
7827 * help-fns.el (describe-variable): Add hyperlink for
7828 directory-local variables files. Improve buffer-local and
7829 permanent-local reporting; suggested by MON KEY (Bug#6644).
7830
7831 * help-mode.el (help-dir-local-var-def): New button type.
7832
7833 * files.el (kill-buffer-hook): Provide a defvar.
7834
7835 2012-08-05 Glenn Morris <rgm@gnu.org>
7836
7837 * eshell/esh-ext.el (eshell/addpath):
7838 Also update eshell-path-env. (Bug#12013)
7839
7840 2012-08-05 Chong Yidong <cyd@gnu.org>
7841
7842 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7843
7844 * fringe.el (fringe-styles): Add docstring.
7845 (fringe--check-mode): New function.
7846 (set-fringe-mode, set-fringe-style): Use it.
7847 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7848
7849 * files.el (set-auto-mode): Fix invalid setq call.
7850
7851 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7852
7853 * isearch.el: Misc simplification; use defstruct.
7854 (isearch-mode-map): Dense maps now work like sparse ones.
7855 (isearch--state): New defstruct.
7856 (isearch-string-state, isearch-message-state, isearch-point-state)
7857 (isearch-success-state, isearch-forward-state)
7858 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7859 (isearch-wrapped-state, isearch-barrier-state)
7860 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7861 replaced by defstruct's accessors.
7862 (isearch--set-state): Rename from isearch-top-state and change
7863 calling convention.
7864 (isearch-push-state): Use new isearch--get-state.
7865 (isearch-toggle-word): Disable regexp when enabling word.
7866 (isearch-message-prefix): Remove unused arg _c-q-hack.
7867 (isearch-message-suffix): Remove unused arg _ellipsis.
7868
7869 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7870
7871 * simple.el (list-processes--refresh): For a server use :host or
7872 :local as the address.
7873 (list-processes): Doc fix.
7874
7875 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7876
7877 * lisp/mpc.el: Support password in host argument.
7878 (mpc--proc-connect): Parse and use new password element.
7879 Set mpc-proc variable instead of returning process.
7880 (mpc-proc): Adjust accordingly.
7881
7882 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7883
7884 * whitespace.el (whitespace-display-mappings): Use Unicode
7885 codepoints, instead of emacs-mule codepoints. See
7886 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7887 for the details.
7888
7889 * files.el (file-truename): Don't skip symlink-chasing part on
7890 windows-nt. Incorporate the resolution of 8+3 short aliases on
7891 Windows into the loop that recursively chases symlinks.
7892 Compare directory and its parent case-insensitively on MS-Windows and
7893 MS-DOS.
7894
7895 2012-08-03 Chong Yidong <cyd@gnu.org>
7896
7897 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7898
7899 * sort.el (sort-regexp-fields): Doc fix.
7900
7901 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7902
7903 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7904 labels regex position point at the expected place.
7905
7906 2012-08-03 MON KEY <monkey@sandpframing.com>
7907
7908 * net/imap.el (imap-interactive-login, imap-authenticate)
7909 (imap-mailbox-lsub, imap-mailbox-list)
7910 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7911 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7912 (imap-parse-response): Doc fix.
7913
7914 2012-08-03 João Távora <joaotavora@gmail.com>
7915
7916 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7917 if sexp scanning does not move point (Bug#5734).
7918
7919 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7920
7921 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7922 Add listings, minted, and ctable packages.
7923 (reftex-label-alist-builtin): Move listings, minted, and ctable
7924 entries before LaTeX.
7925 (reftex-label-alist): Docfix.
7926
7927 2012-08-02 Bastien Guerry <bzg@gnu.org>
7928
7929 * replace.el (occur): Fix docstring (bug#12122).
7930
7931 2012-08-02 Glenn Morris <rgm@gnu.org>
7932
7933 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7934
7935 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7936
7937 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7938 * international/mule-cmds.el: Create
7939 inactivate-current-input-method-function as an obsolete alias for
7940 deactivate-current-input-method-function. See Katsumi Yamaoka in
7941 <http://bugs.gnu.org/10150#46>.
7942
7943 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7944
7945 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7946 of nested `if's.
7947
7948 2012-08-01 Glenn Morris <rgm@gnu.org>
7949
7950 * progmodes/autoconf.el (autoconf-definition-regexp):
7951 Add AH_TEMPLATE, adjust submatch numbering.
7952 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7953 (autoconf-current-defun-function): Update for above change.
7954 (autoconf-current-defun-function): First skip to end of current word.
7955
7956 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7957
7958 * calendar/cal-html.el (cal-html-insert-agenda-days):
7959 Fix typo. (Bug#12018)
7960
7961 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7962
7963 Shell processes: enhancements to startup and CEDET compatibility.
7964 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7965 (python-shell-make-comint): accept-process-output at startup.
7966 (run-python-internal): Set inferior-python-mode-hook to nil.
7967 (python-shell-internal-get-or-create-process): call sit-for.
7968 (python-preoutput-result): Add obsolete alias.
7969 (python-shell-internal-send-string): Use it.
7970 (python-shell-send-setup-code): Remove call to
7971 accept-process-output.
7972
7973 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7974
7975 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7976 (Bug#12108)
7977
7978 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7979
7980 * calc-mode.el (calc-basic-simplification-mode): Rename from
7981 `calc-limited-simplification-mode'.
7982 (calc-alg-simplification-mode): New function.
7983 (calc-set-simplify-mode): Adjust message.
7984
7985 * calc.el (calc-set-mode-line): Adjust mode line display for
7986 basic simplification mode.
7987
7988 * calc-help.el (calc-m-prefix-help): Update help message.
7989
7990 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7991 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7992
7993 2012-07-31 Bastien Guerry <bzg@gnu.org>
7994
7995 * man.el (man): Fix comment. (bug#12101)
7996
7997 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7998
7999 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8000 Don't return a non-nil value when no suitable buffer was found.
8001
8002 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8003
8004 * progmodes/python.el (run-python-internal): Disable font lock for
8005 internal shells.
8006
8007 2012-07-30 Stefan Merten <smerten@oekonux.de>
8008
8009 * textmodes/rst.el: Silence `checkdoc-ispell'.
8010 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8011 (rst-official-version, rst-official-cvs-rev)
8012 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8013 (rst-mode-map): New key binding.
8014
8015 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8016
8017 Update .PHONY listings in makefiles.
8018 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8019 autoloads, update-subdirs, updates, bzr-update, update-authors,
8020 compile-onefile, compile-calc, backup-compiled-files,
8021 compile-after-backup, compile-one-process, mh-autoloads,
8022 bootstrap-clean, distclean, maintainer-clean.
8023
8024 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8025
8026 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8027 (calc-set-mode-line): Don't display "AlgSimp ".
8028
8029 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8030 (calc-lim-simplify-mode): New function.
8031 (calc-set-simplify-mode): Default to 'alg.
8032 (calc-default-simplify-mode): Make algebraic simplifications
8033 the default.
8034
8035 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8036 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8037
8038 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8039 indicate new simplification modes.
8040
8041 * calc/README: Mention new default simplification mode.
8042
8043 * calc/calc.el (math-normalize-error): New variable.
8044 (math-normalize): Set `math-normalize-error' to t
8045 when there's an error.
8046
8047 * calc/calc-alg.el (math-simplify): Don't simplify when
8048 `math-normalize' returns an error.
8049
8050 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8051
8052 * international/mule-cmds.el (set-locale-environment): Revert last
8053 change, since display-graphic-p returns nil when this function is
8054 called during startup. Instead...
8055
8056 * term/w32console.el (terminal-init-w32console): ...setup the
8057 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8058
8059 2012-07-29 Juri Linkov <juri@jurta.org>
8060
8061 * simple.el (goto-line): Don't display default line number in the
8062 prompt because it should be displayed by `read-number' (bug#9952).
8063 Add the current line number to the defaults of `goto-line' to
8064 allow its easier modification by users with `M-n' (bug#9201).
8065
8066 * subr.el (read-number): Support multiple default values like in
8067 other minibuffer reading functions. Replace `read' with
8068 `string-to-number' for consistency with `number-to-string'.
8069
8070 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8071
8072 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8073 * emulation/viper-init.el (viper-deactivate-input-method-action):
8074 Rename from viper-inactivate-input-method-action.
8075 (viper-deactivate-input-method):
8076 Rename from viper-inactivate-input-method.
8077 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8078 * international/mule-cmds.el (deactivate-input-method):
8079 Rename from inactivate-input-method.
8080 Also run input-method-deactivate-hook.
8081 (deactivate-current-input-method-function):
8082 Rename from inactivate-current-input-method-function.
8083 (input-method-deactivate-hook): New hook.
8084 (input-method-inactivate-hook): Mark obsolete.
8085 (inactivate-input-method): Mark obsolete.
8086
8087 * international/quail.el (quail-activate):
8088 Also run quail-deactivate-hook.
8089 (quail-deactivate): Rename from quail-inactivate.
8090 * international/robin.el (robin-activate):
8091 Also run robin-deactivate-hook.
8092 (robin-deactivate): Rename from robin-inactivate.
8093
8094 2012-07-29 Chong Yidong <cyd@gnu.org>
8095
8096 * simple.el (indicate-copied-region): New function.
8097 (kill-ring-save): Split off from here.
8098
8099 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8100 (kill-rectangle): Set deactivate-mark to t on read-only error.
8101
8102 * register.el (copy-to-register, copy-rectangle-to-register):
8103 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8104 (append-to-register, prepend-to-register): Call indicate-copied-region.
8105
8106 2012-07-29 Juri Linkov <juri@jurta.org>
8107
8108 * simple.el (async-shell-command-buffer): New defcustom.
8109 (shell-command): Use it. (Bug#4719)
8110
8111 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8112
8113 * international/mule-cmds.el (set-locale-environment): In a
8114 console session on MS-Windows, set up keyboard and terminal
8115 encoding from the OEM codepage, not the ANSI codepage.
8116 (Bug#12055)
8117
8118 2012-07-28 Chong Yidong <cyd@gnu.org>
8119
8120 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8121 gdb-get-location.
8122
8123 2012-07-28 Leo Liu <sdl.web@gmail.com>
8124
8125 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8126 the alist (bug#12029).
8127
8128 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8129
8130 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8131 (compile-always, compile-first)
8132 ($(lisp)/calendar/cal-loaddefs.el)
8133 ($(lisp)/calendar/diary-loaddefs.el)
8134 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8135 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8136 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8137 instead of on update-subdirs.
8138 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8139
8140 2012-07-28 Chong Yidong <cyd@gnu.org>
8141
8142 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8143 directory if vc-deduce-backend returns nil (Bug#7350).
8144
8145 * simple.el (delete-trailing-lines): New option.
8146 (delete-trailing-whitespace): Obey it (Bug#11879).
8147
8148 2012-07-28 David Engster <deng@randomsample.de>
8149
8150 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8151 Explanation of new 'symbol-qnames feature in doc-strings.
8152 (xml-maybe-do-ns): Return expanded names as plain symbols if
8153 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8154 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8155
8156 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8157
8158 Consistent completion in inferior python with emacs -nw.
8159 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8160 binding in inferior-python-mode-map with "\t".
8161 (python-shell-completion-complete-at-point)
8162 (python-completion-complete-at-point): Remove interactive spec.
8163
8164 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8165
8166 * calc/calccomp.el (math-compose-expr): Undo previous change.
8167
8168 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8169
8170 * progmodes/python.el (python-mode-map): Add keybinding for
8171 run-python.
8172 (python-shell-make-comint): Fix pop-to-buffer call.
8173 (run-python): Autoload. New arg SHOW.
8174 (python-shell-get-or-create-process): Do not pop python process
8175 buffer.
8176
8177 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8178
8179 * notifications.el (notifications-on-action-signal)
8180 (notifications-on-closed-signal): Use also the bus address for the map.
8181 (notifications-notify, notifications-close-notification)
8182 (notifications-get-capabilities): Add optional argument BUS.
8183
8184 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8185
8186 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8187 Add support for the lstlisting and minted environments, and for the
8188 ctable macro.
8189 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8190 labels written in keyvals syntax.
8191
8192 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8193
8194 * calc/calccomp.el (math-compose-expr): Use parentheses when
8195 there is a product in the denominator of a fraction.
8196
8197 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8198
8199 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8200 ($(lisp)/calendar/diary-loaddefs.el)
8201 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8202 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8203 Fixes failures in parallel bootstrap because subdirs.el is being
8204 rewritten while the autoload files are built at the same time,
8205 which needs to load subdirs.el.
8206
8207 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8208
8209 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8210 (mouse-drag-line): Don't exit tracking when a switch-frame or
8211 switch-window event occurs (Bug#12006).
8212
8213 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8214
8215 * mouse.el (popup-menu): Fix last change.
8216
8217 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8218
8219 Autoload from Lisp with more care. Follow aliases when looking for
8220 function properties.
8221 * subr.el (autoloadp): New function.
8222 (symbol-file): Use it.
8223 (function-get): New function.
8224 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8225 autoload-do-load.
8226 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8227 (lisp-indent-function):
8228 * emacs-lisp/gv.el (gv-get):
8229 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8230 * emacs-lisp/byte-opt.el (byte-optimize-form):
8231 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8232 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8233 Use function-get.
8234 * emacs-lisp/cl.el: Don't propagate function properties any more.
8235
8236 * speedbar.el (speedbar-add-localized-speedbar-support):
8237 * emacs-lisp/disass.el (disassemble-internal):
8238 * desktop.el (desktop-load-file):
8239 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8240 (describe-function-1):
8241 * emacs-lisp/find-func.el (find-function-noselect):
8242 * emacs-lisp/elp.el (elp-instrument-function):
8243 * emacs-lisp/advice.el (ad-has-proper-definition):
8244 * apropos.el (apropos-safe-documentation, apropos-macrop):
8245 * emacs-lisp/debug.el (debug-on-entry):
8246 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8247 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8248 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8249
8250 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8251
8252 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8253 function, not an obsolete variable (Bug#12046).
8254
8255 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8256
8257 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8258
8259 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8260
8261 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8262 window only if it is still live (Bug#12034).
8263
8264 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8265
8266 * subr.el (redirect-frame-focus): Add advertised calling
8267 convention (Bug#12030).
8268
8269 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8270
8271 Prefer typical American spelling for "acknowledgment".
8272 * vc/add-log.el (change-log-acknowledgment): Rename from
8273 change-log-acknowledgement, with an alias for the old name.
8274
8275 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8276
8277 * calc-alg.el (math-simplify-divide): Don't cross multiply
8278 in an equation when the lhs is a variable.
8279
8280 2012-07-24 Julien Danjou <julien@danjou.info>
8281
8282 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8283 Remove, unused.
8284
8285 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8286
8287 * startup.el (command-line): Don't display an empty user name in
8288 the error message about non-existent home directory, when
8289 init-file-user was set to an empty string. See
8290 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8291 for the details and context.
8292
8293 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8294
8295 * ses.el (ses-cell-formula-aset): New macro.
8296 (ses-cell-references-aset): New macro.
8297 (ses-cell-p): New function.
8298 (ses-rename-cell): Do no longer rely on complex operations like
8299 ses-cell-set-formula or ses-set-cell to change the cell and handle
8300 the undo at the same time, but rather use lower level new macros
8301 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8302 the undo directly. Refresh the mode line.
8303
8304 2012-07-21 Leo Liu <sdl.web@gmail.com>
8305
8306 * progmodes/cc-cmds.el (c-defun-name):
8307 Use match-string-no-properties instead for consistency.
8308
8309 2012-07-20 Leo Liu <sdl.web@gmail.com>
8310
8311 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8312 (Bug#7879)
8313
8314 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8315
8316 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8319 * progmodes/bug-reference.el, misearch.el: Provide themselves
8320 (bug#11915).
8321
8322 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8323 of narrowed buffer (bug#11966).
8324
8325 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8326
8327 * ses.el (ses-rename-cell): Set new name also in reference list of
8328 cells of which the renamed cell depends.
8329
8330 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8331
8332 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8333 to check whether menu-bar is shown or not. If not shown,
8334 show the menu-bar as a popup menu instead of using tmm.
8335 * mouse.el (popup-menu): Accept `point' as `position' argument.
8336
8337 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8338
8339 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8340 up inside string symbol literal (bug#11923).
8341
8342 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8343
8344 * startup.el (fancy-startup-text): Read the whole tutorial, not
8345 just its first 256 bytes. Prevents gibberish in display of the
8346 tutorial title.
8347
8348 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8349
8350 Drop idle buffer compaction due to an absence of the
8351 proved efficiency.
8352 * compact.el: Remove.
8353
8354 2012-07-19 Sam Steingold <sds@gnu.org>
8355
8356 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8357 vc-bzr-pull & vc-bzr-merge-branch.
8358 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8359 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8360 for consistency with compilation-error-regexp-alist.
8361 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8362 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8363 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8364 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8365
8366 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8367
8368 * emacs-lisp/chart.el: Use lexical-binding.
8369 (chart-emacs-storage): Don't hardcode the list of entries.
8370
8371 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8372
8373 Next round of tweaks caused by Fgarbage_collect changes.
8374 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8375
8376 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8377
8378 Compact buffers when idle.
8379 * compact.el: New file.
8380
8381 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 * subr.el (eventp): Presume that if it looks vaguely like an event,
8384 it's an event (bug#10190).
8385
8386 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8387
8388 Enhancements to ppss related code (thanks Stefan).
8389 * progmodes/python.el (python-indent-context)
8390 (python-indent-calculate-indentation, python-indent-dedent-line)
8391 (python-indent-electric-colon, python-nav-forward-block)
8392 (python-mode-abbrev-table)
8393 (python-info-assignment-continuation-line-p): Simplify checks
8394 for ppss context.
8395 (python-info-continuation-line-p): Cleanup.
8396 (python-info-ppss-context): Do not catch 'quote.
8397 (python-info-ppss-context-type)
8398 (python-info-ppss-comment-or-string-p): Simplify.
8399
8400 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8401
8402 * progmodes/python.el: Enhancements to eldoc support.
8403 (python-info-current-symbol): New function.
8404 (python-eldoc-at-point): Use python-info-current-symbol.
8405 (python-info-current-defun): Fix cornercase on first defun scan.
8406 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8407 and signal error when no inferior python process is available.
8408
8409 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8410
8411 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8412 assume it's always t.
8413 (vc-git-registered): Remove caching, the function is only called
8414 once.
8415 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8416
8417 2012-07-18 Chong Yidong <cyd@gnu.org>
8418
8419 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8420
8421 * simple.el (count-words): Report on narrowing (Bug#9959).
8422
8423 * bindings.el: Bind M-= to count-words.
8424
8425 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8426
8427 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8428
8429 * progmodes/sh-script.el (sh-imenu-generic-expression):
8430 Capture a function with `function' keyword and without parentheses
8431 like "function FOO" (bug#11856).
8432
8433 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8434
8435 * window.el (split-window-sensibly): Make WINDOW argument
8436 optional.
8437
8438 2012-07-18 Chong Yidong <cyd@gnu.org>
8439
8440 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8441
8442 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8443 and make C-x 8 RET exit isearch (Bug#11439).
8444
8445 * international/iso-transl.el: Move isearch-mode-map key
8446 definitions to isearch.el.
8447
8448 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8449
8450 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8451 (eieio-defclass): Use gv-define-setter when possible.
8452
8453 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8454
8455 Reflect recent changes in Fgarbage_collect.
8456 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8457 reflect new format of data returned by Fgarbage_collect.
8458
8459 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8460
8461 New utility functions + python-info-ppss-context fix (Bug#11910).
8462 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8463 (python-info-ppss-comment-or-string-p): New functions.
8464 (python-info-ppss-context): Small fix for string check.
8465
8466 2012-07-17 Juri Linkov <juri@jurta.org>
8467
8468 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8469 (dired-do-async-shell-command): Don't add `*' at the end of the
8470 command (Bug#11815).
8471 (dired-do-shell-command): Doc fix.
8472 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8473 Join the individual commands using either "&" or ";" as the
8474 separator depending on the values of these trailing characters.
8475 At the end re-add the trailing "&". (Bug#10598)
8476
8477 * simple.el (async-shell-command): Sync the interactive spec with
8478 `shell-command'. Doc fix.
8479 (shell-command): Doc fix.
8480
8481 2012-07-17 Juri Linkov <juri@jurta.org>
8482
8483 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8484
8485 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8486
8487 Final renames and doc fixes for movement commands (bug#11899).
8488 * progmodes/python.el (python-nav-beginning-of-statement):
8489 Rename from python-nav-statement-start.
8490 (python-nav-end-of-statement): Rename from
8491 python-nav-statement-end.
8492 (python-nav-beginning-of-block): Rename from
8493 python-nav-block-start.
8494 (python-nav-end-of-block): Rename from python-nav-block-end.
8495
8496 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8497
8498 * progmodes/python.el (python-shell-send-string-no-output):
8499 Allow accept-process-output to quit, keeping shell process ready for
8500 future interactions (Bug#11868).
8501
8502 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8503
8504 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8505
8506 * emacs-lisp/elint.el (elint-find-args-in-code):
8507 Use help-function-arglist, so as to handle lexical byte-code.
8508
8509 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8510 change (bug#11826).
8511
8512 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8513
8514 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8515 Avoid spuriously marking the buffer as modified because of c-is-sws.
8516
8517 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8518 as not-a-comment (bug#11946).
8519
8520 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8521 for uninterned vars.
8522
8523 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8524 Use read-event since we don't really want to read chars but bytes.
8525
8526 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8527 $$..$$ but also $..$ using regexps (bug#11953).
8528 Use tex-verbatim for \url and \path.
8529 (tex-font-lock-keywords): Define as defconst like the others.
8530 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8531
8532 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8533
8534 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8535 alias for insert-char.
8536
8537 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8538
8539 * progmodes/python.el: Simplified imenu implementation.
8540 (python-nav-jump-to-defun): Remove command.
8541 (python-mode-map): Use `imenu' instead.
8542 (python-nav-list-defun-positions-cache)
8543 (python-imenu-include-defun-type, python-imenu-make-tree)
8544 (python-imenu-subtree-root-label, python-imenu-index-alist):
8545 Remove vars.
8546 (python-nav-list-defun-positions, python-nav-read-defun)
8547 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8548 (python-imenu-make-tree, python-imenu-create-index):
8549 Remove functions.
8550 (python-mode): Update to interact with imenu by setting
8551 `imenu-extract-index-name-function' only.
8552
8553 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8554
8555 * progmodes/python.el: Enhancements to navigation commands.
8556 (python-nav-backward-sentence)
8557 (python-nav-forward-sentence): Remove.
8558 (python-nav-backward-statement, python-nav-forward-statement)
8559 (python-nav-statement-start, python-nav-statement-end)
8560 (python-nav-backward-block, python-nav-forward-block)
8561 (python-nav-block-start, python-nav-block-end)
8562 (python-nav-forward-sexp-function)
8563 (python-info-current-line-comment-p)
8564 (python-info-current-line-empty-p): New functions.
8565 (python-indent-context): Use `python-nav-statement-start'.
8566
8567 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8568
8569 * eshell/em-ls.el (eshell/ls): Use `apply'.
8570
8571 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8572 multi-hops, instead of Tramp internals.
8573
8574 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8575
8576 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8577 when F1 and F2 are located on different hosts.
8578
8579 2012-07-14 Chong Yidong <cyd@gnu.org>
8580
8581 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8582 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8583 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8584 (xterm-mouse--read-event-sequence-1000)
8585 (xterm-mouse--read-event-sequence-1006): New functions. For old
8586 mouse protocol, handle M-mouse-X events correctly.
8587 (xterm-mouse-event): New arg specifying mouse protocol.
8588 (turn-on-xterm-mouse-tracking-on-terminal)
8589 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8590 sequence to toggle extended coordinates on newer XTerms.
8591 This appears to be harmless on terminals which do not support this.
8592
8593 2012-07-14 Leo Liu <sdl.web@gmail.com>
8594
8595 Add fringe bitmap indicators for flymake. (Bug#11253)
8596 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8597 (flymake-make-overlay): New arg BITMAP.
8598 (flymake-error-bitmap, flymake-warning-bitmap)
8599 (flymake-fringe-indicator-position): New user variables.
8600
8601 * fringe.el: New bitmap exclamation-mark.
8602
8603 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8604
8605 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8606 also (Bug#7879).
8607
8608 2012-07-14 Chong Yidong <cyd@gnu.org>
8609
8610 * electric.el (electric-pair-post-self-insert-function): Fix pair
8611 insertion in empty-region case (Bug#11520).
8612
8613 2012-07-14 Chong Yidong <cyd@gnu.org>
8614
8615 * bindings.el: Consolidate ctl-x-r-map bindings.
8616 Bind copy-rectangle-as-kill to C-x r w.
8617
8618 * rect.el, register.el: Move bindings to bindings.el.
8619
8620 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8621
8622 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8623
8624 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8625
8626 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8627
8628 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8629
8630 * bindings.el (top): Use `mapc' instead of `mapcar'.
8631
8632 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8633
8634 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8635
8636 * progmodes/sql.el (sql-comint): Suppress the check for program on
8637 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8638 (Bug#11908)
8639
8640 2012-07-13 Chong Yidong <cyd@gnu.org>
8641
8642 * bindings.el: Assign a non-nil permanent-local property to
8643 per-buffer variables which lack a default value (Bug#11930).
8644
8645 * help-fns.el (describe-variable): In the "automatically becomes
8646 local" notice, take note of permanent-local variables.
8647
8648 2012-07-13 Chong Yidong <cyd@gnu.org>
8649
8650 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8651 to allow printing the message when called from Lisp.
8652
8653 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8654 Remove toggle-read-only.
8655
8656 * bs.el (bs-toggle-readonly):
8657 * buff-menu.el (Buffer-menu-toggle-read-only):
8658 Remove with-no-warnings around toggle-read-only.
8659
8660 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8661 Remove with-no-warnings around toggle-read-only.
8662 (ffap-read-only, ffap-read-only-other-window)
8663 (ffap-read-only-other-frame): Callers changed.
8664
8665 * help-mode.el: Don't require view package.
8666 (help-mode-finish): Set buffer-read-only instead of calling
8667 toggle-read-only.
8668
8669 * bindings.el (mode-line-toggle-read-only):
8670 * dired.el (dired-toggle-read-only):
8671 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8672 with non-nil second arg.
8673
8674 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8675 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8676 directly.
8677
8678 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8679
8680 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8681 not incf.
8682
8683 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8684
8685 More CL cleanups and reduction of use of cl.el.
8686 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8687 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8688 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8689 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8690 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8691 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8692 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8693 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8694 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8695 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8696 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8697 * eshell/em-cmpl.el, eshell/em-banner.el:
8698 * calendar/parse-time.el: Use cl-lib.
8699 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8700 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8701 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8702 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8703 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8704 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8705 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8706 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8707 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8708 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8709 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8710 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8711 `lambda' rather than with `quote'.
8712 (eshell-do-opt): Adjust accordingly.
8713 (eshell-process-option): Simplify.
8714 * eshell/esh-var.el:
8715 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8716 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8717 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8718 to `pcase--dontcare'.
8719 * emacs-lisp/cl.el (labels): Mark obsolete.
8720 (cl--letf, letf): Move to cl-lib.
8721 (cl--letf*, letf*): Remove.
8722 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8723 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8724 (cl-progv): Rewrite.
8725 (cl--letf, cl-letf): Move from cl.el.
8726 (cl-letf*): New macro.
8727 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8728
8729 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8730
8731 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8732
8733 2012-07-11 Chong Yidong <cyd@gnu.org>
8734
8735 * vc/log-edit.el (log-edit-vc-backend): New variable.
8736 (log-edit): Doc fix.
8737
8738 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8739 argument of log-edit to set up all local variables.
8740 (vc-start-logentry): New optional arg specifying VC backend.
8741
8742 * vc/vc.el (vc-checkin): Use it.
8743 (vc-deduce-fileset): Handle Log Edit buffers.
8744 (vc-diff): Make first argument optional too.
8745
8746 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8747
8748 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8749
8750 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8751 command, just in case. The function is not needed anymore.
8752 (eshell-external-command): Do not call `eshell-remote-command'.
8753
8754 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8755
8756 Reduce use of (require 'cl).
8757 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8758 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8759 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8760 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8761 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8762 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8763 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8764 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8765 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8766 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8767 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8768 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8769 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8770 (byte-compile-unfold-bcf, byte-compile-check-variable):
8771 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8772 (byte-compile-nilconstp):
8773 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8774 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8775
8776 * emacs-lisp/gv.el (cond): Make it a valid place.
8777 (if): Simplify slightly.
8778
8779 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8780 (pcase--self-quoting-p): New function.
8781 (pcase--u1): Use it.
8782
8783 2012-07-10 Glenn Morris <rgm@gnu.org>
8784
8785 * emacs-lisp/authors.el (authors-fixed-entries):
8786 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8787
8788 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8789
8790 Rename configure.in to configure.ac (Bug#11603).
8791 * emacs-lisp/authors.el (authors-canonical-file-name):
8792 * progmodes/autoconf.el (autoconf-mode):
8793 Prefer configure.ac to configure.in.
8794
8795 2012-07-08 Chong Yidong <cyd@gnu.org>
8796
8797 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8798 Implement the mouse-1-click-follows-link handling properly.
8799
8800 * info.el (Info-link-keymap): Use follow-link mechanism for
8801 header-line links (Bug#374).
8802
8803 * simple.el (deactivate-mark): Do not set the primary selection
8804 if another program has acquired it (Bug#11772).
8805
8806 2012-07-07 Kevin Ryde <user42@zip.com.au>
8807
8808 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8809 (woman-decode-region): Replace escaped-escapes without destroying
8810 bold or underline (Bug#11552).
8811 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8812
8813 2012-07-07 Chong Yidong <cyd@gnu.org>
8814
8815 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8816 (interprogram-cut-function, interprogram-paste-function):
8817 Mention that we typically mean the clipboard.
8818
8819 2012-07-06 Glenn Morris <rgm@gnu.org>
8820
8821 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8822
8823 * files.el (toggle-read-only): Restrict message to interactive use.
8824
8825 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8826
8827 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8828
8829 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8830
8831 2012-07-06 Glenn Morris <rgm@gnu.org>
8832
8833 * Makefile.in (compile-one-process): Rename from "recompile".
8834
8835 * Makefile.in (bzr-update): "compile" is the same as "recompile
8836 autoloads", but parallelizable, so use that instead.
8837
8838 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8839
8840 * window.el (quit-window): Always restore window height when
8841 it's saved in quit-restore parameter (Bug#11810).
8842
8843 2012-07-06 Glenn Morris <rgm@gnu.org>
8844
8845 * simple.el (kill-whole-line): Doc tweak.
8846
8847 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8848
8849 * files.el (file-relative-name): Compare file names
8850 case-insensitively if on MS-Windows or MS-DOS, or if
8851 read-file-name-completion-ignore-case is non-nil. Don't use
8852 case-fold-search for this purpose. (Bug#11827)
8853
8854 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8855
8856 * calendar/cal-dst.el (calendar-current-time-zone):
8857 Return calendar-current-time-zone-cache if non-nil.
8858
8859 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8860 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8861
8862 * calendar/cal-dst.el (calendar-current-time-zone):
8863 Return calendar-current-time-zone-cache if non-nil.
8864
8865 2012-07-06 Glenn Morris <rgm@gnu.org>
8866
8867 * Makefile.in (cvs-update): Remove old alias.
8868
8869 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8870
8871 Sync with Tramp 2.2.6-pre.
8872
8873 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8874 compatible declaration.
8875
8876 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8877 Protect `list-load-path-shadows' call.
8878
8879 * net/tramp-compat.el (top): Require packages, which aren't
8880 autoloaded anymore for XEmacs. Protect call of
8881 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8882 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8883 it hurts at least for SXEmacs.
8884 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8885 standard-value for `temporary-file-directory'.
8886
8887 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8888 Redirect stderr to /dev/null.
8889 (tramp-sh-handle-write-region): uid and gid can be floats.
8890 Reported by Russell Sim <russell.sim@gmail.com>.
8891 (tramp-sh-handle-vc-registered): Hide errors.
8892 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8893 and `start-file-process'.
8894 (tramp-maybe-open-connection): Check also whether `non-essential'
8895 is bound.
8896
8897 2012-07-04 Chong Yidong <cyd@gnu.org>
8898
8899 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8900 (xml-parse-tag): Likewise, and avoid changing entity tables.
8901 (xml-syntax-table): Define from scratch, making sure not to give
8902 x2000 and other Unicode spaces whitespace syntax, since those are
8903 not spaces in XML.
8904 (xml-parse-fragment): Delete unused function.
8905 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8906 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8907 (xml-entity-ref, xml-pe-reference-re)
8908 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8909 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8910 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8911 (xml-entity-value-re): Use syntax references in regexps where
8912 possible; no need to define inside a let-binding.
8913 (xml-parse-dtd): Use xml-pe-reference-re.
8914 (xml-entity-or-char-ref-re): New defconst.
8915 (xml-parse-string, xml-substitute-special): Use it.
8916
8917 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8918
8919 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8920 (find-file--read-only): New function.
8921 (find-file-read-only, find-file-read-only-other-window)
8922 (find-file-read-only-other-frame): Use it.
8923 (insert-file-contents-literally): Don't `fset'.
8924 (get-free-disk-space): Use locate-dominating-file.
8925
8926 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8927 function is already compiled.
8928
8929 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8930
8931 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8932
8933 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8934 files on the same host.
8935
8936 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8937
8938 * help-fns.el (describe-function-1): Only call
8939 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8940
8941 2012-07-03 Chong Yidong <cyd@gnu.org>
8942
8943 * xml.el: Protect parser against XML bombs.
8944 (xml-entity-expansion-limit): New variable.
8945 (xml-parse-string, xml-substitute-special): Use it.
8946 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8947
8948 2012-07-03 Glenn Morris <rgm@gnu.org>
8949
8950 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8951 Allow linking to specific messages in debbugs reports (eg 123#5).
8952
8953 2012-07-02 Chong Yidong <cyd@gnu.org>
8954
8955 * xml.el: Fix entity and character reference expansion, allowing
8956 them to expand into markup as per XML spec.
8957 (xml-default-ns): New variable.
8958 (xml-entity-alist): Use XML spec definitions for lt and amp.
8959 (xml-parse-region): Make first two arguments optional.
8960 Discard text properties.
8961 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8962 All callers changed.
8963 (xml-parse-tag): Call xml-parse-tag-1. For backward
8964 compatibility, this function should not modify buffer contents.
8965 (xml-parse-tag-1): Fix opening-tag regexp.
8966 (xml-parse-string): Rewrite, handling entity and character
8967 references properly.
8968 (xml--entity-replacement-text): Signal an error if a parameter
8969 entity is undefined.
8970
8971 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8972
8973 * comint.el (comint-output-filter): Filter out repeated prompts.
8974
8975 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8976 and file-name-absolute-p.
8977 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8978 internal calls.
8979
8980 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8981
8982 Spelling fixes.
8983 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8984 Rename from byte-compile--refiy-function. All uses changed.
8985
8986 2012-07-01 Chong Yidong <cyd@gnu.org>
8987
8988 * xml.el (xml--parse-buffer): New function. Move most of
8989 xml-parse-region here.
8990 (xml-parse-region): Copy region into a temporary buffer, since
8991 parameter entity substitution requires changing buffer contents.
8992 Use xml--parse-buffer.
8993 (xml-parse-file): Use xml--parse-buffer.
8994 (xml-parse-dtd): Make parameter entity substitution work right.
8995 Use proper regexps for ELEMENT declarations (Bug#7172).
8996
8997 2012-06-30 Glenn Morris <rgm@gnu.org>
8998
8999 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9000
9001 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9002 Remove outdated and unnecessary dbus declarations.
9003
9004 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9005
9006 * emacs-lisp/timer.el (timer-until): Subtract results of
9007 float-time, instead of taking float-time of the result of
9008 time-subtract, since float-time signals an error for negative time
9009 arguments.
9010
9011 2012-06-30 Chong Yidong <cyd@gnu.org>
9012
9013 * xml.el (xml-*-re): Convert defvars into defconsts, and
9014 eval-and-compile them so eval-and-compile works on derivatives.
9015 (xml--entity-replacement-text): Use eval-and-comple.
9016
9017 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9018
9019 * vc/vc-git.el (vc-git-registered): Use cache property
9020 `git-registered'.
9021 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9022 `vc-git-working-revision' in order to benefit from the cache.
9023 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9024
9025 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9026
9027 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9028 removed (likely outside Emacs). (Bug#11757)
9029
9030 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9031
9032 * emacs-lisp/cl-lib.el: Require macroexp.
9033
9034 2012-06-30 Chong Yidong <cyd@gnu.org>
9035
9036 * xml.el: Implement XML parameter entities.
9037 (xml-parameter-entity-alist): New variable.
9038 (xml-parse-region, xml-parse-fragment): Preserve previous values
9039 of xml-entity-alist and xml-parameter-entity-alist, so that
9040 repeated calls on different documents do not change them.
9041 (xml-parse-tag): Fix doctype regexp.
9042 (xml--entity-replacement-text): New function.
9043 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9044 properly requires url retrieval which is unimplemented.
9045 (xml-escape-string): Doc fix.
9046
9047 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9048
9049 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9050
9051 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9052
9053 * fringe.el (fringe-mode): Doc fix.
9054
9055 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9056
9057 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9058 is non-nil.
9059 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9060 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9061
9062 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9063
9064 * calendar/cal-dst.el (calendar-current-time-zone):
9065 Return calendar-current-time-zone-cache if non-nil.
9066
9067 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9068
9069 * progmodes/which-func.el (which-func-format):
9070 Add mouse-face. (Bug#11698)
9071
9072 2012-06-29 Leo Liu <sdl.web@gmail.com>
9073
9074 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9075
9076 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9077
9078 * minibuffer.el (minibuffer-confirm-exit-commands):
9079 Add completion-at-point (bug#11725).
9080
9081 2012-06-29 Glenn Morris <rgm@gnu.org>
9082
9083 * progmodes/f90.el (f90-font-lock-keywords-2):
9084 Add some preprocessor elements. (Bug#10499)
9085
9086 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9087
9088 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9089 Use syntax-propertize (bug#11739).
9090
9091 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9092
9093 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9094
9095 2012-06-28 Julien Danjou <julien@danjou.info>
9096
9097 * term.el (term-handle-colors-array): Use a set of new faces to
9098 color the terminal. Also uses :inverse-video property.
9099 (term-default-fg-color): Set to nil by default, deprecate in favor
9100 of `term-face'.
9101 (term-default-bg-color): Set to nil by default, deprecate in favor
9102 of `term-face'.
9103 (term-current-face): Use `term-face' by default.
9104 (term-bold-attribute): Variable deleted.
9105
9106 2012-06-28 Glenn Morris <rgm@gnu.org>
9107
9108 * simple.el (completion-list-mode-finish):
9109 Don't use toggle-read-only. (Since completion-list-mode has
9110 a special mode-class, it wasn't doing anything extra anyway.)
9111
9112 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9113
9114 Make inlining of other-mode interpreted functions work (bug#11799).
9115 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9116 (byte-compile): Use it to fix compilation of lexical-binding closures.
9117 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9118 function, if needed.
9119
9120 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9121
9122 * help-mode.el (help-make-xrefs): Don't just withstand
9123 cyclic-variable-indirection but any error in documentation-property.
9124
9125 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9126 memory use.
9127 * bindings.el (bindings--define-key): New function.
9128 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9129 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9130 * bindings.el: Use it to purecopy define-key bindings.
9131
9132 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9133
9134 * emacs-lisp/cl.el (flet): Mark obsolete.
9135 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9136 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9137 * progmodes/js.el (js-c-fill-paragraph):
9138 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9139 (ebrowse-switch-member-buffer-to-derived-class):
9140 * play/5x5.el (5x5-solver): Use cl-flet.
9141
9142 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9143 (cl--symbol-function): New macro.
9144 (cl--letf, cl--letf*): Use it.
9145
9146 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9147 Strip "toggle-" if any.
9148
9149 2012-06-27 Glenn Morris <rgm@gnu.org>
9150
9151 * info.el (Info-default-directory-list): Move here from paths.el.
9152 * paths.el: Remove file, which is now empty.
9153 * loadup.el: No longer load "paths".
9154
9155 * custom.el (custom-initialize-delay): Doc fix.
9156
9157 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9158 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9159 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9160 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9161 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9162 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9163 * eshell/eshell.el (eshell-defgroup): Remove alias.
9164
9165 2012-06-27 Chong Yidong <cyd@gnu.org>
9166
9167 * help.el (help-enable-auto-load): New variable.
9168
9169 * help-fns.el (help-fns--autoloaded-p): New function.
9170 (describe-function-1): Refer to a function as "autoloaded" if it
9171 was autoloaded at any time in the past. Perform autoloading if
9172 help-enable-auto-load is non-nil.
9173
9174 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9175
9176 * makefile.w32-in (compile, compile-always): Depend on
9177 update-subdirs, not on subdirs.el. Otherwise, several different
9178 sub-targets of 'bootstrap' running in parallel could
9179 simultaneously write to subdirs.el, producing a garbled file.
9180
9181 2012-06-26 Sam Steingold <sds@gnu.org>
9182
9183 * files.el (file-name-base): New convenience function.
9184 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9185 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9186 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9187 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9188 * textmodes/ispell.el, textmodes/reftex-ref.el:
9189 * textmodes/tex-mode.el: Use it.
9190 Did not touch cedet and org because they are maintained elsewhere.
9191
9192 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9193
9194 * calendar/calendar.el (calendar-exit): Don't try to delete or
9195 iconify last frame. See:
9196 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9197
9198 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9199
9200 * server.el (server-process-filter): Remember dir in the
9201 process's `server-client-directory' properties.
9202
9203 2012-06-24 Chong Yidong <cyd@gnu.org>
9204
9205 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9206 non-tag text.
9207
9208 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9209
9210 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9211
9212 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9213
9214 * help-fns.el (describe-variable): Don't croak when doc is not found.
9215 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9216 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9217 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9218 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9219 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9220 ((lambda ..) ..).
9221 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9222
9223 2012-06-23 Chong Yidong <cyd@gnu.org>
9224
9225 * info.el (Info-mouse-follow-link): Accept symbol values of
9226 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9227 (Info-fontify-node): Use Info-link-keymap for all navigation
9228 buttons, with link-args property to perform the desired action.
9229 (Info-link-keymap): Doc fix.
9230 (Info-next-link-keymap, Info-prev-link-keymap)
9231 (Info-up-link-keymap): Delete now-unused keymaps.
9232
9233 2012-06-23 Chong Yidong <cyd@gnu.org>
9234
9235 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9236
9237 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9238 system abbrevs.
9239
9240 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9241
9242 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9243
9244 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9245 (bug#11719).
9246
9247 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9248 the requote function doesn't work properly (bug#11714).
9249
9250 2012-06-23 Glenn Morris <rgm@gnu.org>
9251
9252 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9253
9254 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9255
9256 Further GV/CL cleanups.
9257 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9258 gv-expander.
9259 (gv--defun-declaration): New function.
9260 (defun-declarations-alist): Use it.
9261 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9262 (gv-place): Autoload.
9263 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9264 original definition of dotimes and dolist.
9265 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9266 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9267 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9268 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9269 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9270 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9271 to the function's definition.
9272 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9273 * window.el:
9274 * files.el:
9275 * faces.el:
9276 * env.el: Don't use CL.
9277
9278 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9279
9280 Support higher-resolution time stamps (Bug#9000).
9281
9282 * calendar/time-date.el (with-decoded-time-value): New arg
9283 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9284 (encode-time-value): New optional arg PICO. New type 3.
9285 (time-to-seconds) [!float-time]: Support the new picoseconds
9286 component if it's used.
9287 (seconds-to-time, time-subtract, time-add):
9288 Support ps-resolution time stamps as well.
9289
9290 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9291 (timerp): Timer vectors now have length 9, not 8.
9292 (timer--time): Support new-style (4-part) time stamps.
9293 (timer-next-integral-multiple-of-time): Time stamps now have
9294 picosecond resolution, so take a bit more care about rounding.
9295 (timer-relative-time, timer-inc-time): New optional arg psecs.
9296 (timer-set-time-with-usecs): Set psecs to 0.
9297 (timer--activate): Check psecs component, too.
9298
9299 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9300
9301 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9302
9303 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9304 Move the non-essential binding to the post/pre-command-hook where it is
9305 more obviously correct.
9306
9307 * subr.el (read-passwd): Don't use a history at all.
9308 * savehist.el (savehist-save): Remove password saved accidentally
9309 because of the above bug.
9310
9311 2012-06-22 Bastien Guerry <bzg@gnu.org>
9312
9313 * files.el (toggle-read-only): Display a message telling whether
9314 the buffer is read-only or not (bug#11726).
9315
9316 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9317
9318 * emacs-lisp/gv.el: New file.
9319 * subr.el (push, pop): Extend to generalized variables.
9320 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9321 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9322 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9323 gv-define-simple-setter, and gv-define-expander.
9324 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9325 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9326 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9327 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9328 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9329 gv-letplace.
9330 (cl-defstruct): Don't define setf-method any more.
9331 * emacs-lisp/cl.el (flet): Don't autoload.
9332 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9333 (define-setf-expander, defsetf, define-modify-macro)
9334 (cl-struct-setf-expander): Move from cl-lib.el.
9335 * emacs-lisp/syntax.el:
9336 * emacs-lisp/ewoc.el:
9337 * emacs-lisp/smie.el:
9338 * emacs-lisp/cconv.el:
9339 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9340 (timer--time): Use gv-define-simple-setter.
9341 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9342 to avoid coding-system problems in subr.el. Adjust all users.
9343 (macroexp--maxsize, macroexp-small-p): New functions.
9344 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9345 * scroll-bar.el (scroll-bar-mode):
9346 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9347 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9348 * winner.el (winner-configuration, winner-make-point-alist)
9349 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9350 * files.el (locate-file-completion-table): Avoid list*.
9351
9352 2012-06-22 Chong Yidong <cyd@gnu.org>
9353
9354 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9355 (dired-create-files): Doc fix (Bug#11329).
9356 (dired-do-copy): Doc fix (Bug#11334).
9357 (dired-mark-read-string): Doc fix (Bug#11553).
9358
9359 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9360 Doc fix (Bug#11326).
9361 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9362 (dired-dwim-target): Doc fix.
9363
9364 * wdired.el (wdired-mode): Doc fix.
9365
9366 2012-06-22 Glenn Morris <rgm@gnu.org>
9367
9368 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9369 (pcmpl-rpm-cache-stamp-file): New constant.
9370 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9371 (pcmpl-rpm-packages): Optionally cache list of packages.
9372
9373 * pcmpl-rpm.el (pcmpl-rpm): New group.
9374 (pcmpl-rpm-query-options): New option.
9375 (pcmpl-rpm-packages): No need to inline it.
9376 Use pcmpl-rpm-query-options.
9377
9378 * calendar/calendar.el (calendar-in-read-only-buffer):
9379 Avoid some needless mode changes.
9380
9381 2012-06-21 Chong Yidong <cyd@gnu.org>
9382
9383 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9384 (desktop-path): Remove . from the default value (Bug#10977).
9385 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9386
9387 2012-06-20 Chong Yidong <cyd@gnu.org>
9388
9389 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9390
9391 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9392
9393 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9394 (bug#11201).
9395
9396 2012-06-20 Chong Yidong <cyd@gnu.org>
9397
9398 * term.el (term-window-width): Handle the case of a missing right
9399 fringe (Bug#8837).
9400 (term-check-size): Use window-text-height (Bug#5445).
9401 (term-mode): Use define-derived-mode. Minor cleanups.
9402 Set font-lock-defaults (Bug#7692).
9403 (term-move-columns, term-insert-char, term-emulate-terminal)
9404 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9405
9406 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9407
9408 * net/ange-ftp.el (ange-ftp-get-passwd):
9409 Bind `enable-recursive-minibuffers'.
9410 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9411
9412 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9413
9414 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9415
9416 2012-06-19 Glenn Morris <rgm@gnu.org>
9417
9418 * progmodes/python.el (python-mode): Derive from prog-mode.
9419
9420 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9421
9422 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9423 (edt-user-menu-bar-update-buffers): New functions.
9424 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9425
9426 2012-06-19 Chong Yidong <cyd@gnu.org>
9427
9428 * subr.el (with-selected-window): Preserve the selected window's
9429 terminal's top-frame (Bug#4702).
9430
9431 * window.el (save-selected-window): Likewise.
9432
9433 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9434
9435 * progmodes/python.el (python-rx-constituents): Move backquote.
9436 (python-skeleton-define, python-define-auxiliary-skeleton):
9437 Use `declare'.
9438
9439 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9440
9441 * minibuffer.el (read-file-name-default): Revert the patch from
9442 2012-06-17.
9443
9444 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9445
9446 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9447 (pcase--u1, pcase--q1): Don't use apply-partially.
9448
9449 2012-06-18 Glenn Morris <rgm@gnu.org>
9450
9451 * progmodes/python.el (python-proc, python-buffer)
9452 (python-send-receive, python-send-string): Fix obsolete versions.
9453
9454 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9455
9456 * window.el (special-display-p): Completely remove stringp
9457 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9458
9459 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9460
9461 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9462
9463 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9464
9465 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9466 * net/tramp-sh.el (tramp-maybe-open-connection):
9467 Throw if `non-essential' is non-nil.
9468
9469 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9470
9471 * window.el (special-display-p): Signal an error if BUFFER-NAME
9472 is not a string (Bug#11713).
9473
9474 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9475
9476 * progmodes/python.el (python-info-beginning-of-backslash):
9477 Rename from python-info-beginning-of-backlash, as a spelling fix.
9478
9479 2012-06-17 Chong Yidong <cyd@gnu.org>
9480
9481 * term.el (term-emulate-terminal): If term-check-size is called,
9482 move point to the process mark without resetting point (Bug#4635).
9483
9484 2012-06-17 Glenn Morris <rgm@gnu.org>
9485
9486 * international/mule-cmds.el (mule-menu-keymap)
9487 (set-language-environment, set-locale-environment): Doc tweaks.
9488
9489 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9490
9491 * cus-face.el (custom-face-attributes): Add wave-style underline
9492 attribute.
9493 * faces.el (set-face-attribute): Update docstring to describe
9494 wave-style underline attribute.
9495
9496 2012-06-16 Chong Yidong <cyd@gnu.org>
9497
9498 * term/xterm.el (terminal-init-xterm): Discard input before
9499 querying background mode (Bug#10959).
9500
9501 2012-06-16 Stefan Merten <smerten@oekonux.de>
9502
9503 * textmodes/rst.el: Added and corrected some comments.
9504 (rst-re-alist-def): Improve symbol syntax.
9505 (rst-mode-syntax-table): Correct syntax entries.
9506 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9507 (rst-official-version, rst-official-cvs-rev): Update version
9508 information.
9509
9510 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9511
9512 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9513 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9514
9515 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9516
9517 * progmodes/python.el: New python.el merge.
9518 (python-guess-indent): Obsolete var.
9519 (python-indent-guess-indent-offset): New defcustom.
9520 (python-indent): Obsolete var.
9521 (python-indent-offset): New defcustom.
9522 (python-python-command, python-jython-command): Delete var.
9523 (python-shell-interpreter): New defcustom.
9524 (python-pdbtrack-do-tracking-p): Delete var.
9525 (python-pdbtrack-activate): New defcustom.
9526 (python-use-skeletons): Obsolete var.
9527 (python-skeleton-autoinsert): New defcustom.
9528 (inferior-python-filter-regexp, python-continuation-offset)
9529 (python-honour-comment-indentation, python-indent-string-contents)
9530 (python-jython-packages, python-mode-hook)
9531 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9532 (python-shell-prompt-alist)
9533 (python-source-modes): Delete defcustoms.
9534 (python-check-buffer-name, python-eldoc-setup-code)
9535 (python-eldoc-string-code, python-ffap-setup-code)
9536 (python-ffap-string-code, python-fill-comment-function)
9537 (python-fill-decorator-function, python-fill-paren-function)
9538 (python-fill-string-function, python-imenu-include-defun-type)
9539 (python-imenu-make-tree, python-imenu-subtree-root-label)
9540 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9541 (python-shell-compilation-regexp-alist)
9542 (python-shell-completion-module-string-code)
9543 (python-shell-completion-pdb-string-code)
9544 (python-shell-completion-setup-code)
9545 (python-shell-completion-string-code)
9546 (python-shell-enable-font-lock, python-shell-exec-path)
9547 (python-shell-extra-pythonpaths)
9548 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9549 (python-shell-process-environment)
9550 (python-shell-prompt-block-regexp)
9551 (python-shell-prompt-output-regexp)
9552 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9553 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9554 (python-shell-virtualenv-path): New defcustoms.
9555 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9556 (inferior-python-mode-syntax-table, python--prompt-regexp)
9557 (python-buffer, python-command python-python-command)
9558 (python-default-template, python-imports, python-indent-index)
9559 (python-indent-list, python-indent-list-length)
9560 (python-mode-running, python-pdbtrack-is-tracking-p)
9561 (python-preoutput-continuation, python-preoutput-leftover)
9562 (python-preoutput-result, python-preoutput-skip-next-prompt)
9563 (python-prev-dir/file, python-recursing)
9564 (python-saved-check-command, python-version-checked)
9565 (python-which-func-length-limit)
9566 (view-return-to-alist): Delete vars.
9567 (python-check-custom-command, python-dotty-syntax-table)
9568 (python-imenu-index-alist, python-indent-current-level)
9569 (python-indent-dedenters, python-indent-levels)
9570 (python-nav-beginning-of-defun-regexp)
9571 (python-nav-list-defun-positions-cache)
9572 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9573 (python-shell-internal-buffer)
9574 (python-skeleton-available): New vars.
9575 (def-python-skeleton): Delete macro.
9576 (python-skeleton-define): New macro.
9577 (python-define-auxiliary-skeleton, python-rx): New macros.
9578 (python-insert-class): Delete command.
9579 (python-skeleton-class): New command.
9580 (python-insert-def): Delete command.
9581 (python-skeleton-def): New command.
9582 (python-insert-for): Delete command.
9583 (python-skeleton-for): New command.
9584 (python-insert-if): Delete command.
9585 (python-skeleton-if): New command.
9586 (python-insert-try/except, python-insert-try/finally): Delete commands.
9587 (python-skeleton-try): New command.
9588 (python-insert-while): Delete command.
9589 (python-skeleton-while): New command.
9590 (python-backspace): Delete command.
9591 (python-indent-dedent-line-backspace): New command.
9592 (python-electric-colon): Delete command.
9593 (python-indent-electric-colon): New command.
9594 (python-guess-indent): Delete command.
9595 (python-indent-guess-indent-offset): New command.
9596 (python-shift-left): Delete command.
9597 (python-indent-shift-left): New command.
9598 (python-shift-right): Delete command.
9599 (python-indent-shift-right): New command.
9600 (python-find-function): Delete command.
9601 (python-nav-jump-to-defun): New command.
9602 (python-next-statement): Delete command.
9603 (python-nav-forward-sentence): New command.
9604 (python-previous-statement): Delete command.
9605 (python-nav-backward-sentence): New command.
9606 (python-fill-paragraph): Delete command.
9607 (python-fill-paragraph-function): New command.
9608 (python-send-buffer): Delete command.
9609 (python-shell-send-buffer): New command.
9610 (python-send-defun): Delete command.
9611 (python-shell-send-defun): New command.
9612 (python-send-region, python-send-region-and-go): Delete commands.
9613 (python-shell-send-region)
9614 (python-shell-switch-to-shell): New commands.
9615 (python-send-string): Delete command.
9616 (python-shell-send-string): New command.
9617 (python-switch-to-python): Delete command.
9618 (python-shell-switch-to-shell): New command.
9619 (python-describe-symbol): Delete command.
9620 (python-eldoc-at-point): New command.
9621 (python--set-prompt-regexp, python-args-to-list)
9622 (python-after-info-look, python-check-version)
9623 (python-check-comint-prompt, python-find-imports)
9624 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9625 (python-unload-function, python-expand-template)
9626 (python-maybe-jython, python-preoutput-filter)
9627 (python-pdbtrack-get-source-buffer)
9628 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9629 (python-pdbtrack-toggle-stack-tracking)
9630 (python-pdbtrack-track-stack-file, python-initial-text)
9631 (python-first-word, python-comment-line-p, python-send-command)
9632 (python-setup-brm, python-sentinel, python-set-proc)
9633 (python-skip-out, python-input-filter, python-outdent-p)
9634 (python-outline-level, python-backslash-continuation-line-p)
9635 (python-end-of-block, python-end-of-statement, python-mark-block)
9636 (python-beginning-of-block, python-beginning-of-statement)
9637 (python-blank-line-p, python-beginning-of-string)
9638 (python-open-block-statement-p): Delete functions.
9639 (python-indent-line, python-indent-line-1): Delete functions.
9640 (python-indent-line): New function.
9641 (python-indentation-levels): Delete function.
9642 (python-indent-calculate-levels): New function.
9643 (python-proc): Delete function.
9644 (python-shell-get-process): New function.
9645 (python-send-receive): Delete function.
9646 (python-shell-send-string-no-output): New function.
9647 (python-module-path): Delete function.
9648 (python-ffap-module-path): New function.
9649 (python-completion-at-point)
9650 (python-symbol-completions): Delete functions.
9651 (python-completion-complete-at-point): New function.
9652 (python-load-file): Delete function.
9653 (python-shell-send-file): New function.
9654 (python-calculate-indentation): Delete function.
9655 (python-indent-calculate-indentation): New function.
9656 (python-skip-comments/blanks): Delete function.
9657 (python-util-forward-comment): New function.
9658 (python-continuation-line-p): Delete function.
9659 (python-info-continuation-line-p): New function.
9660 (python-which-func, python-current-defun): Delete function.
9661 (python-info-current-defun): New function.
9662 (python-beginning-of-defun): Delete function.
9663 (python-nav-beginning-of-defun): New function.
9664 (python-close-block-statement-p)
9665 (python-block-end-p): Delete function.
9666 (python-info-closing-block): New function.
9667 (python-comint-output-filter-function)
9668 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9669 (python-fill-comment, python-fill-decorator, python-fill-paren)
9670 (python-fill-string, python-imenu-make-element-tree)
9671 (python-imenu-make-tree, python-imenu-tree-assoc)
9672 (python-indent-context, python-indent-dedent-line)
9673 (python-indent-line-function)
9674 (python-indent-post-self-insert-function)
9675 (python-indent-toggle-levels)
9676 (python-info-assignment-continuation-line-p)
9677 (python-info-beginning-of-backlash)
9678 (python-info-block-continuation-line-p)
9679 (python-info-closing-block-message)
9680 (python-info-line-ends-backslash-p)
9681 (python-info-looking-at-beginning-of-defun)
9682 (python-info-ppss-context, python-info-ppss-context-type)
9683 (python-nav-list-defun-positions, python-nav-read-defun)
9684 (python-nav-sentence-end, python-nav-sentence-start)
9685 (python-pdbtrack-comint-output-filter-function)
9686 (python-pdbtrack-set-tracked-buffer)
9687 (python-shell-calculate-exec-path)
9688 (python-shell-calculate-process-environment)
9689 (python-shell-completion--do-completion-at-point)
9690 (python-shell-completion--get-completions)
9691 (python-shell-completion-complete-at-point)
9692 (python-shell-completion-complete-or-indent)
9693 (python-shell-get-or-create-process)
9694 (python-shell-get-process-name)
9695 (python-shell-internal-get-or-create-process)
9696 (python-shell-internal-get-process-name)
9697 (python-shell-internal-send-string, python-shell-make-comint)
9698 (python-shell-parse-command, python-shell-send-setup-code)
9699 (python-skeleton-add-menu-items)
9700 (python-util-clone-local-variables, python-util-position)
9701 (run-python-internal, python-indentation-levels)
9702 (python-nav-beginning-of-defun)
9703 (python-completion-complete-at-point): New functions.
9704 (run-python): Change arguments. New API requirements.
9705
9706 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9707
9708 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9709 (bug#11649).
9710
9711 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9712 (macroexp--expand-all): Use it.
9713
9714 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9715 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9716 Use `cl-function' instead.
9717
9718 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9719
9720 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9721 Suggested by Stefan Monnier while discussing bug#11657.
9722
9723 2012-06-14 Sam Steingold <sds@gnu.org>
9724
9725 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9726
9727 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9728
9729 * play/doctor.el (doctor-doc): Remove parameter and use
9730 doctor-sent instead of sent.
9731 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9732
9733 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9734
9735 * files.el: Require cl-lib.
9736 (file-name-non-special): Replace case -> cl-case.
9737
9738 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9739
9740 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9741 mapping from #' to function*.
9742
9743 2012-06-13 Chong Yidong <cyd@gnu.org>
9744
9745 * mouse.el (mouse-drag-track): Do not set the mark if the user
9746 releases the mouse without selecting anything (Bug#11588).
9747
9748 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9749
9750 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9751 as well (bug#11646).
9752
9753 * loadup.el: Count byte-code functions as well.
9754
9755 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9756 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9757
9758 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9759 (bug#11649). Add cl-defun and cl-defmacro.
9760
9761 2012-06-13 Drew Adams <drew.adams@oracle.com>
9762
9763 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9764 Fix last change.
9765
9766 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9767
9768 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9769 Otherwise, it blocks in batch mode.
9770
9771 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9772
9773 * help-mode.el (bookmark-make-record-default): Declare.
9774
9775 2012-06-13 Chong Yidong <cyd@gnu.org>
9776
9777 * emacs-lisp/package.el (list-packages): Compute a list of
9778 packages that are newly-available since the last list-packages
9779 invocation.
9780 (package-menu--new-package-list): New var.
9781 (package-menu--generate, package-menu--print-info)
9782 (package-menu--status-predicate, package-menu-mark-install):
9783 Handle new status label "new".
9784
9785 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9786
9787 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9788 conversion to backquotes.
9789
9790 2012-06-12 Chong Yidong <cyd@gnu.org>
9791
9792 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9793 Rename from gud-inhibit-global-bindings.
9794
9795 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9796
9797 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9798 hook from nxml-glyph-set-hook.
9799
9800 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9801 declaration.
9802
9803 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9804
9805 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9806 Convert to defcustom.
9807
9808 2012-06-12 Drew Adams <drew.adams@oracle.com>
9809
9810 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9811 New functions.
9812 (help-mode): Use them.
9813
9814 2012-06-11 Glenn Morris <rgm@gnu.org>
9815
9816 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9817 Use preprocessor face for directives.
9818 (fortran-directive-re): Doc fix.
9819
9820 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9821
9822 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9823 conversion to backquotes (bug#11652).
9824
9825 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9826 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9827 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9828 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9829 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9830 (cl-ninth, cl-tenth): Mark them as inlinable.
9831 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9832 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9833 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9834 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9835 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9836 (cl-list*, cl-adjoin): Don't put an autoload manually.
9837 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9838 (cl--compiler-macro-list*): Add autoload cookie.
9839 (cl--compiler-macro-cXXr): New function.
9840
9841 * help-fns.el (help-fns--compiler-macro): New function extracted from
9842 describe-function-1; follow aliases and use `compiler-macro' property.
9843 (describe-function-1): Use it.
9844
9845 2012-06-11 Chong Yidong <cyd@gnu.org>
9846
9847 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9848 is uninstalled, if imagemagick is installed.
9849
9850 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9851
9852 * emacs-lisp/cl-lib.el: Use lexical-binding.
9853 (cl-map-extents, cl-maclisp-member): Remove.
9854 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9855 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9856 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9857 * emacs-lisp/cl-extra.el: Use lexical-binding.
9858 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9859 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9860 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9861 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9862 * emacs-lisp/cl-seq.el: Use lexical-binding.
9863 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9864 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9865 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9866 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9867 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9868 CL's internals.
9869
9870 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9871
9872 Sync with Tramp 2.2.6-pre.
9873
9874 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9875 `print-length' and `print-level' to nil, in order to avoid
9876 truncation. Reported by Christopher Schmidt
9877 <christopher@ristopher.com>.
9878
9879 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9880
9881 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9882 New defmacro.
9883 (tramp-compat-copy-directory): Add optional argument
9884 COPY-CONTENTS. It is not handled yet.
9885
9886 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9887 (tramp-ftp-file-name-p): Simplify.
9888
9889 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9890 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9891 connection vector.
9892
9893 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9894 (tramp-methods): Do not use `tramp-password-end-of-line'.
9895 (tramp-completion-function-alist-putty): Handle UNIX case.
9896 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9897 (tramp-do-file-attributes-with-stat)
9898 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9899 gid as real numbers. They could run out of integer range on cygwin.
9900 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9901 (tramp-sh-handle-expand-file-name): Handle hops.
9902 (tramp-open-connection-setup-interactive-shell):
9903 Use `tramp-cleanup'. Move check for busyboxes ...
9904 (tramp-find-shell): ... here. Simplify implementation.
9905 Set "remote-shell" property also for alternative shells.
9906 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9907 If failing, a regular file would be written otherwise.
9908 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9909 (tramp-find-inline-encoding): Cache the coding commands in the
9910 process cache. Apply test command on the remote side, if defined.
9911 (tramp-find-inline-compress): Cache the compress commands in the
9912 process cache.
9913 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9914 when requested. Handle hops.
9915 (tramp-current-connection): New defvar.
9916 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9917 Throw `suppress', if there was a failed connection shortly before.
9918 Handle user interrupt. (Bug#10187)
9919 (tramp-get-inline-compress, tramp-get-inline-coding):
9920 Read connection properties from the process cache.
9921
9922 * net/tramp-smb.el (tramp-smb-server-version)
9923 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9924 New defconsts.
9925 (tramp-smb-prompt): Extend for powershell prompt.
9926 (tramp-smb-file-name-handler-alist): Add handlers for
9927 `process-file', `shell-command' and `start-file-process'.
9928 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9929 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9930 (tramp-smb-file-name-p): Simplify.
9931 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9932 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9933 (tramp-smb-shell-quote-argument): New defuns.
9934 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9935 Implement using "tar". By this, time-stamps are preserved.
9936 (tramp-smb-handle-copy-file): Handle also the case of directories.
9937 (tramp-smb-do-file-attributes-with-stat)
9938 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9939 Use `tramp-get-connection-buffer').
9940 (tramp-smb-handle-rename-file): Use "rename", when source and
9941 target are on the same share.
9942 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9943 Use `tramp-smb-server-version'.
9944 (tramp-smb-wait-for-output): Remove prompt.
9945
9946 * net/tramp.el (top): Require 'cl.
9947 (tramp-methods, tramp-rsh-end-of-line):
9948 Remove `tramp-password-end-of-line' from docstring.
9949 (tramp-save-ad-hoc-proxies): New defcustom.
9950 (tramp-completion-function-alist): Adapt docstring.
9951 (tramp-default-password-end-of-line): Remove defcustom.
9952 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9953 (tramp-user-regexp, tramp-file-name-regexp-unified)
9954 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9955 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9956 (tramp-remote-file-name-spec-regexp): New defconst.
9957 (tramp-file-name-structure): Extend structure for hops.
9958 (tramp-get-method-parameter): Move up.
9959 (tramp-file-name-p, tramp-dissect-file-name)
9960 (with-parsed-tramp-file-name): Handle hops.
9961 (tramp-file-name-hop): New defun.
9962 (tramp-make-tramp-file-name): New optional arg HOP.
9963 (tramp-message-show-progress-reporter-message): New defvar.
9964 (tramp-with-progress-reporter): Use it. We cannot use
9965 `tramp-message-show-message' here, because this suppresses also
9966 error buffers.
9967 (tramp-error-with-buffer): Suppress buffer view, if
9968 `tramp-message-show-message' is nil.
9969 Use `tramp-get-connection-buffer'.
9970 (tramp-cleanup): New defun.
9971 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9972 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9973 an error unchanged.
9974 (tramp-completion-handle-file-name-all-completions): Handle hops.
9975 Fix an error when called from ido.
9976 (tramp-completion-dissect-file-name): Use better local variable
9977 name. Add hop to the vector.
9978 (tramp-handle-insert-file-contents): Use progress-reporter for the
9979 whole scenario.
9980 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9981 to `t'.
9982 (tramp-check-for-regexp): Simplify search.
9983 (tramp-enter-password): Remove it. Move implementation ...
9984 (tramp-action-password): ... here.
9985 (tramp-mode-string-to-int, tramp-local-host-p)
9986 (tramp-make-tramp-temp-file, tramp-read-passwd)
9987 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9988 Set tramp-autoload cookie.
9989
9990 * net/trampver.el: Update release number.
9991
9992 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9993 Michael Albinus <michael.albinus@gmx.de>
9994
9995 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9996 (tramp-parse-group, tramp-parse-file)
9997 (tramp-parse-shostkeys-sknownhosts): New defuns.
9998 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9999 (tramp-parse-shosts-group, tramp-parse-sconfig)
10000 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10001 (tramp-parse-sknownhosts, tramp-parse-hosts)
10002 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10003 Use them.
10004 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10005 (tramp-parse-putty-group): Don't narrow.
10006 (tramp-parse-putty): Make a loop.
10007 (tramp-file-name-handler): Catch the `suppress' signal.
10008
10009 2012-06-11 Chong Yidong <cyd@gnu.org>
10010
10011 * image.el (imagemagick-register-types): Put the ImageMagick entry
10012 at the end of image-type-file-name-regexps.
10013
10014 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10015
10016 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10017 (pcase, pcase-let*, pcase-dolist): Use them.
10018
10019 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10020
10021 * emacs-lisp/pcase.el (pcase--let*): New function.
10022 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10023 (pcase--expand): Use macroexp-let².
10024
10025 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10026
10027 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10028 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10029 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10030 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10031 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10032 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10033
10034 2012-06-10 Glenn Morris <rgm@gnu.org>
10035
10036 * mail/rmail.el (rmail-yank-current-message): Leave point at
10037 correct position. (Bug#11660)
10038
10039 2012-06-10 Chong Yidong <cyd@gnu.org>
10040
10041 * allout-widgets.el: Fix code header.
10042
10043 2012-06-10 Chong Yidong <cyd@gnu.org>
10044
10045 * cus-edit.el (customize-changed-options-previous-release):
10046 Bump to 24.1.
10047
10048 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10049
10050 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10051
10052 2012-06-09 Chong Yidong <cyd@gnu.org>
10053
10054 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10055
10056 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10057
10058 * window.el (special-display-popup-frame): Don't use
10059 window--display-buffer (Bug#11651).
10060
10061 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10062
10063 Fix parallel builds: make sure loaddefs.el is not being written
10064 while Lisp files are compiled.
10065 (compile): Don't depend on 'mh-autoloads'.
10066 (compile-CMD, compile-SH): Depend on 'autoloads'.
10067 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10068
10069 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10070
10071 2012-06-09 Chong Yidong <cyd@gnu.org>
10072
10073 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10074 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10075 Doc fixes (Bug#11225).
10076
10077 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10078
10079 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10080 a function if there's a clear indication that it has a compiler-macro.
10081 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10082 (macro-declarations-alist): Add arglist to declaration functions.
10083 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10084 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10085 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10086 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10087 Also add autoload to find the compiler macro.
10088 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10089 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10090 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10091 (cl--compiler-macro-get): New functions, replacing calls to
10092 cl-define-compiler-macro.
10093 (cl-typep) [compiler-macro]: Use macroexp-let².
10094
10095 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10096
10097 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10098 string properly, fixes Bug#11473.
10099
10100 2012-06-08 Chong Yidong <cyd@gnu.org>
10101
10102 * faces.el (set-face-attribute): Doc fix.
10103 (modify-face): Don't use :bold and :italic.
10104 (error, warning, success): Tweak definitions.
10105
10106 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10107 (custom-modified, custom-set, custom-changed, custom-themed)
10108 (custom-saved, custom-button, custom-button-mouse)
10109 (custom-button-pressed, custom-state, custom-comment-tag)
10110 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10111 (custom-group-subtitle): Use new-style face specs.
10112 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10113 (custom-set-face, custom-changed-face, custom-saved-face)
10114 (custom-button-face, custom-button-pressed-face)
10115 (custom-documentation-face, custom-state-face)
10116 (custom-comment-face, custom-comment-tag-face)
10117 (custom-variable-tag-face, custom-variable-button-face)
10118 (custom-face-tag-face, custom-group-tag-face-1)
10119 (custom-group-tag-face): Remove obsolete face alias.
10120
10121 * epa.el (epa-validity-high, epa-validity-medium)
10122 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10123 (epa-field-name, epa-field-body):
10124 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10125 (font-lock-keyword-face, font-lock-builtin-face)
10126 (font-lock-function-name-face, font-lock-variable-name-face)
10127 (font-lock-type-face, font-lock-constant-face):
10128 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10129 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10130 * speedbar.el (speedbar-button-face, speedbar-file-face)
10131 (speedbar-directory-face, speedbar-tag-face)
10132 (speedbar-selected-face, speedbar-highlight-face)
10133 (speedbar-separator-face):
10134 * whitespace.el (whitespace-newline, whitespace-space)
10135 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10136 (whitespace-line, whitespace-space-before-tab)
10137 (whitespace-space-after-tab, whitespace-indentation)
10138 (whitespace-empty):
10139 * emulation/cua-base.el (cua-global-mark):
10140 * eshell/em-prompt.el (eshell-prompt):
10141 * net/newst-plainview.el (newsticker-new-item-face)
10142 (newsticker-old-item-face, newsticker-immortal-item-face)
10143 (newsticker-obsolete-item-face, newsticker-date-face)
10144 (newsticker-statistics-face, newsticker-default-face):
10145 * net/newst-reader.el (newsticker-feed-face)
10146 (newsticker-extra-face, newsticker-enclosure-face):
10147 * net/newst-treeview.el (newsticker-treeview-face)
10148 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10149 (newsticker-treeview-immortal-face)
10150 (newsticker-treeview-obsolete-face)
10151 (newsticker-treeview-selection-face):
10152 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10153 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10154 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10155 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10156 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10157 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10158 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10159 (mpuz-text):
10160 * progmodes/vera-mode.el (vera-font-lock-number)
10161 (vera-font-lock-function, vera-font-lock-interface):
10162 * textmodes/table.el (table-cell): Use new-style face specs, and
10163 don't use the old :bold and :italic attributes.
10164
10165 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10166 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10167 (ebrowse-member-class, ebrowse-progress): Likewise.
10168 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10169 (ebrowse-file-name-face, ebrowse-default-face)
10170 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10171 (ebrowse-progress-face): Remove obsolete faces.
10172
10173 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10174 Inherit from error and warning faces respectively.
10175
10176 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10177 Likewise.
10178 (flyspell-incorrect-face, flyspell-duplicate-face):
10179 Remove obsolete aliases.
10180
10181 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10182
10183 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10184 Avoid infloop.
10185
10186 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10187
10188 * startup.el (argv, argi): Make lexically scoped.
10189 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10190 * emacs-lisp/cl-macs.el: Use lexical-binding.
10191 Rename cl-bind-* to cl--bind-*.
10192 * files.el: Don't require `cl' since it doesn't use it.
10193 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10194
10195 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10196
10197 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10198 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10199 instead of calling external sort utility.
10200 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10201
10202 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10203
10204 * descr-text.el (describe-char): Mention how to insert the
10205 character, if the current input method doesn't support it.
10206 See the discussion in this thread for the details:
10207 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10208
10209 2012-06-08 Sam Steingold <sds@gnu.org>
10210
10211 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10212 XF86Back to previous-buffer.
10213 (minibuffer-local-map): Bind them to next-history-element and
10214 previous-history-element respectively.
10215 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10216 help-go-back respectively.
10217 * info.el (Info-mode-map): Bind them to Info-history-forward and
10218 Info-history-back respectively.
10219 These are the keys next to Up on the ThinkPad keyboard.
10220
10221 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10222
10223 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10224 * emacs-lisp/cl-macs.el: Provide itself.
10225 (cl--labels-convert-cache): New var.
10226 (cl--labels-convert): New function.
10227 (cl-flet, cl-labels): New implementation with new semantics, relying on
10228 lexical-binding.
10229 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10230 (cl-closure-vars, cl--function-convert-cache)
10231 (cl--function-convert): Move from cl-macs.el.
10232 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10233 rename by removing the "cl-" prefix.
10234 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10235
10236 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10237
10238 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10239 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10240 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10241 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10242 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10243 (cl-hash-table-count): Add old compatibility aliases.
10244
10245 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10246 Use macroexpand-all-environment instead.
10247 (cl--old-macroexpand): New var.
10248 (cl--sm-macroexpand): New function.
10249 (cl-symbol-macrolet): Use it during macro expansion.
10250 (cl--function-convert-cache): New var.
10251 (cl--function-convert): New function, extracted from
10252 cl-macroexpand-all.
10253 (cl-lexical-let): Use it.
10254
10255 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10256 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10257 (cl-member): Remove old alias.
10258
10259 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10260 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10261 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10262 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10263 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10264 (cl-macroexpand-cmacs): Remove var.
10265 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10266 Use macroexpand-all instead.
10267
10268 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10269
10270 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10271 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10272 (macroexp-copyable-p): New functions and macros.
10273 * emacs-lisp/edebug.el (edebug-unwrap):
10274 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10275 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10276 (pcase--let*): Remove.
10277 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10278 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10279 macroexp-const-p instead.
10280 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10281
10282 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10283 instead of "cl-" for internal definitions. Use macroexp-const-p.
10284 (cl-old-bc-file-form): Remove var.
10285 (cl-const-exprs-p): Remove fun.
10286 (cl-labels, cl-macrolet): Use backquote.
10287 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10288 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10289 (cl-define-setf-expander): Rename from cl-define-setf-method.
10290 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10291
10292 * international/mule-cmds.el: Don't require CL.
10293 (view-hello-file): Don't use `letf'.
10294
10295 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10296
10297 * tmm.el (tmm-prompt): Use string-prefix-p.
10298 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10299 (tmm-add-prompt): Use minibuffer-completion-help.
10300 (tmm-delete-map): Remove.
10301
10302 * subr.el (kbd): Make it its own function.
10303
10304 2012-06-07 Stefan Merten <smerten@oekonux.de>
10305
10306 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10307 Silence compiler warnings. Fix versions.
10308 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10309 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10310 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10311 (rst-package-emacs-version-alist): Correct Emacs version to
10312 represent major merge with upstream.
10313 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10314
10315 2012-06-06 Glenn Morris <rgm@gnu.org>
10316
10317 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10318 Only print environment variables if set.
10319
10320 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10323 (macroexp--cons): Rename from maybe-cons.
10324 (macroexp--accumulate): Rename from macroexp-accumulate.
10325 (macroexp--all-forms): Rename from macroexpand-all-forms.
10326 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10327 (macroexp--expand-all): Rename from macroexpand-all-1.
10328
10329 2012-06-06 Sam Steingold <sds@gnu.org>
10330
10331 * calendar/calendar.el (calendar-in-read-only-buffer):
10332 Call `special-mode' to enable the standard read-only keybindings.
10333
10334 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10335
10336 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10337 with "loading" messages (bug#11635).
10338
10339 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10340
10341 * files.el (enable-remote-dir-locals): New option.
10342 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10343
10344 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10345 Ensure, that the temp directory is local.
10346
10347 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10348 `temporary-file-directory'.
10349
10350 * progmodes/python.el (python-send-region): Ensure, that the
10351 temporary file is created also in the remote case.
10352
10353 2012-06-06 Glenn Morris <rgm@gnu.org>
10354
10355 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10356 (vc-rcs-update-changelog): Use it.
10357
10358 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10359
10360 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10361 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10362 (vc-sccs-diff): Replace use of the external vcdiff script.
10363
10364 2012-06-05 Glenn Morris <rgm@gnu.org>
10365
10366 * ledit.el: Move to obsolete/.
10367
10368 2012-06-05 Sam Steingold <sds@gnu.org>
10369
10370 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10371 patch (Bug#11140).
10372
10373 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10374
10375 * emacs-lisp/cust-print.el: Move to obsolete.
10376
10377 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10378 compiler-macro expansion.
10379
10380 Add native compiler-macro support.
10381 * emacs-lisp/macroexp.el (macroexpand-all-1):
10382 Support compiler-macros directly. Properly follow aliases and apply
10383 the compiler macros more thoroughly.
10384 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10385 macroexpand now properly follows aliases.
10386 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10387 (cl-compiler-macroexpand): Use new prop.
10388 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10389
10390 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10391
10392 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10393
10394 * window.el (get-lru-window, get-mru-window, get-largest-window):
10395 New argument NOT-SELECTED to avoid picking the selected window.
10396 (window--display-buffer-1, window--display-buffer-2): Replace by
10397 new function window--display-buffer
10398 (display-buffer-same-window, display-buffer-reuse-window)
10399 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10400 Use window--display-buffer.
10401 (display-buffer-use-some-window): Remove temporary dedication
10402 hack by calling get-lru-window and get-largest-window with
10403 NOT-SELECTED argument non-nil. Call window--display-buffer.
10404
10405 2012-06-05 Glenn Morris <rgm@gnu.org>
10406
10407 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10408 Replace external vcdiff script.
10409
10410 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10411
10412 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10413
10414 2012-06-04 Chong Yidong <cyd@gnu.org>
10415
10416 * image.el (imagemagick-types-inhibit): Revert last change.
10417 Add INFO and M.
10418 (imagemagick-enabled-types): Remove CIN and EPS*.
10419
10420 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10421
10422 * emacs-lisp/cl-lib.el: Rename from cl.el.
10423 * emacs-lisp/cl.el: New compatibility file.
10424 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10425 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10426 to obey the "cl-" prefix.
10427 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10428
10429 2012-06-03 Glenn Morris <rgm@gnu.org>
10430
10431 * emacs-lisp/authors.el (authors-aliases): Addition.
10432
10433 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10434 Fix :version.
10435
10436 2012-06-03 Stefan Merten <smerten@oekonux.de>
10437
10438 * textmodes/rst.el: Add comments.
10439 (rst-transition, rst-adornment): New faces.
10440 (rst-adornment-faces-alist): Make default safe to reevaluate.
10441 Fixes
10442 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10443 Improve customization tags.
10444 (rst-define-level-faces): Clarify meaning.
10445
10446 2012-06-03 Chong Yidong <cyd@gnu.org>
10447
10448 * progmodes/compile.el (compilation-mode-line-fail)
10449 (compilation-mode-line-run, compilation-mode-line-exit):
10450 New faces.
10451 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10452
10453 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10454
10455 * progmodes/which-func.el (which-func-update-ediff-windows):
10456 New function. Use it in ediff-select-hook (Bug#11478).
10457
10458 2012-06-03 Chong Yidong <cyd@gnu.org>
10459
10460 * bindings.el: Remove explicit help text from format-mode-line.
10461 It is now supplied by mode-line-default-help-echo.
10462 (mode-line-front-space, mode-line-end-spaces)
10463 (mode-line-misc-info): New variables.
10464 (mode-line-modes, mode-line-position): Move the default value to
10465 the variable definition.
10466 (mode-line-default-help-echo): New defcustom.
10467 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10468 (mode-line-modified-help-echo): New functions.
10469 (mode-line-mule-info, mode-line-modified): Use them.
10470 (mode-line-eol-desc, propertized-buffer-identification):
10471 Consistency fixes for help text.
10472 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10473 set-buffer-file-coding-system (Bug#289).
10474 (mode-line-mule-info-help-echo): Update help text.
10475
10476 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10477
10478 * simple.el (execute-extended-command): Set real-this-command
10479 (bug#11506).
10480
10481 2012-06-02 Chong Yidong <cyd@gnu.org>
10482
10483 Remove incorrect uses of "modeline" in comments, docstrings, and
10484 function/variable names (Bug#10329).
10485
10486 * cus-edit.el (mode-line):
10487 * dframe.el (dframe-mouse-hscroll):
10488 * emacs-lisp/re-builder.el:
10489 * emacs-lisp/easy-mmode.el (define-minor-mode):
10490 * frame.el (set-frame-name):
10491 * help.el (lookup-minor-mode-from-indicator):
10492 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10493 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10494 (c-toggle-hungry-state):
10495 * progmodes/antlr-mode.el (antlr-language-alist):
10496 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10497 * progmodes/vhdl-mode.el (vhdl-mode):
10498 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10499 * term/ns-win.el (ns-face-at-pos):
10500 * term/sup-mouse.el (sup-mouse-report):
10501 * textmodes/flyspell.el (flyspell-mode-line-string):
10502 * textmodes/ispell.el (ispell-highlight-face):
10503 * textmodes/reftex-global.el:
10504 * vc/vc-arch.el (vc-arch-mode-line-string):
10505 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10506 * vc/vc-git.el (vc-git-mode-line-string):
10507 * vc/vc-hooks.el (vc-display-status)
10508 (vc-default-mode-line-string):
10509 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10510
10511 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10512
10513 * dired.el (dired-sort-set-mode-line): Rename from
10514 dired-sort-set-modeline. All callers changed.
10515
10516 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10517 eshell-status-in-modeline.
10518
10519 * foldout.el (foldout-mode-line-string): Rename from
10520 foldout-modeline-string. All callers changed.
10521 (foldout-update-mode-line): Rename from foldout-update-modeline.
10522
10523 * subr.el (redraw-modeline): Make into obsolete alias.
10524
10525 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10526 timeclock-modeline-display. Make old name an alias.
10527 (timeclock-update-mode-line): Likewise. All callers changed.
10528 (timeclock-mode-line-display): No need to check before using
10529 add-hook.
10530 (timeclock-relative, timeclock-day-over-hook)
10531 (timeclock-use-elapsed, timeclock-mode-string)
10532 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10533
10534 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10535 crisp-mode-modeline-string.
10536
10537 * play/solitaire.el (solitaire-build-mode-line): Rename from
10538 solitaire-build-modeline. All callers changed.
10539
10540 * play/zone.el (zone-hiding-mode-line): Rename from
10541 zone-hiding-modeline. All callers changed.
10542 (zone): Remove unusued `modeline-hidden-level' property.
10543
10544 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10545 xscheme-modeline-initialize. All callers changed.
10546
10547 * strokes.el (strokes-lighter): Rename from
10548 strokes-modeline-string.
10549
10550 * textmodes/sgml-mode.el (html-face-tag-alist)
10551 (html-tag-face-alist): Use mode-line face instead of obsolete
10552 alias modeline.
10553
10554 2012-06-02 Stefan Merten <smerten@oekonux.de>
10555
10556 * textmodes/rst.el: Always require `cl'.
10557 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10558
10559 2012-06-02 Chong Yidong <cyd@gnu.org>
10560
10561 * image.el (imagemagick-enabled-types): Rename from
10562 imagemagick-types-enable. Add many more types.
10563 (imagemagick-types-inhibit): Change default to nil.
10564 (imagemagick-filter-types): Caller changed.
10565
10566 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10567
10568 * emacs-lisp/cl-macs.el: Use backquotes.
10569 (cl-transform-function-property): Use eval-and-compile rather than
10570 abusing `require'.
10571 (defstruct): Use declare-function instead of with-no-warnings.
10572
10573 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10574 (byte-compile-output-docform): Re-add the print-circle bindings.
10575 (byte-compile-fix-header): Use #$ just because it's shorter.
10576 (byte-compile-output-file-form): Remove defun/defmacro.
10577
10578 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10579
10580 * simple.el (choose-completion): Remove now obsolete binding for
10581 owindow.
10582
10583 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10584
10585 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10586 in order to avoid "Stack overflow in regexp matcher".
10587
10588 2012-05-31 Glenn Morris <rgm@gnu.org>
10589
10590 * image.el: For clarity, call imagemagick-register-types at
10591 top-level, rather than relying on a custom :initialize.
10592 (imagemagick-types-enable): New option. (Bug#11557)
10593 (imagemagick-filter-types): New function. (Bug#7406)
10594 (imagemagick-register-types): Use imagemagick-filter-types.
10595 If disabling support, remove elements altogether rather
10596 than using an impossible regexp.
10597 (imagemagick-types-inhibit): Give it the default init function.
10598
10599 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10600
10601 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10602 Handle arbitrary file name lengths (Bug#11585).
10603
10604 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10605
10606 * desktop.el (desktop-read): Clear previous and next buffers for
10607 all windows and bury *Messages* buffer (bug#11556).
10608
10609 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10610
10611 Add `declare' for `defun'. Align `defmacro's with it.
10612 * emacs-lisp/easy-mmode.el (define-minor-mode)
10613 (define-globalized-minor-mode): Don't autoload the var definitions.
10614 * emacs-lisp/byte-run.el: Use lexical-binding.
10615 (defun-declarations-alist, macro-declarations-alist): New vars.
10616 (defmacro, defun): Use them.
10617 (make-obsolete, define-obsolete-function-alias)
10618 (make-obsolete-variable, define-obsolete-variable-alias):
10619 Use `declare'.
10620 (macro-declaration-function): Mark obsolete.
10621 * emacs-lisp/autoload.el: Use lexical-binding.
10622 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10623
10624 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10625
10626 * textmodes/ispell.el (ispell-with-no-warnings):
10627 Define as a macro.
10628 (ispell-kill-ispell, ispell-change-dictionary):
10629 Use `called-interactively-p' for Emacs instead of obsolete
10630 `interactive-p'.
10631
10632 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10633
10634 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10635 (macro-declaration-function): Move var from C code.
10636 (macro-declaration-function): Define function with defalias.
10637 * emacs-lisp/macroexp.el (macroexpand-all-1):
10638 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10639 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10640 defun/defmacro any more.
10641 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10642 Provide fallback for unknown arglist.
10643 (byte-compile-arglist-warn): Change calling convention.
10644 (byte-compile-output-file-form): Move print-vars binding.
10645 (byte-compile-output-docform): Simplify accordingly.
10646 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10647 (byte-compile-defmacro-declaration): Remove.
10648 (byte-compile-file-form-defmumble): Generalize to defalias.
10649 (byte-compile-output-as-comment): Return byte-positions.
10650 Simplify callers accordingly.
10651 (byte-compile-lambda): Use `assert'.
10652 (byte-compile-defun, byte-compile-defmacro): Remove.
10653 (byte-compile-file-form-defalias):
10654 Use byte-compile-file-form-defmumble.
10655 (byte-compile-defalias-warn): Remove.
10656
10657 2012-05-29 Stefan Merten <smerten@oekonux.de>
10658
10659 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10660 possible. Fix authors. Improve comments. Improve loading of `cl'.
10661
10662 (rst-mode-abbrev-table): Merge definition.
10663 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10664 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10665
10666 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10667
10668 * calendar/icalendar.el
10669 (icalendar-export-region): Export UID properly.
10670
10671 2012-05-29 Leo Liu <sdl.web@gmail.com>
10672 * calendar/icalendar.el (icalendar-import-format):
10673 Add `icalendar-import-format-uid' (Bug#11525).
10674 (icalendar-import-format-uid): New.
10675 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10676 Export UID.
10677
10678 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10681 different alternative patterns.
10682 (pcase-codegen): Be more careful to preserve identity.
10683 (pcase--u1): Don't forget to mark vars as used.
10684
10685 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10686 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10687 (byte-compile-from-buffer): ...rather than here.
10688
10689 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10690 functions from byte-compile-function-environment.
10691
10692 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10693
10694 * window.el (window-deletable-p): Avoid deleting the root window
10695 of a frame with an active minibuffer.
10696
10697 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10698
10699 * simple.el (choose-completion): Use quit-window (Bug#11567).
10700
10701 2012-05-29 Chong Yidong <cyd@gnu.org>
10702
10703 * whitespace.el (whitespace-cleanup): Fix usage of
10704 whitespace-empty-at-bob-regexp (Bug#11492).
10705
10706 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10707
10708 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10709 revert (Bug#11488).
10710
10711 2012-05-29 Juri Linkov <juri@jurta.org>
10712
10713 * isearch.el (isearch-mode-map): Bind `M-s _' to
10714 `isearch-toggle-symbol'. Bind `M-s c' to
10715 `isearch-toggle-case-fold'.
10716 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10717 (isearch-forward): Add `M-s _' to the docstring.
10718 (isearch-forward-symbol, isearch-toggle-case-fold)
10719 (isearch-symbol-regexp): New functions. (Bug#11381)
10720
10721 2012-05-29 Juri Linkov <juri@jurta.org>
10722
10723 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10724 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10725 a function, call it to get the regexp.
10726 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10727 property `isearch-message-prefix' instead of the string "word ".
10728 (isearch-search-fun-default): For the case of `isearch-word',
10729 return a lambda that calls re-search-forward/re-search-backward
10730 with a regexp returned by `word-search-regexp' or by the function
10731 in `isearch-word'.
10732
10733 2012-05-29 Juri Linkov <juri@jurta.org>
10734
10735 * isearch.el (isearch-search-fun-default): New function.
10736 (isearch-search-fun): Move default part to the new function
10737 `isearch-search-fun-default'.
10738 (isearch-search-fun-function): Set the default value to
10739 `isearch-search-fun-default'. (Bug#11381)
10740
10741 * comint.el (comint-history-isearch-end):
10742 Use `isearch-search-fun-default'.
10743 (comint-history-isearch-search): Use `isearch-search-fun-default'
10744 and remove spacial case for `isearch-word'.
10745 (comint-history-isearch-wrap): Remove spacial case for
10746 `isearch-word'.
10747
10748 * hexl.el (hexl-isearch-search-function):
10749 Use `isearch-search-fun-default'.
10750
10751 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10752 Use `word-search-regexp' for `isearch-word'.
10753
10754 * misearch.el (multi-isearch-search-fun):
10755 Use `isearch-search-fun-default'.
10756
10757 * simple.el (minibuffer-history-isearch-search):
10758 Use `isearch-search-fun-default' and remove spacial case for
10759 `isearch-word'.
10760 (minibuffer-history-isearch-wrap): Remove spacial case for
10761 `isearch-word'.
10762
10763 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10764 Remove spacial case for `isearch-word'.
10765 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10766
10767 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10768
10769 Decrease XEmacs incompatibilities.
10770 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10771 Use `string-match'.
10772 (flyspell-delete-region-overlays): Use alternative definition for
10773 XEmacs.
10774 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10775 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10776 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10777 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10778 `define-obsolete-face-alias' under XEmacs, but old method.
10779
10780 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10781 `with-no-warnings' definition or Emacs alias.
10782 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10783 (ispell-word): Do not use `region-p' if XEmacs.
10784
10785 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10786
10787 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10788 Check for `ispell-dictionary-base-alist' instead of full
10789 `ispell-dictionary-alist'.
10790 (ispell-init-process): Show spellchecker when starting new Ispell
10791 process.
10792
10793 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10794
10795 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10796 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10797
10798 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10799
10800 * version.el (motif-version-string, gtk-version-string)
10801 (ns-version-string): Declare.
10802
10803 2012-05-27 Juri Linkov <juri@jurta.org>
10804
10805 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10806 after the `eval-defun-1' specialcaseing
10807 like in `edebug-eval-defun' (bug#10181).
10808
10809 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10810 like in `eval-defun-1'.
10811
10812 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10813
10814 * mail/sendmail.el (mail-yank-region):
10815 Recognize rmail-yank-current-message in addition to insert-buffer.
10816 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10817 a *mail* buffer created through rmail-start-mail with sendmail as
10818 mail-user-agent.
10819
10820 2012-05-27 Chong Yidong <cyd@gnu.org>
10821
10822 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10823 Default to 256 (Bug#11267).
10824
10825 * help.el (describe-mode): Doc fix.
10826
10827 2012-05-26 Glenn Morris <rgm@gnu.org>
10828
10829 * w32-fns.el (w32-init-info): Remove.
10830 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10831
10832 * info.el (info-initialize): For self-contained NS builds, put the
10833 included info/ directory at the front. (Bug#2791)
10834
10835 * paths.el (Info-default-directory-list): Make it a defcustom,
10836 mainly so that we can use custom-initialize-delay.
10837
10838 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10839
10840 * subr.el (buffer-has-markers-at): Mark obsolete.
10841
10842 * subr.el (lambda): Use declare.
10843
10844 * emacs-lisp/lisp-mode.el (lambda):
10845 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10846
10847 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10848
10849 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10850
10851 2012-05-26 Glenn Morris <rgm@gnu.org>
10852
10853 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10854
10855 2012-05-25 Glenn Morris <rgm@gnu.org>
10856
10857 * paths.el: Remove no-byte-compile.
10858 * loadup.el: No need to load paths.el uncompiled.
10859
10860 * image.el (imagemagick-types-inhibit): Doc fix.
10861
10862 * version.el: Remove no-byte-compile and associated formatting.
10863 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10864 is ancient code from when there was an "inc-vers.el".
10865
10866 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10867
10868 * progmodes/gdb-mi.el: Minor style changes.
10869 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10870 Turn into minor modes.
10871 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10872 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10873 (gdb-shell): Remove unneeded let-binding.
10874 (gdb-get-many-fields): Eliminate O(n²) behavior.
10875
10876 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10877
10878 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10879 platforms that don't link in fontset.c.
10880
10881 2012-05-25 Juri Linkov <juri@jurta.org>
10882
10883 Use the same diff color scheme as in modern VCSes (bug#10181).
10884
10885 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10886 to avoid confusion with `diff-added' that now uses green colors.
10887 (diff-removed): Use shades of red.
10888 (diff-added): Use shades of green.
10889 (diff-changed): Leave just the yellow color.
10890 (diff-use-changed-face): New variable.
10891 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10892 how to highlight context diff changes.
10893 (diff-refine-change): Use shades of yellow.
10894 (diff-refine-removed): New face that uses shades of red.
10895 (diff-refine-added): New face that uses shades of green.
10896 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10897 `diff-refine-removed' in the call to `smerge-refine-subst'
10898 depending on the value of `diff-use-changed-face'.
10899
10900 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10901 (smerge-other): Use shades of green.
10902 (smerge-base): Use shades of yellow.
10903 (smerge-refined-change): Empty face.
10904 (smerge-refined-removed): New face that uses shades of red.
10905 (smerge-refined-added): New face that uses shades of green.
10906 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10907 args `props-r' and `props-a', and use them. Doc fix.
10908 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10909 on its value use different faces `smerge-refined-change',
10910 `smerge-refined-removed', `smerge-refined-added' in the call to
10911 `smerge-refine-subst'.
10912
10913 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10914 Add face condition `min-colors 88' with shades of red.
10915 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10916 `min-colors 88' with shades of green.
10917 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10918 `min-colors 88' with shades of yellow.
10919
10920 2012-05-24 Glenn Morris <rgm@gnu.org>
10921
10922 * paths.el (prune-directory-list, remote-shell-program): Move to...
10923 * files.el (prune-directory-list, remote-shell-program): ...here.
10924 For the latter, delay initialization, prefer ssh, just search PATH.
10925
10926 * paths.el (term-file-prefix): Move to faces.el (the only user).
10927 * faces.el (term-file-prefix): Move here, make it a defcustom.
10928
10929 * paths.el (news-directory, news-path, news-inews-program):
10930 Move to gnus/nnspool.el.
10931
10932 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10933
10934 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10935 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10936 Make the latter a defcustom, with a delayed initialization.
10937
10938 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10939 These were deleted from Gnus itself late 2010.
10940
10941 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10942
10943 * progmodes/which-func.el (which-func-ff-hook):
10944 Check against user-error, not error.
10945
10946 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10947 cl-specs.el, which no longer exists.
10948
10949 2012-05-22 Glenn Morris <rgm@gnu.org>
10950
10951 * info.el (info-emacs-bug): New command.
10952 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10953 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10954
10955 2012-05-21 Glenn Morris <rgm@gnu.org>
10956
10957 * makefile.w32-in (update-subdirs-SH):
10958 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10959
10960 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10961
10962 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10963
10964 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10965 Simplify Maven regexp, and make sure the file can't start with a space
10966 (bug#11517).
10967
10968 2012-05-21 Glenn Morris <rgm@gnu.org>
10969
10970 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10971 Scrap superfluous subshells.
10972
10973 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10974
10975 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10976 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10977
10978 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10979
10980 * calc/calc.el (calc-ensure-consistent-units): New variable.
10981
10982 * calc/calc-units.el (math-consistent-units-p)
10983 (math-check-unit-consistency): New functions.
10984 (calc-quick-units, calc-convert-units):
10985 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10986 is non-nil.
10987 (calc-extract-units): Fix typo.
10988
10989 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10990
10991 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10992
10993 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10994 (flyspell-default-deplacement-commands): Don't spell check after
10995 repeated window/frame switches (e.g. triggered by mouse-movement).
10996 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10997 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10998 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10999 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11000 Remove unused vars.
11001 (flyspell-get-casechars, flyspell-get-not-casechars):
11002 Simplify; Don't bother removing a ] just to add it back.
11003 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11004
11005 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11006
11007 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11008 New functions.
11009 (math-function-table): Add support for more C functions.
11010
11011 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11012
11013 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11014 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11015 Protect delay handling for otherchars against empty otherchars.
11016
11017 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11018
11019 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11020 their respective macro declarations.
11021 * skeleton.el (define-skeleton):
11022 * progmodes/compile.el (define-compilation-mode):
11023 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11024 (define-ibuffer-filter):
11025 * emacs-lisp/generic.el (define-generic-mode):
11026 * emacs-lisp/easy-mmode.el (define-minor-mode)
11027 (define-globalized-minor-mode):
11028 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11029 * emacs-lisp/byte-run.el (defsubst):
11030 * custom.el (deftheme): Add doc-string metadata.
11031
11032 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11033
11034 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11035
11036 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11037
11038 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11039
11040 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11041 * emacs-lisp/cl-macs.el: Idem.
11042 * emacs-lisp/cl-specs.el: Remove.
11043
11044 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11045
11046 Minor renaming of internal CL functions and variables.
11047 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11048 (cl--position): Rename from cl-position.
11049 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11050 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11051 (cl--random-state): Rename from *random-state*.
11052
11053 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11054
11055 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11056 parens around the arg list (bug#11499).
11057
11058 2012-05-17 Juri Linkov <juri@jurta.org>
11059
11060 * isearch.el (word-search-regexp, word-search-backward)
11061 (word-search-forward, word-search-backward-lax)
11062 (word-search-forward-lax): Move functions from search.c
11063 (bug#10145, bug#11381).
11064
11065 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11066
11067 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11068 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11069 Delay for otherchars as for normal word components.
11070
11071 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11072
11073 * minibuffer.el (completion--sifn-requote): Fix last change.
11074 (minibuffer-local-must-match-filename-map):
11075 Move define-obsolete-variable-alias before its var.
11076
11077 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11078
11079 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11080
11081 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11082 behavior.
11083 (completion--string-equal-p): New function.
11084 (completion--twq-all): Use it to get better assertion failure data.
11085
11086 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11087 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11088 (shell--requote-argument): New functions.
11089 (shell-completion-vars): Use them.
11090 (shell--parse-pcomplete-arguments): Rename from
11091 shell-parse-pcomplete-arguments.
11092 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11093 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11094 Obey comint-file-name-quote-list.
11095
11096 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11097 (smie-indent-keyword): Use it.
11098
11099 2012-05-14 Stefan Merten <smerten@oekonux.de>
11100
11101 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11102
11103 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11104
11105 * net/rlogin.el (rlogin-mode-map): Fix last change.
11106
11107 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11108
11109 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11110 the following \r\n using a single `process-send-string', since the
11111 Lotus SMTP server refuses to accept any commands if they are sent
11112 with two `process-send-string's (Bug#11444).
11113
11114 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11115
11116 * shell.el (shell-parse-pcomplete-arguments):
11117 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11118
11119 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11120
11121 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11122 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11123 (image-transform-width, image-transform-fit-width): New functions.
11124 (image-transform-properties): Use them.
11125 (image-transform-check-size): New function.
11126 (image-toggle-display-image): Use it (for testing).
11127 (image-transform-set-rotation): Reduce angle mod 360.
11128 Delete obsolete comment.
11129
11130 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11131
11132 * image-mode.el: Fix scaling (bug#11399).
11133 (image-transform-resize): Doc fix.
11134 (image-transform-properties): Default scale is 1 and height should
11135 be an integer.
11136
11137 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11138
11139 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11140 than hard-coding `car', to fix misbehavior when moving forward.
11141
11142 2012-05-13 Chong Yidong <cyd@gnu.org>
11143
11144 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11145 (tabulated-list-entries, tabulated-list-padding)
11146 (tabulated-list-sort-key): Make permanent-local.
11147
11148 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11149 (electric-buffer-list): Put electric buffer menu
11150 command descriptions in this docstring, instead of the docstring
11151 of electric-buffer-menu-mode. Code cleanups.
11152 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11153 Electric-buffer-menu-mode.
11154 (electric-buffer-update-highlight): Minor code cleanup.
11155
11156 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11157
11158 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11159 (Bug#11447)
11160
11161 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11162
11163 Move define-obsolete-variable-alias before the var's definition.
11164 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11165 * tooltip.el (tooltip-hook):
11166 * textmodes/reftex-toc.el (reftex-toc-map):
11167 * textmodes/reftex-sel.el (reftex-select-label-map)
11168 (reftex-select-bib-map):
11169 * textmodes/reftex-index.el (reftex-index-map)
11170 (reftex-index-phrases-map):
11171 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11172 * progmodes/meta-mode.el (meta-mode-map):
11173 * novice.el (disabled-command-hook):
11174 * loadhist.el (unload-hook-features-list):
11175 * frame.el (blink-cursor):
11176 * files.el (find-file-not-found-hooks, write-file-hooks)
11177 (write-contents-hooks):
11178 * emulation/tpu-edt.el (GOLD-map):
11179 * emacs-lock.el (emacs-lock-from-exiting):
11180 * emacs-lisp/generic.el (generic-font-lock-defaults):
11181 * emacs-lisp/chart.el (chart-map):
11182 * dos-fns.el (register-name-alist):
11183 * dired-x.el (dired-omit-files-p):
11184 * desktop.el (desktop-enable):
11185 * cus-edit.el (custom-mode-hook):
11186 * buff-menu.el (buffer-menu-mode-hook):
11187 * bookmark.el (bookmark-read-annotation-text-func)
11188 (bookmark-exit-hooks):
11189 * allout.el (allout-mode-deactivate-hook)
11190 (allout-exposure-change-hook, allout-structure-added-hook)
11191 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11192 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11193 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11194 comes before the corresponding variable's definition.
11195
11196 2012-05-12 Chong Yidong <cyd@gnu.org>
11197
11198 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11199 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11200 (Buffer-menu-mode-map): Bind it.
11201 (Buffer-menu--pretty-name): Add a mouse-face property.
11202
11203 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11204
11205 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11206 (prolog-upper-case-string, prolog-lower-case-string)
11207 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11208 (prolog-use-smie, prolog-smie-grammar): New vars.
11209 (prolog-smie-forward-token, prolog-smie-backward-token)
11210 (prolog-smie-rules): New funs.
11211 (prolog-comment-indent): Remove.
11212 (prolog-mode-variables): Use default comment indentation instead.
11213 Setup SMIE.
11214 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11215 (prolog-mode): Don't call them any more.
11216 (prolog-electric-colon, prolog-electric-dash)
11217 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11218
11219 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11220
11221 * minibuffer.el (completion--twq-all): Again, allow case differences.
11222
11223 * term.el: Move keymap initialization code to be more idiomatic.
11224 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11225 (term-terminal-menu): Move initialization into declaration.
11226 (term-escape-char): Let the user set it in her .emacs.
11227
11228 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11229 Provide SMIE-based indentation (not enabled by default yet).
11230 (sh-mode-map): Don't bind electric keys.
11231 Use electric-pair-mode instead of skeleton-pair.
11232 (sh-assignment-regexp): Fit within 80 columns.
11233 (sh-indent-supported): Specify actual shell name instead of boolean.
11234 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11235 (sh-maybe-here-document): Use it. Make obsolete.
11236 (sh-electric-here-document-mode) New minor mode.
11237 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11238 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11239 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11240 (sh-smie-rc-grammar, sh-use-smie): New vars.
11241 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11242 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11243 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11244 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11245 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11246 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11247 (sh-set-shell): Use smie-setup if requested.
11248
11249 * term.el (term-set-escape-char): Properly set term-escape-char.
11250 See http://stackoverflow.com/questions/10524656.
11251
11252 2012-05-10 Chong Yidong <cyd@gnu.org>
11253
11254 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11255 Use url-generic-parse-url, and handle host names and Windows
11256 filenames properly.
11257 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11258 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11259 URL schemes to work on.
11260 (ffap--toggle-read-only): New function.
11261 (ffap-read-only, ffap-read-only-other-window)
11262 (ffap-read-only-other-frame): Use it.
11263 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11264 necessary for ffap-url-unwrap-remote.
11265
11266 2012-05-10 Dave Abrahams <dave@boostpro.com>
11267
11268 * cus-start.el (create-lockfiles): Add it.
11269
11270 2012-05-09 Chong Yidong <cyd@gnu.org>
11271
11272 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11273 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11274
11275 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11276
11277 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11278
11279 2012-05-09 Chong Yidong <cyd@gnu.org>
11280
11281 * ansi-color.el (ansi-color-process-output): Check for validity of
11282 comint-last-output-start before using it. This avoids a bad
11283 interaction with gdb-mi's input/output buffer.
11284
11285 2012-05-09 Glenn Morris <rgm@gnu.org>
11286
11287 * files.el (dir-locals-read-from-file):
11288 Mention dir-locals in any error message.
11289
11290 2012-05-09 Chong Yidong <cyd@gnu.org>
11291
11292 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11293 package (Bug#11410).
11294
11295 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11296 variables into description.
11297
11298 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11299
11300 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11301 shell-delimiter-argument-list (bug#11348).
11302 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11303
11304 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11305
11306 * textmodes/rst.el: Silence byte-compiler warnings.
11307 (rst-re-alist, rst-reset-section-caches): Move around.
11308 (rst-re): Use `characterp', not `char-valid-p'.
11309 (font-lock-beg, font-lock-end): Declare.
11310
11311 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11312 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11313
11314 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11315
11316 2012-05-08 Glenn Morris <rgm@gnu.org>
11317
11318 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11319
11320 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11321
11322 * vc/log-edit.el: Add GNU coding standards highlighting.
11323 (log-edit-font-lock-gnu-style)
11324 (log-edit-font-lock-gnu-keywords): New vars.
11325 (log-edit-font-lock-keywords): New fun.
11326 (log-edit-mode): Don't fold case in font-lock.
11327 (log-edit-font-lock-keywords): Do not assume case-folding.
11328
11329 * imenu.el: Misc cleanup. Make docstrings out of comments.
11330 Use lexical-binding.
11331 (imenu--index-alist, imenu--last-menubar-index-alist)
11332 (imenu-menubar-modified-tick): Use defvar-local.
11333 (imenu--split-menu): Remove unused var.
11334 (imenu--cleanup-seen): Declare as global.
11335 (imenu--cleanup): Use dolist.
11336
11337 * subr.el (defvar-local): Add debug spec and doc-string position.
11338
11339 2012-05-08 Glenn Morris <rgm@gnu.org>
11340
11341 * language/burmese.el, language/cham.el, language/czech.el:
11342 * language/english.el, language/georgian.el, language/greek.el:
11343 * language/japanese.el, language/khmer.el, language/korean.el:
11344 * language/lao.el, language/misc-lang.el, language/romanian.el:
11345 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11346 * language/thai.el, language/utf-8-lang.el:
11347 Remove no-byte-compile setting.
11348
11349 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11350
11351 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11352
11353 * progmodes/make-mode.el (makefile-browse):
11354 Remove unnecessary interactive. (Bug#11324)
11355
11356 2012-05-07 Glenn Morris <rgm@gnu.org>
11357
11358 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11359
11360 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11361
11362 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11363
11364 * loadup.el: Preload newcomment.el.
11365 * newcomment.el: Move autoload-only code to toplevel.
11366
11367 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11368 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11369 Handle new :right-align column property.
11370 (tabulated-list-print-col): Idem, plus use `display' text-property to
11371 try and preserve alignment for variable pitch fonts.
11372
11373 2012-05-07 Chong Yidong <cyd@gnu.org>
11374
11375 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11376 (tabulated-list-use-header-line): New var.
11377 (tabulated-list-init-header): Use it.
11378 (tabulated-list-print-fake-header): New function.
11379 (tabulated-list-print): Use it.
11380 (tabulated-list-sort-button-map): Add non-header-line commands.
11381 (tabulated-list-init-header): Add column name property to basic
11382 labels as well.
11383 (tabulated-list-col-sort): Handle non-header-line button case.
11384 (tabulated-list--sort-by-column-name): Fix a corner case.
11385
11386 * buff-menu.el (list-buffers--refresh):
11387 Handle Buffer-menu-use-header-line.
11388
11389 2012-05-06 Chong Yidong <cyd@gnu.org>
11390
11391 * buff-menu.el: Convert to Tabulated List mode.
11392 (Buffer-menu-buffer+size-width): Make obsolete.
11393 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11394 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11395 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11396 documentation into docstring of buffer-menu.
11397 (Buffer-menu-toggle-files-only): Add an informative message.
11398 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11399 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11400 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11401 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11402 (Buffer-menu-execute, Buffer-menu-select)
11403 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11404 (Buffer-menu-bury): Use Tabulated List machinery.
11405 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11406 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11407 Delete.
11408 (list-buffers--refresh): New function.
11409 (list-buffers-noselect): Use it.
11410 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11411 (Buffer-menu--pretty-file-name): New helper functions.
11412
11413 * loadup.el: Preload tabulated-list.
11414
11415 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11416 tabulated-list-sort-column.
11417 (tabulated-list-init-header): Add the initial aligning space even
11418 if tabulated-list-padding is zero.
11419
11420 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11421
11422 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11423 whose cdr is not a cons cell correctly (bug#11038).
11424
11425 2012-05-06 Chong Yidong <cyd@gnu.org>
11426
11427 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11428 Accept additional plist in column descriptors.
11429 (tabulated-list-init-header): Obey it.
11430 (tabulated-list-get-entry): New function.
11431 (tabulated-list-put-tag): Use it. Use string-width instead of
11432 length.
11433 (tabulated-list--column-number): New function.
11434 (tabulated-list-print): Use it.
11435 (tabulated-list-print-col): New function.
11436 Set `tabulated-list-column-name' property on each column's text.
11437 (tabulated-list-print-entry): Use it.
11438 (tabulated-list-delete-entry, tabulated-list-set-col):
11439 New functions.
11440 (tabulated-list-sort-column): New command (Bug#11337).
11441
11442 * buff-menu.el (list-buffers): Move C-x C-b binding from
11443 buff-menu.el to bindings.el.
11444
11445 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11446 :advertised-binding feature.
11447
11448 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11449
11450 * progmodes/compile.el (compilation-internal-error-properties):
11451 Calculate start position correctly when end-col is set but
11452 end-line is not (Bug#11382).
11453
11454 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11455
11456 * man.el (Man-unindent): Use text-property-default-nonsticky to
11457 prevent untabify from inheriting face properties (Bug#11408).
11458
11459 2012-05-05 Stefan Merten <smerten@oekonux.de>
11460
11461 * textmodes/rst.el: Major merge with upstream development up to
11462 Docutils SVN r7399 / rst.el V1.2.1.
11463
11464 Clarify maintainership and authors.
11465
11466 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11467 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11468 (rst-official-version, rst-official-cvs-rev, rst-version)
11469 (rst-package-emacs-version-alist): New functions and variables
11470 for version information.
11471
11472 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11473 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11474 (rst-mode-syntax-table, rst-mode): New and corrected functions
11475 and variables representing reStructuredText features.
11476
11477 (rst-re): New function for reStructuredText regexes. Use in
11478 many places.
11479
11480 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11481 (rst-mode-map): Rebind keys.
11482
11483 (rst-mode-lazy, rst-font-lock-keywords)
11484 (rst-font-lock-extend-region)
11485 (rst-font-lock-extend-region-internal)
11486 (rst-font-lock-extend-region-extend)
11487 (rst-font-lock-find-unindented-line-limit)
11488 (rst-font-lock-find-unindented-line-match)
11489 (rst-adornment-level, rst-font-lock-adornment-level)
11490 (rst-font-lock-adornment-match)
11491 (rst-font-lock-handle-adornment-pre-match-form)
11492 (rst-font-lock-handle-adornment-matcher): Major revision of
11493 font-locking. Integrate with other code. Use `jit-lock-mode'.
11494
11495 (rst-preferred-adornments, rst-adjust-hook)
11496 (rst-new-adornment-down, rst-preferred-bullets)
11497 (rst-preferred-bullets, rst-indent, rst-indent-width)
11498 (rst-indent-field, rst-indent-literal-normal)
11499 (rst-indent-literal-minimized, rst-indent-comment): Change,
11500 extend and improve customization.
11501
11502 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11503 (rst-normalize-cursor-position, rst-get-decoration)
11504 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11505 (rst-rstrip, rst-toc-insert-find-delete-contents)
11506 (rst-shift-fill-region, rst-compute-bullet-tabs)
11507 (rst-debug-print-tabs, rst-debug-mark-found)
11508 (rst-shift-region-guts, rst-shift-region-right)
11509 (rst-shift-region-left, rst-use-char-classes)
11510 (rst-font-lock-keywords-function)
11511 (rst-font-lock-indentation-point)
11512 (rst-font-lock-find-unindented-line-begin)
11513 (rst-font-lock-find-unindented-line-end)
11514 (rst-font-lock-find-unindented-line)
11515 (rst-font-lock-adornment-point, rst-font-lock-level)
11516 (rst-adornment-level-alist): Remove functions and variables.
11517
11518 (rst-compare-adornments, rst-get-adornment-match)
11519 (rst-suggest-new-adornment, rst-get-adornments-around)
11520 (rst-adornment-complete-p, rst-get-next-adornment)
11521 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11522 (rst-straighten-adornments): Standardize function names to
11523 use "adornment" instead of "decoration". Correct callers.
11524 Similar standardizing in many places.
11525
11526 (rst-update-section, rst-adjust, rst-promote-region)
11527 (rst-enumerate-region, rst-bullet-list-region)
11528 (rst-repeat-last-character): Correct use of `interactive'.
11529
11530 (rst-classify-adornment, rst-find-all-adornments)
11531 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11532 (rst-find-leftmost-column, rst-repeat-last-character):
11533 Refactor functions.
11534
11535 (rst-find-title-line, rst-reset-section-caches)
11536 (rst-get-adornments-around, rst-adjust-adornment-work)
11537 (rst-arabic-to-roman, rst-roman-to-arabic)
11538 (rst-insert-list-pos, rst-insert-list-new-item)
11539 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11540 New functions.
11541
11542 (rst-all-sections, rst-section-hierarchy)
11543 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11544 New variables.
11545
11546 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11547 configuration instead of only buffer. Change where necessary.
11548
11549 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11550 (rst-shift-region, rst-adaptive-fill): New functions for
11551 indentation and filling.
11552
11553 (rst-comment-line-break, rst-comment-indent)
11554 (rst-comment-insert-comment, rst-comment-region)
11555 (rst-uncomment-region): New functions for handling comments.
11556
11557 (rst-compile): Quote shell arguments.
11558
11559 (rst-compile-pdf-preview, rst-compile-slides-preview):
11560 Delete temporary files after use.
11561
11562 2012-05-05 Glenn Morris <rgm@gnu.org>
11563
11564 * calendar/cal-html.el: Optionally include holidays in the output.
11565 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11566 (cal-html-holidays): New option.
11567 (cal-html-css-default): Add holiday entry.
11568 (holiday-in-range): Autoload it.
11569 (cal-html-htmlify-entry): Add optional class argument.
11570 (cal-html-htmlify-list): Add optional holidays argument.
11571 (cal-html-insert-agenda-days): Include holidays in the output.
11572 (cal-html-one-month): Maybe include holidays.
11573
11574 * calendar/holidays.el (holiday-in-range):
11575 Move here from cal-tex-list-holidays.
11576 * calendar/cal-tex.el (cal-tex-list-holidays):
11577 Make it an obsolete alias for holiday-in-range. Update all callers.
11578
11579 2012-05-05 Chong Yidong <cyd@gnu.org>
11580
11581 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11582 Nextstep.
11583
11584 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11585
11586 * files.el (file-auto-mode-skip): New var.
11587 (set-auto-mode-1): Use it.
11588
11589 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11590
11591 * repeat.el: Use lexical-binding.
11592 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11593 (repeat-undo-count): Remove.
11594 (repeat):
11595 * progmodes/octave-mod.el (octave-abbrev-start):
11596 * progmodes/f90.el (f90-abbrev-start):
11597 * face-remap.el (text-scale-adjust):
11598 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11599
11600 * emacs-lisp/pcase.el (pcase--let*): New function.
11601 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11602 a bit more.
11603 (pcase--split-pred): Be more clever about ruling out overlap between
11604 a predicate and some constant pattern.
11605 (pcase--q1): Use `null' instead of (eq foo nil).
11606
11607 * subr.el (setq-local, defvar-local): New macros.
11608 (kbd): Redefine as an alias.
11609 (with-selected-window): Leave unrelated frames alone.
11610 (set-temporary-overlay-map): New function.
11611
11612 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11613
11614 * subr.el (user-error): New function.
11615 * window.el (switch-to-buffer):
11616 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11617 (smerge-match-conflict):
11618 * simple.el (previous-matching-history-element)
11619 (next-matching-history-element, goto-history-element, undo-more)
11620 (undo-start):
11621 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11622 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11623 (next-file, tags-loop-scan, list-tags, complete-tag):
11624 * progmodes/compile.el (compilation-loop):
11625 * mouse.el (mouse-minibuffer-check):
11626 * man.el (Man-bgproc-sentinel, Man-goto-page):
11627 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11628 (Info-history-forward, Info-follow-reference, Info-menu)
11629 (Info-extract-menu-item, Info-extract-menu-counting)
11630 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11631 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11632 (Info-next-reference, Info-prev-reference, Info-index)
11633 (Info-index-next, Info-follow-nearest-node)
11634 (Info-copy-current-node-name):
11635 * imenu.el (imenu--make-index-alist)
11636 (imenu-default-create-index-function, imenu-add-to-menubar):
11637 * files.el (basic-save-buffer, recover-file):
11638 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11639 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11640 (checkdoc-message-text, checkdoc-defun):
11641 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11642 * cus-edit.el (customize-changed-options, customize-rogue)
11643 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11644 (custom-variable-mark-to-reset-standard)
11645 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11646 (custom-file):
11647 * completion.el (check-completion-length):
11648 * comint.el (comint-search-arg)
11649 (comint-previous-matching-input-string-position)
11650 (comint-previous-matching-input)
11651 (comint-replace-by-expanded-history-before-point, comint-send-input)
11652 (comint-copy-old-input, comint-backward-matching-input)
11653 (comint-goto-process-mark, comint-set-process-mark):
11654 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11655 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11656
11657 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11658
11659 * dabbrev.el (dabbrev--ignore-case-p): New function.
11660 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11661 Use it.
11662
11663 * files.el (automount-dir-prefix): Mark as obsolete.
11664
11665 2012-05-04 Glenn Morris <rgm@gnu.org>
11666
11667 * patcomp.el, play/bruce.el: Move to obsolete/.
11668
11669 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11670
11671 Fix minor Y10k bugs.
11672 * arc-mode.el (archive-unixdate):
11673 * autoinsert.el (auto-insert-alist):
11674 * calc/calc-forms.el (math-this-year):
11675 * emacs-lisp/copyright.el (copyright-current-year)
11676 (copyright-update-year, copyright):
11677 * tar-mode.el (tar-clip-time-string):
11678 * time.el (display-time-update):
11679 Don't assume years have 4 digits.
11680
11681 2012-05-04 Chong Yidong <cyd@gnu.org>
11682
11683 * dos-w32.el (file-name-buffer-file-type-alist)
11684 (direct-print-region-use-command-dot-com):
11685 * ffap.el (ffap-menu-regexp):
11686 * find-file.el (ff-special-constructs):
11687 * follow.el (follow-debug):
11688 * forms.el (forms--debug):
11689 * iswitchb.el (iswitchb-all-frames):
11690 * ido.el (ido-all-frames):
11691 * emacs-lisp/timer.el (timer-max-repeats):
11692 * mail/feedmail.el (feedmail-mail-send-hook)
11693 (feedmail-mail-send-hook-queued):
11694 * mail/footnote.el (footnote-signature-separator):
11695 * mail/mailabbrev.el (mail-alias-separator-string)
11696 (mail-abbrev-mode-regexp):
11697 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11698 * progmodes/idlwave.el (idlwave-libinfo-file)
11699 (idlwave-default-completion-case-is-down)
11700 (idlwave-library-routines): Convert defvars to defcustoms.
11701
11702 * mail/rmail.el (rmail-decode-mime-charset):
11703 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11704 (idlwave-shell-fix-inserted-breaks)
11705 (idlwave-shell-activate-alt-keybindings)
11706 (idlwave-shell-use-breakpoint-glyph):
11707 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11708
11709 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11710
11711 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11712
11713 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11714
11715 * progmodes/verilog-mode.el (font-lock-keywords):
11716 Fix mis-highligting auto. Reported by Craig Barner.
11717 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11718 defines from global name space. Reported by Dan Dever.
11719 (verilog-auto-reset, verilog-auto-reset-widths)
11720 (verilog-auto-tieoff): Support using unbased numbers for
11721 AUTORESET and AUTOTIEOFF.
11722 (verilog-submit-bug-report): Update variable list.
11723 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11724 parenthesis from not matching. Reported by Michael Rytting.
11725 (verilog-auto-template-lint): Fix hash error when linting modules
11726 with no used templates.
11727 (verilog-warn, verilog-warn-error)
11728 (verilog-warn-fatal): When non-interactive report multiple
11729 warnings before exiting. Suggested by Brad Dobbie.
11730 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11731 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11732 to report unused template errors. Reported by Brad Dobbie.
11733 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11734 nets, bug438. Reported by Vns Blore.
11735 (verilog-auto-inout-module, verilog-auto-reg)
11736 (verilog-read-decls, verilog-read-sub-decls-sig)
11737 (verilog-signals-edit-wire-reg, verilog-signals-with):
11738 Fix passing of Verilog data types in ANSI input/output ports
11739 such as "output logic" into the AUTOs. Special case "wire" and
11740 "reg" for backwards compatibility presuming Verilog 2001.
11741 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11742 (verilog-preprocess): Fix replication of preprocess output.
11743 Reported by Brad Dobbie.
11744 (verilog-auto-inst-interfaced-ports):
11745 Create verilog-auto-inst-interfaced-ports, bug429.
11746 Reported by Julian Gorfajn.
11747 (verilog-after-save-font-hook)
11748 (verilog-before-save-font-hook): New variable.
11749 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11750 (verilog-save-font-mods): Wrap disabling fontification, reported
11751 by David Rogoff.
11752 (verilog-do-indent, verilog-pretty-declarations-auto)
11753 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11754 Reported by Pierre-David Pfister.
11755 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11756 of class declarations, bug292. Reported by Kevin Heilman.
11757 (verilog-read-decls): Fix 'parameter type' not appearing in
11758 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11759 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11760 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11761 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11762 Reported by David Kravitz.
11763
11764 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11765
11766 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11767 assignment with tests in ifs and for loops.
11768 (verilog-extended-complete-re, verilog-complete-reg): Change so
11769 that DPI inport functions don't look like fuction declarations.
11770 (verilog-pretty-expr): Don't line up assignment
11771 operations to the test and increment in if and for loops
11772 (verilog-extended-complete-re, verilog-complete-reg): Change so
11773 that DPI inport functions don't look like fuction declarations.
11774
11775 2012-05-03 Kenichi Handa <handa@m17n.org>
11776
11777 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11778 decoding, and show a warning message without signaling an error
11779 (Bug#11282).
11780
11781 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11782
11783 * emacs-lisp/bytecomp.el
11784 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11785 since cconv.el might have introduced :fun-body, internal-make-closure,
11786 and friends for bytecomp to handle (bug#11391).
11787 * custom.el (defcustom): Avoid ((λ ..) ..).
11788
11789 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11790
11791 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11792
11793 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11794
11795 * notifications.el (dbus-debug):
11796 * term/linux.el (gpm-mouse-enable):
11797 * term/screen.el (xterm-register-default-colors): Declare.
11798
11799 2012-05-02 Chong Yidong <cyd@gnu.org>
11800
11801 * cus-start.el (gc-cons-percentage, exec-suffixes)
11802 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11803 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11804 (make-cursor-line-fully-visible, void-text-area-pointer)
11805 (font-list-limit): Add customization data.
11806
11807 * allout.el (allout-exposure-change-functions)
11808 (allout-structure-added-functions)
11809 (allout-structure-deleted-functions)
11810 (allout-structure-shifted-functions): Rename abnormal hooks from
11811 *-hook, and convert to defcustoms.
11812 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11813 Convert to defcustoms.
11814 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11815
11816 * allout-widgets.el: Hook callers changed.
11817
11818 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11819
11820 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11821 the yanked message in preference to the default value of
11822 buffer-file-coding-system.
11823
11824 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11825
11826 * window.el (display-buffer--action-function-custom-type):
11827 Fix entry.
11828
11829 2012-05-02 Alan Mackenzie <acm@muc.de>
11830
11831 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11832
11833 2012-05-01 Glenn Morris <rgm@gnu.org>
11834
11835 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11836
11837 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11838
11839 * cus-edit.el (custom-variable-documentation): Simplify with format.
11840
11841 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11842 Stefan Monnier <monnier@iro.umontreal.ca>
11843
11844 * simple.el (suggest-key-bindings, execute-extended-command):
11845 Move from keyboard.c.
11846
11847 2012-05-01 Chong Yidong <cyd@gnu.org>
11848
11849 * follow.el: Eliminate advice.
11850 (set-process-filter, process-filter, sit-for): Advice deleted.
11851 (follow-mode-off-hook): Obsolete hook removed.
11852 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11853 Vars deleted.
11854 (follow-auto): Use a :set function.
11855 (follow-mode): Rewritten. Don't advise process filters.
11856 (follow-switch-to-current-buffer-all, follow-scroll-up)
11857 (follow-scroll-down): Assume follow-mode is bound.
11858 (follow-comint-scroll-to-bottom)
11859 (follow-align-compilation-windows): New functions.
11860 (follow--window-sorter): New function.
11861 (follow-all-followers): Use it to explicitly sort windows by their
11862 positions; don't make assumptions about next-window order.
11863 (follow-windows-start-end, follow-delete-other-windows-and-split)
11864 (follow-calc-win-start): Doc fix.
11865 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11866 vertical-motion unnecessarily.
11867 (follow-adjust-window): New function.
11868 (follow-post-command-hook): Use it.
11869 (follow-call-set-process-filter, follow-call-process-filter)
11870 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11871 (follow-stop-intercept-process-output, follow-generic-filter):
11872 Functions deleted.
11873 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11874 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11875 New functions, replacing advice on scroll-bar-* commands.
11876 (follow-mwheel-scroll): New function (Bug#4112).
11877
11878 * comint.el (comint-adjust-point): New function.
11879 (comint-postoutput-scroll-to-bottom): Use it.
11880 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11881
11882 2012-05-01 Glenn Morris <rgm@gnu.org>
11883
11884 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11885 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11886 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11887 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11888 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11889 Remove no-byte-compile setting.
11890
11891 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11892
11893 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11894 all-completions code to not return a number in the last cdr.
11895
11896 2012-04-30 Leo Liu <sdl.web@gmail.com>
11897
11898 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11899 read-only error.
11900
11901 2012-04-29 Chong Yidong <cyd@gnu.org>
11902
11903 * follow.el (follow-calc-win-end): Rewrite to handle partial
11904 screen lines correctly (Bug#8390).
11905 (follow-avoid-tail-recenter): Minor cleanup.
11906
11907 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11908
11909 Avoid the obsolete `assoc' package.
11910 * speedbar.el (speedbar-refresh): Avoid adelete.
11911 (speedbar-file-lists): Simplify and avoid aput.
11912 * man.el (Man--sections, Man--refpages): New vars, replacing
11913 Man-sections-alist and Man-refpages-alist.
11914 (Man-build-section-alist, Man-build-references-alist):
11915 Use them; avoid aput.
11916 (Man--last-section, Man--last-refpage): New vars.
11917 (Man-follow-manual-reference): Use them.
11918 Use the `default' arg of completing-read.
11919 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11920
11921 2012-04-27 Chong Yidong <cyd@gnu.org>
11922
11923 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11924
11925 * startup.el (x-apply-session-resources): New function.
11926
11927 * term/ns-win.el (ns-initialize-window-system):
11928 * term/w32-win.el (w32-initialize-window-system):
11929 * term/x-win.el (x-initialize-window-system): Use it to properly
11930 set menu-bar-mode and other vars from X resources, even if the
11931 initial frame is not a window-system frame (Bug#2299).
11932
11933 * subr.el (read-key): Avoid running filter function when setting
11934 up temporary tool bar entries (Bug#9922).
11935
11936 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11937
11938 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11939 (Bug#11344)
11940
11941 2012-04-27 Chong Yidong <cyd@gnu.org>
11942
11943 * select.el (xselect--encode-string): New function, split from
11944 xselect-convert-to-string.
11945 (xselect-convert-to-string): Use it.
11946 (xselect-convert-to-filename, xselect-convert-to-os)
11947 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11948 returned strings are properly encoded (Bug#11315).
11949
11950 2012-04-27 Chong Yidong <cyd@gnu.org>
11951
11952 * simple.el (delete-active-region): Move to killing custom group.
11953
11954 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11955
11956 * progmodes/which-func.el (which-func-current): Quote %
11957 characters for mode-line processing.
11958
11959 2012-04-27 Chong Yidong <cyd@gnu.org>
11960
11961 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11962 reaching eob (Bug#11286).
11963
11964 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11965
11966 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11967 (gdb): Make it buffer-local and init to zero.
11968 (gdb-control-commands-regexp): New variable.
11969 (gdb-send): Don't wrap in "-interpreter-exec console" if
11970 gdb-control-level is positive. Increment gdb-control-level
11971 whenever the command matches gdb-control-commands-regexp, and
11972 decrement it each time the command is "end". (Bug#11279)
11973
11974 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11975
11976 * window.el (adjust-window-trailing-edge, enlarge-window)
11977 (shrink-window, window-resize):
11978 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11979 windows (Bug#11276).
11980
11981 2012-04-27 Chong Yidong <cyd@gnu.org>
11982
11983 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11984 fix "missing prefix" warning. All callers changed.
11985
11986 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11987
11988 * emacs-lisp/assoc.el: Move to obsolete/.
11989
11990 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11991
11992 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11993
11994 * term/ns-win.el (ns-define-service):
11995 * progmodes/pascal.el (pascal-goto-defun):
11996 * progmodes/js.el (js--read-tab):
11997 * progmodes/etags.el (tags-lazy-completion-table):
11998 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11999 * emacs-lisp/ewoc.el (ewoc--wrap):
12000 * emacs-lisp/assoc.el (aput, adelete, amake):
12001 * doc-view.el (doc-view-convert-current-doc):
12002 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12003
12004 2012-04-26 Chong Yidong <cyd@gnu.org>
12005
12006 * image.el (image-type-from-buffer): Only return supported image
12007 type (Bug#9045).
12008
12009 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12010 value, for symmetry with diff-end-of-hunk.
12011 (diff-split-hunk, diff-find-source-location)
12012 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12013 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12014 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12015 compute the relevant hunk or file properly (Bug#6005).
12016 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12017
12018 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12019
12020 * vc/vc-mtn.el:
12021 * vc/vc-hg.el:
12022 * vc/vc-git.el:
12023 * vc/vc-dir.el:
12024 * vc/vc-cvs.el:
12025 * vc/vc-bzr.el:
12026 * vc/vc-arch.el:
12027 * vc/vc.el: Replace lexical-let by lexical-binding.
12028 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12029 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12030 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12031
12032 2012-04-26 Chong Yidong <cyd@gnu.org>
12033
12034 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12035 (diff-mode-shared-map): Bind it to / and [remap undo].
12036
12037 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12038 (ediff-window-setup-function): Use it as the default, to set up
12039 windows based on whether the current frame is graphical (Bug#2138).
12040 (ediff-choose-window-setup-function-automatically): Make obsolete.
12041
12042 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12043
12044 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12045
12046 * ffap.el: Remove old code for obsolete package.
12047 (ffap-complete-as-file-p): Remove.
12048
12049 Use completion-table-with-quoting for comint and pcomplete.
12050 * comint.el (comint--unquote&requote-argument)
12051 (comint--unquote-argument, comint--requote-argument): New functions.
12052 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12053 (comint-quote-filename): Use regexp-opt-charset.
12054 (comint--common-suffix, comint--common-quoted-suffix)
12055 (comint--table-subvert): Remove.
12056 (comint-unquote-function, comint-requote-function): New vars.
12057 (comint--complete-file-name-data): Use them with
12058 completion-table-with-quoting.
12059 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12060 * pcomplete.el (pcomplete-arg-quote-list)
12061 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12062 (pcomplete-unquote-argument-function): Default to non-nil.
12063 (pcomplete-unquote-argument): Simplify.
12064 (pcomplete--common-quoted-suffix): Remove.
12065 (pcomplete-requote-argument-function): New var.
12066 (pcomplete--common-suffix): New function.
12067 (pcomplete-completions-at-point): Use completion-table-with-quoting
12068 and completion-table-subvert.
12069
12070 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12071 (minibuffer--double-dollars): Preserve properties.
12072 (completion--sifn-requote): New function.
12073 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12074
12075 * minibuffer.el: Add support for completion of quoted/escaped data.
12076 (completion-table-with-quoting, completion-table-subvert): New funs.
12077 (completion--twq-try, completion--twq-all): New functions.
12078 (completion--nth-completion): New function.
12079 (completion-try-completion, completion-all-completions): Use it.
12080
12081 2012-04-25 Leo Liu <sdl.web@gmail.com>
12082
12083 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12084 Use compilation-message if available to find real filename.
12085
12086 2012-04-25 Chong Yidong <cyd@gnu.org>
12087
12088 * vc/diff-mode.el (diff-setup-whitespace): New function.
12089 (diff-mode): Use it.
12090
12091 * vc/diff.el (diff-sentinel):
12092 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12093 Whitespace mode variables based on diff style (Bug#8612).
12094
12095 2012-04-25 Leo Liu <sdl.web@gmail.com>
12096
12097 * progmodes/python.el (python-send-region): Add suffix .py to the
12098 temp file.
12099
12100 * files.el (auto-mode-alist): Use javascript-mode instead.
12101
12102 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12103
12104 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12105
12106 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12107 (soap-resolve-references-for-array-type): Hack to prevent self
12108 references, see Bug#9.
12109 (soap-parse-envelope): Report the contents of the 'detail' node
12110 when receiving a fault reply.
12111 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12112
12113 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12114 (soap-inspect-simple-type): New function.
12115
12116 * net/soap-client.el (soap-simple-type): New struct.
12117 (soap-default-xsd-types, soap-default-soapenc-types)
12118 (soap-decode-basic-type, soap-encode-basic-type):
12119 support unsignedInt and double basic types.
12120 (soap-resolve-references-for-simple-type)
12121 (soap-parse-simple-type, soap-encode-simple-type): New function.
12122 (soap-parse-schema): Parse xsd:simpleType declarations.
12123
12124 * net/soap-client.el (soap-default-xsd-types)
12125 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12126 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12127 the local name of "soapenc:Array".
12128 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12129 decoding integer, byte and anyURI xsd types.
12130
12131 2012-04-25 Chong Yidong <cyd@gnu.org>
12132
12133 * cus-edit.el (custom-buffer-create-internal): Update header text.
12134
12135 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12136
12137 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12138 settings on 'system-type', not on 'window-system'. On MS-Windows,
12139 set interactive-mode on in GDB.
12140
12141 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12142
12143 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12144 (ruby-syntax-propertize-regexp): Remove.
12145 (ruby-syntax-propertize-function): Split regexp into chunks.
12146 Match following code directly.
12147
12148 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12149
12150 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12151 (ruby-syntax-propertize-regexp): New function.
12152 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12153 by a special keyword.
12154
12155 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12156 (ruby-syntax-general-delimiters-goto-beg)
12157 (ruby-syntax-propertize-general-delimiters): New functions.
12158 (ruby-syntax-propertize-function): Use them to handle GDL.
12159 (ruby-font-lock-keywords): Move old handling of GDL...
12160 (ruby-font-lock-syntactic-keywords): .. to here.
12161 (ruby-calculate-indent): Adjust indentation for GDL.
12162
12163 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12164
12165 * notifications.el (top): Remove unneeded declarations.
12166 (notifications-specification-version): Change to "1.2".
12167 (notifications-interface, notifications-notify-method)
12168 (notifications-close-notification-method): Fix docstring.
12169 (notifications-get-capabilities-method): New defconst.
12170 (notifications-notify): Add :action-items, :resident and
12171 :transient hints. Change "image_data" to "image-data" and
12172 "image_path" to "image-path".
12173 (notifications-get-capabilities): New defun.
12174
12175 2012-04-24 Leo Liu <sdl.web@gmail.com>
12176
12177 * progmodes/python.el: Move hideshow setup to the end.
12178
12179 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12180
12181 * window.el (handle-select-window): Clear echo area since this is
12182 no more done by read_char (Bug#11304).
12183
12184 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12185
12186 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12187 and `/ M' to filter-derived-mode.
12188 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12189 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12190 (ibuffer-mark-by-mode): Use default rather than initial-input.
12191 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12192
12193 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12194
12195 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12196 (ibuffer-filter-by-derived-mode): New filter.
12197 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12198
12199 2012-04-23 Andreas Politz <politza@fh-trier.de>
12200
12201 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12202
12203 2012-04-23 Chong Yidong <cyd@gnu.org>
12204
12205 * cus-edit.el (customize-apropos, customize-apropos-options):
12206 Disable matching of non-option variables (Bug#11176).
12207 (customize-option, customize-option-other-window)
12208 (customize-changed-options): Doc fix.
12209 (customize-apropos-options, customize-apropos-faces)
12210 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12211
12212 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12213 Fix word list splitting (Bug#11132).
12214 (apropos-symbol, apropos-keybinding, apropos-label)
12215 (apropos-property, apropos-function-button)
12216 (apropos-variable-button, apropos-misc-button): New faces.
12217 (apropos-symbol-face, apropos-keybinding-face)
12218 (apropos-label-face, apropos-property-face, apropos-match-face):
12219 Variables removed (Bug#8396).
12220 (apropos-library-button, apropos-format-plist, apropos-print)
12221 (apropos-print-doc, apropos-describe-plist): Callers changed.
12222
12223 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12224
12225 * net/xesam.el (xesam-mode-map): Use let-bound map in
12226 initialization. (Bug#11292)
12227
12228 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12229
12230 Preserve ispell session localwords when switching back to
12231 original buffer.
12232
12233 * textmodes/ispell.el (ispell-buffer-session-localwords):
12234 New buffer-local variable to hold buffer session localwords.
12235 (ispell-kill-ispell): Add option 'clear to delete session
12236 localwords.
12237 (ispell-command-loop, ispell-change-dictionary)
12238 (ispell-buffer-local-words): Preserve session localwords when
12239 needed.
12240
12241 * textmodes/flyspell.el (flyspell-process-localwords)
12242 (flyspell-do-correct): Preserve session localwords when needed.
12243
12244 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12245
12246 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12247 using obsolete `translation-table-for-input'.
12248 (ispell-word, ispell-process-line, ispell-complete-word):
12249 Use plain `insert' instead of removed `ispell-insert-word'.
12250
12251 2012-04-22 Chong Yidong <cyd@gnu.org>
12252
12253 * cus-edit.el (custom-variable-menu)
12254 (custom-variable-reset-saved, custom-face-menu)
12255 (custom-face-reset-saved): If there is no saved value, make the
12256 "reset-saved" operation bring back the default (Bug#9509).
12257 (custom-face-state): Properly detect themed faces.
12258
12259 * faces.el (face-spec-set): Stop supporting deprecated form of
12260 third arg.
12261
12262 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12263
12264 Move functions from C to Lisp. Make non-blocking method calls
12265 the default. Implement further D-Bus standard interfaces.
12266
12267 * net/dbus.el (dbus-message-internal): Declare function.
12268 Remove unneeded function declarations.
12269 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12270 (dbus-message-type-method-return, dbus-message-type-error)
12271 (dbus-message-type-signal): Declare variables. Remove local
12272 definitions.
12273 (dbus-interface-dbus, dbus-interface-peer)
12274 (dbus-interface-introspectable, dbus-interface-properties)
12275 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12276 Adapt docstring.
12277 (dbus-interface-objectmanager): New defconst.
12278 (dbus-call-method, dbus-call-method-asynchronously)
12279 (dbus-send-signal, dbus-method-return-internal)
12280 (dbus-method-error-internal, dbus-register-service)
12281 (dbus-register-signal, dbus-register-method): New defuns, moved
12282 from dbusbind.c
12283 (dbus-call-method-handler, dbus-setenv)
12284 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12285 New defuns.
12286 (dbus-call-method-non-blocking): Make it an obsolete function.
12287 (dbus-unregister-object, dbus-unregister-service)
12288 (dbus-handle-event, dbus-register-property)
12289 (dbus-property-handler): Obey the new structure of
12290 `bus-registered-objects'.
12291 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12292 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12293 Use `dbus-call-method'.
12294
12295 2012-04-22 Chong Yidong <cyd@gnu.org>
12296
12297 * cus-edit.el (custom-commands, custom-reset-menu)
12298 (Custom-reset-standard): Tweak labels.
12299 (custom-reset-button-menu): Change default to t.
12300 (custom-buffer-create-internal): For the custom-reset-button-menu
12301 case, put the revert button first.
12302 (custom-group-subtitle): New face.
12303 (custom-group-value-create): Align docstring to a specific column.
12304
12305 * wid-edit.el (widget-documentation-link-add): Don't handle
12306 indentation in this function.
12307 (widget-documentation-string-indent-to): New function.
12308 (widget-documentation-string-value-create): Use it.
12309
12310 * autorevert.el (auto-revert):
12311 * epg-config.el (epg):
12312 * ibuffer.el (ibuffer):
12313 * mpc.el (mpc):
12314 * ses.el (ses):
12315 * eshell/eshell.el (eshell):
12316 * net/ange-ftp.el (ange-ftp):
12317 * progmodes/ebnf2ps.el (postscript):
12318 * progmodes/flymake.el (flymake):
12319 * progmodes/prolog.el (prolog):
12320 * progmodes/verilog-mode.el (verilog-mode):
12321 * progmodes/which-func.el (which-func):
12322 * term/xterm.el (xterm):
12323 * textmodes/picture.el (picture):
12324 * textmodes/tildify.el (tildify):
12325 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12326 customization buffers.
12327
12328 2012-04-22 Alan Mackenzie <acm@muc.de>
12329
12330 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12331 Adding a ) can hide the resulting (..) from searches. Fix it.
12332 Bound the backward search to the position of the existing (.
12333
12334 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12335
12336 * progmodes/verilog-mode.el (verilog-mode): Check whether
12337 which-func-modes is t before adding verilog-mode.
12338 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12339
12340 2012-04-21 Leo Liu <sdl.web@gmail.com>
12341
12342 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12343
12344 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12345
12346 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12347 filling of the last column of a table (Bug#5635).
12348 (woman-find-next-control-line): New arg, specifying an additional
12349 regexp component for the control line.
12350 (woman2-roff-buffer): Use it.
12351 (woman-break-table): New function.
12352 (woman2-TS): Use it.
12353
12354 2012-04-21 Chong Yidong <cyd@gnu.org>
12355
12356 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12357 (woman-horizontal-escapes, woman-negative-vertical-space)
12358 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12359 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12360
12361 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12362
12363 * minibuffer.el (completion-file-name-table): Complete user names.
12364
12365 2012-04-20 Leo Liu <sdl.web@gmail.com>
12366
12367 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12368 and pcase-let*.
12369
12370 2012-04-20 Chong Yidong <cyd@gnu.org>
12371
12372 * server.el (server-execute): Respect initial-buffer-choice if it
12373 is a string and there are no files to open (Bug#2825).
12374 (server-create-window-system-frame, server-create-tty-frame):
12375 Don't switch buffers here.
12376 (server-process-filter): Only try to open a window system frame if
12377 compiled with graphical support (Bug#8314).
12378
12379 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12380
12381 * battery.el (battery-echo-area-format): Display remaining time
12382 for sysfs backend too (Bug#11269).
12383 (battery-linux-sysfs): Fix conditional for the charge.
12384
12385 2012-04-20 Chong Yidong <cyd@gnu.org>
12386
12387 * progmodes/gdb-mi.el (gdb): Revert previous change.
12388 (gdb-inferior-io--init-proc): New function.
12389 (gdb-init-1): Use it.
12390 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12391 responsible for allocating a new pty and hooking it to gdb when
12392 the old pty gets an EIO due to process exit.
12393 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12394 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12395 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12396
12397 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12398
12399 * window.el (window-min-size, window-sizable, window-min-delta)
12400 (window-max-delta, window--resizable, window-resizable)
12401 (window-total-size, window-full-height-p, window-full-width-p)
12402 (window-in-direction, window--resize-mini-window, window-resize)
12403 (window--resize-child-windows-normal)
12404 (window--resize-child-windows, window--resize-siblings)
12405 (window--resize-this-window, adjust-window-trailing-edge)
12406 (enlarge-window, shrink-window): Doc fixes.
12407
12408 2012-04-20 Chong Yidong <cyd@gnu.org>
12409
12410 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12411 New function to call delete-process on the gdb-inferior buffer's pty.
12412 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12413 pty process (Bug#11273).
12414 (gdb-update): New arg to suppress talking to the gdb process.
12415 (gdb-done-or-error): Use it.
12416 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12417 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12418 sentinel not being called.
12419
12420 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12421
12422 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12423
12424 2012-04-20 Glenn Morris <rgm@gnu.org>
12425
12426 * net/network-stream.el (open-network-stream): Doc fix.
12427
12428 2012-04-20 Chong Yidong <cyd@gnu.org>
12429
12430 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12431
12432 2012-04-20 Alan Mackenzie <acm@muc.de>
12433
12434 Ensure searching for keywords is case sensitive.
12435
12436 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12437 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12438 (c-defun-name, c-mark-function, c-cpp-define-name)
12439 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12440 (c-context-line-break): Bind case-fold-search to nil.
12441
12442 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12443 Bind case-fold-search to nil.
12444
12445 2012-04-20 Chong Yidong <cyd@gnu.org>
12446
12447 * mail/sendmail.el (mail-bury): Call return action with the right
12448 Rmail buffer (Bug#11242).
12449
12450 * server.el (server-process-filter): Handle corner case where both
12451 tty and nowait options are present (Bug#11102).
12452
12453 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12454
12455 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12456 (top level): Put into the executable the ident-style '$Id:' tag on
12457 windows-nt as well.
12458
12459 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12460
12461 * electric.el (electric-indent-post-self-insert-function): Check that
12462 electric-indent-mode is enabled in current buffer.
12463
12464 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12465
12466 * imenu.el (imenu-progress-message): Restore; it is "used" in
12467 erc/erc-imenu.el and net/snmp-mode.el.
12468
12469 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12470
12471 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12472 (mouse-avoidance-nudge-mouse): Remove unused binding.
12473
12474 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12475
12476 * descr-text.el (describe-char):
12477 * progmodes/python.el (python-describe-symbol):
12478 Don't call `toggle-read-only', set `buffer-read-only'.
12479
12480 * imenu.el (imenu-default-goto-function): Mark unused args.
12481 (imenu-progress-message): Remove obsolete macro; all callers changed.
12482
12483 * subr.el (keymap-canonicalize): Remove unused binding.
12484 (read-passwd): Mark unused arg.
12485
12486 * tutorial.el (tutorial--display-changes): Remove unused binding.
12487 (tutorial--save-tutorial-to): Remove unused variable.
12488
12489 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12490 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12491 (package-generate-autoloads, package-menu--generate)
12492 (package-menu--find-upgrades): Remove unused bindings.
12493
12494 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12495 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12496 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12497 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12498 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12499 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12500 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12501 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12502 (cua-delete-char-rectangle): Mark unused args.
12503 (cua-align-rectangle): Remove unused binding.
12504
12505 * mail/rmail.el (compilation--message->loc)
12506 (epa--find-coding-system-for-mime-charset): Declare.
12507
12508 * net/dbus.el (dbus-register-service): Declare.
12509 (dbus-name-owner-changed-handler): Remove unused binding.
12510
12511 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12512 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12513 (nxml-scan-backward-within): Mark unused arg.
12514 (nxml-dynamic-markup-word): Remove unused binding.
12515
12516 * mouse.el (mouse-menu-major-mode-map):
12517 * emacs-lisp/authors.el (authors-scan-change-log)
12518 (authors-add-to-author-list):
12519 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12520 * emacs-lisp/smie.el (smie-auto-fill):
12521 * mail/sendmail.el (mail-bury):
12522 * mail/unrmail.el (unrmail):
12523 * net/tls.el (open-tls-stream):
12524 * textmodes/picture.el (picture-mouse-set-point):
12525 Remove unused bindings.
12526
12527 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12528
12529 * net/tramp.el (tramp-action-password): Let-bind
12530 `enable-recursive-minibuffers' to t.
12531
12532 2012-04-18 Sam Steingold <sds@gnu.org>
12533
12534 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12535 instead of 'string to accommodate values like [f11].
12536 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12537 * progmodes/gdb-mi.el: Likewise.
12538
12539 2012-04-18 Leo Liu <sdl.web@gmail.com>
12540
12541 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12542 current buffer.
12543 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12544 LOCAL is nil.
12545
12546 2012-04-18 Chong Yidong <cyd@gnu.org>
12547
12548 * simple.el (line-move): Use forward-line if in batch mode
12549 (Bug#11053).
12550
12551 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12552
12553 * files.el (after-find-file): Do not try to add a final newline if
12554 the buffer is read-only (Bug#11156).
12555
12556 2012-04-17 Richard Stallman <rms@gnu.org>
12557
12558 * mail/rmail.el (rmail-start-mail):
12559 Pass (rmail-mail-return...) for the return-action.
12560 Pass (rmail-yank-current-message...) for the yank-action.
12561 (rmail-yank-current-message): New function.
12562 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12563 (rmail-reply): Likewise.
12564 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12565
12566 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12567 buffer, not the last. Reject temp buffers. Use the rmail-mode
12568 buffer, not newbuf.
12569
12570 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12571
12572 * server.el (server-ensure-safe-dir): Simplify.
12573
12574 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12575
12576 * emacs-lisp/smie.el: Provide smarter auto-filling.
12577 (smie-auto-fill): New function.
12578 (smie-setup): Use it.
12579
12580 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12581
12582 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12583
12584 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12585 (comment-indent): Use it.
12586
12587 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12588
12589 * ses.el: The overall change is to add cell renaming, that is
12590 setting fancy names for cell symbols other than name matching
12591 "\\`[A-Z]+[0-9]+\\'" regexp .
12592 (ses-localvars): Add ses--renamed-cell-symb-list.
12593 (ses-create-cell-variable): New defun.
12594 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12595 (ses-relocate-formula): Relocate formulas only for cells the
12596 symbols of which are not renamed, i.e. symbols whose names do not
12597 match regexp "\\`[A-Z]+[0-9]+\\'".
12598 (ses-relocate-all): Relocate values only for cells the symbols of
12599 which are not renamed.
12600 (ses-load): Create cells variables as the (ses-cell ...) are read,
12601 in order to check row col consistency with cell symbol name only
12602 for cells that are not renamed.
12603 (ses-replace-name-in-formula): New defun.
12604 (ses-rename-cell): New defun.
12605
12606 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12607
12608 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12609 New option (bug#11118).
12610 (perl-calculate-indent): Respect it.
12611
12612 2012-04-17 Glenn Morris <rgm@gnu.org>
12613
12614 * dired-aux.el (dired-mark-read-string): Doc fix.
12615
12616 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12617
12618 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12619 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12620
12621 2012-04-17 Glenn Morris <rgm@gnu.org>
12622
12623 * mouse.el (mouse-drag-track):
12624 * speedbar.el (speedbar-frame-mode):
12625 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12626
12627 2012-04-16 Leo Liu <sdl.web@gmail.com>
12628
12629 * progmodes/python.el: Trivial cleanup.
12630
12631 2012-04-16 Glenn Morris <rgm@gnu.org>
12632
12633 * vc/vc.el (vc-string-prefix-p):
12634 * vc/pcvs-util.el (cvs-string-prefix-p):
12635 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12636 * mpc.el (mpc-string-prefix-p):
12637 Make all of these into obsolete aliases for string-prefix-p.
12638 Update callers.
12639 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12640
12641 * textmodes/two-column.el: Move custom options to the start.
12642 (frame-width): Remove compat definition.
12643 (2C-associate-buffer, 2C-dissociate):
12644 Use with-current-buffer rather than save-excursion.
12645 (2C-dissociate): Force a mode-line update.
12646 (2C-autoscroll): Use ignore-errors.
12647
12648 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12649 Autoload trivia.
12650
12651 * emacs-lisp/cl-extra.el (*random-state*):
12652 Remove unnecessary declaration.
12653
12654 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12655
12656 * play/cookie1.el (cookie-snarf):
12657 Give an explicit error if input file cannot be read.
12658
12659 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12660
12661 * progmodes/perl-mode.el (c-macro-expand):
12662 Remove unnecessary autoload (it is in loaddefs.el).
12663
12664 * textmodes/picture.el (picture-desired-column)
12665 (picture-update-desired-column): Convert comments to doc-strings.
12666 (picture-substitute): Remove function.
12667 (picture-mode-map): Initialize in the defvar.
12668
12669 * woman.el: Remove eval-after-load for tar-mode.
12670 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12671 (woman-tar-extract-file): Autoload it.
12672
12673 * frame.el (automatic-hscrolling): Make this alias obsolete.
12674
12675 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12676
12677 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12678 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12679 (ispell-dictionary-base-alist): Revert to original XEmacs
12680 friendly version for default. [:alpha:] will be added in
12681 `ispell-set-spellchecker-params' if needed.
12682
12683 2012-04-16 Chong Yidong <cyd@gnu.org>
12684
12685 * image.el (imagemagick--file-regexp): New variable.
12686 (imagemagick-register-types): Use it.
12687 (imagemagick-types-inhibit): Add :set function. Allow new value
12688 of t to inhibit all types.
12689
12690 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12691 so we can preload it.
12692
12693 * loadup.el (fboundp): Preload regexp-opt, needed by
12694 imagemagick-register-types.
12695
12696 2012-04-15 Chong Yidong <cyd@gnu.org>
12697
12698 * frame.el (scrolling): Remove nearly unused customization group.
12699
12700 * scroll-all.el (scroll-all-mode): Move to windows group.
12701
12702 2012-04-15 Chong Yidong <cyd@gnu.org>
12703
12704 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12705
12706 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12707
12708 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12709 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12710
12711 2012-04-15 Glenn Morris <rgm@gnu.org>
12712
12713 * simple.el (process-file-side-effects): Doc fix.
12714
12715 2012-04-15 Glenn Morris <rgm@gnu.org>
12716
12717 * international/mule-cmds.el (set-language-environment): Doc fix.
12718
12719 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12720
12721 * server.el (server-auth-key, server-generate-key): Doc fixes.
12722 (server-get-auth-key): Doc fix. Use `string-match-p'.
12723 (server-start): Reflow docstring.
12724
12725 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12726
12727 * server.el (server-generate-key): `called-interactively-p'
12728 requires a parameter.
12729
12730 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12731
12732 * server.el (server-auth-key): New variable.
12733 (server-generate-key, server-get-auth-key): New function.
12734 (server-start): Use the new variable and functions to allow
12735 setting a permanent server key (bug#9423).
12736
12737 2012-04-14 Leo Liu <sdl.web@gmail.com>
12738
12739 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12740
12741 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12742
12743 Spelling fixes.
12744 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12745 Emacs uses American spelling.
12746
12747 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12748
12749 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12750 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12751 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12752 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12753
12754 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12755
12756 * progmodes/which-func.el (which-func-modes): Change default.
12757
12758 2012-04-14 Kim F. Storm <storm@cua.dk>
12759
12760 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12761 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12762
12763 2012-04-14 Chong Yidong <cyd@gnu.org>
12764
12765 * custom.el (custom-theme-set-variables): Doc fix.
12766
12767 2012-04-14 Glenn Morris <rgm@gnu.org>
12768
12769 * international/mule.el (set-auto-coding-for-load): Doc fix.
12770
12771 2012-04-14 Alan Mackenzie <acm@muc.de>
12772
12773 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12774 imenu work again for Objective C Mode. Correct the *-index values,
12775 these having been disturbed by a previous change in 2011-08.
12776
12777 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12778 Correct two search limits.
12779
12780 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12781
12782 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12783
12784 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12785
12786 * international/characters.el: Fix sorting.
12787
12788 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12789
12790 * international/characters.el: Add more missing Latin case pairs.
12791
12792 2012-04-14 Glenn Morris <rgm@gnu.org>
12793
12794 * files.el (dir-locals-set-class-variables): Doc fix.
12795
12796 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12797
12798 * international/characters.el: Add set-case-syntax-pair call for
12799 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12800 counterpart. (Bug#11209)
12801
12802 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12803
12804 2012-04-14 Glenn Morris <rgm@gnu.org>
12805
12806 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12807
12808 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12809
12810 * textmodes/ispell.el (ispell-dictionary-base-alist):
12811 Add data for Hebrew.
12812
12813 2012-04-14 Chong Yidong <cyd@gnu.org>
12814
12815 * net/rcirc.el (rcirc-cmd-quit):
12816 Revert 2012-03-18 change (Bug#11192).
12817
12818 2012-04-14 Glenn Morris <rgm@gnu.org>
12819
12820 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12821
12822 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12823
12824 * minibuffer.el (completion-in-region-mode-map):
12825 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12826
12827 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12828
12829 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12830
12831 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12832
12833 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12834 to allow `C-M-f' and `C-M-b' to move to the nearest path
12835 separator (bug#9511).
12836
12837 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12838
12839 * avoid.el: Require cl when compiling. And also move the
12840 `provide' to the end.
12841
12842 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12843
12844 * avoid.el (mouse-avoidance-banish-position): New variable.
12845 (mouse-avoidance-banish-destination): Use it (bug#10165).
12846
12847 2012-04-13 Leo Liu <sdl.web@gmail.com>
12848
12849 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12850
12851 2012-04-13 Ken Brown <kbrown@cornell.edu>
12852
12853 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12854 this is no longer needed now that cygstart understands file:// URLs.
12855 (browse-url-filename-alist): For the same reason, don't modify
12856 file:// URLs on Cygwin.
12857
12858 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12859
12860 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12861 the region on shift if the binding is already shifted (bug#11221).
12862
12863 2012-04-12 Glenn Morris <rgm@gnu.org>
12864
12865 * mail/mailpost.el: Move to obsolete/.
12866
12867 2012-04-12 Drew Adams <drew.adams@oracle.com>
12868
12869 * imenu.el (imenu--generic-function): Ignore invisible definitions
12870 (bug#10123).
12871
12872 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12873
12874 * hexl.el (hexl-bits): New variable.
12875 (hexl-options): Mention the variable in the doc string.
12876 (hexl-rulerise, hexl-line-displen): New functions.
12877 (hexl-mode): Mention the new variable.
12878 (hexl-mode, hexl-current-address, hexl-current-address):
12879 Use the displen.
12880 (hexl-ascii-start-column): New function.
12881 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12882 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12883
12884 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12885
12886 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12887 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12888 the encoding, as expected by hunspell.
12889
12890 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12891
12892 * battery.el (battery--linux-sysfs-regexp): New const.
12893 (battery-status-function): Use it. Remove yeeloong special case.
12894 (battery-yeeloong-sysfs): Remove.
12895 (battery-echo-area-format): Remove yeeloong special case.
12896
12897 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12898
12899 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12900 Reported by Noah Friedman.
12901
12902 * subr.el (read-passwd): Use read-string.
12903
12904 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12905
12906 * vcursor.el (vcursor-move): Increase the priority of the overlay
12907 (bug#9663).
12908
12909 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12910
12911 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12912 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12913
12914 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12915
12916 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12917 define-minor-mode (bug#10760).
12918
12919 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12920
12921 * progmodes/grep.el (rgrep): Tweak the find command line so
12922 that directories matching `grep-find-ignored-files' won't be
12923 pruned (bug#10351).
12924
12925 2012-04-11 Chong Yidong <cyd@gnu.org>
12926
12927 * startup.el (command-line): Remove support for long-obsolete
12928 variable font-lock-face-attributes.
12929
12930 2012-04-11 Glenn Morris <rgm@gnu.org>
12931
12932 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12933
12934 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12935
12936 * window.el (window--state-get-1): Obey window-point-insertion-type.
12937
12938 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12939
12940 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12941 to previous function when point is on the first character of a
12942 function. Take care of that in `narrow-to-defun' (bug#6157).
12943
12944 2012-04-11 Glenn Morris <rgm@gnu.org>
12945
12946 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12947 not just file-errors.
12948
12949 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12950 (vc-bzr-sha1): Use internal sha1.
12951
12952 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12953
12954 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12955
12956 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12957
12958 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12959 that start in the middle of the line (bug#10496).
12960
12961 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12962
12963 * battery.el (battery-linux-proc-acpi): Only one battery is
12964 discharged at a time, but that seems to confuse battery.el when
12965 computing `rate-type' for the battery not being discharged
12966 (bug#10332).
12967
12968 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12969
12970 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12971
12972 * international/quail.el: Use dolist and simplify.
12973 (quail-define-package, quail-update-keyboard-layout)
12974 (quail-define-rules): Use dolist.
12975 (quail-insert-kbd-layout, quail-get-translation): CSE.
12976
12977 * tmm.el: Use dolist, remove left over hook.
12978 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12979 Use dolist.
12980 (calendar-load-hook): Don't mess with it.
12981
12982 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12983 Use derived-mode-p. Run the diff asynchronously.
12984
12985 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12986
12987 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12988
12989 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12990
12991 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12992 (list-dynamic-libraries--loaded): New function.
12993 (list-dynamic-libraries--refresh): Use it.
12994
12995 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12996
12997 * progmodes/python.el (python-fill-paragraph):
12998 Make python-fill-region in a multiline string work when font-lock is
12999 disabled (bug#7018).
13000
13001 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13002
13003 * language/european.el (cp775): Add oem/legacy (en)coding on
13004 DOS/MS Windows for the Baltic languages. There are still plenty
13005 of texts written in this encoding/codepage (bug#6519).
13006
13007 2012-04-10 Glenn Morris <rgm@gnu.org>
13008
13009 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13010 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13011
13012 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13013
13014 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13015 next-line "n" and previous-line "p" in order to make recentf more
13016 consistent with ibuffer, dired or org-mode (bug#9387).
13017
13018 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13019
13020 * image.el (put-image): Return the overlay created instead of the
13021 optional input string (bug#7834). Note that this may break code
13022 that is (for some reason or other) depending on `put-image'
13023 returning the string.
13024
13025 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13026
13027 * simple.el (zap-to-char): Allow zapping using input methods
13028 (bug#1580).
13029
13030 * textmodes/fill.el (fill-region): Leave point and mark where they
13031 were before filling (bug#5399).
13032
13033 2012-04-09 Glenn Morris <rgm@gnu.org>
13034
13035 * version.el (emacs-bzr-get-version):
13036 Handle lightweight checkouts of local branches.
13037
13038 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13039
13040 * international/characters.el: Recover lost case pairs. (Bug#11209)
13041
13042 2012-04-09 Chong Yidong <cyd@gnu.org>
13043
13044 * custom.el (custom-variable-p): Return nil for non-symbol
13045 arguments instead of signaling an error.
13046 (user-variable-p): Obsolete alias for custom-variable-p.
13047
13048 * apropos.el (apropos-variable):
13049 * files-x.el (read-file-local-variable):
13050 * simple.el (set-variable):
13051 * woman.el (woman-mini-help):
13052 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13053
13054 2012-04-09 Glenn Morris <rgm@gnu.org>
13055
13056 * startup.el (normal-top-level): Don't look for leim-list.el
13057 in places where it will not be found. (Bug#910)
13058
13059 * international/mule-cmds.el (set-default-coding-systems):
13060 * files.el (normal-mode):
13061 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13062 This function was removed with ucs-tables.el in 2008.
13063
13064 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13065
13066 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13067 ispell-encoding8-command to "-i", without a trailing space.
13068 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13069 separate command-line arguments, to specify the encoding, since
13070 that's how hunspell expects it.
13071
13072 2012-04-08 Glenn Morris <rgm@gnu.org>
13073
13074 * loadup.el: Load bindings before cus-start.
13075 This reduces somewhat the number of "rogue" settings in emacs -Q.
13076
13077 2012-04-07 Glenn Morris <rgm@gnu.org>
13078
13079 * version.el (emacs-bzr-get-version): New function.
13080 (emacs-bzr-version): New variable.
13081 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13082 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13083
13084 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13085
13086 * international/uni-bidi.el, international/uni-category.el:
13087 * international/uni-combining.el, international/uni-decimal.el:
13088 * international/uni-decomposition.el, international/uni-digit.el:
13089 * international/uni-lowercase.el, international/uni-mirrored.el:
13090 * international/uni-name.el, international/uni-numeric.el:
13091 * international/uni-titlecase.el, international/uni-uppercase.el:
13092 Update for Unicode 6.1.
13093
13094 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13095
13096 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13097
13098 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13099
13100 * window.el (shrink-window): Mention the `window-min-height'
13101 variable in the doc string.
13102
13103 2012-04-05 Bastien Guerry <bzg@altern.org>
13104
13105 * color.el (color-lighten-name): Fix typo.
13106
13107 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13108
13109 * server.el (server--on-display-p): New function.
13110 (server--on-display-p): Use it.
13111
13112 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13113
13114 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13115 (bug#11145).
13116
13117 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13118
13119 * comint.el (comint--common-quoted-suffix): Check string boundary
13120 before comparing (bug#11158).
13121 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13122
13123 2012-04-04 Chong Yidong <cyd@gnu.org>
13124
13125 * minibuffer.el (completion-extra-properties): Doc fix.
13126
13127 * subr.el (delayed-warnings-hook): Doc fix.
13128
13129 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13130
13131 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13132 selection (Bug#11159).
13133 (epa-insert-keys): Inform that the default public key will be
13134 exported if no key is selected.
13135
13136 2012-04-04 Richard Stallman <rms@gnu.org>
13137
13138 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13139
13140 2012-04-03 Chong Yidong <cyd@gnu.org>
13141
13142 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13143 mail-insert-file, not its obsolete alias mail-attach-file.
13144
13145 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13146
13147 * notifications.el (notifications-notify): Fix docstring.
13148
13149 2012-04-02 Glenn Morris <rgm@gnu.org>
13150
13151 * emacs-lisp/authors.el (authors-aliases): Another addition.
13152
13153 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13154
13155 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13156 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13157 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13158
13159 2012-04-01 Chong Yidong <cyd@gnu.org>
13160
13161 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13162 Handle root directory properly.
13163 (copy-directory): Caller changed.
13164
13165 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13166 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13167
13168 2012-03-31 Glenn Morris <rgm@gnu.org>
13169
13170 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13171
13172 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13173
13174 * calendar/calendar.el (calendar-window-list)
13175 (calendar-hide-window): Restore. (Bug#11140)
13176 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13177
13178 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13179
13180 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13181
13182 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13183 Check if file is a symlink (Bug#10489).
13184
13185 * files.el (copy-directory): Likewise.
13186
13187 2012-03-30 Chong Yidong <cyd@gnu.org>
13188
13189 * image.el (imagemagick-types-inhibit)
13190 (imagemagick-register-types): Doc fix.
13191
13192 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13193
13194 * textmodes/ispell.el (ispell-get-extended-character-mode):
13195 Disable extended-char-mode for hunspell. hunspell does not support it
13196 and treats ~word as ordinary words in pipe mode.
13197
13198 2012-03-30 Glenn Morris <rgm@gnu.org>
13199
13200 * tutorial.el (help-with-tutorial): Ensure local variables don't
13201 happen to make the buffer read-only. (Bug#11127)
13202
13203 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13204
13205 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13206 (perl-calculate-indent): Return `noindent' in strings.
13207
13208 2012-03-28 Sam Steingold <sds@gnu.org>
13209
13210 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13211 instead of the broken adhockery which does not prevent calendar
13212 buffers from being displayed at random after exit.
13213 (calendar-window-list, calendar-hide-window): Remove the broken
13214 adhockery.
13215
13216 2012-03-28 Glenn Morris <rgm@gnu.org>
13217
13218 * replace.el (query-replace-map): Doc fix.
13219
13220 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13221
13222 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13223 contents. (Bug#11109)
13224
13225 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13226
13227 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13228 (bug#11077).
13229 (avl-tree--check, avl-tree--check-node): New funs.
13230
13231 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13232
13233 * window.el (switch-to-visible-buffer): New option.
13234 (switch-to-prev-buffer, switch-to-next-buffer):
13235 Observe switch-to-visible-buffer. Make sure that checking for a window
13236 showing a buffer already is done on the same frame.
13237
13238 2012-03-27 Glenn Morris <rgm@gnu.org>
13239
13240 * startup.el (mail-host-address): Doc fix.
13241
13242 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13243
13244 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13245 than 197 variables.
13246
13247 2012-03-26 Ami Fischman <ami@fischman.org>
13248
13249 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13250
13251 2012-03-26 Glenn Morris <rgm@gnu.org>
13252
13253 * files.el (save-buffers-kill-emacs): Doc fix.
13254
13255 * startup.el (normal-top-level, command-line, command-line-1):
13256 Give them doc strings.
13257
13258 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13259
13260 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13261 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13262
13263 2012-03-25 Chong Yidong <cyd@gnu.org>
13264
13265 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13266 theme if it was previously enabled before (Bug#11031).
13267
13268 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13269 spec with custom-face-get-current-spec if its :shown-value is not
13270 determined yet (Bug#9337).
13271 (customize-create-theme, custom-theme-revert): Doc fixes.
13272
13273 * button.el (button-at): Minor addition to docstring.
13274
13275 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13276
13277 * vc/vc.el (vc-merge): Fix a prompt.
13278
13279 2012-03-24 Chong Yidong <cyd@gnu.org>
13280
13281 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13282 point (Bug#9623).
13283
13284 * button.el (button-at): Minor addition to docstring.
13285
13286 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13287
13288 * newcomment.el (comment-choose-indent): No space after BOL.
13289
13290 2012-03-22 Sam Steingold <sds@gnu.org>
13291
13292 * window.el (switch-to-prev-buffer): Revert last patch because the
13293 bug turned out to be an advertised feature (Elisp manual 28.14).
13294
13295 2012-03-22 Glenn Morris <rgm@gnu.org>
13296
13297 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13298 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13299
13300 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13301
13302 * net/network-stream.el (network-stream-open-starttls): Make error
13303 message under Windows be less misleading.
13304
13305 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13306
13307 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13308 understands (bug#9942).
13309
13310 2012-03-22 Chong Yidong <cyd@gnu.org>
13311
13312 * simple.el (end-of-visible-line): Handle return value of
13313 next-single-property-change properly (Bug#9371).
13314
13315 2012-03-22 Kenichi Handa <handa@m17n.org>
13316
13317 * international/quail.el (quail-insert-kbd-layout): Fix previous
13318 change. To avoid unwanted bidi reordering, use
13319 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13320
13321 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13322
13323 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13324 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13325 (ruby-beginning-of-indent): Be more careful with the difference
13326 between word-boundary and symbol boundary.
13327 (ruby-mode-syntax-table): Make : a symbol constituent.
13328
13329 2012-03-21 Andreas Politz <politza@fh-trier.de>
13330
13331 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13332
13333 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13334
13335 * progmodes/etags.el (tags-completion-at-point-function):
13336 Improve last fix.
13337
13338 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13339
13340 2012-03-21 Sam Steingold <sds@gnu.org>
13341
13342 * progmodes/etags.el (tags-completion-at-point-function):
13343 Avoid the error when point is inside the pattern.
13344
13345 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13346
13347 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13348 line (Bug#10855).
13349
13350 2012-03-21 Drew Adams <drew.adams@oracle.com>
13351
13352 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13353
13354 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13355
13356 * ido.el (ido-set-current-directory, ido-read-internal)
13357 (ido-choose-completion-string, ido-completion-help): Handle nil
13358 value of ido-completion-buffer (Bug#11008).
13359
13360 2012-03-21 Sam Steingold <sds@gnu.org>
13361
13362 * window.el (switch-to-prev-buffer): Do not switch to a visible
13363 window previous buffer, just like with the frame previous buffers.
13364
13365 2012-03-21 Chong Yidong <cyd@gnu.org>
13366
13367 * faces.el (make-face, make-empty-face, copy-face):
13368 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13369 Doc fixes.
13370
13371 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13372
13373 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13374 (widget-complete): Remove broken use of it.
13375
13376 2012-03-20 Chong Yidong <cyd@gnu.org>
13377
13378 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13379 Use string-width and truncate-string-width to handle arbitrary
13380 characters.
13381
13382 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13383
13384 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13385 to draw rectangles, not squares. (Regression introduced by revno
13386 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13387
13388 2012-03-18 Chong Yidong <cyd@gnu.org>
13389
13390 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13391 it is not yet defined (for temacs).
13392
13393 2012-03-18 Leo Liu <sdl.web@gmail.com>
13394
13395 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13396 prefix.
13397
13398 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13399
13400 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13401 (ispell-choices-win-default-height, ispell-silently-savep)
13402 (ispell-dictionary-alist, ispell-encoding8-command)
13403 (ispell-check-version, ispell-aspell-find-dictionary)
13404 (ispell-valid-dictionary-list, ispell-words-keyword)
13405 (ispell-get-word, ispell-internal-change-dictionary)
13406 (ispell-region, ispell-skip-region-list)
13407 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13408 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13409 (ispell-message-text-end, ispell-message)
13410 (ispell-buffer-local-parsing): Doc fix.
13411
13412 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13413
13414 * htmlfontify.el: Add support for code block fontification for ODT
13415 export (Bug #9914).
13416 (hfy-optimisations): Define new option
13417 `body-text-only'
13418 (hfy-fontify-buffer): Honor above setting.
13419 (hfy-begin-span, hfy-end-span): New routines factored out form
13420 `hfy-fontify-buffer'.
13421 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13422 that permit insertion of custom tags.
13423 (hfy-fontify-buffer): Use above handlers.
13424 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13425 (hfy-face-to-css): Re-defined to be a variable.
13426 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13427 over multiple runs. This is made possible by having the caller let
13428 bind a special variable `hfy-user-sheet-assoc'.
13429 (htmlfontify-string): New defun.
13430 (hfy-compile-face-map): Make sure that the last char in the
13431 buffer is correctly fontified.
13432 (hfy-face-resolve-face): Whitespace only change.
13433
13434 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13435
13436 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13437 message more clear.
13438
13439 2012-03-16 Leo Liu <sdl.web@gmail.com>
13440
13441 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13442
13443 2012-03-16 Alan Mackenzie <acm@muc.de>
13444
13445 Further optimize the handling of large macros.
13446
13447 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13448 limit to a call of `c-literal-limits'.
13449 (c-determine-+ve-limit): New function.
13450 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13451 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13452 In CASE 5B, restrict a search limit to 500.
13453 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13454
13455 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13456 Restrict macro bounds to +-500 from after-change's BEG END.
13457
13458 2012-03-16 Leo Liu <sdl.web@gmail.com>
13459
13460 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13461
13462 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13463
13464 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13465 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13466
13467 2012-03-16 Glenn Morris <rgm@gnu.org>
13468
13469 * view.el (view-buffer, view-buffer-other-window)
13470 (view-buffer-other-frame): Doc fixes re special mode-class.
13471
13472 * subr.el (eval-after-load): If named feature is provided not from
13473 a file, run after-load forms. (Bug#10946)
13474
13475 * calendar/calendar.el (calendar-insert-at-column):
13476 Handle non-unit-width characters a bit better. (Bug#10978)
13477
13478 2012-03-15 Chong Yidong <cyd@gnu.org>
13479
13480 * emacs-lisp/ring.el (ring-extend): New function.
13481 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13482
13483 * comint.el (comint-read-input-ring)
13484 (comint-add-to-input-history): Grow comint-input-ring lazily.
13485
13486 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13487
13488 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13489 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13490
13491 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13492 (imenu-add-to-menubar): Don't add a redundant index.
13493 (imenu-update-menubar): Handle a dynamically composed keymap.
13494
13495 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13496
13497 * mail/sendmail.el (mail-encode-header):
13498 Bind rfc2047-encode-encoded-words to nil.
13499
13500 2012-03-13 Glenn Morris <rgm@gnu.org>
13501
13502 * calendar/calendar.el (calendar-string-spread):
13503 Handle non-unit-width characters a bit better. (Bug#10978)
13504
13505 2012-03-13 Leo Liu <sdl.web@gmail.com>
13506
13507 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13508 directory and file as argument (Bug#10822).
13509
13510 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13511
13512 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13513 For dynamically generated code, follow $PC.
13514 (gdb-disassembly-handler-custom): Handle no function name case.
13515
13516 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13517
13518 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13519 * emulation/ws-mode.el (ws-query-replace):
13520 * sort.el (sort-regexp-fields):
13521 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13522
13523 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13524
13525 * dabbrev.el: Fix cycle completion order (bug#10963).
13526 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13527 (dabbrev-completion): Don't use an obarray; provide
13528 a cycle-sort-function.
13529
13530 2012-03-12 Leo Liu <sdl.web@gmail.com>
13531
13532 * simple.el (kill-new): Use equal-including-properties for comparison.
13533 (kill-do-not-save-duplicates): Doc fix.
13534
13535 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13536
13537 * dabbrev.el: Fix cycle completion (bug#10963).
13538 Use lexical binding and wrap to 80 columns.
13539 (dabbrev-completion): Delay computing the list of completions.
13540
13541 2012-03-12 Kenichi Handa <handa@m17n.org>
13542
13543 * international/quail.el (quail-insert-kbd-layout): Surround each
13544 row by LRO and PDF instead of inserting many LRMs. Pad the left
13545 and right of each non-spacing marks. Insert invisible space
13546 between lower and upper characters to prevent composition.
13547
13548 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13549
13550 * minibuffer.el (minibuffer-complete): Don't get confused when the
13551 function is run twice via different commands (bug#10958).
13552 (complete-with-action): Fix docstring.
13553
13554 2012-03-12 Chong Yidong <cyd@gnu.org>
13555
13556 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13557 (nxml-completion-at-point-function): New function.
13558 (nxml-mode): Use it.
13559 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13560
13561 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13562 Load generated autoloads file before byte compiling (Bug#10970).
13563 (package--make-autoloads-and-compile): New helper fun.
13564
13565 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13566
13567 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13568
13569 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13570
13571 * autorevert.el (auto-revert-handler): Ensure, that
13572 file-readable-p is applied only for local files or in
13573 auto-revert-tail-mode.
13574
13575 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13576
13577 * server.el (server-eval-at): Handle non-tcp connections.
13578 Decode result string.
13579
13580 * server.el (server-msg-size): New constant.
13581 (server-reply-print): New function.
13582 (server-eval-and-print): Use it.
13583 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13584 Handle -print-nonl.
13585
13586 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13587
13588 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13589 (Bug#10987).
13590
13591 2012-03-11 Chong Yidong <cyd@gnu.org>
13592
13593 * simple.el (goto-line): Doc fix (Bug#9938).
13594
13595 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13596
13597 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13598 when finished (Bug#10963).
13599
13600 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13601
13602 * window.el (split-window-below): Fix bug in case where
13603 split-window-keep-point is nil (Bug#10971).
13604
13605 2012-03-11 Juri Linkov <juri@jurta.org>
13606
13607 * replace.el (replace-highlight): Set isearch-word to nil
13608 unconditionally. (Bug#10887)
13609
13610 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13611
13612 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13613 mairix-replace-illegal-chars; all callers changed. Don't remove
13614 ^, ~, and = characters: they are meaningful in mairix search specs.
13615 (mairix-widget-create-query): Add usage information about mairix
13616 search forms: negating words, searching for substrings, etc.
13617
13618 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13619
13620 * international/fontset.el (font-encoding-alist): Add an entry for
13621 ksx1001 (Bug#5667).
13622
13623 2012-03-10 Richard Stallman <rms@gnu.org>
13624
13625 * mail/sendmail.el (mail-encode-header):
13626 Set rfc2047-encode-encoded-words.
13627
13628 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13629
13630 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13631 view buffer means not swapped.
13632 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13633 (rmail-write-region-annotate): Error if real text has disappeared.
13634
13635 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13636
13637 2012-03-10 Chong Yidong <cyd@gnu.org>
13638
13639 * emulation/cua-rect.el (cua--init-rectangles):
13640 * emulation/cua-base.el (cua--init-keymaps):
13641 Add delete-forward-char to remappings (Bug#9666).
13642
13643 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13644
13645 * speedbar.el (speedbar-unhighlight-one-tag-line):
13646 Avoid unhighlighting due to frame switching (Bug#10275).
13647
13648 2012-03-10 Chong Yidong <cyd@gnu.org>
13649
13650 * minibuffer.el (completion-in-region, completion-help-at-point):
13651 Give the completion field overlay a high priority (Bug#6830).
13652
13653 * dired.el (dired-goto-file): Recognize absolute file name
13654 listings (Bug#7126).
13655 (dired-goto-file-1): New helper function.
13656 (dired-toggle-read-only): Inhibit warnings.
13657
13658 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13659
13660 * net/dbus.el (dbus-property-handler): Return empty array if
13661 there are no properties.
13662
13663 2012-03-09 Leo Liu <sdl.web@gmail.com>
13664
13665 * savehist.el (savehist-printable): Stricter check for string
13666 value (Bug#10937).
13667
13668 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13669
13670 * mail/smtpmail.el (smtpmail-send-it):
13671 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13672 valid mbox format.
13673
13674 2012-03-09 Glenn Morris <rgm@gnu.org>
13675
13676 * files.el (dir-locals-find-file):
13677 Don't check result is regular, readable.
13678 (dir-locals-read-from-file): Demote errors.
13679
13680 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13681
13682 * international/quail.el (quail-insert-kbd-layout):
13683 Insert invisible LRM characters before each character in a keyboard
13684 layout cell, to prevent their reordering by bidi display engine.
13685 For details, see the discussion in
13686 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13687
13688 2012-03-08 Alan Mackenzie <acm@muc.de>
13689
13690 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13691 the starting position; make it extend the marked region when
13692 invoked repeatedly - all under appropriate circumstances.
13693 Fixes bugs #5525, #10906.
13694
13695 2012-03-08 Glenn Morris <rgm@gnu.org>
13696
13697 * files.el (locate-dominating-file, dir-locals-find-file):
13698 Undo 2012-03-06 change.
13699
13700 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13701
13702 * international/quail.el (quail-help):
13703 Force bidi-paragraph-direction be left-to-right. See discussion in
13704 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13705 for the reason.
13706
13707 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13708
13709 Avoid superfluous registering of signals. (Bug#10807)
13710
13711 * notifications.el (notifications-on-action-object)
13712 (notifications-on-close-object): New defvars.
13713 (notifications-on-action-signal, notifications-on-closed-signal):
13714 Unregister the signal if not needed any longer.
13715 (notifications-notify): Register `notifications-action-signal' or
13716 `notifications-closed-signal', if :on-action or :on-close has been
13717 passed as argument.
13718
13719 2012-03-07 Chong Yidong <cyd@gnu.org>
13720
13721 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13722 non-X platforms.
13723
13724 2012-03-06 Glenn Morris <rgm@gnu.org>
13725
13726 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13727 (x-disown-selection-internal, x-get-selection-internal):
13728 Doc fix (add arglist signatures). (Bug#10783)
13729
13730 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13731
13732 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13733 Handle breakpoints with no "type".
13734
13735 2012-03-06 Glenn Morris <rgm@gnu.org>
13736
13737 * files.el (locate-dominating-file): Add optional predicate argument.
13738 (dir-locals-find-file): Make use of above change.
13739
13740 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13741
13742 * info.el (Info-insert-dir): Also try "dir.gz".
13743
13744 2012-03-06 Glenn Morris <rgm@gnu.org>
13745
13746 * files.el (dir-locals-find-file):
13747 Ignore non-readable or non-regular files. (Bug#10928)
13748
13749 * files.el (locate-dominating-file): Doc fix.
13750
13751 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13752
13753 * calendar/calendar.el (calendar-set-mode-line):
13754 `getenv' returns a string. (Bug#10951)
13755
13756 2012-03-05 Leo Liu <sdl.web@gmail.com>
13757
13758 * simple.el (backward-delete-char-untabify): Constrain point to
13759 field (Bug#10939).
13760
13761 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13762
13763 2012-03-05 Chong Yidong <cyd@gnu.org>
13764
13765 * simple.el (count-words): If called from Lisp, return the word
13766 count, for symmetry with `count-lines'. Arglist changed.
13767 (count-words--message): Args changed. Consolidate counting code
13768 from count-words and count-words-region.
13769 (count-words-region): Caller changed.
13770 (count-lines-region): Make it an obsolete alias.
13771
13772 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13773
13774 * saveplace.el (save-place-to-alist)
13775 (save-place-ignore-files-regexp): Allow value nil to disable this
13776 feature.
13777
13778 2012-03-04 Chong Yidong <cyd@gnu.org>
13779
13780 * faces.el (face-spec-reset-face): For the default face, reset the
13781 attributes to default values (Bug#10748).
13782
13783 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13784
13785 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13786 previous patch: Check `message-send-mail-function', and not the
13787 default function (bug#10897).
13788
13789 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13790
13791 * notifications.el (notifications-on-action-signal)
13792 (notifications-on-closed-signal): Check for unique service name of
13793 incoming event. Fix error in removing entry.
13794 (top): Register for signals with wildcard service name.
13795 (notifications-notify): Use daemon unique service name for map entries.
13796
13797 2012-03-04 Chong Yidong <cyd@gnu.org>
13798
13799 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13800
13801 2012-03-04 Glenn Morris <rgm@gnu.org>
13802
13803 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13804 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13805 (expand-abbrev, define-abbrev-table): Doc fixes.
13806
13807 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13808
13809 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13810 `message-default-send-mail-function' and not `send-mail-function'
13811 when doing the prompting for `sendmail-query-once' before sending
13812 in Message buffers (bug#10897).
13813
13814 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13815 This is inconsistent with all the other stream functions, which leave
13816 the setting up to the higher levels (if so wanted) (bug#10931).
13817
13818 2012-03-02 Alan Mackenzie <acm@muc.de>
13819
13820 Depessimize the handling of very large macros.
13821
13822 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13823 (c-macro-cache-syntactic): New variables to implement a one
13824 element macro cache.
13825 (c-invalidate-macro-cache): New function.
13826 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13827 Adapt to use the new cache.
13828 (c-state-safe-place): Use better the cache of safe positions.
13829 (c-state-semi-nonlit-pos-cache)
13830 (c-state-semi-nonlit-pos-cache-limit):
13831 New variables for...
13832 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13833 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13834 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13835 Use c-state-semi-safe-place.
13836
13837 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13838 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13839
13840 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13841
13842 * jka-compr.el (jka-compr-call-process):
13843 Apply `file-accessible-directory-p' only when the default directory is
13844 not remote.
13845
13846 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13847
13848 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13849 access of FILE2, if FILE1 does not exist.
13850
13851 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13852 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13853
13854 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13855 Add "PAGER=" to `process-environment'.
13856
13857 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13858
13859 * progmodes/sql.el: Bug fix
13860 (sql-get-login-ext): Save login values in globals.
13861 (sql-get-login): Use new version of `sql-get-login-ext'.
13862 (sql-interactive-mode): Set global `sql-connection' to nil.
13863 (sql-connect): Set global values for connection.
13864 (sql-product-interactive): Save global values as buffer local.
13865
13866 2012-02-29 Leo Liu <sdl.web@gmail.com>
13867
13868 * abbrev.el (define-abbrevs): Reset sys to nil.
13869
13870 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13871
13872 * files.el (file-equal-p): Rename from `files-equal-p'.
13873 Return nil when one or both files don't exist.
13874 (file-subdir-of-p): Now only top directory must exists,
13875 return nil if it doesn't.
13876 (copy-directory): No need to test with `file-subdir-of-p' after
13877 creating dir.
13878 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13879 to `file-equal-p'.
13880
13881 2012-02-28 Glenn Morris <rgm@gnu.org>
13882
13883 * shell.el (shell-mode):
13884 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13885 * play/landmark.el (landmark-font-lock-face-O):
13886 * play/handwrite.el (handwrite):
13887 * play/gomoku.el (gomoku-O):
13888 * net/browse-url.el (browse-url-browser-display):
13889 * international/mule.el (define-charset):
13890 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13891 * filesets.el (filesets-find-file-delay):
13892 * eshell/em-xtra.el (eshell-xtra):
13893 * eshell/em-unix.el (eshell-grep):
13894 * emulation/viper.el (viper-mode):
13895 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13896 * emacs-lisp/easymenu.el (easy-menu-define):
13897 * calendar/timeclock.el (timeclock-use-display-time):
13898 * bs.el (bs-mode):
13899 * bookmark.el (bookmark-save-flag):
13900 Doc fix (standardize possessive apostrophe usage).
13901
13902 2012-02-27 Chong Yidong <cyd@gnu.org>
13903
13904 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13905 Fix key-binding lookup for ESC key (Bug#9146).
13906
13907 * font-lock.el (font-lock-specified-p): Rename from
13908 font-lock-spec-present. Callers changed.
13909
13910 2012-02-27 Daniel Hackney <dan@haxney.org>
13911
13912 * emacs-lisp/package.el (package-compute-transaction):
13913 Handle holding a package version to t in package-load-list.
13914
13915 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13916
13917 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13918 (tramp-get-inode, tramp-get-device): Use cached values.
13919
13920 2012-02-26 Alan Mackenzie <acm@muc.de>
13921
13922 Check there is a font-lock specification before doing initial
13923 fontification.
13924
13925 * font-core.el (font-lock-mode): Move the conditional from
13926 :after-hook to font-lock-initial-fontify.
13927 (font-lock-default-function): Move the check for a specification
13928 to font-lock-spec-present.
13929
13930 * font-lock.el (font-lock-initial-fontify): Call ...
13931 (font-lock-spec-present): New function.
13932
13933 2012-02-26 Jim Blandy <jimb@red-bean.com>
13934
13935 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13936 (gdb-send): Apply it to the operand of the '-interpreter-exec
13937 console' command, so that we can pass arguments with (say) quotes
13938 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13939
13940 2012-02-26 Chong Yidong <cyd@gnu.org>
13941
13942 * help-fns.el (describe-function-1): Clarify description of
13943 remapping (Bug#10844).
13944
13945 * files.el (files-equal-p): Doc fix.
13946 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13947 and quit the loop once a mismatch is found.
13948
13949 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13950
13951 * bs.el (bs--show-with-configuration): Don't throw an error
13952 if the window cannot be split; otherwise, subsequent calls to
13953 bs-show fail, restoring a stale window config. (Bug#10882)
13954
13955 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13956
13957 * term/ns-win.el (global-map): Bind ns-drag-file to
13958 ns-find-file (Bug#5855, Bug#10050).
13959
13960 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13961
13962 * calendar/parse-time.el (parse-time-string): Allow extractor to
13963 return nil.
13964
13965 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13966
13967 * net/tramp.el (tramp-file-name-for-operation):
13968 Add `files-equal-p' and `file-subdir-of-p'.
13969
13970 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13971 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13972 Add COPY-CONTENTS argument.
13973
13974 2012-02-25 Chong Yidong <cyd@gnu.org>
13975
13976 Add custom groups for VC backends, for consistency with vc-bzr.
13977
13978 * vc/vc-arch.el (vc-arch):
13979 * vc/vc-cvs.el (vc-cvs):
13980 * vc/vc-git.el (vc-git):
13981 * vc/vc-hg.el (vc-hg):
13982 * vc/vc-mtn.el (vc-mtn):
13983 * vc/vc-rcs.el (vc-rcs):
13984 * vc/vc-sccs.el (vc-sccs):
13985 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13986 All relevant defcustoms reassigned.
13987
13988 2012-02-25 Chong Yidong <cyd@gnu.org>
13989
13990 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13991
13992 * term/x-win.el (x-initialize-window-system): Reduce default for
13993 x-selection-timeout to 5 seconds (Bug#8869).
13994
13995 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13996
13997 * files.el (files-equal-p, file-subdir-of-p): New functions.
13998 (copy-directory): Error when trying to copy a directory on itself.
13999 Add missing copy-contents arg to tramp handler.
14000 * dired-aux.el (dired-copy-file-recursive): Same.
14001 (dired-create-files): Modify destination when source is equal to
14002 dest when copying files.
14003 Return also when dest is a subdir of source. (Bug#10489)
14004
14005 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14006
14007 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14008 (Bug#10874)
14009
14010 2012-02-23 Alan Mackenzie <acm@muc.de>
14011
14012 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14013 parameter "after-hook:" to allow the expansion to run code after
14014 the execution of the mode hooks.
14015
14016 * font-lock.el (font-lock-initial-fontify): New function extracted
14017 from font-lock-mode-internal.
14018
14019 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14020 :after-hook.
14021
14022 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14023
14024 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14025 (completion--cache-all-sorted-completions): New function.
14026 (completion-all-sorted-completions): Use it.
14027 (completion--do-completion, minibuffer-force-complete):
14028 Use it to re-instate the flush hook.
14029
14030 * icomplete.el (icomplete-completions): Replace last fix with a better
14031 one (bug#10850).
14032
14033 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14034
14035 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14036 when it might call us back infinitely (bug#10797).
14037
14038 2012-02-23 Glenn Morris <rgm@gnu.org>
14039
14040 * minibuffer.el (completion-category-overrides): Doc fix.
14041
14042 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14043
14044 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14045 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14046
14047 2012-02-23 Glenn Morris <rgm@gnu.org>
14048
14049 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14050 (authors-obsolete-files-regexps, authors-ignored-files)
14051 (authors-ambiguous-files, authors-renamed-files-alist):
14052 Add more entries.
14053
14054 2012-02-23 Juri Linkov <juri@jurta.org>
14055
14056 * isearch.el (isearch-occur): Sync interactive spec with occur's
14057 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14058
14059 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14060
14061 2012-02-22 Juri Linkov <juri@jurta.org>
14062
14063 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14064 (ucs-insert): Doc fix. Check for hex digits in the string.
14065 Don't display `nil' in the error message. (Bug#10857)
14066
14067 2012-02-22 Alan Mackenzie <acm@muc.de>
14068
14069 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14070
14071 2012-02-22 Glenn Morris <rgm@gnu.org>
14072
14073 * ffap.el (ffap-c-path):
14074 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14075
14076 2012-02-22 Chong Yidong <cyd@gnu.org>
14077
14078 * custom.el (load-theme): Doc fix.
14079
14080 2012-02-22 Glenn Morris <rgm@gnu.org>
14081
14082 * dired-x.el (dired-guess-shell-alist-default):
14083 Remove escape sequences from nroff output. (Bug#172)
14084
14085 2012-02-21 Glenn Morris <rgm@gnu.org>
14086
14087 * vc/emerge.el (emerge-defvar-local):
14088 Set `permanent-local' property rather than unused `preserved'.
14089
14090 * textmodes/picture.el (picture-delete-char): New alias.
14091 (picture-mode-map): Use it. (Bug#10860)
14092 (picture-mode): Doc fix.
14093
14094 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14095
14096 * newcomment.el (uncomment-region-default): Remove unused binding.
14097
14098 2012-02-21 Glenn Morris <rgm@gnu.org>
14099
14100 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14101 (picture-self-insert, picture-tab-chars): Doc fix.
14102 (picture-mode-map): Fix C-a, C-e.
14103
14104 2012-02-20 Glenn Morris <rgm@gnu.org>
14105
14106 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14107
14108 2012-02-20 Leo Liu <sdl.web@gmail.com>
14109
14110 * icomplete.el (icomplete-completions): Check FROM arg before
14111 passing to substring (Bug#10850).
14112
14113 2012-02-19 Chong Yidong <cyd@gnu.org>
14114
14115 * comint.el: Require ansi-color.
14116 (comint-output-filter-functions): Add ansi-color-process-output.
14117
14118 * ansi-color.el: Don't set comint-output-filter-functions; it is
14119 now in the initial value defined in comint.el.
14120 (ansi-color-apply-face-function): New variable.
14121 (ansi-color-apply-on-region): Use it.
14122 (ansi-color-apply-overlay-face): New function.
14123
14124 * shell.el (shell): No need to require ansi-color.
14125 (shell-mode): Use ansi-color-apply-face-function to highlight
14126 color escapes using font-lock-face property (Bug#10835).
14127
14128 2012-02-19 Chong Yidong <cyd@gnu.org>
14129
14130 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14131 mode-line formats (Bug#10839).
14132
14133 2012-02-18 Glenn Morris <rgm@gnu.org>
14134
14135 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14136
14137 * mail/undigest.el (unforward-rmail-message): Doc fix.
14138
14139 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14140
14141 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14142
14143 * international/characters.el (script-list): Sync with the latest
14144 Unicode Character Database.
14145
14146 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14147
14148 * international/titdic-cnv.el: Remove duplicate coding tag.
14149 * language/cham.el: Likewise.
14150 * language/tai-viet.el: Likewise.
14151
14152 2012-02-18 Glenn Morris <rgm@gnu.org>
14153
14154 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14155 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14156 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14157 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14158 * calendar/holidays.el (holiday-bahai-holidays)
14159 (calendar-holidays, list-holidays):
14160 Use utf-8 Bahá'í in doc-strings, menus, etc.
14161
14162 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14163
14164 * saveplace.el (save-place-ignore-files-regexp): New variable
14165 allowing for excluding files from saving their location of point.
14166 The default value matches the temporary commit message editing
14167 files from Git, SVN, Bazaar, and Mercurial.
14168 (save-place-to-alist): Use it.
14169
14170 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14171 Stefan Monnier <monnier@iro.umontreal.ca>
14172
14173 * newcomment.el (uncomment-region-default): Don't leave extra space
14174 when an arg is provided (bug#8150).
14175
14176 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14177
14178 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14179
14180 2012-02-17 Glenn Morris <rgm@gnu.org>
14181
14182 * net/socks.el: Require network-stream. (Bug#10599)
14183
14184 2012-02-17 Kenichi Handa <handa@m17n.org>
14185
14186 * international/charprop.el:
14187 * international/uni-name.el:
14188 * international/uni-old-name.el:
14189 * international/uni-comment.el: Regenerate.
14190
14191 2012-02-16 Glenn Morris <rgm@gnu.org>
14192
14193 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14194 Interactively in calendar buffer, give an error if not on a date.
14195
14196 2012-02-15 Glenn Morris <rgm@gnu.org>
14197
14198 * shell.el (shell-delimiter-argument-list):
14199 Revert 2011-02-17 change. (Bug#8027)
14200
14201 2012-02-15 Chong Yidong <cyd@gnu.org>
14202
14203 * minibuffer.el (completion-at-point-functions): Doc fix.
14204
14205 * custom.el (defcustom): Doc fix; note use of defvar.
14206
14207 2012-02-15 Glenn Morris <rgm@gnu.org>
14208
14209 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14210 Doc fixes.
14211
14212 2012-02-14 Glenn Morris <rgm@gnu.org>
14213
14214 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14215
14216 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14217
14218 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14219 way the ports list is computed.
14220 (smtpmail-query-smtp-server): Prompt the user for a port number if
14221 we can't connect to any of the standard ports (bug#10810).
14222
14223 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14224
14225 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14226
14227 2012-02-13 Glenn Morris <rgm@gnu.org>
14228
14229 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14230
14231 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14232
14233 * net/gnutls.el (gnutls-trustfiles): New variable.
14234 (gnutls-negotiate): Use it.
14235
14236 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14237
14238 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14239 does its stuff if Gnus is running.
14240
14241 2012-02-13 Alan Mackenzie <acm@muc.de>
14242
14243 Fix a loop in c-set-fl-decl-start.
14244
14245 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14246 c-backward-syntactic-ws actually moves backwards.
14247
14248 2012-02-13 Leo Liu <sdl.web@gmail.com>
14249
14250 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14251 beginning so that all \C-o chars are removed.
14252
14253 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14254
14255 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14256
14257 2012-02-12 Alan Mackenzie <acm@muc.de>
14258
14259 Fix infinite loop with long macros.
14260 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14261
14262 2012-02-12 Chong Yidong <cyd@gnu.org>
14263
14264 * window.el (display-buffer): Doc fix (Bug#10785).
14265
14266 2012-02-12 Glenn Morris <rgm@gnu.org>
14267
14268 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14269 (x-disown-selection-internal, x-get-selection-internal):
14270 Sync docs with the xselect.c versions.
14271
14272 * allout-widgets.el: Add missing license notice.
14273
14274 2012-02-11 Glenn Morris <rgm@gnu.org>
14275
14276 * select.el (x-get-selection-internal, x-own-selection-internal)
14277 (x-disown-selection-internal):
14278 * x-dnd.el (x-get-selection-internal): Update declarations.
14279
14280 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14281
14282 * window.el (window-sides-slots):
14283 * tool-bar.el (tool-bar-position):
14284 * term/xterm.el (xterm-extra-capabilities):
14285 * ses.el (ses-self-reference-early-detection):
14286 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14287 (verilog-auto-wire-type)
14288 (verilog-auto-delete-trailing-whitespace)
14289 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14290 (verilog-auto-tieoff-declaration):
14291 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14292 (sql-oracle-statement-starters, sql-oracle-scan-on):
14293 * progmodes/prolog.el (prolog-align-comments-flag)
14294 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14295 (prolog-left-indent-regexp, prolog-paren-indent-p)
14296 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14297 (prolog-types, prolog-mode-specificators)
14298 (prolog-determinism-specificators, prolog-directives)
14299 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14300 (prolog-electric-dot-flag)
14301 (prolog-electric-dot-full-predicate-template)
14302 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14303 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14304 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14305 (prolog-program-switches, prolog-prompt-regexp)
14306 (prolog-debug-on-string, prolog-debug-off-string)
14307 (prolog-trace-on-string, prolog-trace-off-string)
14308 (prolog-zip-on-string, prolog-zip-off-string)
14309 (prolog-use-standard-consult-compile-method-flag)
14310 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14311 (prolog-imenu-max-lines, prolog-info-predicate-index)
14312 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14313 (prolog-char-quote-workaround):
14314 * progmodes/cc-vars.el (c-defun-tactic):
14315 * net/tramp.el (tramp-encoding-command-interactive)
14316 (tramp-local-end-of-line):
14317 * net/soap-client.el (soap-client):
14318 * net/netrc.el (netrc-file):
14319 * net/gnutls.el (gnutls):
14320 * minibuffer.el (completion-category-overrides)
14321 (completion-cycle-threshold)
14322 (completion-pcm-complete-word-inserts-delimiters):
14323 * man.el (Man-name-local-regexp):
14324 * mail/feedmail.el (feedmail-display-full-frame):
14325 * international/characters.el (glyphless-char-display-control):
14326 * eshell/em-ls.el (eshell-ls-date-format):
14327 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14328 (lisp-lambda-list-keyword-parameter-indentation)
14329 (lisp-lambda-list-keyword-parameter-alignment):
14330 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14331 * dired-x.el (dired-omit-verbose):
14332 * cus-theme.el (custom-theme-allow-multiple-selections):
14333 * calc/calc.el (calc-highlight-selections-with-faces)
14334 (calc-lu-field-reference, calc-lu-power-reference)
14335 (calc-note-threshold):
14336 * battery.el (battery-mode-line-limit):
14337 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14338 (archive-7z-update):
14339 * allout.el (allout-prefixed-keybindings)
14340 (allout-unprefixed-keybindings)
14341 (allout-inhibit-auto-fill-on-headline)
14342 (allout-flattened-numbering-abbreviation):
14343 * allout-widgets.el (allout-widgets-auto-activation)
14344 (allout-widgets-icons-dark-subdir)
14345 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14346 (allout-widgets-theme-dark-background)
14347 (allout-widgets-theme-light-background)
14348 (allout-widgets-item-image-properties-emacs)
14349 (allout-widgets-item-image-properties-xemacs)
14350 (allout-widgets-run-unit-tests-on-load)
14351 (allout-widgets-time-decoration-activity)
14352 (allout-widgets-hook-error-post-time)
14353 (allout-widgets-track-decoration):
14354 Add missing :version tags to new defcustoms and defgroups.
14355
14356 * progmodes/sql.el (sql-ansi-statement-starters)
14357 (sql-oracle-statement-starters): Add custom type.
14358
14359 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14360 (prolog-system-version): Give it a type.
14361
14362 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14363
14364 * term/pc-win.el (x-select-text, x-selection-owner-p)
14365 (x-own-selection-internal, x-disown-selection-internal)
14366 (x-get-selection-internal): Sync doc strings and argument lists
14367 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14368
14369 2012-02-11 Leo Liu <sdl.web@gmail.com>
14370
14371 * progmodes/python.el (python-end-of-statement): Fix infinite
14372 loop. (Bug#10788)
14373
14374 2012-02-10 Glenn Morris <rgm@gnu.org>
14375
14376 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14377 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14378
14379 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14380
14381 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14382 about SMTP before checking the From header.
14383
14384 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14385 into own function for reuse by emacsbug.el.
14386
14387 2012-02-10 Leo Liu <sdl.web@gmail.com>
14388
14389 * subr.el (condition-case-unless-debug): Rename from
14390 condition-case-no-debug. All callers changed.
14391 (with-demoted-errors): Fix caller.
14392
14393 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14394 * nxml/rng-valid.el (rng-do-some-validation):
14395 * emacs-lisp/package.el (package-refresh-contents)
14396 (package-menu-execute):
14397 * desktop.el (desktop-create-buffer):
14398 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14399
14400 2012-02-10 Glenn Morris <rgm@gnu.org>
14401
14402 * textmodes/bibtex.el:
14403 Add missing :version tags for new/changed defcustoms.
14404
14405 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14406
14407 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14408
14409 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14410 (smtpmail-via-smtp): Use it, or fall back on the From address.
14411 (smtpmail-send-it): Ditto.
14412
14413 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14414
14415 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14416 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14417 (byte-compile-tmp-var): New const.
14418 (byte-compile-defvar): Use it to minimize .elc size.
14419 Just use `defvar' rather than simulate it (bug#10761).
14420
14421 2012-02-09 Glenn Morris <rgm@gnu.org>
14422
14423 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14424
14425 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14426 Add :version tags.
14427
14428 * progmodes/compile.el (compilation-error-screen-columns)
14429 (compilation-first-column, compilation-filter-start): Doc fixes.
14430
14431 * vc/log-view.el (log-view-toggle-entry-display):
14432 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14433
14434 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14435 (report-emacs-bug-can-use-xdg-email):
14436 (report-emacs-bug-insert-to-mailer): Doc fixes.
14437 (report-emacs-bug): Message fix.
14438
14439 * net/browse-url.el (browse-url-can-use-xdg-open)
14440 (browse-url-xdg-open): Doc fixes.
14441
14442 * electric.el (electric-indent-mode, electric-pair-mode)
14443 (electric-layout-rules, electric-layout-mode): Doc fixes.
14444 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14445
14446 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14447
14448 * server.el (server-unselect-display): Don't inadvertently kill
14449 the current buffer. (Bug#10729)
14450
14451 2012-02-08 Glenn Morris <rgm@gnu.org>
14452
14453 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14454 (sql-list-table): Doc fixes.
14455
14456 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14457 Comment out (does nothing).
14458
14459 * completion.el (dynamic-completion-mode):
14460 * dirtrack.el (dirtrack-debug-mode):
14461 * electric.el (electric-layout-mode):
14462 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14463 * face-remap.el (text-scale-mode, buffer-face-mode):
14464 * iimage.el (iimage-mode):
14465 * image-mode.el (image-transform-mode):
14466 * minibuffer.el (completion-in-region-mode):
14467 * scroll-lock.el (scroll-lock-mode):
14468 * simple.el (next-error-follow-minor-mode):
14469 * tar-mode.el (tar-subfile-mode):
14470 * tooltip.el (tooltip-mode):
14471 * vcursor.el (vcursor-use-vcursor-map):
14472 * wid-browse.el (widget-minor-mode):
14473 * emulation/tpu-edt.el (tpu-edt-mode):
14474 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14475 * international/iso-ascii.el (iso-ascii-mode):
14476 * language/thai-util.el (thai-word-mode):
14477 * mail/supercite.el (sc-minor-mode):
14478 * net/goto-addr.el (goto-address-mode):
14479 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14480 * progmodes/cwarn.el (cwarn-mode):
14481 * progmodes/flymake.el (flymake-mode):
14482 * progmodes/glasses.el (glasses-mode):
14483 * progmodes/hideshow.el (hs-minor-mode):
14484 * progmodes/pascal.el (pascal-outline-mode):
14485 * textmodes/enriched.el (enriched-mode):
14486 * vc/smerge-mode.el (smerge-mode):
14487 Doc fixes (minor mode argument).
14488
14489 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14490
14491 * ls-lisp.el (ls-lisp-sanitize): New function.
14492 (ls-lisp-insert-directory): Use it to fix or remove any elements
14493 in file-alist with missing attributes. (Bug#4673)
14494
14495 2012-02-07 Alan Mackenzie <acm@muc.de>
14496
14497 Fix spurious recognition of c-in-knr-argdecl.
14498
14499 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14500 putative K&R region.
14501
14502 2012-02-07 Alan Mackenzie <acm@muc.de>
14503
14504 * progmodes/cc-engine.el (c-forward-objc-directive):
14505 Prevent looping in "#pragma mark @implementation".
14506
14507 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14508
14509 * notifications.el (notifications-on-closed-signal): Make `reason'
14510 optional. (Bug#10744)
14511
14512 2012-02-07 Glenn Morris <rgm@gnu.org>
14513
14514 * emacs-lisp/easy-mmode.el (define-minor-mode):
14515 Doc fixes for the macro and the mode it defines.
14516
14517 * image.el (imagemagick-types-inhibit): Doc fix.
14518
14519 * cus-start.el (imagemagick-render-type): Add it.
14520
14521 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14522
14523 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14524 Set the default at load time, too, so that `font-lock-fontify-buffer'
14525 can be called without setting up the entire mode first. This fixes
14526 a bug in `mm-inline-text' with C MIME parts.
14527
14528 2012-02-06 Chong Yidong <cyd@gnu.org>
14529
14530 * simple.el (list-processes--refresh): Delete exited processes
14531 (Bug#8094).
14532
14533 * comint.el (comint-next-prompt): next-single-char-property-change
14534 and prev-single-char-property-change never return nil (Bug#8657).
14535
14536 * custom.el (defcustom): Doc fix (Bug#9711).
14537
14538 2012-02-05 Chong Yidong <cyd@gnu.org>
14539
14540 * cus-edit.el (custom-variable-reset-backup): Quote the value
14541 before storing it in the customized-value property (Bug#6712).
14542 (custom-display): Add a customization type tag.
14543 (custom-buffer-create-internal): Improve tooltip message.
14544
14545 * wid-edit.el (widget-field-value-get): New optional arg to
14546 suppress trailing whitespace truncation.
14547 (character): Use it (Bug#2689).
14548
14549 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14550
14551 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14552 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14553
14554 2012-02-05 Chong Yidong <cyd@gnu.org>
14555
14556 * cus-edit.el (custom-variable-value-create): For mismatched
14557 types, show the current value (Bug#7600).
14558
14559 * custom.el (defcustom): Doc fix.
14560
14561 2012-02-05 Glenn Morris <rgm@gnu.org>
14562
14563 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14564
14565 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14566
14567 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14568 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14569 (pp-last-sexp): Use `looking-at-p'.
14570
14571 2012-02-04 Glenn Morris <rgm@gnu.org>
14572
14573 * files.el (revert-buffer):
14574 Doc fix (mention revert-buffer-in-progress-p).
14575
14576 * emacs-lisp/ert-x.el (ert-simulate-command):
14577 Check deferred-action-list (which is obsolete) is bound.
14578
14579 * subr.el (with-wrapper-hook): Doc fixes.
14580
14581 * simple.el (filter-buffer-substring-functions)
14582 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14583
14584 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14585
14586 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14587 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14588
14589 2012-02-04 Leo Liu <sdl.web@gmail.com>
14590
14591 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14592
14593 2012-02-04 Glenn Morris <rgm@gnu.org>
14594
14595 * image.el (image-extension-data): Add obsolete alias.
14596
14597 * isearch.el (isearch-update): Doc fix.
14598
14599 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14600
14601 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14602
14603 2012-02-03 Glenn Morris <rgm@gnu.org>
14604
14605 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14606 (image-animate-timeout): Doc fix.
14607
14608 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14609
14610 2012-02-02 Glenn Morris <rgm@gnu.org>
14611
14612 * server.el (server-auth-dir): Doc fix.
14613 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14614
14615 * subr.el (run-mode-hooks): Doc fix.
14616
14617 2012-02-02 Juri Linkov <juri@jurta.org>
14618
14619 * image-mode.el (image-toggle-display-image): Remove tautological
14620 `major-mode' from the `derived-mode-p' test.
14621
14622 2012-02-02 Kenichi Handa <handa@m17n.org>
14623
14624 * composite.el (compose-region): Cancel previous change.
14625
14626 2012-02-02 Kenichi Handa <handa@m17n.org>
14627
14628 * composite.el (compose-region, compose-string): Signal error for
14629 a null string component (Bug#6988).
14630
14631 2012-02-01 Chong Yidong <cyd@gnu.org>
14632
14633 * view.el (view-buffer-other-window, view-buffer-other-frame):
14634 Handle special modes like view-buffer (Bug#10650).
14635 (view-buffer): Simplify.
14636
14637 * frame.el (set-frame-font): Tweak meaning of third argument.
14638
14639 * dynamic-setting.el (font-setting-change-default-font):
14640 Use set-frame-font (Bug#9982).
14641
14642 2012-02-01 Glenn Morris <rgm@gnu.org>
14643
14644 * progmodes/compile.el (compilation-internal-error-properties):
14645 Respect compilation-first-column in the "*compilation*" buffer.
14646
14647 * emacs-lisp/easy-mmode.el (define-minor-mode):
14648 Relax :variable's test for a named function.
14649
14650 2012-01-31 Alan Mackenzie <acm@muc.de>
14651
14652 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14653 off by one error.
14654
14655 2012-01-31 Chong Yidong <cyd@gnu.org>
14656
14657 * frame.el (set-frame-font): New arg ALL-FRAMES.
14658
14659 * menu-bar.el (menu-set-font): Use set-frame-font.
14660
14661 * faces.el (face-spec-reset-face): Don't apply unspecified
14662 attribute values to the default face.
14663
14664 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14665
14666 * progmodes/cwarn.el (cwarn): Remove dead link.
14667 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14668 Remove * from defcustom docstrings.
14669 (turn-on-cwarn-mode): Make obsolete.
14670 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14671 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14672
14673 2012-01-31 Glenn Morris <rgm@gnu.org>
14674
14675 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14676 Fix :variable handling of mode a symbol not equal to modefun.
14677 Allow named functions to be used as the cdr of :variable.
14678
14679 2012-01-30 Glenn Morris <rgm@gnu.org>
14680
14681 * emacs-lisp/authors.el (authors-fixed-entries):
14682 Remove reference to deleted file rnewspost.el.
14683
14684 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14685
14686 * window.el (window-with-parameter): Remove unused variable `windows'.
14687 (window--side-check): Remove unused variable `code'.
14688 (window--resize-siblings): Remove unused variable `first'.
14689 (adjust-window-trailing-edge): Remove unused variable `failed'.
14690 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14691 Use `let', not `let*'.
14692 (balance-windows-2): Remove unused variable `found'.
14693 (window--state-put-2): Remove unused variable `splits'.
14694 (window-state-put): Remove unused variable `selected'.
14695 (same-window-p): Use `string-match-p'.
14696 (display-buffer-assq-regexp): Remove unused variable `value'.
14697 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14698 Mark argument ALIST as ignored.
14699 (pop-to-buffer): Remove unused variable `old-window'.
14700
14701 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14702
14703 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14704 and .lzma compressed files.
14705
14706 2012-01-29 Chong Yidong <cyd@gnu.org>
14707
14708 * frame.el (window-system-default-frame-alist): Doc fix.
14709
14710 * dynamic-setting.el (font-setting-change-default-font): Don't
14711 change the default face if SET-FONT argument is non-nil (Bug#9982).
14712
14713 2012-01-29 Samuel Bronson <naesten@gmail.com>
14714
14715 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14716
14717 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14718
14719 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14720 breakpoints in files outside current directory (Bug#6098).
14721
14722 2012-01-29 Chong Yidong <cyd@gnu.org>
14723
14724 * progmodes/python.el: Require ansi-color at top-level.
14725
14726 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14727 Define and use in Emacs Lisp mode (Bug#9360).
14728 (lisp-mode-abbrev-table): Add doc.
14729 (lisp-mode-variables): Don't set local-abbrev-table.
14730 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14731
14732 2012-01-28 Roland Winkler <winkler@gnu.org>
14733
14734 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14735
14736 2012-01-28 Roland Winkler <winkler@gnu.org>
14737
14738 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14739 (bibtex-set-dialect): Use it. Either set global values of
14740 dialect-dependent variables or bind these variables buffer-locally
14741 (Bug#10254).
14742 (bibtex-mode): Call bibtex-set-dialect via
14743 hack-local-variables-hook.
14744 (bibtex-dialect): Update docstring.
14745 Add safe-local-variable predicate.
14746 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14747 bibtex-set-dialect.
14748 (bibtex-mode-map): Define menu for each dialect.
14749 (bibtex-entry): Fix docstring.
14750
14751 2012-01-28 Chong Yidong <cyd@gnu.org>
14752
14753 * eshell/esh-arg.el (eshell-quote-argument): New function.
14754
14755 * eshell/esh-ext.el (eshell-invoke-batch-file):
14756 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14757 first arg to eshell-parse-command (Bug#10523).
14758
14759 2012-01-28 Drew Adams <drew.adams@oracle.com>
14760
14761 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14762 `default-directory' is non-nil.
14763
14764 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14765
14766 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14767 line that displays system-configuration-options. (Bug#9924)
14768
14769 2012-01-28 Drew Adams <drew.adams@oracle.com>
14770
14771 * descr-text.el (describe-char): Show information about POS, in
14772 addition to information about the character at POS. Improve and
14773 update the doc string. Change "code point" to "code point in
14774 charset", to avoid confusion with the character's Unicode code
14775 point shown above that. (Bug#10129)
14776
14777 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14778
14779 * descr-text.el (describe-char): Show the raw character, not only
14780 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14781 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14782 for the reasons.
14783
14784 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14785
14786 * emacs-lisp/package.el (package-install):
14787 Run package-refresh-contents if there is no archive yet (Bug#9798).
14788
14789 2012-01-28 Chong Yidong <cyd@gnu.org>
14790
14791 * emacs-lisp/package.el (package-maybe-load-descriptor):
14792 New function, split from package-maybe-load-descriptor.
14793 (package-maybe-load-descriptor): Use it.
14794 (package-download-transaction): Fully load required packages
14795 inside the loop, so that `require' calls work (Bug#10593).
14796 (package-install): No need to call package-initialize now.
14797
14798 2012-01-28 Chong Yidong <cyd@gnu.org>
14799
14800 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14801
14802 * tooltip.el (tooltip-mode): Doc fix.
14803 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14804
14805 * frame.el (set-cursor-color): Doc fix (Bug#352).
14806
14807 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14808 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14809
14810 * cus-edit.el (custom-buffer-create-internal): Fix search button
14811 action (Bug#10542).
14812 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14813
14814 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14815
14816 * dired.el (dired-mark-files-regexp):
14817 Include any subdirectory components. (Bug#10445)
14818
14819 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14820
14821 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14822 Handle [host]:port syntax. (Bug#10533)
14823
14824 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14825
14826 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14827
14828 2012-01-26 Glenn Morris <rgm@gnu.org>
14829
14830 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14831 * term.el (term-raw-escape-map): Use Control-X-prefix.
14832 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14833
14834 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14835
14836 * window.el (window-state-get, window--state-get-1): Don't deal
14837 with fixed-sizeness of windows. Simplify code.
14838
14839 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14840
14841 * window.el (window--state-get-1, window--state-put-2):
14842 Don't save and restore the mark.
14843
14844 2012-01-25 Chong Yidong <cyd@gnu.org>
14845
14846 * custom.el (custom-variable-p): Doc fix.
14847
14848 2012-01-25 Glenn Morris <rgm@gnu.org>
14849
14850 * dired.el (dired-goto-file): Handle some of the more common
14851 characters that `ls -b' escapes. (Bug#10596)
14852
14853 * progmodes/compile.el (compilation-next-error-function):
14854 Respect compilation-first-column in the "*compilation*" buffer.
14855 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14856
14857 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14858
14859 2012-01-24 Glenn Morris <rgm@gnu.org>
14860
14861 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14862
14863 2012-01-24 Julien Danjou <julien@danjou.info>
14864
14865 * color.el (color-rgb-to-hsl): Fix value computing.
14866 (color-hue-to-rgb): New function.
14867 (color-hsl-to-rgb): New function.
14868 (color-clamp, color-saturate-hsl, color-saturate-name)
14869 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14870 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14871
14872 2012-01-24 Glenn Morris <rgm@gnu.org>
14873
14874 * vc/vc-rcs.el (vc-rcs-create-tag):
14875 * vc/vc-sccs.el (vc-sccs-create-tag):
14876 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14877
14878 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14879
14880 * eshell/esh-util.el (eshell-read-hosts-file):
14881 Skip comment lines. (Bug#10549)
14882
14883 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14884
14885 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14886
14887 * subr.el (display-delayed-warnings): Doc fix.
14888 (collapse-delayed-warnings): New function to collapse identical
14889 adjacent warnings.
14890 (delayed-warnings-hook): Add it.
14891
14892 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14893
14894 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14895
14896 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14897 (tramp-default-user-alist): Don't add "pscp".
14898 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14899 property "login-as", if set. (Bug#10530)
14900
14901 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14902
14903 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14904 "plink1" and "psftp". (Bug#10530)
14905
14906 2012-01-21 Kenichi Handa <handa@m17n.org>
14907
14908 * international/mule-cmds.el (prefer-coding-system): Show a
14909 warning message if the default value of file-name-coding-system
14910 was not changed.
14911
14912 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14913
14914 * windmove.el (windmove-reference-loc):
14915 Fix windmove-reference-loc miscalculation.
14916
14917 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14918
14919 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14920 default unit.
14921
14922 2012-01-21 Glenn Morris <rgm@gnu.org>
14923
14924 * international/mule.el (auto-coding-alist): Add .tbz.
14925
14926 * files.el (local-enable-local-variables): Doc fix.
14927 (inhibit-local-variables-regexps): Rename from
14928 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14929 Doc fix. Add some extensions from auto-coding-alist.
14930 (inhibit-local-variables-suffixes):
14931 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14932 (inhibit-local-variables-p):
14933 New function, extracted from set-auto-mode-1.
14934 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14935 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14936 (hack-local-variables): Doc fix. Make the mode-only case
14937 respect enable-local-variables and friends.
14938 Respect inhibit-local-variables-regexps for file-locals, but
14939 not for directory-locals.
14940 (set-visited-file-name):
14941 Take account of inhibit-local-variables-regexps.
14942 Whether it applies may change as the file name is changed.
14943 * jka-cmpr-hook.el (jka-compr-install):
14944 * jka-compr.el (jka-compr-uninstall):
14945 Update for inhibit-first-line-modes-suffixes name change.
14946
14947 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14948
14949 * help-macro.el (make-help-screen): Temporarily restore original
14950 binding for minor-mode-map-alist (Bug#10454).
14951
14952 2012-01-19 Julien Danjou <julien@danjou.info>
14953
14954 * color.el (color-name-to-rgb): Use the white color to find the max
14955 color component value and return correctly computed values.
14956 (color-name-to-rgb): Add missing float conversion for max value.
14957
14958 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14959
14960 * window.el (window--state-get-1, window-state-get): Do not use
14961 special state value for window-persistent-parameters.
14962 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14963 (window--state-put-2): Reset all window parameters to nil before
14964 assigning values of persistent parameters.
14965
14966 2012-01-18 Alan Mackenzie <acm@muc.de>
14967
14968 Eliminate sluggishness and hangs in fontification of "semicolon
14969 deserts".
14970
14971 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14972 Change value 10000 -> 3000.
14973 (c-state-safe-place): Reformulate so it doesn't stack up an
14974 infinite number of wrong entries in c-state-nonlit-pos-cache.
14975 (c-determine-limit-get-base, c-determine-limit): New functions to
14976 determine backward search limits disregarding literals.
14977 (c-find-decl-spots): Amend commenting.
14978 (c-cheap-inside-bracelist-p): New function which detects "={".
14979
14980 * progmodes/cc-fonts.el
14981 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14982 backward search.
14983 (c-font-lock-declarations): Fix an occurrence of point being
14984 undefined. Check additionally for point being in a bracelist or
14985 near a macro invocation without a semicolon so as to avoid a
14986 fruitless time consuming search for a declarator. Give a more
14987 precise search limit for declarators using the new
14988 c-determine-limit.
14989
14990 2012-01-18 Glenn Morris <rgm@gnu.org>
14991
14992 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14993 (set-auto-mode): Doc fixes.
14994
14995 2012-01-17 Glenn Morris <rgm@gnu.org>
14996
14997 * isearch.el (search-nonincremental-instead): Fix doc typo.
14998
14999 * dired.el (dired-insert-directory): Handle newlines in directory name.
15000 (dired-build-subdir-alist): Unescape newlines in directory name.
15001
15002 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15003
15004 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15005 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15006 (tramp-action-terminal): Use it. (Bug#10530)
15007
15008 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15009
15010 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15011
15012 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15013
15014 * window.el (window-state-ignored-parameters): Remove variable.
15015 (window--state-get-1): Rename argument MARKERS to IGNORE.
15016 Handle persistent window parameters. Make copy of clone-of
15017 parameter only if requested. (Bug#10348)
15018 (window--state-put-2): Install a window parameter only if it has
15019 a non-nil value or an existing parameter shall be overwritten.
15020
15021 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15022
15023 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15024
15025 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15026
15027 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15028 don't pass the (nil) value of `upnode' to string-match.
15029
15030 2012-01-14 Chong Yidong <cyd@gnu.org>
15031
15032 * startup.el (command-line): Fix X resource class for cursorColor.
15033 Fix values recognized by the cursorBlink resource.
15034
15035 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15036
15037 * epg.el (epg--make-temp-file): Avoid permission race condition
15038 when running on old Emacs versions (bug#10403).
15039
15040 2012-01-14 Glenn Morris <rgm@gnu.org>
15041
15042 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15043
15044 2012-01-13 Alan Mackenzie <acm@muc.de>
15045
15046 Fix filling for when filladapt mode is enabled.
15047
15048 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15049 c-mask-paragraph, pass in `fill-paragraph' rather than
15050 `fill-region-as-paragraph'. (This is a reversion of a previous
15051 change.)
15052 * progmodes/cc-mode.el (c-basic-common-init):
15053 Make fill-paragraph-handle-comment buffer local and set it to nil.
15054
15055 2012-01-13 Glenn Morris <rgm@gnu.org>
15056
15057 * dired.el (dired-switches-escape-p): New function.
15058 (dired-insert-directory): Use dired-switches-escape-p.
15059 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15060
15061 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15062
15063 2012-01-12 Glenn Morris <rgm@gnu.org>
15064
15065 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15066 changes in adaptive-fill-regexp. (Bug#10276)
15067
15068 2012-01-11 Alan Mackenzie <acm@muc.de>
15069
15070 Fix Emacs bug #10463 - put `widen's around the critical spots.
15071
15072 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15073 widen around each invocation of c-state-pp-to-literal. Remove an
15074 unused let variable.
15075
15076 2012-01-11 Glenn Morris <rgm@gnu.org>
15077
15078 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15079 Doc fix.
15080
15081 2012-01-10 Chong Yidong <cyd@gnu.org>
15082
15083 * net/network-stream.el (network-stream-open-starttls):
15084 Avoid emitting a confusing error message when the server gives a bad
15085 response to the capability command.
15086
15087 2012-01-10 Glenn Morris <rgm@gnu.org>
15088
15089 * mail/unrmail.el (unrmail): Tweak previous change.
15090
15091 2012-01-09 Chong Yidong <cyd@gnu.org>
15092
15093 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15094
15095 2012-01-08 Alan Mackenzie <acm@muc.de>
15096
15097 Optimize font locking in long enum definitions.
15098
15099 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15100 arm to a cond form to handle enums.
15101 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15102 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15103
15104 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15105
15106 * files.el (move-file-to-trash): Preserve default file modes on error.
15107 (Bug#10401)
15108
15109 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15110
15111 * faces.el (set-face-attribute): Clarify the meaning of the nil
15112 frame (bug#10294).
15113
15114 * subr.el (with-selected-frame): Mention that the selected frame
15115 is restored (bug#9980).
15116
15117 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15118 (bug#9759).
15119
15120 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15121 (password-read): Don't autoload unused function.
15122
15123 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15124
15125 * progmodes/which-func.el (which-func-mode): Turn into a
15126 non-interactive function and mark as obsolete (bug#10428).
15127
15128 2012-01-06 Chong Yidong <cyd@gnu.org>
15129
15130 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15131 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15132 functions, along with 1 and -1.
15133
15134 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15135
15136 * time.el (display-time-load-average)
15137 (display-time-default-load-average): Doc fixes. See the thread
15138 starting at
15139 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15140 for the details.
15141
15142 2012-01-06 Glenn Morris <rgm@gnu.org>
15143
15144 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15145 has no messages. (Bug#10377)
15146
15147 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15148 than Info-edit. (Bug#10385)
15149
15150 * time.el (display-time-load-average, display-time-next-load-average):
15151 Doc fixes.
15152
15153 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15154 local setting of buffer-read-only to the input buffer. (Bug#10419)
15155
15156 * calendar/calendar.el (calendar-mode):
15157 Locally set scroll-margin to 0. (Bug#10379)
15158
15159 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15160
15161 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15162
15163 2012-01-05 Glenn Morris <rgm@gnu.org>
15164
15165 * eshell/em-unix.el (diff-no-select): Autoload it.
15166 (eshell/diff): Use diff-no-select. (Bug#10420)
15167
15168 2012-01-05 Chong Yidong <cyd@gnu.org>
15169
15170 * shell.el (shell-dynamic-complete-functions): Revert last change.
15171 (shell-command-completion-function): New function.
15172 (shell-completion-vars): Use it to implement
15173 shell-completion-execonly (Bug#10417).
15174
15175 * custom.el (enable-theme): Don't set custom-safe-themes.
15176
15177 * cus-theme.el (custom-theme-merge-theme):
15178 Ignore custom-enabled-themes and custom-safe-themes.
15179
15180 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15181
15182 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15183 first prompt in `sql-interacive-mode'.
15184 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15185 keywords.
15186 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15187 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15188 context of original buffer. Invoke `sql-login-hook'.
15189
15190 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15191
15192 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15193 letters in cite-prefix.
15194
15195 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15196
15197 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15198
15199 2012-01-03 Chong Yidong <cyd@gnu.org>
15200
15201 * shell.el (shell-dynamic-complete-functions):
15202 Put pcomplete-completions-at-point, so as to try
15203 comint-filename-completion first (Bug#10417).
15204
15205 2012-01-02 Richard Stallman <rms@gnu.org>
15206
15207 * battery.el (battery-status-function):
15208 Detect when to use battery-yeeloong-sysfs.
15209 (battery-echo-area-format): Add string for Yeeloong.
15210 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15211 (battery-yeeloong-sysfs): New function.
15212
15213 2012-01-02 Chong Yidong <cyd@gnu.org>
15214
15215 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15216 (dirtrack): Merge code for handling relative filenames in prompt
15217 from shell-dir-cookie-watcher.
15218 (dirtrack-debug-message): New arg to avoid excess format calls.
15219
15220 * shell.el (shell-dir-cookie-re): Variable deleted.
15221 (shell-dir-cookie-watcher): Function deleted.
15222 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15223 with dirtrack-mode.
15224
15225 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15226
15227 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15228 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15229 libgnutls-26.dll.
15230
15231 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15232
15233 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15234
15235 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15236
15237 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15238 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15239
15240 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15241
15242 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15243 also for alternative shells.
15244 (tramp-open-connection-setup-interactive-shell): Check, whether
15245 the shell is a busybox.
15246 (tramp-send-command): Don't suppress multiple prompts for
15247 busyboxes, it hurts.
15248
15249 2011-12-28 Chong Yidong <cyd@gnu.org>
15250
15251 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15252 (gdb-get-source-file): Move mode line update to
15253 gdb-get-source-file (Bug#10087).
15254
15255 2011-12-25 Chong Yidong <cyd@gnu.org>
15256
15257 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15258 gud-gdb-marker-filter without taking it as an argument.
15259 (gud-gdb-run-command-fetch-lines): Caller changed.
15260 (gud-gdb-completion-function): New variable.
15261 (gud-gdb-completion-at-point): Use it.
15262 (gud-gdb-completions-1): Split from gud-gdb-completions.
15263
15264 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15265 function as separate arguments.
15266 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15267 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15268 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15269 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15270 (gdb-stopped, def-gdb-auto-update-trigger)
15271 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15272 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15273 Callers changed.
15274 (gud-gdbmi-completions): New function.
15275 (gdb): Use it for generating the completion table.
15276
15277 2011-12-24 Alan Mackenzie <acm@muc.de>
15278
15279 Introduce a mechanism to widen the region used in context font
15280 locking. Use this to protect declarations from losing their contexts.
15281
15282 * progmodes/cc-langs.el (c-before-font-lock-functions):
15283 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15284 (c-before-context-fontification-functions): New defvar, a list of
15285 functions to be run just before context (etc.) font locking.
15286
15287 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15288 New, functionality extracted from
15289 c-neutralize-syntax-in-and-mark-CPP.
15290 (c-in-after-change-fontification): New variable.
15291 (c-after-change): Set c-in-after-change-fontification.
15292 (c-set-fl-decl-start): Rejig its interface, so it can be called
15293 from both after-change and context fontifying.
15294 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15295 New functions.
15296 (c-standard-font-lock-fontify-region-function): New variable.
15297 (c-font-lock-fontify-region): New function.
15298
15299 2011-12-24 Juri Linkov <juri@jurta.org>
15300
15301 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15302 (Bug#10348)
15303
15304 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15305
15306 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15307 existence of source file. (Bug#10325)
15308
15309 2011-12-23 Alan Mackenzie <acm@muc.de>
15310
15311 Fix unstable fontification inside templates.
15312
15313 * progmodes/cc-langs.el (c-before-font-lock-functions):
15314 Newly created from the singular version. The (c c++ objc) entry now
15315 additionally has c-set-fl-decl-start. The other languages (apart
15316 from AWK) have that as a single entry.
15317
15318 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15319 The functionality for "local" declarations has been extracted to
15320 c-set-fl-decl-start.
15321
15322 * progmodes/cc-mode.el (c-common-init, c-after-change):
15323 Changes due to pluralisation of c-before-font-lock-functions.
15324 (c-set-fl-decl-start): New function, extracted from
15325 c-font-lock-enclosing-decls and enhanced.
15326
15327 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15328
15329 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15330
15331 2011-12-22 Juri Linkov <juri@jurta.org>
15332
15333 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15334
15335 2011-12-22 Chong Yidong <cyd@gnu.org>
15336
15337 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15338
15339 2011-12-21 Drew Adams <drew.adams@oracle.com>
15340
15341 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15342
15343 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15344
15345 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15346
15347 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15348
15349 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15350 highlighting and support. Fix up comments for capitalization.
15351 (cfengine-mode-debug): New var.
15352 (cfengine3-mode): Change the modeline indicator to "CFE3".
15353 (cfengine3-font-lock-keywords): Improve defun highlighting.
15354 (cfengine2-actions): Rename from `cfengine-actions'.
15355 (cfengine2-font-lock-keywords): Rename from
15356 `cfengine-font-lock-keywords'.
15357 (cfengine2-imenu-expression): Rename from
15358 `cfengine-imenu-expression'.
15359 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15360 (cfengine2-beginning-of-defun): Rename from
15361 `cfengine-beginning-of-defun'.
15362 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15363 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15364 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15365 modeline indicator to "CFE2".
15366 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15367 (cfengine-mode-abbrevs): Mark obsolete.
15368
15369 2011-12-21 Chong Yidong <cyd@gnu.org>
15370
15371 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15372 filename argument.
15373
15374 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15375
15376 * window.el (window-normalize-buffer-to-display): Remove.
15377 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15378
15379 2011-12-19 Chong Yidong <cyd@gnu.org>
15380
15381 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15382 Don't signal an error in a predicate function; return non-nil.
15383 (vc-dir-mark-file): Move the error here.
15384 (vc-dir-mark-unmark): If acting on the region, keep going if one
15385 of the entries cannot be marked/unmarked.
15386 (vc-dir-mark-all-files): If current entry is a directory, mark
15387 only child files, as documented.
15388
15389 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15390
15391 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15392 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15393 addition.
15394
15395 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15396
15397 * term/ns-win.el (ns-get-selection-internal)
15398 (ns-store-selection-internal): Declare.
15399 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15400 Declare as obsolete.
15401 (ns-get-pasteboard, ns-paste-secondary):
15402 Use ns-get-selection-internal.
15403 (ns-set-pasteboard, ns-copy-including-secondary):
15404 Use ns-store-selection-internal.
15405
15406 2011-12-17 Chong Yidong <cyd@gnu.org>
15407
15408 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15409 (vc-deduce-fileset): Doc fix.
15410
15411 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15412
15413 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15414
15415 2011-12-13 Sam Steingold <sds@gnu.org>
15416
15417 * man.el (Man-getpage-in-background): When running under a
15418 window-system, ignore $MANWIDTH and $COLUMNS.
15419
15420 2011-12-15 Kenichi Handa <handa@m17n.org>
15421
15422 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15423 (setup-ethiopic-environment-internal): Comment out key-binding for
15424 ethio-toggle-punctuation.
15425
15426 2011-12-13 Alan Mackenzie <acm@muc.de>
15427
15428 Add the switch statement to AWK Mode.
15429
15430 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15431 "default" to the keywords regexp.
15432
15433 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15434 expression as the rest.
15435 (c-nonlabel-token-key): Allow string literals for AWK.
15436 Refactor for the other modes.
15437
15438 Large brace-block initialisation makes CC Mode slow: Fix.
15439 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15440 routines. Limit backward searching in c-font-lock-enclosing.decl.
15441
15442 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15443 pp-state and literal type in addition to the limits.
15444 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15445 (c-state-literal-at): Use the above new defun.
15446 (c-slow-in-literal, c-fast-in-literal): Remove.
15447 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15448
15449 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15450 being in a literal. Add a limit for backward searching.
15451
15452 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15453 c-slow-in-literal.
15454
15455 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15456
15457 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15458
15459 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15460
15461 * window.el (delete-other-windows): Use correct frame in call to
15462 window-with-parameter.
15463
15464 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15465
15466 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15467 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15468 (makefile-gmake-statements, makefile-makepp-statements):
15469 Use it and add new makepp keywords.
15470 (makefile-makepp-font-lock-keywords): Add new patterns.
15471 (makefile-match-function-end): Match new [...] and [[...]].
15472
15473 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15474
15475 * ses.el (ses-call-printer-return, ses-cell-property-get)
15476 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15477 (ses-create-cell-variable, ses-reset-header-string)
15478 (ses-cell-set-formula, ses-repair-cell-reference-all)
15479 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15480 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15481 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15482 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15483 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15484 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15485 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15486 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15487 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15488 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15489 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15490 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15491
15492 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15493
15494 * ses.el: The overall change is to add cell renaming, that is
15495 setting fancy names for cell symbols other than name matching
15496 "\\`[A-Z]+[0-9]+\\'" regexp .
15497 (ses-create-cell-variable): New defun.
15498 (ses-relocate-formula): Relocate formulas only for cells the
15499 symbols of which are not renamed, i.e. symbols whose names do not
15500 match regexp "\\`[A-Z]+[0-9]+\\'".
15501 (ses-relocate-all): Relocate values only for cells the symbols of
15502 which are not renamed.
15503 (ses-load): Create cells variables as the (ses-cell ...) are read,
15504 in order to check row col consistency with cell symbol name only
15505 for cells that are not renamed.
15506 (ses-replace-name-in-formula): New defun.
15507 (ses-rename-cell): New defun.
15508
15509 2011-12-11 Chong Yidong <cyd@gnu.org>
15510
15511 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15512 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15513
15514 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15515
15516 * window.el (other-window): Fix docstring.
15517
15518 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15519
15520 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15521 `from' or `to' address before taking its substring.
15522 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15523 encoded name is chopped in the middle of the encoded string, and
15524 thus displayed encoded.
15525
15526 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15527
15528 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15529
15530 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15531
15532 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15533 to use texinfo-update-node and commands that call it if the
15534 Texinfo file uses @node lines without next/prev/up pointers.
15535 Correct outdated description about texinfo-master-menu.
15536 (texinfo-all-menus-update, texinfo-master-menu)
15537 (texinfo-update-node, texinfo-every-node-update)
15538 (texinfo-multiple-files-update): Doc fix. Warn against updating
15539 all the @node lines.
15540 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15541 argument is numeric. Explain better in the doc string what the
15542 function really does.
15543 (texinfo-insert-master-menu-list): Improve the error message
15544 displayed if there's no menu in the Top node.
15545 (Bug#2975) See also this thread:
15546 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15547
15548 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15549
15550 * speedbar.el (speedbar-supported-extension-expressions):
15551 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15552
15553 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15554
15555 * printing.el (pr-mode-alist):
15556 * simple.el (filter-buffer-substring-functions)
15557 (completion-list-insert-choice-function):
15558 * window.el (window-with-parameter, window-atom-root)
15559 (window-sides-slots, window-size-fixed, window-min-delta)
15560 (window-max-delta, window--resize-mini-window)
15561 (window--resize-child-windows-normal, window-tree)
15562 (delete-other-windows, quit-window, split-window)
15563 (display-buffer-record-window, special-display-buffer-names)
15564 (special-display-regexps, special-display-popup-frame)
15565 (same-window-p, split-window-sensibly)
15566 (display-buffer-overriding-action, display-buffer-alist)
15567 (display-buffer-base-action, display-buffer, switch-to-buffer)
15568 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15569 (fit-window-to-buffer, recenter-positions)
15570 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15571 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15572 and remove unneeded backslashes in docstrings.
15573
15574 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15575
15576 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15577
15578 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15579 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15580 end in ".mk".
15581 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15582 when reading the makefile (bug#10116).
15583
15584 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15585
15586 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15587 (bug#10116).
15588
15589 2011-12-06 Glenn Morris <rgm@gnu.org>
15590
15591 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15592
15593 2011-12-06 Chong Yidong <cyd@gnu.org>
15594
15595 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15596
15597 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15598
15599 * textmodes/table.el (table-shorten-cell): Fix typo.
15600
15601 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15602
15603 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15604
15605 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15606
15607 * descr-text.el (describe-char): Fix display of strong
15608 right-to-left characters and directional embeddings and overrides.
15609
15610 * simple.el (what-cursor-position): Fix display of codepoints of
15611 strong right-to-left characters.
15612
15613 2011-12-05 Chong Yidong <cyd@gnu.org>
15614
15615 * faces.el (read-color): Doc fix.
15616
15617 2011-12-05 Glenn Morris <rgm@gnu.org>
15618
15619 * align.el (align--set-marker): Add doc-string.
15620 Don't try to move something that is not a marker. (Bug#10216)
15621
15622 2011-12-04 Glenn Morris <rgm@gnu.org>
15623
15624 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15625 overly zealous deletion of trailing whitespace.
15626
15627 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15628
15629 * server.el (server-delete-client): On Windows, do not try to delete
15630 the only terminal.
15631 (server-process-filter): On Windows, treat requests for a tty frame as
15632 if they were for a GUI frame if the running server is in GUI mode.
15633
15634 2011-12-03 Glenn Morris <rgm@gnu.org>
15635
15636 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15637
15638 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15639
15640 * electric.el: Streamline electric-indent's hook.
15641 (electric-indent-chars): Revert to simple list.
15642 (electric-indent-functions): New var.
15643 (electric-indent-post-self-insert-function): Use it.
15644
15645 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15646 there's no inferior buffer (bug#10196).
15647 (prolog-consult-compile): Don't use toggle-read-only.
15648
15649 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15650
15651 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15652 interrupt. (Bug#10187)
15653
15654 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15655
15656 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15657 (bug#9160).
15658
15659 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15660 (bug#10191).
15661
15662 2011-12-02 Juri Linkov <juri@jurta.org>
15663
15664 * info.el (Info-search): Display "end of manual" when Isearch
15665 reaches the end of single-file Info manual. (Bug#9918)
15666
15667 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15668
15669 * isearch.el (isearch-message-prefix): Run the input method part
15670 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15671
15672 2011-12-02 Juri Linkov <juri@jurta.org>
15673
15674 * isearch.el (isearch-occur): Use `word-search-regexp' for
15675 `isearch-word'.
15676 (isearch-search-and-update): Add condition for `isearch-word' and
15677 call `word-search-regexp'. (Bug#10145)
15678
15679 2011-12-01 Glenn Morris <rgm@gnu.org>
15680
15681 * eshell/em-hist.el (eshell-hist-initialize):
15682 Handle eshell-history-size nil and HISTSIZE set or unset.
15683 (eshell-history-file-name, eshell-history-size): Fix custom type.
15684
15685 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15686
15687 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15688
15689 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15690
15691 * progmodes/verilog-mode.el (verilog-pretty-expr):
15692 Rework verilog-pretty-expr to handle new assignment operators in system
15693 verilog, such as += *= and the like.
15694 (verilog-assignment-operator-re): Regular expression to find the
15695 assigment operator in a verilog assignment.
15696 (verilog-assignment-operation-re): Regular expression to find an
15697 assignment statement for pretty-expr.
15698 (verilog-in-attribute-p): Query returns true if point is in an
15699 attribute context; used to skip these for expression line up from
15700 pretty-expr.
15701 (verilog-in-parameter-p): Query returns true if point is in an
15702 parameter definition context; used to skip these for expression
15703 line up from pretty-expr.
15704 (verilog-in-parenthesis-p): Query returns true if point is in a
15705 parenthetical expression, specifically ( ) but not [ ] or { };
15706 used by pretty-expr.
15707 (verilog-just-one-space): If there is no space, don't add one.
15708 (verilog-get-lineup-indent-2): Specifically skip just attribute
15709 contexts for expression lineup, rather than skipping all
15710 parenthetical expressions.
15711 (verilog-calculate-indent): Fix comment, and fix indent.
15712 (verilog-do-indent): Indent declarations in lists (suggested by
15713 Joachim Lechner).
15714 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15715 skeleton items.
15716 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15717 by Alain Mellan).
15718
15719 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15720
15721 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15722 parameters with embedded comments. Reported by Ray Stevens.
15723 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15724 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15725 Reported by Tim Holt.
15726 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15727 instantiated by upper module causing wrong expansion until AUTOed a
15728 second time. Reported by K C Buckenmaier.
15729 (verilog-diff-auto): Fix showing .* as a difference when
15730 `verilog-auto-star-save' off. Reported by Dan Dever.
15731 (verilog-auto-reset, verilog-read-always-signals)
15732 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15733 temporary signals in reset list if
15734 verilog-auto-reset-blocking-in-non is nil, and match assignment
15735 style to each signal's assignment type, bug381.
15736 Reported by Thomas Esposito.
15737 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15738 (verilog-uvm-statement-re): Support UVM indentation and
15739 highlighting, with old OVM keywords only.
15740 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15741 Support AUTOTIEOFF creating non-wire data types.
15742 Suggested by Jonathan Greenlaw.
15743 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15744 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15745 (verilog-inject-sense, verilog-read-inst-pins)
15746 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15747 Fix mismatching parenthesis inside commented out code when deleting
15748 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15749 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15750 non-numeric vector width. Reported by Alex Reed.
15751 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15752 detecting signals with parameter widths. Reported by Alex Reed.
15753 (verilog-auto-delete-trailing-whitespace):
15754 With `verilog-auto-delete-trailing-whitespace' remove trailing
15755 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15756 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15757 Fix verilog-scan-cache corruption when running user AUTO expansion
15758 hooks that call indentation routines.
15759 (verilog-simplify-range-expression): Fix typo ignoring lower case
15760 identifiers.
15761 (verilog-delete-auto): Fix delete-autos to also remove user created
15762 automatics, as long as they start with AUTO.
15763 (verilog-batch-diff-auto, verilog-diff-auto)
15764 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15765 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15766 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15767 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15768 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15769 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15770 is disabled and its cache will get corrupt, causing AUTOS not to
15771 expand. Instead use only -quick functions.
15772 (verilog-scan-region): Fix scanning over escaped quotes.
15773 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15774 (verilog-re-search-backward-quick)
15775 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15776 related functions now ignore strings, to fix misparsing of strings
15777 with magic comments embedded in them.
15778 (verilog-read-auto-template):
15779 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15780 Reported by Brad Dobbie.
15781 (verilog-read-auto-template):
15782 Fix 'verilog-auto-inst-template-numbers' with comments.
15783 Reported by Brad Dobbie.
15784 (verilog-auto-inst, verilog-auto-inst-param)
15785 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15786 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15787 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15788 debugging templates without merge conflicts, bug357.
15789 Reported by Brad Dobbie.
15790 (verilog-read-auto-template):
15791 Fix verilog-auto-inst-template-numbers with multiple templates.
15792 Reported by Brad Dobbie.
15793 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15794 abbrevs so user won't be asked to save.
15795 (verilog-read-auto-lisp-present): Fix to start at beginning of
15796 buffer in case called outside of verilog-auto.
15797 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15798 to "X-2". Reported by Matthew Myers.
15799 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15800 all inputs from module templates. Reported by Leith Johnson.
15801 (verilog-module-inside-filename-p): Fix locating programs as with
15802 modules.
15803 (verilog-auto-inst-port): Fix vl-width expressions when using
15804 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15805 (verilog-decls-get-regs, verilog-decls-get-signals,
15806 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15807 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15808 verilog-read-decls): Combine reg and wire structures into one var
15809 structure to represent SystemVerilog concepts.
15810 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15811 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15812 (verilog-auto-wire-type, verilog-insert-definition):
15813 Add verilog-auto-wire-type and AUTOLOGIC to support using
15814 SystemVerilog "logic" keyword instead of "wire"/"reg".
15815 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15816 to declares outputs that also have assignments (presumably in an
15817 ifdef or generate if so there's not a driver conflict).
15818 Reported by Matthew Myers.
15819 (verilog-auto-declare-nettype, verilog-insert-definition):
15820 Add verilog-auto-declare-nettype to fix declarations using
15821 `default_nettype none. Reported by Julian Gorfajn.
15822 (verilog-read-always-signals-recurse, verilog-read-decls)
15823 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15824 malformed end statement, bug325. Reported by Joshua Wise and
15825 Andrew Drake.
15826 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15827 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15828 when expanding .* in interfaces, bug320.
15829 Reported by Pierre-David Pfister.
15830 (verilog-read-module-name): Fix import statements between module
15831 name and open parenthesis, bug317.
15832 Reported by Pierre-David Pfister.
15833 (verilog-simplify-range-expression): Fix simplification of
15834 multiplications inside AUTOWIRE connections, bug303.
15835 (verilog-auto-inst-port): Support parameter expansion in
15836 multidimensional arrays.
15837 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15838 after "assert property". Reported by Julian Gorfajn.
15839 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15840 with multiplication, bug303.
15841 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15842 Reported by Jan Frode Lonnum.
15843
15844 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15845
15846 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15847 (hfy-shell-file-name, hfy-shell):
15848 * international/fontset.el (x-decompose-font-name): Fix typos.
15849
15850 2011-11-29 Ken Brown <kbrown@cornell.edu>
15851
15852 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15853 (gdb-version): Remove defvar.
15854 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15855 (gdb-gud-context-command, gdb-non-stop-handler)
15856 (gdb-current-context-command, gdb-stopped): Use it.
15857 (gdb-init-1): Enable pretty printing here.
15858 (gdb-non-stop-handler): Don't enable pretty-printing here.
15859 Check to see if the target supports non-stop mode; if not, turn off
15860 non-stop mode. Use the following.
15861 (gdb-check-target-async): New defun.
15862 (gud-watch, gdb-stopped): Fix whitespace.
15863 (gdb-get-source-file): Don't try to display the source file if
15864 `gdb-main-file' is nil.
15865
15866 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15867
15868 * align.el: Try to generate fewer markers (bug#10047).
15869 (align--set-marker): New macro.
15870 (align-region): Use it.
15871
15872 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15873
15874 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15875
15876 2011-11-29 Chong Yidong <cyd@gnu.org>
15877
15878 * indent.el (indent-for-tab-command, indent-according-to-mode):
15879 Doc fix.
15880 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15881
15882 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15883
15884 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15885 aware of remote file names. (Bug#10124)
15886
15887 2011-11-29 Chong Yidong <cyd@gnu.org>
15888
15889 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15890
15891 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15892
15893 * files.el (find-file): Don't use force-same-window (bug#10144).
15894 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15895 use pop-to-buffer if the selected window can't be used.
15896 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15897
15898 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15899
15900 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15901 special-mode-map.
15902
15903 2011-11-28 Chong Yidong <cyd@gnu.org>
15904
15905 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15906
15907 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15908
15909 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15910 gdb-get-source-file-list on gdb-create-source-file-list.
15911
15912 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15913
15914 * whitespace.el (whitespace-newline): Use a different foreground
15915 color for 16-color light-background displays.
15916
15917 2011-11-24 Chong Yidong <cyd@gnu.org>
15918
15919 * window.el (display-buffer--special-action): Doc fix.
15920
15921 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15922
15923 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15924 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15925 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15926 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15927 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15928 (avl-tree-stack-first):
15929 * emacs-lisp/cconv.el (cconv--analyse-use):
15930 * net/gnutls.el (gnutls-negotiate): Fix typos.
15931
15932 2011-11-24 Glenn Morris <rgm@gnu.org>
15933
15934 * lpr.el (lpr-windows-system, lpr-lp-system):
15935 * mail/binhex.el (binhex-begin-line):
15936 * progmodes/grep.el (grep-history, grep-find-history):
15937 * textmodes/flyspell.el:
15938 * vc/pcvs-defs.el (cvs-global-menu):
15939 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15940 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15941 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15942
15943 * net/tls.el: Fix case of "GnuTLS".
15944
15945 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15946
15947 * version.el (emacs-build-system): Give it a doc-string.
15948
15949 2011-11-24 Juri Linkov <juri@jurta.org>
15950
15951 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15952
15953 2011-11-24 Glenn Morris <rgm@gnu.org>
15954
15955 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15956 if called on a non-mime message just toggle the headers. (Bug#8006)
15957
15958 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15959
15960 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15961 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15962 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15963 (allout-rebullet-heading, allout-open-sibtopic)
15964 (allout-toggle-current-subtree-encryption)
15965 (allout-toggle-subtree-encryption, allout-encrypt-string)
15966 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15967 (allout-distinctive-bullets-string, allout-auto-activation):
15968 * window.el (window-normalize-buffer-to-display):
15969 * progmodes/verilog-mode.el (verilog-batch-indent):
15970 * textmodes/bibtex.el (bibtex-field-braces-opt)
15971 (bibtex-field-strings-opt):
15972 * vc/cvs-status.el (cvs-tree-merge):
15973 Fix typos.
15974
15975 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15976
15977 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15978 `non-essential' to t, in order to avoid remote connections.
15979
15980 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15981
15982 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15983 On MS-DOS and MS-Windows, compare with loaddefs.el
15984 case-insensitively.
15985
15986 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15987
15988 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15989
15990 2011-11-23 Glenn Morris <rgm@gnu.org>
15991
15992 * paths.el (rmail-file-name): Reformat the doc-string so that it
15993 is picked up.
15994
15995 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15996 (rmail-auto-file): Ignore case in the "special" field names,
15997 as mail-fetch-field does for all others.
15998
15999 * mail/rmail.el (rmail-forward):
16000 * mail/rmailkwd.el (rmail-set-label):
16001 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16002 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16003
16004 * mail/rmail.el (rmail-current-message): Doc fix.
16005
16006 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16007
16008 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16009
16010 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16011
16012 2011-11-22 Glenn Morris <rgm@gnu.org>
16013
16014 * mail/rmailmm.el (test-rmail-mime-handler)
16015 (test-rmail-mime-bulk-handler)
16016 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16017
16018 2011-11-21 Juri Linkov <juri@jurta.org>
16019
16020 * calc/calc.el (calc-read-key-sequence):
16021 Let-bind `input-method-function' to nil. (Bug#10018)
16022
16023 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16024
16025 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16026 Tell the caller that the next line needs recomputation, even
16027 though it doesn't start a sexp (bug#10094).
16028
16029 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16030
16031 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16032
16033 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16034
16035 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16036 Use force-same-window.
16037
16038 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16039
16040 * descr-text.el (describe-char-unicode-data):
16041 * json.el (json-string-escape):
16042 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16043 (Footnote-unicode, Footnote-style-p):
16044 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16045
16046 2011-11-20 Chong Yidong <cyd@gnu.org>
16047
16048 * window.el (replace-buffer-in-windows): Restore interactive spec.
16049
16050 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16051
16052 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16053
16054 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16055 (byte-compile-global-not-obsolete-vars): New var.
16056 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16057 Use it.
16058 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16059
16060 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16061
16062 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16063 * progmodes/pascal.el (electric-pascal-equal):
16064 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16065 * xml.el (xml-substitute-special): Fix typos.
16066
16067 2011-11-20 Glenn Morris <rgm@gnu.org>
16068
16069 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16070 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16071 Doc fixes.
16072 (rmail-decode-mime-charset): Mark as obsolete.
16073
16074 * mail/rmailsum.el (rmail-message-regexp-p-1):
16075 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16076 Before using mime functions, check they are set. (Bug#10077)
16077
16078 2011-11-19 Juri Linkov <juri@jurta.org>
16079
16080 * info.el (Info-finder-find-node): Use `package--builtins' instead
16081 of `package-alist'. Use node names formed by the pattern "Keyword "
16082 and the keyword name.
16083
16084 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16085
16086 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16087
16088 2011-11-19 Juri Linkov <juri@jurta.org>
16089
16090 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16091 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16092 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16093 `old-history', `old-history-forward'. Add let-binding
16094 `window-selected'. Remove calls to `kill-buffer',
16095 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16096 before calling `Info-find-node', so `Info-find-node-2' will reread
16097 the Info file. Restore window positions only when `window-selected'
16098 is non-nil.
16099
16100 2011-11-19 Juri Linkov <juri@jurta.org>
16101
16102 * isearch.el (isearch-lazy-highlight-new-loop):
16103 Remove condition `(not isearch-error)'. (Bug#9918)
16104
16105 * misearch.el (multi-isearch-search-fun): Add condition
16106 `(not bound)' to ignore lazy-highlighting search.
16107 Add the search-failed message "end of multi" when the end of
16108 multi-sequence is reached. Uncapitalize the search-failed
16109 message "Repeat for next buffer".
16110
16111 * info.el (Info-search): Add the search-failed message
16112 "end of the manual" when the end of the manual is reached
16113 in Isearch mode.
16114
16115 2011-11-19 Juri Linkov <juri@jurta.org>
16116
16117 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16118 Use non-destructive `remove' instead of `delete' because
16119 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16120 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16121
16122 2011-11-19 Juri Linkov <juri@jurta.org>
16123
16124 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16125 to nil instead of binding `search-ring' and `regexp-search-ring'.
16126 (Bug#9185)
16127
16128 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16129
16130 * simple.el (line-move): Force movement by logical lines for any
16131 hscrolled window, not only when auto-hscroll-mode is on.
16132 (line-move-visual): Update doc string to that effect. (Bug#10076)
16133
16134 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16135
16136 * language/european.el (macintosh): Define as alias for mac-roman.
16137
16138 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16139
16140 * mail/rmailmm.el (rmail-mime-display-header)
16141 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16142 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16143 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16144 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16145 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16146 of a raw aref.
16147 (rmail-mime-entity-segment): To get past the tagline, move forward
16148 2 more lines, to account for the 2 empty lines that precede and
16149 follow the line with the buttons.
16150 (rmail-mime-update-tagline): Move one more line, to get past the
16151 empty line that follows the buttons in the tagline. (Bug#9520)
16152
16153 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16154
16155 * window.el (window-max-delta-1, window-min-delta-1)
16156 (window-min-size-1, window-state-get-1, window-state-put-1)
16157 (window-state-put-2): Use "window--" prefix.
16158
16159 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16160
16161 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16162 (smie-warning-count): New var.
16163 (smie-set-prec2tab): Use it.
16164 (smie-bnf->prec2): Improve warnings. Add docstring.
16165 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16166 (smie-bnf--set-class): New function.
16167 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16168 corner case.
16169
16170 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16171 (compilation-error-properties, compilation-move-to-column):
16172 Handle compilation-first-column while in the target buffer.
16173
16174 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16175 Don't hardcode point-min==1.
16176
16177 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16178 (eshell-rewrite-for-command): Remove workaround.
16179 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16180 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16181 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16182
16183 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16184
16185 2011-11-17 Glenn Morris <rgm@gnu.org>
16186
16187 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16188 Ignore buffer-local generated-autoload-file if it is the same
16189 as the global value. (Bug#10049)
16190
16191 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16192
16193 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16194 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16195 (reftex-toc-previous-heading, reftex-toc-max-level)
16196 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16197 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16198 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16199 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16200 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16201 (reftex-toc-rename-label, reftex-toc-visit-location)
16202 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16203 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16204 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16205 leaving "*toc*" only for references to the buffer.
16206
16207 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16208
16209 * window.el (window-resize, delete-window, split-window):
16210 Replace window-splits by window-combination-resize.
16211 * cus-start.el (window-splits): Replace by window-combination-resize.
16212
16213 2011-11-17 Glenn Morris <rgm@gnu.org>
16214
16215 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16216 Make bash entry derive from sh entry, not shell entry.
16217
16218 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16219
16220 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16221 local file name.
16222
16223 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16224
16225 * menu-bar.el (menu-bar-file-menu):
16226 * printing.el (pr-ps-utility):
16227 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16228 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16229 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16230 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16231 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16232 (icalendar--convert-cyclic-to-ical)
16233 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16234 (icalendar--convert-ical-to-diary)
16235 (icalendar--convert-recurring-to-diary)
16236 (icalendar--convert-non-recurring-all-day-to-diary)
16237 (icalendar-import-format-sample):
16238 * progmodes/idlw-shell.el (idlwave-shell-mode):
16239 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16240 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16241 (vhdl-ps-print-init): Fix typos.
16242
16243 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16244
16245 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16246 FSF and collapse date sequence, obscure author/maintainer email address
16247 better, remove extra version line, track relocation of author's webpage.
16248
16249 * progmodes/python.el (python-pdbtrack-input-prompt)
16250 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16251 regular python pdb prompts. Adjustments shamelessly taken exactly as
16252 suggested in EmacsWiki page (tiny change):
16253 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16254
16255 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16256
16257 * expand.el (expand-pos, expand-index, expand-point):
16258 Remove redundant info from docstring.
16259 (expand-add-abbrevs): Doc fix.
16260 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16261 (expand-sample-perl-mode-expand-list): Fix typos.
16262
16263 * net/dbus.el (dbus-event-member-name):
16264 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16265 * term/pc-win.el (msdos-create-frame-with-faces):
16266 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16267
16268 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16269
16270 * window.el (split-window, window-state-get-1)
16271 (window-state-put-1, window-state-put-2): Rename occurrences of
16272 window-nest to window-combination-limit.
16273 * cus-start.el (window-nest): Rename to window-combination-limit.
16274
16275 2011-11-16 Chong Yidong <cyd@gnu.org>
16276
16277 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16278 regexp (Bug#10033).
16279
16280 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16281
16282 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16283 `completing-read' will remove *Completions* and will preserve
16284 current-buffer for us.
16285 (tmm-add-prompt): Users of *Completions* will always (re)set its
16286 major mode.
16287 (tmm-old-comp-map): Remove.
16288
16289 2011-11-16 Glenn Morris <rgm@gnu.org>
16290
16291 * mail/rmailedit.el: Require rmailmm when compiling.
16292 (rmail-old-mime-state): New declaration.
16293 (rmail-edit-current-message): If editing a mime message,
16294 edit the "raw" message from the mbox buffer.
16295 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16296
16297 2011-11-15 Glenn Morris <rgm@gnu.org>
16298
16299 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16300 which wasn't being used. Add optional arg to force given state.
16301 (rmail-mime): Add optional arg to force given state.
16302
16303 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16304
16305 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16306 * frame.el (display-mm-dimensions-alist):
16307 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16308 (outline-move-subtree-down):
16309 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16310 (newsticker--treeview-do-get-node):
16311 * net/quickurl.el (quickurl-list-buffer-name):
16312 * progmodes/dcl-mode.el (dcl-mode):
16313 * progmodes/gdb-mi.el (gdb-mapcar*):
16314 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16315
16316 2011-11-15 Glenn Morris <rgm@gnu.org>
16317
16318 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16319 in a boolean sense, so just make it a boolean, and fix the doc.
16320 (rmail-show-mime-function, rmail-mime-feature)
16321 (rmail-require-mime-maybe): Doc fixes.
16322 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16323
16324 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16325
16326 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16327
16328 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16329 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16330 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16331 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16332
16333 2011-11-15 Glenn Morris <rgm@gnu.org>
16334
16335 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16336 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16337 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16338 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16339 (rmail-mime, rmail-show-mime): Doc fixes.
16340
16341 * term/ns-win.el (mode-line-frame-identification):
16342 Leave it alone. (Bug#10051)
16343
16344 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16345
16346 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16347 Handle empty buffers. (Bug#9978)
16348
16349 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16350
16351 * international/mule.el (define-charset):
16352 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16353 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16354 * progmodes/verilog-mode.el (verilog-backward-token):
16355 * textmodes/ispell.el (lookup-words):
16356 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16357
16358 2011-11-14 Glenn Morris <rgm@gnu.org>
16359
16360 * progmodes/executable.el
16361 (executable-make-buffer-file-executable-if-script-p):
16362 Handle file-modes returning nil.
16363
16364 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16365 message - not necessary, and causes problems. (Bug#9831)
16366
16367 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16368
16369 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16370
16371 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16372 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16373 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16374
16375 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16376
16377 * window.el (window-resize, delete-window): Use window-splits
16378 variable instead of function.
16379 (window-state-get-1, window-state-put-2, window-state-put):
16380 Don't deal with windows' splits status.
16381
16382 2011-11-12 Glenn Morris <rgm@gnu.org>
16383
16384 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16385 (apropos-documentation): Doc fixes.
16386
16387 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16388
16389 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16390 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16391
16392 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16393
16394 * electric.el (electric-indent-post-self-insert-function): Make it
16395 possible for a char to only indent in some circumstances.
16396 (electric-indent-mode): Simplify.
16397
16398 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16399
16400 * window.el (windows-with-parameter): Remove unused function.
16401 (windows-at-side): Rename to window-at-side-list.
16402 (window-check, window-atom-check, window-atom-check-1)
16403 (window-side-check, window-size-ignore, window-size-fixed-1)
16404 (window-in-direction-2): Prefix with "window--".
16405 (window-tree-1): Rename to window--subtree, fix doc-string.
16406
16407 2011-11-11 Glenn Morris <rgm@gnu.org>
16408
16409 * subr.el (eval-after-load): If FILE is already loaded,
16410 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16411
16412 2011-11-10 Glenn Morris <rgm@gnu.org>
16413
16414 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16415 Call svn via vc-svn-command rather than vc-do-command.
16416 (vc-svn-command): Add --non-interactive. (Bug#9993)
16417 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16418
16419 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16420 Add toggle-read-only. (Bug#7292)
16421 * files.el (toggle-read-only): Mention that it should only
16422 be used interactively. (Bug#10006)
16423
16424 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16425
16426 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16427 Adjust regexp for OCaml warnings.
16428
16429 * electric.el (electric-pair-post-self-insert-function): Let user
16430 turn it off buffer-locally (bug#9932).
16431
16432 * progmodes/python.el (python-beginning-of-statement):
16433 Rewrite (bug#2703).
16434
16435 * progmodes/compile.el: Better handle TABs (bug#9749).
16436 (compilation-internal-error-properties)
16437 (compilation-next-error-function): Obey the target buffer's
16438 compilation-error-screen-columns.
16439
16440 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16441
16442 * progmodes/meta-mode.el: Remove obsolete comments.
16443 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16444 Fix typos in docstrings.
16445
16446 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16447
16448 * window.el (window-size-fixed-p): Rewrite doc-string.
16449 (window-resizable-p): Rename to window--resizable-p. Update callers.
16450 (window--resizable): New function. Make all callers of
16451 window-resizable call window--resizable instead.
16452 (window-resizable): Rewrite in terms of window--resizable.
16453
16454 2011-11-08 Glenn Morris <rgm@gnu.org>
16455
16456 * progmodes/delphi.el (delphi-mode-syntax-table):
16457 Let define-derived-mode define a proper syntax table. (Bug#9994)
16458
16459 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16460
16461 * window.el: Stay away from defsubst.
16462 (window-list-no-nils): Remove.
16463 (window-state-get-1, window-state-get): Use backquote instead.
16464
16465 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16466
16467 * emacs-lisp/find-func.el (find-function-read):
16468 Fix incorrect use of default argument in `completing-read'.
16469
16470 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16471
16472 * window.el (display-buffer-function, special-display-function):
16473 Mention display-buffer-record-window but do not mention
16474 help-setup parameter in doc-strings.
16475 (window-min-delta): Fix doc-string typo.
16476
16477 2011-11-08 Chong Yidong <cyd@gnu.org>
16478
16479 * window.el (window-total-height, window-total-width): Doc fix.
16480 (window-body-size): Move from C.
16481 (window-body-height, window-body-width): Move to C.
16482
16483 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16484
16485 * window.el: Make special-display like display-buffer-alist (bug#9532).
16486 (display-buffer--special-action): New function, morphed
16487 from display-buffer--special.
16488 (display-buffer): Use it to handle special-display-buffers at higher
16489 priority (just after display-buffer-alist).
16490 (display-buffer-fallback-action, display-buffer--other-frame-action)
16491 (pop-to-buffer-same-window): Remove display-buffer--special.
16492
16493 2011-11-07 Glenn Morris <rgm@gnu.org>
16494
16495 * calendar/cal-menu.el (cal-menu-set-date-title):
16496 Do nothing if not in a calendar. (Bug#9976)
16497
16498 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16499
16500 * files.el (find-file): Always use selected-window.
16501
16502 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16503
16504 * window.el (window-combinations): Make WINDOW argument
16505 mandatory. Rewrite doc-string.
16506 (walk-window-subtree, window-atom-check, window-min-delta)
16507 (window-max-delta, window--resize-this-window)
16508 (window--resize-root-window-vertically, window-tree)
16509 (balance-windows, window-state-put): Rewrite doc-strings as to
16510 not mention the term "subwindow".
16511 (window--resize-subwindows-skip-p): Rename to
16512 window--resize-child-windows-skip-p.
16513 (window--resize-subwindows-normal): Rename to
16514 window--resize-child-windows-normal.
16515 (window--resize-subwindows): Rename to
16516 window--resize-child-windows.
16517 (window-or-subwindow-p): Rename to window--in-subtree-p.
16518
16519 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16520
16521 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16522 Ensure that mbox format messages end in two newlines (Bug#9974).
16523
16524 2011-11-06 Chong Yidong <cyd@gnu.org>
16525
16526 * window.el (window-combination-p): Function deleted; its
16527 side-effect is not used in any existing code.
16528 (window-combinations, window-combined-p): Call window-*-child
16529 directly.
16530
16531 2011-11-05 Chong Yidong <cyd@gnu.org>
16532
16533 * window.el (window-valid-p): Rename from window-any-p.
16534 (window-size-ignore, window-state-get): Callers changed.
16535 (window-normalize-window): Rename from window-normalize-any-window.
16536 New arg LIVE-ONLY, replacing window-normalize-live-window.
16537 (window-normalize-live-window): Delete.
16538 (window-combination-p, window-combined-p, window-combinations)
16539 (walk-window-subtree, window-atom-root, window-min-size)
16540 (window-sizable, window-sizable-p, window-size-fixed-p)
16541 (window-min-delta, window-max-delta, window-resizable)
16542 (window-resizable-p, window-full-height-p, window-full-width-p)
16543 (window-current-scroll-bars, window-point-1, set-window-point-1)
16544 (window-at-side-p, window-in-direction, window-resize)
16545 (adjust-window-trailing-edge, maximize-window, minimize-window)
16546 (window-deletable-p, delete-window, delete-other-windows)
16547 (record-window-buffer, unrecord-window-buffer)
16548 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16549 (quit-window, split-window, window-state-put)
16550 (set-window-text-height, fit-window-to-buffer)
16551 (shrink-window-if-larger-than-buffer): Callers changed.
16552
16553 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16554
16555 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16556 rfc2047-decode-string.
16557 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16558 warnings.
16559
16560 * window.el (window-body-height, window-body-width): Mention in
16561 the doc string that the return values are in frame's canonical
16562 units. (Bug#9949)
16563
16564 2011-11-03 Alan Mackenzie <acm@muc.de>
16565
16566 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16567 change in cc-engine.el.
16568
16569 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16570
16571 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16572
16573 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16574
16575 * window.el (quit-window): Call unrecord-window-buffer after
16576 showing another buffer in the window. (Bug#9937)
16577 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16578
16579 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16580
16581 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16582 Accept status with more than 9 shelves. (Bug#9935)
16583 Reported by Colin D Bennett <colin@gibibit.com>.
16584
16585 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16586
16587 * help.el (with-help-window): Don't reference
16588 temp-buffer-show-specifiers in doc-string.
16589
16590 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16591
16592 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16593 menu-item.
16594
16595 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16596
16597 * whitespace.el: New version 13.2.2.
16598 (whitespace-newline-mode): Disable properly. Reported by Sarah
16599 <EmacsWiki>.
16600
16601 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16602
16603 * net/newst-treeview.el: Remove "Time-stamp".
16604 (newsticker--group-manage-orphan-feeds): Do not call
16605 newsticker--treeview-tree-update.
16606 (newsticker-treeview-update, newsticker-treeview):
16607 Call newsticker--treeview-tree-update if necessary.
16608
16609 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16610
16611 * window.el (window-iso-combination-p, window-iso-combined-p)
16612 (window-iso-combinations): Remove "iso-" infix.
16613 Suggested by Chong Yidong.
16614 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16615 (window-max-delta-1, window-resize, window--resize-siblings)
16616 (window--resize-this-window, adjust-window-trailing-edge)
16617 (split-window, balance-windows-1)
16618 (shrink-window-if-larger-than-buffer):
16619 * calendar/calendar.el (calendar-generate-window):
16620 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16621
16622 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16623
16624 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16625 in place (bug#9907).
16626 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16627 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16628 (eshell-structure-basic-command, eshell-rewrite-while-command)
16629 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16630 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16631 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16632 (eshell-do-pipelines-synchronously, eshell-eval-command):
16633 Use backquotes and prefer setq to set.
16634 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16635 (eshell-macrop): Use functionp.
16636 (eshell-do-eval): Handle multiple expressions in `while' body.
16637
16638 2011-10-30 Chong Yidong <cyd@gnu.org>
16639
16640 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16641 instead of set-mark (Bug#9810).
16642
16643 2011-10-30 Chong Yidong <cyd@gnu.org>
16644
16645 * window.el (split-window-below, split-window-right): Rename from
16646 split-window-above-each-other and split-window-side-by-side
16647 respectively. All callers changed.
16648 (split-window-sensibly, split-window-sensibly): Use them.
16649 (split-window-keep-point): Doc fix.
16650
16651 * isearch.el: Add isearch-scroll property to split-window-below
16652 and split-window-right.
16653
16654 * follow.el (follow-mode):
16655 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16656 * progmodes/ada-xref.el (ada-gdb-application):
16657 * emulation/vip.el (vip-buffer-in-two-windows):
16658 * image-dired.el (image-dired-dired-with-window-configuration):
16659 * dired-x.el (dired-do-find-marked-files):
16660 * dired.el (dired-pop-to-buffer):
16661 * bs.el (bs--show-with-configuration):
16662 * vc/emerge.el (emerge-setup-windows):
16663 * textmodes/two-column.el (2C-two-columns):
16664 * textmodes/reftex-toc.el (reftex-toc):
16665 * progmodes/gdb-mi.el (gdb-setup-windows):
16666 * progmodes/fortran.el (fortran-window-create):
16667 * net/newst-treeview.el (newsticker--treeview-window-init):
16668 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16669 * emulation/tpu-edt.el (tpu-gold-map):
16670 * emulation/crisp.el (crisp-mode-map):
16671 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16672
16673 2011-10-29 Chong Yidong <cyd@gnu.org>
16674
16675 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16676
16677 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16678
16679 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16680 forged Ispell output (Bug#7904).
16681
16682 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16683
16684 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16685
16686 * doc-view.el: Avoid ugly errors about not finding nil.
16687 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16688 (doc-view-dvipdf-program, doc-view-unoconv-program)
16689 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16690 Avoid nil or absolute file name as default value.
16691 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16692
16693 2011-10-28 Alan Mackenzie <acm@muc.de>
16694
16695 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16696
16697 2011-10-28 Alan Mackenzie <acm@muc.de>
16698
16699 Amend the handling of c-beginning/end-of-defun in nested declaration
16700 scopes.
16701
16702 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16703 cc-langs.el. Change it to a defcustom.
16704
16705 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16706 cc-vars.el.
16707
16708 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16709 Prevent "class foo : bar" being spuriously recognized as a label.
16710
16711 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16712 Add parameter `inclusive' (to include enclosing braces in the region).
16713 (c-widen-to-enclosing-decl-scope): New function.
16714 (c-while-widening-to-decl-block): New macro.
16715 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16716 outward for defun boundaries, and correspondingly change symbol
16717 `respect-enclosure' to `go-outward'.
16718 (c-declaration-limits): Change algorithm to report only the "innermost"
16719 defun's boundaries.
16720
16721 2011-10-28 Deniz Dogan <deniz@dogan.se>
16722
16723 * net/rcirc.el (rcirc-mode): Use hard newlines.
16724
16725 2011-10-28 Alan Mackenzie <acm@muc.de>
16726
16727 Amend to indent and fontify macros "which include their own semicolon"
16728 correctly, using the "virtual semicolon" mechanism.
16729
16730 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16731
16732 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16733 Recode to scan one line at a time rather than having \n and \r
16734 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16735 (c-forward-label): Amend for virtual semicolons.
16736 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16737
16738 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16739 of the new C macros.
16740
16741 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16742 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16743 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16744 (c-opt-cpp-macro-define): Make into a full language variable.
16745 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16746 AWK Mode (including \n, \r) removed, no longer needed.
16747
16748 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16749 Invoke c-make-macro-with-semi-re.
16750
16751 * progmodes/cc-vars.el (c-macro-with-semi-re):
16752 (c-macro-names-with-semicolon): New variables.
16753 (c-make-macro-with-semi-re): New function.
16754
16755 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16756
16757 * vc/log-edit.el: Fill empty field rather than adding new one.
16758 (log-edit-add-field): New function.
16759 (log-edit-insert-changelog): Use it.
16760
16761 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16762
16763 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16764
16765 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16766
16767 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16768 (gdb--check-interpreter): New function.
16769 (gdb): Use it.
16770
16771 2011-10-27 Glenn Morris <rgm@gnu.org>
16772
16773 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16774 (least-positive-float, least-negative-float)
16775 (least-positive-normalized-float, least-negative-normalized-float)
16776 (float-epsilon, float-negative-epsilon):
16777 Remove unnecessary declarations.
16778
16779 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16780 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16781 (least-positive-float, least-negative-float)
16782 (least-positive-normalized-float, least-negative-normalized-float)
16783 (float-epsilon, float-negative-epsilon): Add doc-strings,
16784 based on those in cl.texi.
16785
16786 * files.el (set-visited-file-name): If the major-mode changed,
16787 reload the local variables. (Bug#9796)
16788
16789 2011-10-27 Chong Yidong <cyd@gnu.org>
16790
16791 * subr.el (change-major-mode-after-body-hook): New hook.
16792 (run-mode-hooks): Run it.
16793
16794 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16795 Use change-major-mode-before-body-hook.
16796
16797 * simple.el (fundamental-mode):
16798 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16799 change introducing fundamental-mode-hook.
16800
16801 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16802
16803 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16804
16805 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16806
16807 * ido.el (ido-file-name-all-completions-1): Do not require
16808 tramp.el explicitly. (Bug#7583)
16809
16810 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16811
16812 * progmodes/octave-mod.el:
16813 * progmodes/octave-inf.el: Update maintainer.
16814
16815 2011-10-26 Chong Yidong <cyd@gnu.org>
16816
16817 * subr.el (with-wrapper-hook): Rewrite doc.
16818
16819 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16820
16821 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16822 filenames "/method:foo:". (Bug#9793)
16823
16824 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16825
16826 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16827 (bug#9865).
16828
16829 2011-10-24 Glenn Morris <rgm@gnu.org>
16830
16831 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16832
16833 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16834
16835 * notifications.el: Add the requirement of a running D-Bus session
16836 bus to the Commentary.
16837
16838 2011-10-24 Juri Linkov <juri@jurta.org>
16839
16840 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16841 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16842 (Bug#9364)
16843
16844 2011-10-24 Juri Linkov <juri@jurta.org>
16845
16846 * info.el (Info-following-node-name-re): Add newline to the list
16847 of allowed characters for leading space. (Bug#9824)
16848
16849 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16850
16851 * progmodes/octave-inf.el (inferior-octave-mode-map):
16852 Fix C-c C-h binding.
16853 * progmodes/octave-mod.el (octave-help): Remove.
16854
16855 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16856
16857 Sync with Tramp 2.2.3.
16858
16859 * net/tramp-cache.el (top): Pacify byte-compiler using
16860 `init-file-user' and `site-run-file'.
16861
16862 * net/trampver.el: Update release number.
16863
16864 2011-10-23 Chong Yidong <cyd@gnu.org>
16865
16866 * files.el (toggle-read-only): Remove obsolete comment about
16867 version control.
16868
16869 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16870 for toggle-read-only. Note that this hasn't called vc-next-action
16871 since 2008-05-02, though it wasn't documented at the time.
16872
16873 * vc/ediff-init.el (ediff-toggle-read-only-function):
16874 Use toggle-read-only.
16875
16876 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16877
16878 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16879 of c-parse-state.
16880
16881 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16882 correct faulty logical expression.
16883 (c-parse-state-state, c-record-parse-state-state):
16884 (c-replay-parse-state-state): New defvar/defuns.
16885 (c-debug-parse-state): Use new functions.
16886
16887 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16888
16889 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16890 last fix. Use window-in-direction correctly.
16891
16892 2011-10-21 Chong Yidong <cyd@gnu.org>
16893
16894 * progmodes/idlwave.el (idlwave-mode):
16895 * progmodes/vera-mode.el (vera-mode): No need to set
16896 require-final-newline; that's done in prog-mode.
16897 Suggested by Stefan Monnier.
16898
16899 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16900
16901 * mouse.el (mouse-drag-window-above)
16902 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16903 (mouse-drag-mode-line-1, mouse-drag-header-line)
16904 (mouse-drag-vertical-line-rightward-window): Remove.
16905 (mouse-drag-line): New function.
16906 (mouse-drag-mode-line, mouse-drag-header-line)
16907 (mouse-drag-vertical-line): Call mouse-drag-line.
16908 * window.el (window-at-side-p, windows-at-side): New functions.
16909
16910 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16911
16912 * tar-mode.el (tar-grind-file-mode):
16913 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16914
16915 2011-10-21 Chong Yidong <cyd@gnu.org>
16916
16917 * progmodes/idlwave.el (idlwave-mode):
16918 * progmodes/vera-mode.el (vera-mode):
16919 Use mode-require-final-newline.
16920
16921 2011-10-20 Glenn Morris <rgm@gnu.org>
16922
16923 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16924
16925 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16926
16927 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16928
16929 2011-10-20 Chong Yidong <cyd@gnu.org>
16930
16931 * emulation/cua-base.el (cua-mode):
16932 * mail/footnote.el (footnote-mode):
16933 * mail/mailabbrev.el (mail-abbrevs-mode):
16934 * net/xesam.el (xesam-minor-mode):
16935 * progmodes/bug-reference.el (bug-reference-mode):
16936 * progmodes/cap-words.el (capitalized-words-mode):
16937 * progmodes/compile.el (compilation-minor-mode)
16938 (compilation-shell-minor-mode):
16939 * progmodes/gud.el (gud-tooltip-mode):
16940 * progmodes/hideif.el (hide-ifdef-mode):
16941 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16942 * progmodes/subword.el (subword-mode):
16943 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16944 * progmodes/which-func.el (which-function-mode):
16945 * term/tvi970.el (tvi970-set-keypad-mode):
16946 * term/vt100.el (vt100-wide-mode):
16947 * textmodes/flyspell.el (flyspell-mode):
16948 * textmodes/ispell.el (ispell-minor-mode):
16949 * textmodes/nroff-mode.el (nroff-electric-mode):
16950 * textmodes/paragraphs.el (use-hard-newlines):
16951 * textmodes/refill.el (refill-mode):
16952 * textmodes/reftex.el (reftex-mode):
16953 * textmodes/rst.el (rst-minor-mode):
16954 * textmodes/sgml-mode.el (html-autoview-mode)
16955 (sgml-electric-tag-pair-mode):
16956 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16957 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16958 * emulation/crisp.el (crisp-mode):
16959 * emacs-lisp/eldoc.el (eldoc-mode):
16960 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16961 minor mode behavior.
16962
16963 2011-10-19 Juri Linkov <juri@jurta.org>
16964
16965 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16966 the list of hard-coded chars with escape-glyph face.
16967
16968 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16969
16970 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16971
16972 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16973
16974 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16975 running process.
16976
16977 2011-10-19 Glenn Morris <rgm@gnu.org>
16978
16979 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16980 Ignore ignored files. (Bug#9726)
16981
16982 2011-10-19 Chong Yidong <cyd@gnu.org>
16983
16984 Doc fix for minor modes, stating that an omitted argument enables
16985 the mode unconditionally when called from Lisp.
16986
16987 * abbrev.el (abbrev-mode):
16988 * allout.el (allout-mode):
16989 * autoinsert.el (auto-insert-mode):
16990 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16991 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16992 (global-auto-revert-mode):
16993 * battery.el (display-battery-mode):
16994 * composite.el (global-auto-composition-mode)
16995 (auto-composition-mode):
16996 * delsel.el (delete-selection-mode):
16997 * desktop.el (desktop-save-mode):
16998 * dired-x.el (dired-omit-mode):
16999 * dirtrack.el (dirtrack-mode):
17000 * doc-view.el (doc-view-minor-mode):
17001 * double.el (double-mode):
17002 * electric.el (electric-indent-mode, electric-pair-mode):
17003 * emacs-lock.el (emacs-lock-mode):
17004 * epa-hook.el (auto-encryption-mode):
17005 * follow.el (follow-mode):
17006 * font-core.el (font-lock-mode):
17007 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17008 * help.el (temp-buffer-resize-mode):
17009 * hilit-chg.el (highlight-changes-mode)
17010 (highlight-changes-visible-mode):
17011 * hi-lock.el (hi-lock-mode):
17012 * hl-line.el (hl-line-mode, global-hl-line-mode):
17013 * icomplete.el (icomplete-mode):
17014 * ido.el (ido-everywhere):
17015 * image-file.el (auto-image-file-mode):
17016 * image-mode.el (image-minor-mode):
17017 * iswitchb.el (iswitchb-mode):
17018 * jka-cmpr-hook.el (auto-compression-mode):
17019 * linum.el (linum-mode):
17020 * longlines.el (longlines-mode):
17021 * master.el (master-mode):
17022 * mb-depth.el (minibuffer-depth-indicate-mode):
17023 * menu-bar.el (menu-bar-mode):
17024 * minibuf-eldef.el (minibuffer-electric-default-mode):
17025 * mouse-sel.el (mouse-sel-mode):
17026 * msb.el (msb-mode):
17027 * mwheel.el (mouse-wheel-mode):
17028 * outline.el (outline-minor-mode):
17029 * paren.el (show-paren-mode):
17030 * recentf.el (recentf-mode):
17031 * reveal.el (reveal-mode, global-reveal-mode):
17032 * rfn-eshadow.el (file-name-shadow-mode):
17033 * ruler-mode.el (ruler-mode):
17034 * savehist.el (savehist-mode):
17035 * scroll-all.el (scroll-all-mode):
17036 * scroll-bar.el (scroll-bar-mode):
17037 * server.el (server-mode):
17038 * shell.el (shell-dirtrack-mode):
17039 * simple.el (auto-fill-mode, transient-mark-mode)
17040 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17041 (line-number-mode, column-number-mode, size-indication-mode)
17042 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17043 * strokes.el (strokes-mode):
17044 * time.el (display-time-mode):
17045 * t-mouse.el (gpm-mouse-mode):
17046 * tool-bar.el (tool-bar-mode):
17047 * tooltip.el (tooltip-mode):
17048 * type-break.el (type-break-mode-line-message-mode)
17049 (type-break-query-mode):
17050 * view.el (view-mode):
17051 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17052 (global-whitespace-mode, global-whitespace-newline-mode):
17053 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17054
17055 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17056 Fix autogenerated docstring.
17057
17058 2011-10-19 Juri Linkov <juri@jurta.org>
17059
17060 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17061 by checking environment variables "DESKTOP_SESSION" and
17062 "XDG_CURRENT_DESKTOP". (Bug#9779)
17063
17064 2011-10-19 Juri Linkov <juri@jurta.org>
17065
17066 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17067 (browse-url-chromium-program, browse-url-chromium-arguments):
17068 New defcustoms.
17069 (browse-url-default-browser): Check for `browse-url-chromium' and
17070 call `browse-url-chromium-program'.
17071 (browse-url-chromium): New command. (Bug#9779)
17072
17073 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17074
17075 * facemenu.el (list-colors-duplicates): On Windows, detect more
17076 duplicates by assuming that only colors matching "^System" are
17077 special "system colors". (Bug#9722)
17078
17079 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17080
17081 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17082 to distinguish the author from the committer.
17083
17084 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17085
17086 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17087
17088 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17089
17090 * international/mule.el (sgml-html-meta-auto-coding-function):
17091 Add support for detecting encoding in HTML5 specified only as
17092 <meta charset="UTF-8">. Implementation just makes http-equiv and
17093 content-type parts from HTML4 encoding string optional. (Bug#9716)
17094
17095 2011-10-18 Glenn Morris <rgm@gnu.org>
17096
17097 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17098
17099 2011-10-18 Chong Yidong <cyd@gnu.org>
17100
17101 * faces.el (cursor): Doc fix.
17102
17103 2011-10-17 Chong Yidong <cyd@gnu.org>
17104
17105 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17106
17107 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17108
17109 * dirtrack.el (dirtrack): Support shell buffers with path
17110 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17111
17112 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17113
17114 * json.el: Bump version to 1.3 and note change in History.
17115 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17116
17117 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17118
17119 * comint.el (comint-insert-input, comint-send-input)
17120 (comint-get-old-input-default, comint-backward-matching-input)
17121 (comint-next-prompt): Use nil instead of `input' for field property of
17122 past user input (bug#114).
17123
17124 * minibuffer.el (completion--replace): Inherit surrounding properties
17125 (bug#114).
17126 (minibuffer-complete-and-exit): Use it.
17127
17128 * comint.el (comint--table-subvert): Quote the all-completions output
17129 (bug#9160).
17130
17131 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17132
17133 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17134
17135 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17136 window on right of selected. (Bug#9350) Reword other window
17137 entries and separate them from frame entries.
17138
17139 2011-10-15 Glenn Morris <rgm@gnu.org>
17140
17141 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17142 Doc fixes.
17143
17144 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17145
17146 * net/network-stream.el (network-stream-open-starttls):
17147 Improve detection of failure due to lack of TLS support.
17148
17149 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17150 putting the input text in front and in bold.
17151
17152 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17153
17154 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17155
17156 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17157 empty buffer.
17158
17159 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17160 unread-command-events rather than pushing yet-another event.
17161
17162 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17163
17164 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17165 the explanation of the possible choices. Make the options passed
17166 to completing-read shorter.
17167
17168 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17169
17170 * textmodes/flyspell.el (flyspell-large-region): Make sure
17171 extended character mode is used if defined (Bug#1339).
17172
17173 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17174
17175 * simple.el (what-cursor-position): Fix the display of the
17176 character info for LRE, LRO, RLE, and RLO characters by appending
17177 an invisible PDF.
17178
17179 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17180
17181 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17182 even in case of error; add debug spec; simplify data flow.
17183 (with-timeout-handler): Remove.
17184
17185 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17186
17187 Fix Bug#6019, Bug#9315.
17188
17189 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17190 complete `buffer-file-name', the local file name part could look
17191 remotely (for example on VMS).
17192
17193 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17194 `tramp-run-real-handler'.
17195 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17196 already quoted by '"'.
17197
17198 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17199 Let `file-name-handler-alist' be nil, the local file name part
17200 could look remotely (for example on VMS).
17201
17202 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17203
17204 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17205 from here...
17206 (flyspell-post-command-hook): ...to here.
17207
17208 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17209
17210 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17211 if not needed.
17212 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17213 using completion. Protect against "slow" callers.
17214 Remove the "message hack".
17215
17216 2011-10-11 Juri Linkov <juri@jurta.org>
17217
17218 * isearch.el (isearch-lazy-highlight-word): New variable.
17219 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17220 Use it. (Bug#9727)
17221
17222 2011-10-11 Glenn Morris <rgm@gnu.org>
17223
17224 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17225 like f90-previous-statement does.
17226
17227 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17228
17229 * eshell/eshell.el (eshell-command): History should be saved
17230 only in interactive use, to avoid error.
17231
17232 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17233
17234 * minibuffer.el (completion-file-name-table): Fix last change,
17235 i.e. ignore normal errors but not the other ones.
17236
17237 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17238
17239 * window.el (special-display-buffer-names)
17240 (special-display-regexps): Remove some remnants of earlier
17241 changes from doc-strings.
17242 (quit-windows-on): New function.
17243
17244 * vc/vc.el (vc-revert, vc-rollback):
17245 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17246 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17247 (Bug#6183) (Bug#7074) (Bug#7447)
17248
17249 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17250
17251 * window.el (frame-auto-hide-function): Add version tag.
17252 (Bug#9699)
17253
17254 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17255
17256 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17257 condition.
17258
17259 2011-10-09 Leo Liu <sdl.web@gmail.com>
17260
17261 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17262 (Bug#9701)
17263
17264 2011-10-08 Glenn Morris <rgm@gnu.org>
17265
17266 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17267 before the first code statement zero indent. (Bug#9690)
17268
17269 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17270
17271 * simple.el (count-words-region): Always count in the region.
17272 Report the number of lines and characters too.
17273 (count-words): New command, which counts in the buffer if the
17274 region is inactive, as count-words-region used to.
17275 (count-words--message): New function. Handle plurals.
17276 (count-lines-region): Make it an alias for count-words-region.
17277
17278 * bindings.el (esc-map): Replace count-lines-region with
17279 count-words-region.
17280
17281 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17282
17283 * window.el (window--delete): Delete dedicated frame
17284 unconditionally when argument KILL is non-nil. (Bug#9699)
17285 (switch-to-buffer): Fix doc-string typo.
17286
17287 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17288
17289 * eshell/eshell.el (eshell-command): Avoid using hooks.
17290
17291 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17292
17293 * bindings.el ([M-left],[M-right]): Bind to left-word and
17294 right-word respectively.
17295
17296 2011-10-07 Glenn Morris <rgm@gnu.org>
17297
17298 * cus-start.el (debug-on-quit): Fix custom type.
17299
17300 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17301
17302 * subr.el (define-key-after): Clarify that the function is not
17303 useful for non-menu keymaps.
17304
17305 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17306
17307 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17308
17309 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17310 in current minibuffer (Fix bug with recursive minibuffers).
17311
17312 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17313
17314 * progmodes/gdb-mi.el (gdb): Doc fix.
17315
17316 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17317
17318 * window.el (frame-auto-hide-function): New option replacing
17319 frame-auto-delete. Suggested by Stefan Monnier.
17320 (window--delete): Call frame-auto-hide-function instead of
17321 investigating frame-auto-delete.
17322 (window-point-1, set-window-point-1): New functions.
17323 (window-in-direction, record-window-buffer, window-state-get-1)
17324 (display-buffer-record-window): Use window-point-1 instead of
17325 window-point.
17326 (set-window-buffer-start-and-point): Use set-window-point-1.
17327
17328 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17329
17330 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17331
17332 2011-10-05 Glenn Morris <rgm@gnu.org>
17333
17334 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17335 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17336
17337 2011-10-05 Leo Liu <sdl.web@gmail.com>
17338
17339 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17340 works with buffer object.
17341
17342 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17343
17344 * mpc.el (mpc-tool-bar-map): Add labels.
17345
17346 2011-10-04 Glenn Morris <rgm@gnu.org>
17347
17348 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17349
17350 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17351
17352 * window.el (window--delete): New function.
17353 (frame-auto-delete): Resuscitate option.
17354 (bury-buffer, replace-buffer-in-windows)
17355 (quit-window): Rewrite using window--delete.
17356 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17357 Pass display-buffer-mark-dedicated to window--display-buffer-2
17358 (Bug#9639).
17359
17360 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17361
17362 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17363 returns a list (bug#9554). Add remote file name completion.
17364 * comint.el (comint--table-subvert): Curry and get quote&unquote
17365 functions as arguments.
17366 (comint--complete-file-name-data): Adjust call accordingly.
17367 * pcomplete.el (pcomplete--table-subvert): Remove.
17368 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17369
17370 * minibuffer.el (completion-table-case-fold): Use currying.
17371 (completion--styles-type, completion--cycling-threshold-type):
17372 New constants.
17373 (completion-styles, completion-category-overrides)
17374 (completion-cycle-threshold): Use them.
17375 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17376 completion-table-case-fold.
17377
17378 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17379
17380 * minibuffer.el (completion-category-overrides): Fix type of styles
17381 and add more user friendly tags (bug#9660).
17382
17383 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17384
17385 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17386 (mule-input-method-string): New widget.
17387 (default-input-method, language-info-custom-alist): Use it.
17388
17389 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17390
17391 * pcomplete.el: Require comint.
17392 (pcomplete--common-suffix): Remove.
17393 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17394 (pcomplete--table-subvert): Sync with comint--table-subvert.
17395 (pcomplete--entries): Use comint-completion-file-name-table.
17396 * comint.el (comint-unquote-filename): Simplify.
17397 (comint-completion-file-name-table): New function (bug#9616).
17398 (comint--complete-file-name-data): Use it.
17399
17400 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17401 (pcmpl-gnu-tar-buffer): Remove.
17402 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17403 around. Make sure pcomplete-suffix-list is only changed temporarily.
17404 Don't look inside the tar's file if it's too large.
17405
17406 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17407
17408 * cus-edit.el (custom-mode-map):
17409 * epa.el (epa-key-list-mode-map):
17410 * man.el (Man-mode-map):
17411 * startup.el (splash-screen-keymap):
17412 * simple.el (special-mode-map): Use scroll-up-command and
17413 scroll-down-command.
17414
17415 * progmodes/idlw-help.el (idlwave-help-mode-map):
17416 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17417 * net/newst-plainview.el (newsticker-mode-map):
17418 * emulation/ws-mode.el (wordstar-mode-map):
17419 * emulation/vi.el (vi-com-map):
17420 * calc/calc-graph.el (calc-graph-show-dumb):
17421 * term/sun.el (terminal-init-sun):
17422 * term/ns-win.el (global-map):
17423 * progmodes/grep.el (grep-mode-map):
17424 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17425 * mail/rmail.el (rmail-mode-map):
17426 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17427
17428 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17429 custom-safe-themes as special.
17430
17431 2011-10-01 Julien Danjou <julien@danjou.info>
17432
17433 * notifications.el (notifications-notify): Fix docstring.
17434
17435 2011-10-01 Per Starbäck <per@starback.se>
17436
17437 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17438
17439 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17440
17441 * startup.el (command-line-1): Fix last fix by inserting
17442 initial-scratch-message into *scratch* before displaying it.
17443 (Bug#9605) and (Bug#9636)
17444
17445 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17446
17447 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17448 window is hscrolled, move by logical lines. (Bug#9607)
17449 (line-move-visual): Update the doc string to the above effect.
17450
17451 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17452
17453 * window.el (display-buffer-record-window): When WINDOW is the
17454 selected window use `point' instead of `window-point'. (Bug#9626)
17455
17456 * startup.el (command-line-1): Use insert-before-markers when
17457 inserting initial-scratch-message. (Bug#9605)
17458
17459 * help.el (help-window): Remove variable.
17460
17461 2011-09-29 Glenn Morris <rgm@gnu.org>
17462
17463 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17464
17465 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17466
17467 * descr-text.el (describe-char-categories): Accept category
17468 descriptions more than one line long.
17469
17470 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17471
17472 * simple.el (delete-trailing-whitespace): Fix last change.
17473
17474 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17475 Don't confuse "y => 3" as the beginning of a `y' operation.
17476
17477 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17478 object has more than 4 slots (bug#9613).
17479
17480 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17481
17482 * subr.el (with-output-to-temp-buffer):
17483 * net/quickurl.el (quickurl, quickurl-browse-url):
17484 Fix typos in docstrings.
17485
17486 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17487
17488 * minibuffer.el (completion-styles)
17489 (completion-category-overrides): Cross reference each other in doc
17490 strings.
17491
17492 2011-09-27 Glenn Morris <rgm@gnu.org>
17493
17494 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17495 to split-string. (Bug#9606)
17496
17497 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17498
17499 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17500 (bug#9615).
17501
17502 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17503
17504 * emacs-lisp/package.el (list-packages): Fix echo area message.
17505
17506 2011-09-27 Leo Liu <sdl.web@gmail.com>
17507
17508 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17509
17510 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17511
17512 * net/dbus.el (dbus-unregister-object): Don't release services for
17513 registered signals. (Bug#9581)
17514
17515 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17516
17517 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17518 function that picks between cfengine 2 and 3 support
17519 automatically. Update docs accordingly.
17520
17521 2011-09-22 Kenichi Handa <handa@m17n.org>
17522
17523 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17524 ZERO.
17525 (indian-itrans-v5-table-for-tamil): New variable.
17526 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17527
17528 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17529
17530 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17531 that's true if the current command involved collapsing of text.
17532 It's reset to false at the beginning of the next command.
17533 (allout-post-command-business): Move the cursor to the beginning
17534 of entry if the cursor is hidden and collapsing activity just
17535 happened.
17536
17537 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17538
17539 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17540 tracking (Bug#9541).
17541
17542 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17543
17544 * net/newst-reader.el (newsticker-html-renderer)
17545 (newsticker-show-news): Automatically load html rendering package
17546 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17547 because w3m-fill-column is let-bound" and the error "Symbol's value
17548 as variable is void: w3m-fill-column".
17549
17550 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17551
17552 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17553 Release services only if they are defined. (Bug#9581)
17554
17555 2011-09-23 Richard Stallman <rms@gnu.org>
17556
17557 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17558 distinguish start of paragraph from start of its text.
17559
17560 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17561
17562 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17563 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17564 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17565
17566 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17567
17568 * international/mule-diag.el (mule-diag): Insert a newline after
17569 each fontset description.
17570
17571 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17572
17573 * simple.el (delete-trailing-whitespace):
17574 Document last change; simplify.
17575
17576 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17577
17578 * simple.el (delete-trailing-whitespace): Also delete
17579 extra newlines at the end of the buffer.
17580
17581 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17582 (picture-newline): Use forward-line so as to ignore fields.
17583
17584 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17585
17586 * subr.el (with-wrapper-hook): Fix edebug spec.
17587
17588 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17589
17590 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17591 (bug#4538).
17592
17593 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17594
17595 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17596 Fix nasty bug using wrong cached values.
17597
17598 2011-09-23 Alan Mackenzie <acm@muc.de>
17599
17600 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17601
17602 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17603
17604 * window.el (pop-to-buffer): Ensure right window is selected if we
17605 chose another frame.
17606
17607 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17608
17609 * simple.el (what-cursor-position): Use get-char-property-change
17610 and next-single-char-property-change, to be able to show display
17611 properties that come from overlays as well as text properties.
17612
17613 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17614
17615 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17616
17617 * cmuscheme.el (run-scheme, switch-to-scheme):
17618 * cus-edit.el (customize-group, custom-buffer-create)
17619 (customize-browse):
17620 * info.el (info):
17621 * shell.el (shell):
17622 * mail/sendmail.el (mail):
17623 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17624
17625 2011-09-22 Richard Stallman <rms@gnu.org>
17626
17627 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17628 move back only to line beg, don't move back over blank lines.
17629
17630 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17631
17632 * files.el (copy-directory): Set directory attributes only in case
17633 they could be retrieved from the source directory. (Bug#9565)
17634
17635 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17636
17637 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17638 (hs-find-block-beginning, hs-hide-level-recursive):
17639 Ignore strings as well as comments. (Bug#9502)
17640
17641 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17642
17643 * progmodes/sql.el (sql-comint-postgres):
17644 Convert port number to a string. (Bug#9566)
17645
17646 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17647
17648 * window.el (quit-window): Undedicate window when switching to
17649 previous buffer. Reported by Thierry Volpiatto
17650 <thierry.volpiatto@gmail.com>.
17651 (special-display-popup-frame): When popping up a new frame reset
17652 its previous buffers to nil. Simplify code.
17653
17654 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17655
17656 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17657 and process filter, as done also in `shell-command'.
17658
17659 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17660
17661 * window.el (set-window-buffer-start-and-point):
17662 Call set-window-start with NOFORCE argument t.
17663 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17664 (quit-window): Reword doc-string. Handle new format of
17665 quit-restore parameter. Don't delete window if it has a
17666 previous buffer we can show instead of the present one.
17667 (display-buffer-record-window): Rewrite using a new format for
17668 the quit-restore window parameter
17669 (special-display-popup-frame, display-buffer-same-window)
17670 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17671 (display-buffer-pop-up-window, display-buffer-use-some-window):
17672 Adapt symbol passed to display-buffer-record-window.
17673 * help.el (help-window-setup): Handle new format of quit-restore
17674 parameter.
17675
17676 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17677
17678 * faces.el (face-list): Fix docstring (bug#9564).
17679
17680 * window.el (display-buffer--action-function-custom-type):
17681 Don't include internal functions in the Custom interface.
17682
17683 2011-09-20 Juri Linkov <juri@jurta.org>
17684
17685 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17686 (Info-forward-node, Info-backward-node, Info-next-preorder)
17687 (Info-last-preorder): Use it. (Bug#9528)
17688
17689 2011-09-20 Juri Linkov <juri@jurta.org>
17690
17691 * info.el (Info-last-preorder): Visit last menu item only when
17692 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17693
17694 2011-09-20 Julien Danjou <julien@danjou.info>
17695
17696 * password-cache.el (password-cache-remove): Remove entries even if the
17697 value is nil, so that password with a nil value (negative caching) is
17698 possible to invalidate.
17699
17700 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17701
17702 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17703 all whitespace around breakpoint. (Bug#9553)
17704 (f90-find-breakpoint): Only break at whitespace inside a comment.
17705
17706 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17707
17708 * minibuffer.el (completion-file-name-table): Keep track of errors.
17709 (completion-table-with-predicate): Handle the case where pred1 is nil.
17710 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17711
17712 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17713
17714 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17715 (debugger-return-value): Signal an error if the debugging context does
17716 not await any return value.
17717
17718 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17719 * image-mode.el (image-toggle-display-text)
17720 (image-toggle-display-image): Stay away from evil `intangible'.
17721
17722 2011-09-19 Leo Liu <sdl.web@gmail.com>
17723
17724 * replace.el (occur-revert-arguments): Make it permanent-local.
17725 (occur-mode): Don't call font-lock-defontify.
17726
17727 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17728
17729 * net/ldap.el (ldap-search-internal): Don't push empty search
17730 result (Bug#9508).
17731
17732 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17733
17734 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17735
17736 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17737
17738 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17739 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17740
17741 2011-09-18 Juri Linkov <juri@jurta.org>
17742
17743 * buff-menu.el (Buffer-menu-mode-map):
17744 * dired.el (dired-mode-map):
17745 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17746 (lisp-interaction-mode-map):
17747 * emacs-lisp/package.el (package-menu-mode-map):
17748 * epa.el (epa-key-list-mode-map):
17749 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17750 (menu-bar-options-menu):
17751 * outline.el (outline-mode-menu-bar-map):
17752 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17753 * vc/vc-dir.el (vc-dir-menu-map):
17754 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17755 Capitalize non-function content words in menu item strings.
17756
17757 * dired.el (dired-mode-map): Add menu item for
17758 `image-dired-dired-toggle-marked-thumbs'.
17759
17760 2011-09-18 Juri Linkov <juri@jurta.org>
17761
17762 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17763 to `isearch-case-fold-search' and restore its original value
17764 after the `isearch-mode' call.
17765
17766 2011-09-18 Juri Linkov <juri@jurta.org>
17767
17768 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17769 because `zgrep' returns 1 for successful matches (bug#9226).
17770
17771 2011-09-18 Juri Linkov <juri@jurta.org>
17772
17773 * info.el (Info-extract-menu-node-name): Check the second match
17774 for empty string (second test-case of bug#9528).
17775 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17776 intermediate nodes to the history (first test-case of bug#9528).
17777
17778 2011-09-18 Juri Linkov <juri@jurta.org>
17779
17780 * info.el (Info-mode-syntax-table): New variable.
17781 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17782
17783 2011-09-18 Juri Linkov <juri@jurta.org>
17784
17785 * info.el (Info-file-supports-index-cookies):
17786 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17787 outputs one more line for long file names (bug#4142).
17788
17789 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17790
17791 * newcomment.el (comment-normalize-vars): If prompting for
17792 comment-start, set comment-start-skip too (Bug#8424).
17793
17794 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17795
17796 * icomplete.el: Fix previous fix of Bug#5849.
17797 (icomplete-mode): Don't set completion-show-inline-help.
17798 (icomplete-minibuffer-setup): Set completion-show-inline-help
17799 locally during icompletion.
17800
17801 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17802
17803 * woman.el (woman2-process-escapes): Don't delete unrecognized
17804 escapes (Bug#7843).
17805
17806 * files.el (inhibit-first-line-modes-regexps): Add image files.
17807 (hack-local-variables-prop-line): Return nil for malformed
17808 prop-lines (Bug#9044).
17809
17810 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17811
17812 * net/tramp.el (top): Don't require 'shell.
17813 (tramp-methods): Fix docstring.
17814 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17815 Return complete remote file name. Handle "smb" case.
17816 Use `tramp-tmpdir', if defined for the respective method.
17817 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17818
17819 * net/tramp-compat.el (top): Require 'shell.
17820
17821 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17822 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17823 `tramp-current-host'.
17824 (tramp-get-remote-tmpdir): Remove.
17825
17826 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17827 `tramp-tmpdir' entries.
17828 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17829 (tramp-smb-handle-file-attributes): Ignore errors.
17830 (tramp-smb-wait-for-output): Check also for process end.
17831
17832 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17833
17834 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17835 when sending QUIT (bug#9312).
17836
17837 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17838
17839 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17840 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17841 occur-mode-display-occurrence.
17842 (occur-edit-mode): Add usage message.
17843 (occur-cease-edit): New command.
17844 (occur-after-change-function): Use text properties to find the
17845 position of the prefix text.
17846 (occur-engine): Set stickiness of prefix text properties.
17847
17848 2011-09-17 Glenn Morris <rgm@gnu.org>
17849
17850 * progmodes/etags.el (complete-tag):
17851 Fix call to completion-in-region. (Bug#9526)
17852
17853 2011-09-17 Juri Linkov <juri@jurta.org>
17854
17855 * textmodes/ispell.el (ispell-word): Add to the error message
17856 the word, ispell program name and current dictionary (bug#9121).
17857 (ispell-tex-arg-end): Capitalize "error" in the error message.
17858
17859 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17860
17861 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17862 check. (Bug#4251)
17863
17864 2011-09-17 Juri Linkov <juri@jurta.org>
17865
17866 * window.el (window-safe-min-height, window-safe-min-width):
17867 Fix typos (followup to bug#9522).
17868
17869 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17870
17871 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17872
17873 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17874
17875 * simple.el (line-move): If goal-column is set, move by logical
17876 lines, not by display lines. (Bug#971)
17877 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17878 to reflect the above change.
17879
17880 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17881
17882 * image.el (imagemagick-register-types): Use regexp-opt.
17883
17884 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17885
17886 * window.el (display-buffer-base-action): Rename from
17887 display-buffer-default-action. Make default value empty.
17888 (display-buffer-overriding-action): Convert to defvar.
17889 (display-buffer-fallback-action): New var.
17890
17891 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17892
17893 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17894 declaration.
17895 (package--add-to-archive-contents): If there is a duplicate entry
17896 with an older version, remove it.
17897 (package-menu-mark-delete, package-menu-mark-install)
17898 (package-menu-mark-unmark): Make unused args optional.
17899 (package-menu-mark-obsolete-for-deletion):
17900 Use package-menu-get-status instead of a regexp search.
17901 (package-menu-get-status): Use tabulated-list-entry.
17902 (package-menu-mark-upgrades): New command.
17903 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17904 (package-menu-execute): Do installation before deletion.
17905 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17906 instead of checking major-mode.
17907 (package-menu--find-upgrades): New function.
17908
17909 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17910
17911 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17912 passwords in the log buffer.
17913 (smtpmail-process-filter): Update the process marker so that the
17914 "broken by peer" status message is inserted in the right place.
17915
17916 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17917
17918 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17919 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17920 bibtex-completion-at-point-function.
17921 (bibtex-completion-at-point-function): Use them.
17922
17923 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17924
17925 * mpc.el (mpc-constraints-tag-lookup): New function.
17926 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17927 also to browser "album|playlist".
17928
17929 2011-09-14 Juri Linkov <juri@jurta.org>
17930
17931 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17932 (isearch-edit-string): Use length of `isearch-string' when
17933 `isearch-fail-pos' returns nil.
17934 (isearch-message): Remove duplicate code and call
17935 `isearch-fail-pos' with arg `t'.
17936
17937 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17938
17939 * replace.el (occur-mode-goto-occurrence): Don't force using other
17940 window (Bug#9499).
17941
17942 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17943
17944 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17945
17946 * window.el (display-buffer-window): Remove.
17947 (display-buffer-record-window): Use help-setup window parameter
17948 instead of variable display-buffer-window.
17949 (display-buffer-function, special-display-buffer-names)
17950 (special-display-function): Mention help-setup parameter instead
17951 of display-buffer-window in doc-string.
17952 * help.el (help-window-setup): New argument help-window.
17953 Use help-window-setup parameter instead of display-buffer-window.
17954 Reword some messages.
17955 (with-help-window): Pass window used for displaying the buffer
17956 to help-window-setup. Don't set display-buffer-window.
17957
17958 2011-09-13 Glenn Morris <rgm@gnu.org>
17959
17960 * emacs-lisp/debug.el (debugger-make-xrefs):
17961 Preserve point. (Bug#9462)
17962
17963 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17964
17965 * window.el (window-deletable-p): Use next-frame.
17966
17967 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17968
17969 * window.el (window-auto-delete): Remove.
17970 (window-deletable-p): Remove argument FORCE. Don't deal with
17971 dedication and previous buffers.
17972 (switch-to-prev-buffer): Don't delete window.
17973 (delete-windows-on): Delete a window's frame if and only if the
17974 window is dedicated.
17975 (replace-buffer-in-windows): Delete buffer's window or frame if
17976 and only if window is dedicated.
17977 (quit-window): Handle quit-restore as before last change.
17978 (bury-buffer): Delete window only if window-deletable-p returns t.
17979
17980 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17981
17982 * window.el (window-deletable-p): Never delete the last frame on a
17983 given terminal.
17984
17985 2011-09-13 Glenn Morris <rgm@gnu.org>
17986
17987 * help.el (describe-key-briefly): Copy previous standard-output change.
17988
17989 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17990
17991 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17992
17993 2011-09-13 Glenn Morris <rgm@gnu.org>
17994
17995 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17996 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17997
17998 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17999
18000 * dired-aux.el (dired-mark-read-string): Don't return default
18001 value on empty input (Bug#9361).
18002 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18003 Omit initial minibuffer contents.
18004 (dired-do-chmod): Signal an error on empty input.
18005 (dired-mark-read-string): Don't return default on empty input.
18006
18007 * files.el (file-modes-symbolic-to-number): Doc fix.
18008
18009 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18010
18011 * international/mule-cmds.el (ucs-completions): Remove.
18012 (read-char-by-name): Use complete-with-action instead; add metadata.
18013
18014 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18015
18016 * window.el (display-buffer--action-function-custom-type)
18017 (display-buffer--action-custom-type): New vars.
18018 (display-buffer-alist, display-buffer-default-action)
18019 (display-buffer-overriding-action): Add defcustom types.
18020
18021 * frame.el (delete-other-frames): Doc fix (Bug#276).
18022
18023 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18024
18025 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18026
18027 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18028
18029 Change modes that used same-window-* vars to use switch-to-buffer.
18030
18031 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18032 Use switch-to-buffer.
18033
18034 * cus-edit.el (customize-group, custom-buffer-create)
18035 (customize-browse, custom-buffer-create-other-window):
18036 Use switch-to-buffer or switch-to-buffer-other-window.
18037
18038 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18039 (Info-prev, Info-up, Info-speedbar-goto-node)
18040 (info-display-manual): Use switch-to-buffer.
18041 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18042
18043 * mail/sendmail.el (mail): Use switch-to-buffer.
18044 (mail-recover): Use switch-to-buffer-other-window.
18045
18046 * cmuscheme.el (run-scheme, switch-to-scheme):
18047 * ielm.el (ielm):
18048 * shell.el (shell):
18049 * net/rlogin.el (rlogin):
18050 * net/telnet.el (telnet, rsh):
18051 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18052
18053 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18054
18055 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18056
18057 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18058
18059 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18060 so don't mention it (bug#9301).
18061 (dired-sort-toggle-or-edit): Clarify string further.
18062
18063 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18064 match `x', `w32' and `ns', like the manual says (bug#9029).
18065
18066 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18067 (process-kill-buffer-query-function): Mention the buffer name in
18068 the query.
18069
18070 * image-mode.el (image-next-line): The line parameter is mandatory
18071 (bug#9258).
18072
18073 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18074 which can be useful (bug#9301).
18075
18076 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18077
18078 * subr.el (match-string): Mention that the current buffer should
18079 be the same as the search was done in (bug#9282).
18080
18081 * facemenu.el: Disable the remove-* commands if the mark isn't
18082 active (bug#9162).
18083
18084 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18085
18086 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18087 of display-buffer.
18088 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18089
18090 * replace.el (occur-mode-goto-occurrence)
18091 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18092 and display-buffer.
18093
18094 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18095 display-buffer.
18096
18097 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18098 special-display and same-window variables.
18099 (mail-other-window): Use switch-to-buffer-other-window.
18100 (mail-other-frame): USe switch-to-buffer-other-frame.
18101
18102 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18103 Use display-buffer-other-frame.
18104 (gdb-display-gdb-buffer): Use pop-to-buffer.
18105
18106 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18107
18108 * progmodes/python.el: Don't set same-window-buffer-names.
18109
18110 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18111
18112 * window.el (display-buffer-alist): Add *Python*.
18113
18114 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18115
18116 * window.el (display-buffer-alist): Add entry for buffers
18117 previously handled same-window-*.
18118 (display-buffer-alist, display-buffer-default-action)
18119 (display-buffer-overriding-action): Mark as risky.
18120 (display-buffer-alist): Document action function changes.
18121 (display-buffer--same-window-action)
18122 (display-buffer--other-frame-action): New variables.
18123 (switch-to-buffer, display-buffer-other-frame): Use them.
18124 (display-buffer): Rename reuse-frame entry to reusable-frames.
18125 (display-buffer-reuse-selected-window): Function deleted.
18126 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18127 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18128 (display-buffer-special): New function.
18129 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18130 display-buffer-reuse-or-pop-window. Split off special-display
18131 part into display-buffer-special.
18132 (display-buffer-use-some-window): Don't perform any special
18133 pop-up-frames handling.
18134 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18135 (display-buffer--maybe-same-window): Rename from
18136 display-buffer-maybe-same-window.
18137
18138 * info.el: Don't set same-window-regexps.
18139 (info-setup): New function.
18140 (info-other-window, info): Call it.
18141
18142 * cus-edit.el: Don't set same-window-regexps.
18143 (customize-group): New argument.
18144 (customize-group-other-window): Use it.
18145 (customize-face, customize-face-other-window): Likewise.
18146 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18147
18148 * net/rlogin.el:
18149 * net/telnet.el:
18150 * progmodes/gud.el: Don't set same-window-regexps.
18151
18152 * cmuscheme.el:
18153 * ielm.el:
18154 * shell.el:
18155 * mail/sendmail.el:
18156 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18157
18158 2011-09-10 Juri Linkov <juri@jurta.org>
18159
18160 * isearch.el (isearch-edit-string): Remove obsolete mention of
18161 `C-w' (`isearch-yank-word-or-char') from docstring.
18162 (isearch-query-replace): Fix typo in docstring (bug#9466).
18163
18164 2011-09-10 Juri Linkov <juri@jurta.org>
18165
18166 * paren.el (show-paren-function): Don't show escaped parens.
18167 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18168
18169 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18170
18171 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18172 (mm-default-file-encoding): Remove autoload forms, they are
18173 replaced with autoload cookies in mml.el and mm-encode.el.
18174 (mail-add-attachment): New command.
18175 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18176 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18177 the doc string.
18178 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18179
18180 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18181
18182 * simple.el (count-words-region): Use buffer if there's no region
18183 (bug#9429).
18184
18185 2011-09-09 Juri Linkov <juri@jurta.org>
18186
18187 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18188 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18189 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18190
18191 2011-09-09 Alan Mackenzie <acm@muc.de>
18192
18193 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18194 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18195
18196 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18197
18198 Fix for Savannah bug#9392.
18199 * simple.el (mail-encode-mml): New defvar.
18200
18201 * mail/rmail.el (mail-encode-mml): Add a defvar.
18202 (rmail-enable-mime-composing): Default to t.
18203 (rmail-forward): Use MIME method of forwarding only if both
18204 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18205 Set mail-encode-mml non-nil if the MIME method was used.
18206
18207 * mail/sendmail.el (mml-to-mime): Add autoload form.
18208 (mail-encode-mml): Add a defvar.
18209 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18210 to nil.
18211 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18212 message through mml-to-mime, and reset mail-encode-mml to nil.
18213
18214 2011-09-09 Glenn Morris <rgm@gnu.org>
18215
18216 * woman.el (woman-if-body): When processing an .el block,
18217 do not delete the next .el block as well. (Bug#9447)
18218 (woman-special-characters): Add oq, cq, and hy characters.
18219
18220 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18221
18222 * window.el (window-deletable-p): Make sure window is live before
18223 invoking window-prev-buffers.
18224
18225 2011-09-08 Leo Liu <sdl.web@gmail.com>
18226
18227 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18228
18229 2011-09-08 Juri Linkov <juri@jurta.org>
18230
18231 * progmodes/compile.el (compilation-environment): Make it
18232 a defcustom (bug#8340).
18233
18234 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18235
18236 * window.el (frame-auto-delete): Rename to window-auto-delete.
18237 Make it control auto-deletion of windows and/or frames.
18238 (window-deletable-p): New argument FORCE. Rewrite conditions
18239 for deleting window/frame. (Bug#9419)
18240 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18241 Rewrite handling of case when window/frame can be deleted.
18242 (delete-windows-on): Call window-deletable-p with new FORCE
18243 argument t. (Bug#9456)
18244
18245 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18246
18247 * help-mode.el (help-mode): Restore autoload.
18248
18249 2011-09-07 Juri Linkov <juri@jurta.org>
18250
18251 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18252 `compilation-environment'. Set buffer-local
18253 `compilation-environment' to `thisenv' later after (funcall mode).
18254 (Bug#8340)
18255
18256 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18257 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18258 instead of replacing its value. (Bug#8340)
18259
18260 2011-09-07 Juri Linkov <juri@jurta.org>
18261
18262 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18263 based on text properties put by `grep-filter' instead of matching
18264 escape sequences.
18265 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18266 to the value of `grep-error-screen-columns' (bug#9438).
18267
18268 2011-09-07 Juri Linkov <juri@jurta.org>
18269
18270 * simple.el (next-error-highlight, next-error-highlight-no-select):
18271 Doc fix (bug#9432).
18272
18273 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18274
18275 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18276 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18277
18278 2011-09-07 Leo Liu <sdl.web@gmail.com>
18279
18280 * net/rcirc.el (rcirc-mode): Conditionally initialize
18281 rcirc-input-ring.
18282
18283 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18284
18285 * emacs-lisp/find-func.el (find-function-C-source): Only set
18286 find-function-C-source-directory after checking that we found a source
18287 file there (bug#9440).
18288
18289 2011-09-06 Alan Mackenzie <acm@muc.de>
18290
18291 * isearch.el (isearch-other-meta-char): Wherever a key list is
18292 unread, "unread" the prefix arg, too. This fixes bug #8901.
18293
18294 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18295
18296 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18297
18298 2011-09-05 Juri Linkov <juri@jurta.org>
18299
18300 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18301
18302 2011-09-05 Juri Linkov <juri@jurta.org>
18303
18304 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18305 keeping point where processing of grep matches begins, and
18306 continue to delete remaining escape sequences from the same point.
18307 (grep-filter): Make leading zero optional in "0?1;31m" because
18308 git-grep emits "\033[1;31m" escape sequences unlike expected
18309 "\033[01;31m" as GNU Grep does (bug#9408).
18310 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18311
18312 2011-09-05 Juri Linkov <juri@jurta.org>
18313
18314 * subr.el (y-or-n-p): Capitalize "yes".
18315
18316 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18317
18318 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18319 `tramp-cache-unload-hook' where appropriate.
18320 (tramp-methods): Rename `tramp-remote-sh' to
18321 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18322 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18323
18324 * net/tramp-sh.el (top): Don't require 'shell.
18325 (tramp-methods): Add `tramp-remote-shell' and
18326 `tramp-remote-shell-args' entries.
18327 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18328 (tramp-sh-handle-shell-command): Remove.
18329 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18330 Use `tramp-remote-shell'.
18331
18332 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18333
18334 * mail/sendmail.el (sendmail-query-once-function): Delete.
18335 (sendmail-query-once): Save directly to send-mail-function.
18336 Update message-send-mail-function too.
18337
18338 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18339
18340 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18341
18342 * progmodes/python.el (python-mode-map): Use correct function to
18343 start python interpreter from menu-bar (as reported by Geert
18344 Kloosterman).
18345 (inferior-python-mode-map): Fix typo.
18346 (python-shell-map): Remove.
18347
18348 2011-09-03 Deniz Dogan <deniz@dogan.se>
18349
18350 * net/rcirc.el (rcirc-print): Simplify code for
18351 rcirc-scroll-show-maximum-output. There is no need to walk
18352 through all windows to find the right one.
18353
18354 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18355
18356 * help.el (help-return-method): Doc fix.
18357
18358 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18359
18360 * window.el (window-deletable-p): Don't return a non-nil value
18361 when there's a buffer that was shown in the window before.
18362 (Bug#9419)
18363 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18364 Set window's previous buffers to nil.
18365
18366 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18367
18368 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18369 newline before and after the tag line, so it doesn't interfere
18370 with determining the paragraph direction of bidirectional text.
18371
18372 2011-09-03 Leo Liu <sdl.web@gmail.com>
18373
18374 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18375
18376 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18377
18378 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18379 (pop-to-buffer): Change interactive spec. Pass second argument
18380 directly to display-buffer.
18381 (display-buffer): Fix interactive spec. Use functionp to
18382 distinguish between a function and a list of functions.
18383
18384 * abbrev.el (edit-abbrevs):
18385 * arc-mode.el (archive-extract):
18386 * autoinsert.el (auto-insert):
18387 * bookmark.el (bookmark-bmenu-list):
18388 * files.el (find-file):
18389 * view.el (view-buffer):
18390 * progmodes/compile.el (compilation-goto-locus):
18391 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18392
18393 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18394
18395 * window.el (display-buffer-alist): Doc fix.
18396 (display-buffer): Add docstring. Don't treat
18397 display-buffer-default specially.
18398 (display-buffer-reuse-selected-window)
18399 (display-buffer-same-window, display-buffer-maybe-same-window)
18400 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18401 (display-buffer-pop-up-window)
18402 (display-buffer-reuse-or-pop-window)
18403 (display-buffer-use-some-window): New functions.
18404 (display-buffer-default-action): Use them.
18405 (display-buffer-default): Delete.
18406 (pop-to-buffer-1): Fix choice of actions.
18407
18408 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18409
18410 * minibuffer.el (completion--insert-strings): Don't get confused by
18411 completion entries that end with an LF char.
18412
18413 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18414
18415 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18416
18417 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18418
18419 * window.el (display-buffer): Restore interactive spec.
18420 (display-buffer-same-window, display-buffer-other-window):
18421 New functions.
18422 (pop-to-buffer-1): New function. Use the above.
18423 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18424 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18425
18426 * view.el (view-buffer-other-window, view-buffer-other-frame):
18427 Just use pop-to-buffer.
18428
18429 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18430
18431 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18432
18433 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18434
18435 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18436
18437 2011-08-31 Richard Stallman <rms@gnu.org>
18438
18439 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18440 of the separation of rmail-view-buffer from rmail-buffer.
18441 If you say no to "replace original", the decrypt is in the
18442 view buffer. If you say yes, the decrypt goes into the
18443 rmail buffer also.
18444
18445 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18446
18447 * window.el (display-buffer-window): Rewrite doc-string.
18448 (display-buffer-record-window): New function.
18449 (display-buffer-macro-specifiers)
18450 (display-buffer-even-window-sizes, display-buffer-set-height)
18451 (display-buffer-set-width, display-buffer-in-window)
18452 (display-buffer-reuse-window, display-buffer-split-specifiers)
18453 (display-buffer-side-specifiers, display-buffer-split-window-1)
18454 (display-buffer-split-window, display-buffer-split-atom-window)
18455 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18456 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18457 (display-buffer-other-window-means-other-frame)
18458 (display-buffer-normalize-special)
18459 (display-buffer-normalize-default)
18460 (display-buffer-normalize-argument)
18461 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18462 (display-buffer-normalize-specifiers, display-buffer-frame)
18463 (display-buffer-same-window, display-buffer-same-frame)
18464 (display-buffer-other-window)
18465 (display-buffer-same-frame-other-window)
18466 (display-buffer-other-frame, pop-to-buffer-same-window)
18467 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18468 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18469 (switch-to-buffer-same-frame)
18470 (switch-to-buffer-other-window-same-frame)
18471 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18472 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18473 (display-buffer-alist-set): Remove.
18474 (display-buffer-function, special-display-buffer-names)
18475 (special-display-regexps, special-display-function):
18476 In doc-string refer to display-buffer-window and quit-restore
18477 parameter.
18478 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18479 (special-display-frame-alist, special-display-popup-frame)
18480 (same-window-buffer-names, same-window-regexps, same-window-p)
18481 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18482 (split-window-preferred-function, split-height-threshold)
18483 (split-width-threshold, window-splittable-p)
18484 (split-window-sensibly, window--try-to-split-window)
18485 (window--frame-usable-p, even-window-heights)
18486 (window--even-window-heights, window--display-buffer-1)
18487 (window--display-buffer-2, display-buffer-other-frame):
18488 Restore old Emacs 23 code, order and doc-strings where applicable.
18489 (display-buffer-default, display-buffer-assq-regexp): New functions.
18490 (display-buffer-alist): Rewrite doc-string.
18491 (display-buffer-default-action)
18492 (display-buffer-overriding-action): New variables.
18493 (display-buffer, switch-to-buffer): Rewrite.
18494 (pop-to-buffer): Restore Emacs 23 behavior but use
18495 window-normalize-buffer-to-display.
18496 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18497 Restore Emacs 23 behavior but use
18498 window-normalize-buffer-to-switch-to.
18499 (pop-to-buffer-same-window): Rewrite.
18500 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18501 Rewrite using Emacs 23 options.
18502
18503 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18504
18505 * net/tramp.el (tramp-root-regexp): Remove.
18506 (tramp-completion-file-name-regexp-unified)
18507 (tramp-completion-file-name-regexp-separate)
18508 (tramp-completion-file-name-regexp-url): Don't use leading volume
18509 letter on w32 systems. (Bug#5303, Bug#9311)
18510 (tramp-drop-volume-letter): Simplify definition.
18511 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18512
18513 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18514
18515 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18516 (bug#9356).
18517
18518 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18519
18520 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18521
18522 2011-08-29 Juri Linkov <juri@jurta.org>
18523
18524 * isearch.el (isearch-done): Don't display message "Mark saved"
18525 when arg `edit' is non-nil to prevent its flicker in the echo area.
18526
18527 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18528
18529 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18530 obsolete packages for deletion.
18531
18532 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18533
18534 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18535 (help-mode): Derive help-mode from special-mode. Don't invoke
18536 view-mode from help-mode.
18537 (help-xref-override-view-map): Remove.
18538 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18539 view-mode is not used anymore.
18540
18541 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18542
18543 * server.el (server-port): Doc fix.
18544
18545 * cus-theme.el (custom-theme-choose-mode): Inherit from
18546 special-mode (Bug#9124).
18547 (custom-theme-choose-mode-map): Add special-mode to parent.
18548
18549 2011-08-28 Alan Mackenzie <acm@muc.de>
18550
18551 * progmodes/cc-fonts.el
18552 (c-make-font-lock-BO-decl-search-function): New function.
18553 (c-basic-matchers-after - "Fontify the clauses after various
18554 keywords"): Extract the three keyword lists for the 3 erroneous
18555 constructs from the list of four, and use the new function above
18556 in place of an old one.
18557
18558 2011-08-28 Deniz Dogan <deniz@dogan.se>
18559
18560 * net/rcirc.el (rcirc-insert-prev-input)
18561 (rcirc-insert-next-input): Remove unused argument.
18562
18563 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18564
18565 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18566
18567 2011-08-27 Alan Mackenzie <acm@muc.de>
18568
18569 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18570 handle function pointer parameters properly.
18571
18572 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18573
18574 * window.el (display-buffer-reuse-window): Fix case where
18575 selected window was reused with non-nil OTHER-WINDOW argument.
18576 (Bug#9381)
18577
18578 2011-08-27 Deniz Dogan <deniz@dogan.se>
18579
18580 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18581 oftc's NickServ messages.
18582
18583 2011-08-27 Glenn Morris <rgm@gnu.org>
18584
18585 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18586
18587 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18588
18589 * emacs-lisp/package.el (package-install): Call package-initialize
18590 if called interactively.
18591
18592 2011-08-26 Leo Liu <sdl.web@gmail.com>
18593
18594 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18595
18596 2011-08-25 Juri Linkov <juri@jurta.org>
18597
18598 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18599 `search-whitespace-regexp' (bug#9364).
18600
18601 2011-08-25 Juri Linkov <juri@jurta.org>
18602
18603 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18604 `regexp-search-ring' to their global values to protect from
18605 updating by `read-from-minibuffer' (bug#9185).
18606
18607 2011-08-25 Juri Linkov <juri@jurta.org>
18608
18609 * textmodes/ispell.el (ispell-command-loop): Add newline
18610 at the end of the "Use option `i'..." line.
18611
18612 2011-08-25 Juri Linkov <juri@jurta.org>
18613
18614 * battery.el (display-battery-mode): If `battery-status-function'
18615 or `battery-mode-line-format' is nil, display the message and set
18616 `display-battery-mode' to nil (bug#9363).
18617
18618 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18619
18620 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18621 bidi-string-mark-left-to-right; they are unnecessary now.
18622
18623 2011-08-25 Deniz Dogan <deniz@dogan.se>
18624
18625 * net/quickurl.el: Documentation typo fixes.
18626
18627 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18628
18629 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18630
18631 2011-08-25 Glenn Morris <rgm@gnu.org>
18632
18633 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18634
18635 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18636 (smtpmail-via-smtp): Handle nil response from smtp.
18637
18638 2011-08-24 Juri Linkov <juri@jurta.org>
18639
18640 * proced.el (proced-marked): Inherit from `error' instead of
18641 `font-lock-warning-face'.
18642
18643 * ibuffer.el (ibuffer-marked-face): Change default face from
18644 `font-lock-warning-face' to `warning'.
18645 (ibuffer-deletion-face): Change default face from
18646 `font-lock-type-face' to `error'.
18647
18648 * battery.el (battery-update): Use the face `error' instead of
18649 `font-lock-warning-face' (bug#6117).
18650
18651 2011-08-24 Juri Linkov <juri@jurta.org>
18652
18653 * faces.el (success): Change face color from "Green3" to
18654 "ForestGreen" on light background (bug#9353).
18655
18656 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18657
18658 * window.el (quit-window): Rename from quit-restore-window.
18659 Use same arglist as old quit-window.
18660 (frame-auto-delete): Doc fix.
18661
18662 * view.el (view-mode-exit): Use quit-window.
18663
18664 2011-08-24 Juri Linkov <juri@jurta.org>
18665
18666 * isearch.el (isearch-ring-adjust1): Start visiting previous
18667 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18668 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18669 for empty search string (when the last search string is reused
18670 automatically) to adjust the isearch ring to the last element and
18671 prepare the correct index for further M-p commands (bug#9185).
18672
18673 2011-08-24 Kenichi Handa <handa@m17n.org>
18674
18675 * international/ucs-normalize.el: If decomposition property of
18676 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18677 nil.
18678 (nfd, nfkd): Likewise.
18679
18680 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18681
18682 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18683 from process filters aren't reliably transmitted to the surrounding
18684 accept-process-output.
18685 (mpc-proc-check): New function.
18686 (mpc-proc-sync): Use it (bug#8293)
18687
18688 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18689
18690 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18691 Add compatibility functions (bug#9313).
18692
18693 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18694
18695 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18696
18697 * international/uni-bidi.el: Regenerate.
18698
18699 2011-08-23 Kenichi Handa <handa@m17n.org>
18700
18701 * international/charprop.el:
18702 * international/uni-bidi.el:
18703 * international/uni-category.el:
18704 * international/uni-combining.el:
18705 * international/uni-comment.el:
18706 * international/uni-decimal.el:
18707 * international/uni-decomposition.el:
18708 * international/uni-digit.el:
18709 * international/uni-lowercase.el:
18710 * international/uni-mirrored.el:
18711 * international/uni-name.el:
18712 * international/uni-numeric.el:
18713 * international/uni-old-name.el:
18714 * international/uni-titlecase.el:
18715 * international/uni-uppercase.el: Regenerate.
18716
18717 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18718
18719 * help.el (help-window-setup): Fix message displayed when other
18720 window is reused. (Bug#9341)
18721
18722 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18723
18724 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18725 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18726
18727 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18728 Mark obsolete.
18729 * shell.el (shell-parse-pcomplete-arguments): New function.
18730 (shell-completion-vars): Use it instead (bug#9160).
18731
18732 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18733
18734 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18735 strings and comments (bug#9333).
18736
18737 * emacs-lisp/debug.el (debug-arglist): New function.
18738 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18739 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18740
18741 2011-08-22 Juri Linkov <juri@jurta.org>
18742
18743 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18744 Revert regexp that highlights output switches to its old
18745 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18746
18747 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18748 to check for empty output (bug#9226).
18749
18750 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18751
18752 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18753 symbol-constituent as the default, as that stops font-lock from
18754 working properly (Bug#8843).
18755
18756 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18757
18758 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18759 `coding-system-for-*' around the process open call to avoid
18760 auth-source side effects.
18761 (smtpmail-try-auth-methods): Expand the secret password.
18762 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18763 probe hangs.
18764
18765 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18766
18767 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18768
18769 * emacs-lisp/find-func.el (find-function-noselect): New arg
18770 lisp-only.
18771
18772 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18773 signal an error for built-in functions (Bug#6664).
18774
18775 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18776
18777 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18778 (smtpmail-try-auth-methods): Use it.
18779
18780 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18781
18782 * font-lock.el (font-lock-fontify-region)
18783 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18784 (font-lock-default-unfontify-buffer)
18785 (font-lock-default-fontify-region)
18786 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18787
18788 * progmodes/compile.el (compilation-error-properties):
18789 Fix confusion between file struct and message struct (Bug#9319).
18790 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18791 `ant' regexp.
18792
18793 * net/browse-url.el (browse-url-firefox): Don't call
18794 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18795
18796 2011-08-20 Glenn Morris <rgm@gnu.org>
18797
18798 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18799
18800 * tutorial.el (tutorial--default-keys): Update some default bindings.
18801
18802 * files.el (hack-local-variables): Fully ignore case for "mode:".
18803
18804 2011-08-20 Alan Mackenzie <acm@muc.de>
18805
18806 Resolve invalid use of a regexp in regexp-opt.
18807
18808 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18809 detection for a java annotation.
18810
18811 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18812 detection for a java annotation.
18813
18814 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18815 handling for java.
18816 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18817
18818 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18819
18820 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18821 (Bug#9274).
18822
18823 2011-08-20 Alan Mackenzie <acm@muc.de>
18824
18825 Fontify CPP expressions correctly when starting in the middle of
18826 such a construct. Mainly for when jit-lock etc. starts a chunk
18827 here.
18828
18829 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18830 variable.
18831 (c-make-font-lock-search-form): New function, extracted from
18832 c-make-font-lock-search-function.
18833 (c-make-font-lock-search-function): Use the above function.
18834 (c-make-font-lock-context-search-function): New function.
18835 (c-cpp-matchers): Enhance the preprocessor expression case with
18836 the above function
18837 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18838 which takes an expression.
18839
18840 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18841
18842 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18843
18844 * window.el (display-buffer-reuse-window)
18845 (display-buffer-pop-up-window): Don't reuse or split a side
18846 window.
18847
18848 2011-08-19 Glenn Morris <rgm@gnu.org>
18849
18850 * files.el (hack-local-variables-prop-line, hack-local-variables):
18851 Downcase "Mode:". (Bug#9331)
18852
18853 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18854
18855 * international/characters.el: Add L and R categories.
18856
18857 * subr.el (bidi-string-mark-left-to-right): Rename from
18858 string-mark-left-to-right. Use category search.
18859
18860 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18861
18862 2011-08-18 Juri Linkov <juri@jurta.org>
18863
18864 * faces.el (error, warning, success): New faces with definitions
18865 copied from old default values of `font-lock-warning-face',
18866 `compilation-warning', `compilation-info' (bug#6117).
18867
18868 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18869
18870 * progmodes/compile.el (compilation-error): Inherit from `error'.
18871 (compilation-warning): Inherit from `warning'.
18872 (compilation-info): Inherit from `success'.
18873
18874 * dired.el (dired-marked): Inherit from `warning'.
18875 (dired-flagged): Inherit from `error'.
18876
18877 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18878
18879 * mail/smtpmail.el (auth-source): Require to avoid problems with
18880 binding variables (bug#9298). Also clean up some unused
18881 autoloads.
18882
18883 * net/network-stream.el (network-stream-open-starttls):
18884 Support using starttls.el without using gnutls-cli.
18885
18886 2011-08-17 Juri Linkov <juri@jurta.org>
18887
18888 * progmodes/grep.el (rgrep): Handle the case when
18889 `grep-find-command' is a cons cell (bug#9278).
18890
18891 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18892
18893 * window.el (display-buffer-pop-up-frame): Run frame creation
18894 function with BUFFER current (as special-display-popup-frame
18895 does). Reported by Drew Adams.
18896
18897 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18898
18899 * epa-mail.el: Simplify GnuPG group expansion using
18900 epg-expand-group.
18901 (epa-mail-group-alist, epa-mail-group-modtime)
18902 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18903 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18904 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18905 Remove.
18906
18907 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18908
18909 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18910
18911 2011-08-16 Alan Mackenzie <acm@muc.de>
18912
18913 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18914 Correct, to avoid the inside of macros.
18915
18916 2011-08-16 Richard Stallman <rms@gnu.org>
18917
18918 * epa-mail.el: Handle GnuPG group definitions.
18919 (epa-mail-group-alist, epa-mail-group-modtime)
18920 (epa-mail-gnupg-conf-file): New variables.
18921 (epa-mail-parse-groups, epa-mail-sync-groups)
18922 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18923 (epa-mail-expand-recipients): New functions.
18924 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18925
18926 * mail/rmail.el (rmail-epa-decrypt): New command.
18927
18928 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18929 Don't bind buffer-read-only, just inhibit-read-only.
18930 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18931 (epa-decrypt-armor-in-region): Make error message clearer.
18932
18933 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18934
18935 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18936 and "a2b" to "ab" for `prefix'.
18937
18938 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18939
18940 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18941 filter groups.
18942 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18943 Fourquet (Bug#8804).
18944
18945 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18946
18947 * startup.el (argi): Declare as global variable (bug#9275).
18948
18949 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18950
18951 * subr.el (string-mark-left-to-right): Search the entire string
18952 for RTL script, not just the terminating character. Doc fix.
18953
18954 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18955
18956 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18957 New function.
18958 (js--regexp-literal, js-syntax-propertize-function): Remove.
18959 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18960 (js-mode-map): Don't rebind electric keys.
18961 (js-insert-and-indent): Remove.
18962 (js-mode): Setup electric-layout and electric-indent instead.
18963
18964 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18965
18966 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18967
18968 * epa.el (epa-progress-callback-function): Fix the logic of
18969 displaying progress.
18970 * epa-file.el (epa-file-insert-file-contents): Make progress
18971 display more user-friendly.
18972 (epa-file-write-region): Ditto.
18973
18974 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18975
18976 * subr.el (string-mark-left-to-right): New function.
18977
18978 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18979 Use string-mark-left-to-right.
18980 (list-buffers-noselect): Caller changed.
18981
18982 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18983 Use string-mark-left-to-right.
18984 (tabulated-list-print): Recenter after moving point.
18985
18986 2011-08-10 Juri Linkov <juri@jurta.org>
18987
18988 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18989 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18990 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18991
18992 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18993
18994 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18995 (Bug#7554).
18996
18997 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18998
18999 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19000 character. (Bug#6594)
19001
19002 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19003
19004 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19005 (image-dired--with-db-file): New macro.
19006 (image-dired-write-tags, image-dired-remove-tag)
19007 (image-dired-create-gallery-lists, image-dired-write-comments)
19008 (image-dired-get-comment, image-dired-mark-tagged-files)
19009 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19010 (image-dired-gallery-generate): Use insert-file-contents.
19011
19012 * time.el (display-time-world-list, display-time-world-display):
19013 * time-stamp.el (time-stamp-string):
19014 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19015 set-time-zone-rule (Bug#7337).
19016
19017 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19018
19019 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19020 (epg-error-to-string, epg-errors-to-string): New function.
19021 (epg-wait-for-completion): Reverse errors list.
19022 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19023 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19024 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19025 (epg-sign-keys, epg-generate-key-from-file)
19026 (epg-generate-key-from-string): Format errors by using
19027 epg-errors-to-string (bug#9255).
19028 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19029
19030 2011-08-07 Juri Linkov <juri@jurta.org>
19031
19032 * faces.el (list-faces-display): Remove extra angle bracket
19033 from `help-mode-map'.
19034
19035 * info.el (Info-history-toc-nodes): Doc fix.
19036
19037 * longlines.el (longlines-mode): Doc fix.
19038
19039 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19040
19041 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19042 of statements and in a few more cases (bug#9183).
19043
19044 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19045 New functions.
19046 (cl-transform-lambda): Use them (bug#9239).
19047
19048 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19049
19050 * window.el (display-buffer-same-window)
19051 (display-buffer-same-frame, display-buffer-other-window)
19052 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19053 (pop-to-buffer-other-window)
19054 (pop-to-buffer-same-frame-other-window)
19055 (pop-to-buffer-other-frame): Make them defuns.
19056 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19057
19058 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19059
19060 * subr.el (make-composed-keymap): Move from C. Change calling
19061 convention, and improve docstring to bring attention to a subtle point.
19062 * minibuffer.el (completing-read-default): Adjust accordingly.
19063
19064 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19065
19066 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19067 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19068
19069 * net/trampver.el: Update release number.
19070
19071 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19072
19073 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19074 "in" (bug#9190).
19075
19076 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19077
19078 * mail/sendmail.el (sendmail-query-once): Restore the current
19079 buffer after querying (bug#9074).
19080
19081 * dired.el (dired-flagged): Use different faces for marked and
19082 flagged files (bug#6117).
19083
19084 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19085 (bug#4433).
19086
19087 * ido.el (ido-mode): Switch off the message if called
19088 non-interactively.
19089
19090 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19091 before 587, since it appears that that's more likely to work for
19092 more people.
19093
19094 * cus-edit.el (custom-file): When running under emacs -q, always
19095 refuse to save the customizations, even if the .emacs file doesn't
19096 exist.
19097
19098 * info.el: Remove the `Info-beginning-of-buffer' function
19099 (bug#8325).
19100
19101 * net/network-stream.el (network-stream-open-starttls):
19102 Use `starttls-available-p' to see whether starttls.el can be used.
19103
19104 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19105
19106 * window.el (display-buffer-in-window): Don't set dedicated status
19107 of window here (Bug#9215).
19108 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19109 (display-buffer-pop-up-side-window)
19110 (display-buffer-in-side-window): Set dedicated status of window here.
19111
19112 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19113
19114 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19115 before binding generated-autoload-file.
19116
19117 2011-08-01 Deniz Dogan <deniz@dogan.se>
19118
19119 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19120
19121 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19122
19123 Sync with Tramp 2.2.2.
19124
19125 * net/trampver.el: Update release number.
19126
19127 2011-07-30 Juri Linkov <juri@jurta.org>
19128
19129 * dired-aux.el (dired-touch-initial): Remove function.
19130 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19131 current time, and `default' to the last modification time of the
19132 current marked file (bug#6887).
19133
19134 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19135
19136 * simple.el (goto-line): Use string-to-number to provide a
19137 numeric argument to read-number (bug#9163).
19138
19139 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19140
19141 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19142 connection process, it could be nil.
19143
19144 2011-07-27 Leo Liu <sdl.web@gmail.com>
19145
19146 Simplify url handling in rcirc-mode.
19147
19148 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19149 (rcirc-browse-url-at-mouse): Remove.
19150 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19151
19152 2011-07-26 Alan Mackenzie <acm@muc.de>
19153
19154 Fontify bitfield declarations properly.
19155
19156 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19157 (c-symbol-chars): Now exported as a lang variable.
19158 (c-not-primitive-type-keywords): New lang variable.
19159
19160 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19161 QT keyword "more" to prevent "more slots: ...." being spuriously
19162 parsed as a bitfield declaration.
19163
19164 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19165 Refactor and enhance to handle bitfield declarations.
19166 (c-punctuation-in): New function.
19167 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19168 declarations properly.
19169
19170 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19171
19172 * calendar/icalendar.el (icalendar--all-events): Take care of
19173 multiple vcalendars in a single file.
19174 (icalendar--convert-float-to-ical): Checkdoc fixes.
19175
19176 2011-07-25 Deniz Dogan <deniz@dogan.se>
19177
19178 * image.el (insert-image): Clarifying docstring.
19179
19180 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19181
19182 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19183 `tramp-send-command-and-check' if there is no error.
19184 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19185
19186 2011-07-22 Alan Mackenzie <acm@muc.de>
19187
19188 Prevent cc-langs.elc being loaded at run time.
19189
19190 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19191 cc-langs.
19192
19193 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19194 "(require 'cc-langs)". Quote a form so it will evaluate at
19195 (cc-mode's) compilation time.
19196
19197 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19198
19199 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19200 loading. (Bug#9114)
19201
19202 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19203
19204 * window.el (display-buffer-pop-up-window)
19205 (display-buffer-pop-up-side-window)
19206 (display-buffer-in-side-window): Call display-buffer-set-height
19207 and display-buffer-set-width after setting the new window's
19208 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19209
19210 2011-07-20 Sam Steingold <sds@gnu.org>
19211
19212 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19213 (etags-tags-included-tables): Call `convert-standard-filename' on
19214 the file names contained in TAGS so that windows Emacs can handle
19215 TAGS files created by cygwin ctags.
19216
19217 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19218
19219 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19220 which apparently didn't work.
19221
19222 2011-07-19 Roland Winkler <winkler@gnu.org>
19223
19224 * proced.el (proced-send-signal): For *Marked Processes* buffer
19225 put point at beginning of buffer.
19226
19227 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19228
19229 * proced.el (proced-format): Make header lines align with the text
19230 (bug#1779).
19231
19232 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19233
19234 * view.el (view-buffer): Allow running in `special' modes if we're
19235 visiting a file (bug#8615).
19236
19237 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19238
19239 * window.el (display-buffer-alist-of-strings-p)
19240 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19241 New functions.
19242 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19243 more accurately.
19244
19245 2011-07-18 Alan Mackenzie <acm@muc.de>
19246
19247 Fontify declarators properly when, e.g., a jit-lock chunk begins
19248 inside a declaration.
19249
19250 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19251
19252 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19253 New function.
19254 (c-complex-decl-matchers): Insert reference to
19255 c-font-lock-enclosing-decls.
19256
19257 * progmodes/cc-engine.el (c-backward-single-comment):
19258 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19259 to nil around calls to (forward-comment -1).
19260
19261 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19262
19263 * image.el (put-image): Doc typo fix.
19264
19265 * progmodes/etags.el (tags-search): Doc typo fix.
19266
19267 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19268 password if we get errors 550 to 554.
19269
19270 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19271
19272 * net/gnutls.el (gnutls-log-level): Remove.
19273
19274 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19275 indentation character (bug#6380).
19276
19277 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19278
19279 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19280 to clarify what the problem is (bug#4291).
19281
19282 * simple.el (current-kill): Clarify what
19283 `interprogram-paste-function' does (bug#7500).
19284 (auto-fill-mode): Document `auto-fill-function' in relation to
19285 `auto-fill-mode' (bug#2470).
19286
19287 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19288
19289 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19290 method if slot is read-only (bug#9035).
19291
19292 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19293
19294 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19295 * window.el (pop-to-buffer): Select window used even if it was
19296 selected before, see discussion of (Bug#8615), (Bug#6954).
19297 Pass argument NORECORD on to select-frame-set-input-focus.
19298
19299 2011-07-15 Glenn Morris <rgm@gnu.org>
19300
19301 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19302 Respect help-form.
19303
19304 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19305
19306 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19307 (gnutls-negotiate): Use it.
19308
19309 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19310
19311 * net/gnutls.el (gnutls-negotiate):
19312 Upcase `gnutls-algorithm-priority'.
19313
19314 2011-07-15 Glenn Morris <rgm@gnu.org>
19315
19316 * jka-compr.el (jka-compr-verbose): Move from here...
19317 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19318 Add missing :version tag.
19319 * info.el: No need to require jka-compr when compiling.
19320
19321 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19322
19323 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19324 (gnutls-negotiate): Use it.
19325
19326 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19327
19328 * info.el (Info-beginning-of-buffer): New command.
19329 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19330 announcing `b' as the key (bug#8325).
19331 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19332
19333 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19334
19335 * international/mule-cmds.el
19336 (describe-specified-language-support): Make the error message
19337 clearer (bug#8905).
19338
19339 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19340
19341 * isearch.el (isearch-barrier): Add a doc string, since it's
19342 mentioned in a function doc string (bug#8678).
19343
19344 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19345
19346 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19347 buffer argument (Bug#9083) and self-identifying label argument.
19348
19349 2011-07-15 Glenn Morris <rgm@gnu.org>
19350
19351 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19352
19353 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19354
19355 * man.el (Man-fontify-manpage): Fix message when formatting the
19356 man page (bug#7929).
19357
19358 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19359
19360 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19361 argument LRM; if non-nil, append an invisible LRM character to the
19362 buffer name.
19363 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19364 last argument non-nil, when formatting buffer names.
19365 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19366 paragraph direction.
19367
19368 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19369
19370 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19371 the man page name (bug#7929).
19372
19373 * image.el (put-image): Mention the `put-image' overlay property
19374 (bug#7834).
19375
19376 * scroll-bar.el (set-scroll-bar-mode): Mention that
19377 `scroll-bar-mode' lists the values (bug#7772).
19378
19379 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19380 command (bug#7729).
19381
19382 * rect.el (apply-on-rectangle): Return the point after the last
19383 operation.
19384 (string-rectangle): Go to the point after the last operation
19385 (bug#7522).
19386
19387 * printing.el (pr-toggle-region): Clarify the documentation
19388 slightly (bug#7493).
19389
19390 * time.el (display-time-update):
19391 Allow `display-time-mail-function' to return nil (bug#7158).
19392 Fix suggested by Detlev Zundel.
19393
19394 * vc/diff.el (diff): Clarify the order the file names are read
19395 (bug#7111).
19396
19397 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19398 the doc string (bug#7015).
19399
19400 * font-lock.el (font-lock-maximum-decoration): Mention what
19401 numeric levels mean (bug#6935).
19402
19403 * startup.el (initial-buffer-choice): Don't mention the `none'
19404 selection, which is against policy.
19405
19406 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19407
19408 * window.el (display-buffer-normalize-special):
19409 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19410
19411 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19412
19413 * subr.el (version<, version<=, version=): Mention "-CVS" and
19414 "-12345" alpha version numbers.
19415
19416 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19417
19418 * bindings.el: Add advertised binding for set-mark-command
19419 (Bug#5772).
19420
19421 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19422
19423 * bindings.el (mode-line-other-buffer):
19424 * bookmark.el (bookmark-bmenu-2-window):
19425 * bs.el (bs-cycle-next, bs-cycle-previous):
19426 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19427 switch-to-buffer.
19428
19429 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19430 Delete.
19431
19432 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19433
19434 * follow.el (follow-debug-message, follow-redisplay):
19435 * jka-cmpr-hook.el (with-auto-compression-mode):
19436 Fix typos in docstrings.
19437
19438 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19439
19440 * subr.el (with-silent-modifications): Clarify somewhat what the
19441 macro inhibits (bug#6525).
19442
19443 * simple.el (eval-expression): Note what it does if called
19444 interactively (bug#6495).
19445
19446 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19447
19448 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19449 Use pop-to-buffer buffer-or-name if it is nil.
19450
19451 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19452 Remove switch-to-buffer.
19453
19454 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19455
19456 * files.el (make-directory): Clarify that an error will be raised
19457 if there's an error (bug#6397).
19458
19459 * startup.el (initial-buffer-choice): Add `none' as a choice
19460 (bug#6234).
19461
19462 * subr.el (add-hook): Clarify section about buffer-local hooks
19463 (bug#6218).
19464
19465 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19466
19467 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19468
19469 * tabify.el (untabify): Preserve the current column so that point
19470 doesn't move (bug#6032).
19471
19472 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19473
19474 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19475 Rewrite to avoid awkward possessive "s" (bug#5986).
19476
19477 2011-07-13 Glenn Morris <rgm@gnu.org>
19478
19479 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19480 (dired-insert-directory): Give a message the first time
19481 if ls is found not to support --dired.
19482
19483 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19484
19485 * simple.el (toggle-truncate-lines): Clarify what is toggled
19486 (bug#5580). Text by Drew Adams.
19487
19488 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19489
19490 * simple.el (blink-matching-open): Make the error message from the
19491 last change less verbose.
19492
19493 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19494
19495 * font-lock.el (font-lock-comment-face): Use the high contrast
19496 "yellow" color for font-lock-comment-face on low color terminals
19497 using a dark background color (bug#4221).
19498
19499 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19500
19501 * dired.el (dired-insert-set-properties): Make the doc string
19502 reflect what it does now (bug#5325).
19503
19504 * simple.el (blink-matching-open): Say that we were unable to find
19505 the match within the limit, if we're limited (bug#5122).
19506
19507 * international/mule-cmds.el (prefer-coding-system): Add an
19508 example (bug#4869).
19509
19510 * progmodes/etags.el (tags-search): Document `file-list-form'
19511 (bug#4731).
19512
19513 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19514
19515 * net/browse-url.el (browse-url-default-browser)
19516 (browse-url-browser-function): Make the default browser choice a
19517 bit more logical (bug#4300). Also clean up the doc string.
19518
19519 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19520
19521 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19522 binary endings (bug#4440).
19523
19524 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19525
19526 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19527 which can be pretty annoying (bug#8971).
19528
19529 * jka-compr.el (jka-compr-verbose): New variable, and use
19530 throughout (bug#8971).
19531
19532 * info.el (Info-find-file): Fall back on the installation
19533 directory if we can't find the info node anywhere else.
19534
19535 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19536
19537 * vc/vc.el (vc-revert-file):
19538 Don't set file time-stamp in the past. (Bug#5181)
19539
19540 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19541
19542 * files.el (after-find-file): Give a better error message when
19543 trying to find a symlink that points to a file that doesn't exist
19544 (bug#4398).
19545
19546 * progmodes/cc-vars.el: Remove (probably) misleading comment
19547 (bug#4396).
19548
19549 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19550
19551 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19552
19553 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19554
19555 * mouse-sel.el: Hack restoring functionality, while keeping
19556 compatibility with 2010-07-03 changes to mouse selection.
19557 (mouse-sel-primary-overlay): New var.
19558 (mouse-sel-selection-alist): Use it.
19559 (mouse-sel-mode): Doc fix; remove points that are default features
19560 of mouse.el.
19561
19562 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19563
19564 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19565 Fix previous fix (bug#2490).
19566
19567 2011-07-12 Roland Winkler <winkler@gnu.org>
19568
19569 * textmodes/bibtex.el (bibtex-initialize):
19570 Use pop-to-buffer-same-window.
19571 (bibtex-search-entries): Fix interactive call.
19572
19573 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19574
19575 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19576 Fontise bytecomp Error lines more correctly (bug#2490).
19577 Fix suggested by Johan Bockgård.
19578
19579 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19580
19581 * dired-x.el (dired-guess-default): Use `delete-dups'.
19582
19583 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19584
19585 * dired.el (dired-mark-prompt):
19586 * dired-aux.el (dired-read-shell-command): Doc fix.
19587
19588 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19589
19590 * mail/sendmail.el (sendmail-query-once):
19591 Use `customize-save-variable' unconditionally, now that it works under
19592 emacs -Q.
19593
19594 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19595
19596 * cus-edit.el (custom-file): Take an optional no-error variable.
19597 (customize-save-variable): Set the variable, and give a warning if
19598 running under "emacs -q".
19599
19600 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19601
19602 * loadhist.el (unload-feature-special-hooks):
19603 Add `auto-coding-functions', `fill-nobreak-predicate' and
19604 `find-directory-functions' (bug#5327).
19605
19606 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19607
19608 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19609
19610 * cus-edit.el (custom-guess-name-alist): -alist variables should
19611 use the `alist' type (bug#3120). Suggested by Drew Adams.
19612
19613 * printing.el: Add documentation to all the `pr-toggle-' commands.
19614
19615 2011-07-11 Leo Liu <sdl.web@gmail.com>
19616
19617 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19618 backends where it makes sense (bug#2623).
19619
19620 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19621
19622 * dired-x.el (dired-guess-default): Remove duplicate shell command
19623 entries (bug#2028).
19624 (dired-guess-default): Fix grammar in doc string (bug#2028).
19625 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19626
19627 * subr.el (remove-duplicates): New conveniency function.
19628
19629 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19630
19631 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19632 (bug#1526).
19633
19634 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19635
19636 * window.el (display-buffer-normalize-default): Don't invert
19637 meaning of even-window-heights. Reported by Eli Zaretskii
19638 <eliz@gnu.org>.
19639
19640 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19641
19642 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19643
19644 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19645
19646 * window.el (display-buffer): Fix arguments to
19647 display-buffer-reuse-window in last change.
19648
19649 * faces.el (link): Use a less saturated blue on light backgrounds.
19650
19651 * startup.el (fancy-startup-text, fancy-about-text)
19652 (fancy-startup-tail): Use font-lock faces, for background safety.
19653
19654 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19655
19656 * emulation/viper-cmd.el (viper-change-state-to-vi):
19657 Limit triggering of abbrev expansion (Bug#9038).
19658
19659 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19660
19661 * window.el (display-buffer-default-specifiers): Remove.
19662 (display-buffer-macro-specifiers): Remove default specifiers.
19663 (display-buffer-alist): Default to nil.
19664 (display-buffer-reuse-window): New optional argument other-window.
19665 (display-buffer-pop-up-window): Allow splitting internal
19666 windows. Check whether a live window was created.
19667 (display-buffer-other-window-means-other-frame)
19668 (display-buffer-normalize-arguments): Rename to
19669 display-buffer-normalize-argument and rewrite. Set the
19670 other-window specifier.
19671 (display-buffer-normalize-special): New function.
19672 (display-buffer-normalize-options): Rename to
19673 display-buffer-normalize-default and rewrite.
19674 (display-buffer-normalize-options-inhibit): Remove.
19675 (display-buffer-normalize-specifiers): Rewrite.
19676 (display-buffer): Process other-window specifier and call
19677 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19678 more faithfully.
19679 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19680 (display-buffer-alist-set): Don't handle 'unset default values.
19681 (display-buffer-in-window, display-buffer-alist-set):
19682 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19683 <tassilo@member.fsf.org>.
19684
19685 2011-07-09 Leo Liu <sdl.web@gmail.com>
19686
19687 * register.el (insert-register): Restore accidental change on
19688 2011-06-26. (Bug#9028)
19689
19690 2011-07-09 Glenn Morris <rgm@gnu.org>
19691
19692 * subr.el (remq): Handle the empty list. (Bug#9024)
19693
19694 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19695
19696 * mail/sendmail.el (send-mail-function): No longer delay custom
19697 initialization.
19698 * custom.el (custom-initialize-delay): Doc fix.
19699
19700 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19701
19702 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19703
19704 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19705
19706 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19707 human-friendly prompt.
19708
19709 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19710
19711 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19712 provided by a particular plugin.
19713
19714 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19715
19716 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19717 save customizations (with "emacs -Q"), just set the variable
19718 instead of erroring out.
19719
19720 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19721
19722 2011-07-08 Juri Linkov <juri@jurta.org>
19723
19724 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19725 (archive-zip-update-case): Use 7z if found by `executable-find'.
19726 The order of searching the available programs is the same as in
19727 `archive-zip-extract' (bug#8968).
19728
19729 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19730
19731 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19732 (menu-bar-options-menu): Tweak descriptions.
19733
19734 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19735
19736 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19737 menu items into verb phrases (bug#1421). Also refill to fit under
19738 80 columns.
19739
19740 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19741
19742 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19743 (Info-read-node-name): Doc fix (Bug#1084).
19744
19745 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19746 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19747 (end-of-sexp, beginning-of-sexp)
19748 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19749 (forward-symbol, forward-same-syntax, word-at-point)
19750 (sentence-at-point): Doc fix (Bug#1144).
19751
19752 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19753
19754 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19755 should cover it (bug#1281).
19756
19757 * cus-edit.el (custom-show): Mark as obsolete.
19758
19759 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19760 negotiation fails, then possibly try again with a non-encrypted
19761 connection (bug#9017).
19762
19763 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19764 be used.
19765
19766 2011-07-07 Richard Stallman <rms@gnu.org>
19767
19768 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19769 property, and handle its changed format.
19770 Look for the correct line number.
19771 Use file's line contents (but not past first =) to find
19772 correct line in message.
19773
19774 2011-07-07 Kenichi Handa <handa@m17n.org>
19775
19776 * international/characters.el (build-unicode-category-table):
19777 Delete it.
19778 (unicode-category-table): Set it by unicode-property-table-internal.
19779
19780 * international/mule-cmds.el (char-code-property-alist): Move to
19781 to src/chartab.c.
19782 (get-char-code-property): Call unicode-property-table-internal to
19783 load a file. Call get-unicode-property-internal where necessary.
19784 (put-char-code-property): Call unicode-property-table-internal to
19785 load a file. Call put-unicode-property-internal where necessary.
19786 put-unicode-property-internal where necessary.
19787 (char-code-property-description):
19788 Call unicode-property-table-internal to load a file.
19789
19790 * international/charprop.el:
19791 * international/uni-bidi.el:
19792 * international/uni-category.el:
19793 * international/uni-combining.el:
19794 * international/uni-comment.el:
19795 * international/uni-decimal.el:
19796 * international/uni-decomposition.el:
19797 * international/uni-digit.el:
19798 * international/uni-lowercase.el:
19799 * international/uni-mirrored.el:
19800 * international/uni-name.el:
19801 * international/uni-numeric.el:
19802 * international/uni-old-name.el:
19803 * international/uni-titlecase.el:
19804 * international/uni-uppercase.el: Regenerate.
19805
19806 * loadup.el: Load international/charprop.el before
19807 international/characters.
19808
19809 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19810
19811 * window.el (next-buffer, previous-buffer): Signal an error if
19812 called from a minibuffer window.
19813
19814 * bindings.el: Revert 2011-07-04 change.
19815
19816 2011-07-06 Richard Stallman <rms@gnu.org>
19817
19818 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19819 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19820 Treat markers like ints.
19821 (rmail-mime-entity): Doc fix.
19822
19823 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19824
19825 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19826 defcustom again for backwards compatibility.
19827
19828 * simple.el (shell-command-on-region): Fill.
19829
19830 * dired-aux.el (dired-kill-line): Add a doc string.
19831
19832 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19833 to "\\sw\\|\\s_" (bug#358).
19834
19835 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19836 (dired-unmark-backward): Ditto.
19837 (dired-flag-backup-files): Ditto.
19838
19839 * dired-x.el (dired-mark-sexp): Ditto.
19840
19841 2011-07-06 Richard Stallman <rms@gnu.org>
19842
19843 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19844 (rmail-mime-entity): New arg TRUNCATED.
19845 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19846 New functions.
19847 (rmail-mime-save): Warn if entity is truncated.
19848 (rmail-mime-toggle-hidden): Likewise, for showing.
19849 (rmail-mime-process-multipart): Record when an entity is truncated.
19850
19851 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19852 if ENTITY is a string.
19853
19854 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19855
19856 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19857 of faces when `M-C-x'-ing their definitions (bug#8378).
19858 Also clean up the code slightly.
19859
19860 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19861 because that makes the colors go away.
19862
19863 * mail/sendmail.el (send-mail-function): Change the default to
19864 `sendmail-query-once'.
19865 (sendmail-query-once): Add an autoload cookie.
19866
19867 * net/network-stream.el (network-stream-open-starttls): Try using
19868 a plain connection even if the server offered STARTTLS, and we
19869 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19870 capability. This should make smtpmail.el work in slightly more
19871 configurations.
19872
19873 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19874
19875 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19876 New defun.
19877 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19878
19879 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19880
19881 * progmodes/sql.el: Version 3.0
19882 (sql-product-alist): Add product :completion-object,
19883 :completion-column, and :statement attributes.
19884 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19885 (sql-mode-syntax-table): Mark all punctuation.
19886 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19887 ansi keywords.
19888 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19889 (sql-mode-oracle-font-lock-keywords): Improve.
19890 (sql-oracle-show-reserved-words): New function for development.
19891 (sql-product-font-lock): Simplify for source code buffers.
19892 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19893 New functions.
19894 (sql-highlight-product): Set product specific syntax table.
19895 (sql-mode-map): Add statement movement functions.
19896 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19897 New variable.
19898 (sql-statement-regexp, sql-beginning-of-statement)
19899 (sql-end-of-statement, sql-signum): New functions.
19900 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19901 (sql-show-sqli-buffer): Bug fix.
19902 (sql-interactive-mode): Store connection data as buffer local.
19903 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19904 with sql-interactive-mode.
19905 (sql-save-connection): Save buffer local settings.
19906 (sql-connection-menu-filter): Change menu entry name.
19907 (sql-product-interactive): Bug fix.
19908 (sql-preoutput-hold): New variable.
19909 (sql-interactive-remove-continuation-prompt): Bug fixes.
19910 (sql-debug-redirect): New variable.
19911 (sql-str-literal): New function.
19912 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19913 Redesign.
19914 (sql-oracle-save-settings, sql-oracle-restore-settings)
19915 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19916 (sql-completion-object, sql-completion-column)
19917 (sql-completion-sqlbuf): New variables.
19918 (sql-build-completions-1, sql-build-completions)
19919 (sql-try-completion): New functions.
19920 (sql-read-table-name): Use them.
19921 (sql-contains-names): New buffer local variable.
19922 (sql-list-all, sql-list-table): Use it.
19923 (sql-oracle-completion-types): New variable.
19924 (sql-oracle-completion-object, sql-sqlite-completion-object)
19925 (sql-postgres-completion-object): New functions.
19926
19927 2011-07-06 Glenn Morris <rgm@gnu.org>
19928
19929 * window.el (pop-to-buffer): Doc fix.
19930
19931 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19932
19933 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19934
19935 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19936
19937 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19938
19939 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19940
19941 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19942
19943 * button.el (button): Inherit from link face. Suggested by Dan
19944 Nicolaescu.
19945
19946 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19947
19948 * progmodes/gdb-mi.el: Fit in 80 columns.
19949 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19950 switch-to-buffer.
19951
19952 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19953 if imenu is simply not configured (bug#8941).
19954
19955 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19956
19957 * allout.el (allout-post-undo-hook): New allout outline-change
19958 event hook to signal undo activity.
19959 (allout-post-command-business): Run allout-post-undo-hook if an
19960 undo just occurred.
19961 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19962 * allout-widgets.el (allout-widgets-after-undo-function):
19963 Ensure the integrity of the current item's decoration after it has been
19964 in the vicinity of an undo.
19965 (allout-widgets-mode): Include allout-widgets-after-undo-function
19966 on the new allout-post-undo-hook.
19967
19968 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19969
19970 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19971 Let define-derived-mode define it.
19972 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19973 cycles of abbrev-table inheritance (bug#8998).
19974
19975 2011-07-05 Roland Winkler <winkler@gnu.org>
19976
19977 * textmodes/bibtex.el: Add support for biblatex.
19978 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19979 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19980 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19981 (bibtex-entry-alist, bibtex-field-alist): New variables.
19982 (bibtex-entry-field-alist): Obsolete alias for
19983 bibtex-BibTeX-entry-alist.
19984 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19985 (bibtex-set-dialect): New command.
19986 (bibtex-entry-type, bibtex-entry-head)
19987 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19988 Bind via bibtex-set-dialect.
19989 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19990 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19991 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19992 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19993 Define via bibtex-set-dialect.
19994 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19995 Obey bibtex-no-opt-remove-re.
19996 (bibtex-vec-push, bibtex-vec-incr): New functions.
19997 (bibtex-format-entry, bibtex-field-list)
19998 (bibtex-print-help-message, bibtex-validate)
19999 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20000
20001 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20002
20003 * progmodes/compile.el (compilation-goto-locus):
20004 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20005 * bs.el (bs-cycle-next, bs-cycle-previous):
20006 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20007 * bindings.el (mode-line-other-buffer):
20008 * autoinsert.el (auto-insert):
20009 * arc-mode.el (archive-extract):
20010 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20011
20012 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20013
20014 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20015 Fix check of `emacs-lock-unlockable-modes'.
20016 Coerce true values of `emacs-lock--try-unlocking' to t.
20017
20018 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20019
20020 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20021 * emacs-lock.el: New file.
20022
20023 2011-07-05 Julien Danjou <julien@danjou.info>
20024
20025 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20026 than `boundp' to check if face is set.
20027
20028 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20029
20030 * register.el (registerv-make):
20031 * window.el (window-min-height): Fix typos in docstrings.
20032
20033 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20034
20035 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20036 Update doc string.
20037
20038 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20039
20040 * server.el (server-execute): Catch quit and call
20041 `server-return-error' to pass the error back to emacsclient and
20042 close the connection (bug#8942).
20043
20044 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20045
20046 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20047 insecure exception for current topic. Also note that auto-saves
20048 are handled differently.
20049
20050 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20051 State variables for tracking auto-save inhibition situation.
20052
20053 (allout-write-contents-hook-handler): Rename from
20054 'allout-write-file-hook-handler', and describe how it depends on
20055 write-contents-functions sensitivity to non-nil value to prevent
20056 file write.
20057
20058 (allout-auto-save-hook-handler): Remove. auto-save does not check
20059 this in individual buffers, only in the starting buffer, so this
20060 is not the right way for us to inhibit auto-save in a buffer
20061 according to its condition.
20062
20063 (allout-mode): Use new allout-write-contents-hook-handler, and
20064 only with write-contents-functions. Remove auto-save provisions -
20065 they're implemented elsewhere.
20066
20067 (allout-before-change-handler): If undo is in progress, note that
20068 for attention of allout-post-command-business.
20069
20070 (allout-post-command-business): If the command we're following was
20071 an undo, check for change in the status of encrypted items and
20072 adjust auto-save inhibitions accordingly.
20073
20074 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20075 according to whether there are or aren't any plain-text topics
20076 pending encryption.
20077
20078 (allout-inhibit-auto-save-info-for-decryption):
20079 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20080 if there are plain-text topics pending encryption.
20081
20082 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20083 buffer-saved-size and some allout state to not inhibit auto-saves
20084 if there are no longer any plain-text topics pending encryption.
20085
20086 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20087 No longer provide for exemption of the current topic.
20088
20089 2011-07-04 Juri Linkov <juri@jurta.org>
20090
20091 Add 7z operations to delete and save changed members (bug#8968).
20092 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20093 New defcustoms.
20094 (archive-7z-write-file-member): New function.
20095 (archive-7z-summarize): Fix the number of dashes in the
20096 listing output.
20097
20098 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20099
20100 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20101 (bug#8958).
20102
20103 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20104
20105 * bindings.el: Ignore next-buffer and previous-buffer in
20106 minibuffer-local-map.
20107
20108 * font-lock.el (font-lock-builtin-face): Change light background
20109 color to dark slate blue (Bug#6693).
20110
20111 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20112
20113 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20114
20115 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20116
20117 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20118 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20119 Add switch-to-buffer.
20120
20121 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20122
20123 * isearch.el (isearch-search-fun-function): Clarify further the
20124 meaning of the function returned.
20125
20126 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20127
20128 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20129
20130 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20131 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20132 Use it.
20133 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20134 `tramp-default-remote-path' does not exist.
20135 (tramp-send-command-and-read): New optional argument NOERROR.
20136 (tramp-open-connection-setup-interactive-shell)
20137 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20138 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20139 (tramp-process-sentinel): Flush also process' connection property.
20140 (tramp-sh-handle-start-file-process): Do not set process
20141 sentinel. It is done now ...
20142 (tramp-maybe-open-connection): ... here. (Bug#8929)
20143
20144 2011-07-04 MON KEY <monkey@sandpframing.com>
20145
20146 * play/animate.el (animate-string): Doc fixes and allow changing
20147 the buffer name (bug#5417).
20148
20149 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20150
20151 * play/animate.el (animation-buffer-name): Rename from *animate*.
20152
20153 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20154
20155 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20156 This is simpler and helps future-proof the code.
20157 (timer-until): Use time-subtract and float-time.
20158 (timer--time-less-p): Use time-less-p.
20159
20160 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20161
20162 * type-break.el (timep): Use the value of `float-time' to avoid a
20163 byte-compiler warning.
20164
20165 * server.el (server-eval-and-print): Return any result, even nil.
20166
20167 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20168
20169 * type-break.el: Accept time formats that the builtins accept.
20170 (timep, type-break-time-difference): Accept any format that
20171 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20172 This is simpler and helps future-proof the code.
20173 (type-break-time-difference): Round rather than ignoring
20174 subseconds components.
20175
20176 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20177
20178 * info.el (Info-apropos-matches): Make non-interactive, since it
20179 doesn't seem to do anything useful as a command (bug#8829).
20180
20181 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20182
20183 * frame.el (frame-background-mode, frame-set-background-mode):
20184 Move from faces.el.
20185 (frame-default-terminal-background): New function.
20186
20187 * custom.el (custom-push-theme): Don't record faces in `changed'
20188 theme; this doesn't work correctly for per-frame face settings.
20189 (disable-theme): Use face-set-after-frame-default to reset faces.
20190 (custom--frame-color-default): New function.
20191
20192 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20193
20194 * dired.el (dired-flagging-regexp): Remove unused variable
20195 (bug#8769).
20196
20197 2011-03-29 Kevin Ryde <user42@zip.com.au>
20198
20199 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20200 `perl-Test2' extend to match possible "fail #N" rep count
20201 (bug#8377).
20202
20203 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20204
20205 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20206 `smtpmail-via-smtp' now returns the error instead of nil.
20207
20208 * isearch.el (isearch-search-fun-function): Clarify the doc string
20209 (bug#8101).
20210
20211 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20212
20213 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20214 unnecessary spaces (bug#8987).
20215
20216 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20217
20218 * net/network-stream.el (open-network-stream): Use the
20219 :end-of-capability command thoughout.
20220
20221 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20222
20223 * net/network-stream.el (open-network-stream): Add the
20224 :end-of-capability command parameter, used by pop3.el.
20225
20226 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20227
20228 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20229
20230 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20231 for list)" (bug#6475).
20232
20233 * files.el (file-expand-wildcards): Ignore non-readable
20234 sub-directories while trying to find matches instead of signaling
20235 an error (bug#6297).
20236
20237 * man.el (Man-reference-regexp): Allow matching possible
20238 word-wrapped references (bug#6289).
20239
20240 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20241 for consistency with the other vc buffers (bug#6197).
20242 (vc-checkin): Ditto.
20243
20244 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20245
20246 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20247
20248 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20249
20250 * custom.el (defcustom): Clarify that :set is only used in the
20251 Customize user interface (bug#6089).
20252
20253 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20254 associated with a file, refuse to run instead of erroring out
20255 (bug#6084).
20256
20257 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20258 the doc string, since it appears that using `fill-column' always
20259 controls the width (bug#7845).
20260
20261 * simple.el (shell-command-on-region): Say where the error output
20262 went if `shell-command-default-error-buffer' is set (bug#6857).
20263
20264 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20265
20266 * allout.el (allout-yank-processing): Adjust cursor position for
20267 backwards-deleted space.
20268
20269 (allout-rebullet-heading): Register changes with
20270 allout-exposure-changed-hook, so the modified topic is properly
20271 decorated.
20272
20273 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20274
20275 * minibuffer.el (completion-in-region): Document PREDICATE
20276 (bug#7136).
20277
20278 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20279 of keyword/argument pairs (bug#6904).
20280
20281 * replace.el (multi-occur):
20282 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20283
20284 2011-07-02 Drew Adams <drew.adams@oracle.com>
20285
20286 * dired.el (dired-mark-if): Make the message about whether it's
20287 marking or unmarking clearer (bug#8523).
20288
20289 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20290
20291 * disp-table.el (display-table-print-array): New function.
20292 (describe-display-table): Use it to print the vectors more pretty
20293 (Bug#8859).
20294
20295 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20296
20297 * window.el (window-state-get-1): Don't assign clone numbers.
20298 Add clone-of item to list of window parameters.
20299 (window-state-put-2): Don't process clone numbers.
20300 (display-buffer-alist): Fix doc-string.
20301
20302 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20303
20304 * subr.el (remq): Don't allocate if it's not needed.
20305 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20306 (keymap--merge-bindings): New functions.
20307 (keymap-canonicalize): Use them to refine the canonicalization.
20308 * minibuffer.el (minibuffer-local-completion-map)
20309 (minibuffer-local-must-match-map): Move initialization from C.
20310 (minibuffer-local-filename-completion-map): Move initialization from C;
20311 don't inherit from anything here.
20312 (minibuffer-local-filename-must-match-map): Make obsolete.
20313 (completing-read-default): Use make-composed-keymap to combine
20314 minibuffer-local-filename-completion-map with either
20315 minibuffer-local-must-match-map or
20316 minibuffer-local-filename-completion-map.
20317
20318 2011-07-01 Glenn Morris <rgm@gnu.org>
20319
20320 * type-break.el (type-break-time-sum): Use dolist.
20321
20322 * textmodes/flyspell.el (flyspell-word-search-backward):
20323 Replace CL function.
20324
20325 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20326
20327 * mouse.el (mouse--strip-first-event): New function.
20328 (function-key-map): Use it to map fringe clicks to normal clicks
20329 by default.
20330
20331 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20332 (vc-bzr-revision-completion-table): Add support for annotate and date.
20333
20334 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20335 inherit from parent.
20336
20337 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20338
20339 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20340 (dired-show-file-type): Doc fixup (bug#8818).
20341
20342 * dired.el (dired-mode): Fix up the doc string as suggested by
20343 Drew Adams (bug#8817).
20344
20345 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20346 cookie, since the manual says that it should be possible to add
20347 this function to `find-file-hook' (bug#8709).
20348
20349 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20350
20351 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20352 here. Noted Ted Zlatanov as the maintainer.
20353 (cfengine-common-settings, cfengine-common-syntax): New functions
20354 to set up common things between `cfengine-mode' and
20355 `cfengine3-mode'.
20356 (cfengine3-mode): New mode.
20357 (cfengine3-defuns cfengine3-defuns-regex
20358 (cfengine3-class-selector-regex cfengine3-category-regex)
20359 (cfengine3-vartypes cfengine3-font-lock-keywords)
20360 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20361 (cfengine3-indent-line): Add from cfengine3.el.
20362
20363 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20364
20365 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20366
20367 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20368
20369 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20370
20371 * window.el (same-window-buffer-names, same-window-regexps)
20372 (same-window-p, special-display-frame-alist)
20373 (special-display-popup-frame, special-display-function)
20374 (special-display-buffer-names, special-display-regexps)
20375 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20376 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20377 (split-window-preferred-function, split-height-threshold)
20378 (split-width-threshold, even-window-heights)
20379 (display-buffer-mark-dedicated, window-splittable-p)
20380 (split-window-sensibly, window-safely-shrinkable-p):
20381 Un-obsolete.
20382 (display-buffer): Don't spread args with function specifier
20383 because special-display-popup-frame won't like it.
20384
20385 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20386
20387 Time-stamp simplifications and fixes.
20388 These improve accuracy slightly, and future-proof the code
20389 against some potential changes to current-time format.
20390
20391 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20392 by using time-since and float-time.
20393
20394 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20395 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20396 + NNN microseconds".
20397
20398 * type-break.el (type-break-time-sum): Rewrite using time-add.
20399
20400 * play/hanoi.el (hanoi-current-time-float): Remove.
20401 All uses replaced by float-time.
20402
20403 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20404 This yields a more-accurate answer.
20405 (rng-time-to-float): Remove; no longer needed.
20406
20407 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20408
20409 * calendar/timeclock.el (timeclock-seconds-to-time):
20410 Defalias to seconds-to-time, since they're the same thing.
20411
20412 * emacs-lisp/elp.el (elp-elapsed-time):
20413 * emacs-lisp/benchmark.el (benchmark-elapse):
20414 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20415
20416 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20417
20418 * window.el (bury-buffer): Don't iconify the only frame.
20419 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20420 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20421
20422 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20423
20424 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20425 Add mouse-yank-primary.
20426
20427 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20428
20429 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20430
20431 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20432
20433 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20434 (find-library-name): Use it to find relative load names when provided
20435 absolute file name (bug#8803).
20436
20437 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20438
20439 * textmodes/flyspell.el (flyspell-word): Consider words that
20440 differ only in case as potential doublons (bug#5687).
20441
20442 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20443 Remove two rather uninteresting debugging-like messages to make
20444 debbugs.el more silent.
20445
20446 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20447 a password-like phrase.
20448
20449 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20450
20451 * progmodes/cc-guess.el: New file.
20452
20453 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20454
20455 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20456 derived from `c-basic-common-init'.
20457
20458 * progmodes/cc-mode.el (top-level): Require cc-guess.
20459 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20460
20461 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20462
20463 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20464
20465 2011-06-30 Alan Mackenzie <acm@muc.de>
20466
20467 * progmodes/cc-engine.el (c-guess-continued-construct):
20468 Correct the handling of template-args-cont, particularly for when font
20469 lock is disabled. Name this case as "CASE G".
20470
20471 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20472
20473 * allout.el (allout-yank-processing): Fix injection of extra space
20474 between bullet and non-whitespace character in first topic when
20475 pasting, ensuring that the actual spacing in the pasted topic
20476 following the bullet char is preserved. This extra space was
20477 causing pasted encrypted topics to get a decrypted status even
20478 when the content was actually still encrypted. Now the decryption
20479 status from before the paste is preserved.
20480
20481 (allout-flag-region): Set all allout overlays so they evaporate
20482 when reduced to zero length (evanescent), to prevent overlay
20483 leakage.
20484
20485 2011-06-30 Glenn Morris <rgm@gnu.org>
20486
20487 * w32-fns.el (w32-charset-info-alist): Declare.
20488
20489 * find-dired.el (find-grep-options): Simplify.
20490
20491 * term/ns-win.el (ns-set-resource): Declare.
20492
20493 * ses.el (row, col): Declare dynamic variables honestly.
20494
20495 * textmodes/reftex-parse.el (index-tags): Declare.
20496
20497 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20498
20499 * cus-edit.el (customize-push-and-save): New function.
20500
20501 * files.el (hack-local-variables-confirm): Use it.
20502
20503 * custom.el (load-theme): New arg NO-CONFIRM.
20504 Use customize-push-and-save (Bug#8720).
20505 (custom-enabled-themes): Doc fix.
20506
20507 * cus-theme.el (customize-create-theme)
20508 (custom-theme-merge-theme): Callers to load-theme changed.
20509
20510 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20511
20512 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20513 short URLs have at least one dot in them (bug #7614).
20514
20515 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20516 nil, because using a pty is apparently too slow (bug #895).
20517
20518 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20519
20520 * mail/sendmail.el (sendmail-query-once): New function.
20521 (sendmail-query-once-function): New variable.
20522
20523 2011-06-29 Glenn Morris <rgm@gnu.org>
20524
20525 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20526
20527 * ses.el (top-level): Require cl when compiling.
20528 (ses-set-localvars): Fix error statement.
20529 Call it at compile time to silence a storm of warnings.
20530
20531 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20532
20533 * window.el (normalize-live-buffer): Rename to
20534 window-normalize-buffer.
20535 (normalize-live-frame): Rename to window-normalize-frame.
20536 (normalize-any-window): Rename to window-normalize-any-window.
20537 (normalize-live-window): Rename to window-normalize-live-window.
20538 (make-window-atom): Rename to window-make-atom.
20539 (window-resize-reset): Rename to window--resize-reset.
20540 (window-resize-reset-1): Rename to window--resize-reset-1.
20541 (resize-mini-window): Rename to window--resize-mini-window.
20542 (resize-subwindows-skip-p): Rename to
20543 window--resize-subwindows-skip-p.
20544 (resize-subwindows-normal): Rename to
20545 window--resize-subwindows-normal.
20546 (resize-subwindows): Rename to window--resize-subwindows.
20547 (resize-other-windows): Rename to window--resize-siblings.
20548 (resize-this-window): Rename to window--resize-this-window.
20549 (resize-root-window): Rename to window--resize-root-window.
20550 (resize-root-window-vertically): Rename to
20551 window--resize-root-window-vertically.
20552 (normalize-buffer-to-display): Rename to
20553 window-normalize-buffer-to-display.
20554 (normalize-buffer-to-switch-to): Rename to
20555 window-normalize-buffer-to-switch-to.
20556 Correspondingly update all callers of the functions listed
20557 above.
20558 (display-buffer-alist, display-buffer-normalize-arguments)
20559 (display-buffer-normalize-options, display-buffer)
20560 (display-buffer-alist-set): Use "function" instead of
20561 "fun-with-args".
20562
20563 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20564
20565 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20566 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20567 debbugs.gnu.org. Mention acknowledgment email.
20568
20569 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20570
20571 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20572 buffer multibyteness, since it shouldn't matter.
20573
20574 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20575
20576 * window.el (display-buffer-in-side-window): Handle dedicated
20577 windows as in display-buffer-reuse-window.
20578 (display-buffer-normalize-alist): Use value of override
20579 specifier.
20580 (display-buffer-normalize-specifiers): Use value of
20581 other-window-means-other-frame specifier.
20582 (display-buffer-alist): Rewrite some texts in widgets.
20583 (display-buffer): Spread arguments when calling function
20584 specified by fun-with-args.
20585
20586 2011-06-28 Deniz Dogan <deniz@dogan.se>
20587
20588 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20589 Unnest `let'.
20590
20591 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20592 selectors (Bug#5732).
20593 (css-proprietary-nmstart-re): Use `regexp-opt'.
20594
20595 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20596
20597 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20598 (eshell-ls-date-format): New defcustom.
20599 (eshell-ls-file): Use it.
20600
20601 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20602
20603 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20604
20605 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20606
20607 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20608 (ange-ftp-make-tmp-name): New arg.
20609 (ange-ftp-file-local-copy): Use it.
20610
20611 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20612
20613 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20614 no-conversion (Bug#8870).
20615
20616 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20617
20618 * window.el (window-right, window-left, window-child)
20619 (window-child-count, window-last-child)
20620 (window-iso-combination-p, walk-window-tree-1)
20621 (window-atom-check-1, window-tree-1, delete-window)
20622 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20623 new naming conventions - window-vchild, window-hchild,
20624 window-next and window-prev are now called window-top-child,
20625 window-left-child, window-next-sibling and window-prev-sibling
20626 respectively.
20627 (resize-window-reset): Rename to window-resize-reset.
20628 (resize-window-reset-1): Rename to window-resize-reset-1.
20629 (resize-window): Rename to window-resize.
20630 (window-min-height, window-min-width)
20631 (resize-mini-window, resize-this-window, resize-root-window)
20632 (resize-root-window-vertically, adjust-window-trailing-edge)
20633 (enlarge-window, shrink-window, maximize-window)
20634 (minimize-window, delete-window, quit-restore-window)
20635 (split-window, balance-windows, balance-windows-area-adjust)
20636 (balance-windows-area, window-state-put-2)
20637 (display-buffer-even-window-sizes, display-buffer-set-height)
20638 (display-buffer-set-width, set-window-text-height)
20639 (fit-window-to-buffer): Rename all "resize-window" prefixed
20640 calls to use the "window-resize" prefix convention.
20641 (display-buffer-alist): Fix symbol for label specifier.
20642 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20643 corresponding specifier.
20644 Reported by Juanma Barranquero <lekktu@gmail.com>.
20645
20646 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20647
20648 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20649 convention.
20650 (ses-call-printer): Does not pass an empty string to formatter when the
20651 cell is empty to keep from barking printer Calc math-format-value.
20652
20653 2011-06-27 Richard Stallman <rms@gnu.org>
20654
20655 * battery.el (battery-mode-line-limit): New variable.
20656 (battery-update): Handle it.
20657
20658 * mail/rmailmm.el (rmail-mime-process-multipart):
20659 Handle truncated messages.
20660
20661 2011-06-27 Glenn Morris <rgm@gnu.org>
20662
20663 * progmodes/flymake.el (flymake-err-line-patterns):
20664 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20665
20666 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20667
20668 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20669 (ses--clean-!, ses--clean-_): New functions.
20670 (ses-range): Add configurability of readout order, and conversion
20671 to Calc vector.
20672
20673 * ses.el (ses-repair-cell-reference-all): New function.
20674 (ses-cell-symbol): Set macro as safe, so that it can be used in
20675 formulas.
20676
20677 * ses.el: Update cycle detection algorithm.
20678 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20679 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20680 (ses-set-localvars): New function.
20681 (ses-make-cell): Add property-list as a cell element.
20682 (ses-cell-property-get-fun, ses-cell-property-get)
20683 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20684 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20685 New functions.
20686 (ses-cell-property-set, ses-cell-property-pop)
20687 (ses-cell-property-get-handle): New macro.
20688 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20689 New aliases, used for code readability.
20690 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20691 cycle detection.
20692 (ses-self-reference-early-detection): New defcustom.
20693 (ses-formula-references): Robustify against self-referring cells.
20694 (ses-mode): Use ses-set-localvars.
20695 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20696 before lauching the update processing.
20697 (ses-initialize-Dijkstra-attempt): New function.
20698 (ses-recalculate-cell): Update for cycle detection based on
20699 Dijkstra algorithm.
20700
20701 * ses.el: Fix commenting and indenting convention.
20702
20703 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20704
20705 * bs.el (bs-cycle-next): Complete last change.
20706
20707 2011-06-27 Drew Adams <drew.adams@oracle.com>
20708
20709 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20710
20711 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20712
20713 * net/network-stream.el (network-stream-open-starttls):
20714 Don't re-get capabilities unless we've reestablished connection.
20715 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20716
20717 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20718 to binary to possibly avoid line encoding issues on Windows (among
20719 other things).
20720
20721 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20722
20723 * net/network-stream.el (open-network-stream): Return an :error
20724 saying what the problem was, if possible.
20725
20726 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20727 server.
20728
20729 * net/network-stream.el (network-stream-open-starttls): If we
20730 wanted to use STARTTLS, and the server offered it, but we weren't
20731 able to because we had no STARTTLS support, then close the connection.
20732 (open-network-stream): Return an :error element, if present.
20733
20734 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20735
20736 * hl-line.el (hl-line-sticky-flag): Doc fix.
20737 (global-hl-line-sticky-flag): New option (Bug#8323).
20738 (global-hl-line-highlight): Obey it.
20739
20740 * vc/vc.el (vc-revert-show-diff): Default to t.
20741
20742 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20743
20744 * allout-widgets.el (allout-widgets-post-command-business):
20745 Stop decorating intermediate isearch matches. They're not being
20746 undecorated when an isearch is continued past, and isearch
20747 automatically collapses them. This leads to "widget leaks", where
20748 decorated items accumulate in collapsed areas. Lines with lots of
20749 hidden widgets can slow down cursor travel, substantially.
20750 Too much complicated machinery would be needed to ensure undecoration,
20751 so we're doing without this nicety.
20752
20753 (allout-widgets-tally-string): Don't try to do a hash-table-count
20754 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20755 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20756 *Messages* when allout-widgets-maintain-tally is t.
20757
20758 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20759
20760 * window.el (display-buffer-normalize-argument): Rename to
20761 display-buffer-normalize-arguments. Handle special meaning of
20762 LABEL argument. Respect special-display-function when popping up
20763 a new frame. Fix code searching for a window showing the buffer
20764 on another frame.
20765 (display-buffer-normalize-specifiers):
20766 Call display-buffer-normalize-arguments.
20767 (display-buffer-in-window): Don't undedicate the window if its
20768 buffer remains the same.
20769 Reported by Drew Adams <drew.adams@oracle.com>.
20770 (display-buffer-alist): Add choice for same-window macro
20771 specfier.
20772 (display-buffer): Mention special meaning of LABEL argument in
20773 doc-string. Fix quoting. Don't pop up a new frame even as
20774 fallback.
20775
20776 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20777
20778 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20779 avoid deleting the current window in some cases (bug#8911).
20780
20781 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20782
20783 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20784 (Bug#8934)
20785
20786 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20787
20788 * net/network-stream.el (network-stream-open-starttls):
20789 Use built-in TLS support if `gnutls-available-p' is true.
20790 (network-stream-open-tls): Ditto.
20791
20792 2011-06-26 Leo Liu <sdl.web@gmail.com>
20793
20794 * register.el (registerv): New struct.
20795 (registerv-make): New function.
20796 (jump-to-register, describe-register-1, insert-register):
20797 Support the jump-func, print-func and insert-func slot of a registerv
20798 struct. (Bug#8415)
20799
20800 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20801
20802 * vc/vc.el (vc-revert-show-diff): New defcustom.
20803 (vc-diff-internal): New arg specifying diff buffer.
20804 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20805 reuse an existing *vc-diff* buffer (Bug#8927).
20806
20807 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20808
20809 2011-06-26 Glenn Morris <rgm@gnu.org>
20810
20811 * progmodes/f90.el (f90-critical-indent): New option.
20812 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20813 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20814 (f90-mode): Doc fix.
20815 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20816 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20817 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20818 (f90-match-end): Handle block, critical.
20819
20820 2011-06-25 Glenn Morris <rgm@gnu.org>
20821
20822 * calendar/diary-lib.el (diary-included-files): Doc fix.
20823 (diary-include-files): New function, extracted from
20824 diary-include-other-diary-files and diary-mark-included-diary-files.
20825 (diary-include-other-diary-files, diary-mark-included-diary-files):
20826 Just call diary-include-files.
20827 (diary-mark-entries): Reset diary-included-files on first call.
20828
20829 * calendar/diary-lib.el (diary-mark-entries)
20830 (diary-mark-included-diary-files):
20831 Visit included diary-files in temp buffers.
20832
20833 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20834 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20835 (f90-start-block-re, f90-imenu-generic-expression)
20836 (f90-looking-at-program-block-start, f90-no-block-limit):
20837 Add support for submodules.
20838
20839 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20840 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20841
20842 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20843
20844 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20845 buffer-file-type before setting its value, to avoid disastrous
20846 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20847
20848 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20849
20850 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20851
20852 * ses.el (ses-unload-function):
20853 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20854
20855 * proced.el (proced-unload-function):
20856 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20857
20858 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20859
20860 * server.el (server-create-window-system-frame): Add parameters arg.
20861 (server-process-filter): Doc fix. Handle frame-parameters.
20862
20863 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20864
20865 Fix bug#8730, bug#8781.
20866
20867 * loadhist.el (unload--set-major-mode): New function.
20868 (unload-feature): Use it.
20869
20870 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20871 (python-unload-function): New function.
20872
20873 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20874
20875 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20876
20877 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20878
20879 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20880 the candidates list.
20881
20882 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20883
20884 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20885
20886 2011-06-23 Richard Stallman <rms@gnu.org>
20887
20888 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20889 (rmail-variables): Set next-error-move-function.
20890 (rmail-what-message): Take argument POS.
20891 (rmail-next-error-move): New function.
20892
20893 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20894
20895 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20896 messages for adjacent non-terminals.
20897
20898 2011-06-23 Richard Stallman <rms@gnu.org>
20899
20900 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20901 (rmail-show-message-1): Preserve buffer modified flag.
20902 (rmail-start-mail): Don't specify use of rmail-mail-return;
20903 that's done by mail-bury now.
20904 (rmail-mail-return): Handle arg NEWBUF.
20905
20906 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20907
20908 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20909 SIZE is a number.
20910
20911 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20912
20913 * window.el (get-lru-window, get-mru-window)
20914 (get-largest-window): Never return a minibuffer window.
20915 (display-buffer-pop-up-window): Fix a bug that could lead to
20916 reusing the minibuffer window.
20917 (display-buffer): Pass original specifier argument to
20918 display-buffer-function instead of the normalized one.
20919 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20920
20921 2011-06-22 Leo Liu <sdl.web@gmail.com>
20922
20923 * minibuffer.el (completing-read-function)
20924 (completing-read-default): Move from minibuf.c.
20925
20926 2011-06-22 Richard Stallman <rms@gnu.org>
20927
20928 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20929 to Rmail even if not started by a special Rmail command.
20930
20931 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20932 Copy the buffer currently showing just one message.
20933
20934 2011-06-22 Roland Winkler <winkler@gnu.org>
20935
20936 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20937 (bibtex-clean-entry): First delete the old key so that a
20938 customized algorithm for generating the new key does not get
20939 confused by the old key.
20940 (bibtex-url): Obey regexp of first step.
20941 (bibtex-search-entries): Do not use add-to-list with local
20942 list-var.
20943
20944 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20945
20946 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20947 stored a user name, then query for the password first, instead of
20948 waiting for SMTP to give an error message and the trying again.
20949
20950 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20951
20952 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20953 BUFFER in call-process.
20954
20955 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20956
20957 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20958 QUIT twice.
20959 (smtpmail-try-auth-methods): Require user name and password from
20960 auth-source.
20961
20962 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20963
20964 * window.el (display-buffer-default-specifiers)
20965 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20966 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20967 (split-window): Normalize SIDE argument (Bug#8916).
20968
20969 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20970 (special-display-frame-alist, special-display-popup-frame):
20971 Remove duplicate declarations. These are now in window.el.
20972
20973 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20974
20975 * mail/smtpmail.el (smtpmail-via-smtp):
20976 Set :use-starttls-if-possible so that we always use STARTTLS if the
20977 server supports it. SMTP servers that support STARTTLS commonly
20978 require it.
20979
20980 * net/network-stream.el (network-stream-open-starttls): Support
20981 upgrading to STARTTLS always, even if we don't have built-in support.
20982 (open-network-stream): Add the :always-query-capabilities keyword.
20983
20984 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20985 upgrades with `open-network-stream', and rely solely on
20986 auth-source for all credentials. Big changes throughout the file,
20987 but in particular:
20988 (smtpmail-auth-credentials): Remove.
20989 (smtpmail-starttls-credentials): Remove.
20990 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20991 MAIL FROM, too.
20992
20993 * net/network-stream.el (network-stream-open-starttls):
20994 Provide support for client certificates both for external and built-in
20995 STARTTLS.
20996 (auth-source): Require.
20997 (open-network-stream): Document the :client-certificate keyword.
20998 (network-stream-certificate): Change cert-cert to cert and
20999 cert-key to key.
21000
21001 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21002
21003 * net/tramp-cache.el (top): Don't load the persistency file when
21004 "emacs -Q" has been called.
21005
21006 2011-06-21 Tim Harper <timcharper@gmail.com>
21007
21008 * term/ns-win.el (ns-initialize-window-system):
21009 Set application-specific `ApplePressAndHoldEnabled' system
21010 resource to NO as it is not yet supported by the NS port.
21011
21012 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21013
21014 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21015 (list-dynamic-libraries): ...not here.
21016
21017 2011-06-21 Leo Liu <sdl.web@gmail.com>
21018
21019 * subr.el (sha1): Implement sha1 using secure-hash.
21020
21021 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21022
21023 * window.el (display-buffer-alist): In default value do not
21024 enforce searching a window on any but the selected frame.
21025 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21026 (display-buffer-select-window): Remove function.
21027 (display-buffer-in-window): When a window on another frame gets
21028 reused, do not select it any more but just raise its frame if
21029 necessary (Bug#8851) and (Bug#8856).
21030 (display-buffer-normalize-options): Handle pop-up-frames related
21031 options more faithfully.
21032 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21033 window if it is on another frame.
21034 (display-buffer-alist, display-buffer-default-specifiers):
21035 Don't make new frame unsplittable by default.
21036 (display-buffer-normalize-argument): Fix doc-string typo and use
21037 'same-frame-other-window instead of 'other-window when associating
21038 with display-buffer-macro-specifiers.
21039
21040 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21041
21042 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21043 New functions.
21044 (5x5-mode-map, 5x5-mode-menu): Bind them.
21045 (5x5-draw-grid): Tweak the solver's rendering.
21046
21047 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21048
21049 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21050 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21051
21052 2011-06-21 Drew Adams <drew.adams@oracle.com>
21053
21054 * menu-bar.el: Use function variable instead of switch-to-buffer.
21055 (menu-bar-select-buffer-function): New variable.
21056 (menu-bar-update-buffers): Use it (bug#8876).
21057
21058 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21059
21060 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21061 variable's status.
21062
21063 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21064
21065 * x-dnd.el (x-dnd-version-from-flags)
21066 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21067 and long as number (Bug#8899).
21068 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21069
21070 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21071
21072 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21073 (completion-try-completion, completion-all-completions): Compute the
21074 metadata argument if it's missing; make it optional (bug#8795).
21075
21076 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21077 (widget-complete): Use new :completion-function property.
21078 (widget-completions-at-point): New function.
21079 (default): Use :completion-function instead of :complete.
21080 (widget-default-completions): Rename from widget-default-complete;
21081 Rewrite.
21082 (widget-string-complete, widget-file-complete, widget-color-complete):
21083 Remove functions.
21084 (file, symbol, function, variable, coding-system, color):
21085 * international/mule-cmds.el (default-input-method, charset)
21086 (language-info-custom-alist):
21087 * cus-edit.el (face): Use new property :completions.
21088
21089 * progmodes/pascal.el (pascal-completions-at-point): New function.
21090 (pascal-mode): Use it.
21091 (pascal-mode-map): Use completion-at-point.
21092 (pascal-toggle-completions): Make obsolete.
21093 (pascal-complete-word, pascal-show-completions):
21094 * progmodes/octave-mod.el (octave-complete-symbol):
21095 Redefine as obsolete alias.
21096 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21097 Signal absence of completion info for old Octave,
21098 (inferior-octave-complete): Redefine as obsolete alias.
21099 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21100 (meta-completions-at-point): Rename from meta-complete-symbol and
21101 adapt it for use on completion-at-point-functions.
21102 (meta-common-mode): Use it.
21103 (meta-looking-at-backward, meta-match-buffer): Remove.
21104 (meta-complete-symbol): Redefine as obsolete alias.
21105 (meta-common-mode-map): Use completion-at-point.
21106 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21107 (makefile-mode-map): Use completion-at-point.
21108 (makefile-completions-at-point): Rename from makefile-complete and
21109 adapt it for use on completion-at-point-functions.
21110 (makefile-mode): Use it.
21111 (makefile-complete): Redefine as obsolete alias.
21112
21113 2011-06-20 Deniz Dogan <deniz@dogan.se>
21114
21115 * net/rcirc.el: Delete trailing whitespaces once and for all.
21116
21117 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21118
21119 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21120
21121 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21122
21123 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21124
21125 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21126
21127 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21128
21129 * window.el (display-buffer-other-window-means-other-frame):
21130 Call display-buffer-normalize-alist.
21131 (display-buffer-normalize-specifiers-1): Rename to
21132 display-buffer-normalize-argument. New argument other-frame.
21133 Rewrite.
21134 (display-buffer-normalize-specifiers-2): Rename to
21135 display-buffer-normalize-options.
21136 (display-buffer-normalize-alist-1): New function.
21137 (display-buffer-normalize-specifiers-3): Rename to
21138 display-buffer-normalize-alist.
21139 Call display-buffer-normalize-alist-1.
21140 (display-buffer-normalize-options-inhibit): New variable.
21141 (display-buffer-normalize-specifiers): Rewrite calling
21142 display-buffer-normalize-alist,
21143 display-buffer-normalize-argument, and
21144 display-buffer-normalize-options. Don't call the latter if
21145 display-buffer-normalize-options-inhibit is non-nil.
21146 (frame-auto-delete): New option.
21147 (window-deletable-p): Use frame-auto-delete.
21148 (window-list-no-nils, window-state-ignored-parameters)
21149 (window-state-get-1, window-state-get, window-state-put-list)
21150 (window-state-put-1, window-state-put-2, window-state-put):
21151 New functions.
21152 (display-buffer-normalize-options): Move special-display-p group
21153 after pop-up-frame group (Bug#8851) and (Bug#8856).
21154
21155 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21156
21157 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21158 groups (Bug#8776).
21159 (rx-submatch-n): New function.
21160 (rx): Document it.
21161
21162 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21163 (Bug#8768).
21164
21165 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21166
21167 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21168
21169 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21170 anytime existing face settings are present (Bug#8889).
21171
21172 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21173 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21174 Remove unused argument.
21175
21176 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21177
21178 * window.el (display-buffer-default-specifiers):
21179 Remove pop-up-frame. Add pop-up-window-min-height,
21180 pop-up-window-min-width, and another reuse-window specifier
21181 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21182 (display-buffer-normalize-specifiers-2):
21183 Handle split-height-threshold and split-width-threshold also when
21184 pop-up-windows is unset. Add a reuse-window specifier for the
21185 case popping up a new window fails.
21186 (special-display-popup-frame): Remove double quoting.
21187 (display-buffer-normalize-specifiers-1): Fix thinko.
21188
21189 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21190
21191 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21192 according to comint-completion-addsuffix.
21193
21194 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21195 (pcomplete-suffix-list): Mark as obsolete.
21196 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21197 pcomplete-seen in the closure.
21198 (pcomplete-comint-setup): Setup completion-at-point as well.
21199 (pcomplete--entries): New function.
21200 (pcomplete--env-regexp): New var.
21201 (pcomplete-entries): Rewrite to work with partial-completion and
21202 without relying on pcomplete-suffix-list.
21203 (pcomplete-pare-list): Remove, unused.
21204
21205 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21206
21207 * window.el (display-buffer-alist): Set pop-up-window-min-height
21208 and pop-up-window-min-width in default value. Reported by
21209 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21210 other-window-means-other-frame.
21211 (display-buffer-macro-specifiers): Comment out entry for
21212 other-window specifier.
21213 (display-buffer-other-window-means-other-frame): New function.
21214 (display-buffer-normalize-specifiers-1): New arguments
21215 buffer-name and label. Treat other-window case specially.
21216 (display-buffer-normalize-specifiers-2): Treat other-window case
21217 specially.
21218 (display-buffer-normalize-specifiers-3): New function.
21219 (display-buffer-normalize-specifiers):
21220 Call display-buffer-normalize-specifiers-3.
21221
21222 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21223
21224 * window.el (same-window-p): Fix two typos introduced when
21225 adding with-no-warnings.
21226 (display-buffer-normalize-specifiers-1): Don't check
21227 pop-up-frames for 'unset initialization.
21228 (display-buffer-normalize-specifiers-2): Major rewrite using
21229 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21230 (pop-up-frames, display-buffer-reuse-frames)
21231 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21232 Suggested by David Engster <deng@randomsample.de>.
21233 (even-window-heights): Initialize to 'unset.
21234 (display-buffer-alist-set): Handle new 'unset initializations.
21235 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21236 other window case.
21237
21238 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21239
21240 * window.el (display-buffer-normalize-specifiers-1):
21241 Respect current value of pop-up-frames for most reasonable values of
21242 second argument of display-buffer (Bug#8865).
21243 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21244 (switch-to-buffer-other-window-same-frame)
21245 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21246 Adams (Bug#8875).
21247 (display-buffer): Don't check noninteractive when calling
21248 display-buffer-pop-up-frame.
21249 (display-buffer-pop-up-frame): Never pop up a frame in
21250 noninteractive mode (Bug#8857).
21251 (enlarge-window, shrink-window): Don't report an error when the
21252 window can't be resized as requested (Bug#8862).
21253
21254 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21255
21256 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21257
21258 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21259
21260 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21261
21262 2011-06-15 Alan Mackenzie <acm@muc.de>
21263
21264 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21265 for declarators, disable knr checking to speed up for normal files.
21266 2: Refactor, replacing a sequence of nested if forms by a cond form.
21267
21268 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21269
21270 * net/network-stream.el (open-network-stream): Add the keyword
21271 :always-query-capabilities for the case where you want to force a
21272 `plain' network connection, but the protocol still requires the
21273 capabilitiy command (i.e., SMTP and EHLO).
21274
21275 * subr.el (process-live-p): Rename from `process-alive-p' for
21276 consistency with other `-live-p' functions.
21277
21278 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21279
21280 * window.el (same-window-buffer-names, same-window-regexps)
21281 (special-display-frame-alist, special-display-popup-frame)
21282 (special-display-function, special-display-buffer-names)
21283 (special-display-regexps, pop-up-frame-alist)
21284 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21285 (pop-up-windows, split-window-preferred-function)
21286 (split-height-threshold, split-width-threshold, even-window-heights)
21287 (display-buffer-mark-dedicated): Don't encourage the use of
21288 display-buffer-alist from Elisp code.
21289
21290 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21291
21292 * progmodes/python.el (python-mode): Derive from prog-mode.
21293 * progmodes/ps-mode.el (ps-mode):
21294 * progmodes/mixal-mode.el (mixal-mode):
21295 * progmodes/cfengine.el (cfengine-mode):
21296 * progmodes/ld-script.el (ld-script-mode): Likewise.
21297
21298 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21299
21300 * window.el (display-buffer-alist): Trim default value to avoid
21301 popping up a new frame (Bug#8857) or reusing an arbitrary window
21302 on another frame.
21303 (display-buffer): Do not fall back on popping up a new frame in
21304 batch mode (Bug#8857).
21305
21306 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21307
21308 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21309 (custom-theme-summary): New function.
21310 (customize-themes): Use it.
21311
21312 2011-06-13 Glenn Morris <rgm@gnu.org>
21313
21314 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21315
21316 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21317
21318 * help.el (help-window): Remove variable.
21319 (help-window-point-marker, temp-buffer-max-height)
21320 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21321 (help-print-return-message): Don't set help-window.
21322 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21323 (help-window-setup-finish): Remove.
21324 (help-window-display-message, help-window-setup)
21325 (with-help-window): Major rewrite based on new
21326 display-buffer-window variable.
21327
21328 * help-mode.el (help-mode-finish): Remove help-window related
21329 code.
21330
21331 * view.el (view-exits-all-viewing-windows): Remove reference to
21332 view-return-to-alist in doc-string.
21333 (view-return-to-alist): Make obsolete.
21334 (view-buffer): Call pop-to-buffer-same-window and remove
21335 undo-window code.
21336 (view-buffer-other-window): Call pop-to-buffer-other-window and
21337 simplify code. Ignore second argument.
21338 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21339 simplify code. Ignore second argument.
21340 (view-return-to-alist-update): Make obsolete.
21341 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21342 Rewrite using quit-restore window parameters.
21343 (view-mode-exit): Rename second argument to EXIT-ONLY.
21344 Rewrite using quit-restore-window.
21345 (View-exit, View-exit-and-edit, View-leave, View-quit)
21346 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21347 appropriate arguments.
21348 (view-end-message): Use quit-restore window parameter.
21349
21350 * window.el (display-buffer-function): Rewrite doc-string.
21351 (display-buffer-window, display-buffer-alist): New variables.
21352 (display-buffer-split-specifiers)
21353 (display-buffer-side-specifiers)
21354 (display-buffer-macro-specifiers): New constants.
21355 (display-buffer-even-window-sizes, display-buffer-set-height)
21356 (display-buffer-set-width, display-buffer-select-window)
21357 (display-buffer-in-window, display-buffer-reuse-window)
21358 (display-buffer-split-window-1, display-buffer-split-window)
21359 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21360 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21361 (display-buffer-in-side-window, normalize-buffer-to-display)
21362 (display-buffer-normalize-specifiers-1)
21363 (display-buffer-normalize-specifiers-2)
21364 (display-buffer-normalize-specifiers, display-buffer-frame):
21365 New functions.
21366 (display-buffer): Major rewrite.
21367 (display-buffer-other-window, display-buffer-other-frame)
21368 (pop-to-buffer, switch-to-buffer-other-window)
21369 (switch-to-buffer-other-frame): Rewrite.
21370 (display-buffer-same-window, display-buffer-same-frame)
21371 (display-buffer-same-frame-other-window)
21372 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21373 (pop-to-buffer-other-window)
21374 (pop-to-buffer-same-frame-other-window)
21375 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21376 (switch-to-buffer-other-window-same-frame): New functions.
21377 (same-window-p, special-display-p): Rewrite disabling warnings.
21378 Make obsolete.
21379 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21380 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21381 Make obsolete
21382 (same-window-buffer-names, same-window-regexps)
21383 (special-display-frame-alist, special-display-popup-frame)
21384 (special-display-function, special-display-buffer-names)
21385 (special-display-regexps, pop-up-frame-alist)
21386 (pop-up-frame-function, split-window-preferred-function)
21387 (split-height-threshold, split-width-threshold)
21388 (even-window-heights): Make obsolete.
21389
21390 2011-06-12 Glenn Morris <rgm@gnu.org>
21391
21392 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21393 Misc simplifications.
21394
21395 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21396
21397 * window.el (window-safely-shrinkable-p): Restore function which
21398 was inadvertently removed in change from 2011-06-11. Declare as
21399 obsolete.
21400
21401 * calendar/calendar.el (calendar-generate-window):
21402 Use window-iso-combined-p instead of combination of one-window-p and
21403 window-safely-shrinkable-p.
21404
21405 2011-06-12 Glenn Morris <rgm@gnu.org>
21406
21407 * progmodes/fortran.el (fortran-mode-syntax-table):
21408 * progmodes/f90.el (f90-mode-syntax-table):
21409 Set % to punctuation. (Bug#8820)
21410 (f90-find-tag-default): Remove, no longer needed.
21411
21412 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21413
21414 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21415
21416 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21417
21418 * image.el (image-animated-p): Return animation delay in seconds.
21419 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21420 (image-animate-timeout): Remove DELAY argument. Don't assume
21421 every subimage has the same delay; get it from image-animated-p.
21422 (image-animate): Caller changed.
21423
21424 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21425
21426 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21427 to ignored backtrace functions.
21428
21429 2011-06-11 Glenn Morris <rgm@gnu.org>
21430
21431 * calendar/appt.el (appt-disp-window-function): Doc fix.
21432 (appt-check): Handle overlapping appointments. (Bug#8337)
21433
21434 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21435
21436 * window.el (window-tree-1, window-tree): New functions, moving
21437 the latter to window.el.
21438 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21439 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21440 (bw-refresh-edges): Remove.
21441 (balance-windows-1, balance-windows-2): New functions.
21442 (balance-windows): Rewrite in terms of window tree functions,
21443 balance-windows-1 and balance-windows-2.
21444 (bw-adjust-window): Remove.
21445 (balance-windows-area-adjust): New function with functionality of
21446 bw-adjust-window but using resize-window.
21447 (set-window-text-height): Rewrite doc-string.
21448 Use normalize-live-window and resize-window.
21449 (enlarge-window-horizontally, shrink-window-horizontally):
21450 Rename argument to DELTA.
21451 (window-buffer-height): New function.
21452 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21453 Rewrite using new window resize routines.
21454 (kill-buffer-and-window, mouse-autoselect-window-select):
21455 Use ignore-errors instead of condition-case.
21456 (quit-window): Call delete-frame instead of delete-windows-on
21457 for the only buffer on frame.
21458
21459 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21460
21461 * loadup.el (top-level): Load window before files for the sake
21462 of replace-buffer-in-windows.
21463
21464 * files.el (read-buffer-to-switch)
21465 (switch-to-buffer-other-window)
21466 (switch-to-buffer-other-frame, display-buffer-other-frame):
21467 Move to window.el.
21468
21469 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21470 (previous-buffer): Move to window.el.
21471
21472 * bindings.el (unbury-buffer): Move to window.el.
21473
21474 * window.el (delete-other-windows-vertically): Move after
21475 definition of delete-other-windows.
21476 (other-window, delete-windows-on, replace-buffer-in-windows):
21477 Move here from window.c.
21478 (record-window-buffer, unrecord-window-buffer)
21479 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21480 (switch-to-next-buffer): New functions.
21481 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21482 from simple.el. Call switch-to-next-buffer.
21483 (previous-buffer): Move here from simple.el.
21484 Call switch-to-prev-buffer.
21485 (bury-buffer): Move here from buffer.c. Switch to previous
21486 buffer when window cannot be deleted.
21487 (unbury-buffer): Move here from bindings.el.
21488 (ctl-x-map): Move binding for other-window from window.c to
21489 here.
21490 (read-buffer-to-switch, switch-to-buffer-other-window)
21491 (switch-to-buffer-other-frame): Move here from files.el.
21492 (normalize-buffer-to-switch-to): New functions.
21493 (switch-to-buffer): Move here from buffer.c.
21494 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21495
21496 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21497
21498 * window.el (window-min-height, window-min-width): Move here
21499 from window.c. Add defcustoms and rewrite doc-strings.
21500 (resize-mini-window, resize-window): New functions.
21501 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21502 Move here from window.c.
21503 (maximize-window, minimize-window): New functions.
21504 (delete-window, delete-other-windows, split-window): Move here
21505 from window.c.
21506 (window-split-min-size): New function.
21507 (split-window-keep-point): Mention split-window-above-each-other
21508 instead of split-window-vertically.
21509 (split-window-above-each-other, split-window-vertically):
21510 Rename split-window-vertically to split-window-above-each-other
21511 and provide defalias for old definition.
21512 (split-window-side-by-side, split-window-horizontally):
21513 Rename split-window-horizontally to split-window-side-by-side
21514 and provide defalias for the old definition.
21515 (ctl-x-map): Move bindings for delete-window,
21516 delete-other-windows and enlarge-window here from window.c.
21517 Replace bindings for split-window-vertically and
21518 split-window-horizontally by bindings for
21519 split-window-above-each-other and split-window-side-by-side.
21520
21521 * cus-start.el (all): Remove entries for window-min-height and
21522 window-min-width. Add entries for window-splits and
21523 window-nest.
21524
21525 2011-06-09 Glenn Morris <rgm@gnu.org>
21526
21527 * calendar/appt.el (appt-mode-line): New function.
21528 (appt-check, appt-disp-window): Use it.
21529
21530 * files.el (hack-one-local-variable-eval-safep):
21531 Allow minor-modes with explicit +/-1 arguments.
21532
21533 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21534
21535 * term/xterm.el (xterm): Add defgroup.
21536 (xterm-extra-capabilities): Add defcustom to supply known xterm
21537 capabilities, skip querying them, or query them (default).
21538 (terminal-init-xterm): Use it.
21539 (terminal-init-xterm-modify-other-keys): New function to set up
21540 modifyOtherKeys support to simplify `terminal-init-xterm'.
21541
21542 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21543
21544 * window.el (resize-window-reset, resize-window-reset-1)
21545 (resize-subwindows-skip-p, resize-subwindows-normal)
21546 (resize-subwindows, resize-other-windows, resize-this-window)
21547 (resize-root-window, resize-root-window-vertically)
21548 (window-deletable-p, window-or-subwindow-p)
21549 (frame-root-window-p): New functions.
21550
21551 2011-06-09 Glenn Morris <rgm@gnu.org>
21552
21553 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21554 (ange-ftp-get-files): Use it.
21555
21556 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21557
21558 * mail/sendmail.el (mail-recover-1, mail-recover):
21559 * files.el (recover-file, recover-session):
21560 Handle dired-listing-switches not being just a single short option.
21561
21562 2011-06-09 Glenn Morris <rgm@gnu.org>
21563
21564 * calendar/appt.el (appt-display-message, appt-disp-window):
21565 Handle lists of appointments.
21566
21567 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21568
21569 * window.el (one-window-p): Move down in code.
21570 Rewrite doc-string.
21571 (window-current-scroll-bars): Rewrite doc-string.
21572 Normalize live window argument.
21573 (walk-windows, get-window-with-predicate, count-windows):
21574 Rewrite doc-string. Use window-list-1.
21575 (window-in-direction-2, window-in-direction, get-mru-window):
21576 New functions.
21577
21578 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21579
21580 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21581 Doc fix (Bug#8713).
21582
21583 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21584
21585 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21586
21587 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21588
21589 * loadhist.el (unload-feature-special-hooks):
21590 Add `comint-output-filter-functions'.
21591
21592 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21593
21594 * calendar/appt.el (appt-check): Move some initializations into the let.
21595
21596 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21597
21598 * window.el (window-height): Defalias to window-total-height.
21599 (window-width): Defalias to window-body-width.
21600
21601 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21602
21603 * image-mode.el (image-toggle-animation): New command.
21604 (image-mode-map): Bind it to RET.
21605 (image-mode): Update message.
21606 (image-toggle-display-image): Avoid a spurious cache flush.
21607 (image-transform-rotation): Doc fix.
21608 (image-transform-properties): Return quickly in the normal case.
21609 (image-animate-loop): Rename from image-animate-max-time.
21610
21611 * image.el (image-animate-max-time): Move to image-mode.el.
21612 (create-animated-image): Remove unnecessary function.
21613 (image-animate): Rename from image-animate-start. New arg.
21614 (image-animate-stop): Remove; just use image-animate-timer.
21615 (image-animate-timer): Use car-safe.
21616 (image-animate-timeout): Rename argument.
21617
21618 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21619
21620 * window.el (get-lru-window, get-largest-window): Move here from
21621 window.c. Rename first argument to ALL-FRAMES.
21622 Rephrase doc-strings.
21623 (get-buffer-window-list): Rewrite using window-list-1.
21624 Rephrase doc-string.
21625 (window-safe-min-height, window-safe-min-width): New constants.
21626 (window-size-ignore, window-min-size, window-min-size-1)
21627 (window-sizable, window-sizable-p, window-size-fixed-1)
21628 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21629 (window-max-delta-1, window-max-delta, window-resizable)
21630 (window-resizable-p, window-total-height, window-total-width)
21631 (window-body-width): New functions.
21632 (window-full-height-p, window-full-width-p): Rewrite using
21633 window-total-size.
21634 (window-body-height): Rewrite using window-body-size.
21635
21636 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21637
21638 * window.el (window-right, window-left, window-child)
21639 (window-child-count, window-last-child, window-any-p)
21640 (normalize-live-buffer, normalize-live-frame)
21641 (normalize-any-window, normalize-live-window)
21642 (window-iso-combination-p, window-iso-combined-p)
21643 (window-iso-combinations)
21644 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21645 (windows-with-parameter, window-with-parameter)
21646 (window-atom-root, make-window-atom, window-atom-check-1)
21647 (window-atom-check, window-side-check, window-check):
21648 New functions.
21649 (ignore-window-parameters, window-sides, window-sides-vertical)
21650 (window-sides-slots): New variables.
21651 (window-size-fixed): Move down in code. Minor doc-string fix.
21652
21653 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21654
21655 * comint.el (comint-dynamic-complete-as-filename)
21656 (comint-dynamic-complete-filename): Correctly call
21657 completion-in-region.
21658
21659 2011-06-05 Deniz Dogan <deniz@dogan.se>
21660
21661 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21662 in last change.
21663
21664 2011-06-05 Deniz Dogan <deniz@dogan.se>
21665
21666 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21667 (rcirc): Use it to prompt for encryption.
21668
21669 2011-06-05 Roland Winkler <winkler@gnu.org>
21670
21671 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21672 (bibtex-search-entries): New command bound to C-c C-a.
21673 (bibtex-display-entries): New function.
21674
21675 2011-06-05 Roland Winkler <winkler@gnu.org>
21676
21677 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21678 (bibtex-insert-kill): After yanking insert newline if necessary.
21679 (bibtex-initialize): Call bibtex-string-files-init only once.
21680 (bibtex-mode): Do not call easy-menu-add.
21681 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21682 (bibtex-yank): Set arg properly if nil.
21683
21684 2011-06-05 Roland Winkler <winkler@gnu.org>
21685
21686 * textmodes/bibtex.el (bibtex-search-entry-globally):
21687 New variable.
21688 (bibtex-search-entry): Use it.
21689
21690 2011-06-05 Roland Winkler <winkler@gnu.org>
21691
21692 * textmodes/bibtex.el (bibtex-entry-format): New option
21693 sort-fields.
21694 (bibtex-format-entry, bibtex-reformat): Honor this option.
21695 (bibtex-parse-entry): Return fields in proper order.
21696
21697 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21698
21699 * doc-view.el (doc-view-remove-if): Move computation of result out
21700 of `dolist' to silence misleading lexical-binding warning.
21701
21702 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21703
21704 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21705 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21706
21707 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21708
21709 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21710 "SunOS 5.10".
21711
21712 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21713
21714 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21715 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21716 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21717 (tramp-parse-putty):
21718 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21719 (tramp-completion-function-alist-ssh)
21720 (tramp-completion-function-alist-telnet)
21721 (tramp-completion-function-alist-su)
21722 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21723 cookie.
21724
21725 * net/tramp-ftp.el:
21726 * net/tramp-sh.el:
21727 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21728 load "tramp.el" `tramp-set-completion-function'.
21729
21730 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21731
21732 * shell.el: Require and use pcomplete.
21733 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21734 (shell-completion-vars): Set pcomplete-default-completion-function.
21735
21736 2011-06-04 Deniz Dogan <deniz@dogan.se>
21737
21738 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21739 `memq' (Bug#8799).
21740
21741 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21742
21743 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21744
21745 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21746
21747 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21748 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21749 * vc/log-view.el (log-view-beginning-of-defun):
21750 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21751 (smerge-refine-forward, smerge-refine-chopup-region):
21752 Silence warning for unused `dotimes' counter variables.
21753
21754 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21755
21756 * net/tramp.el (tramp-with-progress-reporter): Rename from
21757 with-progress-reporter. Use `declare'.
21758 * net/tramp-smb.el:
21759 * net/tramp-sh.el:
21760 * net/tramp-gvfs.el: Update all uses.
21761
21762 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21763
21764 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21765 buffer isn't killed before making it current.
21766
21767 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21768
21769 Silence various byte-compiler warnings.
21770 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21771 `access-type' and new obsolescence format.
21772 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21773 new format.
21774 (byte-compile-check-variable): New `access-type' argument.
21775 Only warn if the access-type is obsolete.
21776 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21777 (byte-compile-variable-set): Adjust callers.
21778 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21779 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21780 setting it as obsolete.
21781 * simple.el (minibuffer-completing-symbol):
21782 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21783 access as obsolete.
21784 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21785 obsolete yet.
21786 * international/quail.el (quail-mouse-choose-completion): Remove unused
21787 code referring to obsolete var.
21788 (quail-choose-completion-string): Remove.
21789 * server.el (server-clients-with, server-kill-buffer-query-function)
21790 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21791 * proced.el (proced-send-signal):
21792 * emacs-lisp/lisp.el (lisp-complete-symbol):
21793 Replace completion-annotate-function with completion-extra-properties.
21794
21795 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21796
21797 * simple.el (goto-line): Use read-number.
21798 (overriding-map-is-bound): Remove.
21799 (saved-overriding-map): Change default.
21800 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21801 Take the map as argument.
21802 (universal-argument, negative-argument, digit-argument): Use it.
21803 (restore-overriding-map): Adjust.
21804 (do-auto-fill): Use fill-forward-paragraph.
21805 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21806
21807 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21808 (minibuffer-inactive-mode): New major mode.
21809 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21810 the *Messages* buffer" hack.
21811 (mouse-popup-menubar): Don't burp if the event is a normal key.
21812
21813 Miscellaneous tweaks.
21814 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21815 lexical scoping as in subr.el's dolist and dotimes.
21816 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21817 Silence compiler warning.
21818 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21819 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21820 * international/ccl.el (ccl-compile): Trivial simplification.
21821 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21822 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21823 `printflag' argument.
21824 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21825 Purecopy the whole obsolescence data.
21826
21827 2011-06-01 Leo Liu <sdl.web@gmail.com>
21828
21829 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21830 improve doc-string as suggested by Marco Pessotto
21831 <melmothx@gmail.com>.
21832 (rcirc-print): Fix last change.
21833
21834 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21835
21836 * minibuffer.el (complete-with-action): Return nil for the metadata and
21837 boundaries of non-functional tables.
21838 (completion-table-dynamic): Return nil for the metadata.
21839 (completion-table-with-terminator): Add default case, using
21840 complete-with-action.
21841 (completion--metadata): New function.
21842 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21843 to try and avoid pathological performance problems.
21844 (completion--embedded-envvar-table): Return `category' metadata.
21845
21846 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21847
21848 * subr.el (process-alive-p): New tiny convenience function.
21849
21850 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21851
21852 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21853 content but also its previous major mode.
21854
21855 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21856
21857 * emacs-lisp/debug.el (debug): Restore the previous content of the
21858 *Backtrace* buffer when we exit with C-M-c.
21859
21860 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21861
21862 * minibuffer.el: Add metadata method to completion tables.
21863 (completion-category-overrides): New defcustom.
21864 (completion-metadata, completion--field-metadata)
21865 (completion-metadata-get, completion--styles)
21866 (completion--cycle-threshold): New functions.
21867 (completion-try-completion, completion-all-completions):
21868 Add `metadata' argument to choose completion-styles.
21869 (completion--do-completion): Use metadata to choose cycling.
21870 (completion-all-sorted-completions): Use metadata for sorting.
21871 Remove :completion-cycle-penalty which is not needed any more.
21872 (completion--try-word-completion): Add `metadata' argument.
21873 (minibuffer-completion-help): Check metadata for annotation function
21874 and sorting.
21875 (completion-file-name-table): Return `category' metadata.
21876 (minibuffer-completing-file-name): Make obsolete.
21877 * simple.el (minibuffer-completing-symbol): Make obsolete.
21878 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21879 completion-try-completion.
21880
21881 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21882
21883 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21884
21885 2011-05-30 Leo Liu <sdl.web@gmail.com>
21886
21887 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21888 (rcirc-print): Decode all incoming messages (bug#8744).
21889 (rcirc-decode-coding-system): Allow value nil for automatic coding
21890 system detection.
21891
21892 2011-06-01 Glenn Morris <rgm@gnu.org>
21893
21894 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21895
21896 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21897
21898 * image.el (image-animate-max-time): Allow nil and t values.
21899 Default to nil.
21900 (create-animated-image): Doc fix.
21901 (image-animate-start): Remove second arg; just use
21902 image-animate-max-time.
21903 (image-animate-timeout): Doc fix. Args changed.
21904
21905 * image-mode.el (image-toggle-display-image): Ensure that the
21906 image spec passed to the animate timer is the same object as in
21907 the buffer's display property (Bug#6981).
21908 (image-transform-properties): Doc fix.
21909
21910 * image.el (image-animate-max-time): Default to nil.
21911
21912 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21913
21914 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21915 entire buffer list (Bug#8184).
21916
21917 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21918
21919 * image.el (imagemagick-types-inhibit)
21920 (imagemagick-register-types): Doc fix.
21921
21922 2011-05-29 Deniz Dogan <deniz@dogan.se>
21923
21924 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21925 default.
21926
21927 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21928
21929 * select.el: Don't perform clipboard-manager saving in hooks;
21930 leave the hooks empty.
21931
21932 2011-05-28 Leo Liu <sdl.web@gmail.com>
21933
21934 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21935 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21936 (occur-edit-mode): New major mode (Bug#8463).
21937 (occur-after-change-function): New function.
21938 (occur-engine): Give Occur tags a read-only property.
21939
21940 2011-05-28 Kevin Ryde <user42@zip.com.au>
21941
21942 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21943
21944 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21945
21946 * bindings.el (help-echo): Make the initial non-indicator dash
21947 empty on graphical terminals (Bug#7295).
21948
21949 * files.el (auto-mode-alist): Move config rule after the
21950 in-stripping one (Bug#8547).
21951
21952 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21953
21954 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21955 setting (Bug#8740).
21956
21957 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21958
21959 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21960 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21961 (Bug#8539).
21962
21963 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21964
21965 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21966
21967 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21968
21969 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21970 (hs-hide-block-at-point, hs-find-block-beginning)
21971 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21972 (Bug#8279).
21973
21974 2011-05-28 Glenn Morris <rgm@gnu.org>
21975
21976 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21977
21978 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21979
21980 * help-fns.el (describe-function-1): If the function is a derived
21981 major mode, print the parent mode.
21982
21983 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21984 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21985
21986 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21987
21988 * minibuffer.el (completion--capf-wrapper): Check applicability before
21989 returning non-nil for non-exclusive completion data.
21990 * progmodes/etags.el (tags-completion-at-point-function):
21991 * info-look.el (info-lookup-completions-at-point): Mark as
21992 non-exclusive.
21993 (info-complete): Adjust accordingly.
21994
21995 * info-look.el: Convert to lexical-binding and completion-at-point.
21996 (info-lookup-completions-at-point): New function.
21997 (info-complete): Use it and completion-in-region.
21998
21999 2011-05-28 Drew Adams <drew.adams@oracle.com>
22000
22001 * isearch.el: Let M-e start with point at the first mismatched char.
22002 (isearch-fail-pos): New function.
22003 (isearch-edit-string): Use it.
22004
22005 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22006
22007 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22008
22009 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22010
22011 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22012 traversal functions for avl-trees.
22013 (avl-tree--stack): New struct.
22014 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22015 (avl-tree-enter): Add optional `updatefun' arg.
22016 (avl-tree--do-enter): Add optional `updatefun' arg.
22017 Change return value.
22018 (avl-tree-delete): Add optional `test' and `nilflag' args.
22019 (avl-tree--do-delete): Add `test' and `nilflag' args.
22020 Change return value.
22021 (avl-tree-member): Add optional `nilflag'
22022 (avl-tree-member-p): New function.
22023 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22024 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22025 (avl-tree-stack-empty-p): New functions.
22026
22027 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22028 avl-tree--del-balance1 and make it work both ways.
22029 (avl-tree--del-balance2): Remove.
22030 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22031 make it work both ways.
22032 (avl-tree--enter-balance2): Remove.
22033 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22034 New macros.
22035 (avl-tree--mapc, avl-tree-map): Add direction argument.
22036
22037 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22038
22039 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22040
22041 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22042
22043 * select.el: Support clipboard managers with built-in function
22044 x-clipboard-manager-save, via delete-frame-functions and
22045 kill-emacs-hook.
22046 (xselect-convert-to-targets): Add MULTIPLE target to list.
22047 (xselect-convert-to-save-targets): New function.
22048
22049 2011-05-27 Kenichi Handa <handa@m17n.org>
22050
22051 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22052 let-binding rfc2047-encode-encoded-words to nil.
22053
22054 2011-05-27 Glenn Morris <rgm@gnu.org>
22055
22056 * mail/emacsbug.el: Don't require url-util.
22057
22058 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22059
22060 * files.el (set-auto-mode):
22061 Also respect mode: entries at the end of the file. (Bug#8586)
22062
22063 2011-05-26 Glenn Morris <rgm@gnu.org>
22064
22065 * files.el (hack-local-variables-prop-line, hack-local-variables):
22066 Downcase mode names, as seems to be traditional.
22067 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22068
22069 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22070 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22071
22072 2011-05-25 Julien Danjou <julien@danjou.info>
22073
22074 * textmodes/rst.el (rst-define-level-faces): Do not define face
22075 symbol if it is already defined.
22076
22077 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22078
22079 * play/5x5.el (5x5-new-game, 5x5-randomize):
22080 Reset 5x5-solver-output to nil when a new grid is cast.
22081 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22082 these debugging traces, as defmacro breaks the compiled code.
22083
22084 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22085
22086 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22087
22088 2011-05-24 Leo Liu <sdl.web@gmail.com>
22089
22090 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22091 (vc-bzr-sha1): Adapt.
22092
22093 * sha1.el: Remove. Function `sha1' is now builtin.
22094
22095 * bindings.el: Provide sha1 feature.
22096
22097 2011-05-24 Kenichi Handa <handa@m17n.org>
22098
22099 * mail/sendmail.el: Require `rfc2047'.
22100 (mail-insert-from-field): Do not perform RFC2047 encoding.
22101 (mail-encode-header): New function.
22102 (sendmail-send-it): Set buffer-file-coding-system of the work
22103 buffer to the return value of select-message-coding-system.
22104 Call mail-encode-header.
22105
22106 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22107
22108 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22109
22110 * mail/supercite.el (sc-default-cite-frame):
22111 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22112
22113 2011-05-24 Glenn Morris <rgm@gnu.org>
22114
22115 * progmodes/python.el (brm-menu): Declare.
22116
22117 * emulation/viper.el (viper-set-hooks): Declare.
22118
22119 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22120 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22121 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22122 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22123 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22124 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22125
22126 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22127
22128 Add an :exit-function for completion-at-point.
22129
22130 * minibuffer.el (completion--done): New fun.
22131 (completion--do-completion): Use it. New arg `expect-exact'.
22132 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22133 since completion--do-completion does it for us now.
22134 (minibuffer-force-complete): Use completion--done and
22135 completion--replace. Handle sole-completion case with more care.
22136 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22137 (completion-extra-properties): New var.
22138 (completion-annotate-function): Make obsolete.
22139 (minibuffer-completion-help): Adjust accordingly.
22140 Use completion-list-insert-choice-function.
22141 (completion-at-point, completion-help-at-point):
22142 Bind completion-extra-properties.
22143 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22144 * simple.el (completion-list-insert-choice-function): New var.
22145 (completion-setup-function): Preserve it.
22146 (choose-completion): Pay attention to it, shuffle the code a bit.
22147 (choose-completion-string): New arg `insert-function'.
22148
22149 * textmodes/bibtex.el: Convert to lexical binding.
22150 (bibtex-mode-map): Use completion-at-point.
22151 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22152 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22153 (bibtex-complete): Define as obsolete alias.
22154 (bibtex-complete-internal): Remove.
22155 (bibtex-format-entry): Remove unused sub-group in regexp.
22156 * shell.el (shell--command-completion-data)
22157 (shell-environment-variable-completion):
22158 * pcomplete.el (pcomplete-completions-at-point):
22159 * comint.el (comint--complete-file-name-data): Use :exit-function
22160 instead of completion-table-with-terminator so it also works for
22161 choose-completion.
22162
22163 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22164
22165 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22166
22167 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22168 (bug#8710).
22169
22170 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22171
22172 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22173
22174 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22175 customization variable and implement: If non-nil, auto-fill will
22176 be inhibited while on topic's header line.
22177
22178 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22179
22180 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22181 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22182 always have a solution in grid size = 5 cases.
22183 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22184 (5x5-solver-output, 5x5-log-buffer): New vars.
22185 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22186 Make these variables buffer local to achieve 5x5 multi-session-ness.
22187 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22188 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22189 (5x5-solve-suggest): New funs.
22190 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22191 randomize a grid so that we ensure that there is always a solution.
22192 (5x5-make-random-grid): Allow other movement than flipping.
22193
22194 2011-05-23 Kevin Ryde <user42@zip.com.au>
22195
22196 * emacs-lisp/advice.el (ad-read-advised-function):
22197 Use `function-called-at-point' as the default, if it has
22198 advice and passes PREDICATE.
22199
22200 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22201
22202 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22203 byte-compile-lambda if it's actually a lambda.
22204
22205 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22206 Fix function quoting. Use backquote better.
22207
22208 2011-05-22 Yuanle Song <sylecn@gmail.com>
22209
22210 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22211 matching (Bug#8516).
22212
22213 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22214
22215 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22216 different face (Bug#8178).
22217
22218 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22219
22220 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22221 defface (Bug#8144).
22222
22223 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22224
22225 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22226 funcall as well (bug#8712). Warn when performing those conversions.
22227 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22228
22229 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22230
22231 2011-05-22 Glenn Morris <rgm@gnu.org>
22232
22233 * files.el (hack-local-variables-prop-line): Small simplifications.
22234 (hack-local-variables, hack-local-variables-prop-line):
22235 If MODE-ONLY, return the mode, rather than just `t'.
22236
22237 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22238
22239 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22240
22241 2011-05-21 Glenn Morris <rgm@gnu.org>
22242
22243 * files.el (hack-local-variables-prop-line, hack-local-variables):
22244 If only interested in the mode, don't bother doing the other stuff.
22245
22246 * image-mode.el (image-after-revert-hook):
22247 Redraw all frames on which the image is visible. (Bug#8567)
22248
22249 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22250
22251 * wid-edit.el (widget-checklist-match-inline):
22252 Fix 2011-04-19 change. (Bug#8649)
22253
22254 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22255
22256 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22257 Also allow singlespace after single-letter capitals followed by a dot.
22258
22259 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22260 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22261
22262 2011-05-20 Nix <nix@esperi.org.uk>
22263
22264 * files.el (basic-save-buffer-2):
22265 Fix handling of break-hardlink-on-save with non-existent files.
22266
22267 2011-05-19 Deniz Dogan <deniz@dogan.se>
22268
22269 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22270 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22271
22272 2011-05-19 Glenn Morris <rgm@gnu.org>
22273
22274 * progmodes/f90.el (f90-type-def-re):
22275 Handle "type, bind(c)". (Bug#8691)
22276
22277 * emacs-lisp/autoload.el (batch-update-autoloads):
22278 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22279
22280 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22281
22282 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22283 property for the correct connection in case of multihops.
22284
22285 2011-05-18 Glenn Morris <rgm@gnu.org>
22286
22287 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22288 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22289
22290 Rationalize calendar handling of day and month abbrev-arrays.
22291 * calendar/calendar.el (calendar-customized-p): New function.
22292 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22293 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22294 Add :set function.
22295 (calendar-abbrev-length, calendar-day-abbrev-array)
22296 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22297 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22298 Elements may no longer be nil.
22299 (calendar-day-name, calendar-month-name):
22300 Update for changed nature of abbrev arrays.
22301 * calendar/diary-lib.el (diary-name-pattern):
22302 Update for changed nature of abbrev arrays.
22303 (diary-mark-entries-1): Update calendar-make-alist calls.
22304 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22305 * calendar/cal-html.el (cal-html-day-abbrev-array):
22306 Simply inherit from calendar-day-abbrev-array.
22307
22308 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22309
22310 * progmodes/grep.el (grep-mode): Disable default
22311 compilation-directory-matcher setting (bug#8684).
22312
22313 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22314
22315 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22316 instead of "head" and "tail". There were problems with SunOS 5.9,
22317 and it performs better.
22318
22319 2011-05-17 Glenn Morris <rgm@gnu.org>
22320
22321 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22322
22323 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22324 Replace obsolete function.
22325
22326 * shell.el (pcomplete-parse-arguments-function): Declare.
22327
22328 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22329 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22330 (appt-check): Doc fixes.
22331 (appt-disp-window-function, appt-delete-window-function):
22332 Remove needless special case in custom :type.
22333 (appt-display-count): Default to 0, not nil.
22334 (appt-check): Reset appt-display-count to 0, not nil.
22335
22336 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22337
22338 * progmodes/python.el (python-font-lock-keywords):
22339 Add the Python 3.X keyword "nonlocal" (bug#8639).
22340
22341 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22342
22343 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22344
22345 2011-05-16 Kevin Ryde <user42@zip.com.au>
22346
22347 * info-look.el (makefile-automake-mode): New setups, looking in
22348 automake manual, then makefile-mode.
22349 (makefile-mode): Remove automake manual, have it just in
22350 makefile-automake-mode since there's various things different or
22351 not relevant to plain make.
22352 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22353 believe a hypothetical automake-mode would go to makefile-mode,
22354 not the other way around.
22355
22356 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22357
22358 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22359 hunk-end tags (Bug#8672).
22360
22361 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22362 vc-annotate-show-diff-revision-at-line (Bug#8671).
22363
22364 2011-05-14 Glenn Morris <rgm@gnu.org>
22365
22366 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22367 in the middle of an existing one with multiple authors. (Bug#8645)
22368 (change-log-font-lock-keywords): Also handle multiple author lines
22369 with leading tabs. (Bug#8644)
22370
22371 * calendar/appt.el (appt-check): Rename some local variables.
22372 Some simplification/reordering.
22373
22374 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22375 (feedmail-sendmail-f-doesnt-sell-me-out)
22376 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22377 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22378 (feedmail-queue-runner-message-sender): Set :version.
22379 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22380 (bbdb-dwim-net-address, vm-mail): Declare.
22381 (feedmail-binmail-gnulinuxish-template):
22382 Rename from feedmail-binmail-linuxish-template.
22383 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22384 Use insert-buffer-substring.
22385
22386 2011-05-14 Bill Carpenter <bill@carpenter.org>
22387
22388 * mail/feedmail.el (feedmail-patch-level): Increase.
22389 (feedmail-debug): New custom group.
22390 (feedmail-confirm-outgoing-timeout)
22391 (feedmail-sendmail-f-doesnt-sell-me-out)
22392 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22393 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22394 (feedmail-sender-line, feedmail-from-line)
22395 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22396 (feedmail-spray-this-address)
22397 (feedmail-spray-address-fiddle-plex-list)
22398 (feedmail-queue-use-send-time-for-date)
22399 (feedmail-queue-use-send-time-for-message-id)
22400 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22401 (feedmail-buffer-eating-function):
22402 Doc fixes.
22403 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22404 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22405 (feedmail-message-action-scroll-down): New functions.
22406 (feedmail-queue-directory, feedmail-queue-draft-directory):
22407 Use expand-file-name.
22408 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22409 Remove C-v help entry.
22410 (feedmail-queue-buffer-file-name): New variable.
22411 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22412 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22413 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22414 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22415 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22416 (feedmail-message-action-toggle-spray)
22417 (feedmail-run-the-queue-no-prompts)
22418 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22419 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22420 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22421 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22422 (feedmail-envelope-deducer, feedmail-fiddle-from)
22423 (feedmail-fiddle-sender, feedmail-default-date-generator)
22424 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22425 (feedmail-fiddle-spray-address)
22426 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22427 (feedmail-fiddle-list-of-fiddle-plexes)
22428 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22429 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22430 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22431 Change default. Doc fix.
22432 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22433 (feedmail-binmail-linuxish-template): New constant.
22434 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22435 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22436 (feedmail-send-it): Add debug call.
22437 Use feedmail-queue-buffer-file-name, and
22438 feedmail-send-it-immediately-wrapper.
22439 (feedmail-message-action-send): Add debug call.
22440 Use feedmail-send-it-immediately-wrapper.
22441 (feedmail-queue-express-to-queue): Add debug call.
22442 Run feedmail-queue-express-hook.
22443 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22444 (feedmail-message-action-help-blat):
22445 Rename from feedmail-queue-send-edit-prompt-help-first.
22446 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22447 Check line-endings. Handle errors better.
22448 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22449 Doc fix. Add debug call.
22450 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22451 Use feedmail-queue-send-edit-prompt-inner.
22452 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22453 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22454 from feedmail-queue-send-edit-prompt.
22455 (feedmail-queue-send-edit-prompt-help)
22456 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22457 (feedmail-tidy-up-slug): Add debug call.
22458 Respect feedmail-queue-slug-suspect-regexp.
22459 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22460 (feedmail-dump-message-to-queue): Add debug call.
22461 Expand queue-directory.
22462 (feedmail-dump-message-to-queue): Change message slightly.
22463 Use feedmail-say-chatter.
22464 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22465 (feedmail-send-it-immediately-wrapper): New function.
22466 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22467 Insert empty string rather than newline. Handle full-frame case.
22468 Use catch/throw. Use feedmail-say-chatter.
22469 (feedmail-fiddle-from): Try mail-host-address.
22470 (feedmail-default-message-id-generator): Doc fix.
22471 Bind system-time-locale. Handle missing end.
22472 (feedmail-fiddle-x-mailer): Add debug call.
22473 Handle feedmail-x-mailer-line being nil.
22474 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22475 Add debug call. Use buffer-substring-no-properties.
22476 (feedmail-say-debug, feedmail-say-chatter): New functions.
22477 (feedmail-find-eoh): Give an explicit error.
22478
22479 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22480
22481 * net/newst-treeview.el (newsticker-treeview-face): Change default
22482 family from helvetica to sans.
22483 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22484 etc/images/newsticker.
22485
22486 * net/newst-reader.el (newsticker-feed-face): Change default
22487 family from helvetica to sans.
22488
22489 * net/newst-plainview.el (newsticker-new-item-face)
22490 (newsticker-old-item-face, newsticker-immortal-item-face)
22491 (newsticker-obsolete-item-face, newsticker-date-face)
22492 (newsticker-statistics-face): Change default family from
22493 helvetica to sans.
22494 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22495 etc/images/newsticker.
22496
22497 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22498 (newsticker--process-auto-mark-filter-match): Tell user about
22499 auto-marking.
22500
22501 2011-05-13 Didier Verna <didier@xemacs.org>
22502
22503 Common Lisp indentation improvements on defmethod and lambda-lists.
22504 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22505 TODO entries.
22506 (lisp-lambda-list-keyword-parameter-indentation)
22507 (lisp-lambda-list-keyword-parameter-alignment)
22508 (lisp-lambda-list-keyword-alignment): New customizable user options.
22509 (lisp-indent-defun-method): Improve docstring.
22510 (extended-loop-p): Fix comment.
22511 (lisp-indent-lambda-list-keywords-regexp): New variable.
22512 (lisp-indent-lambda-list): New function.
22513 (lisp-indent-259): Use it.
22514 (lisp-indent-defmethod): Support for more than one
22515 method qualifier and properly indent methods lambda-lists.
22516 (defgeneric): Provide a missing common-lisp-indent-function property.
22517
22518 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22519
22520 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22521 bounds for the empty string (bug#8667).
22522
22523 2011-05-13 Glenn Morris <rgm@gnu.org>
22524
22525 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22526
22527 * mail/sendmail.el (sendmail-program): Try executable-find first.
22528 (sendmail-send-it): `sendmail-program' cannot be unbound.
22529
22530 * calendar/appt.el (appt-make-list): Simplify.
22531 (appt-time-msg-list): Doc fix.
22532 (appt-check): Change mode-line message at the time of the appointment.
22533
22534 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22535
22536 * progmodes/ld-script.el (ld-script-keywords)
22537 (ld-script-builtins): Update keywords list.
22538
22539 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22540
22541 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22542
22543 * shell.el (shell-completion-vars): New function.
22544 (shell-mode):
22545 * simple.el (read-shell-command): Use it.
22546 (blink-matching-open): No need for " [...]" in minibuffer-message.
22547
22548 2011-05-12 Glenn Morris <rgm@gnu.org>
22549
22550 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22551 (appt-check): Simplify.
22552
22553 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22554
22555 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22556 literal "/dev/null".
22557
22558 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22559
22560 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22561 Fix typo.
22562
22563 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22564
22565 * progmodes/which-func.el (which-function):
22566 Use add-log-current-defun instead of add-log-current-defun-function,
22567 which might not be defined (Bug#8260).
22568
22569 2011-05-12 Glenn Morris <rgm@gnu.org>
22570
22571 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22572 Let byte-compile-initial-macro-environment always take precedence.
22573
22574 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22575
22576 * net/rcirc.el: Add support for SSL/TLS connections.
22577 (rcirc-server-alist): New field `encryption'.
22578 (rcirc): Check `encryption' settings.
22579 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22580 Merge make-local-variable into `set'.
22581 (rcirc--connection-open-p): New function.
22582 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22583 the process is not a network process (e.g. running gnutls-cli).
22584 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22585 Make rcirc-(en|de)code-coding-system local here.
22586 (rcirc-mode): Merge make-local-variable into `set'.
22587 (rcirc-parent-buffer): Make permanent buffer-local.
22588 (rcirc-multiline-minor-mode): Don't do it here.
22589 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22590 there's no server buffer.
22591
22592 2011-05-11 Glenn Morris <rgm@gnu.org>
22593
22594 * newcomment.el (comment-kill): Prefix "unused" local.
22595
22596 * term/w32console.el (get-screen-color): Declare.
22597
22598 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22599 Handle symbol elements of byte-compile-initial-macro-environment.
22600
22601 2011-05-10 Leo Liu <sdl.web@gmail.com>
22602
22603 * bookmark.el (bookmark-bmenu-mode-map):
22604 Bind bookmark-bmenu-search to `/'.
22605
22606 * mail/footnote.el: Convert to utf-8 encoding.
22607 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22608 (Footnote-unicode): New function.
22609 (footnote-style-alist): Add unicode style to the list.
22610 (footnote-style): Doc fix.
22611
22612 2011-05-10 Jim Meyering <meyering@redhat.com>
22613
22614 Fix doubled-word typos.
22615 * international/quail.el (quail-insert-kbd-layout): and and -> and
22616 * kermit.el: and and -> and
22617 * net/ldap.el (ldap-search-internal): to to -> to
22618 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22619 * progmodes/js.el (js-mode): and and -> and
22620 * textmodes/artist.el (artist-move-to-xy): at at -> at
22621 (artist-draw-region-trim-line-endings): if if -> if
22622 And Safetyc -> Safety.
22623 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22624
22625 2011-05-10 Glenn Morris <rgm@gnu.org>
22626 Stefan Monnier <monnier@iro.umontreal.ca>
22627
22628 * files.el (hack-one-local-variable-eval-safep):
22629 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22630
22631 2011-05-10 Glenn Morris <rgm@gnu.org>
22632
22633 * calendar/diary-lib.el (diary-list-entries-hook)
22634 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22635 (diary-nongregorian-marking-hook, diary-list-entries)
22636 (diary-include-other-diary-files, diary-mark-entries)
22637 (diary-mark-included-diary-files): Doc fixes.
22638
22639 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22640
22641 * misc.el: Require tabulated-list.el during compilation.
22642
22643 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22644
22645 * progmodes/compile.el (compilation-start):
22646 Run compilation-filter-hook for the async case too.
22647 (compilation-filter-hook): Doc fix.
22648
22649 2011-05-09 Deniz Dogan <deniz@dogan.se>
22650
22651 * wdired.el: Remove outdated installation comment. Fix usage
22652 comment.
22653
22654 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22655
22656 * misc.el: Implement new command `list-dynamic-libraries'.
22657 (list-dynamic-libraries--loaded-only-p): New variable.
22658 (list-dynamic-libraries--refresh): New function.
22659 (list-dynamic-libraries): New command.
22660
22661 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22662
22663 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22664 Fix the ant regexp to handle end-line and end-column info from jikes.
22665 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22666 higher priority to avoid clobbering by gnu.
22667
22668 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22669
22670 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22671 if the face has existing theme settings (Bug#8454).
22672
22673 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22674
22675 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22676 Only match variables declared via `my' or `our' (Bug#8261).
22677
22678 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22679 special file names `.' and `..' (Bug#8259).
22680
22681 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22682
22683 * progmodes/grep.el (grep-mode-font-lock-keywords):
22684 Remove buffer-changing entries.
22685 (grep-filter): New function.
22686 (grep-mode): Add it to compilation-filter-hook.
22687
22688 * progmodes/compile.el (compilation-filter-hook)
22689 (compilation-filter-start): New defvars.
22690 (compilation-filter): Call compilation-filter-hook prior to
22691 updating the process mark.
22692
22693 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22694
22695 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22696
22697 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22698
22699 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22700 mailclient-send-it even if window-system is nil. (Bug#8595)
22701
22702 * term/w32console.el (terminal-init-w32console):
22703 Call get-screen-color and use its output to set the frame
22704 background-mode. (Bug#8597)
22705
22706 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22707
22708 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22709 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22710 New functions.
22711 (defgeneric, eieio--defmethod): Use them.
22712 (eieio-defgeneric): Remove.
22713 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22714
22715 2011-05-07 Glenn Morris <rgm@gnu.org>
22716
22717 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22718 Use let rather than let*.
22719 (timeclock-find-discrep): Remove unused local.
22720
22721 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22722
22723 * calendar/appt.el (appt-time-msg-list): Doc fix.
22724
22725 2011-05-06 Noah Friedman <friedman@splode.com>
22726
22727 * apropos.el (apropos-print-doc): Only use
22728 emacs-lisp-docstring-fill-column when it is bound to an integer,
22729 per that variable's documentation.
22730
22731 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22732
22733 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22734 and warnings are not silently discarded (e.g. use -d instead of -P).
22735
22736 2011-05-06 Glenn Morris <rgm@gnu.org>
22737
22738 * calendar/appt.el (appt-message-warning-time): Doc fix.
22739 (appt-warning-time-regexp): New option.
22740 (appt-make-list): Respect appt-message-warning-time.
22741
22742 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22743 New options.
22744 (diary-add-to-list): Strip comments from the displayed string.
22745 (diary-mode): Set comment-start and comment-end.
22746
22747 * vc/diff-mode.el (smerge-refine-subst): Declare.
22748 (diff-refine-hunk): Don't require smerge-mode when compiling.
22749
22750 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22751
22752 * simple.el (list-processes): Return nil as the docstring says.
22753
22754 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22755
22756 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22757 to "".
22758 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22759 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22760 determining of binary transfer. (Bug#7383)
22761
22762 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22763
22764 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22765 Fix port computation bug. (Bug#8618)
22766
22767 2011-05-05 Glenn Morris <rgm@gnu.org>
22768
22769 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22770
22771 * simple.el (shell-dynamic-complete-functions)
22772 (comint-dynamic-complete-functions): Declare.
22773
22774 * net/network-stream.el (gnutls-negotiate):
22775 * simple.el (tabulated-list-print): Fix declarations.
22776
22777 * progmodes/gud.el (syntax-symbol, syntax-point):
22778 Remove unnecessary and incorrect declarations.
22779
22780 * emacs-lisp/check-declare.el (check-declare-scan):
22781 Handle byte-compile-initial-macro-environment in bytecomp.el.
22782
22783 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22784
22785 Fix earlier half-done eieio-defmethod change (bug#8338).
22786 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22787 Streamline and change calling convention.
22788 (defmethod): Adjust accordingly and simplify.
22789 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22790 new eieio--defmethod.
22791 (slot-boundp): Minor CSE simplification.
22792
22793 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22794
22795 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22796 (glasses-make-readable): Use glasses-separate-capital-groups.
22797
22798 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22799
22800 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22801 (warning-series): Doc fix.
22802 (display-warning): Don't try to create the buffer if we just found it.
22803
22804 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22805
22806 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22807 (autoload-find-generated-file): New function.
22808 (generate-file-autoloads): Bind generated-autoload-file to
22809 buffer-file-name.
22810 (update-file-autoloads, update-directory-autoloads):
22811 Use autoload-find-generated-file. If called interactively, prompt for
22812 output file (Bug#7989).
22813 (batch-update-autoloads): Doc fix.
22814
22815 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22816
22817 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22818
22819 2011-05-04 Glenn Morris <rgm@gnu.org>
22820
22821 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22822 function, so it follows changes in calendar-date-style.
22823 (diary-fancy-date-matcher): New function.
22824 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22825 (diary-fancy-font-lock-fontify-region-function):
22826 Use diary-fancy-date-pattern as a function.
22827
22828 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22829 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22830
22831 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22832
22833 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22834 instead of positional arguments. Allow :keylist and :crlfiles
22835 arguments.
22836 (open-gnutls-stream): Call it.
22837
22838 * net/network-stream.el (network-stream-open-starttls): Adjust to
22839 call `gnutls-negotiate' with :process and :hostname arguments.
22840
22841 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22842
22843 * minibuffer.el (completion--message): New function.
22844 (completion--do-completion, minibuffer-complete)
22845 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22846 (completion--do-completion): Don't ignore completion-auto-help when in
22847 icomplete-mode.
22848
22849 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22850 internal encoding (e.g. tibetan zero is not whitespace).
22851 (global-whitespace-mode): Prefer save-current-buffer.
22852 (whitespace-trailing-regexp): Remove useless save-match-data.
22853 (whitespace-empty-at-bob-regexp): Minor simplification.
22854
22855 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22856
22857 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22858
22859 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22860
22861 * textmodes/ispell.el (ispell-add-per-file-word-list):
22862 Use `concat' to create string for insertion.
22863
22864 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22865
22866 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22867 Avoid open-line which runs post-self-insert-hook.
22868 (bibtex-fill-entry): Remove unused `end' var.
22869
22870 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22871
22872 * textmodes/ispell.el (ispell-add-per-file-word-list):
22873 Protect against `nil' value of `comment-start' (Bug#8579).
22874
22875 2011-05-03 Leo Liu <sdl.web@gmail.com>
22876
22877 * isearch.el (isearch-yank-pop): New command.
22878 (isearch-mode-map): Bind it to `M-y'.
22879 (isearch-forward): Mention it.
22880
22881 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22882
22883 * simple.el (minibuffer-complete-shell-command): Remove.
22884 (minibuffer-local-shell-command-map): Use completion-at-point.
22885 (read-shell-command): Setup completion vars here instead.
22886 (read-expression-map): Bind TAB to symbol completion.
22887
22888 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22889 error directly rather via storing it into `results'.
22890
22891 2011-05-02 Leo Liu <sdl.web@gmail.com>
22892
22893 * vc/diff.el: Fix description.
22894
22895 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22896
22897 * server.el (server-eval-at): New function.
22898
22899 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22900
22901 * net/network-stream.el (open-network-stream): Take a :nowait
22902 parameter and pass it on to `make-network-process'.
22903 (network-stream-open-plain): Ditto.
22904
22905 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22906
22907 * faces.el (face-spec-set-match-display): Don't match toolkit
22908 options on terminal frames.
22909
22910 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22911
22912 * progmodes/pascal.el: Use lexical binding.
22913 (pascal-mode-map): Remove author preferences.
22914
22915 * pcomplete.el (pcomplete-std-complete): Don't abuse
22916 completion-at-point.
22917
22918 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22919
22920 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22921 removing code that has been dead since 1991 or so.
22922
22923 * startup.el (command-line): When warning about "_emacs", use a
22924 delayed warning to allow the user to filter it out.
22925
22926 2011-04-28 Deniz Dogan <deniz@dogan.se>
22927
22928 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22929 user has not joined.
22930
22931 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22932
22933 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22934 aren't any completions at point.
22935
22936 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22937
22938 * subr.el (display-delayed-warnings): New function.
22939 (delayed-warnings-hook): New variable.
22940
22941 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22942
22943 * minibuffer.el (completion-at-point, completion-help-at-point):
22944 Don't presume that a given completion-at-point-function will always
22945 use the same calling convention.
22946
22947 * pcomplete.el (pcomplete-completions-at-point):
22948 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22949 pcomplete-seen is non-nil.
22950 (pcomplete-comint-setup): Also recognize the new comint/shell
22951 completion functions.
22952 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22953 pcomplete-seen is non-nil.
22954
22955 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22956
22957 * calendar/icalendar.el (diary-lib): Add require statement.
22958 (icalendar--create-uid): Read out a uid from a text-property on
22959 the first character in the entry. This allows for code to add its
22960 own uid to the entry.
22961 (icalendar--convert-float-to-ical): Add export of
22962 `diary-float'-entries save for those with the optional DAY
22963 argument.
22964
22965 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22966
22967 * subr.el (shell-quote-argument): Use alternate escaping strategy
22968 when we spot a variable reference in a string.
22969
22970 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22971
22972 * cus-start.el (all): Define customization for debug-on-event.
22973
22974 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22975
22976 * subr.el (shell-quote-argument): Escape correctly under Windows.
22977
22978 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22979
22980 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22981
22982 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22983
22984 * net/tramp.el (tramp-process-actions): Add POS argument.
22985 Delete region between POS and (pos).
22986
22987 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22988 Use `nil' position in `tramp-process-actions' call.
22989 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22990
22991 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22992 position in `tramp-process-actions' call.
22993
22994 * net/trampver.el: Update release number.
22995
22996 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22997
22998 * custom.el (defcustom): Obey lexical-binding.
22999
23000 Fix octave-inf completion problems reported by Alexander Klimov.
23001 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23002 Inherit from octave-mode-syntax-table.
23003 (inferior-octave-mode): Set info-lookup-mode.
23004 (inferior-octave-completion-at-point): New function.
23005 (inferior-octave-complete): Use it and completion-in-region.
23006 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23007 comint-filename-completion.
23008 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23009 symbol elements which shouldn't be word elements.
23010 (octave-font-lock-keywords, octave-beginning-of-defun)
23011 (octave-function-header-regexp): Adjust regexps accordingly.
23012 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23013
23014 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23015
23016 * net/gnutls.el (gnutls-errorp): Declare before first use.
23017
23018 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23019
23020 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23021 verify-error, and verify-hostname-error parameters. Check whether
23022 default trustfile exists before going to use it. Add missing
23023 argument to gnutls-message-maybe call. Return value.
23024 Reported by Claudio Bley <claudio.bley@gmail.com>.
23025 (open-gnutls-stream): Add usage example.
23026
23027 * net/network-stream.el (network-stream-open-starttls): Give host
23028 parameter to `gnutls-negotiate'.
23029 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23030 * subr.el (shell-quote-argument): Escape correctly under Windows.
23031
23032 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23033
23034 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23035 Use correct match group (bug#8438).
23036
23037 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23038
23039 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23040 (package-menu--generate): New arg specifying packages to show.
23041 (package-menu-refresh, package-menu-execute, list-packages):
23042 Callers changed.
23043 (package-show-package-list): New function, replacing deleted
23044 package--list-packages (renamed because it is non-internal).
23045
23046 * finder.el (finder-list-matches): Use package-show-package-list
23047 instead of deleted package--list-packages.
23048
23049 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23050 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23051 (vc-annotate-mode-map): Bind it to RET.
23052
23053 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23054
23055 * progmodes/etags.el (next-file): Don't use set-buffer to change
23056 buffers (Bug#8478).
23057
23058 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23059
23060 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23061
23062 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23063 (apropos-accumulator): Doc fix.
23064 (apropos-function, apropos-macro, apropos-command)
23065 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23066 (apropos-plist): Add face property.
23067 (apropos-symbols-internal): Fix indentation.
23068 (apropos-print): Simplify help, and recognize apropos-multi-type.
23069 (apropos-print-doc): Use button-type-get to extract the button's
23070 face property. Fill docstring (Bug#8352).
23071
23072 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23073
23074 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23075
23076 * play/mpuz.el (mpuz-silent): Doc fix.
23077 (mpuz-mode-map): Use mapc.
23078 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23079 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23080 Fix typos in docstrings.
23081
23082 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23083 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23084
23085 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23086
23087 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23088
23089 * minibuffer.el (completion--do-completion): Avoid the "Next char
23090 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23091
23092 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23093 mouse-2 into unread-command-events, it is interpreted correctly.
23094
23095 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23096 (image-toggle-display): Doc fix.
23097
23098 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23099
23100 * textmodes/page.el (what-page): Use line-number-at-pos to
23101 calculate line number (Bug#6825).
23102
23103 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23104
23105 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23106 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23107 Pass argument NO-DEFAULT to `find-tag-interactive'.
23108
23109 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23110
23111 Lexical-binding cleanup.
23112
23113 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23114 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23115 * progmodes/ada-prj.el (ada-prj-initialize-values)
23116 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23117 (ada-prj-show-value):
23118 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23119 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23120 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23121 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23122 * progmodes/bug-reference.el (bug-reference-push-button):
23123 * progmodes/fortran.el (fortran-line-length):
23124 * progmodes/glasses.el (glasses-change):
23125 * progmodes/octave-mod.el (octave-fill-paragraph):
23126 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23127 (python-pdbtrack-grub-for-buffer, python-sentinel):
23128 * progmodes/sql.el (sql-save-connection):
23129 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23130 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23131 Mark unused parameters.
23132
23133 * progmodes/compile.el (compilation--flush-directory-cache)
23134 (compilation--flush-parse, compile-internal): Mark unused parameters.
23135 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23136 (compilation-next-error-function): Remove unused variable `timestamp'.
23137
23138 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23139 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23140
23141 * progmodes/dcl-mode.el (dcl-end-of-command):
23142 Remove unused variable `start'.
23143 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23144 (dcl-option-value-basic, dcl-option-value-offset)
23145 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23146 Mark unused parameters.
23147 (dcl-save-local-variable): Remove unused variable `val'.
23148 (mode): Declare.
23149
23150 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23151 Mark unused parameters.
23152 (delphi-ignore-changes): Move before first use.
23153 (delphi-charset-token-at): Remove unused variable `start'.
23154 (delphi-else-start): Remove unused variable `if-count'.
23155 (delphi-comment-block-start, delphi-comment-block-end):
23156 Remove unused variable `kind'.
23157 (delphi-indent-line): Remove unused variable `new-point'.
23158
23159 * progmodes/ebrowse.el (ebrowse-files-list)
23160 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23161 Mark unused parameters. Don't quote `lambda'.
23162 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23163 Don't quote `lambda'.
23164 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23165 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23166 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23167 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23168 Use `ignore-errors'.
23169 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23170 (ebrowse-view/find-file-and-search-pattern)
23171 (ebrowse-view/find-member-declaration/definition):
23172 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23173 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23174 Rename parameter PREFIX-ARG to PREFIX.
23175 (ebrowse-tags-read-name): Remove unused variables `start' and
23176 `member-info'.
23177 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23178 to `tags-file'.
23179
23180 * progmodes/etags.el (local-find-tag-hook): Declare.
23181 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23182 Mark unused parameters.
23183
23184 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23185 (executable-interpret): Mark unused parameter.
23186
23187 * progmodes/flymake.el (flymake-process-sentinel)
23188 (flymake-after-change-function)
23189 (flymake-create-temp-with-folder-structure)
23190 (flymake-get-include-dirs-dot): Mark unused parameters.
23191 (flymake-safe-delete-directory): Remove unused variable `err'.
23192
23193 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23194 (speedbar-timer-fn, speedbar-line-text)
23195 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23196 (speedbar-center-buffer-smartly): Declare functions.
23197 (gdb-find-watch-expression): Remove unused variable `array'.
23198 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23199 (gdb-starting): Mark unused parameters.
23200 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23201 (gdb-table-string): Remove unused variable `res'.
23202 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23203 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23204 (gdb-display-buffer): Remove unused variable `cur-size'.
23205
23206 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23207 allow lexical-binding compilation.
23208 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23209 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23210 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23211 Mark unused parameters.
23212 (gud-gdb-marker-filter): Remove unused variable `match'.
23213 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23214 lambda expressions and funcall them, instead of using `fset'.
23215
23216 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23217 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23218
23219 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23220 variable `header-beg'; use `let'.
23221
23222 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23223 `restart', `last-sexp' and `at-do'.
23224
23225 * progmodes/js.el (js--debug): Mark unused parameter.
23226 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23227 (js--splice-into-items): Remove unused variable `item'.
23228 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23229
23230 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23231 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23232 (makefile-complete): Remove unused variable `try'.
23233 (makefile-fill-paragraph, makefile-match-function-end):
23234 Mark unused parameters.
23235
23236 * progmodes/octave-inf.el (inferior-octave-complete):
23237 Remove unused variable `proc'.
23238 (inferior-octave-output-digest): Mark unused parameter.
23239
23240 * progmodes/perl-mode.el (perl-calculate-indent):
23241 Remove unused variable `err'.
23242
23243 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23244 (prolog-indent-line): Mark unused parameters.
23245 (prolog-indent-line): Remove unused variable `beg'.
23246
23247 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23248 (reporter-dont-compact-list): Declare.
23249
23250 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23251 Remove unused variable `char'.
23252 (sh-debug): Mark unused parameter.
23253 (sh-get-indent-info): Remove unused variable `start'.
23254 (sh-calculate-indent): Remove unused variable `var'.
23255
23256 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23257 (simula-electric-keyword): Remove unused variable `null'.
23258 (simula-search-backward, simula-search-forward): Remove unused
23259 variables `begin' and `end'.
23260
23261 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23262 Remove unused variable `pos'.
23263 (vera-electric-tab, vera-comment-uncomment-region):
23264 Mark unused parameters.
23265 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23266
23267 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23268
23269 * emacs-lisp/package.el (package--builtins, package-alist)
23270 (package-load-descriptor, package-built-in-p, package-activate)
23271 (define-package, package-installed-p)
23272 (package-compute-transaction, package-buffer-info)
23273 (package--push): Doc fix. Distinguish more clearly between
23274 version strings and version lists.
23275
23276 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23277
23278 Lexical-binding cleanup.
23279
23280 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23281 (5x5-make-mutate-best):
23282 * play/fortune.el (fortune-in-buffer):
23283 * play/gomoku.el (gomoku-init-display):
23284 * play/solitaire.el (solitaire, solitaire-do-check):
23285 * play/tetris.el (tetris-default-update-speed-function):
23286 Mark unused parameters.
23287
23288 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23289 (bubbles--shift): Remove unused variable `char-org'.
23290 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23291 (bubbles--show-images): Remove unused variable `char'.
23292
23293 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23294 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23295 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23296 (decipher-analyze-buffer): Use ?\s.
23297 (decipher-make-checkpoint): Remove unused variable `mapping'.
23298
23299 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23300
23301 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23302 Remove unused variable `result'; use `let'.
23303
23304 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23305 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23306 (gametree-children-shown-p, gametree-compute-reduced-score):
23307 Use `ignore-errors'.
23308
23309 * play/handwrite.el (ps-lpr-switches): Declare.
23310 (handwrite): Remove unused variables `pmin' and `lastp'.
23311
23312 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23313
23314 * play/landmark.el (landmark-init-display)
23315 (landmark-update-naught-weights): Mark unused parameters.
23316 (landmark-y): Remove unused variable `noise'. Simplify.
23317 (landmark-human-plays): Remove unused variable `score'.
23318
23319 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23320 (mpuz-try-proposal): Remove unused variable `game'.
23321
23322 * play/zone.el (life-patterns): Declare.
23323
23324 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23325
23326 * vc/vc.el (ediff-vc-internal): Declare function.
23327
23328 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23329
23330 * shell.el: Use lexical-binding and std completion UI.
23331 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23332 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23333 comint-preoutput-filter-functions rather than on
23334 comint-output-filter-functions.
23335 (shell-command-completion, shell--command-completion-data)
23336 (shell-filename-completion, shell-environment-variable-completion)
23337 (shell-c-a-p-replace-by-expanded-directory): New functions.
23338 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23339 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23340 (shell-dynamic-complete-environment-variable): Use them.
23341 (shell-dynamic-complete-as-environment-variable)
23342 (shell-dynamic-complete-as-command): Remove.
23343 (shell-match-partial-variable): Match past point.
23344 * comint.el: Clean up use of completion-at-point-functions.
23345 (comint-completion-at-point): New function.
23346 (comint-mode): Use it completion-at-point-functions.
23347 (comint-dynamic-complete): Make it obsolete.
23348 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23349 (comint-c-a-p-replace-by-expanded-history): New function.
23350 (comint-dynamic-complete-functions)
23351 (comint-replace-by-expanded-history): Use it.
23352 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23353 termination strings. Try harder to avoid second try-completion.
23354 (completion-in-region-mode-map): Disable bindings that don't work yet.
23355
23356 * comint.el: Use lexical-binding. Require CL.
23357 (comint-dynamic-complete-functions): Use comint-filename-completion.
23358 (comint-completion-addsuffix): Tweak custom type.
23359 (comint-filename-completion, comint--common-suffix)
23360 (comint--common-quoted-suffix, comint--table-subvert)
23361 (comint--complete-file-name-data): New functions.
23362 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23363 (comint-dynamic-list-filename-completions): Use them.
23364 (comint-dynamic-simple-complete): Make obsolete.
23365
23366 * minibuffer.el (completion-in-region-mode):
23367 Keep completion-in-region-mode--predicate global.
23368 (completion-in-region--postch):
23369 Assume completion-in-region-mode--predicate is not null.
23370
23371 * progmodes/flymake.el (flymake-start-syntax-check-process):
23372 Obey `dir'. Simplify.
23373
23374 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23375 we're in VC after all.
23376
23377 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23378
23379 * vc/vc.el (vc-diff-build-argument-list-internal)
23380 (vc-version-ediff, vc-ediff): New commands.
23381 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23382
23383 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23384
23385 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23386 add sanity check.
23387
23388 * obsolete/erc-hecomplete.el: Make obsolete.
23389 * obsolete/: Standardize obsolescence info in the header.
23390
23391 2011-04-20 Glenn Morris <rgm@gnu.org>
23392
23393 * calendar/solar.el (solar-horizontal-coordinates):
23394 Use the longitude argument rather than `calendar-longitude'.
23395 (solar-date-next-longitude): Remove unused locals.
23396
23397 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23398
23399 * whitespace.el: New version 13.2.1.
23400
23401 2011-04-20 felix <EmacsWiki> (tiny change)
23402
23403 * whitespace.el (global-whitespace-mode): Keep highlight when
23404 switching between major modes on a file.
23405
23406 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23407
23408 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23409 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23410 multi-line comments as well.
23411
23412 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23413
23414 Lexical-binding cleanup.
23415
23416 * arc-mode.el (archive-mode-revert):
23417 * cmuscheme.el (scheme-interactively-start-process):
23418 * custom.el (custom-initialize-delay):
23419 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23420 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23421 * emacs-lock.el (emacs-lock-clear-sentinel):
23422 * ezimage.el (defezimage):
23423 * follow.el (follow-avoid-tail-recenter):
23424 * fringe.el (set-fringe-mode-1):
23425 * generic-x.el (bat-generic-mode-compile):
23426 * help-mode.el (help-info-variable, help-do-xref)
23427 (help-mode-revert-buffer):
23428 * help.el (view-emacs-todo):
23429 * iswitchb.el (iswitchb-completion-help):
23430 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23431 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23432 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23433 * locate.el (locate-update):
23434 * longlines.el (longlines-encode-region)
23435 (longlines-after-change-function):
23436 * outline.el (outline-isearch-open-invisible):
23437 * ps-def.el (declare-function, charset-dimension, char-width)
23438 (encode-char):
23439 * ps-mule.el (ps-mule-plot-string):
23440 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23441 (recentf-edit-list-select, recentf-edit-list-validate)
23442 (recentf-open-files-action):
23443 * rect.el (delete-whitespace-rectangle-line)
23444 (rectangle-number-line-callback):
23445 * register.el (window-configuration-to-register)
23446 (frame-configuration-to-register):
23447 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23448 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23449 (xselect-convert-to-targets, xselect-convert-to-delete)
23450 (xselect-convert-to-filename, xselect-convert-to-charpos)
23451 (xselect-convert-to-lineno, xselect-convert-to-colno)
23452 (xselect-convert-to-os, xselect-convert-to-host)
23453 (xselect-convert-to-user, xselect-convert-to-class)
23454 (xselect-convert-to-name, xselect-convert-to-integer)
23455 (xselect-convert-to-atom, xselect-convert-to-identity):
23456 * subr.el (declare, ignore, process-kill-without-query)
23457 (text-clone-maintain):
23458 * terminal.el (te-get-char, te-tic-sentinel):
23459 * tool-bar.el (tool-bar-make-keymap):
23460 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23461 * type-break.el (type-break-mode, type-break-noninteractive-query):
23462 * view.el (View-back-to-mark):
23463 * wid-browse.el (widget-browse-action, widget-browse-widget)
23464 (widget-browse-widgets, widget-browse-sexp):
23465 * widget.el (define-widget-keywords):
23466 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23467 Mark unused parameters.
23468
23469 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23470 (align-areas): Remove unused variable `look'.
23471 (align-region): Remove unused variables `real-end' and `pos-list'.
23472
23473 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23474
23475 * bindings.el (mode-line-modified, mode-line-remote):
23476 Mark unused parameters.
23477 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23478
23479 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23480 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23481
23482 * comint.el (comint-history-isearch-pop-state)
23483 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23484 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23485 (comint-substitute-in-file-name): Doc fix.
23486
23487 * completion.el (cmpl-statistics-block): Mark unused parameter.
23488 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23489 (save-completions-to-file, load-completions-from-file):
23490 Remove unused local variable `e'.
23491
23492 * composite.el (compose-chars): Remove unused variable `len'.
23493 (lgstring-insert-glyph): Remove unused variable `g'.
23494 (compose-glyph-string): Remove unused variables `ascent',
23495 `descent', `lbearing' and `rbearing'.
23496 (compose-glyph-string-relative): Remove unused variables
23497 `lbearing', `rbearing' and `wadjust'.
23498 (compose-gstring-for-graphic): Remove unused variables `header',
23499 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23500 (compose-gstring-for-terminal): Remove unused variables `header'
23501 and `nchars'. Use `let', not `let*'.
23502
23503 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23504 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23505 (Custom-buffer-done, custom-buffer-create-internal)
23506 (custom-browse-visibility-action, custom-browse-group-tag-action)
23507 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23508 (widget-magic-mouse-down-action, custom-toggle-parent)
23509 (custom-add-parent-links, custom-toggle-hide-variable)
23510 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23511 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23512 (custom-face-menu-create, custom-variable-menu-create, get)
23513 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23514 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23515 (customize-apropos): Remove unused variable `tests'.
23516 (custom-group-value-create): Remove unused variable `hidden-p'.
23517 (sort-fold-case): Declare.
23518
23519 * cus-theme.el (custom-reset-standard-faces-list)
23520 (custom-reset-standard-variables-list): Declare.
23521 (customize-create-theme, custom-theme-revert, custom-theme-write)
23522 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23523 Mark unused parameters.
23524
23525 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23526
23527 * delim-col.el (delimit-columns-max): Move defvar before first use.
23528
23529 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23530 (describe-char): Don't quote `lambda'. Mark unused parameter.
23531
23532 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23533 (auto-insert): Declare.
23534 (desktop-restore-file-buffer): Rename desktop-* parameters;
23535 mark unused ones.
23536 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23537 (desktop-buffer): Rename desktop-* parameters.
23538
23539 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23540 (dframe-reposition-frame-xemacs, dframe-help-echo)
23541 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23542 Mark unused parameters.
23543
23544 * dired-aux.el (backup-extract-version-start, overwrite-query)
23545 (overwrite-backup-query, rename-regexp-query)
23546 (rename-non-directory-query): Declare.
23547 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23548 (dired-add-entry): Remove unused variable `orig-file-name'.
23549 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23550 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23551 `dired-copy-preserve-time' directly.
23552 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23553 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23554
23555 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23556 (dired-virtual-revert, dired-make-relative-symlink):
23557 Mark unused parameters.
23558 (manual-program): Declare.
23559 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23560 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23561 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23562
23563 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23564
23565 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23566
23567 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23568 Declare.
23569
23570 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23571
23572 * electric.el (Electric-command-loop): Rename parameter
23573 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23574
23575 * expand.el (expand-in-literal): Remove unused variable `here'.
23576
23577 * facemenu.el (facemenu-add-new-color):
23578 Remove unused variable `docstring'.
23579
23580 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23581 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23582 (face-attr-construct): Mark unused parameter. Doc fix.
23583 (read-color): Remove unused variable `hex-string'.
23584
23585 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23586 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23587 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23588 (display-buffer-other-frame): Remove unused variable `old-window'.
23589 (kill-buffer-hook): Declare.
23590 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23591 Mark unused parameters.
23592 (after-find-file): Pass 1 to `auto-save-mode', not t.
23593
23594 * files-x.el (auto-insert): Declare.
23595 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23596
23597 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23598 variable `buf'. Mark unused parameter.
23599 (find-lisp-insert-directory): Mark unused parameter.
23600
23601 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23602 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23603 (format-common-tail): Remove, unused.
23604 (format-deannotate-region): Remove unused variable `loc'.
23605 (format-annotate-region): Remove unused variable `p'.
23606 (format-annotate-single-property-change): Remove unused variables
23607 `default' and `tail'.
23608
23609 * forms.el (read-file-filter): Declare.
23610 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23611
23612 * frame.el (frame-creation-function-alist): Mark unused parameter.
23613 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23614
23615 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23616 Remove unused parameters.
23617 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23618 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23619
23620 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23621 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23622 (hfy-prepare-tag-map): Mark unused parameters.
23623 (htmlfontify-buffer): Use `called-interactively-p'.
23624
23625 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23626 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23627 (ibuffer-do-occur): Mark unused parameters.
23628 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23629 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23630
23631 * ibuffer.el: Don't quote `lambda'.
23632 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23633 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23634 Mark unused parameters.
23635
23636 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23637 (ido-completing-read): Mark unused parameters.
23638 (ido-copy-current-word): Mark unused parameters;
23639 remove unused variable `name'.
23640 (ido-sort-merged-list): Remove unused parameter `dirs'.
23641
23642 * ielm.el (ielm-input-sender): Mark unused parameter.
23643 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23644 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23645 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23646 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23647 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23648
23649 * image-dired.el (image-dired-display-thumbs): Remove unused
23650 variables `curr-file' and `count'.
23651 (image-dired-remove-tag): Remove unused variable `start'.
23652 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23653 variable `curr-file'
23654 (image-dired-rotate-original): Remove unused variable `temp-file'.
23655 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23656 Remove unused variable `file'.
23657 (image-dired-gallery-generate): Remove unused variable `curr'.
23658 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23659
23660 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23661
23662 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23663
23664 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23665
23666 * isearch.el (minibuffer-history-symbol): Declare.
23667 (isearch-edit-string): Remove unused variable `err'.
23668 (isearch-message-prefix, isearch-message-suffix):
23669 Mark unused parameters.
23670
23671 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23672
23673 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23674
23675 * makesum.el (double-column): Remove unused variable `cnt'.
23676
23677 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23678 (ido-ignore-item-temp-list): Declare.
23679
23680 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23681 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23682 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23683 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23684 `mouse-col-delta'.
23685
23686 * mouse-sel.el (mouse-extend-internal):
23687 Remove unused variable `orig-window-frame'.
23688
23689 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23690 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23691 Move declarations before first use.
23692 (pcomplete-opt): Mark unused parameters; doc fix.
23693
23694 * proced.el (proced-revert): Mark unused parameter.
23695 (proced-send-signal): Remove unused variable `err'.
23696
23697 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23698 Rename parameter PREFIX-ARG to ARG.
23699 (ps-basic-plot-string, ps-basic-plot-whitespace):
23700 Mark unused parameters.
23701
23702 * replace.el (replace-count): Define.
23703 (occur-revert-function): Mark unused parameters.
23704 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23705 (isearch-case-fold-search, isearch-string): Declare.
23706 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23707 bind `case-fold-search'. Remove unused variables `beg' and `end',
23708 and simplify.
23709 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23710 COUNT and bind `replace-count'.
23711 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23712 to COUNT.
23713
23714 * savehist.el (print-readably, print-string-length): Declare.
23715
23716 * shadowfile.el (shadow-expand-cluster-in-file-name):
23717 Remove unused variable `cluster'.
23718 (shadow-copy-file): Remove unused variable `i'.
23719 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23720 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23721 (shadow-define-literal-group, shadow-define-regexp-group)
23722 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23723
23724 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23725 (shell): Use `called-interactively-p'.
23726 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23727
23728 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23729 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23730 (delete-backward-char): Remove unused variable `ocol'.
23731 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23732 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23733 (event-apply-hyper-modifier, event-apply-shift-modifier)
23734 (event-apply-control-modifier, event-apply-meta-modifier):
23735 Mark unused parameters.
23736 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23737 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23738
23739 * speedbar.el (speedbar-ignored-directory-expressions)
23740 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23741 (speedbar-find-file, speedbar-dir-follow)
23742 (speedbar-directory-buttons-follow, speedbar-tag-find)
23743 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23744 (speedbar-buffers-line-directory, speedbar-buffer-click):
23745 Mark unused parameters.
23746 (speedbar-tag-file): Remove unused variable `mode'.
23747 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23748
23749 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23750
23751 * talk.el (talk): Remove unused variable `display'.
23752
23753 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23754 (tar-write-region-annotate): Mark unused parameter.
23755
23756 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23757 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23758 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23759 warning by another.
23760
23761 * time-stamp.el (time-stamp-string-preprocess):
23762 Remove unused variable `require-padding'.
23763
23764 * tree-widget.el (widget-glyph-enable): Declare.
23765 (tree-widget-action): Mark unused parameter.
23766
23767 * w32-fns.el (x-get-selection): Mark unused parameter.
23768 (autoload-make-program, generated-autoload-file): Declare.
23769
23770 * wdired.el (wdired-revert): Mark unused parameters.
23771 (wdired-xcase-word): Remove unused variable `err'.
23772
23773 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23774 (whitespace-help-scroll): Remove unused variable `data-help'.
23775
23776 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23777 (widget-image-insert, widget-after-change, default)
23778 (widget-default-format-handler, widget-default-notify)
23779 (widget-default-prompt-value, widget-info-link-action)
23780 (widget-url-link-action, widget-function-link-action)
23781 (widget-variable-link-action, widget-file-link-action)
23782 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23783 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23784 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23785 (widget-insert-button-action, widget-delete-button-action, visibility)
23786 (widget-documentation-link-action, widget-documentation-string-action)
23787 (widget-const-prompt-value, widget-regexp-match, symbol)
23788 (widget-coding-system-prompt-value)
23789 (widget-key-sequence-value-to-external, sexp)
23790 (widget-sexp-value-to-internal, character, vector, cons)
23791 (widget-choice-prompt-value, widget-boolean-prompt-value)
23792 (widget-color--choose-action): Mark unused parameters.
23793 (widget-item-match-inline, widget-choice-match-inline)
23794 (widget-checklist-match, widget-checklist-match-inline)
23795 (widget-group-match): Rename parameter VALUES to VALS.
23796 (widget-field-value-set): Remove unused variable `size'.
23797 (widget-color-action): Remove unused variables `value' and `start'.
23798
23799 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23800 variable `dir'. Doc fix.
23801 (windmove-find-other-window): Don't pass it.
23802
23803 * window.el (count-windows): Mark unused parameter.
23804 (bw-adjust-window): Remove unused variable `err'.
23805
23806 * woman.el (woman-file-name): Remove unused variable `default'.
23807 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23808 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23809 (global-font-lock-mode): Declare.
23810 (woman-decode-region): Mark unused parameter.
23811 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23812
23813 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23814 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23815 (x-dnd-handle-moz-url): Remove unused variable `title'.
23816 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23817
23818 * xml.el (xml-parse-tag, xml-parse-attlist):
23819 Remove unused variable `pos'.
23820
23821 2011-04-19 Glenn Morris <rgm@gnu.org>
23822
23823 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23824 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23825 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23826 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23827 * calendar/cal-html.el (cal-html-insert-minical):
23828 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23829 (calendar-mark-date-pattern):
23830 Prefix "unused" locals.
23831
23832 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23833 optional argument `style'.
23834
23835 * calendar/appt.el (appt-make-list):
23836 * calendar/cal-china.el (calendar-chinese-date-string):
23837 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23838 (diary-hebrew-yahrzeit):
23839 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23840 * calendar/calendar.el (calendar-generate-window):
23841 * calendar/time-date.el (time-to-days):
23842 Remove unused local variables.
23843
23844 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23845
23846 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23847 glyphless-char-display table.
23848 (tabulated-list-glyphless-char-display): New var.
23849
23850 2011-04-18 Sam Steingold <sds@gnu.org>
23851
23852 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23853 to acknowledgments.
23854
23855 2011-04-17 Glenn Morris <rgm@gnu.org>
23856
23857 * calendar/diary-lib.el (diary-sexp-entry):
23858 * calendar/holidays.el (holiday-sexp):
23859 Set debug-on-error rather than the removed stack-trace-on-error.
23860
23861 2011-04-16 Glenn Morris <rgm@gnu.org>
23862
23863 * progmodes/f90.el: Use lexical-binding.
23864 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23865
23866 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23867
23868 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23869 (mail-mode): Setup mailalias completion here instead.
23870 * mail/mailalias.el: Use lexical-binding.
23871 (pattern, mailalias-done): Declare dynamic.
23872 (mail-completion-at-point-function): New function, from mail-complete.
23873 (mail-complete): Use it.
23874 (mail-completion-expand): New function.
23875 (mail-get-names): Use it.
23876 (mail-directory, mail-directory-process, mail-directory-stream):
23877 Don't use `pattern' for lexically bound arg.
23878
23879 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23880
23881 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23882 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23883 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23884
23885 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23886 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23887 (byte-interactive-p): Define them again, for use when inlining
23888 old code.
23889
23890 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23891
23892 * loadup.el: Use `string-to-number', not `string-to-int'.
23893
23894 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23895
23896 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23897 gud-gdb-complete-command.
23898 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23899 (gud-gdb-completion-at-point): New function.
23900 (gud-gdb-completions): Remove.
23901
23902 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23903
23904 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23905 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23906 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23907 whether `executable-find' is bound.
23908
23909 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23910
23911 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23912
23913 * minibuffer.el (completion-in-region-mode-predicate)
23914 (completion-in-region-mode--predicate): New vars.
23915 (completion-in-region, completion-in-region--postch)
23916 (completion-in-region-mode): Use them.
23917 (completion--capf-wrapper): Also return the hook function.
23918 (completion-at-point, completion-help-at-point):
23919 Adjust and provide a predicate.
23920
23921 Preserve arg names for advice of subr and lexical functions (bug#8457).
23922 * help-fns.el (help-function-arglist): Consolidate the subr and
23923 new-byte-code cases. Add argument `preserve-names' to extract names
23924 from the docstring when needed.
23925 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23926 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23927 (ad-arglist): Use help-function-arglist's new arg.
23928 (ad-definition-type): Use cond.
23929
23930 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23931
23932 * autorevert.el (auto-revert-handler):
23933 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23934 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23935 Don't quote lambda.
23936
23937 * image-mode.el (image-transform-set-scale):
23938 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23939
23940 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23941
23942 * net/network-stream.el (network-stream-open-starttls): Only do
23943 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23944 Upgrades via gnutls-cli are too slow to be done opportunistically.
23945
23946 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23947
23948 * dframe.el (dframe-current-frame): Remove spurious quote.
23949
23950 2011-04-12 Glenn Morris <rgm@gnu.org>
23951
23952 * calendar/cal-tex.el (cal-tex-end-document):
23953 Try to automatically use latin1 input if needed.
23954
23955 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23956 Don't try to cons a mark onto an empty element.
23957
23958 2011-04-11 Leo Liu <sdl.web@gmail.com>
23959
23960 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23961 buffers.
23962 (ido-kill-buffer-at-head): Support killing virtual buffers.
23963
23964 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23965
23966 * minibuffer.el (completion-show-inline-help): New var.
23967 (completion--do-completion, minibuffer-complete)
23968 (minibuffer-force-complete, minibuffer-complete-word):
23969 Inhibit minibuffer messages if completion-show-inline-help is nil.
23970
23971 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23972 to avoid interference from inline help (Bug#5849).
23973
23974 2011-04-10 Leo Liu <sdl.web@gmail.com>
23975
23976 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23977 Fix typo.
23978
23979 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23980
23981 * image-mode.el (image-toggle-display-image): Signal an error if
23982 not in Image mode.
23983 (image-transform-mode, image-transform-resize)
23984 (image-transform-set-rotation): Doc fix.
23985 (image-transform-set-resize): Delete.
23986 (image-transform-set-scale, image-transform-fit-to-height)
23987 (image-transform-fit-to-width): Handle image-toggle-display-image
23988 and image-transform-resize directly.
23989
23990 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23991
23992 * doc-view.el (doc-view-fit-width-to-window)
23993 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23994 New functions for fitting the shown image to the Emacs window size.
23995 (doc-view-mode-map): Add bindings for the new functions.
23996
23997 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23998
23999 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24000 Fix typo in docstring.
24001
24002 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24003
24004 * files.el (file-size-human-readable): Produce one digit after
24005 decimal, like "ls -lh" does.
24006
24007 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24008 the file size representation.
24009
24010 * simple.el (list-processes): If async subprocesses are not
24011 available, error out with a clear error message.
24012
24013 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24014
24015 * help.el (help-form-show): New function, to be called from C.
24016 Put help-form output in a buffer named differently than *Help*.
24017
24018 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24019
24020 * files.el (file-size-human-readable): New function.
24021
24022 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24023 computing the representation inline. Don't require `cl'.
24024
24025 2011-04-08 Glenn Morris <rgm@gnu.org>
24026
24027 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24028
24029 * net/browse-url.el (browse-url-firefox):
24030 Test system-type, not system-configuration.
24031
24032 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24033 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24034 Use log-edit-empty-buffer-p. (Bug#7598)
24035
24036 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24037 (rlogin-mode-map): Initialize in the defvar.
24038 (rlogin): Use ignore-errors.
24039
24040 * replace.el (occur-mode-map): Some fixes for menu items.
24041
24042 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24043
24044 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24045
24046 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24047
24048 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24049 issuing unused warnings.
24050
24051 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24052 macro directly.
24053
24054 * simple.el: Lisp reimplement of list-processes. Based on an
24055 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24056 (process-menu-mode): New major mode.
24057 (list-processes--refresh, list-processes):
24058 (process-menu-visit-buffer): New functions.
24059
24060 * files.el (save-buffers-kill-emacs): Don't assume any return
24061 value of list-processes, which is undocumented anyway.
24062
24063 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24064
24065 * emacs-lisp/tabulated-list.el: New file.
24066
24067 * emacs-lisp/package.el: Use Tabulated List mode.
24068 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24069 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24070 table format using Tabulated List mode variables.
24071 (package--push): New macro, replacing package-list-maybe-add.
24072 (package-menu--generate): Use package--push. Renamed from
24073 package--generate-package-list.
24074 (package-menu-refresh, list-packages): Use it.
24075 (package-menu--print-info): Rename from package-print-package.
24076 Return insertion data instead of inserting it directly.
24077 (package-menu-describe-package, package-menu-execute):
24078 Use tabulated-list-get-id.
24079 (package-menu-mark-delete, package-menu-mark-install)
24080 (package-menu-mark-unmark, package-menu-backup-unmark)
24081 (package-menu-mark-obsolete-for-deletion):
24082 Use tabulated-list-put-tag.
24083 (package--list-packages, package-menu-revert)
24084 (package-menu-get-package, package-menu-get-version)
24085 (package-menu-sort-by-column): Functions deleted.
24086 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24087 (package-menu--status-predicate, package-menu--version-predicate)
24088 (package-menu--name-predicate)
24089 (package-menu--description-predicate): Handle arguments in the
24090 Tabulated List format.
24091 (package-list-packages-no-fetch): Call list-packages.
24092
24093 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24094
24095 * files.el (after-find-file-from-revert-buffer): Remove variable.
24096 (after-find-file): Don't bind it.
24097 (revert-buffer-in-progress-p): New variable.
24098 (revert-buffer): Bind it.
24099 Pass nil for `after-find-file-from-revert-buffer'.
24100
24101 * saveplace.el (save-place-find-file-hook): Use new variable
24102 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24103
24104 2011-04-06 Glenn Morris <rgm@gnu.org>
24105
24106 * Makefile.in (AUTOGEN_VCS): New variable.
24107 (autoloads): Use $AUTOGEN_VCS.
24108
24109 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24110 * calendar/calendar.el (calendar-mode-map):
24111 Check for toolkit scroll bars. (Bug#8305)
24112
24113 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24114
24115 * minibuffer.el (completion-in-region--postch)
24116 (completion-in-region-mode): Remove unnecessary messages.
24117
24118 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24119
24120 * font-lock.el (font-lock-refresh-defaults):
24121 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24122 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24123
24124 * info.el (Info-directory-list, Info-read-node-name-2)
24125 (Info-split-parameter-string): Doc fixes.
24126 (Info-virtual-nodes): Reflow docstring.
24127 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24128 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24129 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24130 Fix typos in docstrings.
24131 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24132 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24133 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24134 (Info-restore-desktop-buffer): Mark unused parameters.
24135 (Info-directory-find-file, Info-directory-find-node)
24136 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24137 (Info-virtual-index-find-node, Info-apropos-find-file)
24138 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24139 Mark unused parameters; fix typos in docstrings.
24140 (Info-virtual-index): Remove unused local variable `nodename'.
24141
24142 2011-04-05 Deniz Dogan <deniz@dogan.se>
24143
24144 * net/rcirc.el: Update my e-mail address.
24145 (rcirc-mode-map): Remove M-o binding.
24146
24147 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24148
24149 * startup.el (command-line): Save the cursor's theme-face
24150 directly, instead of using face-override-spec.
24151
24152 * custom.el (load-theme): Minor optimization in assigning faces.
24153
24154 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24155
24156 * help-fns.el (describe-variable): Complete all variables having
24157 documentation, including keywords.
24158 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24159
24160 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24161
24162 Convert to lexical-binding.
24163
24164 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24165 (bs--get-marked-string, bs--get-modified-string)
24166 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24167 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24168 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24169
24170 * ehelp.el (electric-help-execute-extended)
24171 (electric-help-ctrl-x-prefix):
24172 * hexl.el (hexl-revert-buffer-function):
24173 * linum.el (linum-after-change, linum-after-scroll):
24174 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24175
24176 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24177
24178 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24179
24180 * epa-dired.el:
24181 * epa-mail.el:
24182 * epa-hook.el:
24183 * epa-file.el:
24184 * epa.el:
24185 * epg.el: Use lexical binding.
24186
24187 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24188
24189 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24190
24191 * textmodes/flyspell.el (flyspell-word): Recognize default
24192 dictionary case for flyspell-mark-duplications-exceptions.
24193 Use regexp matching for languages.
24194 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24195 default dictionary (Bug#7926).
24196
24197 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24198
24199 * emacs-lisp/package.el (package--with-work-buffer):
24200 Recognize https URLs.
24201
24202 * net/network-stream.el: Move from gnus/proto-stream.el.
24203 Change prefix to network-stream throughout.
24204 (open-protocol-stream): Merge into open-network-stream, leaving
24205 open-protocol-stream as an alias. Handle nil BUFFER args.
24206
24207 * subr.el (open-network-stream): Move to net/network-stream.el.
24208
24209 2011-04-02 Glenn Morris <rgm@gnu.org>
24210
24211 * find-dired.el (find-exec-terminator): New option.
24212 (find-ls-option): Test for -ls support.
24213 (find-ls-subdir-switches): Test for -b in find-ls-option.
24214 (find-dired, find-grep-dired): Doc fixes.
24215 (find-dired): Use find-exec-terminator.
24216
24217 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24218 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24219 (find-name-arg): Remove purecopy.
24220
24221 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24222 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24223 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24224 accordingly. Don't add the null-device if not needed.
24225
24226 * files.el (save-some-buffers): Doc fix.
24227
24228 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24229
24230 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24231
24232 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24233
24234 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24235 Use `dolist' rather than `mapcar'.
24236
24237 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24238
24239 Add lexical binding.
24240
24241 * subr.el (apply-partially): Use new closures rather than CL.
24242 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24243 (dolist, dotimes): Use slightly different expansion for lexical code.
24244 (functionp): Move to C.
24245 (letrec): New macro.
24246 (with-wrapper-hook): Use it and apply-partially instead of CL.
24247 (eval-after-load): Preserve lexical-binding.
24248 (save-window-excursion, with-output-to-temp-buffer): Turn them
24249 into macros.
24250
24251 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24252
24253 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24254 than the arglist.
24255 (help-add-fundoc-usage): Don't add `Not documented'.
24256 (help-function-arglist): Handle closures, subroutines, and new
24257 byte-code-functions.
24258 (help-make-usage): Remove leading underscores.
24259 (describe-function-1): Handle closures.
24260 (describe-variable): Use special-variable-p for completion.
24261
24262 * files.el (lexical-binding): Declare safe.
24263
24264 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24265 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24266 (pcase): Add `let' pattern.
24267 Change memoization so it actually works.
24268 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24269 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24270 <let>: New case.
24271
24272 * emacs-lisp/macroexp.el: Use lexical binding.
24273 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24274 Don't convert ' to #' without checking that it's indeed quoting
24275 a lambda.
24276
24277 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24278 Use eval-sexp-add-defvars.
24279 (eval-sexp-add-defvars): New fun.
24280
24281 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24282
24283 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24284 Don't autoload.
24285 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24286 than the internal `byte-compile-lambda'.
24287 (defmethod): Don't hide code under quotes.
24288 (eieio-defmethod): New `code' argument.
24289
24290 * emacs-lisp/eieio-comp.el: Remove.
24291
24292 * emacs-lisp/edebug.el (edebug-eval-defun)
24293 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24294 (edebug-toggle): Avoid `eval'.
24295
24296 * emacs-lisp/disass.el (disassemble-internal): Handle new
24297 `closure' objects.
24298 (disassemble-1): Handle new byte codes.
24299
24300 * emacs-lisp/cl.el (pushnew): Silence warning.
24301
24302 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24303 (cl-byte-compile-throw): Remove.
24304 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24305
24306 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24307 closures.
24308
24309 * emacs-lisp/cconv.el: New file.
24310
24311 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24312 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24313 (byte-compile-initial-macro-environment):
24314 Handle declare-function here.
24315 (byte-compile--lexical-environment): New var.
24316 (byte-stack-ref, byte-stack-set, byte-discardN)
24317 (byte-discardN-preserve-tos): New lap codes.
24318 (byte-interactive-p): Don't use any more.
24319 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24320 New macros.
24321 (byte-compile-lapcode): Use them and handle new lap codes.
24322 (byte-compile-obsolete): Remove.
24323 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24324 (byte-compile-arglist-warn): Check late def of inlinable funs.
24325 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24326 since they should have been expanded by now.
24327 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24328 (byte-compile-from-buffer): Remove unused second arg.
24329 (byte-compile-preprocess): New function.
24330 (byte-compile-toplevel-file-form): New function to distinguish
24331 file-form calls from outside from file-form calls from hunk-handlers.
24332 (byte-compile-file-form): Simplify.
24333 (byte-compile-file-form-defsubst): Remove.
24334 (byte-compile-file-form-defmumble): Simplify now that
24335 byte-compile-lambda always returns a byte-code-function.
24336 (byte-compile): Preprocess.
24337 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24338 Remove, not used any more.
24339 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24340 (byte-compile-make-args-desc): New funs.
24341 (byte-compile-lambda): Handle lexical functions. Always return
24342 a byte-code-function.
24343 (byte-compile-reserved-constants): New var, to make up room for
24344 closed-over variables.
24345 (byte-compile-constants-vector): Obey it.
24346 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24347 (byte-compile-macroexpand-declare-function): New function.
24348 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24349 byte-code-functions.
24350 (byte-compile-form): Check obsolescence here.
24351 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24352 (byte-compile-variable-ref): Remove.
24353 (byte-compile-dynamic-variable-op): New fun.
24354 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24355 (byte-compile-variable-set): New funs.
24356 (byte-compile-discard): Add 2 args.
24357 (byte-compile-stack-ref, byte-compile-stack-set)
24358 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24359 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24360 macroexpand-all instead.
24361 (byte-compile-quote-form): Remove.
24362 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24363 (byte-compile-bind, byte-compile-unbind): New funs.
24364 (byte-compile-let): Handle let* and lexical binding.
24365 (byte-compile-let*): Remove.
24366 (byte-compile-catch, byte-compile-unwind-protect)
24367 (byte-compile-track-mouse, byte-compile-condition-case):
24368 Handle a new :fun-body form, used for lexical scoping.
24369 (byte-compile-save-window-excursion)
24370 (byte-compile-with-output-to-temp-buffer): Remove.
24371 (byte-compile-defun): Simplify.
24372 (byte-compile-stack-adjustment): New fun.
24373 (byte-compile-out): Use it.
24374 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24375
24376 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24377 handler any more.
24378
24379 * emacs-lisp/byte-opt.el: Use lexical binding.
24380 (byte-inline-lapcode): Remove (to bytecomp).
24381 (byte-compile-inline-expand): Pay attention to inlining to/from
24382 lexically bound code.
24383 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24384 any more.
24385 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24386 any more and don't call compiler-macros.
24387 (byte-compile-splice-in-already-compiled-code): Remove.
24388 (byte-code): Don't inline any more.
24389 (disassemble-offset): Receive `bytes' as argument rather than via
24390 dynamic scoping.
24391 (byte-compile-tag-number): Declare before first use.
24392 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24393 `return' even if make-spliceable.
24394 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24395 obsolete interactive-p.
24396 (byte-optimize-lapcode): Optimize new lap-codes.
24397 Don't trip up on new form of `byte-constant' lap code.
24398
24399 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24400
24401 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24402
24403 * custom.el (custom-initialize-default, custom-declare-variable):
24404 Use `defvar'.
24405
24406 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24407 New variables.
24408 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24409 (COMPILE_FIRST): Add macroexp and cconv.
24410 * makefile.w32-in: Mirror changes in Makefile.in.
24411
24412 * vc/cvs-status.el:
24413 * vc/diff-mode.el:
24414 * vc/log-edit.el:
24415 * vc/log-view.el:
24416 * vc/smerge-mode.el:
24417 * textmodes/bibtex-style.el:
24418 * textmodes/css-mode.el:
24419 * startup.el:
24420 * uniquify.el:
24421 * minibuffer.el:
24422 * newcomment.el:
24423 * reveal.el:
24424 * server.el:
24425 * mpc.el:
24426 * emacs-lisp/smie.el:
24427 * doc-view.el:
24428 * dired.el:
24429 * abbrev.el: Use lexical binding.
24430
24431 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24432
24433 * info.el (info-display-manual): New function.
24434
24435 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24436
24437 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24438
24439 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24440
24441 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24442 an entry for that server in rcirc-authinfo. (Bug#8385)
24443
24444 2011-03-31 Glenn Morris <rgm@gnu.org>
24445
24446 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24447
24448 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24449
24450 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24451
24452 * progmodes/python.el (python-default-interpreter)
24453 (python-python-command-args, python-jython-command-args)
24454 (python-which-shell, python-which-args, python-which-bufname)
24455 (python-file-queue, python-comint-output-filter-function)
24456 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24457 variables and functions.
24458
24459 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24460
24461 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24462 (completion-in-region-mode): New minor mode.
24463 (completion-in-region): Use it.
24464 (completion-in-region--data, completion-in-region-mode-map): New vars.
24465 (completion-in-region--postch): New function.
24466 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24467 New vars.
24468 (completion--capf-wrapper): New function.
24469 (completion-at-point): Use it to track well-behavedness of
24470 hook functions.
24471 (completion-help-at-point): New command.
24472
24473 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24474
24475 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24476 syntax class to search for whitespace on a single line
24477 (Message-ID: <4D938140.4030905@redhat.com>).
24478
24479 2011-03-30 Leo Liu <sdl.web@gmail.com>
24480
24481 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24482 New commands.
24483 (edit-abbrevs-map): Bind them here.
24484 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24485
24486 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24487
24488 * allout.el (allout-hide-by-annotation, allout-flag-region):
24489 Reduce possibility of overlay leakage by making them volatile.
24490
24491 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24492 hash is not shared between buffers. Mode initialization is
24493 responsible for giving it a useful starting value.
24494 (allout-item-span): Reduce possibility of overlay leakage by
24495 making them volatile.
24496 (allout-widgets-count-buttons-in-region): Add diagnostic function
24497 for tracking down button overlay leaks.
24498
24499 2011-03-29 Leo Liu <sdl.web@gmail.com>
24500
24501 * ido.el (ido-read-internal): Use the default history var
24502 minibuffer-history if no HISTORY is specified.
24503
24504 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24505
24506 * net/imap.el (imap-shell-open, imap-process-connection-type):
24507 Use imap-process-connection-type for 'shell' streams as well as
24508 Kerberos, SSL, other subprocesses.
24509
24510 2011-03-28 Leo Liu <sdl.web@gmail.com>
24511
24512 * abbrev.el (abbrev-table-empty-p): New function.
24513 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24514 nonempty ones. (Bug#5937)
24515
24516 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24517
24518 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24519
24520 2011-03-27 Leo Liu <sdl.web@gmail.com>
24521
24522 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24523 for foreground and background colors.
24524 (ansi-color-make-color-map): Adapt.
24525
24526 2011-03-25 Leo Liu <sdl.web@gmail.com>
24527
24528 * midnight.el (midnight-time-float): Remove. Note it calculates
24529 the microsecond component incorrectly and seconds-to-time does the
24530 same job.
24531 Remove redundant (require 'timer).
24532
24533 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24534 (ido-completions): Remove unused arguments. (Bug#8329)
24535
24536 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24537
24538 * minibuffer.el (completion--flush-all-sorted-completions):
24539 Remove itself from hook.
24540 (completion-at-point): Let the functions perform the completion
24541 immediately and return nil or t.
24542 * comint.el (comint-dynamic-complete-functions): Now identical to
24543 completion-at-point-functions.
24544 (comint-dynamic-list-input-ring): Remove unused var `index'.
24545 (comint--match-partial-filename, comint--unquote&expand-filename):
24546 New funs, split from comint-match-partial-filename.
24547 (comint-dynamic-complete): Use completion-at-point.
24548 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24549
24550 2011-03-24 Drew Adams <drew.adams@oracle.com>
24551
24552 * thingatpt.el: Support `defun'.
24553
24554 2011-03-23 Leo Liu <sdl.web@gmail.com>
24555
24556 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24557
24558 * help-mode.el (help-mode-finish): Tweak regexp.
24559
24560 2011-03-23 Glenn Morris <rgm@gnu.org>
24561
24562 * eshell/esh-opt.el (eshell-eval-using-options):
24563 Do not bind unused local variable `eshell-option-stub'.
24564
24565 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24566
24567 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24568
24569 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24570 keymap variable in `with-no-warnings' to avoid a warning when the
24571 keymap has been already `defconst'ed.
24572
24573 2011-03-22 Leo Liu <sdl.web@gmail.com>
24574
24575 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24576 encode all chars in abbrevs; otherwise use emacs-mule or
24577 utf-8-emacs. (Bug#8308)
24578
24579 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24580
24581 * simple.el (backward-delete-char-untabify):
24582 Avoid warning about using `delete-backward-char'.
24583
24584 * image.el (image-type-file-name-regexps): Make it variable.
24585 `imagemagick-register-types' modifies it, and the user may want
24586 to add new extensions for known image types.
24587 (imagemagick-register-types): Throw error if not using ImageMagick.
24588
24589 2011-03-22 Leo Liu <sdl.web@gmail.com>
24590
24591 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24592 located before rcirc-prompt-end-marker.
24593 (rcirc-complete): Error if point is not after rcirc prompt.
24594 Handle the case when table is nil.
24595 (rcirc-user-authenticated): Define to fix compiler warning.
24596
24597 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24598
24599 * custom.el (custom--inhibit-theme-enable): Make it affect only
24600 custom-theme-set-variables and custom-theme-set-faces.
24601 (provide-theme): Ignore custom--inhibit-theme-enable.
24602 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24603 (custom-enabling-themes): Delete variable.
24604 (enable-theme): Accept only loaded themes as arguments.
24605 Ignore the special custom-enabled-themes variable.
24606 (custom-enabled-themes): Forbid themes from setting this.
24607 Eliminate use of custom-enabling-themes.
24608 (custom-push-theme): Quote "changed" custom var entry.
24609
24610 2011-03-21 Leo Liu <sdl.web@gmail.com>
24611
24612 * ido.el (ido-read-internal): Add ido-selected to history instead
24613 of user input.
24614
24615 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24616
24617 * subr.el (deferred-action-list, deferred-action-function):
24618 Mark obsolete.
24619
24620 2011-03-21 Leo Liu <sdl.web@gmail.com>
24621
24622 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24623 change on 2011-02-13 (bug#8309).
24624
24625 * minibuffer.el (read-file-name-function): Change default value.
24626 (read-file-name--defaults): Rename from read-file-name-defaults.
24627 (read-file-name-default): Rename from read-file-name.
24628 (read-file-name): Call read-file-name-function.
24629
24630 2011-03-21 Glenn Morris <rgm@gnu.org>
24631
24632 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24633 Doc fixes.
24634
24635 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24636
24637 * cus-theme.el: Add missing provide statement.
24638 (customize-create-theme): Extract theme value correctly.
24639 (custom-theme-visit-theme): Autoload.
24640 (customize-create-theme): Prompt before inserting default faces.
24641
24642 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24643
24644 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24645 units and musical notes.
24646
24647 2011-03-20 Leo Liu <sdl.web@gmail.com>
24648
24649 * ido.el (ido-read-internal): Use completing-read-default.
24650 (ido-completing-read): Fix compatibility with completing-read.
24651
24652 2011-03-20 Christian Ohler <ohler@gnu.org>
24653
24654 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24655 (ert-delete-all-tests): Use `called-interactively-p' rather than
24656 `interactive-p'.
24657 (ert--make-xrefs-region): Respect END.
24658
24659 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24660
24661 * dired-aux.el (dired-create-directory): Signal an error if the
24662 directory already exists (Bug#8246).
24663
24664 * facemenu.el (list-colors-display): Call list-faces-display
24665 inside with-help-window.
24666 (list-colors-print): Use display property to align the final
24667 column, instead of checking window-width.
24668
24669 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24670
24671 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24672 windows-nt systems.
24673 (emerge-protect-metachars): Quote correctly for ms-dos and
24674 windows-nt systems.
24675
24676 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24677
24678 * info.el (info-initialize): Replace all uses of `:' with
24679 path-separator for compatibility with non-Unix systems.
24680 Cache quoting of path-separator. (Bug#8258)
24681
24682 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24683
24684 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24685 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24686 (mouse-avoidance-mode): Fix typos in docstrings.
24687
24688 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24689
24690 * startup.el (package-subdirectory-regexp): Move from package.el.
24691 Omit \\` and \\', and let callers add them.
24692
24693 * emacs-lisp/package.el (package-strip-version)
24694 (package-load-all-descriptors): Add \\` and \\' to
24695 package-subdirectory-regexp before using it.
24696 (package-untar-buffer): New arg DIR; ensure that file untars only
24697 into this expected directory. Remove superfluous delete-region.
24698 (package-unpack): Caller changed.
24699 (package-tar-file-info): Use package-subdirectory-regexp.
24700
24701 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24702
24703 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24704 diff-mode-shared-map (bug#8284).
24705 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24706
24707 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24708
24709 * calendar/time-date.el (format-seconds): Use assoc instead of
24710 assoc-string, since assoc-string doesn't exist in XEmacs.
24711
24712 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24713
24714 * custom.el (custom-known-themes): Reflow docstring.
24715 (custom-theme-load-path): Fix typo in docstring.
24716 (load-theme): Fix typo in error message.
24717 (custom-available-themes, custom-variable-theme-value):
24718 Use `let', not `let*'.
24719
24720 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24721
24722 * calc/README: Mention inclusion of musical notes.
24723
24724 * calc/calc-units.el (calc-lu-quant): Rename from
24725 `calc-logunits-quantity'.
24726 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24727 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24728 (calc-db): Rename from `calc-dblevel'.
24729 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24730 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24731 (calc-np): Rename from `calc-nplevel'.
24732 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24733 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24734 (calc-lu-plus): Rename from `calc-logunits-add'.
24735 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24736 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24737 (calc-lu-minus): Rename from `calc-logunits-sub'.
24738 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24739 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24740 (calc-lu-times): Rename from `calc-logunits-mul'.
24741 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24742 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24743 (calc-lu-divide): Rename from `calc-logunits-div'.
24744 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24745 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24746
24747 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24748 functions being autoloaded.
24749
24750 * calc/calc.el (calc-lu-power-reference): Rename from
24751 `calc-logunits-power-reference'.
24752 (calc-lu-field-reference): Rename from
24753 `calc-logunits-field-reference'.
24754
24755 * calc/calc-help.el (calc-l-prefix-help):
24756 Mention musical note functions.
24757
24758 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24759
24760 * minibuffer.el (completion-all-sorted-completions):
24761 Use :completion-cycle-penalty text property if present.
24762
24763 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24764
24765 * allout.el (allout-yank-processing): Adjust for new rebulleting
24766 regime so bullet being yanked is used without prompting the user
24767 for a choice.
24768
24769 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24770
24771 * startup.el (command-line): Warn the user that _emacs is deprecated.
24772
24773 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24774
24775 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24776 (delphi-verbose, delphi-comment-face, delphi-string-face)
24777 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24778 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24779 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24780 (delphi-new-comment-line, delphi-font-lock-defaults)
24781 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24782 Fix typos in docstrings.
24783
24784 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24785
24786 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24787 Invert the roles of character and string values for INSTEAD, so a
24788 string is used for the more common case of a defaulting prompt.
24789
24790 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24791
24792 * progmodes/ruby-mode.el (ruby-backward-sexp):
24793 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24794 * play/gamegrid.el (gamegrid-make-face):
24795 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24796 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24797 * notifications.el (notifications-notify):
24798 * net/xesam.el (xesam-search-engines):
24799 * net/quickurl.el (quickurl-list-insert):
24800 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24801
24802 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24803
24804 * startup.el (command-line): Update package subdirectory regexp.
24805
24806 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24807
24808 * allout.el (allout-abbreviate-flattened-numbering)
24809 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24810
24811 * subr.el (read-char-choice): Only show the cursor after the prompt,
24812 not after the answer.
24813
24814 2011-03-15 Kevin Ryde <user42@zip.com.au>
24815
24816 * help-fns.el (variable-at-point): Skip leading quotes, if any
24817 (bug#8253).
24818
24819 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24820
24821 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24822 warning message.
24823
24824 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24825
24826 * shell.el (shell): When called interactively, offer to change the
24827 shell file name on remote hosts.
24828
24829 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24830
24831 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24832 integration for LDAP parameters. The host, base, user or binddn,
24833 and secret tokens can be specified in a netrc file, for instance.
24834 This is optional because an `auth-source' parameter must be
24835 specified in the search attributes.
24836
24837 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24838
24839 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24840
24841 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24842
24843 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24844 into declaration. Remove redundant and harmful binding.
24845
24846 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24847
24848 * files.el (file-ownership-preserved-p): Pass `integer' as an
24849 explicit 2nd argument to `file-attributes'. If the file's owner
24850 is the Administrators group on Windows, and the current user is
24851 Administrator, consider that a match.
24852
24853 * server.el (server-ensure-safe-dir): Consider server directory
24854 safe on MS-Windows if its owner is the Administrators group while
24855 the current Emacs user is Administrator. Use `=' to compare
24856 numerical UIDs, since they could be integers or floats.
24857
24858 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24859
24860 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24861
24862 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24863
24864 Sync with Tramp 2.2.1.
24865
24866 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24867
24868 * net/trampver.el: Update release number.
24869
24870 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24871
24872 * progmodes/compile.el (compilation--previous-directory): Fix up
24873 various nil/dead-marker mismatches (bug#8014).
24874 (compilation-directory-properties, compilation-error-properties):
24875 Don't call it at a position past the one we're about to change.
24876
24877 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24878 Disable obsolescence warnings in the file that declares it.
24879
24880 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24881
24882 * allout-widgets.el (allout-widgets-tally):
24883 Initialize allout-widgets-tally as a hash table rather than nil to
24884 prevent mode-line redisplay warnings. Also, clarify the module
24885 description and fix a comment typo.
24886
24887 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24888
24889 * help-fns.el (describe-variable): Don't complete keywords.
24890 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24891
24892 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24893
24894 * emacs-lisp/package.el (package-version-join): Impose a standard
24895 string representation for pre/alpha/beta version lists.
24896 (package-unpack-single): Standardize the directory name by passing
24897 it through package-version-join.
24898 (package-strip-rcs-id): Accept any version string that does not
24899 signal an error in version-to-list.
24900
24901 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24902
24903 * simple.el (delete-trailing-whitespace): Return nil for the
24904 benefit of `write-file-functions'.
24905
24906 2011-03-10 Glenn Morris <rgm@gnu.org>
24907
24908 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24909
24910 * vc/vc-git.el (vc-git-program): New option.
24911 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24912 (vc-git--call): Use it.
24913
24914 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24915
24916 * cus-edit.el (Custom-newline): If no button at point, look
24917 for a subgroup button at start-of-line. (Bug#2298)
24918
24919 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24920
24921 2011-03-10 Julien Danjou <julien@danjou.info>
24922
24923 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24924 `cursor-type' is nil.
24925
24926 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24927
24928 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24929
24930 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24931
24932 * allout.el: Change so yank of distinctive-bullet items
24933 preserves the existing header prefix, rebulleting it if necessary,
24934 rather than replacing it. This is necessary for proper operation
24935 of cooperative addons like allout-widgets.
24936 (allout-make-topic-prefix, allout-rebullet-heading):
24937 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24938 value as alternate bullet to be used, instead of prompting the user
24939 for a bullet character.
24940
24941 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24942
24943 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24944 Do not use `tramp-file-name-port', because this returns also
24945 `tramp-default-port'.
24946
24947 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24948
24949 * net/rcirc.el (rcirc-handler-001): Remove useless
24950 with-rcirc-process-buffer.
24951 (rcirc-check-auth-status): Swap arguments to string-match.
24952
24953 2011-03-09 Glenn Morris <rgm@gnu.org>
24954
24955 * shell.el (shell-mode):
24956 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24957
24958 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24959 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24960
24961 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24962
24963 * emacs-lisp/package.el (package-refresh-contents)
24964 (package-menu-execute): Use condition-case-no-debug.
24965
24966 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24967
24968 * simple.el (shell-command-to-string): Use `process-file'.
24969
24970 * emacs-lisp/package.el (package-tar-file-info): Handle also
24971 remote files.
24972
24973 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24974 Use `equal' for upload base check.
24975
24976 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24977
24978 * textmodes/texinfo.el (texinfo-environments):
24979 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24980
24981 2011-03-08 Glenn Morris <rgm@gnu.org>
24982
24983 * cus-start.el (cursor-in-non-selected-windows):
24984 Fix :set quoting oddness. (Bug#8192)
24985
24986 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24987 in some setf expressions. (Bug#2159)
24988
24989 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24990
24991 * custom.el (custom-available-themes): Return themes in
24992 alphabetical order.
24993
24994 See ChangeLog.15 for earlier changes.
24995
24996 ;; Local Variables:
24997 ;; coding: utf-8
24998 ;; End:
24999
25000 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25001
25002 This file is part of GNU Emacs.
25003
25004 GNU Emacs is free software: you can redistribute it and/or modify
25005 it under the terms of the GNU General Public License as published by
25006 the Free Software Foundation, either version 3 of the License, or
25007 (at your option) any later version.
25008
25009 GNU Emacs is distributed in the hope that it will be useful,
25010 but WITHOUT ANY WARRANTY; without even the implied warranty of
25011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25012 GNU General Public License for more details.
25013
25014 You should have received a copy of the GNU General Public License
25015 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.