]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
[gnu-emacs] / lisp / ChangeLog
1 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
4 (tramp-adb-handle-process-file): Remove superfluous setting.
5 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
6 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
7 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
8
9 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
10
11 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
12 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
13 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
14 Use dict-key rather than dict-name for the error message.
15
16 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17
18 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
19 when reverting (bug#13831).
20
21 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22
23 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
24 Always expand affix-file before storing to protect against changed
25 `default-directory'.
26 (ispell-print-if-debug): Make sure message is printed at the end
27 of the debug buffer.
28
29 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
30
31 * net/tramp.el (tramp-obsolete-methods): New defconst.
32 (tramp-warned-obsolete-methods): New defvar.
33 (tramp-find-method): Check for obsolete methods. Map them to a
34 replacement method if appropriate.
35
36 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
37 Remove methods.
38 (top): Remove completion functions for "scp1", "scp2", "ssh1",
39 "ssh2" and "plink1".
40
41 2013-02-28 Dale Sedivec <dale@codefu.org>
42
43 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
44 Return valid syntax-table property value when converting
45 quotes within text from string syntax to punctuation syntax (bug#13844).
46
47 2013-02-28 Juri Linkov <juri@jurta.org>
48
49 * dired-aux.el (dired-diff): If file at point is a backup file,
50 use its original as the default value, and reverse the order
51 of arguments to the `diff' call. Doc fix. (Bug#13772)
52
53 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
54
55 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
56 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
57
58 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
59
60 Initial support for hunspell dictionaries auto-detection (Bug#13639)
61
62 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
63 Ask hunspell about available and default dictionaries.
64 (ispell-parse-hunspell-affix-file): Extract relevant info from
65 hunspell affix file.
66 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
67 `ispell-dictionary-alist' entry for given dictionary after info
68 provided by `ispell-parse-hunspell-affix-file'.
69 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
70 of parsed hunspell dicts and associated affix files.
71 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
72 of parsed hunspell dicts and associated parameters.
73 (ispell-set-spellchecker-params):
74 Call `ispell-find-hunspell-dictionaries' if hunspell and not
75 previously done.
76 (ispell-start-process):
77 Call `ispell-hunspell-fill-dictionary-entry' for current
78 dictionary if it is not initialized.
79
80 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
81
82 * imenu.el: Comment nitpicks.
83
84 2013-02-28 Sam Steingold <sds@gnu.org>
85
86 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
87 See <http://stackoverflow.com/questions/14720205>.
88
89 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
90
91 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
92 (net-utils-mode): Use it.
93 (net-utils--revert-cmd): New var.
94 (net-utils-run-simple): Set it, and remove bogus interactive spec.
95 (traceroute): Use net-utils-run-simple.
96
97 2013-02-28 Glenn Morris <rgm@gnu.org>
98
99 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
100
101 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
102
103 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
104 (doc-view-fallback-mode): Remove overlays here.
105 (doc-view-toggle-display): Instead of here. Don't throw away
106 image-mode-winprops-alist.
107 (doc-view-goto-page): Don't mess with hscroll.
108
109 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
110
111 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
112 &optional (bug#13819).
113
114 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
115
116 * net/tramp-adb.el (tramp-adb-parse-device-names)
117 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
118
119 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
120
121 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
122 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
123 defined. POSIX environments fall back to the "C" locale then and
124 emit a warning, which shall be suppressed.
125
126 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
127
128 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
129 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
130
131 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
132
133 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
134
135 2013-02-25 Juri Linkov <juri@jurta.org>
136
137 * replace.el (read-regexp): Let-bind `default' to the first
138 element of `defaults' if it's a list, otherwise it should be
139 a string or nil. Let-bind `suggestions' to `defaults' if it's
140 a list, otherwise make a list with the string value. Doc fix.
141 (Bug#13805)
142
143 2013-02-25 Eli Zaretskii <eliz@gnu.org>
144
145 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
146 that match "\`\.#", to avoid compiling lock files, even if they
147 are readable (as they are on MS-Windows).
148
149 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
150
151 * files.el (basic-save-buffer): Remove redundant directory-creation.
152
153 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
154
155 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
156 Add option to force `pi' to remain symbolic.
157 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
158 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
159 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
160 derivatives, when necessary.
161
162 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
163
164 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
165 (ps-mode-octal-region): Use string-make-unibyte.
166
167 2013-02-23 Glenn Morris <rgm@gnu.org>
168
169 * emulation/viper-cmd.el (viper-submit-report):
170 * progmodes/ps-mode.el (ps-mode-maintainer-address):
171 * progmodes/vera-mode.el (vera-mode-help-address):
172 * textmodes/artist.el (artist-maintainer-address):
173 * textmodes/reftex.el (reftex-report-bug):
174 * vc/ediff-util.el (ediff-submit-report):
175 Add bug-gnu-emacs to bug report address.
176
177 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
178 Remove bug report entries.
179 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
180
181 * emacs-lisp/bytecomp.el (byte-compile-level): New.
182 (byte-compile-file, byte-compile-from-buffer):
183 Use separate input/output buffers for each level of recursive
184 byte-compile-file calls. (Bug#13787)
185
186 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
187
188 * net/tramp.el (tramp-methods): Fix docstring.
189 (tramp-ssh-controlmaster-options): Rename it from
190 `tramp-ssh-controlmaster-template'. Return a string.
191 (tramp-default-method): Adapt check for
192 `tramp-ssh-controlmaster-options'.
193
194 * net/tramp-sh.el (tramp-methods):
195 Replace `tramp-ssh-controlmaster-template' by "%c".
196 (tramp-do-copy-or-rename-file-out-of-band)
197 (tramp-maybe-open-connection): Use it in format spec. Ensure,
198 that it is applied for the first hop only.
199
200 2013-02-22 Juri Linkov <juri@jurta.org>
201
202 * isearch.el (isearch-lazy-highlight-new-loop):
203 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
204 to `isearch-other-end' if it is not nil. (Bug#13402)
205
206 * replace.el (replace-highlight): Let-bind `isearch-other-end'
207 to `match-beg'.
208
209 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
210 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
211 and `isearch-error' to nil.
212
213 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
214
215 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
216
217 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
218 Handle multibyte file names.
219
220 2013-02-22 Glenn Morris <rgm@gnu.org>
221
222 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
223 (sgml-transformation-function): Give it a :set function.
224 (sgml-tag): Doc fix.
225
226 * cmuscheme.el (scheme-buffer):
227 * progmodes/inf-lisp.el (inferior-lisp-buffer):
228 * progmodes/tcl.el (inferior-tcl-buffer):
229 * textmodes/tex-mode.el (tex-command): Doc fixes.
230
231 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
232
233 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
234
235 2013-02-21 Bastien Guerry <bzg@gnu.org>
236
237 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
238
239 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
240
241 * progmodes/python.el (python-info-current-defun):
242 Enhance match-data cluttering prevention.
243
244 2013-02-21 Glenn Morris <rgm@gnu.org>
245
246 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
247 loaded while outline-regexp is let bound. (Bug#9584)
248
249 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
250
251 * progmodes/python.el (python-info-current-defun): Fix failed
252 defun name retrieval because of unwanted match-data cluttering.
253
254 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
255
256 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
257 defconst. Apply independent check for ControlPersist.
258
259 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
260 temporarily, via "env".
261
262 2013-02-21 Glenn Morris <rgm@gnu.org>
263
264 * info.el (Info-enable-edit): Remove.
265 (Info-edit): Disable it rather than using Info-enable.
266 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
267 (Info-cease-edit): Make editing of Info files obsolete.
268
269 * informat.el (Info-tagify):
270 Handle buffers not visiting files. (Bug#13763)
271
272 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
273
274 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
275
276 2013-02-21 Glenn Morris <rgm@gnu.org>
277
278 * files.el (basic-save-buffer): Move check for existing parent
279 directory after hooks. (Bug#13773)
280
281 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
282
283 * simple.el (command-execute): Move from C. Add obsolete check.
284 (extended-command-history): Move from C.
285
286 2013-02-20 Ulrich Müller <ulm@gentoo.org>
287
288 * jka-cmpr-hook.el (jka-compr-compression-info-list)
289 (jka-compr-mode-alist-additions): Handle .txz suffix for
290 XZ-compressed tar archives (bug#13770).
291
292 2013-02-20 Bastien Guerry <bzg@gnu.org>
293
294 * outline.el (outline-regexp, outline-heading-end-regexp):
295 Make variables, not options (bug#13731).
296
297 2013-02-20 Glenn Morris <rgm@gnu.org>
298
299 * image.el (image-current-frame): Change from variable to function.
300 (image-show-frame): Rename from image-nth-frame. Update callers.
301 * image-mode.el (image-multi-frame): New variable.
302 (image-mode-map, image-mode, image-goto-frame):
303 Use image-multi-frame rather than image-current-frame.
304 (image-mode, image-goto-frame): Use image-current-frame as
305 function rather than as variable.
306
307 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
308 * emacs-lisp/cl-macs.el (cl--make-type-test)
309 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
310
311 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
312
313 * net/tramp-cache.el (tramp-get-hash-table): New defun.
314 (tramp-get-file-property, tramp-set-file-property)
315 (tramp-get-connection-property, tramp-set-connection-property): Use it.
316 (tramp-flush-file-property, tramp-flush-directory-property):
317 Rename argument to KEY.
318 (tramp-flush-connection-property): Simplify a little bit.
319 (tramp-connection-property-p): New defun.
320 (top): Reapply saved values only if there isn't a corresponding
321 entry in `tramp-connection-properties'.
322
323 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
324
325 * progmodes/python.el (python-indent-context):
326 Fix python-info-line-ends-backslash-p call.
327 (python-info-line-ends-backslash-p)
328 (python-info-beginning-of-backslash): Respect line-number argument.
329 (python-info-current-line-comment-p):
330 Fix behavior when not at beginning-of-line.
331 (python-util-position): Remove function.
332 (python-util-goto-line): New function.
333
334 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
335
336 * eshell/em-unix.el (eshell/su): Require tramp.
337 (eshell/sudo): Require tramp. Remove now unnecessary check.
338
339 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
340 `tramp-current-connection' in order to avoid an error when several
341 commands are invoked in a short time in eshell and friends.
342
343 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
344
345 Cleanup some of EIEIO's namespace.
346 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
347 Use it to define all the class-* and object-* field accessors (renamed
348 to eieio--class-* and eieio--object-*). Update all uses.
349 (eieio--class-num-slots, eieio--object-num-slots): Rename from
350 class-num-slots and object-num-slots.
351 (eieio--check-type): New macro.
352 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
353 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
354 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
355 (object-assoc-list-safe): Use it.
356 (eieio-defclass): Tighten regexp.
357 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
358 Remove unreachable code.
359 (object-class-fast): Declare obsolete.
360 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
361 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
362 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
363 Rename from class-name, object-name, object-set-name-string,
364 object-class, object-class-name, class-parents, class-children,
365 class-precedence-list, class-parent; with obsolete alias.
366 (class-of, class-direct-superclasses, class-direct-subclasses):
367 Declare obsolete.
368 (eieio-defmethod): Use `memq'; remove unreachable code.
369 * emacs-lisp/eieio-base.el (eieio-persistent-read):
370 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
371 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
372
373
374 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
375
376 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
377 Use font-lock-keyword-face for macros and special forms (bug#8345).
378
379 2013-02-17 Didier Verna <didier@didierverna.net>
380
381 * net/network-stream.el (network-stream-open-starttls):
382 Check that response to the starttls-command is non-nil. (Bug#13706)
383
384 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
385
386 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
387 Don't assume all identifier chars have syntax word.
388 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
389 Remove bar-not-symbol. Adjust callers.
390 (lisp-mode-variables): Don't set a font-lock-syntax-table.
391
392 2013-02-17 Leo Liu <sdl.web@gmail.com>
393
394 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
395
396 2013-02-17 Glenn Morris <rgm@gnu.org>
397
398 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
399
400 * image-mode.el (image-mode-map): Add image-dired menu entry.
401
402 * image-dired.el (tumme): Make this alias obsolete.
403
404 2013-02-16 Glenn Morris <rgm@gnu.org>
405
406 * image.el (image-animated-types): Remove.
407 (image-multi-frame-p): Rename from image-animated-p, and generalize.
408 (image-animated-p): Make obsolete alias.
409 (image-animate, image-nth-frame, image-animate-timeout):
410 Use image-multi-frame-p.
411 (image-animate-timeout): If no delay, use image-default-frame-delay.
412 * image-mode.el (image-mode, image-toggle-animation):
413 Use image-multi-frame-p. (Bug#763, bug#10739)
414 (image-mode): Adjust startup message for a multi-frame image.
415
416 * image-mode.el (image-mode-map): Give it a menu.
417
418 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
419
420 * net/tramp-cache.el (tramp-connection-properties): New customer
421 option.
422 (tramp-get-connection-property): Use it.
423
424 * net/tramp-compat.el (top): Require 'trampver.
425
426 * net/tramp-sh.el (tramp-remote-process-environment):
427 Set tramp-autoload cookie.
428
429 2013-02-16 Kevin Ryde <user42@zip.com.au>
430
431 * info-look.el (info-lookup-select-mode): If major-mode has no
432 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
433
434 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
435
436 * replace.el (read-regexp): Tighten the regexp that matches tag.
437 When tag is retrieved with `find-tag-default', use regexp that
438 matches tag at point. Also update docstring (Bug#13687).
439
440 2013-02-16 Eli Zaretskii <eliz@gnu.org>
441
442 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
443 add watch for the file, not its parent directory, since w32notify
444 sets up the watch for the directory internally. (Bug#13725)
445
446 2013-02-16 Glenn Morris <rgm@gnu.org>
447
448 * image.el (image-default-frame-delay): New variable.
449 (image-animated-p): Use image-default-frame-delay.
450 (image-minimum-frame-delay): New constant.
451 (image-animate-timeout): Use image-minimum-frame-delay.
452
453 * image.el (image-nth-frame): New, split from image-animate-timeout.
454 (image-animate-timeout): Use image-nth-frame.
455 * image-mode.el (image-goto-frame, image-next-frame)
456 (image-previous-frame): New commands.
457 (image-mode-map): Add new frame commands.
458
459 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
460
461 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
462 If col-desc already has help-echo, use it. (Bug#13563)
463
464 2013-02-16 Glenn Morris <rgm@gnu.org>
465
466 * image.el (image-current-frame): New variable.
467 (image-animate-timeout): Set image-current-frame.
468 * image-mode.el (image-mode): For animated images,
469 display a frame counter via mode-line-process.
470
471 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
472
473 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
474
475 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
476
477 2013-02-15 Alan Mackenzie <acm@muc.de>
478
479 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
480 global minor mode has been enabled, call the minor mode function
481 for a new buffer once only, after the major mode hook, whilst
482 allowing that hook explicitly to disable the minor mode.
483 (MODE-disable-in-buffer): New (generated) function.
484 (disable-MODE): New (generated) buffer local variable.
485
486 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
487
488 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
489 `iswitchb-next-match' and `iswitchb-prev-match' resply.
490 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
491 `ido-next-match' and `ido-prev-match' resply.
492 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
493 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
494 `icomplete-backward-completions' (Bug#13708).
495
496 2013-02-15 Glenn Morris <rgm@gnu.org>
497
498 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
499
500 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * net/goto-addr.el (goto-address-fontify): Add start and end args.
503 (goto-address-fontify-region): Use them instead of narrowing, so
504 syntax-ppss has access to the whole buffer.
505
506 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
507
508 * progmodes/python.el: Explain how to restore "cc-mode"-like
509 forward-sexp movement in header documentation (Bug#13642).
510 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
511 comments and strings (GH bug 114).
512
513 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
514
515 * progmodes/python.el (python-info-current-defun): Fix current
516 defun detection (Bug#13618).
517
518 2013-02-15 Chong Yidong <cyd@gnu.org>
519
520 * xml.el (xml-parse-string): Fix typo in handling of bad character
521 references.
522
523 2013-02-15 Glenn Morris <rgm@gnu.org>
524
525 * play/fortune.el (fortune-compile): Simplify and fix previous change.
526
527 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
528
529 * net/tramp.el (tramp-debug-message):
530 Add `tramp-condition-case-unless-debug'.
531 (tramp-debug-on-error): New defvar.
532 (tramp-condition-case-unless-debug): New defun.
533 (tramp-file-name-handler): Use it.
534
535 2013-02-14 Juri Linkov <juri@jurta.org>
536
537 * info.el (Info-isearch-filter): Treat non-nil values of
538 `search-invisible' including its default value `open'
539 like the value `t' to match hidden text. (Bug#13402)
540
541 2013-02-14 Glenn Morris <rgm@gnu.org>
542
543 * help-fns.el (find-lisp-object-file-name): Give special treatment
544 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
545
546 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
547
548 * net/quickurl.el (quickurl-save-urls):
549 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
550
551 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
552
553 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
554 depth for unfinished percent literal. Not using it in the caller.
555 (ruby-move-to-block): Jump over multiline literals of all types,
556 ignoring code-looking contents inside them.
557 (ruby-add-log-current-method): Improve performance at the expense
558 of accuracy. `ruby-block-contains-point' is relatively slow, so
559 only use it for method and singleton class blocks.
560
561 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
562
563 Use ControlMaster where applicable. (Bug#13677)
564
565 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
566 replacing `tramp-detect-ssh-controlmaster'.
567 (tramp-default-method): Use it.
568
569 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
570 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
571 arguments.
572 [scpc, rsyncc]: Remove methods.
573 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
574 and "ssh2_old".
575 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
576 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
577
578 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
579
580 * emacs-lisp/package.el (package--initialized): Move before first use.
581
582 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
583
584 * icomplete.el (icomplete-hide-common-prefix): New user option.
585 (icomplete-first-match): New face.
586 (icomplete-completions): Correct handling of "complete but not
587 unique" (Bug#12638).
588
589 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
590
591 * descr-text.el (describe-char): Display the script (bug#13698).
592
593 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
594
595 * tmm.el: Use lexical-binding and current-active-maps.
596 (tmm-menubar): Use map-keymap and pcase.
597 (tmm--completion-table): New function.
598 (tmm-prompt): Use it to fix the menu order.
599 (tmm-get-keybind): Use current-active-maps.
600
601 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
602
603 Add dired-hide-details-mode. (Bug#6799)
604
605 * locate.el (locate-mode): Set parent mode property to dired-mode.
606
607 * find-dired.el (find-dired): Call dired-insert-set-properties on
608 initial information line. Set process mark on end of buffer.
609 (find-dired-sentinel):
610 Call dired-insert-set-properties on summary.
611
612 * dired.el (dired-hide-details-hide-symlink-targets)
613 (dired-hide-details-hide-information-lines): New options.
614 (dired-insert-directory):
615 Set properties after final treatment of output.
616 (dired-insert-set-properties):
617 Set dired-hide-details-* properties.
618 (dired-mode-map): Bind dired-hide-details-mode.
619 (dired-mode): Set buffer-invisibility-spec to a list.
620 (dired-next-line): Skip hidden lines.
621 (dired-previous-line): Use dired-next-line.
622 (dired-hide-details-mode): New minor mode.
623 (dired-hide-details-update-invisibility-spec): New function.
624
625 2013-02-13 Glenn Morris <rgm@gnu.org>
626
627 * play/yow.el: Move to obsolete/. (Bug#9384)
628
629 2013-02-13 Juri Linkov <juri@jurta.org>
630
631 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
632 to select `ediff-control-frame' and set input focus correctly on Xfce.
633 (Bug#12218)
634
635 2013-02-13 Juri Linkov <juri@jurta.org>
636
637 * image-mode.el (image-mode-map):
638 * doc-view.el (doc-view-mode-map):
639 * vc/ediff-util.el (ediff-setup-keymap):
640 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
641
642 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
643
644 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
645 performance. Instead of recalculating indentation fully for each
646 line, sum up indentation depth based only on visited lines.
647 (ruby-parse-partial): Increase the depth after "do" even when END
648 is right after it.
649 (ruby-parse-partial): When END is in the middle of a percent
650 literal, increase the depth if the delimiter chars belong to the
651 paren syntax class.
652
653 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
654
655 * play/fortune.el (fortune-compile): Also make the compiled file
656 if it does not exist at all, not just if it is old. (Bug#5338)
657
658 2013-02-13 Glenn Morris <rgm@gnu.org>
659
660 * emacs-lisp/package.el (package-menu-execute): Doc fix.
661
662 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
663
664 * lisp/emacs-lisp/package.el (package-menu-execute):
665 Add optional noquery argument. (Bug#13625)
666
667 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
668
669 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
670 if DIR exists and PARENTS is non-nil.
671
672 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
673
674 * progmodes/js.el (js--multi-line-declaration-indentation):
675 Silence byte-compiler warning.
676
677 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
678
679 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
680
681 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
682 only if it doesn't exist.
683
684 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
685 Set process marker.
686
687 2013-02-12 Tassilo Horn <tsdh@gnu.org>
688
689 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
690 UserInstallation when calling soffice to work around LibreOffice
691 bug 37531.
692
693 2013-02-12 Glenn Morris <rgm@gnu.org>
694
695 * files.el (basic-save-buffer):
696 Offer to create a non-existing directory. (Bug#3016)
697
698 * calc/calc-graph.el (calc-graph-show-dumb):
699 * calendar/calendar.el (calendar-mode-map):
700 * cus-edit.el (custom-mode-map):
701 * ehelp.el (electric-help-map):
702 * emulation/vip.el (vip-mode-map):
703 * epa.el (epa-key-list-mode-map):
704 * info.el (Info-mode-map):
705 * mail/rmail.el (rmail-mode-map):
706 * mail/rmailsum.el (rmail-summary-mode-map):
707 * man.el (Man-mode-map):
708 * net/newst-plainview.el (newsticker-mode-map):
709 * progmodes/cpp.el (cpp-edit-mode-map):
710 * progmodes/grep.el (grep-mode-map):
711 * progmodes/idlw-help.el (idlwave-help-mode-map):
712 * simple.el (special-mode-map):
713 * startup.el (splash-screen-keymap):
714 * view.el (view-mode-map):
715 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
716
717 2013-02-11 Elias Pipping <pipping@lavabit.com>
718
719 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
720 (bug#13679).
721
722 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
723
724 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
725
726 2013-02-11 Glenn Morris <rgm@gnu.org>
727
728 * vc/diff.el (diff-use-labels): New variable.
729 (diff-no-select): Use --label rather than -L, and first
730 check that it is supported. (Bug#11067)
731
732 * files.el (enable-dir-local-variables): New variable.
733 (hack-dir-local-variables): Respect enable-dir-local-variables.
734 * tutorial.el (help-with-tutorial):
735 Ignore directory-local variables. (Bug#11127)
736
737 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
738 (vc-svn-global-switches): ... to here. (Bug#13513)
739
740 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
741
742 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
743 Handle "foo (bar, default: xxx): " prompts.
744
745 2013-02-10 Chong Yidong <cyd@gnu.org>
746
747 * files.el (basic-save-buffer-1): Do not set
748 buffer-file-coding-system-explicit (Bug#4533).
749
750 * mail/emacsbug.el (report-emacs-bug): Change binding of
751 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
752
753 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
754
755 * calc/calc.el (calc-allow-units-as-numbers): New variable.
756 * calc/calc-units.el (calc-convert-units): Use new variable.
757
758 2013-02-09 Eli Zaretskii <eliz@gnu.org>
759
760 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
761
762 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
763 buffer-file-type.
764
765 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
766 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
767 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
768 coding-system-for-write instead.
769
770 * jka-compr.el (jka-compr-write-region): Don't bind
771 buffer-file-type.
772
773 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
774 buffer-file-type.
775
776 * files.el (file-name-buffer-file-type-alist): Remove defvar.
777 (insert-file-contents-literally): Remove reference to
778 file-name-buffer-file-type-alist.
779
780 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
781 make-obsolete.
782 (find-buffer-file-type-match, find-buffer-file-type): Remove.
783 (find-buffer-file-type-coding-system): Remove references to
784 find-buffer-file-type-match, find-buffer-file-type, and
785 buffer-file-type.
786 Don't put find-buffer-file-type-coding-system into
787 file-coding-system-alist.
788 (find-file-binary, find-file-text): Bind coding-system-for-read
789 instead of file-name-buffer-file-type-alist.
790
791 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
792
793 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
794 converter (Bug#13622).
795 (doc-view-unoconv-program): Make obsolete alias.
796 (doc-view-odf->pdf-converter-program): New variable.
797 (doc-view-odf->pdf-converter-function): New variable.
798 (doc-view-mode-p): Use it.
799 (doc-view-odf->pdf-converter-unoconv):
800 Rename from `doc-view-odf->pdf-converter-unoconv'.
801 (doc-view-odf->pdf-converter-soffice): New function.
802 (doc-view-convert-current-doc):
803 Use `doc-view-odf->pdf-converter-function'.
804
805 2013-02-09 Chong Yidong <cyd@gnu.org>
806
807 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
808 view-echo-area-messages (Bug#13340).
809
810 * help.el (view-echo-area-messages): Use display-buffer.
811
812 * dired-x.el (dired-do-run-mail): Prompt for confirmation
813 (Bug#13561).
814
815 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
816
817 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
818 Eval body right away, now that we do eager macroexpansion (bug#13605).
819
820 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
821 (fundamental-mode): Use run-mode-hooks.
822
823 * eshell/esh-proc.el (eshell/kill): Fix last change.
824 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
825
826 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
827
828 * eshell/esh-proc.el (eshell/kill): Rewrite.
829
830 * eshell/em-ls.el (show-almost-all): Declare.
831 (eshell-do-ls): Add support for -A argument.
832
833 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
834
835 * icomplete.el (icomplete-forward-completions)
836 (icomplete-backward-completions): Handle corner case (bug#13602).
837
838 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
839
840 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
841 be nil. Handle this. (Bug#13636)
842
843 2013-02-07 Richard Stallman <rms@gnu.org>
844
845 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
846 `save-buffer-coding-system'.
847
848 2013-02-07 Alan Mackenzie <acm@muc.de>
849
850 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
851 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
852 (c-parse-state-get-strategy): Don't return 'BOD any more.
853 (c-append-lower-brace-pair-to-state-cache):
854 Extra parameter HERE instead of narrowing.
855 Widen to top of buffer before searching backwards for a brace pair.
856 (c-state-push-any-brace-pair): Add HERE parameter to function call.
857 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
858 Narrow to parameter HERE, in place of being called narrowed.
859 (c-remove-stale-state-cache): Extra parameter HERE in place of
860 narrowing. Check there's an open brace in the cache before
861 searching for its match.
862 (c-invalidate-state-cache-1): Add HERE parameter to function call.
863 (c-parse-state-1): Don't narrow here for 'forward strategy,
864 instead passing extra parameter HERE to several functions.
865 Remove 'BOD strategy.
866
867 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
868
869 * emacs-lisp/package.el (describe-package-1): Tell what archive is
870 used to install the package.
871
872 2013-02-06 Glenn Morris <rgm@gnu.org>
873
874 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
875 if we can't get user input. (Bug#6567)
876
877 * startup.el (command-line): If simple.el is missing,
878 test and warn about for some possible causes.
879
880 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
881
882 * cus-start.el (all): Add ns-use-native-fullscreen.
883
884 2013-02-05 Glenn Morris <rgm@gnu.org>
885
886 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
887
888 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
889 Fix directory creation in fallback case.
890
891 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
892
893 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
894 (vc-update-change-log): Use dolist.
895
896 2013-02-04 Chong Yidong <cyd@gnu.org>
897
898 * thingatpt.el: Rewrite the URL detection routines, absorbing some
899 code from ffap.el.
900 (thing-at-point-beginning-of-url-regexp): New var.
901 (thing-at-point-uri-schemes): Update list of URI schemes.
902 (thing-at-point-url-regexp): Variable deleted.
903 (thing-at-point-markedup-url-regexp): Disallow newlines.
904 (thing-at-point-newsgroup-regexp)
905 (thing-at-point-newsgroup-heads)
906 (thing-at-point-default-mail-uri-scheme): New variables.
907 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
908 method to find the possible bounds of the URI at point.
909 New optional argument to find ill-formed URIs.
910 (thing-at-point-url-at-point): Rewrite. New arguments for finding
911 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
912 the scheme-adding heuristics from ffap-url-at-point.
913 (thing-at-point--bounds-of-well-formed-url): New function.
914 Do parens matching to decide whether to include parens in the URI
915 (Bug#9153).
916
917 * ffap.el: Require thingatpt.
918 (ffap-url-at-point): Delegate URI detection to thing-at-point.
919 All URI-valid characters are now recognized (Bug#5673).
920 (ffap-string-at-point): Use use-region-p.
921 (ffap-url-regexp): Extra character is handled by thing-at-point.
922 (ffap-string-at-point-mode-alist): Allow parentheses.
923 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
924 Convert to aliases; code moved to thingatpt.el.
925 (ffap-gnus-hook): Use setq-local.
926
927 2013-02-04 Glenn Morris <rgm@gnu.org>
928
929 * emacs-lisp/ert.el (ert--explain-format-atom):
930 Don't try to print non-characters as characters. (Bug#13543)
931
932 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
933
934 * net/tramp.el (tramp-debug-message): Extend function exclude list.
935 (tramp-backtrace): New defun.
936 (tramp-handle-insert-file-contents): Use `visit' when inserting
937 the local copy.
938
939 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
940 Use `remote-file-name-inhibit-cache'.
941
942 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
943
944 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
945 (bug#13614).
946
947 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
948 current-load-list (bug#13366).
949
950 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
951
952 * progmodes/compile.el (compilation-error-regexp-alist-alist):
953 Identify g++ template instantiation trace. (Bug#12287)
954 (compilation-mode-hook, compilation-start-hook)
955 (compilation-window-height): Simplify docstrings. (Bug#13379)
956
957 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * mouse.el (mouse-drag-track): Always deactivate the mark before
960 running the final event's command since that command is in charge of
961 activating the mark if needed (bug#13523).
962
963 2013-02-02 Juri Linkov <juri@jurta.org>
964
965 * replace.el (perform-replace): Move let-bindings of isearch-*
966 variables deeper to the loop that searches for the next match.
967 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
968 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
969 (Bug#13579)
970
971 * isearch.el (isearch-search-fun-default): Check for null
972 first element of isearch-cmds as a precaution when it's used
973 with inactive isearch.
974
975 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
976
977 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
978 error when buffer in question is narrowed so position 1 is out of
979 visible part.
980
981 2013-02-02 Glenn Morris <rgm@gnu.org>
982
983 * textmodes/remember.el (remember-clipboard): Doc fix.
984
985 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
988 properties (bug#13179).
989
990 2013-02-02 Juri Linkov <juri@jurta.org>
991
992 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
993 instead of hard-coded default face `match'. (Bug#9438)
994
995 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
996
997 * vc/vc-arch.el (vc-arch-registered):
998 * vc/vc-bzr.el (vc-bzr-registered):
999 * vc/vc-cvs.el (vc-cvs-registered):
1000 * vc/vc-git.el (vc-git-registered):
1001 * vc/vc-hg.el (vc-hg-registered):
1002 * vc/vc-mtn.el (vc-mtn-registered):
1003 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1004 (Bug#13139)
1005
1006 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1007 prefix argument. (Bug#11656)
1008
1009 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1010
1011 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1012
1013 2013-02-01 Glenn Morris <rgm@gnu.org>
1014
1015 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1016 if the backend is known not to support it.
1017
1018 * imenu.el (imenu-default-create-index-function):
1019 Tweak infinite loop test to check for forward motion as well as none.
1020
1021 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1022
1023 * net/soap-client.el (soap-invoke): Encode the string for
1024 `url-request-data' as UTF-8.
1025 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1026
1027 2013-02-01 Glenn Morris <rgm@gnu.org>
1028
1029 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1030
1031 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1032
1033 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1034
1035 * net/tramp.el (tramp-tramp-file-p): Comment check for
1036 `string-as-unibyte'. The function does not exist on XEmacs, and
1037 likely we need another approach.
1038
1039 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1040 `tramp-gw-*' variables are bound.
1041
1042 2013-01-31 Glenn Morris <rgm@gnu.org>
1043
1044 * files.el (basic-save-buffer-2): Choose coding system for
1045 writing the file before backing it up, to reduce delay between
1046 backing up and writing the new version. (Bug#13522)
1047
1048 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1049
1050 * simple.el (cycle-spacing): New command.
1051 (just-one-space): Use it.
1052
1053 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1054
1055 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1056 (opascal-newline-always-indents): Remove custom.
1057 (opascal-tab, opascal-newline): Remove commands.
1058 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1059 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1060 (opascal-save-match-data): Remove, use save-match-data instead.
1061 (opascal-save-state): Use with-silent-modifications.
1062
1063 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1064 (bug#13585).
1065
1066 2013-01-30 Juri Linkov <juri@jurta.org>
1067
1068 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1069 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1070 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1071
1072 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1073
1074 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1075 column if we're just deleting the backslashes.
1076 (makefile-fill-paragraph): Use eolp.
1077
1078 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1079
1080 * autorevert.el (auto-revert-use-notify): Fix docstring.
1081
1082 2013-01-30 Leo Liu <sdl.web@gmail.com>
1083
1084 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1085
1086 2013-01-30 Glenn Morris <rgm@gnu.org>
1087
1088 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1089 unread-command-events twice in some cases. This tries to implement
1090 the 2012-07-26 changes in a different way. (Bug#13560)
1091
1092 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1093
1094 * progmodes/python.el
1095 (python-pdbtrack-comint-output-filter-function): Enhancements on
1096 stacktrace detection. (thanks @gnovak)
1097
1098 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1099
1100 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1101 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1102 Use defvar-local.
1103 (jit-lock-register): Use setq-local.
1104
1105 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1106
1107 * calc-units.el (math-default-units-table): Remove initial value.
1108 (calc-convert-units): Treat expressions where all the units cancel as
1109 if they didn't have units.
1110
1111 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1112
1113 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1114 (tramp-completion-reread-directory-timeout): Fix type.
1115 (tramp-connection-min-time-diff): New defcustom.
1116
1117 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1118
1119 2013-01-30 Glenn Morris <rgm@gnu.org>
1120
1121 * imenu.el (imenu-default-create-index-function):
1122 Put back a version of the infinite loop test removed 2013-01-23.
1123
1124 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1125
1126 * progmodes/python.el (python-shell-parse-command):
1127 Find python-shell-interpreter with modified environment.
1128
1129 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1130
1131 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1132
1133 2013-01-29 Alan Mackenzie <acm@muc.de>
1134
1135 Amend to fontify /regexp/s in actions correctly.
1136 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1137 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1138 are no longer included.
1139 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1140 What used to be these variables without "-line" in the name.
1141 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1142 (c-awk-non-arith-op-bra-re): Now also matches {.
1143 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1144 "return", and "case".
1145 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1146 by /.
1147 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1148 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1149
1150 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1151
1152 * autorevert.el (auto-revert-use-notify):
1153 Use `custom-initialize-default' for initialization. (Bug#13583)
1154
1155 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1156
1157 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1158 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1159 in `tramp-file-name-handler'.
1160 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1161 compatibility.
1162 (tramp-compute-multi-hops): Check, whether
1163 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1164
1165 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1166
1167 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1168 (bug#13297).
1169
1170 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1171
1172 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1173 checks made superfluous by the \_< operator.
1174 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1175 temporarily) broken indentation.
1176 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1177 Highlight nested constants, too. \_< broke that.
1178
1179 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1180
1181 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1182 instead of "\\b".
1183
1184 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1185
1186 * autorevert.el (auto-revert-handler): Notifications which result
1187 from a saved file shall not be taken into account. (Bug#13557)
1188
1189 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1190
1191 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1192 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1193 (lisp-mode): Pass t for it. (Bug#13556)
1194
1195 2013-01-25 Alan Mackenzie <acm@muc.de>
1196
1197 AWK Mode: Fix indentation bug at top level. Bug #12274.
1198
1199 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1200 just before CASE 5D.
1201
1202 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1203
1204 * net/socks.el (socks-nslookup-host): Use string-to-number.
1205
1206 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1207
1208 * autorevert.el (auto-revert-remote-files)
1209 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1210 (auto-revert-notify-enabled, auto-revert-use-notify)
1211 (auto-revert-notify-watch-descriptor-hash-list)
1212 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1213 (auto-revert-notify-event-descriptor)
1214 (auto-revert-notify-event-action)
1215 (auto-revert-notify-event-file-name): Doc fix.
1216 (global-auto-revert-mode): Reorder checks.
1217 (auto-revert-notify-rm-watch): Respect changed values of
1218 `auto-revert-notify-watch-descriptor-hash-list'.
1219 (auto-revert-notify-add-watch): Check for
1220 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1221 `inotify-add-watch'. Watch `default-directory' instead of
1222 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1223 has a changed meaning now. (Bug#13540)
1224 (auto-revert-notify-handler): Change implementation wrt events
1225 returning from a directory.
1226 (auto-revert-handler): Reorder implementation for checks of remote
1227 files.
1228 (auto-revert-buffers): Fix parentheses error.
1229
1230 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1231
1232 * progmodes/python.el: Enhancements to header documentation about
1233 skeletons. (Bug#5716)
1234
1235 * imenu.el (imenu-default-create-index-function): Remove useless
1236 infinite loop check. (Bug#13438)
1237
1238 2013-01-25 Alan Mackenzie <acm@muc.de>
1239
1240 Fix a bug in the state cache mechanism. Refactor this a bit.
1241
1242 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1243 `cache-pos' element from the return value.
1244 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1245 buffer to enable proper searching from beyond HERE. Amend the
1246 test for detecting the sought brace pair. Amend the value written
1247 to the "brace desert cache" when the brace isn't found.
1248 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1249 and several other variables analogously.
1250 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1251 parameter to a locally calculated variable.
1252 (c-parse-state-1): Change the calling conventions to the two
1253 defuns involving `cache-pos'.
1254
1255 2013-01-25 Chong Yidong <cyd@gnu.org>
1256
1257 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1258
1259 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1260
1261 * paren.el (show-paren-function): Make sure to set 'priority and
1262 'face only if the overlay does exist.
1263
1264 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1265
1266 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1267
1268 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1269 basic attributes.
1270 (tramp-sh-handle-set-file-acl): Improve error checking.
1271
1272 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1273
1274 * doc-view.el (doc-view-display): Force mode line update until all
1275 document is converted. Suggested by Stefan Monnier (Bug#13164).
1276
1277 2013-01-23 Bastien Guerry <bzg@gnu.org>
1278
1279 * paren.el (show-paren-function): Make sure an overlay exists
1280 before trying to delete it. Also use `pos' as a position only
1281 when it is an integer.
1282
1283 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1284
1285 * play/gametree.el (gametree-break-line-here): Use point-marker.
1286
1287 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1288
1289 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1290 Mark descriptive parts with `display' property.
1291
1292 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1293
1294 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1295 New variable to map standard dict names to hunspell ones.
1296 (ispell-set-spellchecker-params): Make sure specific dict names
1297 are used for standard dicts with hunspell.
1298
1299 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1300
1301 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1302 chars for note (%N) and url (%U).
1303 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1304
1305 2013-01-21 Juri Linkov <juri@jurta.org>
1306
1307 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1308 in addition to existing separate binding `meta f10' in `global-map'.
1309 (Bug#13484)
1310
1311 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1312
1313 Improve XEmacs compatibility.
1314
1315 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1316
1317 * net/tramp-adb.el (top): Require `time-date'.
1318 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1319 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1320 Use `tramp-file-name-handler'.
1321 (tramp-adb-maybe-open-connection):
1322 Use `tramp-compat-set-process-query-on-exit-flag'.
1323
1324 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1325 Use `tramp-compat-funcall'.
1326
1327 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1328 `tramp-compat-funcall'.
1329
1330 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1331
1332 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1333 reimplementation using "adb shell command ..." instead of running
1334 remote shell interactively.
1335
1336 2013-01-20 Glenn Morris <rgm@gnu.org>
1337
1338 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1339 Add native profiler menu entries.
1340
1341 * profiler.el (profiler-running-p): New function.
1342 (profiler-cpu-profile): Use profiler-running-p.
1343 (profiler-report-mode-map): Add some more menu entries.
1344
1345 2013-01-19 Glenn Morris <rgm@gnu.org>
1346
1347 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1348 fixes 2012-12-07 change. (Bug#13499)
1349
1350 2013-01-19 Leo Liu <sdl.web@gmail.com>
1351
1352 * dired.el (dired-get-marked-files): Prune erroneous values due to
1353 last change. (Bug#13152)
1354
1355 2013-01-19 Glenn Morris <rgm@gnu.org>
1356
1357 * progmodes/etags.el (tags-table-check-computed-list):
1358 Preserve point in tags buffer. (Bug#13412)
1359
1360 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1361
1362 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1363 Chong Yidong <cyd@gnu.org>
1364
1365 * image-mode.el (image-next-file, image-previous-file):
1366 New commands (Bug#8453).
1367 (image-mode-map): Bind them to n and p.
1368 (image-mode--images-in-directory): New helper function.
1369
1370 2013-01-19 Chong Yidong <cyd@gnu.org>
1371
1372 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1373 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1374 save and restore the old window configuration.
1375
1376 2013-01-18 Leo Liu <sdl.web@gmail.com>
1377
1378 * progmodes/js.el: Tweak autoload cookie for alias.
1379
1380 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1381
1382 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1383 buffer local, again. This was lost with the fix on 2013-01-12.
1384
1385 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1386
1387 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1388 order to support several eshell buffers in parallel.
1389
1390 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1391
1392 * autorevert.el (auto-revert-use-notify): In the :set function, do
1393 not modify `kill-buffer-hook'.
1394 (auto-revert-notify-rm-watch):
1395 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1396 (auto-revert-notify-add-watch): Do not call
1397 `auto-revert-notify-rm-watch', but add it to a buffer local
1398 `kill-buffer-hook'.
1399
1400 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1401
1402 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1403 call to `eval' rather than a backquoted lambda.
1404
1405 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1406
1407 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1408 to return an explicit nil.
1409 (advice--remove-function): Change accordingly.
1410
1411 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1412 the use of nadvice.el.
1413
1414 * progmodes/which-func.el (which-function): Silence imenu errors
1415 (bug#13433).
1416
1417 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1418
1419 * progmodes/sql.el: (sql-imenu-generic-expression):
1420 (sql-mode-font-lock-object-name): Match schema qualified names.
1421 (sql-connect): Use string keys.
1422 (sql-product-interactive): Wait for interpreter prompt.
1423 (sql-comint-oracle): Set process coding based on NLS_LANG.
1424
1425 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1426
1427 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1428 (sql-interactive-remove-continuation-prompt):
1429 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1430
1431 2013-01-14 Leo Liu <sdl.web@gmail.com>
1432
1433 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1434 (Bug#13420)
1435
1436 2013-01-14 Glenn Morris <rgm@gnu.org>
1437
1438 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1439 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1440
1441 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1442
1443 * progmodes/python.el (python-nav-end-of-statement):
1444 Fix cornercase when handling multiline strings.
1445
1446 2013-01-13 Richard Stallman <rms@gnu.org>
1447
1448 * mail/sendmail.el (mail-position-on-field): Add doc string.
1449
1450 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1451 Get current message boundaries and pass them to
1452 message-forward-make-body-mime. Minor style changes.
1453
1454 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1455
1456 * cus-start.el (all): Avoid warnings about
1457 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1458
1459 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1460
1461 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1462
1463 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1464
1465 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1466 (jit-lock--debug-fontifying): New var.
1467 (jit-lock--debug-fontify): New function.
1468 * subr.el (condition-case-unless-debug): Don't prevent catching the
1469 error, just let the debbugger run.
1470 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1471 timer code and don't drop errors silently.
1472
1473 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1474
1475 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1476 `permanent-local' property.
1477 (auto-revert-notify-handler): Use `file-equal-p'.
1478
1479 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1480
1481 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1482 file notification by ACTION. For filtering by file name, compare
1483 only the non-directory part of the file name.
1484
1485 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1486
1487 * autorevert.el: Use cl-lib instead of cl.
1488
1489 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1490 (vc-bzr-checkin): Use it.
1491 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1492 will preserve match-data.
1493
1494 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1495
1496 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1497 (js--declaration-keyword-re): New var.
1498 (js--multi-line-declaration-indentation): New function.
1499 (js--proper-indentation): Use it.
1500
1501 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1502
1503 * calc/calc.el (calc-highlight-selections-with-faces)
1504 (calc-dispatch):
1505 * comint.el (comint-history-isearch-message):
1506 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1507 * ffap.el (ffap-string-at-point-region, ffap-next)
1508 (ffap-string-at-point, ffap-string-around)
1509 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1510 (ffap-literally):
1511 * font-lock.el (font-lock-keywords-alist)
1512 (font-lock-removed-keywords-alist):
1513 * help-mode.el (help-xref-symbol-regexp):
1514 * info.el (Info-find-emacs-command-nodes):
1515 * international/mule.el (add-to-coding-system-list):
1516 * isearch.el (isearch-message-function, isearch-fail-pos):
1517 * misearch.el (multi-isearch-next-buffer-function):
1518 * newcomment.el (comment-box):
1519 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1520 (pr-setting-database):
1521 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1522 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1523 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1524 (pike-font-lock-keywords-3):
1525 * progmodes/compile.el (compile):
1526 * progmodes/etags.el (tags-table-files)
1527 (tags-table-files-function, tags-included-tables-function):
1528 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1529 (gdb-restore-windows):
1530 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1531 (ps-n-up-filling-database):
1532 * server.el (server-buffer, server-log):
1533 * simple.el (newline, delete-backward-char, delete-forward-char)
1534 (minibuffer-history-isearch-message, kill-line, track-eol)
1535 (temporary-goal-column):
1536 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1537 (flyspell-default-deplacement-commands):
1538 * textmodes/ispell.el (ispell-accept-output):
1539 * textmodes/sgml-mode.el (html-tag-help):
1540 * vc/compare-w.el (compare-ignore-whitespace)
1541 (compare-ignore-case, compare-windows-dehighlight):
1542 * vc/diff.el (diff):
1543 * whitespace.el (whitespace-point)
1544 (whitespace-font-lock-refontify, whitespace-bob-marker)
1545 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1546
1547 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1548
1549 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1550 (auto-revert-notify-rm-watch): Ignore errors.
1551 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1552 inotify, and '(size last-write-time) for w32notify.
1553 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1554 watch fails - this is a fallback to the file modification check.
1555 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1556 (auto-revert-notify-event-action)
1557 (auto-revert-notify-event-file-name): New defuns.
1558 (auto-revert-notify-handler): Use them. Implement first
1559 plausibility checks.
1560 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1561
1562 2013-01-11 Julien Danjou <julien@danjou.info>
1563
1564 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1565 max are almost equal. Also return the correct value for V which is
1566 already between 0 and 1.
1567
1568 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1569
1570 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1571
1572 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1573
1574 * autorevert.el (auto-revert-notify-rm-watch)
1575 (auto-revert-notify-add-watch): Fix typos in w32notify function
1576 names.
1577
1578 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1579
1580 * autorevert.el (auto-revert-notify-enabled): Move up.
1581 (auto-revert-use-notify): New defcustom.
1582 (auto-revert-mode, global-auto-revert-mode)
1583 (auto-revert-notify-add-watch, auto-revert-handler)
1584 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1585 `auto-revert-notify-enabled'.
1586
1587 2013-01-10 Elias Pipping <pipping@exherbo.org>
1588
1589 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1590 * doc-view.el (doc-view-document->bitmap):
1591 Use doc-view-single-page-converter-function instead of
1592 single-page-converter arg; adjust callers.
1593
1594 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1595
1596 * progmodes/which-func.el (which-function): Understand Semantic's use
1597 of overlays in imenu--index-alist.
1598
1599 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1600
1601 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1602 (Man-man-k-use-anchor): New var.
1603 (Man-parse-man-k): New function.
1604 (Man-completion-table): Use it.
1605 (man): Flush the completion cache between uses.
1606
1607 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1608
1609 * autorevert.el: Add file watch support.
1610 (auto-revert-notify-enabled): New defconst.
1611 (auto-revert-notify-watch-descriptor-hash-list)
1612 (auto-revert-notify-watch-descriptor)
1613 (auto-revert-notify-modified-p): New defvars.
1614 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1615 (auto-revert-notify-handler): New defuns.
1616 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1617 when mode is disabled.
1618 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1619 (auto-revert-buffers): Add file watches for active buffers.
1620
1621 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1622
1623 * cus-start.el (toplevel): Only allow float values for
1624 scroll-up-aggressively and scroll-down-aggressively.
1625 Allow any number for line-spacing.
1626
1627 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1629 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1630 (doc-view-pdf->png-converter-function): Use mupdf if available.
1631 (doc-view-djvu->png-converter-function)
1632 (doc-view-ps->png-converter-function): Remove.
1633 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1634 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1635 (doc-view-already-converted-p): Adjust accordingly.
1636 (doc-view-mode-p): Simplify.
1637 (doc-view-enlarge): Use setq-local.
1638 (doc-view-pdf->png-converter-ghostscript)
1639 (doc-view-djvu->png-converter-ddjvu)
1640 (doc-view-pdf->png-converter-mupdf): Rework to call
1641 doc-view-start-process directly.
1642 (doc-view-pdf/ps->png): Simplify accordingly.
1643 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1644 (doc-view-document->bitmap): Rename from doc-view-document->png.
1645 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1646 (doc-view-set-slice-from-bounding-box): Fix completion table.
1647 (doc-view-mode): Use add-hook for after-revert-hook.
1648
1649 2013-01-10 Glenn Morris <rgm@gnu.org>
1650
1651 * emacs-lisp/authors.el (authors-ignored-files)
1652 (authors-valid-file-names, authors-renamed-files-alist):
1653 Add some more entries.
1654
1655 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1658 `t' pseudo-window entry.
1659
1660 2013-01-10 Alan Mackenzie <acm@muc.de>
1661
1662 Fix bugs in the c-parse-state mechanism. Reuse some markers
1663 instead of continually generating new ones.
1664
1665 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1666 (c-state-old-cpp-end-marker): New variables.
1667 (c-append-lower-brace-pair-to-state-cache): Start a backward
1668 search for "}" definitively outside CPP constructs.
1669 (c-remove-stale-state-cache): Inform the caller of a need to
1670 search back for a brace pair in certain circumstances.
1671 (c-state-maybe-marker): New macro.
1672 (c-parse-state): Reuse markers when appropriate.
1673
1674 2013-01-10 Glenn Morris <rgm@gnu.org>
1675
1676 * simple.el (execute-extended-command): Doc fix.
1677 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1678
1679 2013-01-10 Chong Yidong <cyd@gnu.org>
1680
1681 * faces.el (read-face-name): Doc fix.
1682
1683 2013-01-10 Roland Winkler <winkler@gnu.org>
1684
1685 * emacs-lisp/crm.el: Allow any regexp for separators.
1686 (crm-default-separator): All spaces around the default comma separator.
1687 (crm--completion-command): New macro.
1688 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1689 (crm-complete-and-exit): Handle non-single-char separators.
1690
1691 2013-01-09 Elias Pipping <pipping@lavabit.com>
1692
1693 * doc-view.el: Add support for DjVu (bug#13164).
1694 (doc-view-djvu->png-converter-function): New config var.
1695 (doc-view-single-page-converter-function, doc-view--image-type)
1696 (doc-view--image-file-extension): New vars.
1697 (doc-view-mode): Initialize them.
1698 (doc-view-goto-page): Use them.
1699 (doc-view-mode-p): Add support for ddjvu.
1700 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1701 (doc-view-set-up-single-converter): New funs.
1702 (doc-view-pdf/ps->png): Extend for djvu.
1703 (doc-view-document->png): Rename from doc-view-pdf->png.
1704 (doc-view-convert-current-doc): Handle djvu.
1705 (doc-view-insert-image, doc-view-display)
1706 (doc-view-already-converted-p): Don't hardcode png.
1707 (doc-view-set-doc-type): Recognize djvu docs.
1708
1709 2013-01-09 Elias Pipping <pipping@lavabit.com>
1710
1711 * doc-view.el: Add support for mupdf converter (bug#13164).
1712 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1713 (doc-view-ps->png-converter-function): New config vars.
1714 (doc-view-pdf->png-converter-ghostscript)
1715 (doc-view-ps->png-converter-ghostscript)
1716 (doc-view-pdf->png-converter-mupdf): New functions.
1717 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1718
1719 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1720
1721 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1722 first in session cache: When `tramp-own-remote-path' is in
1723 `tramp-remote-path', the remote path is only set in the session
1724 cache.
1725
1726 2013-01-09 Glenn Morris <rgm@gnu.org>
1727
1728 * emacs-lisp/trace.el (trace-function-foreground)
1729 (trace-function-background): Doc fix.
1730
1731 2013-01-09 Juri Linkov <juri@jurta.org>
1732
1733 * international/mule-cmds.el (read-char-by-name): Move let-binding
1734 of completion-ignore-case around completing-read to fix regression
1735 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1736 `string-match-p' using the nil value of `case-fold-search' and
1737 `completion-ignore-case' in `completion-pcm--all-completions'.
1738 (Bug#12615).
1739
1740 2013-01-09 Glenn Morris <rgm@gnu.org>
1741
1742 * progmodes/compile.el (compilation-parse-errors):
1743 Fix typo. (Bug#13369)
1744
1745 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1746
1747 * comint.el (comint-send-input): Check size of buffer before
1748 waiting for process output, in case already accepted. (Bug#13290)
1749
1750 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1751
1752 Spelling fixes.
1753 * net/tramp-adb.el (tramp-adb-get-toolbox):
1754 Fix misspelling of 'unknown'.
1755
1756 2013-01-08 Juri Linkov <juri@jurta.org>
1757
1758 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1759 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1760 Use underline style wave on terminals that support it. (Bug#13000)
1761
1762 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1765 the predicate returns nil.
1766
1767 * simple.el: Use lexical-binding.
1768 (primitive-undo): Use pcase.
1769 (minibuffer-history-isearch-push-state): Use a closure.
1770
1771 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1772
1773 * simple.el (primitive-undo): Move from undo.c.
1774
1775 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1778 (cvs-mode-remove-handled): Use it (bug#13380).
1779
1780 * emacs-lisp/nadvice.el (advice--tweak): New function.
1781 (advice--remove-function, advice--subst-main): Use it.
1782
1783 * emacs-lisp/advice.el: Update commentary.
1784
1785 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1786
1787 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1788 Remove spurious entry.
1789
1790 2013-01-08 Glenn Morris <rgm@gnu.org>
1791
1792 * net/tramp.el (tramp-default-host-alist): Add :version.
1793
1794 2013-01-08 Juri Linkov <juri@jurta.org>
1795
1796 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1797 single completion. (Bug#12456)
1798 (info--manual-names): Expand node completions into an explicit list
1799 before appending it to another list. Filter out internal buffers
1800 with the leading space in the buffer name. (Bug#10771)
1801
1802 2013-01-08 Juri Linkov <juri@jurta.org>
1803
1804 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1805 that defaults to the Top node.
1806 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1807 the short format (FILENAME) goes to the Top node.
1808 (Info-build-node-completions): Rename arg `file' to `filename'.
1809 (Bug#13365)
1810
1811 2013-01-07 Bastien Guerry <bzg@gnu.org>
1812
1813 * menu-bar.el (menu-bar-search-documentation-menu):
1814 Use `apropos-user-option' and fix the help message.
1815
1816 2013-01-07 Bastien Guerry <bzg@gnu.org>
1817
1818 * apropos.el (apropos-do-all): Update docstring.
1819 (apropos-user-option-button): New face.
1820 (apropos-user-option): Rename from `apropos-variable' and update
1821 docstring.
1822 (apropos-variable): Rewrite, now show all variables by default.
1823 (apropos-print): Mention "User option" instead of "Variable" when
1824 printing doc for user options. (Bug#13276)
1825
1826 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1827
1828 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1829 Handle filename correctly, when parsing "source -> target" symlink
1830 output.
1831 (tramp-adb-handle-set-file-times): New defun.
1832
1833 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1836 advice list when the interactive-spec of ad-Advice-* changes.
1837
1838 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1839
1840 * wid-edit.el (widget-default-get): Work for inlined elements.
1841 (Bug#12670)
1842
1843 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1844
1845 * net/tramp.el (tramp-default-host-alist): New defcustom.
1846 (tramp-find-host): Use it.
1847 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1848 `eshell-directory-change-hook'.
1849
1850 * net/tramp-adb.el (top): Add adb specific entry in
1851 `tramp-default-host-alist'.
1852 (tramp-adb-file-name-host): Remove function.
1853 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1854 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1855
1856 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1857
1858 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1859
1860 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1861
1862 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1863
1864 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1865 consist of more than one digit.
1866 (tramp-adb-file-name-handler-alist):
1867 Use `tramp-handle-file-exists-p' consistently.
1868 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1869 (tramp-adb-handle-file-exists-p): Remove function.
1870 (tramp-adb-file-name-host): New defun.
1871 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1872 Use it.
1873 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1874
1875 2013-01-06 Chong Yidong <cyd@gnu.org>
1876
1877 * vc/vc.el (vc-next-action): Detect buffer modifications
1878 conflicting with locking VCS operation (Bug#11490).
1879
1880 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1881
1882 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1883
1884 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1885 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1886
1887 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1888
1889 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1890 parsing of ls output using regular expression (handle filenames
1891 with spaces). Use virtual device number.
1892 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1893 cleanup).
1894
1895 2013-01-04 Daiki Ueno <ueno@gnu.org>
1896
1897 * epg.el: Silence byte-compiler warnings.
1898 (epg--start): Use delete-char instead of delete-backward-char.
1899 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1900
1901 2013-01-04 Daiki Ueno <ueno@gnu.org>
1902
1903 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1904 Suggested by Eli Zaretskii <eliz@gnu.org>.
1905
1906 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1907
1908 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1909 non-negative integers. Otherwise, the default values are used.
1910 (tramp-convert-file-attributes): Convert uid and gid to integers.
1911
1912 2013-01-04 Glenn Morris <rgm@gnu.org>
1913
1914 * term.el (term-handle-colors-array): Ensure face attributes
1915 are fully specified, not nil. (Bug#13337)
1916
1917 * term.el (term-default-fg-color, term-default-bg-color):
1918 Fix custom type.
1919
1920 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1921 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1922 rather than 'jka-compr being loaded. (Bug#13338)
1923
1924 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1925
1926 * icomplete.el (icomplete-completions):
1927 Honor icomplete-prospects-height once more following
1928 2012-11-29 changes. (Bug#13224)
1929
1930 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1931
1932 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1933 of called-interactively-p as well (bug#13237).
1934
1935 * view.el (view--enable, view--disable): Rename from view-mode-enable
1936 and view-mode-disable and assume it's called from view-mode.
1937 (view-mode-enable, view-mode-disable): Redefine as obsolete
1938 compatibility layer above view-mode.
1939 (view-mode-enter): Call `view-mode'.
1940
1941 * files.el (after-find-file): Call `view-mode'.
1942
1943 * doc-view.el (doc-view-scale-internally): New var.
1944 (doc-view-enlarge, doc-view-insert-image): Obey it.
1945
1946 2013-01-03 Daiki Ueno <ueno@gnu.org>
1947
1948 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1949 exist. (Bug#13344)
1950
1951 2013-01-03 Glenn Morris <rgm@gnu.org>
1952
1953 * mail/rmail.el (rmail-set-header-1): Ignore case.
1954 Handle multi-line headers. (Bug#13330)
1955
1956 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1957 Handle paragraph starting at beginning of buffer.
1958
1959 * subr.el (eval-after-load): Don't purecopy the form, so that it
1960 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1961
1962 * emacs-lisp/byte-run.el (defun): Place cl declarations
1963 after any interactive spec. (Bug#13265)
1964
1965 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1966
1967 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1968 defun. Don't check for DECL if DOCSTRING isn't a string.
1969 (defun): Likewise.
1970
1971 2013-01-02 Glenn Morris <rgm@gnu.org>
1972
1973 * eshell/em-cmpl.el (eshell-pcomplete):
1974 More thoroughly imitate pcomplete. (Bug#13293)
1975
1976 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1977 Return nil for empty path elements. (Bug#13296)
1978
1979 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1980
1981 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1982 order to improve efficiency (Based on Daniel Colascione's
1983 <dancol@dancol.org> patch). (Bug#13182)
1984
1985 2013-01-02 Glenn Morris <rgm@gnu.org>
1986
1987 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1988
1989 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1990
1991 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1992 neither DOCSTRING nor DECL was given. (Bug#13316)
1993
1994 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1995
1996 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1997 `error' call.
1998 (tramp-do-copy-or-rename-file): Ignore errors when calling
1999 `set-file-extended-attributes'.
2000
2001 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2002 Add handler for `file-acl'.
2003 (tramp-smb-handle-file-acl): New defun.
2004
2005 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2006
2007 * calc/README: Mention ISO 8601 week-numbering dates.
2008
2009 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2010
2011 * view.el (view-mode-enable): New argument run-view-mode-hook.
2012 Run view-mode-hook only when it's non-nil (Bug#13315).
2013 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2014 argument t.
2015
2016 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2017
2018 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2019 (No device connected, invalid device name). (Bug #13299)
2020
2021 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2022
2023 * window.el (window-resizable--p): Rename to window-resizable-p.
2024 (window-resize-no-error): New function.
2025
2026 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2027 broken in fix from 2012-12-28.
2028
2029 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2030
2031 * subr.el (special-form-p): Don't signal errors on undef aliases.
2032
2033 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2034
2035 * calc/calc-forms.el (math-parse-date): Try using
2036 `math-parse-iso-date' when it looks like it might be needed.
2037 Allow times of 24:00.
2038 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2039 of 24:00.
2040
2041 2012-12-30 Glenn Morris <rgm@gnu.org>
2042
2043 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2044 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2045 (rmail-summary-displayed, rmail-summary): Declare.
2046 (mairix-rmail-display): Just require rmail.
2047
2048 2012-12-30 Chong Yidong <cyd@gnu.org>
2049
2050 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2051 check for the tarball contents.
2052
2053 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2054
2055 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2056 tarfile content listings (Bug#13136).
2057
2058 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2059
2060 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2061 Insert the undecoded text of the message being forwarded. (Bug#9521)
2062
2063 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2064
2065 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2066 integers, if they are real numbers. (Bug#13282)
2067
2068 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2069 Return `t' on success.
2070
2071 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2072 Add handler for `set-file-selinux-context'.
2073
2074 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2075
2076 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2077 (tramp-sh-handle-set-file-acl): Return `t' on success.
2078
2079 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2080
2081 * files.el (backup-buffer-copy, basic-save-buffer-2):
2082 If set-file-extended-attributes fails, fall back on set-file-modes
2083 instead of signaling an error. (Bug#13298)
2084 (basic-save-buffer): Likewise.
2085
2086 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2087
2088 * progmodes/python.el: Support other commands triggering
2089 python-indent-line so indentation cycling continues to work.
2090 (python-indent-trigger-commands): New defcustom.
2091 (python-indent-line): Use it.
2092
2093 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2094
2095 * progmodes/python.el (python-shell-send-region): Add blank lines
2096 for non sent code so backtraces remain correct.
2097
2098 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2099
2100 * progmodes/python.el: Remove cl dependency.
2101 (python-syntax-count-quotes): Replace incf call.
2102 (python-fill-string): Replace setf call.
2103
2104 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2105
2106 * info.el (info-other-window): New arg, for consistency with info.
2107
2108 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2109
2110 * mail/rmail.el (rmail-maybe-display-summary):
2111 Rewrite (Bug#13066).
2112
2113 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2114
2115 * epg.el (epg--start): Modify process-environment locally.
2116
2117 2012-12-28 Daiki Ueno <ueno@gnu.org>
2118
2119 * epg.el: Support pinentry-curses.
2120 Suggested by Werner Koch in
2121 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2122 (epg-agent-file, epg-agent-mtime): New variable.
2123 (epg--start): Record the modified time of gpg-agent socket file,
2124 to restore Emacs frame after pinentry-curses termination.
2125 (epg-wait-for-completion): Restore Emacs frame here.
2126
2127 2012-12-27 Juri Linkov <juri@jurta.org>
2128
2129 * info.el (Info-file-completions): New variable.
2130 (Info-read-node-name-1): Complete node names in the Info file
2131 when a file name is given. Call `Info-build-node-completions'
2132 with a file name.
2133 (Info-build-node-completions): Add new arg `file'. When it is
2134 non-nil, visit it in a temporary buffer and cache its completions in
2135 `Info-current-file-completions'. Move most of the function body to
2136 `Info-build-node-completions-1'.
2137 (Info-build-node-completions-1): New function with the body from
2138 `Info-build-node-completions'. (Bug#12456)
2139
2140 2012-12-27 Juri Linkov <juri@jurta.org>
2141
2142 * frame.el (frame-maximization-style): Remove user option.
2143 (cycle-frame-maximized): Remove function.
2144 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2145 (toggle-frame-fullscreen): New command bound to <f11> instead of
2146 `toggle-frame-maximized'.
2147 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2148
2149 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2150
2151 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2152
2153 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2154 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2155 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2156 for `file-accessible-directory-p'. (Bug#13275)
2157
2158 2012-12-27 Sam Steingold <sds@gnu.org>
2159
2160 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2161 continuations, see <http://stackoverflow.com/questions/3582436>.
2162
2163 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2164
2165 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2166 "module" and "def" to have indentation before them.
2167 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2168
2169 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2170
2171 2012-12-27 Alan Mackenzie <acm@muc.de>
2172
2173 Speed up fontification where there's large brace blocks.
2174 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2175 to a call of c-beginning-of-decl-1.
2176
2177 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2178
2179 * comint.el (comint-adjust-window-point): New function.
2180 (comint-postoutput-scroll-to-bottom):
2181 Call comint-adjust-window-point (Bug#13248).
2182
2183 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2184
2185 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2186 Rakefile regexp.
2187 (auto-mode-alist): Associate .gemspec files with ruby-mode
2188 (https://bugs.ruby-lang.org/issues/5453).
2189
2190 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2191
2192 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2193 Suppress coloring, if possible (required for BusyBox based systems like
2194 CyanogenMod).
2195 (tramp-adb-handle-file-attributes)
2196 (tramp-adb-handle-insert-directory)
2197 (tramp-adb-handle-file-name-all-completions): Use it.
2198 (tramp-adb-get-toolbox): New defun. Check for remote shell
2199 implementation (BusyBox or Toolbox).
2200
2201 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2202
2203 * startup.el (initial-buffer-choice): Allow function as value
2204 (Bug#13251).
2205 (command-line-1): Handle case where initial-buffer-choice
2206 specifies a function.
2207 * server.el (server-execute): Handle case where
2208 initial-buffer-choice specifies a function.
2209
2210 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2211
2212 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2213 its own function.
2214 (smtpmail-try-auth-methods): Forget the user name/password if the
2215 login is unsuccessful (bug#12424).
2216
2217 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2218
2219 * notifications.el (notifications-notify): Protect body with
2220 `with-demoted-errors'.
2221
2222 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2223 Check properties of remote device. Restart connection, if there is a
2224 change.
2225
2226 2012-12-21 Chong Yidong <cyd@gnu.org>
2227
2228 * sort.el (sort-subr): Doc fix (Bug#13056).
2229
2230 2012-12-21 Bastien Guerry <bzg@gnu.org>
2231
2232 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2233
2234 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2235
2236 * simple.el (process-file): Overwrite stderr file, if exists.
2237
2238 2012-12-21 Daiki Ueno <ueno@gnu.org>
2239
2240 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2241 (epg-error): Set `error-message' property.
2242
2243 2012-12-21 Chong Yidong <cyd@gnu.org>
2244
2245 * international/mule-cmds.el (read-char-by-name): Signal an error
2246 if the user does not supply a valid character (Bug#13177).
2247
2248 * simple.el (transpose-subr-1): Preserve marker positions by
2249 changing the insertion sequence (Bug#13122).
2250
2251 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2252
2253 * simple.el (kill-region): Deactivate mark even for empty regions
2254 (Bug#13169).
2255
2256 2012-12-21 Chong Yidong <cyd@gnu.org>
2257
2258 * help-fns.el (describe-variable): Make sure we get the right
2259 buffer name (Bug#13105). Suggested by Kelly Dean.
2260
2261 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2262
2263 * comint.el (comint-redirect-previous-input-string): New variable.
2264 (comint-redirect-setup, comint-redirect-cleanup)
2265 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2266 (comint-redirect-preoutput-filter): Fix verbose message.
2267
2268 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2269
2270 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2271 is too long for Tramp. See discussion in
2272 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2273
2274 * progmodes/compile.el (compilation-start): Remove line escape
2275 template.
2276
2277 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2278
2279 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2280 Adjust comment.
2281
2282 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2283
2284 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2285 following non-comment text (bug#13207).
2286 (lm-header-multiline): Continuation lines need to be indented more than
2287 the first line.
2288 (lm-homepage): New function.
2289 (lm-with-file): Don't be confused if narrowing is in effect.
2290
2291 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2292
2293 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2294 very beginning of a hunk (e.g. killing the first line).
2295
2296 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2297
2298 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2299 and text properties from returned ACL string.
2300 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2301 for "setfacl" command.
2302
2303 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2304
2305 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2306 `tramp-cleanup-this-connection', when the process has died.
2307 (Bug#13151)
2308
2309 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2310
2311 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2312
2313 2012-12-17 Kevin Ryde <user42@zip.com.au>
2314
2315 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2316
2317 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2318
2319 Add support for preserving ACL entries of files.
2320
2321 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2322 `set-file-acl' handlers.
2323
2324 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2325 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2326
2327 * net/tramp-compat.el (tramp-compat-copy-file):
2328 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2329
2330 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2331 Add `file-acl' and `set-file-acl' handlers.
2332 (tramp-gvfs-handle-copy-file):
2333 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2334 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2335 New defuns.
2336
2337 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2338 Add `file-acl' and `set-file-acl' handlers.
2339 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2340 (tramp-sh-handle-set-file-acl): New defuns.
2341 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2342 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2343
2344 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2345 Add `file-acl' and `set-file-acl' handlers.
2346 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2347
2348 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2349
2350 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2351 use pop-to-buffer with NORECORD argument t. As buffer name, use
2352 *Metahelp* with a leading space (Bug#13190).
2353
2354 2012-12-16 Romain Francoise <romain@orebokech.com>
2355
2356 * files.el (file-extended-attributes)
2357 (set-file-extended-attributes): New functions.
2358 (backup-buffer): Use them to handle both SELinux context and ACL
2359 entries.
2360 (backup-buffer-copy): Work with an alist of extended attributes,
2361 rather than an SELinux context.
2362 (basic-save-buffer-2): Ditto.
2363
2364 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2365
2366 * battery.el (battery-bsd-apm): New function.
2367
2368 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2369
2370 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2371 standard date formats.
2372
2373 2012-12-15 Juri Linkov <juri@jurta.org>
2374
2375 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2376 `isearch-insert-char-by-name'.
2377 (with-isearch-suspended): New defmacro with body mostly from
2378 `isearch-edit-string' except the part that sets
2379 `isearch-new-string' and `isearch-new-message'.
2380 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2381 body that sets `isearch-new-string' and `isearch-new-message'.
2382 (isearch-insert-char-by-name): New command.
2383 * international/mule-cmds.el (read-char-by-name): Let-bind
2384 `enable-recursive-minibuffers' to t.
2385 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2386
2387 2012-12-15 Juri Linkov <juri@jurta.org>
2388
2389 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2390 (Bug#13175)
2391
2392 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2393
2394 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2395 the prompt. (Bug#13045)
2396
2397 2012-12-14 Glenn Morris <rgm@gnu.org>
2398
2399 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2400 Try to include filename in non-bytecomp warning. (Bug#13132)
2401
2402 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2403
2404 Fix permissions bugs with setgid directories etc. (Bug#13125)
2405 * files.el (backup-buffer): Don't rely on 9th output of
2406 file-attributes, as it's now a placeholder. Instead, use the new
2407 optional arg of file-ownership-preserved-p.
2408 (file-ownership-preserved-p): New optional arg GROUP.
2409 Fix mishandling of setuid directories that would cause this
2410 function to return t when it should have returned nil.
2411 Document what happens if the file does not exist, and when
2412 it's not known whether the ownership will be preserved.
2413 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2414 Likewise.
2415 (tramp-get-local-gid): Use group-gid for integer, as that's
2416 faster and more reliable.
2417
2418 2012-12-14 Julien Danjou <julien@danjou.info>
2419
2420 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2421 Update keywords list, data type and PL/pgSQL.
2422
2423 2012-12-14 Dave Abrahams <dave@boostpro.com>
2424
2425 * vc/ediff-util.el (ediff-buffer-type): New function.
2426 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2427 rather than taking it as as argument.
2428 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2429
2430 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2431
2432 * json.el: Add pretty-print option (bug#12634).
2433 (json-encoding-separator, json-encoding-default-indentation)
2434 (json--encoding-current-indentation, json-encoding-pretty-print)
2435 (json-encoding-lisp-style-closings): New vars.
2436 (json--with-indentation): New macro.
2437 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2438 (json-encode-array): Use it to obey json-encoding-pretty-print.
2439 (json-pretty-print-buffer, json-pretty-print): New commands.
2440
2441 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2442
2443 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2444 Extract `ruby-syntax-propertize-expansions'.
2445 (ruby-syntax-propertize-expansions): Only change syntax on
2446 certain string delimiters, to punctuation. This way the common
2447 functions like forward-word and thing-at-point still work.
2448 (ruby-match-expression-expansion): Improve readability.
2449 (ruby-block-contains-point): New function.
2450 (ruby-add-log-current-method): Handle several edge cases.
2451
2452 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2453
2454 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2455 unload-feature finishes even when aborting an ongoing edebug session.
2456 Also, do not worry about edebug-mode, unload-feature takes care of it.
2457
2458 2012-12-13 Andreas Schwab <schwab@suse.de>
2459
2460 * net/tls.el (tls-program): Update customize type.
2461
2462 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2463
2464 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2465 (edebug-setup-hook, cl-read-load-hooks): Use it.
2466 (edebug-unload-function): New function. (Bug#13163)
2467
2468 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2469
2470 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2471 Otherwise, there could be errors in autoloading. (Bug#13151)
2472
2473 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2474
2475 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2476 sequences.
2477
2478 2012-12-13 Alan Mackenzie <acm@muc.de>
2479
2480 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2481 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2482 around `forward-comment' not recognizing ^M as whitespace.
2483
2484 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2485
2486 * progmodes/python.el (python-skeleton-class)
2487 (python-skeleton-def): Do not add space after defun name.
2488
2489 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2492 (cl--symbol-function): Remove (now that funbound is like nil).
2493
2494 2012-12-12 Glenn Morris <rgm@gnu.org>
2495
2496 * button.el (button--area-button-p): Fix typo.
2497
2498 2012-12-12 Sam Steingold <sds@gnu.org>
2499
2500 * frame.el (frame-maximization-style): New user option.
2501 (toggle-frame-maximized): Toggle frame maximization according to
2502 `frame-maximization-style', bound to <f11>.
2503 (cycle-frame-maximized): Cycle between all maximization styles and
2504 non-maximized frame, bound to shift-<f11>.
2505
2506 2012-12-12 David Cadé <codename68@gmail.com>
2507
2508 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2509
2510 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2511
2512 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2513 (eieio-override-prin1): Don't quote kewords and booleans.
2514 (object-write) <eieio-default-superclass>: Don't put closing parens
2515 on new line, avoid needless empty lines, align values that are objects
2516 with the slot keyword (instead of beginning on the same line).
2517 (eieio-list-prin1): Align value with slot keyword; increase
2518 eieio-print-depth before printing members of the list.
2519
2520 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2521
2522 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2523 a display text-property.
2524 (report-emacs-bug-hook): Don't bother deleting it any more.
2525
2526 * hilit-chg.el (highlight-save-buffer-state): Delete.
2527 Use with-silent-modifications instead.
2528 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2529
2530 * button.el: Handle buttons in display text-properties.
2531 (button--area-button-p, button--area-button-string):
2532 Use (STRING . STRING-POS) representation instead of just STRING.
2533
2534 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2535
2536 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2537 subdirectory be skipped.
2538
2539 2012-12-11 Glenn Morris <rgm@gnu.org>
2540
2541 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2542
2543 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2544 Treat preprocessor lines embedded in continuations like comments.
2545 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2546
2547 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2548
2549 * calc/calc.el (calc-standard-date-formats): Add more date
2550 formats.
2551 * calc/calc-forms.el (math-parse-iso-date): New function.
2552 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2553 (math-parse-iso-date-validate): Add extra error checking.
2554 (calc-date-notation): Add ability to access new date formats.
2555
2556 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2557
2558 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2559 font-lock as well as when there's no text-property.
2560
2561 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2562
2563 * hi-lock.el: Refine the choice of default face.
2564 (hi-lock-keyword->face): New function. Use it wherever we used
2565 cadadadr instead.
2566 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2567 (hi-lock--last-face): Remove var.
2568 (hi-lock--unused-faces): New var to replace it.
2569 (hi-lock-read-face-name): Use/maintain it.
2570 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2571 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2572 if it has another face.
2573
2574 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2575
2576 * subr.el (w32notify-handle-event): New function.
2577 (inotify-handle-event): Doc fix.
2578
2579 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2580
2581 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2582
2583 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2584
2585 * simple.el (just-one-space): Doc fix.
2586
2587 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2588
2589 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2590
2591 2012-12-10 Le Wang <l26wang@gmail.com>
2592
2593 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2594 narrowed buffer (bug#12361).
2595
2596 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2597
2598 * vc/vc-hooks.el (vc-state): Doc fix.
2599
2600 2012-12-10 Glenn Morris <rgm@gnu.org>
2601
2602 * mail/rmail.el (rmail-maybe-display-summary):
2603 Preserve buffer, in case select-window changes it. (Bug#13066)
2604
2605 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2606
2607 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2608 cl-load-hook where they belong.
2609
2610 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2611
2612 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2613
2614 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2615
2616 Parallelize byte compilation on MS-Windows.
2617 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2618 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2619 (WINS_BASIC): Define as concatenation of the above.
2620 (compile): Subdivide into 4 separate and independent jobs that can
2621 be run in parallel.
2622 (compile0-CMD, compile0-SH): New targets for compiling
2623 COMPILE_FIRST files, which are prerequisites for the rest of the
2624 byte-compilation.
2625 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2626 New targets for parallel compilation with cmd.exe.
2627 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2628 compiling under a Unixy shell.
2629
2630 2012-12-09 Chong Yidong <cyd@gnu.org>
2631
2632 * simple.el (set-mark-default-inactive): Delete this
2633 accidentally-introduced option.
2634 (set-mark-command, exchange-point-and-mark): Remove calls.
2635
2636 2012-12-09 Glenn Morris <rgm@gnu.org>
2637
2638 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2639 Respect a defcustom's :set function, if appropriate. (Bug#109)
2640 (eval-defun): Doc fix.
2641
2642 2012-12-08 Juri Linkov <juri@jurta.org>
2643
2644 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2645 (Info-fontify-node, Info-bookmark-make-record): Remove the
2646 file extension from Info-current-file (Bug#13016).
2647
2648 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2649
2650 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2651 point, still provide some default.
2652 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2653 names, since we don't use it right now. Actually return the list.
2654 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2655
2656 2012-12-07 Chong Yidong <cyd@gnu.org>
2657
2658 * novice.el (disabled-command-function): Remove a spurious help
2659 xref (Bug#13043). Suggested by Kelly Dean.
2660
2661 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2662 syntax is specified (Bug#13025).
2663
2664 * info.el (Info-set-mode-line): Remove the file extension from
2665 Info-current-file if there is one (Bug#13016).
2666
2667 2012-12-07 Glenn Morris <rgm@gnu.org>
2668
2669 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2670 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2671 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2672 and rmail-mime-decoded. (Bug#9841)
2673
2674 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2675 (batch-unrmail, unrmail): Doc fixes.
2676 (unrmail): Respect unrmail-mbox-format.
2677 * mail/rmail.el (rmail-mbox-format): New option.
2678 (rmail-show-message-1): Respect rmail-mbox-format.
2679
2680 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2681
2682 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2683
2684 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2685
2686 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2687 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2688 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2689 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2690 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2691 (cl-progv): Don't rely on dynamic scoping to find the body.
2692 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2693 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2694 (cl-declaim): Use backquotes.
2695 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2696 Use "cl--" prefix for the object's tag.
2697
2698 * ses.el: Use advice-add/remove.
2699 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2700 (copy-region-as-kill, yank): Use advice-add.
2701 (ses-unload-function): Use advice-remove.
2702
2703 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2704
2705 * button.el: Make them work in header-lines (bug#12817).
2706 (button-map): Add bindings for header-line and mode-line use.
2707 (button-get, button-put, button-label): `button' may now be a string.
2708 (button-activate): Don't make it a defsubst.
2709 (button--area-button-p, button--area-button-string): New functions.
2710 (make-text-button): Fix the return value when `beg' was a string.
2711 (push-button): Handle the mode-line case.
2712
2713 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2714
2715 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2716 (sql-signum): Remove. Use `cl-signum' instead.
2717 (sql-read-passwd): Remove; use read-passwd instread.
2718 (sql-get-login-ext): Use read-string.
2719 (sql-get-login): Use dolist and pcase.
2720 (sql--completion-table): Rename from sql-try-completion.
2721 Use complete-with-action.
2722 (sql-mode): Don't change abbrev-all-caps globally.
2723 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2724 (sql-postgres-completion-object): Initialize vars in their `let'.
2725 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2726 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2727 (sql-comint-interbase): Use a single append, without setq.
2728 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2729
2730 * hi-lock.el: Rework the default face and the serialize regexp code.
2731 (hi-lock--auto-select-face-defaults): Remove.
2732 (hi-lock-string-serialize-serial): Remove.
2733 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2734 make weak.
2735 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2736 equal string.
2737 (hi-lock-set-pattern): Adjust accordingly.
2738 (hi-lock--regexps-at-point): Simplify accordingly.
2739 (hi-lock--auto-select-face-defaults): Remove.
2740 (hi-lock--last-face): New var to replace it.
2741 (hi-lock-read-face-name): Rewrite (bug#11095).
2742 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2743
2744 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2745
2746 * net/tramp.el (tramp-replace-environment-variables):
2747 Hide compiler warning.
2748 (tramp-file-name-for-operation): Remove `executable-find',
2749 `start-process', `call-process' and `call-process-region'.
2750
2751 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2752
2753 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2754 compatibility.
2755
2756 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2757
2758 2012-12-06 Chong Yidong <cyd@gnu.org>
2759
2760 * ffap.el (ffap-replace-file-component): Fix typo.
2761
2762 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2763
2764 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2765 fix open-paren-like token test (bug#12785).
2766
2767 2012-12-06 Glenn Morris <rgm@gnu.org>
2768
2769 * mail/rmailsum.el (rmail-new-summary): Tweak for
2770 rmail-maybe-display-summary changing buffer. (Bug#13066)
2771
2772 2012-12-06 Juri Linkov <juri@jurta.org>
2773
2774 * info.el (Info-fontify-node): Don't hide the last newline.
2775 (Bug#12272)
2776
2777 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2778
2779 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2780 so as to enable message-read-from-minibuffer to expand mail aliases.
2781
2782 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2783
2784 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2785 the `intangible' property.
2786 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2787
2788 2012-12-05 Deniz Dogan <deniz@dogan.se>
2789
2790 * net/rcirc.el (rcirc-urls): Update documentation.
2791 (rcirc-condition-filter): New function.
2792 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2793 and exclude consecutive duplicate URLs (Bug#6082).
2794
2795 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2796
2797 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2798 Check return code of copy command.
2799
2800 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2801 Use group `tramp'. Add version.
2802
2803 2012-12-05 Chong Yidong <cyd@gnu.org>
2804
2805 * ffap.el (ffap-url-regexp): Don't require matching at front of
2806 string (Bug#4952).
2807 (ffap-url-p): If only a substring matches, return that.
2808 (ffap-url-at-point): Use the return value of ffap-url-p.
2809 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2810 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2811 (ffap-guess-file-name-at-point): Likewise.
2812 (ffap-replace-file-component): Fix typo.
2813
2814 * info.el (info-display-manual): Add existing Info buffers, whose
2815 files may not be in Info-directory-list, to the completion.
2816 (info--manual-names): New helper function.
2817
2818 2012-12-05 Glenn Morris <rgm@gnu.org>
2819
2820 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2821 New functions, for detecting and resolving conflicts. (Bug#10709)
2822
2823 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2824
2825 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2826 (hi-lock-auto-select-face-defaults): New buffer local variable.
2827 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2828 (hi-lock-unface-buffer): Prompt user with useful defaults.
2829 With prefix arg, unhighlight all hi-lock patterns in buffer.
2830
2831 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2832
2833 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2834
2835 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2836
2837 * Makefile.in (TRAMP_SRC):
2838 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2839
2840 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2841
2842 * net/tramp-adb.el: New package.
2843
2844 2012-12-04 Chong Yidong <cyd@gnu.org>
2845
2846 * terminal.el: Move to obsolete/.
2847
2848 * longlines.el: Move to obsolete/.
2849
2850 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2851 Remove code referring to longlines mode.
2852
2853 2012-12-03 Juri Linkov <juri@jurta.org>
2854
2855 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2856
2857 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2858
2859 * textmodes/ispell.el (ispell-init-process)
2860 (ispell-start-process, ispell-internal-change-dictionary):
2861 Make sure personal dictionary name is expanded after initial
2862 `default-directory' value. Use expanded strings for
2863 keep/restart checks and for value (Bug#13019).
2864
2865 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2866
2867 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2868
2869 2012-12-03 Leo Liu <sdl.web@gmail.com>
2870
2871 * files.el (dir-locals-read-from-file): Check file non-empty
2872 before reading. (Bug#13038)
2873
2874 2012-12-03 Glenn Morris <rgm@gnu.org>
2875
2876 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2877 Remove any version extension before checking filename. (Bug#13006)
2878 (jka-compr-compression-info-list): Belated :version bump.
2879
2880 2012-12-03 Chong Yidong <cyd@gnu.org>
2881
2882 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2883
2884 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2885 (buffer-menu): Doc fix (Bug#12294).
2886
2887 2012-12-03 Roland Winkler <winkler@gnu.org>
2888
2889 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2890 of diary-show-all-entries in the diary buffer (Bug#12994).
2891
2892 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2893
2894 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2895 "<STDIN>". This is binary safe.
2896
2897 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2898
2899 * calc/calc-forms.el (math-absolute-from-iso-dt)
2900 (math-date-to-iso-dt, math-parse-iso-date-validate)
2901 (math-iso-dt-to-date): New functions.
2902 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2903 (math-fd-isoweekday): New variables.
2904 (calc-date-notation, math-parse-standard-date, math-format-date)
2905 (math-format-date-part): Add support for more formatting codes.
2906
2907 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2908
2909 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2910 current buffer's file name when called interactively (Bug#12488).
2911
2912 2012-12-02 Juri Linkov <juri@jurta.org>
2913
2914 * info.el (info-display-manual): Don't clobber an existing Info
2915 buffer (Bug#10770). Add completion (Bug#10771).
2916
2917 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2918
2919 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2920 before using it for comparison (Bug#5297).
2921
2922 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2923
2924 * textmodes/css-mode.el (css-current-defun-name): New function.
2925 (css-mode): Use it.
2926
2927 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2928 (html-mode): Use it.
2929
2930 2012-12-01 Chong Yidong <cyd@gnu.org>
2931
2932 Modularize add-log-current-defun (Bug#2224).
2933 Suggested by Jari Aalto.
2934
2935 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2936 (add-log-current-defun): Move mode-specific code to other files.
2937 (add-log-lisp-like-modes, add-log-c-like-modes)
2938 (add-log-tex-like-modes): Variables deleted.
2939
2940 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2941 (lisp-mode-variables): Use it.
2942
2943 * progmodes/cc-mode.el (c-common-init):
2944 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2945 add-log-current-defun-function.
2946
2947 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2948 (m4-mode): Use it.
2949
2950 * progmodes/perl-mode.el (perl-current-defun-name): New.
2951 (perl-mode): Use it.
2952
2953 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2954 Use lisp-current-defun-name.
2955
2956 * textmodes/tex-mode.el (tex-current-defun-name): New.
2957 (tex-common-initialization): Use it.
2958
2959 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2960 (texinfo-mode): Use it.
2961
2962 2012-12-01 Chong Yidong <cyd@gnu.org>
2963
2964 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2965 * progmodes/autoconf.el (autoconf-mode):
2966 * progmodes/js.el (js-mode):
2967 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2968 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2969 * progmodes/perl-mode.el (perl-mode):
2970 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2971 * textmodes/css-mode.el (css-mode):
2972 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2973 (sgml-tags-invisible, sgml-guess-indent):
2974 * textmodes/tex-mode.el (tex-common-initialization)
2975 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2976 (doctex-mode, plain-tex-mode, latex-mode):
2977 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2978
2979 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2980
2981 * vc/vc-hg.el (vc-hg-next-revision):
2982 Ensure use of default "tip" output format. (Bug#6968)
2983
2984 2012-12-01 Kim F. Storm <storm@cua.dk>
2985
2986 * startup.el (fancy-startup-tail): Add a clickable link
2987 (Bug#2176).
2988
2989 2012-12-01 Chong Yidong <cyd@gnu.org>
2990
2991 * startup.el (fancy-startup-tail): Improve the message about
2992 auto-save files (Bug#2176).
2993
2994 * files.el (recover-session): Improve the descriptive message, and
2995 use substitute-command-keys.
2996
2997 2012-12-01 Glenn Morris <rgm@gnu.org>
2998
2999 * ido.el (ido-file-internal):
3000 Handle other-window, other-frame for dired. (Bug#13036)
3001
3002 2012-11-30 Glenn Morris <rgm@gnu.org>
3003
3004 * icomplete.el (icomplete-separator): Fix :version.
3005
3006 2012-11-30 Chong Yidong <cyd@gnu.org>
3007
3008 * shell.el (shell): For C-u M-x shell, use an inactive shell
3009 buffer as the default (Bug#1975).
3010 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3011 (shell-mode): Use them to reapply ansi colorization if Shell mode
3012 is re-enabled.
3013
3014 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3015
3016 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3017
3018 2012-11-30 Samuel Bronson <naesten@gmail.com>
3019
3020 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3021 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3022
3023 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3024
3025 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3026 by move-to-column (Bug#3234).
3027
3028 2012-11-30 Chong Yidong <cyd@gnu.org>
3029
3030 * longlines.el (longlines-wrap-line, longlines-encode-region):
3031 Preserve text properties (Bug#1425).
3032
3033 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3034
3035 * vc/vc.el (vc-register): Allow registering a file which is
3036 already registered with a different backend (Bug#10589).
3037
3038 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3039 Stefan Monnier <monnier@iro.umontreal.ca>
3040
3041 * icomplete.el: Change separator; add ido-style commands.
3042 (icomplete-show-key-bindings): Remove custom var.
3043 (icomplete-get-keys): Remove function.
3044 (icomplete-forward-completions, icomplete-backward-completions):
3045 New commands.
3046 (icomplete-minibuffer-map): New var.
3047 (icomplete-minibuffer-setup): Use it.
3048 (icomplete-exhibit): Don't delay if the list of completions is known.
3049 (icomplete-separator): New custom.
3050 (icomplete-completions): Use it.
3051 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3052 (minibuffer-force-complete-and-exit): New command.
3053 (minibuffer--complete-and-exit): New function extracted from
3054 minibuffer-complete-and-exit.
3055 (minibuffer-complete-and-exit): Use it.
3056
3057 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3058 error message when the file doesn't exist (bug#12974).
3059
3060 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3061
3062 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3063
3064 2012-11-29 Glenn Morris <rgm@gnu.org>
3065
3066 * files.el (hack-dir-local-variables): Warn if try to set
3067 coding via dir-locals, since it doesn't work. (Bug#7169)
3068
3069 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3070 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3071 Set buffer-local value of desktop-save-buffer.
3072 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3073 New functions.
3074 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3075 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3076
3077 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3078 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3079 Doc fix.
3080 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3081 Doc fixes.
3082
3083 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3084
3085 * calc/calc-forms.el (calc-date-notation): Fix regexp
3086 used to find time codes. Fix symbol for seconds.
3087
3088 2012-11-27 Glenn Morris <rgm@gnu.org>
3089
3090 * emacs-lisp/derived.el (derived-mode-make-docstring):
3091 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3092
3093 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3094
3095 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3096 lexically scoped variables (bug#13005).
3097
3098 2012-11-27 Glenn Morris <rgm@gnu.org>
3099
3100 * vc/vc-hooks.el (vc-mistrust-permissions):
3101 Default to t, to avoid data-loss. (Bug#11490)
3102
3103 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3104
3105 * progmodes/python.el (python-indent-guess-indent-offset):
3106 If indentation is guessed make python-indent-offset buffer-local.
3107
3108 Fix Imenu regression.
3109 * progmodes/python.el (python-nav-beginning-of-defun):
3110 Fix forward movement when statement(s) separates point from defun.
3111 (python-imenu-prev-index-position): New function.
3112
3113 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3114
3115 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3116
3117 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3118 Don't set buffer-file-type. Return nil. (Bug#12989)
3119
3120 2012-11-27 Glenn Morris <rgm@gnu.org>
3121
3122 * hippie-exp.el (hippie-expand-try-functions-list):
3123 Re-autoload it. (Bug#12982)
3124
3125 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3126
3127 * descr-text.el (describe-char-padded-string):
3128 Call internal-char-font only on GUI frames. (Bug#11964)
3129
3130 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3131
3132 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3133 and obsoletion message.
3134
3135 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3138 the constructs to keep outside of the `cl-block' (bug#12977).
3139
3140 2012-11-27 Chong Yidong <cyd@gnu.org>
3141
3142 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3143 keep reading until we get the up-event anyway, in order to process
3144 the up-event for mouse-1-click-follows-link (Bug#12971).
3145
3146 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3148 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3149 base function is not yet defined (bug#12965).
3150 (ad-activate-advised-definition): Use ad-compile-function.
3151 (ad-activate): Use cond.
3152
3153 2012-11-25 Leo Liu <sdl.web@gmail.com>
3154
3155 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3156 (Bug#12979)
3157
3158 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3159
3160 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3161 reftex-section-info-function in order to be compatible with
3162 Texinfo integration.
3163
3164 * textmodes/reftex.el (reftex-section-pre-regexp)
3165 (reftex-section-post-regexp, reftex-section-info-function):
3166 New variable.
3167 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3168 reftex-section-post-regexp, and reftex-section-info-function in order
3169 to be compatible with Texinfo integration.
3170
3171 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3172 use reftex-section-pre-regexp variable in order to be compatible with
3173 Texinfo integration.
3174
3175 2012-11-25 Chong Yidong <cyd@gnu.org>
3176
3177 * faces.el: Make face-spec-set more analogous to setq.
3178 (face-spec-set): Change the third arg to specify whether this
3179 function is being called via defface, customize, or a third party.
3180 Set the appropriate symbol properties. Clear the override spec if
3181 setting via Custom. Initialize face if necessary. (Bug#4988)
3182 (face-spec-recalc): Allow theme faces to completely replace the
3183 defface spec, in the same way as custom faces (Bug#8454).
3184
3185 * cus-face.el (custom-declare-face): Move face initialization to
3186 face-spec-set.
3187 (custom-theme-set-faces): Don't initialize the face name here, as
3188 that is now done in face-spec-set.
3189
3190 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3191 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3192 Simplify by using the new arg to face-spec-set.
3193
3194 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3195 reset face-override-spec too, and use custom-declare-face.
3196
3197 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3198
3199 * term/ns-win.el (ns-initialize-window-system): Move creation of
3200 fontsets here (Bug#11964).
3201
3202 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3203
3204 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3205 cell renaming.
3206
3207 2012-11-24 Chong Yidong <cyd@gnu.org>
3208
3209 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3210 obsolete.
3211
3212 * custom.el (custom-theme-set-variables): Use a topological sort
3213 for ordering by custom dependencies (Bug#12952).
3214 (custom--sort-vars, custom--sort-vars-1): New functions.
3215
3216 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3217
3218 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3219 lexical-binding (bug#12938).
3220
3221 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3222
3223 * image-mode.el (image-transform-check-size): Use assertions only
3224 for images of type imagemagick.
3225
3226 Otherwise no error, image-transform-fit-to-{width,height} is
3227 silently ignored, as before. Doc fix.
3228
3229 2012-11-24 Chong Yidong <cyd@gnu.org>
3230
3231 * faces.el (color-defined-p): Doc fix (Bug#12853).
3232
3233 2012-11-24 Juri Linkov <juri@jurta.org>
3234
3235 * dired.el (dired-mark): Add optional arg `interactive'.
3236 Check for `use-region-p' if `interactive' is non-nil.
3237 (dired-unmark, dired-flag-file-deletion): Add optional arg
3238 `interactive'. Call `dired-mark' with the arg `interactive'.
3239 (Bug#10624)
3240
3241 * wdired.el: Revert 2012-10-17 change partly and replace it with
3242 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3243 (wdired-finish-edit): Add marks for new file names to
3244 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3245 after `revert-buffer'.
3246 (wdired-do-renames): Remove calls to `dired-remove-file',
3247 `dired-add-file', `dired-add-entry'. (Bug#11795)
3248
3249 2012-11-24 Alan Mackenzie <acm@muc.de>
3250
3251 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3252
3253 Fix bugs in the state cache. Enhance a debugging mechanism.
3254 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3255 "brace at column zero" strategy for C++.
3256 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3257 (c-parse-state-point): New variable.
3258 (c-record-parse-state-state): Record old parse state with
3259 `copy-tree'. Record previous value of point.
3260 (c-debug-parse-state-double-cons): New debugging function.
3261 (c-debug-parse-state): Call the above new function.
3262 (c-toggle-parse-state-debug): Output a confirmatory message.
3263
3264 * progmodes/cc-mode.el (c-before-change, c-after-change):
3265 Call c-invalidate-state-cache from `c-before-change' instead of
3266 `c-after-change'.
3267
3268 2012-11-23 Chong Yidong <cyd@gnu.org>
3269
3270 * find-cmd.el (find-constituents): Add executable, ipath,
3271 readable, samefile, writable, daystart, regextype (Bug#12856).
3272
3273 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3274
3275 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3276
3277 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3278
3279 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3280 definition. This fixes a bootstrap failure.
3281 (calc-gregorian-switch): In menu, put dates before regions.
3282 This is easier to follow, lines up better in the menu, and lets us
3283 coalesce regions that switch at the same time. Give country
3284 names, not "Vatican", as that's better for non-expert users.
3285 Use names that are stable between the date of switch and now, e.g.,
3286 Bohemia and Moravia (which existed then and now) and not
3287 Czechoslovakia (which didn't exist then and doesn't exist now).
3288 What is now the U.S. mostly did not switch at the same time as
3289 Britain, so omit the U.S. Correct spelling of "Britain".
3290 Catholic Switzerland was too much of a mess, so omit it.
3291
3292 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3293
3294 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3295 after the variable is changed.
3296
3297 2012-11-21 Daniel Colascione <dancol@dancol.org>
3298
3299 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3300 in SQL declarations for font-lock.
3301 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3302
3303 2012-11-21 Glenn Morris <rgm@gnu.org>
3304
3305 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3306 (face-italic-p): Add optional argument "inherit".
3307
3308 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3309 Remove -p suffix from names, for consistency with other set-face-*.
3310 (set-face-inverse-video): Fix interactive spec.
3311 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3312 * textmodes/table.el (table--update-cell-face):
3313 Use set-face-inverse-video rather than now obsolete alias.
3314
3315 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3316
3317 * simple.el (line-move): Don't call line-move-partial if
3318 scroll-conservatively is in effect. (Bug#12927)
3319
3320 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3323 Fallback on completion-at-point rather than
3324 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3325 (eshell-cmpl-initialize): Setup completion-at-point.
3326
3327 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3328
3329 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3330
3331 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3332
3333 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3334 are remote, check out-of-band property for both.
3335
3336 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3337
3338 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3339 code rewrite.
3340
3341 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3342
3343 More minor time fixes.
3344 * calendar/time-date.el: Commentary fix.
3345 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3346 too much other code depends on (0 0) time stamps.
3347 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3348 Add a couple of FIXME comments.
3349
3350 Minor cleanup for times as lists of four integers.
3351 * files.el (dir-locals-directory-cache):
3352 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3353 Doc fixes.
3354 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3355 * ps-bdf.el (bdf-file-newer-than-time):
3356 Process four-integers time stamps, not two. Doc fixes.
3357
3358 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3359
3360 * uniquify.el (uniquify-managed): Use defvar-local.
3361 (rename-buffer, create-file-buffer): Advise with advice-add.
3362 (uniquify-unload-function): Unadvise accordingly.
3363
3364 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3365 (trace-buffer): Don't purecopy.
3366 (trace-entry-message, trace-exit-message): Add `context' arg.
3367 (trace--timer): New var.
3368 (trace-make-advice): Adjust for use in nadvice.
3369 Add `context' argument. Delay `display-buffer' via a timer.
3370 (trace-function-internal): Use advice-add.
3371 (trace--read-args): New function.
3372 (trace-function-foreground, trace-function-background): Use it.
3373 (trace-function): Rename to trace-function-foreground and redefine as
3374 an alias to that new name.
3375 (untrace-function, untrace-all): Adjust to the use of nadvice.
3376
3377 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3378
3379 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3380
3381 * subr.el (called-interactively-p-functions): New var.
3382 (internal--called-interactively-p--get-frame): New macro.
3383 (called-interactively-p, interactive-p): Rewrite in Lisp.
3384 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3385 (called-interactively-p-functions): Use it.
3386 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3387 (called-interactively-p-functions): Use it.
3388 * allout.el (allout-called-interactively-p): Don't assume
3389 called-interactively-p is a subr.
3390
3391 2012-11-20 Glenn Morris <rgm@gnu.org>
3392
3393 * profiler.el (profiler-report-mode-map): Add a menu.
3394 No need to bind `q' because we derive from special-mode.
3395 (profiler-report-find-entry): Handle calls from the menu-bar.
3396
3397 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3398
3399 * emacs-lisp/byte-run.el (defun-declarations-alist):
3400 Allow a compiler-macro to be a lambda expression.
3401
3402 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3403 eval-when-compile.
3404 (python-syntax-context): Add compiler-macro.
3405 (python-font-lock-keywords): Simplify with De Morgan.
3406
3407 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3408
3409 * files.el (load-file): Require match in minibuffer selection, as was
3410 the case in Emacs-20 before we changed the spec to allow .elc files
3411 (bug#12935).
3412
3413 * json.el: Don't require cl since we don't use it.
3414 * color.el: Don't require cl.
3415 (color-complement): `caddr' -> `nth 2'.
3416
3417 * calendar/time-date.el (time-to-seconds): De-obsolete.
3418
3419 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3420
3421 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3422 year numbers.
3423 (math-date-to-julian-dt): Adjust the initial approximation for the
3424 year to deal with the new definition of the DATE.
3425
3426 2012-11-19 Daniel Colascione <dancol@dancol.org>
3427
3428 * term/w32-win.el (cygwin-convert-path-from-windows):
3429 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3430
3431 2012-11-18 Chong Yidong <cyd@gnu.org>
3432
3433 * filecache.el (file-cache--read-list): New function.
3434 (file-cache-add-directory-list, file-cache-add-file-list)
3435 (file-cache-delete-file-list, file-cache-delete-directory-list):
3436 Use it to read a list of files or directories (Bug#12846).
3437 (file-cache-add-file, file-cache-add-directory)
3438 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3439 (file-cache-delete-directory): Print an message.
3440
3441 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3442
3443 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3444 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3445
3446 2012-11-18 Glenn Morris <rgm@gnu.org>
3447
3448 * image.el (insert-image, insert-sliced-image): Doc fix.
3449
3450 2012-11-18 Chong Yidong <cyd@gnu.org>
3451
3452 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3453 (Bug#12810).
3454
3455 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3456
3457 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3458 response when the target file is in a subdirectory (Bug#12757).
3459
3460 2012-11-18 Chong Yidong <cyd@gnu.org>
3461
3462 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3463
3464 2012-11-18 Glenn Morris <rgm@gnu.org>
3465
3466 * emacs-lisp/cl-lib.el (face-underline-p):
3467 Use set-face-underline rather than the alias set-face-underline-p.
3468
3469 * window.el (with-temp-buffer-window): Doc fix.
3470 * subr.el (with-output-to-temp-buffer):
3471 Add doc xref to with-temp-buffer-window.
3472
3473 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3474
3475 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3476 * calc/calc.el (math-format-date-cache): Declare.
3477
3478 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3479
3480 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3481 It also uses January 1, 1 AD as its day number 1.
3482 * calc/calc-forms.el (math-julian-date-beginning)
3483 (math-julian-date-beginning-int): Implement this.
3484
3485 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3486
3487 * descr-text.el (quail-find-key):
3488 * dired.el (desktop-file-name):
3489 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3490 * generic-x.el (comint-mode, comint-exec):
3491 * image-dired.el (widget-forward):
3492 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3493 (speedbar-change-expand-button-char)
3494 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3495 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3496 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3497 (widget-field-action, widget-value-set):
3498 * speedbar.el (imenu--make-index-alist):
3499 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3500 (ring-length, ring-insert):
3501 * vcursor.el (compare-windows-skip-whitespace):
3502 * woman.el (dired-get-filename):
3503 Declare functions.
3504
3505 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3506
3507 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3508
3509 * calc/calc.el (calc-gregorian-switch): New variable.
3510
3511 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3512 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3513 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3514 (math-leap-year-p): Add option to distinguish between Julian
3515 and Gregorian calendars.
3516 (math-day-number): Use `math-day-in-year' to do the computations.
3517 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3518 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3519 to do the computations.
3520 (math-date-to-dt): Use `math-date-to-julian-dt' and
3521 `math-date-to-gregorian-dt' to do the computations.
3522 (calcFunc-weekday, math-format-date-part): Use the new version of
3523 the DATE to determine the weekday.
3524 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3525 when necessary.
3526
3527 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3528
3529 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3530 Cygwin; otherwise use 'file:'. (Bug#12914)
3531 (cygwin-convert-path-from-windows): Declare, to avoid
3532 byte-compiler warnings.
3533
3534 2012-11-17 Andreas Politz <politza@fh-trier.de>
3535
3536 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3537 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3538 prefix and negative numeric prefix args (Bug#12795).
3539
3540 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3541
3542 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3543 Don't signal an error with a score that is too low to add to the
3544 list of top scores. (Bug#12779)
3545
3546 2012-11-17 Chong Yidong <cyd@gnu.org>
3547
3548 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3549
3550 * filecache.el (file-cache-add-file): Handle relative file name in
3551 the argument (Bug#12694).
3552
3553 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3554
3555 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3556
3557 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3560
3561 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3562
3563 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3564
3565 * window.el (enlarge-window, shrink-window): Don't mention return
3566 value in doc-string (Bug#12896).
3567 (window--display-buffer): Don't resize frames - it won't work
3568 with all window managers and defeat pop-up-frame-alist.
3569 (display-buffer-alist): In doc-string explain that CONDITION can
3570 be a function and which arguments are passed to it (Bug#12854).
3571 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3572 expressions (Bug#12854).
3573 (display-buffer): Pass ACTION argument to
3574 display-buffer-assq-regexp.
3575
3576 2012-11-16 Glenn Morris <rgm@gnu.org>
3577
3578 * window.el (fit-frame-to-buffer-bottom-margin)
3579 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3580
3581 * faces.el (face-underline-p): Use face-attribute-specified-or.
3582
3583 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3584
3585 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3586
3587 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3588
3589 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3590
3591 2012-11-16 Glenn Morris <rgm@gnu.org>
3592
3593 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3594 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3595
3596 * faces.el (face-underline-p): Doc fix. Handle :underline being
3597 things other than `t' (a string, a list).
3598 (face-inverse-video-p): Doc fix.
3599 (set-face-underline): Rename it back from set-face-underline-p.
3600 Doc fix. Allow interactive input of values other than t.
3601 (read-face-attribute): Apply formatting to :underline,
3602 since like :box and :stipple it can take list values.
3603
3604 * term.el (ansi-term): Don't let C-x escape-char binding
3605 clobber the more standard C-c binding. (Bug#12842)
3606
3607 * subr.el (set-temporary-overlay-map): Doc fix.
3608
3609 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3610
3611 * window.el (record-window-buffer)
3612 (display-buffer-record-window): When copying the markers to
3613 window-point preserve window-point-insertion-type. (Bug#12588)
3614
3615 2012-11-16 Glenn Morris <rgm@gnu.org>
3616
3617 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3618 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3619 Use new names for hooks rather than obsolete aliases.
3620
3621 2012-11-15 Daniel Colascione <dancol@dancol.org>
3622
3623 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3624 prefix instead of "file:" so that when FILE-NAME begins with "//",
3625 as it does when the target file is on a network share, url-handler
3626 isn't confused.
3627
3628 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3629
3630 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3631 a preactivated advice from an old advice.el; they're not compatible!
3632
3633 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3634
3635 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3636 Fix string-spec case.
3637
3638 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3639
3640 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3641
3642 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3643 (advice--buffer-local-function-sample): New var.
3644 (advice--set-buffer-local, advice--buffer-local): New functions.
3645 (add-function, remove-function): Use them.
3646
3647 2012-11-15 Drew Adams <drew.adams@oracle.com>
3648
3649 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3650
3651 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3652
3653 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3654 potential binding of print-gensym to t, and prettify (back)quotes in
3655 case they appear in args's default values (bug#12884).
3656
3657 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3658
3659 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3660 (advice-eval-interactive-spec): New function.
3661 (advice--make-interactive-form): Support around advice (bug#12844).
3662
3663 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3664
3665 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3666 more strict. Add docstring.
3667 (ruby-expression-expansion-re): Extract from
3668 `ruby-match-expression-expansion'.
3669 (ruby-syntax-propertize-function): After everything else, search
3670 for expansions in string literals, mark their insides as
3671 whitespace syntax and save match data for font-lock.
3672 (ruby-font-lock-keywords): Use the 2nd group from expression
3673 expansion matches.
3674 (ruby-match-expression-expansion): Use the match data saved to the
3675 text property in ruby-syntax-propertize-function.
3676
3677 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3678
3679 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3680 (bug#12879).
3681
3682 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3683
3684 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3685 start/end keyword a bit harder. Works with different values of N.
3686 Add more comments.
3687 (ruby-end-of-block): Update accordingly.
3688
3689 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3690
3691 * woman.el (woman-file-name): Don't mess with unread-command-events
3692 (bug#12861).
3693
3694 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3695 Remove out of date self-require hack.
3696 (ad-do-advised-functions): Use simple `dolist'.
3697 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3698 (ad-advice-definition): Redefine as functions.
3699 (ad-advice-classes): Move before first use.
3700 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3701 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3702 (ad--defalias-fset): Remove functions.
3703 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3704 (ad-get-orig-definition): Rewrite.
3705 (ad-make-advised-definition-docstring): Change base docstring.
3706 (ad-real-orig-definition): Rewrite.
3707 (ad-map-arglists): Change name of called function.
3708 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3709 (ad-make-advised-definition): Simplify.
3710 (ad-assemble-advised-definition): Tweak for new calling context.
3711 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3712 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3713 function and call ad-activate if needed.
3714 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3715 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3716 (ad-compile-function): Compile ad-Advice-*.
3717 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3718 (ad-start-advice, ad-stop-advice): Remove.
3719
3720 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3721
3722 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3723 period before class method names, not after. Remove handling of
3724 one impossible case. Add comments.
3725
3726 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * emacs-lisp/advice.el: Remove support for freezing.
3729 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3730 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3731 Remove support for `freeze'.
3732
3733 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3734 override the default.
3735 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3736 cl--dotimes/dolist.
3737 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3738 `cl' is loaded.
3739
3740 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3741 from add-advice.
3742 (advice--strip-macro): New function.
3743 (advice--defalias-fset): Use them to handle macros.
3744 (advice-add): Use them.
3745 (advice-member-p): Correctly handle macros.
3746
3747 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3748
3749 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3750 Never font-lock the beginning of singleton class as heredoc.
3751
3752 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3753
3754 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3755
3756 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3757
3758 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3759 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3760 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3761
3762 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3763
3764 Fix end-of-defun misbehavior.
3765 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3766 python-beginning-of-defun-function. Handle nested defuns
3767 correctly.
3768 (python-nav-end-of-defun): Rename from
3769 python-end-of-defun-function. Ensure forward movement.
3770 (python-info-current-defun): Reimplement to work as intended
3771 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3772 parent defuns as soon as possible.
3773
3774 2012-11-13 Glenn Morris <rgm@gnu.org>
3775
3776 * progmodes/flymake.el (flymake-error-bitmap)
3777 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3778 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3779
3780 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3781
3782 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3783 backward, always stop at indentation. Reverts the change from
3784 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3785
3786 2012-11-13 Glenn Morris <rgm@gnu.org>
3787
3788 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3789 Add ibuffer-filter-by-derived-mode.
3790
3791 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3792 the same name shadowing each other.
3793
3794 * window.el (with-temp-buffer-window): Doc tweak.
3795
3796 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3797
3798 * help.el (temp-buffer-max-height):
3799 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3800 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3801
3802 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3803
3804 * emacs-lisp/nadvice.el: New package.
3805 * subr.el (special-form-p): New function.
3806 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3807 (elp-all-instrumented-list): Remove var.
3808 (elp-not-profilable): Remove elp-wrapper.
3809 (elp-profilable-p): Use autoloadp and special-form-p.
3810 (elp--advice-name): New const.
3811 (elp-instrument-function): Use advice-add.
3812 (elp--instrumented-p): New predicate.
3813 (elp-restore-function): Use advice-remove.
3814 (elp-restore-all, elp-reset-all): Use mapatoms.
3815 (elp-set-master): Use elp--instrumented-p.
3816 (elp--make-wrapper): Rename from elp-wrapper, return a function
3817 suitable for advice-add. Use cl-inf.
3818 (elp-results): Use mapatoms+elp--instrumented-p.
3819 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3820 (debug-function-list): Remove var.
3821 (debug): Rename arg, and then let-bind it explicitly inside.
3822 (debugger-setup-buffer): Rename arg.
3823 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3824 (debugger-frame-number): Adjust to new debug-on-entry setup.
3825 (debug--implement-debug-on-entry): Rename from
3826 implement-debug-on-entry, add argument.
3827 (debugger-special-form-p): Remove, use special-form-p instead.
3828 (debug-on-entry): Use advice-add.
3829 (debug--function-list): New function.
3830 (cancel-debug-on-entry): Use it, along with advice-remove.
3831 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3832 (debugger-list-functions): Use debug--function-list instead of
3833 debug-function-list.
3834 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3835 (ad-special-form-p): Remove, use special-form-p instead.
3836 (ad-set-advice-info): Use add-function and remove-function.
3837 (ad--defalias-fset): Adjust accordingly.
3838
3839 2012-11-10 Glenn Morris <rgm@gnu.org>
3840
3841 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3842 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3843 (report-emacs-bug-create-existing-bugs-buffer)
3844 (report-emacs-bug-parse-query-results)
3845 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3846
3847 * term.el (term-default-fg-color, term-default-bg-color):
3848 Make obsolete, rather than just saying "deprecated" in the doc.
3849
3850 * term.el (term): Rename from `term-face'.
3851 (term-current-face, ansi-term-color-vector)
3852 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3853 Update all users.
3854
3855 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3856
3857 * server.el (server-create-window-system-frame): Handle Nextstep
3858 specially (Bug#12780).
3859
3860 2012-11-10 Glenn Morris <rgm@gnu.org>
3861
3862 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3863 Unautoload, and make obsolete. (Bug#7449)
3864
3865 2012-11-10 Chong Yidong <cyd@gnu.org>
3866
3867 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3868 rename from diff-remove-trailing-whitespace (Bug#12831).
3869
3870 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3871
3872 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3873 miscompilation of trace.el.
3874
3875 2012-11-10 Glenn Morris <rgm@gnu.org>
3876
3877 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3878
3879 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3880
3881 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3882 (bug#12812).
3883
3884 2012-11-10 Chong Yidong <cyd@gnu.org>
3885
3886 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3887 a defcustom with an appropriate :set function.
3888 (minibuffer-default--in-prompt-regexps): New function.
3889
3890 2012-11-10 Glenn Morris <rgm@gnu.org>
3891
3892 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3893 (define-modify-macro): Doc fixes.
3894
3895 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3896 (gv-define-simple-setter): Update doc of `fix-return'.
3897
3898 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3899
3900 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3901 twice when `fix-return' is set (bug#12813).
3902
3903 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3904 gv-define-simple-setter (bug#12812).
3905
3906 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3907 (bug#12756).
3908
3909 2012-11-10 Glenn Morris <rgm@gnu.org>
3910
3911 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3912
3913 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3914 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3915 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3916 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3917
3918 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3919
3920 2012-11-10 Leo Liu <sdl.web@gmail.com>
3921
3922 * ido.el (ido-set-matches-1): Improve flex matching performance by
3923 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3924
3925 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3926
3927 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3928 (ad--defalias-fset): New function.
3929 (ad-safe-fset): Remove.
3930 (ad-make-freeze-definition): Use cl-letf*.
3931
3932 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3933
3934 * subr.el (dolist): Don't bind VAR in RESULT.
3935
3936 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3937 (fset, documentation): Don't save real def since we don't advise.
3938 (ad-do-advised-functions): Remove problematic `result-form'.
3939 (ad-safe-fset): `ad-real-fset' => `fset'.
3940 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3941 uses CL's dolist internally.
3942 (ad-arglist): Remove unused arg `name'.
3943 (ad-docstring, ad-make-advised-docstring):
3944 `ad-real-documentation' => `documentation'.
3945 (warning-suppress-types): Declare.
3946 (ad-set-arguments): Simple CSE.
3947 (ad-recover-normality): Sanity check.
3948
3949 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3950 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3951
3952 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3953
3954 * ses.el: symbol to coordinate mapping is made by symbol property
3955 `ses-cell'. This means that the same mapping is done for all SES
3956 sheets. That is good enough for cells with standard A1 names, but
3957 not for named cell. So a hash map is added for the latter.
3958 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3959 (ses-sym-rowcol): Use hashmap for named cell.
3960 (ses-is-cell-sym-p): New defun.
3961 (ses-decode-cell-symbol): New defun.
3962 (ses-create-cell-variable): Add cell to hashmap when name is not
3963 A1-like.
3964 (ses-rename-cell): Check that cell new name is not already in
3965 spreadsheet with the use of ses-is-cell-sym-p
3966 (ses-rename-cell): Use hash map for named cells, but accept also
3967 renaming back to A1-like.
3968
3969 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3970
3971 * emacs-lisp/advice.el: Use new dynamic docstrings.
3972 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3973 Use dynamic-docstring-function instead of ad-advice-info.
3974 (ad--make-advised-docstring): New function extracted from
3975 ad-make-advised-docstring.
3976 (ad-make-advised-docstring): Use it.
3977 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3978 from sql-help.
3979 (sql-help): Use it with dynamic-docstring-function.
3980
3981 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3982
3983 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3984
3985 * files.el (hack-one-local-variable--obsolete): New function.
3986 (hack-one-local-variable): Use it for obsolete settings.
3987
3988 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3989 the new name.
3990
3991 * progmodes/js.el (js--filling-paragraph): New var.
3992 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3993 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3994 less sneaky.
3995
3996 2012-11-08 Julien Danjou <julien@danjou.info>
3997
3998 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3999 `auto-mode-alist' (Bug#12835).
4000
4001 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4002
4003 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4004 (perl--prettify-symbols-alist): New const.
4005 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4006 New functions.
4007 (perl-font-lock-keywords-2): Use them.
4008 (perl-electric-noindent-p): New function.
4009 (perl-mode): Use it to set up electric-indent-mode.
4010 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4011 (perl-mode-map): Remove bindings for them.
4012 (perl-imenu-generic-expression, perl-outline-level):
4013 Match functions&packages in column>0.
4014
4015 * env.el (env--substitute-vars-regexp): New const.
4016 (substitute-env-vars): Use it. Add `only-defined' arg.
4017 * net/tramp.el (tramp-replace-environment-variables): Use it.
4018
4019 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4020 Byte-compile *before* eval in eval-and-compile.
4021 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4022 (byte-compile-file-form-autoload): Don't hide actual definition.
4023 (byte-compile-maybe-guarded): Accept `functionp' as well.
4024
4025 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4026
4027 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4028
4029 * notifications.el (notifications-get-server-information-method):
4030 New defconst.
4031 (notifications-get-capabilities): Fix docstring.
4032 (notifications-get-server-information): New defun.
4033
4034 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4035
4036 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4037 readability.
4038
4039 * textmodes/ispell.el: Experimental support for support debugging.
4040 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4041 buffer for ispell.
4042 (ispell-print-if-debug): New function to print stuff to
4043 `ispell-debug-buffer' if debugging is enabled.
4044 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4045 show some debugging info.
4046 (ispell-buffer-with-debug): New function that creates a debugging
4047 buffer and calls `ispell-buffer' with debugging enabled.
4048
4049 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4050 comment in autoconf mode. (Bug#12768)
4051
4052 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4053
4054 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4055 frame-first-window, frame-root-window, frame-selected-window,
4056 minibuffer-selected-window, minibuffer-window,
4057 window-absolute-pixel-edges, window-at, window-body-height,
4058 window-body-width, window-display-table, window-combination-limit,
4059 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4060 window-inside-edges, window-inside-pixel-edges, window-left-child,
4061 window-left-column, window-margins, window-next-buffers,
4062 window-next-sibling, window-new-normal, window-new-total,
4063 window-normal-size, window-parameter, window-parameters, window-parent,
4064 window-pixel-edges, window-point, window-prev-buffers,
4065 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4066 window-start, window-text-height, window-top-child, window-top-line,
4067 window-total-height, window-total-width and window-use-time to the list
4068 of functions without side-effects.
4069 (toplevel): Add window-valid-p to the list of error-free functions
4070 without side-effects.
4071
4072 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4073
4074 * textmodes/ispell.el (ispell-program-name):
4075 Update spellchecker parameters when customized.
4076
4077 2012-11-04 Glenn Morris <rgm@gnu.org>
4078
4079 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4080
4081 2012-11-04 Chong Yidong <cyd@gnu.org>
4082
4083 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4084 same-window-* variables.
4085
4086 2012-11-04 Juri Linkov <juri@jurta.org>
4087
4088 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4089 (isearch-describe-key, isearch-describe-mode): Use a display
4090 action instead of binding same-window-* variables (Bug#10040).
4091
4092 2012-11-03 Glenn Morris <rgm@gnu.org>
4093
4094 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4095 Rename handler properties back from cl-- to cl-. (Bug#12788)
4096
4097 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4098
4099 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4100
4101 * term/pc-win.el: Don't load term/internal from here.
4102
4103 * loadup.el: Load term/internal from here.
4104
4105 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4106
4107 * progmodes/python.el (inferior-python-mode): Fix hang in
4108 jit-lock (Bug#12645).
4109
4110 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4111
4112 * window.el (switch-to-visible-buffer)
4113 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4114
4115 2012-11-03 Glenn Morris <rgm@gnu.org>
4116
4117 * emacs-lisp/cl-lib.el (cl--random-time):
4118 Rename from cl-random-time. (Bug#12773)
4119 (cl--gensym-counter, cl--random-state): Update callers.
4120 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4121
4122 2012-11-03 Chong Yidong <cyd@gnu.org>
4123
4124 * cus-start.el: Make cursor-type customizable (Bug#11633).
4125
4126 2012-11-02 Glenn Morris <rgm@gnu.org>
4127
4128 * filecache.el: No need to load find-lisp when compiling.
4129 (find-lisp-find-files): Autoload it.
4130 (file-cache-add-directory-recursively): Don't require find-lisp.
4131
4132 * image.el (image-type-from-file-name): Trivial simplification.
4133
4134 * emacs-lisp/bytecomp.el (byte-compile-eval):
4135 Decouple "noruntime" and "cl-functions" warnings.
4136
4137 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4138
4139 * play/gomoku.el (gomoku-display-statistics): Update mode line
4140 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4141
4142 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4143
4144 * window.el (quit-restore-window): If the window has been
4145 created on an existing frame and ended up as the sole window on
4146 that frame, do not delete it (Bug#12764).
4147
4148 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4149
4150 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4151 Rename from sh--inside-arithmetic-expression, handle more cases
4152 (bug#11263).
4153
4154 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4155 (sh-font-lock-open-heredoc): Use it (bug#12770).
4156
4157 2012-10-30 Glenn Morris <rgm@gnu.org>
4158
4159 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4160
4161 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4162
4163 2012-10-29 Chong Yidong <cyd@gnu.org>
4164
4165 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4166 function key is stored in a keyboard macro (Bug#4894).
4167
4168 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4169
4170 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4173 header comments".
4174 (diff-unified->context, diff-context->unified)
4175 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4176
4177 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4178
4179 * files.el (find-alternate-file): Only ask one question (bug#12487).
4180
4181 2012-10-29 Chong Yidong <cyd@gnu.org>
4182
4183 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4184 Suggested by Dan Nicolaescu (Bug#6326).
4185
4186 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4187
4188 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4189
4190 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4191
4192 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4193
4194 * face-remap.el (face-remap-add-relative): Handle the case where a
4195 face-remapping-alist entry is a cons cell (Bug#12762).
4196
4197 2012-10-29 Kevin Ryde <user42@zip.com.au>
4198
4199 * woman.el (woman-parse-numeric-value): Handle picas correctly
4200 (Bug#12639).
4201
4202 2012-10-29 Glenn Morris <rgm@gnu.org>
4203
4204 * emacs-lisp/cl.el (defsetf): Doc fix.
4205
4206 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4207
4208 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4209 syntax to the matching opener, if any (bug#12547).
4210 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4211 matching open as a "case-(".
4212 (sh-smie-rc-grammar): Add a corresponding rule for it.
4213
4214 2012-10-28 Daniel Hackney <dan@haxney.org>
4215
4216 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4217 "PKGNAME-autoloads.el" in case we created it.
4218
4219 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4220
4221 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4222 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4223 (completion--twq-all): Disable too-strict assertions.
4224
4225 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4226
4227 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4228
4229 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4230 text to match the real keybindings.
4231
4232 2012-10-27 Juri Linkov <juri@jurta.org>
4233
4234 * wdired.el (wdired-keep-marker-rename): New defcustom.
4235 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4236 (Bug#11795)
4237
4238 * dired.el (dired-keep-marker-rename): Add reference to
4239 `wdired-keep-marker-rename' in the docstring.
4240 Add default character value ?R to display initially in
4241 Customization UI instead of ?@.
4242
4243 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4244
4245 * window.el (display-buffer): In doc-string describe
4246 window-height and window-width alist entries.
4247
4248 * time.el (display-time-world): Restore fit-window-to-buffer
4249 behavior.
4250
4251 2012-10-27 Chong Yidong <cyd@gnu.org>
4252
4253 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4254
4255 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4256
4257 * minibuffer.el (completion-category-overrides): New completion
4258 category `bookmark' (bug#11131).
4259
4260 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4261
4262 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4263 Silence bogus compiler warnings for ad-do-it.
4264
4265 * bookmark.el (bookmark-completing-read): Set the completion category
4266 to `bookmark' (bug#11131).
4267
4268 2012-10-26 Bastien <bzg@altern.org>
4269 Stefan Monnier <monnier@iro.umontreal.ca>
4270
4271 * face-remap.el: Use lexical-binding.
4272 (text-scale-adjust): Improve docstring. Use itself for the temporary
4273 overlay-map bindings, so as to repeat the "Use..." message each time.
4274
4275 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4276
4277 * emacs-lisp/macroexp.el (macroexp--expand-all):
4278 Obey byte-compile-warning-enabled-p (bug#12486).
4279
4280 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4281 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4282
4283 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4284
4285 * mouse.el (mouse-drag-line): Move last form into preceding when
4286 clause (Bug#12731).
4287
4288 * help.el (resize-temp-buffer-window): Fix doc-string.
4289
4290 2012-10-25 David Engster <deng@randomsample.de>
4291
4292 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4293 Remove. This feature is already integrated in imenu.
4294
4295 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4296 always loaded. Require `speedbar' unconditionally.
4297
4298 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4299
4300 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4301
4302 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4303
4304 * net/ldap.el (ldap-search-internal): The official ldif format starts
4305 with a "version: 1" header (bug#12724).
4306
4307 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4308 (bug#12721).
4309
4310 2012-10-25 Glenn Morris <rgm@gnu.org>
4311
4312 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4313
4314 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 * minibuffer.el (minibuffer-force-complete): Use one more marker
4317 for the temporary-overlay-map command (bug#12619).
4318
4319 2012-10-24 Chong Yidong <cyd@gnu.org>
4320
4321 * time.el (display-time-world-mode): Derive from special-mode.
4322 (display-time-world): Use display-buffer (Bug#12708).
4323 (display-time-world-mode-map): Variable deleted.
4324 (display-time-world-display): Wrap the final delete-char inside
4325 inhibit-read-only.
4326
4327 2012-10-24 Chong Yidong <cyd@gnu.org>
4328
4329 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4330 Doc fix.
4331
4332 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4333
4334 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4335
4336 * minibuffer.el (completion--all-sorted-completions-location): New var.
4337 (completion--cache-all-sorted-completions)
4338 (completion--flush-all-sorted-completions): Use it.
4339 (completion-in-region, completion-in-region--postch)
4340 (completion-at-point, completion-help-at-point): Use markers in
4341 completion-in-region--data (bug#12619).
4342
4343 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4344
4345 * progmodes/compile.el (compilation-start): Try to handle common
4346 quoting of `cd' argument (bug#12640).
4347
4348 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4349 (bug#12671).
4350
4351 2012-10-23 Glenn Morris <rgm@gnu.org>
4352
4353 * progmodes/gud.el (gud-menu-map):
4354 Check gdb-active-process is bound. (Bug#12358)
4355
4356 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4357
4358 * repeat.el (repeat): Set real-this-command (bug#12232).
4359
4360 * htmlfontify.el (hfy-post-html-hook):
4361 * filesets.el (filesets-cache-fill-content-hook):
4362 * arc-mode.el (archive-extract-hook):
4363 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4364 * net/rcirc.el (rcirc-sentinel-functions)
4365 (rcirc-receive-message-functions, rcirc-activity-functions)
4366 (rcirc-print-functions):
4367 * net/dbus.el (dbus-event-error-functions):
4368 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4369 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4370 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4371 * term/sun.el (sun-raw-prefix-hooks):
4372 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4373
4374 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4375
4376 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4377 Set `tramp-chunksize' to 1. This improves the performance.
4378 (tramp-smb-wait-for-output): Add timeout to
4379 `tramp-accept-process-output' calls.
4380
4381 2012-10-23 Chong Yidong <cyd@gnu.org>
4382
4383 * faces.el (font-list-limit): Define as an obsolete variable.
4384
4385 * startup.el (command-line):
4386 * cus-start.el: Don't refer to font-list-limit.
4387
4388 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4389
4390 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4391
4392 * subr.el (internal-temp-output-buffer-show): Rename from
4393 temp-output-buffer-show, since previously compiled files expect this name.
4394
4395 2012-10-23 Glenn Morris <rgm@gnu.org>
4396
4397 * image.el (image-type-from-file-name): If multiple types match,
4398 return the first one that is supported. (Bug#9045)
4399
4400 2012-10-22 Glenn Morris <rgm@gnu.org>
4401
4402 * image.el (imagemagick-enabled-types): Doc fix.
4403
4404 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4405
4406 * progmodes/which-func.el (which-func-current): The hash-table may have
4407 an explicit nil (bug#12338).
4408
4409 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4410
4411 * electric.el (electric-pair-delete-selection-self-insert-function):
4412 Rename to electric-pair-will-use-region, return a boolean.
4413 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4414
4415 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4416 (delete-selection-pre-hook): Use use-region-p.
4417 (delete-selection-self-insert-function): Remove.
4418 (self-insert-command): Obey self-insert-uses-region-functions.
4419 (self-insert-iso): Revert to previous setting, since we don't actually
4420 know what that command does.
4421 (delete-selection-self-insert-hooks): Remove.
4422
4423 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4424
4425 * delsel.el (delete-selection-helper): New function, extracted from
4426 delete-selection-pre-hook.
4427 (delete-selection-pre-hook): Use it.
4428 (delete-selection-self-insert-function): New function.
4429 (delete-selection-self-insert-hooks): New hook.
4430 (self-insert-command, self-insert-iso): Use it.
4431 * electric.el (electric-pair-syntax): New function, extracted from
4432 electric-pair-post-self-insert-function.
4433 (electric-pair-post-self-insert-function): Use it.
4434 (electric-pair-delete-selection-self-insert-function): New function.
4435 (electric-pair-mode): Require delsel and setup
4436 delete-selection-self-insert-hooks (bug#11520).
4437
4438 2012-10-20 Chong Yidong <cyd@gnu.org>
4439
4440 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4441 no changes to show (Bug#12586).
4442
4443 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4444 list explicitly (Bug#12571).
4445
4446 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4447
4448 * progmodes/flymake.el (flymake-create-temp-inplace):
4449 Use file-truename.
4450
4451 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4452
4453 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4454
4455 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4456
4457 * calc/calc-units.el (math-extract-units): Properly extract powers
4458 of units.
4459
4460 2012-10-20 Daniel Colascione <dancol@dancol.org>
4461
4462 * frame.el (make-frame): Set x-display-name as we used to in order
4463 to unbreak creating an X11 frame from an Emacs daemon started
4464 without a display.
4465
4466 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4467
4468 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4469 the same completion-field (bug#12221).
4470
4471 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4472
4473 * emacs-lisp/debug.el (debug): Record height of debugger window
4474 also when debugger will be back (Bug#8789).
4475
4476 2012-10-18 Chong Yidong <cyd@gnu.org>
4477
4478 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4479 Convert to defcustom.
4480 (gdb-get-source-file): Don't bind pop-up-windows.
4481
4482 * progmodes/gud.el (gud-display-line): Don't specially re-use
4483 other frames for the gdb-mi case (Bug#12648).
4484
4485 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 * emacs-lisp/advice.el: Clean up commentary a bit.
4488 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4489 (byte-code-function-p): Never redefine.
4490
4491 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4492
4493 2012-10-18 Glenn Morris <rgm@gnu.org>
4494
4495 * dired.el (dired-sort-toggle): Some ls implementations only allow
4496 a single option string. (Bug#12666)
4497
4498 * minibuffer.el (completion-cycle-threshold): Doc fix.
4499
4500 2012-10-17 Kenichi Handa <handa@gnu.org>
4501
4502 * international/mule.el (set-keyboard-coding-system):
4503 Recover input meta mode when the new coding system doesn not use 8-bit.
4504 Supply TERMINAL arg to set-input-meta-mode.
4505
4506 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4507
4508 * wdired.el (wdired-old-marks): New variable.
4509 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4510 (wdired-do-renames): Move point with renamed file and don't lose
4511 mark status (Bug#11795).
4512
4513 2012-10-16 Juri Linkov <juri@jurta.org>
4514
4515 * replace.el (query-replace-help): Mention multi-buffer replacement
4516 keys in the Help message. (Bug#12655)
4517
4518 2012-10-15 Chong Yidong <cyd@gnu.org>
4519
4520 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4521
4522 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4523
4524 * window.el (display-buffer): Doc fix.
4525
4526 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4527 Adjust the msft regexp to the output of Studio 2010, and move msft
4528 before edg-1. See the discussion on emacs-devel,
4529 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4530 for the details.
4531
4532 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4533
4534 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4535 (oset): Move uses of object-class-fast macro after its definition.
4536
4537 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4538
4539 2012-10-13 Chong Yidong <cyd@gnu.org>
4540
4541 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4542 enabled, re-enable it (Bug#11963).
4543
4544 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4545
4546 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4547 non-nil, restore window configuration (Bug#12623).
4548
4549 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4550
4551 * help-fns.el (describe-variable, describe-function-1):
4552 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4553
4554 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4555
4556 2012-10-12 Glenn Morris <rgm@gnu.org>
4557
4558 * mail/rmailsum.el (rmail-header-summary):
4559 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4560
4561 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4562
4563 * progmodes/python.el (python-mode-map):
4564 Replace subtitute-key-definition with proper command remapping.
4565 (python-nav--up-list): Fix behavior for blocks on the same level.
4566
4567 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4568
4569 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4570
4571 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4572 changes to the format of load-history.
4573
4574 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4575 completion-ignore-case in case that var is buffer-local (bug#12615).
4576
4577 2012-10-11 Kenichi Handa <handa@gnu.org>
4578
4579 * international/eucjp-ms.el: Re-generated.
4580
4581 2012-10-10 Kenichi Handa <handa@gnu.org>
4582
4583 * select.el (xselect--encode-string): If a coding is specified for
4584 selection, and that is compatible with COMPOUND_TEXT, use it.
4585
4586 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4587
4588 * window.el (switch-to-buffer-preserve-window-point): New option.
4589 (switch-to-buffer):
4590 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4591
4592 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4595 Don't document nil as a useful value (bug#12583).
4596
4597 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4598
4599 * net/tramp.el (tramp-debug-message):
4600 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4601 (with-tramp-progress-reporter): Rename from
4602 `tramp-with-progress-reporter'.
4603 (with-tramp-file-property, with-tramp-connection-property):
4604 Move from tramp-cache.el, rename from `with-file-property' and
4605 `with-connection-property', respectively.
4606
4607 * net/tramp-cache.el: Remove `with-file-property' and
4608 `with-connection-property'.
4609
4610 * net/tramp.el:
4611 * net/tramp-gvfs.el:
4612 * net/tramp-sh.el:
4613 * net/tramp-smb.el: Adapt callees.
4614
4615 * net/trampver.el: Update release number.
4616
4617 2012-10-09 Glenn Morris <rgm@gnu.org>
4618
4619 * w32-fns.el (set-message-beep):
4620 * term/w32-win.el (set-message-beep): Update declarations.
4621
4622 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4623
4624 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4625 (mode-line-widen, mode-line-input-method-map)
4626 (mode-line-coding-system-map, mode-line-remote)
4627 (mode-line-unbury-buffer, mode-line-bury-buffer)
4628 (mode-line-next-buffer, mode-line-previous-buffer):
4629 Replace save-selected-window+select-window => with-selected-window.
4630
4631 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4632 * progmodes/cc-vars.el (bq-process): Remove, unused.
4633
4634 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4635
4636 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4637
4638 Implemented `backward-up-list'-like navigation.
4639 * progmodes/python.el (python-nav-up-list)
4640 (python-nav-backward-up-list): New functions.
4641 (python-mode-map): Define substitute key for backward-up-list to
4642 python-nav-backward-up-list.
4643
4644 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4645
4646 * progmodes/python.el (python-fill-paragraph): Rename from
4647 python-fill-paragraph-function. Fixed fill-paragraph for
4648 decorators (Bug#12605).
4649
4650 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4651
4652 * progmodes/python.el (python-shell-output-filter): Handle extra
4653 carriage return in OSX (Bug#12409).
4654
4655 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4656
4657 Fix shell handling of unbalanced quotes and parens in output.
4658 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4659 (python-syntax-propertize-function): Use it.
4660 (python-shell-output-syntax-table): New var.
4661 (inferior-python-mode): Prevent unbalanced parens/quotes from
4662 previous output mess with current input context.
4663
4664 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4665
4666 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4667 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4668
4669 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4670
4671 * ffap.el (ffap-replace-file-component): Support Tramp file name
4672 syntax, not only ange-ftp's one.
4673
4674 2012-10-08 Glenn Morris <rgm@gnu.org>
4675
4676 * cus-start.el (message-log-max): Set :version.
4677
4678 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4679
4680 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4681
4682 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4683 the minibuffer window (Bug#10851).
4684
4685 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4686
4687 Enhancements on forward-sexp movement.
4688 * progmodes/python.el (python-nav-beginning-of-statement)
4689 (python-nav-end-of-statement): Return point-marker.
4690 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4691 (python-info-current-symbol)
4692 (python-info-statement-starts-block-p): Rename from
4693 python-info-beginning-of-block-p.
4694 (python-info-statement-ends-block-p): Rename from
4695 python-info-end-of-block-p.
4696 (python-info-beginning-of-statement-p)
4697 (python-info-end-of-statement-p)
4698 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4699 New functions.
4700
4701 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4702
4703 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4704 frame-selected-windows.
4705
4706 2012-10-08 Daniel Colascione <dancol@dancol.org>
4707
4708 * battery.el (battery-status-function): Check for
4709 w32-battery-status itself, not system-time windows-nt.
4710
4711 * frame.el: Require cl-lib.
4712 (display-format-alist): New variable mapping frame types to
4713 functions that initialize them.
4714 (window-system-for-display): New function: interprets
4715 display-format-alist.
4716 (make-frame-on-display): Remove existing display-selection logic
4717 and just forward to make-frame, which will now DTRT.
4718 (make-frame): Restructure to use window-system-for-display to
4719 figure out how to create a frame on a given display.
4720 (display-mouse-p): Look for frame-type w32, not a particular
4721 system-type.
4722
4723 * loadup.el: Load w32 lisp code when we have the w32 feature.
4724
4725 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4726 system-type windows-nt.
4727
4728 * server.el (server-create-window-system-frame): Look for window
4729 type.
4730 (server-proces-filter): Only force a window system when windows-nt
4731 _and_ w32. Explain why.
4732
4733 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4734 of window systems we configure for the mode.
4735
4736 * startup.el (command-line): Mark window system is initialized
4737 after we've done it.
4738
4739 * common-win.el (x-select-text): Look for w32, not windows-nt.
4740
4741 * ns-win.el: Require cl-lib. Add ourselves to
4742 display-format-alist.
4743 (ns-initialize-window-system): Assert we're not initialized twice.
4744
4745 * w32-win.el: Enable lexical binding; require cl-lib; add
4746 ourselves to display-format-alist.
4747 (w32-handle-dropped-file): Convert incoming dropped files from
4748 Windows paths to Cygwin ones before passing them on to the rest of
4749 Emacs.
4750 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4751 (w32-initialize-window-system): Assert we're not initialized twice.
4752
4753 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4754 (x-initialize-window-system): Assert we're not initialized twice.
4755
4756 * w32-common-fns.el: New File.
4757 (w32-version, w32-using-nt, w32-get-clipboard-data)
4758 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4759 (w32-charset-info-alist, x-last-selected, text)
4760 (x-get-selection-value, x-selection-value): Move here.
4761
4762 * w32-fns.el: Require w32-common-fns.
4763 (w32-version, w32-using-nt, w32-get-clipboard-data)
4764 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4765 (w32-charset-info-alist, x-last-selected, text)
4766 (x-get-selection-value, x-selection-value): Move to
4767 w32-common-fns.
4768
4769 * w32-vars.el:
4770 (w32-allow-system-shell, w32-system-shells): Define only in
4771 non-cygwin case.
4772
4773 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4774
4775 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4776 (read-passwd): Remove a few more potential sources of leaks.
4777
4778 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4779
4780 * progmodes/python.el (inferior-python-mode)
4781 (python-shell-make-comint): Fix initialization of local
4782 variables copied from parent buffer.
4783
4784 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4785
4786 * term/ns-win.el (ns-read-file-name): Update declaration to match
4787 nsfns.m.
4788 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4789 it is set when font is acted upon.
4790
4791 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4792
4793 Enhancements to indentation.
4794 * progmodes/python.el (python-indent-context): Give priority to
4795 inside-string context. Make comments indentation markers.
4796 (python-indent-region): Do not mess with strings, unless it's the
4797 enclosing set of quotes.
4798
4799 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4800
4801 * window.el (internal--before-save-selected-window)
4802 (internal--after-save-selected-window): New functions extracted from
4803 save-selected-window. Make sure we return the `alist' we construct.
4804 (save-selected-window): Use them.
4805
4806 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4807 Use with-selected-window.
4808
4809 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4810 forms that define macros (bug#12593).
4811
4812 2012-10-07 Kenichi Handa <handa@gnu.org>
4813
4814 * international/mule-conf.el (compound-text-with-extensions):
4815 Add :mime-charset property as x-ctext.
4816
4817 2012-10-07 Stefan Merten <smerten@oekonux.de>
4818
4819 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4820 (rst-indent-literal-normal, rst-indent-literal-minimized)
4821 (rst-indent-comment): Correct :version tag.
4822 (rst-official-cvs-rev): Correct version string.
4823
4824 2012-10-07 Glenn Morris <rgm@gnu.org>
4825
4826 * mail/rmailmm.el (rmail-mime-process-multipart):
4827 Do not confuse a multipart message with an epilogue
4828 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4829
4830 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4831
4832 Fix shell output retrieval and comint-prompt-regexp init.
4833 * progmodes/python.el (inferior-python-mode):
4834 (python-shell-make-comint): Fix initialization of
4835 comint-prompt-regexp from copied file local variables.
4836 (python-shell-fetched-lines): Remove var.
4837 (python-shell-output-filter-in-progress): Rename from
4838 python-shell-fetch-lines-in-progress.
4839 (python-shell-output-filter-buffer): Rename from
4840 python-shell-fetch-lines-string.
4841 (python-shell-fetch-lines-filter): Delete function.
4842 (python-shell-output-filter): New function.
4843 (python-shell-send-string-no-output): Use them.
4844
4845 2012-10-07 Glenn Morris <rgm@gnu.org>
4846
4847 * hi-lock.el (hi-lock-process-phrase):
4848 Try to make it less fragile. (Bug#7161)
4849
4850 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4851
4852 2012-10-06 Glenn Morris <rgm@gnu.org>
4853
4854 * ehelp.el (electric-help-mode): Use help-mode rather than
4855 non-existent mode `help'.
4856 (electric-help-map): Use button-buffer-map. (Bug#10917)
4857
4858 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4859 (reftex-create-bibtex-footer): Fix custom types.
4860
4861 * progmodes/sh-script.el (sh-indent-after-continuation):
4862 Add explicit :group.
4863
4864 * textmodes/rst.el (rst-preferred-decorations)
4865 (rst-shift-basic-offset): Clarify obsolescence versions.
4866
4867 * profiler.el (profiler): Add missing group :version tag.
4868 * avoid.el (mouse-avoidance-banish-position):
4869 * proced.el (proced-renice-command):
4870 * calc/calc.el (calc-ensure-consistent-units):
4871 * calendar/icalendar.el (icalendar-import-format-uid):
4872 * net/tramp.el (tramp-save-ad-hoc-proxies):
4873 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4874 * progmodes/flymake.el (flymake-error-bitmap)
4875 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4876 * progmodes/sh-script.el (sh-indent-after-continuation):
4877 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4878 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4879 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4880 (vhdl-array-index-record-field-in-sensitivity-list)
4881 (vhdl-indent-comment-like-next-code-line):
4882 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4883 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4884 (reftex-cite-key-separator, reftex-create-bibtex-header)
4885 (reftex-create-bibtex-footer):
4886 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4887 (rst-indent-literal-normal, rst-indent-literal-minimized)
4888 (rst-indent-comment): Add missing custom :version tags.
4889
4890 * calendar/timeclock.el (timeclock-modeline-display):
4891 Add missing obsolete alias for renamed user option.
4892
4893 * strokes.el (strokes-modeline-string):
4894 * emulation/crisp.el (crisp-mode-modeline-string):
4895 * eshell/esh-mode.el (eshell-status-in-modeline):
4896 Aliases to defcustoms must come before the defcustom.
4897
4898 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4899 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4900 (cal-tex-cursor-week-monday): Doc fixes.
4901 (cal-tex-cursor-week2-summary): Doc fix.
4902 Rename from cal-tex-cursor-week-at-a-glance.
4903
4904 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4905 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4906
4907 * calendar/calendar.el (calendar-mode-map):
4908 Add cal-tex-cursor-week2-summary.
4909
4910 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4913
4914 * subr.el (read-passwd-map): New var.
4915 (read-passwd): Use `read-string' again.
4916 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4917
4918 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4919
4920 * register.el (append-to-register, prepend-to-register):
4921 Deactivate mark, as does `copy-to-register' (bug#12389).
4922
4923 2012-10-06 Chong Yidong <cyd@gnu.org>
4924
4925 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4926
4927 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4928
4929 * international/characters.el: Fix simple mistake ((car chars) ->
4930 elt), delete duplicated code.
4931
4932 2012-10-06 Glenn Morris <rgm@gnu.org>
4933
4934 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4935
4936 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4937
4938 * color.el (color-hsl-to-rgb): Fix incorrect results for
4939 small and large hue values. (Bug#12559)
4940
4941 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4942
4943 Enhancements to docstring formatting when filling paragraphs.
4944 * progmodes/python.el (python-fill-docstring-style): Rename from
4945 python-fill-string-style. Added new style.
4946 (python-fill-string): Use new style. Better checks for
4947 docstrings.
4948
4949 2012-10-05 Glenn Morris <rgm@gnu.org>
4950
4951 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4952
4953 * color.el (color-name-to-rgb, color-rgb-to-hex)
4954 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4955 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4956 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4957 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4958
4959 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4960
4961 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4962
4963 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4964 to get the correct size across symlinks.
4965
4966 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4967
4968 2012-10-04 Juri Linkov <juri@jurta.org>
4969
4970 * replace.el (query-replace-interactive): Declare obsolete.
4971 (query-replace-read-from): Add the last incremental search string
4972 to the list of default values accessible via M-n.
4973 (map-query-replace-regexp): Use `read-regexp'.
4974 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4975 (map-query-replace-regexp, replace-string, replace-regexp):
4976 Fix docstrings to replace mentions of `query-replace-interactive'
4977 with alternatives. (Bug#12526)
4978
4979 2012-10-04 Juri Linkov <juri@jurta.org>
4980
4981 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4982 (dired-pop-to-buffer): Declare obsolete.
4983 (dired-mark-pop-up): Doc fix.
4984
4985 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4986
4987 Allow user to set docstring style for fill-paragraph.
4988 * progmodes/python.el
4989 (python-fill-comment-function, python-fill-string-function)
4990 (python-fill-decorator-function, python-fill-paren-function):
4991 Remove :safe for defcustoms.
4992 (python-fill-string-style): New defcustom
4993 (python-fill-paragraph-function): Enhance context detection.
4994 (python-fill-string): Honor python-fill-string-style settings.
4995
4996 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4997
4998 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4999 after setting its buffer (Bug#10805).
5000
5001 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5002
5003 Fix cornercase for string syntax.
5004 * progmodes/python.el (python-syntax-propertize-function):
5005 Simplify and enhance the regexp for unescaped quotes. Now it also
5006 matches quotes in weird situations like the single quote in
5007 "something\"'".
5008 (python-syntax-stringify): Simplify num-quotes detecting code.
5009
5010 2012-10-03 Glenn Morris <rgm@gnu.org>
5011
5012 * help-macro.el (three-step-help):
5013 Revert 2012-09-29 change. (Bug#12567)
5014
5015 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5016
5017 * menu-bar.el (kill-this-buffer): Don't do anything when
5018 `menu-frame' is not alive or visible (Bug#8184).
5019
5020 * emacs-lisp/debug.el (debug): When quitting the debugger window
5021 restore current buffer (Bug#12502).
5022
5023 2012-10-02 Chong Yidong <cyd@gnu.org>
5024
5025 * progmodes/hideif.el (hif-lookup, hif-defined):
5026 Handle semantic-c-takeover-hideif.
5027
5028 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5029
5030 Change sampling interval units from ms to ns.
5031 * profiler.el (profiler-sampling-interval): Change units
5032 from ms to ns, multiplying the default by 1000000 so that
5033 it remains 1 ms.
5034 (profiler-report-cpu-line-format): Give enough room for
5035 the maximum counters on 64-bit hosts.
5036 (profiler-report-render-calltree-1): Call them "CPU samples",
5037 not "Time (ms)", since they are not milliseconds now (and
5038 never really were).
5039
5040 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5041
5042 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5043 Fix querying BBDB for entries without a last name (Bug#11580).
5044
5045 2012-10-02 Chong Yidong <cyd@gnu.org>
5046
5047 * emacs-lisp/eieio.el: Restore Version header.
5048
5049 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5050
5051 * vc/diff-mode.el (diff--auto-refine-data): New var.
5052 (diff-hunk): Use it to delay refinement.
5053 (diff-mode): Remove overlays when we turn off font-lock.
5054
5055 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5056 (table-initialize-table-fixed-width-mode)
5057 (table-set-table-fixed-width-mode): Remove functions.
5058 (table-command-list): Move initialization into declaration.
5059 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5060 (table-with-cache-buffer): Use `declare'.
5061 (table-span-cell): Simplify via CSE.
5062 (table-fixed-width-mode): Use define-minor-mode.
5063 (table-call-interactively, table-funcall, table-apply): Remove.
5064 (table-function): New function, to replace them.
5065
5066 * bookmark.el (bookmark-search-pattern): Remove var.
5067 (bookmark-read-search-input): Remove function.
5068 (bookmark-bmenu-search): Reimplement using a minibuffer.
5069
5070 * faces.el (modeline): Remove obsolete face name.
5071
5072 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5073 and give a non-nil default value.
5074 (add-change-log-entry): Simplify accordingly.
5075
5076 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5077
5078 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5079 (vc-git-log-edit-toggle-amend): New function.
5080 (vc-git-log-edit-toggle-signoff): New function.
5081 (vc-git-log-edit-mode): New major mode.
5082 (vc-git-log-edit-mode-map): Keymap for it.
5083 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5084
5085 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5086 header names.
5087 (log-edit-toggle-header): New function.
5088 (log-edit-extract-headers): Accept function values in HEADERS alist.
5089
5090 2012-10-01 David Engster <deng@randomsample.de>
5091
5092 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5093 from symbol property and change message to be more consistent with
5094 Emacs proper.
5095 (eieio-describe-generic): Add filename for each implementation.
5096 Fix indices for generic and normal methods.
5097 (eieio-method-def, eieio-class-def): New buttons.
5098 (eieio-help-find-method-definition)
5099 (eieio-help-find-class-definition): New functions.
5100 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5101 class, constructor and method definitions.
5102
5103 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5104 information in symbol property.
5105 (scoped-class): Remove.
5106 (eieio-slot-name-index, call-next-method): Check if it is bound.
5107
5108 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5109
5110 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5111 (eieio-custom-mode): New major mode.
5112 (eieio-customize-object): Use it.
5113
5114 2012-10-01 Eric Ludlam <zappo@gnu.org>
5115
5116 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5117 specifying the expected class, and whether subclassing is allowed.
5118 (eieio-persistent-convert-list-to-object):
5119 (eieio-persistent-validate/fix-slot-value)
5120 (eieio-persistent-slot-type-is-class-p): New functions.
5121 (eieio-named::slot-missing): Doc fix.
5122
5123 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5124 Stop using unused publd variable.
5125
5126 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5127 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5128 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5129 (eieio-speedbar-handle-click): Do not specify a class for the
5130 method. Fixes method invocation order problems with EDE.
5131
5132 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5133
5134 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5135 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5136
5137 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5138
5139 * bookmark.el (bookmark-version-control): Give tags in the
5140 :type choices (Bug#12309), and improve doc string.
5141 (bookmark-write-file): Bind `print-circle' to `t' to allow
5142 circular custom bookmark types. (Bug#12503)
5143
5144 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5145
5146 Revert the FOLLOW-SYMLINKS change for file-attributes.
5147 * files.el (remote-file-name-inhibit-cache, after-find-file):
5148 * time.el (display-time-file-nonempty-p): Undo last change.
5149
5150 * profiler.el (profiler-sampling-interval): Change default back to 1.
5151 See Stefan Monnier in
5152 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5153
5154 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5155
5156 Shell output catching a la gud-gdb.
5157 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5158 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5159 New Vars.
5160 (python-shell-fetch-lines-filter): New function.
5161 (python-shell-send-string-no-output): Use them.
5162
5163 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5164
5165 * profiler.el (profiler-sampling-interval): Rename from
5166 profiler-sample-interval.
5167 (profiler-sampling-interval): Default to 10.
5168 (profiler-find-profile): New command (was profiler-find-log).
5169 (profiler-find-profile-other-window): New command.
5170 (profiler-find-profile-other-frame): New command.
5171 (profiler-profile): Introduce API-level data structure.
5172
5173 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5174
5175 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5176 * files.el (remote-file-name-inhibit-cache):
5177 * time.el (display-time-file-nonempty-p): Use it.
5178 * files.el (after-find-file): Don't chase links before calling
5179 file-exists-p, as file-exists-p already does the right thing.
5180
5181 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5182
5183 Merge from standalone RefTeX repository.
5184
5185 The following ChangeLog entries are shortened versions of the
5186 original ones with file paths adapted. A not so strongly edited
5187 version of the original ChangeLog can be found in the commit log.
5188
5189 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5190 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5191 Correctly handle new value type returned by `reftex-citation'.
5192
5193 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5194 that entries with whitespace at various places are found.
5195 Doc fix. Include entries that are cross-referenced from cited entries.
5196 Include @String definitions in the resulting bib file. Add header
5197 and footer defined in `reftex-create-bibtex-header' and
5198 `reftex-create-bibtex-footer'.
5199 (reftex-do-citation): Make it possible again to insert
5200 non-existent entries. Save match data when asking for optional
5201 arguments. Return all keys, not just the first one.
5202 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5203 all citations in the same line.
5204 (reftex-parse-bibtex-entry): Accept additional optional argument
5205 `raw' and keep quotes or braces if it is non-nil. Match fields
5206 containing hyphens besides word constituents.
5207 (reftex-get-string-refs): New function.
5208 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5209 and ask if it should be reread in case it did.
5210 (reftex-pop-to-bibtex-entry)
5211 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5212 entries with spaces or tabs in front of arguments.
5213 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5214 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5215 Match entries containing numbers and symbol constituents.
5216 (reftex-do-citation, reftex-figure-out-cite-format):
5217 Use `reftex-cite-key-separator'.
5218
5219 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5220 (reftex-mouse-view-crossref): Explain why point is set.
5221
5222 * textmodes/reftex-global.el: Whitespace changes.
5223
5224 * textmodes/reftex-index.el: Move provide statement to end of
5225 file.
5226 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5227 (reftex-index-visit-phrases-buffer): Set marker when visiting
5228 buffer. This allows for returning from the phrases file to the
5229 file one was just editing instead of the file where the last
5230 phrases was added from.
5231 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5232 punctuation syntax as it usually is not used as string quote in
5233 TeX-related modes and may occur unmatched. The change also
5234 prevents fontification of quoted content.
5235 (reftex-index-phrases-mode): Use it.
5236
5237 * textmodes/reftex-parse.el (reftex-parse-from-file):
5238 Move backward one char if a `\' was matched after a section macro.
5239 (reftex-parse-from-file): Use beginning of match instead of end as
5240 bound.
5241
5242 * textmodes/reftex-ref.el: Adapt creation of
5243 `reftex-<package>-<macro>' functions to new structure of
5244 `reftex-ref-style-alist'.
5245 (reftex-reference): Use `reftex-ref-style-list' function.
5246 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5247 reference macro if `reftex-ref-macro-prompt' is non-nil.
5248 (reftex-reference): Pass refstyle to `reftex-format-special'.
5249 Determine reference macro by looking at
5250 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5251 Use only one special format function.
5252 (reftex-varioref-vref, reftex-fancyref-fref)
5253 (reftex-fancyref-Fref): Remove definitions. The functions are now
5254 generated from `reftex-ref-style-alist'.
5255 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5256 Remove.
5257 (reftex-format-special): New function.
5258
5259 * textmodes/reftex-sel.el
5260 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5261 of `reftex-ref-style-alist'. Remove code for testing macro type.
5262 (reftex-select-toggle-varioref)
5263 (reftex-select-toggle-fancyref): Remove.
5264 (reftex-select-cycle-ref-style-internal)
5265 (reftex-select-cycle-ref-style-forward)
5266 (reftex-select-cycle-ref-style-backward): New functions.
5267 (reftex-select-label-map): Use `v' and `V' for general cycling
5268 through reference styles. Add `p' for switching between number
5269 and page reference types.
5270
5271 * textmodes/reftex-toc.el (reftex-re-enlarge):
5272 Call `enlarge-window' only if there is something to do because in Emacs
5273 the horizontal version throws an error even if the parameter is 0.
5274
5275 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5276 (reftex-plug-into-AUCTeX): Doc fix.
5277 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5278 string. Adapt to new name.
5279 (reftex-ref-style-alist): Change structure so that it is not
5280 possible to use multiple different package names within a style.
5281 Remove the symbols for symbols for macro type distinction.
5282 Add characters for macro selection.
5283 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5284 (reftex-create-bibtex-footer): New variables.
5285 (reftex-format-ref-function): Mention third argument of special
5286 format function.
5287 (reftex-ref-style-alist, reftex-ref-style-default-list):
5288 New variables.
5289 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5290 to new implementation. Mark as obsolete. Add compatibility code
5291 for honoring the variable values in case they are set.
5292 (reftex-cite-format-builtin, reftex-bibliography-commands):
5293 Add support for ConTeXt.
5294 (reftex-format-ref-function, reftex-format-cite-function):
5295 Fix custom type.
5296 (reftex-cite-key-separator): New variable.
5297
5298 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5299 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5300 `reftex-syntax-table' because parens have to retain their paren
5301 syntax in order for parsing of BibTeX entries like @book(...) to
5302 work.
5303 (reftex-in-comment): Do not error out if `comment-start-skip' is
5304 not set. Deal correctly with escaped comment characters.
5305 (reftex-tie-multifile-symbols): Add doc string.
5306 Initialize `reftex-ref-style-list'.
5307 (reftex-untie-multifile-symbols): Add doc string.
5308 (reftex-add-index-macros): Doc fix.
5309 (reftex-ref-style-activate, reftex-ref-style-toggle)
5310 (reftex-ref-style-list): New functions.
5311 (reftex-mode-menu): Use them. Adapt to new structure of
5312 `reftex-ref-style-alist'.
5313 (reftex-select-with-char): Kill the RefTeX Select buffer when
5314 done.
5315 (reftex-remove-if): New function.
5316 (reftex-erase-all-selection-and-index-buffers)
5317 (reftex-mode-menu): Reference styles are now computed from
5318 `reftex-ref-style-alist'. Fix typo.
5319 (reftex-report-bug): New function.
5320 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5321 algorithms with O(n log n). Introduce optional argument SORT (not
5322 yet used).
5323
5324 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5325
5326 Enhancements for triple-quote string syntax.
5327 * progmodes/python.el (python-syntax-propertize-function):
5328 Match both quote cases in one regexp.
5329 (python-syntax-stringify): Handle matches properly.
5330
5331 2012-09-30 Juri Linkov <juri@jurta.org>
5332
5333 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5334 to nil around the call to `insert' to prevent
5335 directory time modification by lock_file. (Bug#2295)
5336 * tar-mode.el (tar-summarize-buffer): Idem.
5337
5338 2012-09-30 Juri Linkov <juri@jurta.org>
5339
5340 * facemenu.el (list-colors-sort): Add option "Luminance".
5341 (list-colors-sort-key): Implement it.
5342
5343 * vc/diff-mode.el (diff-refine-removed):
5344 * vc/ediff-init.el (ediff-fine-diff-A):
5345 * vc/smerge-mode.el (smerge-refined-removed):
5346 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5347
5348 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5349
5350 * term/ns-win.el (x-file-dialog): New function.
5351
5352 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5353
5354 * ido.el (ido-max-directory-size): Default to nil; the current
5355 default is small for POSIX systems, and impractical on Windows 7
5356 now that lstat returns directory sizes for NTFS.
5357
5358 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5359
5360 In buffer display functions handle window-height/window-width
5361 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5362 * window.el (window--display-buffer): New argument ALIST.
5363 Obey window-height and window-width alist entries.
5364 (window--try-to-split-window): New argument ALIST.
5365 Bind window-combination-limit to t when the window's size shall be
5366 changed and window-combination-limit equals `window-size'.
5367 (display-buffer-in-atom-window)
5368 (display-buffer-in-major-side-window)
5369 (display-buffer-in-side-window, display-buffer-same-window)
5370 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5371 (display-buffer-pop-up-window, display-buffer-below-selected)
5372 (display-buffer-at-bottom, display-buffer-in-previous-window)
5373 (display-buffer-use-some-window): Adjust all callers of
5374 window--display-buffer and window--try-to-split-window.
5375 (fit-frame-to-buffer): New option.
5376 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5377 is non-nil.
5378 (display-buffer-in-major-side-window): Evaluate window-height /
5379 window-width alist entries.
5380
5381 * help.el (temp-buffer-resize-frames)
5382 (temp-buffer-resize-regexps): Remove options.
5383 (temp-buffer-resize-mode): Adjust doc-string.
5384 (resize-temp-buffer-window): Don't consult
5385 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5386 temp-buffer-resize-frames.
5387
5388 * dired.el (dired-mark-pop-up):
5389 Call display-buffer-below-selected with a fit-window-to-buffer alist
5390 entry.
5391
5392 2012-09-30 Chong Yidong <cyd@gnu.org>
5393
5394 * server.el (server-host): Document the security implications.
5395 (server-auth-key): Doc fix.
5396
5397 * startup.el (initial-buffer-choice): Doc fix.
5398
5399 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5400
5401 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5402 restriction change.
5403
5404 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5405
5406 * help-fns.el (help-fns--obsolete): Fix last change.
5407
5408 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5409
5410 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5411 (minor-mode-map-alist): Remove redundant code.
5412
5413 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5414 visited in a buffer.
5415 (cvs-insert-visited-file): New function.
5416 (find-file-hook): Use it.
5417
5418 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5419
5420 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5421 chose face.
5422 (log-edit-empty-buffer-p): Don't require a space after a header.
5423
5424 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5425
5426 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5427
5428 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5429 a proper minor-mode.
5430
5431 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5432
5433 2012-09-29 Glenn Morris <rgm@gnu.org>
5434
5435 * winner.el (winner-mode): Remove variable (let define-minor-mode
5436 handle it).
5437 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5438 Doc fixes.
5439 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5440 (winner-mode): Use define-minor-mode.
5441
5442 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5443 the full definition in loaddefs, rather than duplicating it.
5444
5445 * help-macro.el (three-step-help): No need to autoload defcustom.
5446
5447 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5448 (inferior-lisp-program, inferior-lisp-load-command)
5449 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5450 No need to autoload defcustoms.
5451
5452 * hippie-exp.el (hippie-expand-try-functions-list)
5453 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5454 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5455 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5456 (hippie-expand-only-buffers): No need to autoload defcustoms.
5457 * progmodes/vhdl-mode.el (vhdl-line-expand):
5458 Explicitly load hippie-exp, so it does not get autoloaded
5459 while hippie-expand-try-functions-list is let-bound.
5460
5461 2012-09-28 Glenn Morris <rgm@gnu.org>
5462
5463 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5464
5465 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5466 Only "cl.el" counts as cl these days.
5467
5468 2012-09-28 Juri Linkov <juri@jurta.org>
5469
5470 Display archive errors in the echo area instead of inserting
5471 to the file buffer.
5472
5473 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5474 to STDERR-TEST that can be a regexp matching a successful output.
5475 Create a temporary file and redirect stderr to it. Search for
5476 STDERR-TEST in the stderr output and display it in the echo area
5477 if no match is found.
5478 (archive-extract-by-file): New function like
5479 `archive-extract-by-stdout' but extracting archives to files
5480 and looking for successful matches in stdout. Function body is
5481 mostly copied from `archive-rar-extract'.
5482 (archive-rar-extract): Use `archive-extract-by-file'.
5483 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5484
5485 2012-09-28 Leo Liu <sdl.web@gmail.com>
5486
5487 * pcomplete.el (pcomplete-show-completions):
5488 Use minibuffer-message to make pcomplete usable in minibuffer.
5489
5490 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5491
5492 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5493
5494 * type-break.el: Use lexical-binding.
5495 (type-break-mode): Use define-minor-mode.
5496
5497 * emacs-lisp/pcase.el (pcase--mark-used): New.
5498 (pcase--u1): Use it (bug#12512).
5499
5500 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5501 in load-history with the right file name.
5502
5503 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5504
5505 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5506 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5507 (doc-view-get-bounding-box): Make bounding box slicing work for
5508 ODF and DVI documents.
5509
5510 2012-09-28 Glenn Morris <rgm@gnu.org>
5511
5512 * type-break.el (type-break-mode, type-break-interval)
5513 (type-break-good-rest-interval, type-break-keystroke-threshold):
5514 No need to autoload.
5515 (type-break-good-rest-interval, type-break-keystroke-threshold):
5516 Add :set-after.
5517
5518 2012-09-28 Chong Yidong <cyd@gnu.org>
5519
5520 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5521 Add :version tag.
5522
5523 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5524
5525 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5526
5527 2012-09-27 Glenn Morris <rgm@gnu.org>
5528
5529 * faces.el (x-display-name): Declare (for without-x builds).
5530
5531 * linum.el (linum-format): Don't autoload it. Improve :type.
5532
5533 * progmodes/tcl.el: Don't require outline when compiling.
5534 (outline-regexp, outline-level): Declare.
5535 * textmodes/sgml-mode.el: Don't require outline when compiling.
5536 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5537
5538 * term.el (term-ansi-reset):
5539 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5540
5541 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5542 files for RCS and SCCS. (Bug#9781)
5543
5544 2012-09-27 Chong Yidong <cyd@gnu.org>
5545
5546 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5547 change; value should be t.
5548
5549 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5550
5551 * image-mode.el: Use lexical-binding.
5552 (image-mode-winprops): Use t to stand for the window of
5553 a buffer that's not displayed.
5554 * doc-view.el (doc-view-new-window-function): Handle the new
5555 t in winprops.
5556 (doc-view-enlarge): Make it a real nop if the size is not changed.
5557 (doc-view-display): Handle the case where the buffer is not (yet?)
5558 displayed in any window.
5559 (doc-view-saved-settings): New var.
5560 (doc-view-mode): Use it.
5561 (doc-view-fallback-mode): Set it.
5562
5563 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5564 Set lexical-binding.
5565 (minibuffer-eldef-shorten-default): New var.
5566 (minibuffer-default-in-prompt-regexps): Use it for new default.
5567 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5568
5569 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5570
5571 * international/uni-bidi.el:
5572 * international/uni-category.el:
5573 * international/uni-name.el:
5574 * international/uni-numeric.el: Regenerate.
5575
5576 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5577 Stefan Monnier <monnier@iro.umontreal.ca>
5578
5579 * profiler.el: New file.
5580
5581 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5582
5583 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5584 (testcover-reinstrument): Simplify with CSE.
5585
5586 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5587
5588 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5589
5590 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5591
5592 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5593 (verilog-auto-input, verilog-auto-insert-lisp)
5594 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5595 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5596 (verilog-auto-unused, verilog-auto-wire)
5597 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5598 newline. Reported by Andrew Jones.
5599 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5600 Reported by Brad Dobbie.
5601 (verilog-batch-delete-trailing-whitespace):
5602 Create verilog-batch-delete-trailing-whitespace.
5603 Reported by Brad Dobbie.
5604 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5605 parameters from another module. Reported by Dan Katz.
5606 (verilog-auto, verilog-auto-assign-modport)
5607 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5608 AUTOINOUTMODPORT for UVM interface module shell generation.
5609 Reported by Brad Dobbie.
5610 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5611 standard behavior.
5612 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5613 Reported by Matt Martin.
5614
5615 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5616
5617 * window.el (window--resize-child-windows): When resizing child
5618 windows proportionally, process them in reverse order to
5619 preserve the "when splitting a window the new one gets the odd
5620 line" behavior.
5621 (window--resize-root-window-vertically): When resizing the
5622 minibuffer window try to affect only windows at the bottom of the
5623 frame. (Bug#12419)
5624
5625 2012-09-25 Chong Yidong <cyd@gnu.org>
5626
5627 * subr.el (declare): Doc fix.
5628
5629 * help-fns.el (help-fns--obsolete): Handle macros properly.
5630
5631 2012-09-25 Chong Yidong <cyd@gnu.org>
5632
5633 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5634 this function obsolete.
5635
5636 * calendar/cal-x.el (calendar-two-frame-setup)
5637 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5638 * calendar/calendar.el (american-calendar, european-calendar)
5639 (calendar-for-loop):
5640 * comint.el (comint-dynamic-simple-complete)
5641 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5642 * desktop.el (desktop-load-default):
5643 * dired-x.el (dired-omit-here-always)
5644 (dired-hack-local-variables, dired-default-directory):
5645 * emacs-lisp/derived.el (derived-mode-class):
5646 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5647 * emacs-lock.el (toggle-emacs-lock):
5648 * epa.el (epa-display-verify-result):
5649 * epg.el (epg-sign-keys, epg-start-sign-keys)
5650 (epg-passphrase-callback-function):
5651 * eshell/esh-util.el (eshell-for):
5652 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5653 (eshell-add-to-window-buffer-names):
5654 * files.el (locate-file-completion):
5655 * imenu.el (imenu-example--create-c-index)
5656 (imenu-example--create-lisp-index)
5657 (imenu-example--lisp-extract-index-name)
5658 (imenu-example--name-and-position):
5659 * international/mule-cmds.el (princ-list):
5660 * international/mule-diag.el (decode-codepage-char):
5661 * international/mule-util.el (detect-coding-with-priority):
5662 * iswitchb.el (iswitchb-read-buffer):
5663 * mail/mailalias.el (mail-complete):
5664 * mail/sendmail.el (mail-sent-via):
5665 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5666 (mouse-major-mode-menu):
5667 * password-cache.el (password-read-and-add):
5668 * pcomplete.el (pcomplete-parse-comint-arguments):
5669 * progmodes/sh-script.el (sh-maybe-here-document):
5670 * replace.el (query-replace-regexp-eval):
5671 * savehist.el (savehist-load):
5672 * simple.el (choose-completion-delete-max-match):
5673 * term.el (term-dynamic-simple-complete):
5674 * vc/ediff-init.el (ediff-check-version):
5675 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5676 * vc/vc.el (vc-diff-switches-list):
5677 * view.el (view-return-to-alist-update): Likewise.
5678
5679 * subr.el (eval-next-after-load, makehash, insert-string)
5680 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5681 mark obsolete.
5682 (mode-line-inverse-video): Variable deleted.
5683
5684 * international/mule-util.el (string-to-sequence): Remove.
5685
5686 * calendar/calendar.el (calendar-version):
5687 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5688 (icalendar-convert-diary-to-ical):
5689 * cus-edit.el (custom-mode):
5690 * ansi-color.el (ansi-color-unfontify-region):
5691 * international/latin1-disp.el (latin1-char-displayable-p):
5692 * progmodes/cwarn.el (turn-on-cwarn-mode):
5693 * progmodes/which-func.el (which-func-update-1):
5694 Use define-obsolete-function-alias.
5695
5696 * net/newst-backend.el (newsticker-cache-filename):
5697 * net/newst-treeview.el (newsticker-groups-filename):
5698 Fix incorrect obsolescence declaration.
5699
5700 * allout.el (allout-passphrase-hint-string): Likewise.
5701 (allout-init): Use a declare form to mark obsolete.
5702
5703 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5704 this applies to functions.
5705
5706 * iswitchb.el (iswitchb-read-buffer): Move code of
5707 iswitchb-define-mode-map here, and delete that obsolete function.
5708
5709 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5710 font-lock-reference-face.
5711
5712 2012-09-25 Glenn Morris <rgm@gnu.org>
5713
5714 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5715 Doc fixes.
5716
5717 * eshell/em-term.el (eshell-term-name):
5718 Default to term-term-name. (Bug#12485)
5719
5720 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5721
5722 * progmodes/python.el (python-shell-send-buffer): Better handling
5723 of "if __name__ == '__main__':" conditionals when sending the buffer.
5724
5725 2012-09-24 Glenn Morris <rgm@gnu.org>
5726
5727 * eshell/esh-cmd.el (eshell-find-alias-function):
5728 Tighten up file-name regexp. (Bug#12499)
5729
5730 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5731
5732 Enhancements for triple-quote string syntax.
5733 * progmodes/python.el (python-quote-syntax): Remove.
5734 (python-syntax-propertize-function): New value.
5735 (python-syntax-count-quotes, python-syntax-stringify):
5736 New functions.
5737
5738 2012-09-24 Chong Yidong <cyd@gnu.org>
5739
5740 * mail/supercite.el (sc-version): Remove obsolete function.
5741 (sc-describe): Don't mark as obsolete, since it is bound.
5742 (sc-submit-bug-report): Remove.
5743
5744 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5745 (cvs-commit-buffer-require-final-newline): Remove.
5746 (log-edit-require-final-newline)
5747 (log-edit-changelog-full-paragraphs): Default to t.
5748
5749 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5750 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5751 * vc/vc.el (vc-checkout-carefully): Likewise.
5752
5753 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5754 (emerge-version): Remove.
5755
5756 * progmodes/compile.el (compile-internal): Remove.
5757 (compilation-parse-errors-function): Fix typo.
5758
5759 * international/mule.el (set-char-table-default): Remove.
5760 (set-coding-priority, make-coding-system, generic-char-p)
5761 (charset-list, charset-bytes, charset-id): Use declare to mark
5762 functions as obsolete.
5763
5764 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5765 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5766 * vc/vc-hooks.el (vc-default-registered): Don't use
5767 vc-master-templates.
5768
5769 * font-lock.el (font-lock-reference-face):
5770 Use define-obsolete-variable-alias.
5771
5772 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5773 * calendar/calendar.el (calendar-font-lock-keywords):
5774 * calendar/diary-lib.el (diary-font-lock-keywords)
5775 (diary-fancy-font-lock-keywords):
5776 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5777 * textmodes/reftex-index.el (reftex-insert-index):
5778 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5779 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5780 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5781 * progmodes/prolog.el (prolog-font-lock-keywords):
5782 * progmodes/idlwave.el (idlwave-idl-keywords):
5783 * progmodes/ada-mode.el (ada-font-lock-keywords):
5784 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5785
5786 2012-09-24 Glenn Morris <rgm@gnu.org>
5787
5788 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5789
5790 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5791
5792 * progmodes/python.el (python-indent-line): More consistent cursor
5793 movement behavior.
5794
5795 2012-09-23 Stefan Merten <smerten@oekonux.de>
5796
5797 * textmodes/rst.el: Fix compiler warning.
5798
5799 2012-09-23 Roland Winkler <winkler@gnu.org>
5800
5801 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5802 Transcribe also LaTeX hyphenation.
5803 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5804 bibtex-reformat-previous-options.
5805
5806 2012-09-23 Roland Winkler <winkler@gnu.org>
5807
5808 * proced.el (proced-renice-command): New variable.
5809 (proced-marked-processes): New function.
5810 (proced-with-processes-buffer): New macro.
5811 (proced-send-signal): Use them.
5812 (proced-renice): New command bound to r.
5813
5814 2012-09-23 Roland Winkler <winkler@gnu.org>
5815
5816 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5817 ibuffer-saved-filter-groups has one element, shortcut the call of
5818 completing-read. (Bug#12331)
5819
5820 2012-09-23 Chong Yidong <cyd@gnu.org>
5821
5822 * bindings.el (mode-line-toggle-read-only):
5823 * bs.el (bs-toggle-readonly):
5824 * buff-menu.el (Buffer-menu-toggle-read-only):
5825 * dired.el (dired-toggle-read-only):
5826 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5827
5828 2012-09-23 Chong Yidong <cyd@gnu.org>
5829
5830 * image.el (image-type-available-p): Adapt to init-image-library
5831 argument changes.
5832
5833 2012-09-22 Juri Linkov <juri@jurta.org>
5834
5835 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5836 `dired-toggle-read-only'. (Bug#12462)
5837
5838 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5839
5840 * subr.el (temp-output-buffer-show): New function.
5841 (with-output-to-temp-buffer): Call temp-output-buffer-show
5842 instead of internal-temp-output-buffer-show.
5843
5844 2012-09-22 Chong Yidong <cyd@gnu.org>
5845
5846 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5847 (Bug#12462).
5848
5849 * repeat.el (repeat): Doc fix (Bug#12348).
5850
5851 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5852 (Bug#10909).
5853
5854 * simple.el (shell-command-on-region): Doc fix.
5855 (read-only-mode): Doc fix.
5856
5857 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5858
5859 * emacs-lisp/timer.el (run-with-idle-timer)
5860 (timer-activate-when-idle): Warn against reinvoking an idle timer
5861 from within its own timer action. (Bug#12447)
5862
5863 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5864
5865 * cus-start.el (window-combination-limit): Add new optional
5866 values.
5867 * window.el (temp-buffer-window-show)
5868 (window--try-to-split-window): Handle new values of
5869 window-combination-limit (Bug#1806).
5870 (split-window): Test window-combination-limit for t instead of
5871 non-nil.
5872 (display-buffer-at-bottom): New buffer display action function.
5873 * help.el (temp-buffer-resize-regexps): New option.
5874 (temp-buffer-resize-mode): Rewrite doc-string.
5875 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5876 Don't resize reused window. Suggested by Glenn Morris.
5877
5878 2012-09-22 Stefan Merten <smerten@oekonux.de>
5879
5880 * textmodes/rst.el: Revamp section title faces.
5881 (rst-official-version)
5882 (rst-package-emacs-version-alist): Sync with official version
5883 V1.4.0.
5884 (rst-faces-defaults, rst-set-level-default)
5885 (rst-level-face-max, rst-level-face-base-color)
5886 (rst-level-face-base-light, rst-level-face-format-light)
5887 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5888 (rst-adornment-faces-alist): Match new setup.
5889 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5890 (rst-level-5, rst-level-6): New faces.
5891
5892 2012-09-22 Chong Yidong <cyd@gnu.org>
5893
5894 * simple.el (undo): Handle indirect buffers (Bug#8207).
5895
5896 2012-09-21 Leo Liu <sdl.web@gmail.com>
5897
5898 IDO: Disable match re-ordering for buffer switching.
5899 * ido.el (ido-buffer-disable-smart-matches): New variable.
5900 (ido-set-matches-1): Use it. (Bug#2042)
5901
5902 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5903
5904 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5905 Fix 2011-05-17 change. (Bug#12418)
5906
5907 2012-09-21 Leo Liu <sdl.web@gmail.com>
5908
5909 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5910
5911 2012-09-21 Glenn Morris <rgm@gnu.org>
5912
5913 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5914 Be more robust about locating simple.el.
5915
5916 2012-09-21 Glenn Morris <rgm@gnu.org>
5917
5918 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5919
5920 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5921
5922 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5923
5924 2012-09-20 Juri Linkov <juri@jurta.org>
5925
5926 * replace.el (query-replace-read-from): Use `read-regexp' instead
5927 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5928 (occur-read-primary-args): Use `read-regexp' instead of
5929 `read-string'.
5930 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5931 `read-from-minibuffer'.
5932 * isearch.el (isearch-occur): Use `read-regexp' instead of
5933 `read-string'.
5934 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5935 `read-from-minibuffer'.
5936 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5937 of `read-string'. (Bug#7567)
5938
5939 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5940 and allow accepting a list of strings prepended to a list of
5941 standard default values. Doc fix. (Bug#12321)
5942
5943 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5944
5945 * replace.el (read-regexp): Don't add ": " when PROMPT already
5946 ends with a colon and space. (Bug#12321)
5947
5948 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5949
5950 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5951 error.
5952
5953 2012-09-20 Stefan Merten <smerten@oekonux.de>
5954
5955 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5956 Fixes feature request bug#11711.
5957 (rst-mode): Create `imenu-create-index-function'.
5958 (rst-get-stripped-line): Delete after refactoring.
5959 (rst-section-tree, rst-section-tree-rec)
5960 (rst-section-tree-point): Refactor and document properly.
5961 (rst-imenu-find-adornments-for-position)
5962 (rst-imenu-convert-cell, rst-imenu-create-index):
5963 New function.
5964
5965 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5966
5967 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5968 (macroexp--expand-all): Use it.
5969 (macroexp--funcall-and-return): Remove by folding it into its sole
5970 caller (macroexp--warn-and-return).
5971 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5972 Use macroexp--obsolete-warning.
5973
5974 * calc/calc.el: Fix last change by removing the whole chunk, since it
5975 was only needed back when Calc was not bundled.
5976
5977 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5978
5979 * emacs-lisp/debug.el (debug): Restore assignment to
5980 debugger-old-buffer removed on 2012-09-08.
5981
5982 2012-09-20 Juri Linkov <juri@jurta.org>
5983
5984 * dired-aux.el (dired-diff): Remove (require 'diff) since
5985 `diff-latest-backup-file' is now autoloaded.
5986
5987 2012-09-20 Chong Yidong <cyd@gnu.org>
5988
5989 * vc/diff.el (diff-latest-backup-file): Autoload.
5990
5991 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5992
5993 * calc/calc.el: Remove redundant autoload shape check.
5994 (sel-mode): Don't defvar.
5995 (calc-get-stack-element): Add `sel-mode' arg instead.
5996 (calc-top, calc-top-list): Pass it this additional argument.
5997 * calc/calc-store.el (calc-store-map):
5998 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5999 (calc-map-equation, calc-outer-product, calc-inner-product):
6000 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6001
6002 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6003
6004 2012-09-19 Juri Linkov <juri@jurta.org>
6005
6006 * dired-aux.el (dired-diff): Add (require 'diff) because
6007 `diff-latest-backup-file' is not autoloaded.
6008 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6009 of `dired-get-filename' to t to not report error when there is
6010 no default file on the current line.
6011
6012 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6013
6014 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6015 macroexp--eval-if-compile.
6016 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6017 (macroexp--expand-all): Use them (bug#12371).
6018
6019 * doc-view.el (doc-view-guess-paper-size)
6020 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6021
6022 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6023
6024 New feature: set optimal slice from BoundingBox information.
6025 * doc-view.el (doc-view-mode-map): Add keybinding.
6026 (doc-view-menu): Add menu entry.
6027 (doc-view-set-slice): Adapt docstring.
6028 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6029 (doc-view-scale-bounding-box)
6030 (doc-view-set-slice-from-bounding-box): New functions.
6031 (doc-view-paper-sizes): New defvar.
6032
6033 2012-09-19 Glenn Morris <rgm@gnu.org>
6034
6035 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6036 (byte-compile-log-warning): Autoload. (Bug#12371)
6037
6038 * calendar/calendar.el (calendar-american-month-header)
6039 (calendar-european-month-header, calendar-iso-month-header)
6040 (calendar-month-header): New options.
6041 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6042 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6043
6044 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6045
6046 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6047
6048 2012-09-18 Juri Linkov <juri@jurta.org>
6049
6050 * dired-aux.el (dired-diff): Restore original functionality of
6051 getting the default value, but keep new feature of using the
6052 latest existing backup file (`diff-latest-backup-file').
6053
6054 2012-09-18 Juri Linkov <juri@jurta.org>
6055
6056 * dired.el (dired-mark): If the region is active in Transient Mark
6057 mode, mark all files in the active region. Doc fix.
6058 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6059 Doc fix. (Bug#10624)
6060
6061 2012-09-18 Juri Linkov <juri@jurta.org>
6062
6063 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6064 attributes for M-n are pulled from the file at point.
6065 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6066 Suggested by Drew Adams. (Bug#10624)
6067
6068 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6069
6070 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6071 whitespace after "end".
6072 (ruby-do-end-to-brace): Collapse block to one line if it fits
6073 within fill-column.
6074
6075 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6076
6077 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6078 value.
6079 (debug): Don't remove debugger window when debugger is expected
6080 to be back.
6081
6082 2012-09-18 Chong Yidong <cyd@gnu.org>
6083
6084 * custom.el (defface): Doc fix.
6085
6086 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6087
6088 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6089
6090 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6091 to initialize query-on-exit; then test that instead (bug#12288).
6092
6093 2012-09-17 Stefan Merten <smerten@oekonux.de>
6094
6095 * textmodes/rst.el: Add support for `testcover'.
6096 (rst-defcustom-testcover, rst-testcover-add-compose)
6097 (rst-testcover-add-1value): New functions.
6098 (rst-portable-mark-active-p): Replace by `use-region-p'.
6099 (rst-update-section, rst-classify-adornment)
6100 (rst-find-title-line): Mark `1value' forms.
6101 (rst-classify-adornment): Remove superfluous form.
6102 (rst-update-section, rst-get-adornments-around)
6103 (rst-adornment-complete-p, rst-get-next-adornment)
6104 (rst-adjust, rst-promote-region)
6105 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6106 (rst-find-pfx-in-region, rst-section-tree-rec)
6107 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6108 (rst-toc-node, rst-toc, rst-forward-section)
6109 (rst-iterate-leftmost-paragraphs)
6110 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6111 (rst-bullet-list-region)
6112 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6113 (rst-compile-find-conf, rst-compile)
6114 (rst-repeat-last-character): Fix style.
6115
6116 2012-09-17 Chong Yidong <cyd@gnu.org>
6117
6118 * comint.el (comint--complete-file-name-data): Don't add a space
6119 if the status is `sole'; that adds a gratuitous space in the
6120 completion-cycling case (Bug#12092).
6121
6122 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6123
6124 2012-09-17 Richard Stallman <rms@gnu.org>
6125
6126 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6127 only in the mime-shown mode, not in raw mode.
6128 (rmail-mime): Toggle off mime by displaying the message without
6129 mime processing. (Bug#12305)
6130
6131 * mail/rmail.el (rmail-retry-failure):
6132 Turn off mime processing first. (Bug#12037)
6133
6134 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6135
6136 2012-09-17 Chong Yidong <cyd@gnu.org>
6137
6138 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6139 (shell-dynamic-complete-functions): Convert to defcustom.
6140 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6141
6142 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6143 * comint.el (comint-prompt-read-only):
6144 * custom.el (defcustom):
6145 * hi-lock.el (hi-lock-mode):
6146 * ibuffer.el (ibuffer-formats):
6147 * ielm.el (ielm-prompt-read-only):
6148 * novice.el (disable-command):
6149 * saveplace.el (toggle-save-place):
6150 * speedbar.el (speedbar-supported-extension-expressions):
6151 * startup.el (auto-save-list-file-prefix, init-file-user)
6152 (after-init-hook, inhibit-startup-echo-area-message):
6153 * strokes.el (strokes-help):
6154 * time-stamp.el (time-stamp):
6155 * calendar/calendar.el (calendar, diary-file):
6156 * calendar/diary-lib.el (diary-mail-entries, diary)
6157 (diary-list-entries-hook):
6158 * calendar/holidays.el (holidays, calendar-holidays):
6159 * calendar/lunar.el (lunar-phases):
6160 * calendar/solar.el (sunrise-sunset):
6161 * emulation/edt.el (edt-load-keys):
6162 * emulation/viper.el (viper-mode):
6163 * eshell/em-alias.el (eshell-command-aliases-list):
6164 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6165 * international/ogonek.el (ogonek-information):
6166 * net/tramp-cmds.el (tramp-bug):
6167 * net/quickurl.el (quickurl-reread-hook-postfix):
6168 * play/decipher.el (decipher-font-lock-keywords):
6169 * progmodes/cc-styles.el (c-set-style):
6170 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6171 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6172 * progmodes/octave-mod.el (octave-mode):
6173 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6174 * progmodes/verilog-mode.el (verilog-read-defines):
6175 * textmodes/two-column.el (2C-mode): Likewise.
6176
6177 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6178
6179 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6180 that holds many addresses.
6181
6182 2012-09-16 Chong Yidong <cyd@gnu.org>
6183
6184 * align.el (align-areas): Call the indication function with
6185 positions instead of markers for arguments (Bug#12343).
6186
6187 * files.el (parse-colon-path): Use split-string (Bug#12351).
6188
6189 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6190 (display-buffer-function): Mark as obsolete.
6191
6192 * progmodes/compile.el (compilation-parse-errors): Accept list
6193 values similar to font-lock-keywords (Bug#12136).
6194 Suggested by Oleksandr Manzyuk.
6195 (compilation-error-regexp-alist): Doc fix.
6196
6197 2012-09-15 Glenn Morris <rgm@gnu.org>
6198
6199 * version.el (emacs-bzr-version-bzr): New function.
6200 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6201
6202 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6203 checkouts, check the parent dirstate matches the branch.
6204 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6205 empty string.
6206
6207 * version.el (emacs-bzr-version): Doc fix.
6208 (emacs-bzr-version-dirstate): New function.
6209 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6210 is local try and check that it matches the branch. If not, just
6211 use dirstate information. (Bug#12441)
6212
6213 2012-09-14 Juri Linkov <juri@jurta.org>
6214
6215 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6216 (Bug#12399)
6217
6218 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6219
6220 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6221
6222 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6223 Remove obsolete byte-compiler hack that tried to silence some warnings.
6224 (edebug-submit-bug-report): Remove.
6225 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6226 Remove aliases, use the un-prefixed name instead.
6227 (edebug-pop-to-buffer): Consider other frames.
6228 (edebug-original-read):: Make it more obvious that it's always defined.
6229 (edebug--make-form-data-entry, edebug--form-data-name)
6230 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6231 single-dashed name, and implement with cl-defstruct.
6232 (edebug-set-form-data-entry): Use the standard accessors.
6233 (edebug-make-top-form-data-entry): Use push.
6234 (edebug-no-match): Drop useless `funcall'.
6235 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6236 to functions.
6237 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6238 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6239 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6240 (easy-menu-define, with-custom-print): Remove redundant specs.
6241 (edebug-outside-overriding-local-map)
6242 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6243 (edebug--display): Bind unread-command-events directly to nil rather
6244 than binding it to unread-command-events and later setting it to nil.
6245 (edebug--display): Kill edebug-eval-buffer here...
6246 (edebug--recursive-edit): ...rather than here.
6247 Bind standard-output and standard-input.
6248 (edebug-eval): Check cl-macroexpand-all is fboundp.
6249 (edebug-temp-display-freq-count): Fix last change.
6250
6251 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6252 * subr.el (noreturn, 1value): Add `debug' spec.
6253 * emacs-lisp/advice.el: Require cl-lib.
6254 (ad-copy-tree): Remove, use copy-tree instead.
6255 (ad-dolist): Remove use dolist or cl-dolist instead.
6256 (ad-do-return): Remove, use cl-return instead.
6257 (defadvice): Add `debug' spec.
6258
6259 2012-09-13 Juri Linkov <juri@jurta.org>
6260
6261 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6262 (Bug#12399)
6263
6264 2012-09-13 Glenn Morris <rgm@gnu.org>
6265
6266 * calc/calc.el (math-compose-expr):
6267 * calc/calc-ext.el (math-compose-expr):
6268 * progmodes/cc-defs.el (cl-macroexpand-all):
6269 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6270 (cl-macroexpand-all): Update declarations.
6271
6272 * vc/vc.el: No need to require ediff.
6273 (ediff-load-version-control): Declare.
6274 (ediff-vc-internal): Fix declaration.
6275 (vc-version-ediff): Require ediff.
6276
6277 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6278
6279 Use a more backwards-compatible timer format (Bug#12430).
6280 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6281 being right after USECS, as that better supports old code that
6282 inadvisedly looked directly at the timer vector.
6283
6284 2012-09-13 Kenichi Handa <handa@gnu.org>
6285
6286 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6287 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6288 `coding-priority' property of these language environment.
6289
6290 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6291
6292 Fix glitches caused by addition of psec to timers (Bug#12430).
6293 * image.el (image-animate-timer):
6294 * time.el (display-time-world-timer):
6295 Use timer--function and timer--args rather than raw access to
6296 timer vector.
6297
6298 2012-09-13 Glenn Morris <rgm@gnu.org>
6299
6300 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6301 If not compiling a file, try using load-file-name.
6302
6303 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6304
6305 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6306 Fix last change.
6307 (edebug-update-eval-list): Use `push'.
6308
6309 * emacs-lisp/edebug.el: Use lexical-binding.
6310 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6311 Mark unused args with underscore.
6312 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6313 (edebug-form-data): Use defvar-local.
6314 (edebug-make-before-and-after-form, edebug-make-after-form):
6315 Use backquote.
6316 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6317 Not dynamically scoped any more.
6318 (edebug--enter-trace): Add arguments `function' and `args'.
6319 Rename from edebug-enter-trace.
6320 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6321 (edebug--update-coverage): Add `after-index' and `value' args.
6322 Rename from edebug-update-coverage.
6323 (edebug-slow-after): Call it accordingly.
6324 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6325 edebug-recursive-edit.
6326 (edebug--display): Call it accordingly. Add args `value',
6327 `offset-index', and `arg-mode'. Rename from edebug-display.
6328 (edebug-debugger, edebug): Call it accordingly.
6329 (edebug-eval-display-list): Use dolist.
6330
6331 2012-09-12 Juri Linkov <juri@jurta.org>
6332
6333 * info.el (Info-search): Don't check for isearch-mode and
6334 isearch-regexp before let-binding search-spaces-regexp to
6335 Info-search-whitespace-regexp.
6336 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6337 search-whitespace-regexp if isearch-lax-whitespace or
6338 isearch-regexp-lax-whitespace is non-nil.
6339 (Info-mode): Don't set local variable search-whitespace-regexp.
6340 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6341
6342 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6343
6344 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6345 (debugger-env-macro): Remove support for unread-command-char.
6346
6347 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6348 the temporary map re-appearing on emulation-mode-map-alists.
6349
6350 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6351 since 22.1.
6352
6353 * ehelp.el (with-electric-help): Accept functions in
6354 electric-help-form-to-execute.
6355 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6356 And replace unread-command-char -> unread-command-events.
6357
6358 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6359
6360 Sync with Tramp 2.2.6.
6361
6362 * net/tramp.el (tramp-accept-process-output): Don't use
6363 JUST-THIS-ONE in the XEmacs case.
6364
6365 * net/trampver.el: Update release number.
6366
6367 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6368
6369 * emacs-lisp/debug.el (debugger-previous-window-height):
6370 New variable.
6371 (debug): When debugger-jumping-flag is non-nil try to restore
6372 height of debugger window. (Bug#8789)
6373
6374 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6375
6376 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6377 overriding-local-map and pre/post-command-hook here.
6378 (edebug-recursive-edit): Do it here instead (bug#12345).
6379 (edebug-outside-unread-command-char): Remove all uses of
6380 unread-command-char.
6381
6382 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6383 inhibit-debugger is bound instead.
6384
6385 2012-09-11 Bastien Guerry <bzg@gnu.org>
6386
6387 * subr.el (set-temporary-overlay-map): Add a docstring.
6388 (Bug#12346)
6389
6390 2012-09-11 Bastien Guerry <bzg@gnu.org>
6391
6392 * minibuffer.el (completion-table-subvert): Fix docstring.
6393 (Bug#12347)
6394
6395 2012-09-11 Bastien Guerry <bzg@gnu.org>
6396
6397 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6398
6399 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6400
6401 * progmodes/sql.el: Version 3.1
6402 (sql-db2-escape-newlines): New variable.
6403 (sql-escape-newlines-filter): Use it.
6404
6405 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6406
6407 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6408
6409 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6410
6411 * vc/diff-mode.el (diff-mode-menu):
6412 Bind diff-remove-trailing-whitespace.
6413
6414 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6415
6416 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6417 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6418 (emacs-lisp-byte-code-mode): New functions.
6419 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6420 (eval-defun-2): Remove bogus interactive spec.
6421 (lisp-indent-line): Remove redundant whole-exp code, now done in
6422 indent-according-to-mode.
6423 (save-match-data): Remove redundant indent data.
6424
6425 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6426 Use `declare'.
6427
6428 2012-09-09 Juri Linkov <juri@jurta.org>
6429
6430 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6431 (replace-lax-whitespace, query-replace-regexp)
6432 (query-replace-regexp-eval, replace-regexp): Doc fix.
6433 (perform-replace, replace-highlight): Let-bind
6434 isearch-lax-whitespace to replace-lax-whitespace and
6435 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6436
6437 * isearch.el (isearch-query-replace): Let-bind
6438 replace-lax-whitespace to isearch-lax-whitespace and
6439 replace-regexp-lax-whitespace to
6440 isearch-regexp-lax-whitespace. (Bug#10885)
6441
6442 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6443
6444 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6445
6446 2012-09-09 Alan Mackenzie <acm@muc.de>
6447
6448 * progmodes/cc-engine.el (c-state-cache-init):
6449 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6450 (c-record-parse-state-state):
6451 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6452
6453 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6454
6455 * register.el (register-separator): Rename from
6456 separator-register. All uses changed. Doc fix.
6457 (register): Fix version.
6458
6459 2012-09-09 Chong Yidong <cyd@gnu.org>
6460
6461 * replace.el (query-replace-map): Bind four new symbols for
6462 requesting window scrolling.
6463
6464 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6465 query-replace-map (Bug#8948).
6466
6467 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6468
6469 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6470 since they are now in query-replace-map.
6471
6472 * window.el (scroll-other-window-down): Make the arg optional.
6473
6474 2012-09-09 Chong Yidong <cyd@gnu.org>
6475
6476 * files.el (hack-local-variables-confirm): Use quit-window to kill
6477 the *Local Variables* buffer.
6478
6479 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6480
6481 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6482 not just expect to be at its beginning. Adjust callees.
6483 Succeed when do-end block has no space before the pipe character.
6484 (ruby-brace-to-do-end): When the original block is one-liner,
6485 convert to multiline. Reindent the result.
6486
6487 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6488
6489 * register.el (register): New group.
6490 (separator-register): New user option.
6491 (increment-register): Route it to `append-to-register', if
6492 register contains text. Implication is that `C-x r +' can now be
6493 used for appending to a text register (bug#12217).
6494 (append-to-register, prepend-to-register): Add separator based on
6495 `separator-register'.
6496
6497 2012-09-08 Alan Mackenzie <acm@muc.de>
6498
6499 AWK Mode: make auto-newline work when there's "==" in the pattern.
6500 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6501 correctly.
6502 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6503 Test more rigorously for "=" token.
6504
6505 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6506
6507 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6508 Only fail when reached LIMIT.
6509
6510 2012-09-08 Chong Yidong <cyd@gnu.org>
6511
6512 * dired.el (dired-mode-map): Don't bind M-=.
6513
6514 * dired-aux.el (dired-diff): Use backup file as default.
6515
6516 2012-09-08 Drew Adams <drew.adams@oracle.com>
6517
6518 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6519
6520 2012-09-08 Chong Yidong <cyd@gnu.org>
6521
6522 * subr.el (syntax-after, syntax-class): Doc fix.
6523
6524 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6525
6526 * window.el (display-buffer-in-previous-window): New buffer
6527 display action function.
6528
6529 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6530 (debugger-previous-window): New variable.
6531 (debug): Rewrite using display-buffer-in-previous-window,
6532 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6533
6534 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6535
6536 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6537
6538 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6539
6540 * progmodes/python.el (python-shell-send-string):
6541 When default-directory is remote, create temp file on remote
6542 filesystem.
6543 (python-shell-send-file): When file is remote, pass local view of
6544 file paths to remote Python interpreter. (Bug#12340)
6545
6546 2012-09-07 Chong Yidong <cyd@gnu.org>
6547
6548 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6549
6550 * files.el (after-find-file): Don't fail on a read-only buffer if
6551 require-final-newline is `visit' or `visit-save' (Bug#11156).
6552
6553 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6554
6555 * userlock.el (ask-user-about-supersession-threat):
6556 Use read-char-choice (Bug#12093).
6557
6558 2012-09-07 Chong Yidong <cyd@gnu.org>
6559
6560 * subr.el (buffer-narrowed-p): New function.
6561
6562 * ses.el (ses-widen):
6563 * simple.el (count-words--buffer-message):
6564 * net/browse-url.el (browse-url-of-buffer): Use it.
6565
6566 * simple.el (count-words-region): Don't signal an error if there
6567 is a non-nil prefix arg and the mark is not set.
6568
6569 * help.el (describe-key-briefly): Allow the message to be seen
6570 when invoked from the minibuffer (Bug#7014).
6571
6572 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6573
6574 * progmodes/ruby-mode.el (ruby-end-of-defun)
6575 (ruby-beginning-of-defun): Simplify, allow indentation before
6576 block beginning and end keywords.
6577 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6578 (ruby-end-of-defun): Expect that the point is at the beginning of
6579 the defun.
6580
6581 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6582
6583 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6584 (bug#12367).
6585 (cl--make-usage-args): Strip _ from argument names.
6586
6587 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6588
6589 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6590 obsolete alias speedbar-key-map.
6591 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6592 (vhdl-index-menu-init): Don't use obsolete variable
6593 font-lock-maximum-size.
6594
6595 2012-09-06 Chong Yidong <cyd@gnu.org>
6596
6597 * frame.el (window-system-version): Mark as obsolete.
6598
6599 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6600 of obsolete variable speedbar-key-map.
6601
6602 2012-09-06 Juri Linkov <juri@jurta.org>
6603
6604 * replace.el (replace-lax-whitespace): New defcustom.
6605 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6606 (replace-string, replace-regexp): Mention it in docstrings.
6607 (perform-replace, replace-highlight): Let-bind
6608 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6609 to the values of replace-lax-whitespace and regexp-flag.
6610 Don't let-bind search-whitespace-regexp. (Bug#10885)
6611
6612 * isearch.el (isearch-query-replace): Let-bind
6613 replace-lax-whitespace instead of let-binding
6614 replace-search-function and replace-re-search-function.
6615 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6616 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6617 (isearch-toggle-symbol): Set isearch-regexp to nil
6618 in isearch-word mode (like in isearch-toggle-word).
6619
6620 2012-09-06 Juri Linkov <juri@jurta.org>
6621
6622 * replace.el (replace-search-function)
6623 (replace-re-search-function): Set default values to nil.
6624 (perform-replace): Let-bind isearch-related variables based on
6625 replace-related values, call `isearch-search-fun' and let-bind
6626 the result to `search-function'. Remove code that sets
6627 `search-function' and `search-string' separately for
6628 `delimited-flag'.
6629 (replace-highlight): Add new argument `delimited-flag' and
6630 rename other arguments to the names used in `perform-replace'.
6631 Let-bind `isearch-word' to the argument `delimited-flag'.
6632 (Bug#10885, bug#10887)
6633
6634 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6635
6636 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6637 ruby-beginning-of-indent, simplify, allow all keywords to have
6638 indentation before them.
6639 (ruby-beginning-of-indent): Adjust for above. Search until the
6640 found point is not inside a string or comment.
6641 (ruby-font-lock-keywords): Allow symbols to start with "@"
6642 character, give them higher priority than variables.
6643 (ruby-syntax-propertize-function)
6644 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6645 matchers. Expression expansions are not comments when inside a
6646 string, and there comment syntax status is irrelevant.
6647 (ruby-match-expression-expansion): New function. Check that
6648 expression expansion is inside a string, and it's not escaped.
6649 (ruby-font-lock-keywords): Use it.
6650
6651 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6652
6653 * help.el (temp-buffer-max-height): New default value.
6654 (temp-buffer-resize-frames): New option.
6655 (resize-temp-buffer-window): Optionally resize frame.
6656
6657 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6658 (fit-frame-to-buffer): New function.
6659
6660 2012-09-05 Glenn Morris <rgm@gnu.org>
6661
6662 * emulation/cua-rect.el (cua--init-rectangles):
6663 * textmodes/picture.el (picture-mode-map):
6664 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6665 like forward-char and backward-char. (Bug#12317)
6666
6667 2012-09-05 Leo Liu <sdl.web@gmail.com>
6668
6669 * progmodes/flymake.el (flymake-warning-re): New variable.
6670 (flymake-parse-line): Use it.
6671
6672 2012-09-05 Glenn Morris <rgm@gnu.org>
6673
6674 * calendar/holidays.el (holiday-christian-holidays):
6675 Rename an entry. (Bug#12289)
6676
6677 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6678
6679 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6680 (bug#12222).
6681
6682 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6683
6684 * loadup.el: Load macroexp. Remove hack.
6685 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6686 (macroexp--expand-all): Use it to get better warnings.
6687 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6688 (internal-macroexpand-for-load): New functions.
6689 (macroexp--pending-eager-loads): New var.
6690 (emacs-startup-hook): New hack to replace one in loadup.el.
6691 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6692 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6693 (cl-psetf): Simplify.
6694 (cl-defstruct): Add indent rule.
6695
6696 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6697
6698 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6699 over `user-mail-address' for the SMTP MAIL FROM envelope.
6700 (smtpmail-via-smtp): Ditto.
6701
6702 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6703
6704 * progmodes/ruby-mode.el: Clean up keybindings.
6705 (ruby-mode-map): Don't bind ruby-electric-brace,
6706 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6707 backward-kill-word, reindent-then-newline-and-indent.
6708 (ruby-mark-defun): Remove.
6709 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6710 (ruby-mode): Set local beginning-of-defun-function and
6711 end-of-defun-function values.
6712
6713 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6714
6715 * window.el (temp-buffer-window-setup-hook)
6716 (temp-buffer-window-show-hook): New hooks.
6717 (temp-buffer-window-setup, temp-buffer-window-show)
6718 (with-temp-buffer-window): New functions.
6719 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6720 (special-display-popup-frame): Make sure the window used shows BUFFER.
6721
6722 * help.el (temp-buffer-resize-mode): Fix doc-string.
6723 (resize-temp-buffer-window): New optional argument WINDOW.
6724
6725 * files.el (recover-file, save-buffers-kill-emacs):
6726 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6727
6728 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6729
6730 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6731 remote definition of `default-directory', ensure we can connect.
6732
6733 2012-09-02 Juri Linkov <juri@jurta.org>
6734
6735 Toggle whitespace matching mode with M-s SPC.
6736 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6737
6738 * isearch.el (search-whitespace-regexp): Doc fix.
6739 Remove cons cell customization.
6740 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6741 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6742 New variables.
6743 (isearch-forward, isearch-forward-regexp): Doc fix.
6744 (isearch-toggle-lax-whitespace): New command.
6745 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6746 (re-search-forward-lax-whitespace)
6747 (re-search-backward-lax-whitespace): New functions.
6748 (isearch-whitespace-regexp): Remove function.
6749 (isearch-query-replace): Let-bind replace-search-function and
6750 replace-re-search-function.
6751 (isearch-occur): Let-bind search-spaces-regexp according to the
6752 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6753 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6754 condition for C-q SPC.
6755 (isearch-search-fun-default): Use new functions mentioned above.
6756 (isearch-search-forward, isearch-search-backward): Remove functions.
6757 (isearch-search): Don't let-bind search-spaces-regexp.
6758 (isearch-lazy-highlight-space-regexp): Remove variable.
6759 (isearch-lazy-highlight-lax-whitespace)
6760 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6761 (isearch-lazy-highlight-new-loop): Use them.
6762 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6763
6764 2012-09-02 Chong Yidong <cyd@gnu.org>
6765
6766 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6767
6768 2012-09-02 Glenn Morris <rgm@gnu.org>
6769
6770 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6771
6772 2012-09-01 Glenn Morris <rgm@gnu.org>
6773
6774 * term.el: Tidy up menu definitions.
6775 (term-mode-map): Use easymenu for In/Out, Complete menus.
6776 (term-pager-break-map): Initialize in the defvar.
6777 (term-terminal-menu, term-signals-menu): Define with easymenu.
6778 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6779 (term-pager-menu): New, extracted from term-process-pager.
6780 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6781 (term-update-mode-line): Propertize line/char and page items.
6782 (term-process-pager): Move keymap initialization elsewhere.
6783
6784 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6785
6786 * window.el (switch-to-prev-buffer): Handle additional values of
6787 BURY-OR-KILL argument. Don't switch in minibuffer window.
6788 (switch-to-next-buffer): Don't switch in minibuffer window.
6789 (quit-restore-window): New function based on quit-window.
6790 Handle additional values of former KILL argument.
6791 (quit-window): Call quit-restore-window with appropriate
6792 interpretation of KILL argument.
6793 (display-buffer-below-selected): New buffer display action
6794 function.
6795
6796 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * minibuffer.el (completion-at-point-functions): Complete docstring
6799 (bug#12254).
6800
6801 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6802
6803 Better seed support for (random).
6804 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6805 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6806 * play/mpuz.el, play/tetris.el, play/zone.el:
6807 * calc/calc-comb.el (math-init-random-base):
6808 * play/blackbox.el (bb-init-board):
6809 * play/life.el (life):
6810 * server.el (server-use-tcp):
6811 * type-break.el (type-break):
6812 Remove unnecessary call to (random t).
6813 * net/sasl.el (sasl-unique-id-function):
6814 Change (random t) to (random), now that the latter is more random.
6815 * play/life.el (life-initialized): Remove no-longer-needed var.
6816
6817 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6818
6819 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6820 Consider frame's buffer predicate when choosing the buffer.
6821 (Bug#12081)
6822
6823 2012-08-30 Richard Stallman <rms@gnu.org>
6824
6825 * simple.el (special-mode-map): Delete binding for `z'.
6826
6827 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6828
6829 * progmodes/compile.el (compilation-always-kill): Doc fix.
6830
6831 2012-08-30 Chong Yidong <cyd@gnu.org>
6832
6833 * window.el (display-buffer-reuse-frames): Make the obsolescence
6834 message more informative.
6835
6836 2012-08-30 Glenn Morris <rgm@gnu.org>
6837
6838 * paren.el (show-paren-delay):
6839 Add a :set function. Doc fix. (Bug#12297)
6840
6841 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6842
6843 * progmodes/compile.el (compilation-always-kill): New var.
6844 (compilation-start): Use it.
6845
6846 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6847
6848 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6849 * files.el (read-only-mode): Move to simple.el.
6850
6851 * files.el (read-only-mode): New minor mode.
6852 (toggle-read-only): Use it and mark obsolete.
6853 (find-file--read-only):
6854 * vc/vc.el (vc-next-action, vc-checkout):
6855 * vc/vc-cvs.el (vc-cvs-checkout):
6856 * obsolete/vc-mcvs.el (vc-mcvs-update):
6857 * ffap.el (ffap--toggle-read-only): Update callers.
6858
6859 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6860
6861 * eshell/esh-ext.el (eshell-external-command): Do not examine
6862 remote shell scripts.
6863 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6864
6865 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6866 "/usr/local/sbin".
6867
6868 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6869
6870 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6871
6872 2012-08-28 Leo Liu <sdl.web@gmail.com>
6873
6874 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6875 completion-at-point. (Bug#12220)
6876
6877 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6878
6879 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6880
6881 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6884 be buffer-local; add delete-trailing-whitespace (bug#12259).
6885
6886 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6887
6888 * progmodes/hideif.el (hif-compress-define-list):
6889 Fix typo. (Bug#11951)
6890
6891 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6892
6893 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6894 buffer local setting.
6895
6896 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6897 rcirc-encode-coding-system.
6898
6899 2012-08-28 Leo Liu <sdl.web@gmail.com>
6900
6901 * net/rcirc.el (rcirc-split-message): New function.
6902 (rcirc-send-message): Use it. (Bug#12051)
6903
6904 2012-08-28 Juri Linkov <juri@jurta.org>
6905
6906 * info.el (Info-fontify-node): Hide empty lines at the end of
6907 the node. (Bug#12272)
6908
6909 2012-08-27 Drew Adams <drew.adams@oracle.com>
6910
6911 * dired.el (dired-pop-to-buffer): Make window start at beginning
6912 of buffer (Bug#12281).
6913
6914 2012-08-26 Chong Yidong <cyd@gnu.org>
6915
6916 * window.el (special-display-regexps, special-display-frame-alist)
6917 (special-display-buffer-names, special-display-function)
6918 (display-buffer-reuse-frames): Mark as obsolete.
6919
6920 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6921
6922 * help.el (help-print-return-message): Don't treat
6923 display-buffer-reuse-frames specially.
6924
6925 2012-08-26 Chong Yidong <cyd@gnu.org>
6926
6927 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6928 New variable, replacing gdb-frame-parameters.
6929 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6930 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6931 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6932 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6933 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6934 the functions directly with gdb-display-buffer-other-frame-action.
6935 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6936 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6937 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6938 (gdb-display-registers-buffer): Define directly.
6939 (def-gdb-display-buffer): Macro deleted.
6940 (gdb-display-buffer): Remove second and third args, callers don't
6941 use them. Defer to the default display-buffer behavior, apart
6942 from making windows dedicated.
6943 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6944
6945 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6946
6947 * window.el (display-buffer-pop-up-frame): Handle a
6948 pop-up-frame-parameters alist entry.
6949 (display-buffer): Document it.
6950
6951 2012-08-26 Chong Yidong <cyd@gnu.org>
6952
6953 * isearch.el (search-whitespace-regexp): Make string and nil
6954 values apply to both ordinary and regexp search. Allow a cons
6955 cell value to distinguish between the two.
6956 (isearch-whitespace-regexp, isearch-search-forward)
6957 (isearch-search-backward): New functions.
6958 (isearch-occur, isearch-search-fun-default, isearch-search)
6959 (isearch-lazy-highlight-new-loop): Use them.
6960 (isearch-forward, isearch-forward-regexp): Doc fix.
6961
6962 2012-08-26 Chong Yidong <cyd@gnu.org>
6963
6964 * faces.el (help-argument-name): Always inherit from italic
6965 (Bug#12213).
6966
6967 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6968
6969 * window.el (window--even-window-heights): Even heights when
6970 WINDOW and the selected window form a vertical combination.
6971 (display-buffer-use-some-window): Provide that window used gets
6972 sized back by quit-window. (Bug#11880) and (Bug#12091)
6973
6974 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6975
6976 Fix file time stamp problem with bzr and CVS (Bug#12001).
6977 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6978 in the file's time stamp, since the version control system loses
6979 that information.
6980
6981 2012-08-22 Juri Linkov <juri@jurta.org>
6982
6983 * info.el (Info-fontify-node): Hide the suffix of the
6984 Info file name in the header line. (Bug#12187)
6985
6986 2012-08-22 Glenn Morris <rgm@gnu.org>
6987
6988 * calendar/cal-tex.el (cal-tex-weekly-common):
6989 Restore leading blank page.
6990
6991 2012-08-22 Le Wang <l26wang@gmail.com>
6992
6993 * misc.el (forward-to-word, backward-to-word): Activate or extend
6994 the region under `shift-select-mode'. (Bug#12231)
6995
6996 2012-08-22 Bastien Guerry <bzg@gnu.org>
6997
6998 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6999 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7000 gives details on why the space is never needed.
7001
7002 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7003
7004 * window.el (walk-window-tree, window-with-parameter):
7005 New optional argument MINIBUF to control whether these functions
7006 should run on the minibuffer window.
7007 (window-at-side-list): Don't operate on minibuffer window.
7008 (window-in-direction): Simplify and rewrite doc-string.
7009 (window--size-ignore): Rename to window--size-ignore-p.
7010 Update callers.
7011 (display-buffer-in-atom-window, window--major-non-side-window)
7012 (window--major-side-window, display-buffer-in-major-side-window)
7013 (delete-side-window, display-buffer-in-side-window):
7014 New functions.
7015 (window--side-check, window-deletable-p, delete-window)
7016 (delete-other-windows, split-window): Handle side windows and
7017 atomic windows appropriately.
7018 (window--display-buffer): Call display-buffer-record-window also
7019 when the window buffer did not change.
7020
7021 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7022
7023 * help-fns.el (help-fns--key-bindings):
7024 Abbreviate non-symbol remap targets. (Bug#12174)
7025
7026 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7027
7028 * dired.el (dired-mark-remembered): Don't clobber point.
7029 (Bug#11795)
7030
7031 2012-08-22 Glenn Morris <rgm@gnu.org>
7032
7033 * progmodes/bug-reference.el (bug-reference): New custom group.
7034 (bug-reference-bug-regexp): Make it a defcustom.
7035
7036 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7037
7038 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7039 (js-paren-indent-offset, js-square-indent-offset)
7040 (js-curly-indent-offset): Add :safe (Bug#12257).
7041
7042 2012-08-22 Edward O'Connor <hober0@gmail.com>
7043
7044 * json.el (json-key-format): Add error properties.
7045 (json-encode-key): New function.
7046 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7047 Use json-encode-key.
7048
7049 2012-08-22 Glenn Morris <rgm@gnu.org>
7050
7051 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7052 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7053 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7054 Update for above change.
7055
7056 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7057
7058 * cus-face.el (custom-face-attributes): Fix customize type for the
7059 :underline attribute. (Bug#11805)
7060
7061 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7062
7063 * window.el (window-point-1, set-window-point-1): Remove.
7064 (window-in-direction, record-window-buffer)
7065 (set-window-buffer-start-and-point, split-window-below)
7066 (window--state-get-1, display-buffer-record-window):
7067 Replace calls to window-point-1 and set-window-point-1 by calls to
7068 window-point and set-window-point respectively.
7069
7070 2012-08-21 Glenn Morris <rgm@gnu.org>
7071
7072 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7073 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7074 Use it.
7075
7076 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7077 (cal-tex-shortday): New function.
7078 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7079 (cal-tex-cursor-filofax-daily): Use the above.
7080
7081 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7082 New functions.
7083 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7084 (cal-tex-cursor-filofax-week): Use them.
7085
7086 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7087 New constants.
7088 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7089 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7090
7091 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7092 (cal-tex-end-document): Don't rely on buffer name.
7093
7094 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7095 Use cal-tex-vspace.
7096 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7097 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7098 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7099 Use cal-tex-arg.
7100
7101 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7102 (cal-tex-cursor-week, cal-tex-cursor-week2)
7103 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7104 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7105 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7106 (cal-tex-insert-preamble, cal-tex-b-document)
7107 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7108 Improve cal-tex-cmd usage.
7109
7110 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7111 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7112 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7113 (cal-tex-weekly-paper): New function.
7114 (cal-tex-cursor-week, cal-tex-cursor-week2)
7115 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7116 (cal-tex-cursor-day): Use it.
7117
7118 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7119 (cal-tex-cursor-filofax-week): Remove leading blank page.
7120
7121 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7122 Add autoload cookie. For now at least, don't use color, since
7123 no other cal-tex function does.
7124
7125 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7126 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7127 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7128
7129 2012-08-21 Juri Linkov <juri@jurta.org>
7130
7131 * info.el (Info-file-attributes): New variable.
7132 (info-insert-file-contents): Add file attributes to
7133 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7134 `Info-toc-nodes' when previous modtime of the Info file is less
7135 than new modtime.
7136 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7137 of info.el. (Bug#12230)
7138
7139 2012-08-20 Glenn Morris <rgm@gnu.org>
7140
7141 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7142 * calendar/holidays.el (calendar-holiday-list):
7143 Report errors with display-warning rather than beep'n'sleep.
7144
7145 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7146
7147 * net/tramp.el (tramp-accept-process-output): Accept only output
7148 from PROC. Otherwise, process filters and sentinels might be
7149 confused. (Bug#12145)
7150
7151 2012-08-20 Chong Yidong <cyd@gnu.org>
7152
7153 * descr-text.el (describe-text-properties-1): Use overlays-in to
7154 report on empty overlays (Bug#3322).
7155
7156 2012-08-20 Glenn Morris <rgm@gnu.org>
7157
7158 * mail/rmailout.el (rmail-output-read-file-name):
7159 Trap and report errors in rmail-output-file-alist elements.
7160
7161 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7162 since most non-font-lock faces are not also variables).
7163
7164 2012-08-20 Edward Reingold <reingold@iit.edu>
7165
7166 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7167 New function. (Bug12160)
7168
7169 2012-08-19 Glenn Morris <rgm@gnu.org>
7170
7171 * mail/rmailout.el (rmail-output-read-file-name):
7172 Fix previous change (when the alist is nil or does not match).
7173
7174 2012-08-19 Chong Yidong <cyd@gnu.org>
7175
7176 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7177 (Bug#12228).
7178
7179 2012-08-18 Chong Yidong <cyd@gnu.org>
7180
7181 * simple.el (yank-handled-properties): New defcustom.
7182 (yank-excluded-properties): Add font-lock-face and category.
7183 (yank): Doc fix.
7184
7185 * subr.el (remove-yank-excluded-properties):
7186 Obey yank-handled-properties. The special handling of font-lock-face
7187 and category is now done this way, instead of being hard-coded.
7188 (insert-for-yank-1): Remove font-lock-face handling.
7189 (yank-handle-font-lock-face-property)
7190 (yank-handle-category-property): New function.
7191
7192 2012-08-17 Glenn Morris <rgm@gnu.org>
7193
7194 * mail/rmailout.el (rmail-output-read-file-name):
7195 Check rmail-output-file-alist against the full message body
7196 in the correct rmail buffer. (Bug#12214)
7197
7198 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7199
7200 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7201 Eliminate superfluous prompt. (Bug#12203)
7202
7203 2012-08-17 Chong Yidong <cyd@gnu.org>
7204
7205 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7206 font spec, set the font directly (Bug#3228).
7207
7208 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7209
7210 * window.el (delete-window): Fix last fix.
7211
7212 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7213
7214 * window.el (window-valid-p): Move to window.c.
7215 (window-child, window-child-count, window-last-child)
7216 (window-normalize-window, window-combined-p)
7217 (window-combinations, window-atom-root, window-min-size)
7218 (window-sizable, window-sizable-p, window-size-fixed-p)
7219 (window-min-delta, window-max-delta, window--resizable)
7220 (window--resizable-p, window-resizable, window-total-size)
7221 (window-full-height-p, window-full-width-p, window-body-size)
7222 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7223 (minimize-window, window-deletable-p, delete-window)
7224 (delete-other-windows, set-window-buffer-start-and-point)
7225 (next-buffer, previous-buffer, split-window, balance-windows-2)
7226 (set-window-text-height, window-buffer-height)
7227 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7228 (truncated-partial-width-window-p): Minor code adjustments.
7229 In doc-strings state whether the argument window has to denote a
7230 live, valid or any window.
7231
7232 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7233
7234 * progmodes/subword.el (subword-forward-function)
7235 (subword-backward-function, subword-forward-regexp)
7236 (subword-backward-regexp): New variables.
7237 (subword-forward, subword-forward-internal, subword-backward-internal):
7238 Use new variables, eg so that different "word" definitions
7239 can be easily used. (Bug#11411)
7240
7241 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7242
7243 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7244 for composite selectors.
7245 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7246 operation just because we can't find a previous revision.
7247
7248 2012-08-15 Chong Yidong <cyd@gnu.org>
7249
7250 * frame.el (set-frame-font): Accept font objects.
7251
7252 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7253
7254 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7255
7256 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7257
7258 * man.el (Man-overstrike-face, Man-underline-face)
7259 (Man-reverse-face): Remove variables.
7260 (Man-overstrike, Man-underline, Man-reverse): New faces.
7261 (Man-fontify-manpage): Use them instead of the variables.
7262 (Man-cleanup-manpage): Comment change.
7263 (Man-ansi-color-map): New variable.
7264 (Man-fontify-manpage): Use it.
7265 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7266
7267 Implement ANSI SGR parameters 22-27 (bug#12146).
7268 * ansi-color.el (ansi-colors): Doc fix.
7269 (ansi-color-context, ansi-color-context-region): Doc fix.
7270 (ansi-color--find-face): New function.
7271 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7272 Rename the local variable `face' to `codes' since it is now a list of
7273 ansi codes. Doc fix.
7274 (ansi-color-get-face): Remove.
7275 (ansi-color-parse-sequence): New function, derived from
7276 ansi-color-get-face.
7277 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7278 codes 22-27.
7279
7280 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * subr.el (read-passwd): Allow use from a minibuffer.
7283
7284 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7285
7286 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7287 inside comments and strings as identifiers.
7288
7289 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7290 expression to evaluate. This allows to evaluate expressions with
7291 embedded whitespace.
7292 (gud-tooltip-tips): Add a blank before the newline in the
7293 message-box text, for the benefit of message-box emulation on
7294 MS-Windows.
7295
7296 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7297 messages from GDB, pop them up in a tooltip to give feedback to
7298 user.
7299 (gdb-tooltip-print-1): Quote the expression to evaluate.
7300 This allows to evaluate expressions with embedded whitespace.
7301 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7302 if the TTY name is nil or empty (which happens when communicating
7303 with the inferior via pipes, e.g. on MS-Windows).
7304 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7305 don't send that to the GUD buffer.
7306
7307 2012-08-14 Glenn Morris <rgm@gnu.org>
7308
7309 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7310 Optimize away setq-default with no args, as for setq. (Bug#12195)
7311
7312 2012-08-14 Chong Yidong <cyd@gnu.org>
7313
7314 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7315
7316 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7317 (Bug#12085).
7318
7319 2012-08-14 Glenn Morris <rgm@gnu.org>
7320
7321 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7322
7323 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7324
7325 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7326 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7327 Use cached shell name.
7328
7329 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7330
7331 * progmodes/python.el (python-shell-send-string):
7332 (python-shell-send-setup-code): Do not use `format' with `message'.
7333
7334 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7335
7336 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7337 (ruby-percent-literal-beg-re): New constant.
7338 (ruby-syntax-general-delimiters-goto-beg): Rename to
7339 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7340 (ruby-syntax-propertize-general-delimiters): Rename to
7341 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7342 popular term. Adjust comments everywhere.
7343 (ruby-syntax-propertize-percent-literal): Only propertize when not
7344 inside a simple string or comment. When the literal is unclosed,
7345 leave the text after it unpropertized.
7346 (ruby-syntax-methods-before-regexp): New constant.
7347 (ruby-syntax-propertize-function): Use it to recognize regexps.
7348 Don't look at the text after regexp, just use the whitelist.
7349
7350 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7351
7352 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7353 non-nil always load the compiled file if it exists. (Bug#12197)
7354
7355 2012-08-14 Chong Yidong <cyd@gnu.org>
7356
7357 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7358 (hi-lock-set-pattern): When deciding whether to use font lock or
7359 overlays, look at font-lock-mode instead of font-lock-fontified
7360 (Bug#12168).
7361 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7362 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7363
7364 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7365
7366 * subr.el (internal--after-with-selected-window): Fix typo
7367 (Bug#12193).
7368
7369 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7370
7371 Use `completion-table-dynamic' for completion functions.
7372 * progmodes/python.el
7373 (python-shell-completion--do-completion-at-point)
7374 (python-shell-completion--get-completions):
7375 Remove functions.
7376 (python-shell-completion-complete-at-point): New function.
7377 (python-completion-complete-at-point): Use it.
7378
7379 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7380
7381 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7382 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7383
7384 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7385
7386 * subr.el (function-get): Refine `autoload' arg so it can also
7387 autoload functions for gv.el (bug#12191).
7388 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7389 autoloads macros.
7390
7391 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7392 Prefer pcase-let over destructuring-bind.
7393 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7394 Also, remove whitespace as we go, rather than after accumulating the
7395 various places.
7396
7397 * subr.el (internal--before-with-selected-window)
7398 (internal--after-with-selected-window): Fix typo seleted->selected.
7399 (with-selected-window): Adjust callers.
7400 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7401
7402 2012-08-13 Bastien Guerry <bzg@gnu.org>
7403
7404 * window.el (special-display-popup-frame): Minor docstring
7405 enhancement. (Bug#12172)
7406
7407 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7408
7409 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7410 type 1-6.
7411 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7412 extended headers.
7413
7414 * files.el (hack-local-variables-filter): Remove useless eval.
7415
7416 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7417
7418 * subr.el (with-selected-window): Fix last change.
7419
7420 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * subr.el (internal--before-with-seleted-window)
7423 (internal--after-with-seleted-window): New functions.
7424 (with-selected-window): Use them, to replace dependency on
7425 tty-top-frame.
7426
7427 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7428
7429 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7430 binding for `newline'.
7431 (ruby-move-to-block): When moving backward, stop at block opening,
7432 not indentation.
7433 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7434 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7435 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7436 `ruby-toggle-block'.
7437
7438 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7439
7440 * ibuffer.el (ibuffer-do-toggle-read-only):
7441 * dired.el (dired-toggle-read-only):
7442 * buff-menu.el (Buffer-menu-toggle-read-only):
7443 * bindings.el (mode-line-toggle-read-only):
7444 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7445
7446 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7447
7448 * descr-text.el (describe-char): Put the overlays over the
7449 "displayed as" character.
7450
7451 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7452
7453 * calc/calc-units.el (math-default-units-table): Give an
7454 initial value.
7455 (math-put-default-units): Add options to put composite units and
7456 unit systems in the default units table.
7457 (calc-convert-units): Send composite units to
7458 `math-put-default-units' when appropriate.
7459
7460 2012-08-11 Glenn Morris <rgm@gnu.org>
7461
7462 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7463
7464 * tutorial.el (help-with-tutorial):
7465 * emacs-lisp/copyright.el (copyright-update-directory):
7466 * emacs-lisp/autoload.el (autoload-find-generated-file)
7467 (autoload-find-file): Disable local eval: (for insurance).
7468
7469 * files.el (hack-local-variables-filter): If an eval: form is not
7470 known to be safe, and enable-local-variables is :safe, then ignore
7471 the form totally, as is done for non-eval forms. (Bug#12155)
7472 This is CVE-2012-3479.
7473
7474 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7477 (rx-form): Simplify.
7478
7479 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7480
7481 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7482 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7483 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7484 (ruby-syntax-propertize-function): Adjust for changes in
7485 `ruby-syntax-propertize-heredoc'.
7486
7487 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7488
7489 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7490 binding (use `M-;' instead).
7491 (ruby-singleton-class-p): New function.
7492 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7493
7494 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7495
7496 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7497
7498 2012-08-10 Chong Yidong <cyd@gnu.org>
7499
7500 * progmodes/python.el (python-shell-get-process-name): Don't mess
7501 with same-window-buffer-names.
7502
7503 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7504 (eshell-remove-from-window-buffer-names): Make obsolete.
7505 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7506 (eshell): Just use pop-to-buffer-same-window instead.
7507
7508 2012-08-10 Chong Yidong <cyd@gnu.org>
7509
7510 * bindings.el: Bind M-= back to count-words-region.
7511
7512 * simple.el (count-words-region): Accept a prefix arg for acting
7513 on the entire buffer.
7514 (count-words--buffer-message): New helper function.
7515
7516 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7517
7518 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7519 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7520 (event-start, event-end): Use posn-at-point to return a more
7521 informative posn.
7522 (posnp): New function.
7523 * mouse.el (popup-menu-normalize-position): Use it.
7524
7525 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7526
7527 * mouse.el (popup-menu-normalize-position): New function.
7528 (popup-menu): Use `popup-menu-normalize-position' to normalize
7529 the form for POSITION argument.
7530
7531 * term/x-win.el (x-menu-bar-open):
7532 Use the value returend from (posn-at-point) as position
7533 passed to `popup-menu'.
7534
7535 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7536
7537 * calc/calccomp.el (math-compose-expr): Add extra argument
7538 indicating that parentheses should be put around products in
7539 denominators. Give multiplication precedence over division during
7540 composition.
7541
7542 2012-08-09 Chong Yidong <cyd@gnu.org>
7543
7544 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7545 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7546 (Man-untabify-command, manual-program): Convert to defcustom
7547 (Bug#10429).
7548
7549 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7550
7551 * descr-text.el (describe-char): Don't insert extra newlines
7552 (Bug#10127).
7553
7554 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7555 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7556
7557 * align.el (align-region): Delete temporary markers (Bug#10047).
7558 Plus some code cleanups.
7559
7560 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7561
7562 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7563 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7564 (python-shell-internal-last-output): Use make-local-variable
7565 instead of make-variable-buffer-local.
7566
7567 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7568
7569 * progmodes/python.el: Enhancements to forward-sexp.
7570 (python-nav-forward-sexp): Rename from
7571 python-nav-forward-sexp-function.
7572 (python-nav--forward-sexp, python-nav--backward-sexp):
7573 New functions.
7574
7575 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7576
7577 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7578 modes and simplification modes.
7579
7580 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7581
7582 * delsel.el (delete-selection-pre-hook): Don't propagate the
7583 file-supersession signals (bug#12161).
7584
7585 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7586
7587 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7588 (cl-map-extents): Add compatibility aliases (bug#12135).
7589
7590 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7591
7592 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7593 tests by `ignore-error'.
7594 (tramp-find-shell): Open also a new shell, when cache is already
7595 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7596
7597 2012-08-08 Juri Linkov <juri@jurta.org>
7598
7599 * bookmark.el: Add `defaults' property to the bookmark record.
7600 (bookmark-current-buffer): Doc fix.
7601 (bookmark-make-record): Add `defaults' property with default values
7602 to the bookmark record.
7603 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7604 with `bookmark-insert-current-bookmark'.
7605 (bookmark-set): Get `defaults' property from the bookmark record
7606 and use it in `read-from-minibuffer'.
7607 (bookmark-insert-current-bookmark): Remove function.
7608
7609 * info.el (Info-bookmark-make-record): Add `defaults' property
7610 with values of canonical Info node name, the current Info file
7611 name and the current Info node name. (Bug#12107)
7612
7613 2012-08-08 Juri Linkov <juri@jurta.org>
7614
7615 * files.el (basic-save-buffer): Use `buffer-name' as the default
7616 of `read-file-name' when buffer is not visiting a file (bug#12128).
7617
7618 2012-08-08 Juri Linkov <juri@jurta.org>
7619
7620 * info.el (Info-isearch-search): Doc fix.
7621 (Info-search): Change search-failed message from "initial node" to
7622 "end of node" (bug#12078).
7623 (Info-isearch-search): Change `isearch-string-state' to
7624 `isearch--state-string'.
7625
7626 2012-08-08 Glenn Morris <rgm@gnu.org>
7627
7628 * language/persian.el: Remove file.
7629 * language/misc-lang.el: Move unique part of persian.el here.
7630 * loadup.el: Remove language/persian.
7631
7632 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7633
7634 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7635
7636 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7637
7638 * progmodes/python.el: Fix defsubst warning.
7639 (python-syntax-context) Rename from python-info-ppss-context.
7640 (python-syntax-context-type): Rename from
7641 python-info-ppss-context-type.
7642 (python-syntax-comment-or-string-p): Rename from
7643 python-info-ppss-comment-or-string-p.
7644
7645 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7646
7647 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7648
7649 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7650
7651 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7652 a defcustom that is quoted with backquote.
7653
7654 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7655 Fix handling of interactive spec when the body uses return.
7656 (math-do-arg-check, math-define-function-body): Use backquote forms.
7657 * calc/calc-ext.el (math-defcache): Likewise.
7658 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7659 * allout.el (allout-new-exposure): Likewise.
7660 * calc/calcalg2.el (math-tracing-integral): Likewise.
7661 * info.el (Info-last-menu-item): Likewise.
7662 * emulation/vip.el (vip-loop): Likewise.
7663 * textmodes/artist.el (artist-funcall): Likewise.
7664 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7665 Construct menu-item directly.
7666
7667 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7668 Don't declare.
7669
7670 2012-08-07 Chong Yidong <cyd@gnu.org>
7671
7672 * simple.el (deactivate-mark): Preserve text properties when
7673 saving the primary selection (Bug#8384).
7674
7675 2012-08-07 Kevin Ryde <user42@zip.com.au>
7676
7677 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7678 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7679 and continue processing (Bug#12110).
7680
7681 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7682
7683 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7684 syntax-propertize-function (bug#10095).
7685
7686 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7687
7688 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7689 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7690 describe-function-1.
7691 (describe-function-1): Use them. Move compiler macro after sig.
7692 (help-fns--compiler-macro): Use function-get. Assume we're already in
7693 standard-output. Adjust layout to new call order.
7694
7695 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7696 re-binding a symbol that has a symbol-macro (bug#12119).
7697
7698 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7699
7700 * language/persian.el: New file. (Bug#11812)
7701 * loadup.el: Add language/persian.el.
7702
7703 2012-08-06 Chong Yidong <cyd@gnu.org>
7704
7705 * window.el (window--maybe-raise-frame): New function.
7706 (window--display-buffer): Split off from here.
7707 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7708 (display-buffer-pop-up-window, display-buffer-use-some-window):
7709 Obey an inhibit-switch-frame action alist entry.
7710 (display-buffer): Update doc.
7711
7712 * replace.el (occur-after-change-function): Avoid losing focus by
7713 using the inhibit-switch-frame display parameter (Bug#12139).
7714
7715 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7716
7717 Make internal shell process buffer names start with space.
7718 * progmodes/python.el (python-shell-make-comint): Add optional
7719 argument INTERNAL.
7720 (run-python-internal): Use it.
7721 (python-shell-internal-get-or-create-process): Check for new
7722 internal buffer names.
7723
7724 2012-08-06 Glenn Morris <rgm@gnu.org>
7725
7726 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7727 Do less getting and setting of environment variables.
7728
7729 2012-08-05 Chong Yidong <cyd@gnu.org>
7730
7731 * proced.el (proced): Add substitution string to docstring to
7732 trigger autoloading of the proced library on C-h f (Bug#1768).
7733
7734 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7735 Don't show defvars which have no second argument (Bug#8638).
7736
7737 * imenu.el (imenu-generic-expression): Move documentation here
7738 from imenu--generic-function.
7739 (imenu--generic-function): Refer to imenu-generic-expression.
7740
7741 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7742
7743 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7744 indentation declaration.
7745 (viper-loop): Add indentation declaration (Bug#7025).
7746
7747 2012-08-05 Chong Yidong <cyd@gnu.org>
7748
7749 * help-fns.el (describe-variable): Add hyperlink for
7750 directory-local variables files. Improve buffer-local and
7751 permanent-local reporting; suggested by MON KEY (Bug#6644).
7752
7753 * help-mode.el (help-dir-local-var-def): New button type.
7754
7755 * files.el (kill-buffer-hook): Provide a defvar.
7756
7757 2012-08-05 Glenn Morris <rgm@gnu.org>
7758
7759 * eshell/esh-ext.el (eshell/addpath):
7760 Also update eshell-path-env. (Bug#12013)
7761
7762 2012-08-05 Chong Yidong <cyd@gnu.org>
7763
7764 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7765
7766 * fringe.el (fringe-styles): Add docstring.
7767 (fringe--check-mode): New function.
7768 (set-fringe-mode, set-fringe-style): Use it.
7769 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7770
7771 * files.el (set-auto-mode): Fix invalid setq call.
7772
7773 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7774
7775 * isearch.el: Misc simplification; use defstruct.
7776 (isearch-mode-map): Dense maps now work like sparse ones.
7777 (isearch--state): New defstruct.
7778 (isearch-string-state, isearch-message-state, isearch-point-state)
7779 (isearch-success-state, isearch-forward-state)
7780 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7781 (isearch-wrapped-state, isearch-barrier-state)
7782 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7783 replaced by defstruct's accessors.
7784 (isearch--set-state): Rename from isearch-top-state and change
7785 calling convention.
7786 (isearch-push-state): Use new isearch--get-state.
7787 (isearch-toggle-word): Disable regexp when enabling word.
7788 (isearch-message-prefix): Remove unused arg _c-q-hack.
7789 (isearch-message-suffix): Remove unused arg _ellipsis.
7790
7791 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7792
7793 * simple.el (list-processes--refresh): For a server use :host or
7794 :local as the address.
7795 (list-processes): Doc fix.
7796
7797 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7798
7799 * lisp/mpc.el: Support password in host argument.
7800 (mpc--proc-connect): Parse and use new password element.
7801 Set mpc-proc variable instead of returning process.
7802 (mpc-proc): Adjust accordingly.
7803
7804 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7805
7806 * whitespace.el (whitespace-display-mappings): Use Unicode
7807 codepoints, instead of emacs-mule codepoints. See
7808 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7809 for the details.
7810
7811 * files.el (file-truename): Don't skip symlink-chasing part on
7812 windows-nt. Incorporate the resolution of 8+3 short aliases on
7813 Windows into the loop that recursively chases symlinks.
7814 Compare directory and its parent case-insensitively on MS-Windows and
7815 MS-DOS.
7816
7817 2012-08-03 Chong Yidong <cyd@gnu.org>
7818
7819 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7820
7821 * sort.el (sort-regexp-fields): Doc fix.
7822
7823 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7824
7825 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7826 labels regex position point at the expected place.
7827
7828 2012-08-03 MON KEY <monkey@sandpframing.com>
7829
7830 * net/imap.el (imap-interactive-login, imap-authenticate)
7831 (imap-mailbox-lsub, imap-mailbox-list)
7832 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7833 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7834 (imap-parse-response): Doc fix.
7835
7836 2012-08-03 João Távora <joaotavora@gmail.com>
7837
7838 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7839 if sexp scanning does not move point (Bug#5734).
7840
7841 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7842
7843 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7844 Add listings, minted, and ctable packages.
7845 (reftex-label-alist-builtin): Move listings, minted, and ctable
7846 entries before LaTeX.
7847 (reftex-label-alist): Docfix.
7848
7849 2012-08-02 Bastien Guerry <bzg@gnu.org>
7850
7851 * replace.el (occur): Fix docstring (bug#12122).
7852
7853 2012-08-02 Glenn Morris <rgm@gnu.org>
7854
7855 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7856
7857 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7858
7859 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7860 * international/mule-cmds.el: Create
7861 inactivate-current-input-method-function as an obsolete alias for
7862 deactivate-current-input-method-function. See Katsumi Yamaoka in
7863 <http://bugs.gnu.org/10150#46>.
7864
7865 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7866
7867 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7868 of nested `if's.
7869
7870 2012-08-01 Glenn Morris <rgm@gnu.org>
7871
7872 * progmodes/autoconf.el (autoconf-definition-regexp):
7873 Add AH_TEMPLATE, adjust submatch numbering.
7874 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7875 (autoconf-current-defun-function): Update for above change.
7876 (autoconf-current-defun-function): First skip to end of current word.
7877
7878 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7879
7880 * calendar/cal-html.el (cal-html-insert-agenda-days):
7881 Fix typo. (Bug#12018)
7882
7883 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7884
7885 Shell processes: enhancements to startup and CEDET compatibility.
7886 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7887 (python-shell-make-comint): accept-process-output at startup.
7888 (run-python-internal): Set inferior-python-mode-hook to nil.
7889 (python-shell-internal-get-or-create-process): call sit-for.
7890 (python-preoutput-result): Add obsolete alias.
7891 (python-shell-internal-send-string): Use it.
7892 (python-shell-send-setup-code): Remove call to
7893 accept-process-output.
7894
7895 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7896
7897 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7898 (Bug#12108)
7899
7900 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7901
7902 * calc-mode.el (calc-basic-simplification-mode): Rename from
7903 `calc-limited-simplification-mode'.
7904 (calc-alg-simplification-mode): New function.
7905 (calc-set-simplify-mode): Adjust message.
7906
7907 * calc.el (calc-set-mode-line): Adjust mode line display for
7908 basic simplification mode.
7909
7910 * calc-help.el (calc-m-prefix-help): Update help message.
7911
7912 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7913 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7914
7915 2012-07-31 Bastien Guerry <bzg@gnu.org>
7916
7917 * man.el (man): Fix comment. (bug#12101)
7918
7919 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7920
7921 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7922 Don't return a non-nil value when no suitable buffer was found.
7923
7924 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7925
7926 * progmodes/python.el (run-python-internal): Disable font lock for
7927 internal shells.
7928
7929 2012-07-30 Stefan Merten <smerten@oekonux.de>
7930
7931 * textmodes/rst.el: Silence `checkdoc-ispell'.
7932 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7933 (rst-official-version, rst-official-cvs-rev)
7934 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7935 (rst-mode-map): New key binding.
7936
7937 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7938
7939 Update .PHONY listings in makefiles.
7940 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7941 autoloads, update-subdirs, updates, bzr-update, update-authors,
7942 compile-onefile, compile-calc, backup-compiled-files,
7943 compile-after-backup, compile-one-process, mh-autoloads,
7944 bootstrap-clean, distclean, maintainer-clean.
7945
7946 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7947
7948 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7949 (calc-set-mode-line): Don't display "AlgSimp ".
7950
7951 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7952 (calc-lim-simplify-mode): New function.
7953 (calc-set-simplify-mode): Default to 'alg.
7954 (calc-default-simplify-mode): Make algebraic simplifications
7955 the default.
7956
7957 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7958 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7959
7960 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7961 indicate new simplification modes.
7962
7963 * calc/README: Mention new default simplification mode.
7964
7965 * calc/calc.el (math-normalize-error): New variable.
7966 (math-normalize): Set `math-normalize-error' to t
7967 when there's an error.
7968
7969 * calc/calc-alg.el (math-simplify): Don't simplify when
7970 `math-normalize' returns an error.
7971
7972 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7973
7974 * international/mule-cmds.el (set-locale-environment): Revert last
7975 change, since display-graphic-p returns nil when this function is
7976 called during startup. Instead...
7977
7978 * term/w32console.el (terminal-init-w32console): ...setup the
7979 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7980
7981 2012-07-29 Juri Linkov <juri@jurta.org>
7982
7983 * simple.el (goto-line): Don't display default line number in the
7984 prompt because it should be displayed by `read-number' (bug#9952).
7985 Add the current line number to the defaults of `goto-line' to
7986 allow its easier modification by users with `M-n' (bug#9201).
7987
7988 * subr.el (read-number): Support multiple default values like in
7989 other minibuffer reading functions. Replace `read' with
7990 `string-to-number' for consistency with `number-to-string'.
7991
7992 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7993
7994 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7995 * emulation/viper-init.el (viper-deactivate-input-method-action):
7996 Rename from viper-inactivate-input-method-action.
7997 (viper-deactivate-input-method):
7998 Rename from viper-inactivate-input-method.
7999 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8000 * international/mule-cmds.el (deactivate-input-method):
8001 Rename from inactivate-input-method.
8002 Also run input-method-deactivate-hook.
8003 (deactivate-current-input-method-function):
8004 Rename from inactivate-current-input-method-function.
8005 (input-method-deactivate-hook): New hook.
8006 (input-method-inactivate-hook): Mark obsolete.
8007 (inactivate-input-method): Mark obsolete.
8008
8009 * international/quail.el (quail-activate):
8010 Also run quail-deactivate-hook.
8011 (quail-deactivate): Rename from quail-inactivate.
8012 * international/robin.el (robin-activate):
8013 Also run robin-deactivate-hook.
8014 (robin-deactivate): Rename from robin-inactivate.
8015
8016 2012-07-29 Chong Yidong <cyd@gnu.org>
8017
8018 * simple.el (indicate-copied-region): New function.
8019 (kill-ring-save): Split off from here.
8020
8021 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8022 (kill-rectangle): Set deactivate-mark to t on read-only error.
8023
8024 * register.el (copy-to-register, copy-rectangle-to-register):
8025 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8026 (append-to-register, prepend-to-register): Call indicate-copied-region.
8027
8028 2012-07-29 Juri Linkov <juri@jurta.org>
8029
8030 * simple.el (async-shell-command-buffer): New defcustom.
8031 (shell-command): Use it. (Bug#4719)
8032
8033 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8034
8035 * international/mule-cmds.el (set-locale-environment): In a
8036 console session on MS-Windows, set up keyboard and terminal
8037 encoding from the OEM codepage, not the ANSI codepage.
8038 (Bug#12055)
8039
8040 2012-07-28 Chong Yidong <cyd@gnu.org>
8041
8042 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8043 gdb-get-location.
8044
8045 2012-07-28 Leo Liu <sdl.web@gmail.com>
8046
8047 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8048 the alist (bug#12029).
8049
8050 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8051
8052 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8053 (compile-always, compile-first)
8054 ($(lisp)/calendar/cal-loaddefs.el)
8055 ($(lisp)/calendar/diary-loaddefs.el)
8056 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8057 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8058 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8059 instead of on update-subdirs.
8060 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8061
8062 2012-07-28 Chong Yidong <cyd@gnu.org>
8063
8064 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8065 directory if vc-deduce-backend returns nil (Bug#7350).
8066
8067 * simple.el (delete-trailing-lines): New option.
8068 (delete-trailing-whitespace): Obey it (Bug#11879).
8069
8070 2012-07-28 David Engster <deng@randomsample.de>
8071
8072 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8073 Explanation of new 'symbol-qnames feature in doc-strings.
8074 (xml-maybe-do-ns): Return expanded names as plain symbols if
8075 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8076 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8077
8078 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8079
8080 Consistent completion in inferior python with emacs -nw.
8081 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8082 binding in inferior-python-mode-map with "\t".
8083 (python-shell-completion-complete-at-point)
8084 (python-completion-complete-at-point): Remove interactive spec.
8085
8086 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8087
8088 * calc/calccomp.el (math-compose-expr): Undo previous change.
8089
8090 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8091
8092 * progmodes/python.el (python-mode-map): Add keybinding for
8093 run-python.
8094 (python-shell-make-comint): Fix pop-to-buffer call.
8095 (run-python): Autoload. New arg SHOW.
8096 (python-shell-get-or-create-process): Do not pop python process
8097 buffer.
8098
8099 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8100
8101 * notifications.el (notifications-on-action-signal)
8102 (notifications-on-closed-signal): Use also the bus address for the map.
8103 (notifications-notify, notifications-close-notification)
8104 (notifications-get-capabilities): Add optional argument BUS.
8105
8106 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8107
8108 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8109 Add support for the lstlisting and minted environments, and for the
8110 ctable macro.
8111 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8112 labels written in keyvals syntax.
8113
8114 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8115
8116 * calc/calccomp.el (math-compose-expr): Use parentheses when
8117 there is a product in the denominator of a fraction.
8118
8119 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8120
8121 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8122 ($(lisp)/calendar/diary-loaddefs.el)
8123 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8124 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8125 Fixes failures in parallel bootstrap because subdirs.el is being
8126 rewritten while the autoload files are built at the same time,
8127 which needs to load subdirs.el.
8128
8129 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8130
8131 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8132 (mouse-drag-line): Don't exit tracking when a switch-frame or
8133 switch-window event occurs (Bug#12006).
8134
8135 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8136
8137 * mouse.el (popup-menu): Fix last change.
8138
8139 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8140
8141 Autoload from Lisp with more care. Follow aliases when looking for
8142 function properties.
8143 * subr.el (autoloadp): New function.
8144 (symbol-file): Use it.
8145 (function-get): New function.
8146 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8147 autoload-do-load.
8148 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8149 (lisp-indent-function):
8150 * emacs-lisp/gv.el (gv-get):
8151 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8152 * emacs-lisp/byte-opt.el (byte-optimize-form):
8153 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8154 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8155 Use function-get.
8156 * emacs-lisp/cl.el: Don't propagate function properties any more.
8157
8158 * speedbar.el (speedbar-add-localized-speedbar-support):
8159 * emacs-lisp/disass.el (disassemble-internal):
8160 * desktop.el (desktop-load-file):
8161 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8162 (describe-function-1):
8163 * emacs-lisp/find-func.el (find-function-noselect):
8164 * emacs-lisp/elp.el (elp-instrument-function):
8165 * emacs-lisp/advice.el (ad-has-proper-definition):
8166 * apropos.el (apropos-safe-documentation, apropos-macrop):
8167 * emacs-lisp/debug.el (debug-on-entry):
8168 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8169 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8170 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8171
8172 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8173
8174 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8175 function, not an obsolete variable (Bug#12046).
8176
8177 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8178
8179 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8180
8181 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8182
8183 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8184 window only if it is still live (Bug#12034).
8185
8186 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8187
8188 * subr.el (redirect-frame-focus): Add advertised calling
8189 convention (Bug#12030).
8190
8191 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8192
8193 Prefer typical American spelling for "acknowledgment".
8194 * vc/add-log.el (change-log-acknowledgment): Rename from
8195 change-log-acknowledgement, with an alias for the old name.
8196
8197 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8198
8199 * calc-alg.el (math-simplify-divide): Don't cross multiply
8200 in an equation when the lhs is a variable.
8201
8202 2012-07-24 Julien Danjou <julien@danjou.info>
8203
8204 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8205 Remove, unused.
8206
8207 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8208
8209 * startup.el (command-line): Don't display an empty user name in
8210 the error message about non-existent home directory, when
8211 init-file-user was set to an empty string. See
8212 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8213 for the details and context.
8214
8215 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8216
8217 * ses.el (ses-cell-formula-aset): New macro.
8218 (ses-cell-references-aset): New macro.
8219 (ses-cell-p): New function.
8220 (ses-rename-cell): Do no longer rely on complex operations like
8221 ses-cell-set-formula or ses-set-cell to change the cell and handle
8222 the undo at the same time, but rather use lower level new macros
8223 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8224 the undo directly. Refresh the mode line.
8225
8226 2012-07-21 Leo Liu <sdl.web@gmail.com>
8227
8228 * progmodes/cc-cmds.el (c-defun-name):
8229 Use match-string-no-properties instead for consistency.
8230
8231 2012-07-20 Leo Liu <sdl.web@gmail.com>
8232
8233 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8234 (Bug#7879)
8235
8236 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8237
8238 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8239
8240 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8241 * progmodes/bug-reference.el, misearch.el: Provide themselves
8242 (bug#11915).
8243
8244 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8245 of narrowed buffer (bug#11966).
8246
8247 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8248
8249 * ses.el (ses-rename-cell): Set new name also in reference list of
8250 cells of which the renamed cell depends.
8251
8252 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8253
8254 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8255 to check whether menu-bar is shown or not. If not shown,
8256 show the menu-bar as a popup menu instead of using tmm.
8257 * mouse.el (popup-menu): Accept `point' as `position' argument.
8258
8259 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8260
8261 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8262 up inside string symbol literal (bug#11923).
8263
8264 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8265
8266 * startup.el (fancy-startup-text): Read the whole tutorial, not
8267 just its first 256 bytes. Prevents gibberish in display of the
8268 tutorial title.
8269
8270 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8271
8272 Drop idle buffer compaction due to an absence of the
8273 proved efficiency.
8274 * compact.el: Remove.
8275
8276 2012-07-19 Sam Steingold <sds@gnu.org>
8277
8278 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8279 vc-bzr-pull & vc-bzr-merge-branch.
8280 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8281 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8282 for consistency with compilation-error-regexp-alist.
8283 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8284 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8285 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8286 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8287
8288 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8289
8290 * emacs-lisp/chart.el: Use lexical-binding.
8291 (chart-emacs-storage): Don't hardcode the list of entries.
8292
8293 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8294
8295 Next round of tweaks caused by Fgarbage_collect changes.
8296 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8297
8298 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8299
8300 Compact buffers when idle.
8301 * compact.el: New file.
8302
8303 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8304
8305 * subr.el (eventp): Presume that if it looks vaguely like an event,
8306 it's an event (bug#10190).
8307
8308 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8309
8310 Enhancements to ppss related code (thanks Stefan).
8311 * progmodes/python.el (python-indent-context)
8312 (python-indent-calculate-indentation, python-indent-dedent-line)
8313 (python-indent-electric-colon, python-nav-forward-block)
8314 (python-mode-abbrev-table)
8315 (python-info-assignment-continuation-line-p): Simplify checks
8316 for ppss context.
8317 (python-info-continuation-line-p): Cleanup.
8318 (python-info-ppss-context): Do not catch 'quote.
8319 (python-info-ppss-context-type)
8320 (python-info-ppss-comment-or-string-p): Simplify.
8321
8322 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8323
8324 * progmodes/python.el: Enhancements to eldoc support.
8325 (python-info-current-symbol): New function.
8326 (python-eldoc-at-point): Use python-info-current-symbol.
8327 (python-info-current-defun): Fix cornercase on first defun scan.
8328 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8329 and signal error when no inferior python process is available.
8330
8331 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8332
8333 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8334 assume it's always t.
8335 (vc-git-registered): Remove caching, the function is only called
8336 once.
8337 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8338
8339 2012-07-18 Chong Yidong <cyd@gnu.org>
8340
8341 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8342
8343 * simple.el (count-words): Report on narrowing (Bug#9959).
8344
8345 * bindings.el: Bind M-= to count-words.
8346
8347 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8348
8349 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8350
8351 * progmodes/sh-script.el (sh-imenu-generic-expression):
8352 Capture a function with `function' keyword and without parentheses
8353 like "function FOO" (bug#11856).
8354
8355 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8356
8357 * window.el (split-window-sensibly): Make WINDOW argument
8358 optional.
8359
8360 2012-07-18 Chong Yidong <cyd@gnu.org>
8361
8362 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8363
8364 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8365 and make C-x 8 RET exit isearch (Bug#11439).
8366
8367 * international/iso-transl.el: Move isearch-mode-map key
8368 definitions to isearch.el.
8369
8370 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8371
8372 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8373 (eieio-defclass): Use gv-define-setter when possible.
8374
8375 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8376
8377 Reflect recent changes in Fgarbage_collect.
8378 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8379 reflect new format of data returned by Fgarbage_collect.
8380
8381 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8382
8383 New utility functions + python-info-ppss-context fix (Bug#11910).
8384 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8385 (python-info-ppss-comment-or-string-p): New functions.
8386 (python-info-ppss-context): Small fix for string check.
8387
8388 2012-07-17 Juri Linkov <juri@jurta.org>
8389
8390 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8391 (dired-do-async-shell-command): Don't add `*' at the end of the
8392 command (Bug#11815).
8393 (dired-do-shell-command): Doc fix.
8394 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8395 Join the individual commands using either "&" or ";" as the
8396 separator depending on the values of these trailing characters.
8397 At the end re-add the trailing "&". (Bug#10598)
8398
8399 * simple.el (async-shell-command): Sync the interactive spec with
8400 `shell-command'. Doc fix.
8401 (shell-command): Doc fix.
8402
8403 2012-07-17 Juri Linkov <juri@jurta.org>
8404
8405 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8406
8407 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8408
8409 Final renames and doc fixes for movement commands (bug#11899).
8410 * progmodes/python.el (python-nav-beginning-of-statement):
8411 Rename from python-nav-statement-start.
8412 (python-nav-end-of-statement): Rename from
8413 python-nav-statement-end.
8414 (python-nav-beginning-of-block): Rename from
8415 python-nav-block-start.
8416 (python-nav-end-of-block): Rename from python-nav-block-end.
8417
8418 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8419
8420 * progmodes/python.el (python-shell-send-string-no-output):
8421 Allow accept-process-output to quit, keeping shell process ready for
8422 future interactions (Bug#11868).
8423
8424 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8425
8426 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8427
8428 * emacs-lisp/elint.el (elint-find-args-in-code):
8429 Use help-function-arglist, so as to handle lexical byte-code.
8430
8431 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8432 change (bug#11826).
8433
8434 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8435
8436 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8437 Avoid spuriously marking the buffer as modified because of c-is-sws.
8438
8439 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8440 as not-a-comment (bug#11946).
8441
8442 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8443 for uninterned vars.
8444
8445 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8446 Use read-event since we don't really want to read chars but bytes.
8447
8448 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8449 $$..$$ but also $..$ using regexps (bug#11953).
8450 Use tex-verbatim for \url and \path.
8451 (tex-font-lock-keywords): Define as defconst like the others.
8452 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8453
8454 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8455
8456 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8457 alias for insert-char.
8458
8459 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8460
8461 * progmodes/python.el: Simplified imenu implementation.
8462 (python-nav-jump-to-defun): Remove command.
8463 (python-mode-map): Use `imenu' instead.
8464 (python-nav-list-defun-positions-cache)
8465 (python-imenu-include-defun-type, python-imenu-make-tree)
8466 (python-imenu-subtree-root-label, python-imenu-index-alist):
8467 Remove vars.
8468 (python-nav-list-defun-positions, python-nav-read-defun)
8469 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8470 (python-imenu-make-tree, python-imenu-create-index):
8471 Remove functions.
8472 (python-mode): Update to interact with imenu by setting
8473 `imenu-extract-index-name-function' only.
8474
8475 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8476
8477 * progmodes/python.el: Enhancements to navigation commands.
8478 (python-nav-backward-sentence)
8479 (python-nav-forward-sentence): Remove.
8480 (python-nav-backward-statement, python-nav-forward-statement)
8481 (python-nav-statement-start, python-nav-statement-end)
8482 (python-nav-backward-block, python-nav-forward-block)
8483 (python-nav-block-start, python-nav-block-end)
8484 (python-nav-forward-sexp-function)
8485 (python-info-current-line-comment-p)
8486 (python-info-current-line-empty-p): New functions.
8487 (python-indent-context): Use `python-nav-statement-start'.
8488
8489 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8490
8491 * eshell/em-ls.el (eshell/ls): Use `apply'.
8492
8493 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8494 multi-hops, instead of Tramp internals.
8495
8496 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8497
8498 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8499 when F1 and F2 are located on different hosts.
8500
8501 2012-07-14 Chong Yidong <cyd@gnu.org>
8502
8503 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8504 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8505 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8506 (xterm-mouse--read-event-sequence-1000)
8507 (xterm-mouse--read-event-sequence-1006): New functions. For old
8508 mouse protocol, handle M-mouse-X events correctly.
8509 (xterm-mouse-event): New arg specifying mouse protocol.
8510 (turn-on-xterm-mouse-tracking-on-terminal)
8511 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8512 sequence to toggle extended coordinates on newer XTerms.
8513 This appears to be harmless on terminals which do not support this.
8514
8515 2012-07-14 Leo Liu <sdl.web@gmail.com>
8516
8517 Add fringe bitmap indicators for flymake. (Bug#11253)
8518 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8519 (flymake-make-overlay): New arg BITMAP.
8520 (flymake-error-bitmap, flymake-warning-bitmap)
8521 (flymake-fringe-indicator-position): New user variables.
8522
8523 * fringe.el: New bitmap exclamation-mark.
8524
8525 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8526
8527 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8528 also (Bug#7879).
8529
8530 2012-07-14 Chong Yidong <cyd@gnu.org>
8531
8532 * electric.el (electric-pair-post-self-insert-function): Fix pair
8533 insertion in empty-region case (Bug#11520).
8534
8535 2012-07-14 Chong Yidong <cyd@gnu.org>
8536
8537 * bindings.el: Consolidate ctl-x-r-map bindings.
8538 Bind copy-rectangle-as-kill to C-x r w.
8539
8540 * rect.el, register.el: Move bindings to bindings.el.
8541
8542 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8543
8544 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8545
8546 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8547
8548 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8549
8550 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8551
8552 * bindings.el (top): Use `mapc' instead of `mapcar'.
8553
8554 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8555
8556 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8557
8558 * progmodes/sql.el (sql-comint): Suppress the check for program on
8559 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8560 (Bug#11908)
8561
8562 2012-07-13 Chong Yidong <cyd@gnu.org>
8563
8564 * bindings.el: Assign a non-nil permanent-local property to
8565 per-buffer variables which lack a default value (Bug#11930).
8566
8567 * help-fns.el (describe-variable): In the "automatically becomes
8568 local" notice, take note of permanent-local variables.
8569
8570 2012-07-13 Chong Yidong <cyd@gnu.org>
8571
8572 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8573 to allow printing the message when called from Lisp.
8574
8575 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8576 Remove toggle-read-only.
8577
8578 * bs.el (bs-toggle-readonly):
8579 * buff-menu.el (Buffer-menu-toggle-read-only):
8580 Remove with-no-warnings around toggle-read-only.
8581
8582 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8583 Remove with-no-warnings around toggle-read-only.
8584 (ffap-read-only, ffap-read-only-other-window)
8585 (ffap-read-only-other-frame): Callers changed.
8586
8587 * help-mode.el: Don't require view package.
8588 (help-mode-finish): Set buffer-read-only instead of calling
8589 toggle-read-only.
8590
8591 * bindings.el (mode-line-toggle-read-only):
8592 * dired.el (dired-toggle-read-only):
8593 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8594 with non-nil second arg.
8595
8596 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8597 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8598 directly.
8599
8600 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8601
8602 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8603 not incf.
8604
8605 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8606
8607 More CL cleanups and reduction of use of cl.el.
8608 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8609 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8610 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8611 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8612 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8613 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8614 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8615 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8616 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8617 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8618 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8619 * eshell/em-cmpl.el, eshell/em-banner.el:
8620 * calendar/parse-time.el: Use cl-lib.
8621 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8622 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8623 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8624 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8625 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8626 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8627 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8628 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8629 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8630 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8631 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8632 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8633 `lambda' rather than with `quote'.
8634 (eshell-do-opt): Adjust accordingly.
8635 (eshell-process-option): Simplify.
8636 * eshell/esh-var.el:
8637 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8638 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8639 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8640 to `pcase--dontcare'.
8641 * emacs-lisp/cl.el (labels): Mark obsolete.
8642 (cl--letf, letf): Move to cl-lib.
8643 (cl--letf*, letf*): Remove.
8644 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8645 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8646 (cl-progv): Rewrite.
8647 (cl--letf, cl-letf): Move from cl.el.
8648 (cl-letf*): New macro.
8649 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8650
8651 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8652
8653 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8654
8655 2012-07-11 Chong Yidong <cyd@gnu.org>
8656
8657 * vc/log-edit.el (log-edit-vc-backend): New variable.
8658 (log-edit): Doc fix.
8659
8660 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8661 argument of log-edit to set up all local variables.
8662 (vc-start-logentry): New optional arg specifying VC backend.
8663
8664 * vc/vc.el (vc-checkin): Use it.
8665 (vc-deduce-fileset): Handle Log Edit buffers.
8666 (vc-diff): Make first argument optional too.
8667
8668 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8669
8670 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8671
8672 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8673 command, just in case. The function is not needed anymore.
8674 (eshell-external-command): Do not call `eshell-remote-command'.
8675
8676 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8677
8678 Reduce use of (require 'cl).
8679 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8680 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8681 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8682 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8683 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8684 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8685 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8686 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8687 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8688 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8689 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8690 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8691 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8692 (byte-compile-unfold-bcf, byte-compile-check-variable):
8693 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8694 (byte-compile-nilconstp):
8695 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8696 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8697
8698 * emacs-lisp/gv.el (cond): Make it a valid place.
8699 (if): Simplify slightly.
8700
8701 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8702 (pcase--self-quoting-p): New function.
8703 (pcase--u1): Use it.
8704
8705 2012-07-10 Glenn Morris <rgm@gnu.org>
8706
8707 * emacs-lisp/authors.el (authors-fixed-entries):
8708 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8709
8710 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8711
8712 Rename configure.in to configure.ac (Bug#11603).
8713 * emacs-lisp/authors.el (authors-canonical-file-name):
8714 * progmodes/autoconf.el (autoconf-mode):
8715 Prefer configure.ac to configure.in.
8716
8717 2012-07-08 Chong Yidong <cyd@gnu.org>
8718
8719 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8720 Implement the mouse-1-click-follows-link handling properly.
8721
8722 * info.el (Info-link-keymap): Use follow-link mechanism for
8723 header-line links (Bug#374).
8724
8725 * simple.el (deactivate-mark): Do not set the primary selection
8726 if another program has acquired it (Bug#11772).
8727
8728 2012-07-07 Kevin Ryde <user42@zip.com.au>
8729
8730 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8731 (woman-decode-region): Replace escaped-escapes without destroying
8732 bold or underline (Bug#11552).
8733 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8734
8735 2012-07-07 Chong Yidong <cyd@gnu.org>
8736
8737 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8738 (interprogram-cut-function, interprogram-paste-function):
8739 Mention that we typically mean the clipboard.
8740
8741 2012-07-06 Glenn Morris <rgm@gnu.org>
8742
8743 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8744
8745 * files.el (toggle-read-only): Restrict message to interactive use.
8746
8747 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8748
8749 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8750
8751 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8752
8753 2012-07-06 Glenn Morris <rgm@gnu.org>
8754
8755 * Makefile.in (compile-one-process): Rename from "recompile".
8756
8757 * Makefile.in (bzr-update): "compile" is the same as "recompile
8758 autoloads", but parallelizable, so use that instead.
8759
8760 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8761
8762 * window.el (quit-window): Always restore window height when
8763 it's saved in quit-restore parameter (Bug#11810).
8764
8765 2012-07-06 Glenn Morris <rgm@gnu.org>
8766
8767 * simple.el (kill-whole-line): Doc tweak.
8768
8769 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8770
8771 * files.el (file-relative-name): Compare file names
8772 case-insensitively if on MS-Windows or MS-DOS, or if
8773 read-file-name-completion-ignore-case is non-nil. Don't use
8774 case-fold-search for this purpose. (Bug#11827)
8775
8776 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8777
8778 * calendar/cal-dst.el (calendar-current-time-zone):
8779 Return calendar-current-time-zone-cache if non-nil.
8780
8781 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8782 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8783
8784 * calendar/cal-dst.el (calendar-current-time-zone):
8785 Return calendar-current-time-zone-cache if non-nil.
8786
8787 2012-07-06 Glenn Morris <rgm@gnu.org>
8788
8789 * Makefile.in (cvs-update): Remove old alias.
8790
8791 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8792
8793 Sync with Tramp 2.2.6-pre.
8794
8795 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8796 compatible declaration.
8797
8798 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8799 Protect `list-load-path-shadows' call.
8800
8801 * net/tramp-compat.el (top): Require packages, which aren't
8802 autoloaded anymore for XEmacs. Protect call of
8803 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8804 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8805 it hurts at least for SXEmacs.
8806 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8807 standard-value for `temporary-file-directory'.
8808
8809 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8810 Redirect stderr to /dev/null.
8811 (tramp-sh-handle-write-region): uid and gid can be floats.
8812 Reported by Russell Sim <russell.sim@gmail.com>.
8813 (tramp-sh-handle-vc-registered): Hide errors.
8814 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8815 and `start-file-process'.
8816 (tramp-maybe-open-connection): Check also whether `non-essential'
8817 is bound.
8818
8819 2012-07-04 Chong Yidong <cyd@gnu.org>
8820
8821 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8822 (xml-parse-tag): Likewise, and avoid changing entity tables.
8823 (xml-syntax-table): Define from scratch, making sure not to give
8824 x2000 and other Unicode spaces whitespace syntax, since those are
8825 not spaces in XML.
8826 (xml-parse-fragment): Delete unused function.
8827 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8828 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8829 (xml-entity-ref, xml-pe-reference-re)
8830 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8831 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8832 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8833 (xml-entity-value-re): Use syntax references in regexps where
8834 possible; no need to define inside a let-binding.
8835 (xml-parse-dtd): Use xml-pe-reference-re.
8836 (xml-entity-or-char-ref-re): New defconst.
8837 (xml-parse-string, xml-substitute-special): Use it.
8838
8839 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8840
8841 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8842 (find-file--read-only): New function.
8843 (find-file-read-only, find-file-read-only-other-window)
8844 (find-file-read-only-other-frame): Use it.
8845 (insert-file-contents-literally): Don't `fset'.
8846 (get-free-disk-space): Use locate-dominating-file.
8847
8848 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8849 function is already compiled.
8850
8851 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8852
8853 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8854
8855 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8856 files on the same host.
8857
8858 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8859
8860 * help-fns.el (describe-function-1): Only call
8861 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8862
8863 2012-07-03 Chong Yidong <cyd@gnu.org>
8864
8865 * xml.el: Protect parser against XML bombs.
8866 (xml-entity-expansion-limit): New variable.
8867 (xml-parse-string, xml-substitute-special): Use it.
8868 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8869
8870 2012-07-03 Glenn Morris <rgm@gnu.org>
8871
8872 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8873 Allow linking to specific messages in debbugs reports (eg 123#5).
8874
8875 2012-07-02 Chong Yidong <cyd@gnu.org>
8876
8877 * xml.el: Fix entity and character reference expansion, allowing
8878 them to expand into markup as per XML spec.
8879 (xml-default-ns): New variable.
8880 (xml-entity-alist): Use XML spec definitions for lt and amp.
8881 (xml-parse-region): Make first two arguments optional.
8882 Discard text properties.
8883 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8884 All callers changed.
8885 (xml-parse-tag): Call xml-parse-tag-1. For backward
8886 compatibility, this function should not modify buffer contents.
8887 (xml-parse-tag-1): Fix opening-tag regexp.
8888 (xml-parse-string): Rewrite, handling entity and character
8889 references properly.
8890 (xml--entity-replacement-text): Signal an error if a parameter
8891 entity is undefined.
8892
8893 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 * comint.el (comint-output-filter): Filter out repeated prompts.
8896
8897 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8898 and file-name-absolute-p.
8899 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8900 internal calls.
8901
8902 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8903
8904 Spelling fixes.
8905 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8906 Rename from byte-compile--refiy-function. All uses changed.
8907
8908 2012-07-01 Chong Yidong <cyd@gnu.org>
8909
8910 * xml.el (xml--parse-buffer): New function. Move most of
8911 xml-parse-region here.
8912 (xml-parse-region): Copy region into a temporary buffer, since
8913 parameter entity substitution requires changing buffer contents.
8914 Use xml--parse-buffer.
8915 (xml-parse-file): Use xml--parse-buffer.
8916 (xml-parse-dtd): Make parameter entity substitution work right.
8917 Use proper regexps for ELEMENT declarations (Bug#7172).
8918
8919 2012-06-30 Glenn Morris <rgm@gnu.org>
8920
8921 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8922
8923 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8924 Remove outdated and unnecessary dbus declarations.
8925
8926 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8927
8928 * emacs-lisp/timer.el (timer-until): Subtract results of
8929 float-time, instead of taking float-time of the result of
8930 time-subtract, since float-time signals an error for negative time
8931 arguments.
8932
8933 2012-06-30 Chong Yidong <cyd@gnu.org>
8934
8935 * xml.el (xml-*-re): Convert defvars into defconsts, and
8936 eval-and-compile them so eval-and-compile works on derivatives.
8937 (xml--entity-replacement-text): Use eval-and-comple.
8938
8939 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8940
8941 * vc/vc-git.el (vc-git-registered): Use cache property
8942 `git-registered'.
8943 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8944 `vc-git-working-revision' in order to benefit from the cache.
8945 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8946
8947 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8948
8949 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8950 removed (likely outside Emacs). (Bug#11757)
8951
8952 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * emacs-lisp/cl-lib.el: Require macroexp.
8955
8956 2012-06-30 Chong Yidong <cyd@gnu.org>
8957
8958 * xml.el: Implement XML parameter entities.
8959 (xml-parameter-entity-alist): New variable.
8960 (xml-parse-region, xml-parse-fragment): Preserve previous values
8961 of xml-entity-alist and xml-parameter-entity-alist, so that
8962 repeated calls on different documents do not change them.
8963 (xml-parse-tag): Fix doctype regexp.
8964 (xml--entity-replacement-text): New function.
8965 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8966 properly requires url retrieval which is unimplemented.
8967 (xml-escape-string): Doc fix.
8968
8969 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8970
8971 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8972
8973 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8974
8975 * fringe.el (fringe-mode): Doc fix.
8976
8977 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8978
8979 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8980 is non-nil.
8981 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8982 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8983
8984 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8985
8986 * calendar/cal-dst.el (calendar-current-time-zone):
8987 Return calendar-current-time-zone-cache if non-nil.
8988
8989 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8990
8991 * progmodes/which-func.el (which-func-format):
8992 Add mouse-face. (Bug#11698)
8993
8994 2012-06-29 Leo Liu <sdl.web@gmail.com>
8995
8996 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8997
8998 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8999
9000 * minibuffer.el (minibuffer-confirm-exit-commands):
9001 Add completion-at-point (bug#11725).
9002
9003 2012-06-29 Glenn Morris <rgm@gnu.org>
9004
9005 * progmodes/f90.el (f90-font-lock-keywords-2):
9006 Add some preprocessor elements. (Bug#10499)
9007
9008 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9009
9010 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9011 Use syntax-propertize (bug#11739).
9012
9013 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9014
9015 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9016
9017 2012-06-28 Julien Danjou <julien@danjou.info>
9018
9019 * term.el (term-handle-colors-array): Use a set of new faces to
9020 color the terminal. Also uses :inverse-video property.
9021 (term-default-fg-color): Set to nil by default, deprecate in favor
9022 of `term-face'.
9023 (term-default-bg-color): Set to nil by default, deprecate in favor
9024 of `term-face'.
9025 (term-current-face): Use `term-face' by default.
9026 (term-bold-attribute): Variable deleted.
9027
9028 2012-06-28 Glenn Morris <rgm@gnu.org>
9029
9030 * simple.el (completion-list-mode-finish):
9031 Don't use toggle-read-only. (Since completion-list-mode has
9032 a special mode-class, it wasn't doing anything extra anyway.)
9033
9034 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9035
9036 Make inlining of other-mode interpreted functions work (bug#11799).
9037 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9038 (byte-compile): Use it to fix compilation of lexical-binding closures.
9039 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9040 function, if needed.
9041
9042 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9043
9044 * help-mode.el (help-make-xrefs): Don't just withstand
9045 cyclic-variable-indirection but any error in documentation-property.
9046
9047 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9048 memory use.
9049 * bindings.el (bindings--define-key): New function.
9050 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9051 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9052 * bindings.el: Use it to purecopy define-key bindings.
9053
9054 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9055
9056 * emacs-lisp/cl.el (flet): Mark obsolete.
9057 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9058 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9059 * progmodes/js.el (js-c-fill-paragraph):
9060 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9061 (ebrowse-switch-member-buffer-to-derived-class):
9062 * play/5x5.el (5x5-solver): Use cl-flet.
9063
9064 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9065 (cl--symbol-function): New macro.
9066 (cl--letf, cl--letf*): Use it.
9067
9068 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9069 Strip "toggle-" if any.
9070
9071 2012-06-27 Glenn Morris <rgm@gnu.org>
9072
9073 * info.el (Info-default-directory-list): Move here from paths.el.
9074 * paths.el: Remove file, which is now empty.
9075 * loadup.el: No longer load "paths".
9076
9077 * custom.el (custom-initialize-delay): Doc fix.
9078
9079 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9080 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9081 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9082 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9083 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9084 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9085 * eshell/eshell.el (eshell-defgroup): Remove alias.
9086
9087 2012-06-27 Chong Yidong <cyd@gnu.org>
9088
9089 * help.el (help-enable-auto-load): New variable.
9090
9091 * help-fns.el (help-fns--autoloaded-p): New function.
9092 (describe-function-1): Refer to a function as "autoloaded" if it
9093 was autoloaded at any time in the past. Perform autoloading if
9094 help-enable-auto-load is non-nil.
9095
9096 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9097
9098 * makefile.w32-in (compile, compile-always): Depend on
9099 update-subdirs, not on subdirs.el. Otherwise, several different
9100 sub-targets of 'bootstrap' running in parallel could
9101 simultaneously write to subdirs.el, producing a garbled file.
9102
9103 2012-06-26 Sam Steingold <sds@gnu.org>
9104
9105 * files.el (file-name-base): New convenience function.
9106 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9107 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9108 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9109 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9110 * textmodes/ispell.el, textmodes/reftex-ref.el:
9111 * textmodes/tex-mode.el: Use it.
9112 Did not touch cedet and org because they are maintained elsewhere.
9113
9114 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9115
9116 * calendar/calendar.el (calendar-exit): Don't try to delete or
9117 iconify last frame. See:
9118 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9119
9120 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9121
9122 * server.el (server-process-filter): Remember dir in the
9123 process's `server-client-directory' properties.
9124
9125 2012-06-24 Chong Yidong <cyd@gnu.org>
9126
9127 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9128 non-tag text.
9129
9130 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9131
9132 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9133
9134 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9135
9136 * help-fns.el (describe-variable): Don't croak when doc is not found.
9137 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9138 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9139 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9140 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9141 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9142 ((lambda ..) ..).
9143 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9144
9145 2012-06-23 Chong Yidong <cyd@gnu.org>
9146
9147 * info.el (Info-mouse-follow-link): Accept symbol values of
9148 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9149 (Info-fontify-node): Use Info-link-keymap for all navigation
9150 buttons, with link-args property to perform the desired action.
9151 (Info-link-keymap): Doc fix.
9152 (Info-next-link-keymap, Info-prev-link-keymap)
9153 (Info-up-link-keymap): Delete now-unused keymaps.
9154
9155 2012-06-23 Chong Yidong <cyd@gnu.org>
9156
9157 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9158
9159 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9160 system abbrevs.
9161
9162 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9163
9164 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9165
9166 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9167 (bug#11719).
9168
9169 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9170 the requote function doesn't work properly (bug#11714).
9171
9172 2012-06-23 Glenn Morris <rgm@gnu.org>
9173
9174 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9175
9176 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9177
9178 Further GV/CL cleanups.
9179 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9180 gv-expander.
9181 (gv--defun-declaration): New function.
9182 (defun-declarations-alist): Use it.
9183 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9184 (gv-place): Autoload.
9185 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9186 original definition of dotimes and dolist.
9187 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9188 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9189 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9190 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9191 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9192 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9193 to the function's definition.
9194 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9195 * window.el:
9196 * files.el:
9197 * faces.el:
9198 * env.el: Don't use CL.
9199
9200 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9201
9202 Support higher-resolution time stamps (Bug#9000).
9203
9204 * calendar/time-date.el (with-decoded-time-value): New arg
9205 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9206 (encode-time-value): New optional arg PICO. New type 3.
9207 (time-to-seconds) [!float-time]: Support the new picoseconds
9208 component if it's used.
9209 (seconds-to-time, time-subtract, time-add):
9210 Support ps-resolution time stamps as well.
9211
9212 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9213 (timerp): Timer vectors now have length 9, not 8.
9214 (timer--time): Support new-style (4-part) time stamps.
9215 (timer-next-integral-multiple-of-time): Time stamps now have
9216 picosecond resolution, so take a bit more care about rounding.
9217 (timer-relative-time, timer-inc-time): New optional arg psecs.
9218 (timer-set-time-with-usecs): Set psecs to 0.
9219 (timer--activate): Check psecs component, too.
9220
9221 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9222
9223 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9224
9225 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9226 Move the non-essential binding to the post/pre-command-hook where it is
9227 more obviously correct.
9228
9229 * subr.el (read-passwd): Don't use a history at all.
9230 * savehist.el (savehist-save): Remove password saved accidentally
9231 because of the above bug.
9232
9233 2012-06-22 Bastien Guerry <bzg@gnu.org>
9234
9235 * files.el (toggle-read-only): Display a message telling whether
9236 the buffer is read-only or not (bug#11726).
9237
9238 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9239
9240 * emacs-lisp/gv.el: New file.
9241 * subr.el (push, pop): Extend to generalized variables.
9242 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9243 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9244 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9245 gv-define-simple-setter, and gv-define-expander.
9246 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9247 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9248 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9249 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9250 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9251 gv-letplace.
9252 (cl-defstruct): Don't define setf-method any more.
9253 * emacs-lisp/cl.el (flet): Don't autoload.
9254 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9255 (define-setf-expander, defsetf, define-modify-macro)
9256 (cl-struct-setf-expander): Move from cl-lib.el.
9257 * emacs-lisp/syntax.el:
9258 * emacs-lisp/ewoc.el:
9259 * emacs-lisp/smie.el:
9260 * emacs-lisp/cconv.el:
9261 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9262 (timer--time): Use gv-define-simple-setter.
9263 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9264 to avoid coding-system problems in subr.el. Adjust all users.
9265 (macroexp--maxsize, macroexp-small-p): New functions.
9266 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9267 * scroll-bar.el (scroll-bar-mode):
9268 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9269 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9270 * winner.el (winner-configuration, winner-make-point-alist)
9271 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9272 * files.el (locate-file-completion-table): Avoid list*.
9273
9274 2012-06-22 Chong Yidong <cyd@gnu.org>
9275
9276 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9277 (dired-create-files): Doc fix (Bug#11329).
9278 (dired-do-copy): Doc fix (Bug#11334).
9279 (dired-mark-read-string): Doc fix (Bug#11553).
9280
9281 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9282 Doc fix (Bug#11326).
9283 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9284 (dired-dwim-target): Doc fix.
9285
9286 * wdired.el (wdired-mode): Doc fix.
9287
9288 2012-06-22 Glenn Morris <rgm@gnu.org>
9289
9290 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9291 (pcmpl-rpm-cache-stamp-file): New constant.
9292 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9293 (pcmpl-rpm-packages): Optionally cache list of packages.
9294
9295 * pcmpl-rpm.el (pcmpl-rpm): New group.
9296 (pcmpl-rpm-query-options): New option.
9297 (pcmpl-rpm-packages): No need to inline it.
9298 Use pcmpl-rpm-query-options.
9299
9300 * calendar/calendar.el (calendar-in-read-only-buffer):
9301 Avoid some needless mode changes.
9302
9303 2012-06-21 Chong Yidong <cyd@gnu.org>
9304
9305 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9306 (desktop-path): Remove . from the default value (Bug#10977).
9307 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9308
9309 2012-06-20 Chong Yidong <cyd@gnu.org>
9310
9311 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9312
9313 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9314
9315 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9316 (bug#11201).
9317
9318 2012-06-20 Chong Yidong <cyd@gnu.org>
9319
9320 * term.el (term-window-width): Handle the case of a missing right
9321 fringe (Bug#8837).
9322 (term-check-size): Use window-text-height (Bug#5445).
9323 (term-mode): Use define-derived-mode. Minor cleanups.
9324 Set font-lock-defaults (Bug#7692).
9325 (term-move-columns, term-insert-char, term-emulate-terminal)
9326 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9327
9328 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9329
9330 * net/ange-ftp.el (ange-ftp-get-passwd):
9331 Bind `enable-recursive-minibuffers'.
9332 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9333
9334 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9335
9336 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9337
9338 2012-06-19 Glenn Morris <rgm@gnu.org>
9339
9340 * progmodes/python.el (python-mode): Derive from prog-mode.
9341
9342 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9343
9344 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9345 (edt-user-menu-bar-update-buffers): New functions.
9346 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9347
9348 2012-06-19 Chong Yidong <cyd@gnu.org>
9349
9350 * subr.el (with-selected-window): Preserve the selected window's
9351 terminal's top-frame (Bug#4702).
9352
9353 * window.el (save-selected-window): Likewise.
9354
9355 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9356
9357 * progmodes/python.el (python-rx-constituents): Move backquote.
9358 (python-skeleton-define, python-define-auxiliary-skeleton):
9359 Use `declare'.
9360
9361 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9362
9363 * minibuffer.el (read-file-name-default): Revert the patch from
9364 2012-06-17.
9365
9366 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9367
9368 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9369 (pcase--u1, pcase--q1): Don't use apply-partially.
9370
9371 2012-06-18 Glenn Morris <rgm@gnu.org>
9372
9373 * progmodes/python.el (python-proc, python-buffer)
9374 (python-send-receive, python-send-string): Fix obsolete versions.
9375
9376 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9377
9378 * window.el (special-display-p): Completely remove stringp
9379 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9380
9381 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9382
9383 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9384
9385 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9386
9387 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9388 * net/tramp-sh.el (tramp-maybe-open-connection):
9389 Throw if `non-essential' is non-nil.
9390
9391 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9392
9393 * window.el (special-display-p): Signal an error if BUFFER-NAME
9394 is not a string (Bug#11713).
9395
9396 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9397
9398 * progmodes/python.el (python-info-beginning-of-backslash):
9399 Rename from python-info-beginning-of-backlash, as a spelling fix.
9400
9401 2012-06-17 Chong Yidong <cyd@gnu.org>
9402
9403 * term.el (term-emulate-terminal): If term-check-size is called,
9404 move point to the process mark without resetting point (Bug#4635).
9405
9406 2012-06-17 Glenn Morris <rgm@gnu.org>
9407
9408 * international/mule-cmds.el (mule-menu-keymap)
9409 (set-language-environment, set-locale-environment): Doc tweaks.
9410
9411 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9412
9413 * cus-face.el (custom-face-attributes): Add wave-style underline
9414 attribute.
9415 * faces.el (set-face-attribute): Update docstring to describe
9416 wave-style underline attribute.
9417
9418 2012-06-16 Chong Yidong <cyd@gnu.org>
9419
9420 * term/xterm.el (terminal-init-xterm): Discard input before
9421 querying background mode (Bug#10959).
9422
9423 2012-06-16 Stefan Merten <smerten@oekonux.de>
9424
9425 * textmodes/rst.el: Added and corrected some comments.
9426 (rst-re-alist-def): Improve symbol syntax.
9427 (rst-mode-syntax-table): Correct syntax entries.
9428 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9429 (rst-official-version, rst-official-cvs-rev): Update version
9430 information.
9431
9432 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9433
9434 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9435 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9436
9437 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9438
9439 * progmodes/python.el: New python.el merge.
9440 (python-guess-indent): Obsolete var.
9441 (python-indent-guess-indent-offset): New defcustom.
9442 (python-indent): Obsolete var.
9443 (python-indent-offset): New defcustom.
9444 (python-python-command, python-jython-command): Delete var.
9445 (python-shell-interpreter): New defcustom.
9446 (python-pdbtrack-do-tracking-p): Delete var.
9447 (python-pdbtrack-activate): New defcustom.
9448 (python-use-skeletons): Obsolete var.
9449 (python-skeleton-autoinsert): New defcustom.
9450 (inferior-python-filter-regexp, python-continuation-offset)
9451 (python-honour-comment-indentation, python-indent-string-contents)
9452 (python-jython-packages, python-mode-hook)
9453 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9454 (python-shell-prompt-alist)
9455 (python-source-modes): Delete defcustoms.
9456 (python-check-buffer-name, python-eldoc-setup-code)
9457 (python-eldoc-string-code, python-ffap-setup-code)
9458 (python-ffap-string-code, python-fill-comment-function)
9459 (python-fill-decorator-function, python-fill-paren-function)
9460 (python-fill-string-function, python-imenu-include-defun-type)
9461 (python-imenu-make-tree, python-imenu-subtree-root-label)
9462 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9463 (python-shell-compilation-regexp-alist)
9464 (python-shell-completion-module-string-code)
9465 (python-shell-completion-pdb-string-code)
9466 (python-shell-completion-setup-code)
9467 (python-shell-completion-string-code)
9468 (python-shell-enable-font-lock, python-shell-exec-path)
9469 (python-shell-extra-pythonpaths)
9470 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9471 (python-shell-process-environment)
9472 (python-shell-prompt-block-regexp)
9473 (python-shell-prompt-output-regexp)
9474 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9475 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9476 (python-shell-virtualenv-path): New defcustoms.
9477 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9478 (inferior-python-mode-syntax-table, python--prompt-regexp)
9479 (python-buffer, python-command python-python-command)
9480 (python-default-template, python-imports, python-indent-index)
9481 (python-indent-list, python-indent-list-length)
9482 (python-mode-running, python-pdbtrack-is-tracking-p)
9483 (python-preoutput-continuation, python-preoutput-leftover)
9484 (python-preoutput-result, python-preoutput-skip-next-prompt)
9485 (python-prev-dir/file, python-recursing)
9486 (python-saved-check-command, python-version-checked)
9487 (python-which-func-length-limit)
9488 (view-return-to-alist): Delete vars.
9489 (python-check-custom-command, python-dotty-syntax-table)
9490 (python-imenu-index-alist, python-indent-current-level)
9491 (python-indent-dedenters, python-indent-levels)
9492 (python-nav-beginning-of-defun-regexp)
9493 (python-nav-list-defun-positions-cache)
9494 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9495 (python-shell-internal-buffer)
9496 (python-skeleton-available): New vars.
9497 (def-python-skeleton): Delete macro.
9498 (python-skeleton-define): New macro.
9499 (python-define-auxiliary-skeleton, python-rx): New macros.
9500 (python-insert-class): Delete command.
9501 (python-skeleton-class): New command.
9502 (python-insert-def): Delete command.
9503 (python-skeleton-def): New command.
9504 (python-insert-for): Delete command.
9505 (python-skeleton-for): New command.
9506 (python-insert-if): Delete command.
9507 (python-skeleton-if): New command.
9508 (python-insert-try/except, python-insert-try/finally): Delete commands.
9509 (python-skeleton-try): New command.
9510 (python-insert-while): Delete command.
9511 (python-skeleton-while): New command.
9512 (python-backspace): Delete command.
9513 (python-indent-dedent-line-backspace): New command.
9514 (python-electric-colon): Delete command.
9515 (python-indent-electric-colon): New command.
9516 (python-guess-indent): Delete command.
9517 (python-indent-guess-indent-offset): New command.
9518 (python-shift-left): Delete command.
9519 (python-indent-shift-left): New command.
9520 (python-shift-right): Delete command.
9521 (python-indent-shift-right): New command.
9522 (python-find-function): Delete command.
9523 (python-nav-jump-to-defun): New command.
9524 (python-next-statement): Delete command.
9525 (python-nav-forward-sentence): New command.
9526 (python-previous-statement): Delete command.
9527 (python-nav-backward-sentence): New command.
9528 (python-fill-paragraph): Delete command.
9529 (python-fill-paragraph-function): New command.
9530 (python-send-buffer): Delete command.
9531 (python-shell-send-buffer): New command.
9532 (python-send-defun): Delete command.
9533 (python-shell-send-defun): New command.
9534 (python-send-region, python-send-region-and-go): Delete commands.
9535 (python-shell-send-region)
9536 (python-shell-switch-to-shell): New commands.
9537 (python-send-string): Delete command.
9538 (python-shell-send-string): New command.
9539 (python-switch-to-python): Delete command.
9540 (python-shell-switch-to-shell): New command.
9541 (python-describe-symbol): Delete command.
9542 (python-eldoc-at-point): New command.
9543 (python--set-prompt-regexp, python-args-to-list)
9544 (python-after-info-look, python-check-version)
9545 (python-check-comint-prompt, python-find-imports)
9546 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9547 (python-unload-function, python-expand-template)
9548 (python-maybe-jython, python-preoutput-filter)
9549 (python-pdbtrack-get-source-buffer)
9550 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9551 (python-pdbtrack-toggle-stack-tracking)
9552 (python-pdbtrack-track-stack-file, python-initial-text)
9553 (python-first-word, python-comment-line-p, python-send-command)
9554 (python-setup-brm, python-sentinel, python-set-proc)
9555 (python-skip-out, python-input-filter, python-outdent-p)
9556 (python-outline-level, python-backslash-continuation-line-p)
9557 (python-end-of-block, python-end-of-statement, python-mark-block)
9558 (python-beginning-of-block, python-beginning-of-statement)
9559 (python-blank-line-p, python-beginning-of-string)
9560 (python-open-block-statement-p): Delete functions.
9561 (python-indent-line, python-indent-line-1): Delete functions.
9562 (python-indent-line): New function.
9563 (python-indentation-levels): Delete function.
9564 (python-indent-calculate-levels): New function.
9565 (python-proc): Delete function.
9566 (python-shell-get-process): New function.
9567 (python-send-receive): Delete function.
9568 (python-shell-send-string-no-output): New function.
9569 (python-module-path): Delete function.
9570 (python-ffap-module-path): New function.
9571 (python-completion-at-point)
9572 (python-symbol-completions): Delete functions.
9573 (python-completion-complete-at-point): New function.
9574 (python-load-file): Delete function.
9575 (python-shell-send-file): New function.
9576 (python-calculate-indentation): Delete function.
9577 (python-indent-calculate-indentation): New function.
9578 (python-skip-comments/blanks): Delete function.
9579 (python-util-forward-comment): New function.
9580 (python-continuation-line-p): Delete function.
9581 (python-info-continuation-line-p): New function.
9582 (python-which-func, python-current-defun): Delete function.
9583 (python-info-current-defun): New function.
9584 (python-beginning-of-defun): Delete function.
9585 (python-nav-beginning-of-defun): New function.
9586 (python-close-block-statement-p)
9587 (python-block-end-p): Delete function.
9588 (python-info-closing-block): New function.
9589 (python-comint-output-filter-function)
9590 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9591 (python-fill-comment, python-fill-decorator, python-fill-paren)
9592 (python-fill-string, python-imenu-make-element-tree)
9593 (python-imenu-make-tree, python-imenu-tree-assoc)
9594 (python-indent-context, python-indent-dedent-line)
9595 (python-indent-line-function)
9596 (python-indent-post-self-insert-function)
9597 (python-indent-toggle-levels)
9598 (python-info-assignment-continuation-line-p)
9599 (python-info-beginning-of-backlash)
9600 (python-info-block-continuation-line-p)
9601 (python-info-closing-block-message)
9602 (python-info-line-ends-backslash-p)
9603 (python-info-looking-at-beginning-of-defun)
9604 (python-info-ppss-context, python-info-ppss-context-type)
9605 (python-nav-list-defun-positions, python-nav-read-defun)
9606 (python-nav-sentence-end, python-nav-sentence-start)
9607 (python-pdbtrack-comint-output-filter-function)
9608 (python-pdbtrack-set-tracked-buffer)
9609 (python-shell-calculate-exec-path)
9610 (python-shell-calculate-process-environment)
9611 (python-shell-completion--do-completion-at-point)
9612 (python-shell-completion--get-completions)
9613 (python-shell-completion-complete-at-point)
9614 (python-shell-completion-complete-or-indent)
9615 (python-shell-get-or-create-process)
9616 (python-shell-get-process-name)
9617 (python-shell-internal-get-or-create-process)
9618 (python-shell-internal-get-process-name)
9619 (python-shell-internal-send-string, python-shell-make-comint)
9620 (python-shell-parse-command, python-shell-send-setup-code)
9621 (python-skeleton-add-menu-items)
9622 (python-util-clone-local-variables, python-util-position)
9623 (run-python-internal, python-indentation-levels)
9624 (python-nav-beginning-of-defun)
9625 (python-completion-complete-at-point): New functions.
9626 (run-python): Change arguments. New API requirements.
9627
9628 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9629
9630 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9631 (bug#11649).
9632
9633 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9634 (macroexp--expand-all): Use it.
9635
9636 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9637 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9638 Use `cl-function' instead.
9639
9640 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9641
9642 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9643 Suggested by Stefan Monnier while discussing bug#11657.
9644
9645 2012-06-14 Sam Steingold <sds@gnu.org>
9646
9647 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9648
9649 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9650
9651 * play/doctor.el (doctor-doc): Remove parameter and use
9652 doctor-sent instead of sent.
9653 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9654
9655 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9656
9657 * files.el: Require cl-lib.
9658 (file-name-non-special): Replace case -> cl-case.
9659
9660 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9661
9662 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9663 mapping from #' to function*.
9664
9665 2012-06-13 Chong Yidong <cyd@gnu.org>
9666
9667 * mouse.el (mouse-drag-track): Do not set the mark if the user
9668 releases the mouse without selecting anything (Bug#11588).
9669
9670 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9671
9672 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9673 as well (bug#11646).
9674
9675 * loadup.el: Count byte-code functions as well.
9676
9677 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9678 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9679
9680 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9681 (bug#11649). Add cl-defun and cl-defmacro.
9682
9683 2012-06-13 Drew Adams <drew.adams@oracle.com>
9684
9685 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9686 Fix last change.
9687
9688 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9689
9690 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9691 Otherwise, it blocks in batch mode.
9692
9693 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9694
9695 * help-mode.el (bookmark-make-record-default): Declare.
9696
9697 2012-06-13 Chong Yidong <cyd@gnu.org>
9698
9699 * emacs-lisp/package.el (list-packages): Compute a list of
9700 packages that are newly-available since the last list-packages
9701 invocation.
9702 (package-menu--new-package-list): New var.
9703 (package-menu--generate, package-menu--print-info)
9704 (package-menu--status-predicate, package-menu-mark-install):
9705 Handle new status label "new".
9706
9707 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9708
9709 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9710 conversion to backquotes.
9711
9712 2012-06-12 Chong Yidong <cyd@gnu.org>
9713
9714 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9715 Rename from gud-inhibit-global-bindings.
9716
9717 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9718
9719 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9720 hook from nxml-glyph-set-hook.
9721
9722 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9723 declaration.
9724
9725 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9726
9727 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9728 Convert to defcustom.
9729
9730 2012-06-12 Drew Adams <drew.adams@oracle.com>
9731
9732 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9733 New functions.
9734 (help-mode): Use them.
9735
9736 2012-06-11 Glenn Morris <rgm@gnu.org>
9737
9738 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9739 Use preprocessor face for directives.
9740 (fortran-directive-re): Doc fix.
9741
9742 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9743
9744 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9745 conversion to backquotes (bug#11652).
9746
9747 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9748 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9749 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9750 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9751 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9752 (cl-ninth, cl-tenth): Mark them as inlinable.
9753 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9754 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9755 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9756 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9757 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9758 (cl-list*, cl-adjoin): Don't put an autoload manually.
9759 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9760 (cl--compiler-macro-list*): Add autoload cookie.
9761 (cl--compiler-macro-cXXr): New function.
9762
9763 * help-fns.el (help-fns--compiler-macro): New function extracted from
9764 describe-function-1; follow aliases and use `compiler-macro' property.
9765 (describe-function-1): Use it.
9766
9767 2012-06-11 Chong Yidong <cyd@gnu.org>
9768
9769 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9770 is uninstalled, if imagemagick is installed.
9771
9772 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9773
9774 * emacs-lisp/cl-lib.el: Use lexical-binding.
9775 (cl-map-extents, cl-maclisp-member): Remove.
9776 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9777 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9778 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9779 * emacs-lisp/cl-extra.el: Use lexical-binding.
9780 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9781 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9782 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9783 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9784 * emacs-lisp/cl-seq.el: Use lexical-binding.
9785 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9786 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9787 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9788 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9789 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9790 CL's internals.
9791
9792 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9793
9794 Sync with Tramp 2.2.6-pre.
9795
9796 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9797 `print-length' and `print-level' to nil, in order to avoid
9798 truncation. Reported by Christopher Schmidt
9799 <christopher@ristopher.com>.
9800
9801 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9802
9803 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9804 New defmacro.
9805 (tramp-compat-copy-directory): Add optional argument
9806 COPY-CONTENTS. It is not handled yet.
9807
9808 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9809 (tramp-ftp-file-name-p): Simplify.
9810
9811 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9812 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9813 connection vector.
9814
9815 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9816 (tramp-methods): Do not use `tramp-password-end-of-line'.
9817 (tramp-completion-function-alist-putty): Handle UNIX case.
9818 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9819 (tramp-do-file-attributes-with-stat)
9820 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9821 gid as real numbers. They could run out of integer range on cygwin.
9822 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9823 (tramp-sh-handle-expand-file-name): Handle hops.
9824 (tramp-open-connection-setup-interactive-shell):
9825 Use `tramp-cleanup'. Move check for busyboxes ...
9826 (tramp-find-shell): ... here. Simplify implementation.
9827 Set "remote-shell" property also for alternative shells.
9828 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9829 If failing, a regular file would be written otherwise.
9830 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9831 (tramp-find-inline-encoding): Cache the coding commands in the
9832 process cache. Apply test command on the remote side, if defined.
9833 (tramp-find-inline-compress): Cache the compress commands in the
9834 process cache.
9835 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9836 when requested. Handle hops.
9837 (tramp-current-connection): New defvar.
9838 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9839 Throw `suppress', if there was a failed connection shortly before.
9840 Handle user interrupt. (Bug#10187)
9841 (tramp-get-inline-compress, tramp-get-inline-coding):
9842 Read connection properties from the process cache.
9843
9844 * net/tramp-smb.el (tramp-smb-server-version)
9845 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9846 New defconsts.
9847 (tramp-smb-prompt): Extend for powershell prompt.
9848 (tramp-smb-file-name-handler-alist): Add handlers for
9849 `process-file', `shell-command' and `start-file-process'.
9850 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9851 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9852 (tramp-smb-file-name-p): Simplify.
9853 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9854 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9855 (tramp-smb-shell-quote-argument): New defuns.
9856 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9857 Implement using "tar". By this, time-stamps are preserved.
9858 (tramp-smb-handle-copy-file): Handle also the case of directories.
9859 (tramp-smb-do-file-attributes-with-stat)
9860 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9861 Use `tramp-get-connection-buffer').
9862 (tramp-smb-handle-rename-file): Use "rename", when source and
9863 target are on the same share.
9864 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9865 Use `tramp-smb-server-version'.
9866 (tramp-smb-wait-for-output): Remove prompt.
9867
9868 * net/tramp.el (top): Require 'cl.
9869 (tramp-methods, tramp-rsh-end-of-line):
9870 Remove `tramp-password-end-of-line' from docstring.
9871 (tramp-save-ad-hoc-proxies): New defcustom.
9872 (tramp-completion-function-alist): Adapt docstring.
9873 (tramp-default-password-end-of-line): Remove defcustom.
9874 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9875 (tramp-user-regexp, tramp-file-name-regexp-unified)
9876 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9877 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9878 (tramp-remote-file-name-spec-regexp): New defconst.
9879 (tramp-file-name-structure): Extend structure for hops.
9880 (tramp-get-method-parameter): Move up.
9881 (tramp-file-name-p, tramp-dissect-file-name)
9882 (with-parsed-tramp-file-name): Handle hops.
9883 (tramp-file-name-hop): New defun.
9884 (tramp-make-tramp-file-name): New optional arg HOP.
9885 (tramp-message-show-progress-reporter-message): New defvar.
9886 (tramp-with-progress-reporter): Use it. We cannot use
9887 `tramp-message-show-message' here, because this suppresses also
9888 error buffers.
9889 (tramp-error-with-buffer): Suppress buffer view, if
9890 `tramp-message-show-message' is nil.
9891 Use `tramp-get-connection-buffer'.
9892 (tramp-cleanup): New defun.
9893 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9894 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9895 an error unchanged.
9896 (tramp-completion-handle-file-name-all-completions): Handle hops.
9897 Fix an error when called from ido.
9898 (tramp-completion-dissect-file-name): Use better local variable
9899 name. Add hop to the vector.
9900 (tramp-handle-insert-file-contents): Use progress-reporter for the
9901 whole scenario.
9902 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9903 to `t'.
9904 (tramp-check-for-regexp): Simplify search.
9905 (tramp-enter-password): Remove it. Move implementation ...
9906 (tramp-action-password): ... here.
9907 (tramp-mode-string-to-int, tramp-local-host-p)
9908 (tramp-make-tramp-temp-file, tramp-read-passwd)
9909 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9910 Set tramp-autoload cookie.
9911
9912 * net/trampver.el: Update release number.
9913
9914 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9915 Michael Albinus <michael.albinus@gmx.de>
9916
9917 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9918 (tramp-parse-group, tramp-parse-file)
9919 (tramp-parse-shostkeys-sknownhosts): New defuns.
9920 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9921 (tramp-parse-shosts-group, tramp-parse-sconfig)
9922 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9923 (tramp-parse-sknownhosts, tramp-parse-hosts)
9924 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9925 Use them.
9926 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9927 (tramp-parse-putty-group): Don't narrow.
9928 (tramp-parse-putty): Make a loop.
9929 (tramp-file-name-handler): Catch the `suppress' signal.
9930
9931 2012-06-11 Chong Yidong <cyd@gnu.org>
9932
9933 * image.el (imagemagick-register-types): Put the ImageMagick entry
9934 at the end of image-type-file-name-regexps.
9935
9936 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9937
9938 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9939 (pcase, pcase-let*, pcase-dolist): Use them.
9940
9941 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9942
9943 * emacs-lisp/pcase.el (pcase--let*): New function.
9944 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9945 (pcase--expand): Use macroexp-let².
9946
9947 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9948
9949 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9950 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9951 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9952 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9953 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9954 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9955
9956 2012-06-10 Glenn Morris <rgm@gnu.org>
9957
9958 * mail/rmail.el (rmail-yank-current-message): Leave point at
9959 correct position. (Bug#11660)
9960
9961 2012-06-10 Chong Yidong <cyd@gnu.org>
9962
9963 * allout-widgets.el: Fix code header.
9964
9965 2012-06-10 Chong Yidong <cyd@gnu.org>
9966
9967 * cus-edit.el (customize-changed-options-previous-release):
9968 Bump to 24.1.
9969
9970 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9971
9972 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9973
9974 2012-06-09 Chong Yidong <cyd@gnu.org>
9975
9976 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9977
9978 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9979
9980 * window.el (special-display-popup-frame): Don't use
9981 window--display-buffer (Bug#11651).
9982
9983 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9984
9985 Fix parallel builds: make sure loaddefs.el is not being written
9986 while Lisp files are compiled.
9987 (compile): Don't depend on 'mh-autoloads'.
9988 (compile-CMD, compile-SH): Depend on 'autoloads'.
9989 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9990
9991 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9992
9993 2012-06-09 Chong Yidong <cyd@gnu.org>
9994
9995 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9996 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9997 Doc fixes (Bug#11225).
9998
9999 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10000
10001 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10002 a function if there's a clear indication that it has a compiler-macro.
10003 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10004 (macro-declarations-alist): Add arglist to declaration functions.
10005 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10006 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10007 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10008 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10009 Also add autoload to find the compiler macro.
10010 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10011 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10012 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10013 (cl--compiler-macro-get): New functions, replacing calls to
10014 cl-define-compiler-macro.
10015 (cl-typep) [compiler-macro]: Use macroexp-let².
10016
10017 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10018
10019 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10020 string properly, fixes Bug#11473.
10021
10022 2012-06-08 Chong Yidong <cyd@gnu.org>
10023
10024 * faces.el (set-face-attribute): Doc fix.
10025 (modify-face): Don't use :bold and :italic.
10026 (error, warning, success): Tweak definitions.
10027
10028 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10029 (custom-modified, custom-set, custom-changed, custom-themed)
10030 (custom-saved, custom-button, custom-button-mouse)
10031 (custom-button-pressed, custom-state, custom-comment-tag)
10032 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10033 (custom-group-subtitle): Use new-style face specs.
10034 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10035 (custom-set-face, custom-changed-face, custom-saved-face)
10036 (custom-button-face, custom-button-pressed-face)
10037 (custom-documentation-face, custom-state-face)
10038 (custom-comment-face, custom-comment-tag-face)
10039 (custom-variable-tag-face, custom-variable-button-face)
10040 (custom-face-tag-face, custom-group-tag-face-1)
10041 (custom-group-tag-face): Remove obsolete face alias.
10042
10043 * epa.el (epa-validity-high, epa-validity-medium)
10044 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10045 (epa-field-name, epa-field-body):
10046 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10047 (font-lock-keyword-face, font-lock-builtin-face)
10048 (font-lock-function-name-face, font-lock-variable-name-face)
10049 (font-lock-type-face, font-lock-constant-face):
10050 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10051 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10052 * speedbar.el (speedbar-button-face, speedbar-file-face)
10053 (speedbar-directory-face, speedbar-tag-face)
10054 (speedbar-selected-face, speedbar-highlight-face)
10055 (speedbar-separator-face):
10056 * whitespace.el (whitespace-newline, whitespace-space)
10057 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10058 (whitespace-line, whitespace-space-before-tab)
10059 (whitespace-space-after-tab, whitespace-indentation)
10060 (whitespace-empty):
10061 * emulation/cua-base.el (cua-global-mark):
10062 * eshell/em-prompt.el (eshell-prompt):
10063 * net/newst-plainview.el (newsticker-new-item-face)
10064 (newsticker-old-item-face, newsticker-immortal-item-face)
10065 (newsticker-obsolete-item-face, newsticker-date-face)
10066 (newsticker-statistics-face, newsticker-default-face):
10067 * net/newst-reader.el (newsticker-feed-face)
10068 (newsticker-extra-face, newsticker-enclosure-face):
10069 * net/newst-treeview.el (newsticker-treeview-face)
10070 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10071 (newsticker-treeview-immortal-face)
10072 (newsticker-treeview-obsolete-face)
10073 (newsticker-treeview-selection-face):
10074 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10075 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10076 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10077 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10078 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10079 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10080 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10081 (mpuz-text):
10082 * progmodes/vera-mode.el (vera-font-lock-number)
10083 (vera-font-lock-function, vera-font-lock-interface):
10084 * textmodes/table.el (table-cell): Use new-style face specs, and
10085 don't use the old :bold and :italic attributes.
10086
10087 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10088 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10089 (ebrowse-member-class, ebrowse-progress): Likewise.
10090 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10091 (ebrowse-file-name-face, ebrowse-default-face)
10092 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10093 (ebrowse-progress-face): Remove obsolete faces.
10094
10095 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10096 Inherit from error and warning faces respectively.
10097
10098 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10099 Likewise.
10100 (flyspell-incorrect-face, flyspell-duplicate-face):
10101 Remove obsolete aliases.
10102
10103 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10104
10105 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10106 Avoid infloop.
10107
10108 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10109
10110 * startup.el (argv, argi): Make lexically scoped.
10111 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10112 * emacs-lisp/cl-macs.el: Use lexical-binding.
10113 Rename cl-bind-* to cl--bind-*.
10114 * files.el: Don't require `cl' since it doesn't use it.
10115 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10116
10117 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10118
10119 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10120 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10121 instead of calling external sort utility.
10122 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10123
10124 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10125
10126 * descr-text.el (describe-char): Mention how to insert the
10127 character, if the current input method doesn't support it.
10128 See the discussion in this thread for the details:
10129 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10130
10131 2012-06-08 Sam Steingold <sds@gnu.org>
10132
10133 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10134 XF86Back to previous-buffer.
10135 (minibuffer-local-map): Bind them to next-history-element and
10136 previous-history-element respectively.
10137 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10138 help-go-back respectively.
10139 * info.el (Info-mode-map): Bind them to Info-history-forward and
10140 Info-history-back respectively.
10141 These are the keys next to Up on the ThinkPad keyboard.
10142
10143 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10144
10145 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10146 * emacs-lisp/cl-macs.el: Provide itself.
10147 (cl--labels-convert-cache): New var.
10148 (cl--labels-convert): New function.
10149 (cl-flet, cl-labels): New implementation with new semantics, relying on
10150 lexical-binding.
10151 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10152 (cl-closure-vars, cl--function-convert-cache)
10153 (cl--function-convert): Move from cl-macs.el.
10154 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10155 rename by removing the "cl-" prefix.
10156 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10157
10158 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10159
10160 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10161 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10162 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10163 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10164 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10165 (cl-hash-table-count): Add old compatibility aliases.
10166
10167 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10168 Use macroexpand-all-environment instead.
10169 (cl--old-macroexpand): New var.
10170 (cl--sm-macroexpand): New function.
10171 (cl-symbol-macrolet): Use it during macro expansion.
10172 (cl--function-convert-cache): New var.
10173 (cl--function-convert): New function, extracted from
10174 cl-macroexpand-all.
10175 (cl-lexical-let): Use it.
10176
10177 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10178 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10179 (cl-member): Remove old alias.
10180
10181 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10182 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10183 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10184 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10185 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10186 (cl-macroexpand-cmacs): Remove var.
10187 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10188 Use macroexpand-all instead.
10189
10190 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10191
10192 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10193 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10194 (macroexp-copyable-p): New functions and macros.
10195 * emacs-lisp/edebug.el (edebug-unwrap):
10196 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10197 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10198 (pcase--let*): Remove.
10199 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10200 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10201 macroexp-const-p instead.
10202 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10203
10204 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10205 instead of "cl-" for internal definitions. Use macroexp-const-p.
10206 (cl-old-bc-file-form): Remove var.
10207 (cl-const-exprs-p): Remove fun.
10208 (cl-labels, cl-macrolet): Use backquote.
10209 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10210 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10211 (cl-define-setf-expander): Rename from cl-define-setf-method.
10212 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10213
10214 * international/mule-cmds.el: Don't require CL.
10215 (view-hello-file): Don't use `letf'.
10216
10217 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10218
10219 * tmm.el (tmm-prompt): Use string-prefix-p.
10220 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10221 (tmm-add-prompt): Use minibuffer-completion-help.
10222 (tmm-delete-map): Remove.
10223
10224 * subr.el (kbd): Make it its own function.
10225
10226 2012-06-07 Stefan Merten <smerten@oekonux.de>
10227
10228 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10229 Silence compiler warnings. Fix versions.
10230 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10231 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10232 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10233 (rst-package-emacs-version-alist): Correct Emacs version to
10234 represent major merge with upstream.
10235 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10236
10237 2012-06-06 Glenn Morris <rgm@gnu.org>
10238
10239 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10240 Only print environment variables if set.
10241
10242 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10243
10244 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10245 (macroexp--cons): Rename from maybe-cons.
10246 (macroexp--accumulate): Rename from macroexp-accumulate.
10247 (macroexp--all-forms): Rename from macroexpand-all-forms.
10248 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10249 (macroexp--expand-all): Rename from macroexpand-all-1.
10250
10251 2012-06-06 Sam Steingold <sds@gnu.org>
10252
10253 * calendar/calendar.el (calendar-in-read-only-buffer):
10254 Call `special-mode' to enable the standard read-only keybindings.
10255
10256 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10257
10258 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10259 with "loading" messages (bug#11635).
10260
10261 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10262
10263 * files.el (enable-remote-dir-locals): New option.
10264 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10265
10266 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10267 Ensure, that the temp directory is local.
10268
10269 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10270 `temporary-file-directory'.
10271
10272 * progmodes/python.el (python-send-region): Ensure, that the
10273 temporary file is created also in the remote case.
10274
10275 2012-06-06 Glenn Morris <rgm@gnu.org>
10276
10277 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10278 (vc-rcs-update-changelog): Use it.
10279
10280 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10281
10282 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10283 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10284 (vc-sccs-diff): Replace use of the external vcdiff script.
10285
10286 2012-06-05 Glenn Morris <rgm@gnu.org>
10287
10288 * ledit.el: Move to obsolete/.
10289
10290 2012-06-05 Sam Steingold <sds@gnu.org>
10291
10292 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10293 patch (Bug#11140).
10294
10295 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10296
10297 * emacs-lisp/cust-print.el: Move to obsolete.
10298
10299 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10300 compiler-macro expansion.
10301
10302 Add native compiler-macro support.
10303 * emacs-lisp/macroexp.el (macroexpand-all-1):
10304 Support compiler-macros directly. Properly follow aliases and apply
10305 the compiler macros more thoroughly.
10306 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10307 macroexpand now properly follows aliases.
10308 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10309 (cl-compiler-macroexpand): Use new prop.
10310 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10311
10312 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10313
10314 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10315
10316 * window.el (get-lru-window, get-mru-window, get-largest-window):
10317 New argument NOT-SELECTED to avoid picking the selected window.
10318 (window--display-buffer-1, window--display-buffer-2): Replace by
10319 new function window--display-buffer
10320 (display-buffer-same-window, display-buffer-reuse-window)
10321 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10322 Use window--display-buffer.
10323 (display-buffer-use-some-window): Remove temporary dedication
10324 hack by calling get-lru-window and get-largest-window with
10325 NOT-SELECTED argument non-nil. Call window--display-buffer.
10326
10327 2012-06-05 Glenn Morris <rgm@gnu.org>
10328
10329 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10330 Replace external vcdiff script.
10331
10332 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10333
10334 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10335
10336 2012-06-04 Chong Yidong <cyd@gnu.org>
10337
10338 * image.el (imagemagick-types-inhibit): Revert last change.
10339 Add INFO and M.
10340 (imagemagick-enabled-types): Remove CIN and EPS*.
10341
10342 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10343
10344 * emacs-lisp/cl-lib.el: Rename from cl.el.
10345 * emacs-lisp/cl.el: New compatibility file.
10346 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10347 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10348 to obey the "cl-" prefix.
10349 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10350
10351 2012-06-03 Glenn Morris <rgm@gnu.org>
10352
10353 * emacs-lisp/authors.el (authors-aliases): Addition.
10354
10355 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10356 Fix :version.
10357
10358 2012-06-03 Stefan Merten <smerten@oekonux.de>
10359
10360 * textmodes/rst.el: Add comments.
10361 (rst-transition, rst-adornment): New faces.
10362 (rst-adornment-faces-alist): Make default safe to reevaluate.
10363 Fixes
10364 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10365 Improve customization tags.
10366 (rst-define-level-faces): Clarify meaning.
10367
10368 2012-06-03 Chong Yidong <cyd@gnu.org>
10369
10370 * progmodes/compile.el (compilation-mode-line-fail)
10371 (compilation-mode-line-run, compilation-mode-line-exit):
10372 New faces.
10373 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10374
10375 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10376
10377 * progmodes/which-func.el (which-func-update-ediff-windows):
10378 New function. Use it in ediff-select-hook (Bug#11478).
10379
10380 2012-06-03 Chong Yidong <cyd@gnu.org>
10381
10382 * bindings.el: Remove explicit help text from format-mode-line.
10383 It is now supplied by mode-line-default-help-echo.
10384 (mode-line-front-space, mode-line-end-spaces)
10385 (mode-line-misc-info): New variables.
10386 (mode-line-modes, mode-line-position): Move the default value to
10387 the variable definition.
10388 (mode-line-default-help-echo): New defcustom.
10389 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10390 (mode-line-modified-help-echo): New functions.
10391 (mode-line-mule-info, mode-line-modified): Use them.
10392 (mode-line-eol-desc, propertized-buffer-identification):
10393 Consistency fixes for help text.
10394 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10395 set-buffer-file-coding-system (Bug#289).
10396 (mode-line-mule-info-help-echo): Update help text.
10397
10398 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * simple.el (execute-extended-command): Set real-this-command
10401 (bug#11506).
10402
10403 2012-06-02 Chong Yidong <cyd@gnu.org>
10404
10405 Remove incorrect uses of "modeline" in comments, docstrings, and
10406 function/variable names (Bug#10329).
10407
10408 * cus-edit.el (mode-line):
10409 * dframe.el (dframe-mouse-hscroll):
10410 * emacs-lisp/re-builder.el:
10411 * emacs-lisp/easy-mmode.el (define-minor-mode):
10412 * frame.el (set-frame-name):
10413 * help.el (lookup-minor-mode-from-indicator):
10414 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10415 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10416 (c-toggle-hungry-state):
10417 * progmodes/antlr-mode.el (antlr-language-alist):
10418 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10419 * progmodes/vhdl-mode.el (vhdl-mode):
10420 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10421 * term/ns-win.el (ns-face-at-pos):
10422 * term/sup-mouse.el (sup-mouse-report):
10423 * textmodes/flyspell.el (flyspell-mode-line-string):
10424 * textmodes/ispell.el (ispell-highlight-face):
10425 * textmodes/reftex-global.el:
10426 * vc/vc-arch.el (vc-arch-mode-line-string):
10427 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10428 * vc/vc-git.el (vc-git-mode-line-string):
10429 * vc/vc-hooks.el (vc-display-status)
10430 (vc-default-mode-line-string):
10431 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10432
10433 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10434
10435 * dired.el (dired-sort-set-mode-line): Rename from
10436 dired-sort-set-modeline. All callers changed.
10437
10438 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10439 eshell-status-in-modeline.
10440
10441 * foldout.el (foldout-mode-line-string): Rename from
10442 foldout-modeline-string. All callers changed.
10443 (foldout-update-mode-line): Rename from foldout-update-modeline.
10444
10445 * subr.el (redraw-modeline): Make into obsolete alias.
10446
10447 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10448 timeclock-modeline-display. Make old name an alias.
10449 (timeclock-update-mode-line): Likewise. All callers changed.
10450 (timeclock-mode-line-display): No need to check before using
10451 add-hook.
10452 (timeclock-relative, timeclock-day-over-hook)
10453 (timeclock-use-elapsed, timeclock-mode-string)
10454 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10455
10456 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10457 crisp-mode-modeline-string.
10458
10459 * play/solitaire.el (solitaire-build-mode-line): Rename from
10460 solitaire-build-modeline. All callers changed.
10461
10462 * play/zone.el (zone-hiding-mode-line): Rename from
10463 zone-hiding-modeline. All callers changed.
10464 (zone): Remove unusued `modeline-hidden-level' property.
10465
10466 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10467 xscheme-modeline-initialize. All callers changed.
10468
10469 * strokes.el (strokes-lighter): Rename from
10470 strokes-modeline-string.
10471
10472 * textmodes/sgml-mode.el (html-face-tag-alist)
10473 (html-tag-face-alist): Use mode-line face instead of obsolete
10474 alias modeline.
10475
10476 2012-06-02 Stefan Merten <smerten@oekonux.de>
10477
10478 * textmodes/rst.el: Always require `cl'.
10479 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10480
10481 2012-06-02 Chong Yidong <cyd@gnu.org>
10482
10483 * image.el (imagemagick-enabled-types): Rename from
10484 imagemagick-types-enable. Add many more types.
10485 (imagemagick-types-inhibit): Change default to nil.
10486 (imagemagick-filter-types): Caller changed.
10487
10488 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10489
10490 * emacs-lisp/cl-macs.el: Use backquotes.
10491 (cl-transform-function-property): Use eval-and-compile rather than
10492 abusing `require'.
10493 (defstruct): Use declare-function instead of with-no-warnings.
10494
10495 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10496 (byte-compile-output-docform): Re-add the print-circle bindings.
10497 (byte-compile-fix-header): Use #$ just because it's shorter.
10498 (byte-compile-output-file-form): Remove defun/defmacro.
10499
10500 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10501
10502 * simple.el (choose-completion): Remove now obsolete binding for
10503 owindow.
10504
10505 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10506
10507 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10508 in order to avoid "Stack overflow in regexp matcher".
10509
10510 2012-05-31 Glenn Morris <rgm@gnu.org>
10511
10512 * image.el: For clarity, call imagemagick-register-types at
10513 top-level, rather than relying on a custom :initialize.
10514 (imagemagick-types-enable): New option. (Bug#11557)
10515 (imagemagick-filter-types): New function. (Bug#7406)
10516 (imagemagick-register-types): Use imagemagick-filter-types.
10517 If disabling support, remove elements altogether rather
10518 than using an impossible regexp.
10519 (imagemagick-types-inhibit): Give it the default init function.
10520
10521 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10522
10523 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10524 Handle arbitrary file name lengths (Bug#11585).
10525
10526 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10527
10528 * desktop.el (desktop-read): Clear previous and next buffers for
10529 all windows and bury *Messages* buffer (bug#11556).
10530
10531 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10532
10533 Add `declare' for `defun'. Align `defmacro's with it.
10534 * emacs-lisp/easy-mmode.el (define-minor-mode)
10535 (define-globalized-minor-mode): Don't autoload the var definitions.
10536 * emacs-lisp/byte-run.el: Use lexical-binding.
10537 (defun-declarations-alist, macro-declarations-alist): New vars.
10538 (defmacro, defun): Use them.
10539 (make-obsolete, define-obsolete-function-alias)
10540 (make-obsolete-variable, define-obsolete-variable-alias):
10541 Use `declare'.
10542 (macro-declaration-function): Mark obsolete.
10543 * emacs-lisp/autoload.el: Use lexical-binding.
10544 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10545
10546 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10547
10548 * textmodes/ispell.el (ispell-with-no-warnings):
10549 Define as a macro.
10550 (ispell-kill-ispell, ispell-change-dictionary):
10551 Use `called-interactively-p' for Emacs instead of obsolete
10552 `interactive-p'.
10553
10554 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10557 (macro-declaration-function): Move var from C code.
10558 (macro-declaration-function): Define function with defalias.
10559 * emacs-lisp/macroexp.el (macroexpand-all-1):
10560 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10561 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10562 defun/defmacro any more.
10563 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10564 Provide fallback for unknown arglist.
10565 (byte-compile-arglist-warn): Change calling convention.
10566 (byte-compile-output-file-form): Move print-vars binding.
10567 (byte-compile-output-docform): Simplify accordingly.
10568 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10569 (byte-compile-defmacro-declaration): Remove.
10570 (byte-compile-file-form-defmumble): Generalize to defalias.
10571 (byte-compile-output-as-comment): Return byte-positions.
10572 Simplify callers accordingly.
10573 (byte-compile-lambda): Use `assert'.
10574 (byte-compile-defun, byte-compile-defmacro): Remove.
10575 (byte-compile-file-form-defalias):
10576 Use byte-compile-file-form-defmumble.
10577 (byte-compile-defalias-warn): Remove.
10578
10579 2012-05-29 Stefan Merten <smerten@oekonux.de>
10580
10581 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10582 possible. Fix authors. Improve comments. Improve loading of `cl'.
10583
10584 (rst-mode-abbrev-table): Merge definition.
10585 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10586 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10587
10588 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10589
10590 * calendar/icalendar.el
10591 (icalendar-export-region): Export UID properly.
10592
10593 2012-05-29 Leo Liu <sdl.web@gmail.com>
10594 * calendar/icalendar.el (icalendar-import-format):
10595 Add `icalendar-import-format-uid' (Bug#11525).
10596 (icalendar-import-format-uid): New.
10597 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10598 Export UID.
10599
10600 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10601
10602 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10603 different alternative patterns.
10604 (pcase-codegen): Be more careful to preserve identity.
10605 (pcase--u1): Don't forget to mark vars as used.
10606
10607 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10608 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10609 (byte-compile-from-buffer): ...rather than here.
10610
10611 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10612 functions from byte-compile-function-environment.
10613
10614 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10615
10616 * window.el (window-deletable-p): Avoid deleting the root window
10617 of a frame with an active minibuffer.
10618
10619 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10620
10621 * simple.el (choose-completion): Use quit-window (Bug#11567).
10622
10623 2012-05-29 Chong Yidong <cyd@gnu.org>
10624
10625 * whitespace.el (whitespace-cleanup): Fix usage of
10626 whitespace-empty-at-bob-regexp (Bug#11492).
10627
10628 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10629
10630 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10631 revert (Bug#11488).
10632
10633 2012-05-29 Juri Linkov <juri@jurta.org>
10634
10635 * isearch.el (isearch-mode-map): Bind `M-s _' to
10636 `isearch-toggle-symbol'. Bind `M-s c' to
10637 `isearch-toggle-case-fold'.
10638 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10639 (isearch-forward): Add `M-s _' to the docstring.
10640 (isearch-forward-symbol, isearch-toggle-case-fold)
10641 (isearch-symbol-regexp): New functions. (Bug#11381)
10642
10643 2012-05-29 Juri Linkov <juri@jurta.org>
10644
10645 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10646 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10647 a function, call it to get the regexp.
10648 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10649 property `isearch-message-prefix' instead of the string "word ".
10650 (isearch-search-fun-default): For the case of `isearch-word',
10651 return a lambda that calls re-search-forward/re-search-backward
10652 with a regexp returned by `word-search-regexp' or by the function
10653 in `isearch-word'.
10654
10655 2012-05-29 Juri Linkov <juri@jurta.org>
10656
10657 * isearch.el (isearch-search-fun-default): New function.
10658 (isearch-search-fun): Move default part to the new function
10659 `isearch-search-fun-default'.
10660 (isearch-search-fun-function): Set the default value to
10661 `isearch-search-fun-default'. (Bug#11381)
10662
10663 * comint.el (comint-history-isearch-end):
10664 Use `isearch-search-fun-default'.
10665 (comint-history-isearch-search): Use `isearch-search-fun-default'
10666 and remove spacial case for `isearch-word'.
10667 (comint-history-isearch-wrap): Remove spacial case for
10668 `isearch-word'.
10669
10670 * hexl.el (hexl-isearch-search-function):
10671 Use `isearch-search-fun-default'.
10672
10673 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10674 Use `word-search-regexp' for `isearch-word'.
10675
10676 * misearch.el (multi-isearch-search-fun):
10677 Use `isearch-search-fun-default'.
10678
10679 * simple.el (minibuffer-history-isearch-search):
10680 Use `isearch-search-fun-default' and remove spacial case for
10681 `isearch-word'.
10682 (minibuffer-history-isearch-wrap): Remove spacial case for
10683 `isearch-word'.
10684
10685 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10686 Remove spacial case for `isearch-word'.
10687 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10688
10689 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10690
10691 Decrease XEmacs incompatibilities.
10692 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10693 Use `string-match'.
10694 (flyspell-delete-region-overlays): Use alternative definition for
10695 XEmacs.
10696 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10697 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10698 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10699 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10700 `define-obsolete-face-alias' under XEmacs, but old method.
10701
10702 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10703 `with-no-warnings' definition or Emacs alias.
10704 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10705 (ispell-word): Do not use `region-p' if XEmacs.
10706
10707 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10708
10709 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10710 Check for `ispell-dictionary-base-alist' instead of full
10711 `ispell-dictionary-alist'.
10712 (ispell-init-process): Show spellchecker when starting new Ispell
10713 process.
10714
10715 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10716
10717 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10718 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10719
10720 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10721
10722 * version.el (motif-version-string, gtk-version-string)
10723 (ns-version-string): Declare.
10724
10725 2012-05-27 Juri Linkov <juri@jurta.org>
10726
10727 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10728 after the `eval-defun-1' specialcaseing
10729 like in `edebug-eval-defun' (bug#10181).
10730
10731 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10732 like in `eval-defun-1'.
10733
10734 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10735
10736 * mail/sendmail.el (mail-yank-region):
10737 Recognize rmail-yank-current-message in addition to insert-buffer.
10738 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10739 a *mail* buffer created through rmail-start-mail with sendmail as
10740 mail-user-agent.
10741
10742 2012-05-27 Chong Yidong <cyd@gnu.org>
10743
10744 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10745 Default to 256 (Bug#11267).
10746
10747 * help.el (describe-mode): Doc fix.
10748
10749 2012-05-26 Glenn Morris <rgm@gnu.org>
10750
10751 * w32-fns.el (w32-init-info): Remove.
10752 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10753
10754 * info.el (info-initialize): For self-contained NS builds, put the
10755 included info/ directory at the front. (Bug#2791)
10756
10757 * paths.el (Info-default-directory-list): Make it a defcustom,
10758 mainly so that we can use custom-initialize-delay.
10759
10760 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10761
10762 * subr.el (buffer-has-markers-at): Mark obsolete.
10763
10764 * subr.el (lambda): Use declare.
10765
10766 * emacs-lisp/lisp-mode.el (lambda):
10767 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10768
10769 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10770
10771 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10772
10773 2012-05-26 Glenn Morris <rgm@gnu.org>
10774
10775 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10776
10777 2012-05-25 Glenn Morris <rgm@gnu.org>
10778
10779 * paths.el: Remove no-byte-compile.
10780 * loadup.el: No need to load paths.el uncompiled.
10781
10782 * image.el (imagemagick-types-inhibit): Doc fix.
10783
10784 * version.el: Remove no-byte-compile and associated formatting.
10785 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10786 is ancient code from when there was an "inc-vers.el".
10787
10788 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10789
10790 * progmodes/gdb-mi.el: Minor style changes.
10791 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10792 Turn into minor modes.
10793 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10794 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10795 (gdb-shell): Remove unneeded let-binding.
10796 (gdb-get-many-fields): Eliminate O(n²) behavior.
10797
10798 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10799
10800 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10801 platforms that don't link in fontset.c.
10802
10803 2012-05-25 Juri Linkov <juri@jurta.org>
10804
10805 Use the same diff color scheme as in modern VCSes (bug#10181).
10806
10807 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10808 to avoid confusion with `diff-added' that now uses green colors.
10809 (diff-removed): Use shades of red.
10810 (diff-added): Use shades of green.
10811 (diff-changed): Leave just the yellow color.
10812 (diff-use-changed-face): New variable.
10813 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10814 how to highlight context diff changes.
10815 (diff-refine-change): Use shades of yellow.
10816 (diff-refine-removed): New face that uses shades of red.
10817 (diff-refine-added): New face that uses shades of green.
10818 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10819 `diff-refine-removed' in the call to `smerge-refine-subst'
10820 depending on the value of `diff-use-changed-face'.
10821
10822 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10823 (smerge-other): Use shades of green.
10824 (smerge-base): Use shades of yellow.
10825 (smerge-refined-change): Empty face.
10826 (smerge-refined-removed): New face that uses shades of red.
10827 (smerge-refined-added): New face that uses shades of green.
10828 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10829 args `props-r' and `props-a', and use them. Doc fix.
10830 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10831 on its value use different faces `smerge-refined-change',
10832 `smerge-refined-removed', `smerge-refined-added' in the call to
10833 `smerge-refine-subst'.
10834
10835 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10836 Add face condition `min-colors 88' with shades of red.
10837 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10838 `min-colors 88' with shades of green.
10839 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10840 `min-colors 88' with shades of yellow.
10841
10842 2012-05-24 Glenn Morris <rgm@gnu.org>
10843
10844 * paths.el (prune-directory-list, remote-shell-program): Move to...
10845 * files.el (prune-directory-list, remote-shell-program): ...here.
10846 For the latter, delay initialization, prefer ssh, just search PATH.
10847
10848 * paths.el (term-file-prefix): Move to faces.el (the only user).
10849 * faces.el (term-file-prefix): Move here, make it a defcustom.
10850
10851 * paths.el (news-directory, news-path, news-inews-program):
10852 Move to gnus/nnspool.el.
10853
10854 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10855
10856 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10857 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10858 Make the latter a defcustom, with a delayed initialization.
10859
10860 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10861 These were deleted from Gnus itself late 2010.
10862
10863 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10864
10865 * progmodes/which-func.el (which-func-ff-hook):
10866 Check against user-error, not error.
10867
10868 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10869 cl-specs.el, which no longer exists.
10870
10871 2012-05-22 Glenn Morris <rgm@gnu.org>
10872
10873 * info.el (info-emacs-bug): New command.
10874 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10875 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10876
10877 2012-05-21 Glenn Morris <rgm@gnu.org>
10878
10879 * makefile.w32-in (update-subdirs-SH):
10880 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10881
10882 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10883
10884 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10885
10886 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10887 Simplify Maven regexp, and make sure the file can't start with a space
10888 (bug#11517).
10889
10890 2012-05-21 Glenn Morris <rgm@gnu.org>
10891
10892 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10893 Scrap superfluous subshells.
10894
10895 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10896
10897 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10898 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10899
10900 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10901
10902 * calc/calc.el (calc-ensure-consistent-units): New variable.
10903
10904 * calc/calc-units.el (math-consistent-units-p)
10905 (math-check-unit-consistency): New functions.
10906 (calc-quick-units, calc-convert-units):
10907 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10908 is non-nil.
10909 (calc-extract-units): Fix typo.
10910
10911 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10912
10913 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10914
10915 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10916 (flyspell-default-deplacement-commands): Don't spell check after
10917 repeated window/frame switches (e.g. triggered by mouse-movement).
10918 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10919 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10920 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10921 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10922 Remove unused vars.
10923 (flyspell-get-casechars, flyspell-get-not-casechars):
10924 Simplify; Don't bother removing a ] just to add it back.
10925 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10926
10927 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10928
10929 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10930 New functions.
10931 (math-function-table): Add support for more C functions.
10932
10933 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10934
10935 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10936 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10937 Protect delay handling for otherchars against empty otherchars.
10938
10939 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10940
10941 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10942 their respective macro declarations.
10943 * skeleton.el (define-skeleton):
10944 * progmodes/compile.el (define-compilation-mode):
10945 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10946 (define-ibuffer-filter):
10947 * emacs-lisp/generic.el (define-generic-mode):
10948 * emacs-lisp/easy-mmode.el (define-minor-mode)
10949 (define-globalized-minor-mode):
10950 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10951 * emacs-lisp/byte-run.el (defsubst):
10952 * custom.el (deftheme): Add doc-string metadata.
10953
10954 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10955
10956 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10957
10958 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10959
10960 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10961
10962 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10963 * emacs-lisp/cl-macs.el: Idem.
10964 * emacs-lisp/cl-specs.el: Remove.
10965
10966 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10967
10968 Minor renaming of internal CL functions and variables.
10969 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10970 (cl--position): Rename from cl-position.
10971 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10972 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10973 (cl--random-state): Rename from *random-state*.
10974
10975 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10976
10977 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10978 parens around the arg list (bug#11499).
10979
10980 2012-05-17 Juri Linkov <juri@jurta.org>
10981
10982 * isearch.el (word-search-regexp, word-search-backward)
10983 (word-search-forward, word-search-backward-lax)
10984 (word-search-forward-lax): Move functions from search.c
10985 (bug#10145, bug#11381).
10986
10987 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10988
10989 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10990 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10991 Delay for otherchars as for normal word components.
10992
10993 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10994
10995 * minibuffer.el (completion--sifn-requote): Fix last change.
10996 (minibuffer-local-must-match-filename-map):
10997 Move define-obsolete-variable-alias before its var.
10998
10999 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11000
11001 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11002
11003 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11004 behavior.
11005 (completion--string-equal-p): New function.
11006 (completion--twq-all): Use it to get better assertion failure data.
11007
11008 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11009 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11010 (shell--requote-argument): New functions.
11011 (shell-completion-vars): Use them.
11012 (shell--parse-pcomplete-arguments): Rename from
11013 shell-parse-pcomplete-arguments.
11014 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11015 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11016 Obey comint-file-name-quote-list.
11017
11018 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11019 (smie-indent-keyword): Use it.
11020
11021 2012-05-14 Stefan Merten <smerten@oekonux.de>
11022
11023 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11024
11025 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11026
11027 * net/rlogin.el (rlogin-mode-map): Fix last change.
11028
11029 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11030
11031 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11032 the following \r\n using a single `process-send-string', since the
11033 Lotus SMTP server refuses to accept any commands if they are sent
11034 with two `process-send-string's (Bug#11444).
11035
11036 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11037
11038 * shell.el (shell-parse-pcomplete-arguments):
11039 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11040
11041 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11042
11043 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11044 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11045 (image-transform-width, image-transform-fit-width): New functions.
11046 (image-transform-properties): Use them.
11047 (image-transform-check-size): New function.
11048 (image-toggle-display-image): Use it (for testing).
11049 (image-transform-set-rotation): Reduce angle mod 360.
11050 Delete obsolete comment.
11051
11052 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11053
11054 * image-mode.el: Fix scaling (bug#11399).
11055 (image-transform-resize): Doc fix.
11056 (image-transform-properties): Default scale is 1 and height should
11057 be an integer.
11058
11059 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11060
11061 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11062 than hard-coding `car', to fix misbehavior when moving forward.
11063
11064 2012-05-13 Chong Yidong <cyd@gnu.org>
11065
11066 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11067 (tabulated-list-entries, tabulated-list-padding)
11068 (tabulated-list-sort-key): Make permanent-local.
11069
11070 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11071 (electric-buffer-list): Put electric buffer menu
11072 command descriptions in this docstring, instead of the docstring
11073 of electric-buffer-menu-mode. Code cleanups.
11074 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11075 Electric-buffer-menu-mode.
11076 (electric-buffer-update-highlight): Minor code cleanup.
11077
11078 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11079
11080 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11081 (Bug#11447)
11082
11083 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11084
11085 Move define-obsolete-variable-alias before the var's definition.
11086 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11087 * tooltip.el (tooltip-hook):
11088 * textmodes/reftex-toc.el (reftex-toc-map):
11089 * textmodes/reftex-sel.el (reftex-select-label-map)
11090 (reftex-select-bib-map):
11091 * textmodes/reftex-index.el (reftex-index-map)
11092 (reftex-index-phrases-map):
11093 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11094 * progmodes/meta-mode.el (meta-mode-map):
11095 * novice.el (disabled-command-hook):
11096 * loadhist.el (unload-hook-features-list):
11097 * frame.el (blink-cursor):
11098 * files.el (find-file-not-found-hooks, write-file-hooks)
11099 (write-contents-hooks):
11100 * emulation/tpu-edt.el (GOLD-map):
11101 * emacs-lock.el (emacs-lock-from-exiting):
11102 * emacs-lisp/generic.el (generic-font-lock-defaults):
11103 * emacs-lisp/chart.el (chart-map):
11104 * dos-fns.el (register-name-alist):
11105 * dired-x.el (dired-omit-files-p):
11106 * desktop.el (desktop-enable):
11107 * cus-edit.el (custom-mode-hook):
11108 * buff-menu.el (buffer-menu-mode-hook):
11109 * bookmark.el (bookmark-read-annotation-text-func)
11110 (bookmark-exit-hooks):
11111 * allout.el (allout-mode-deactivate-hook)
11112 (allout-exposure-change-hook, allout-structure-added-hook)
11113 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11114 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11115 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11116 comes before the corresponding variable's definition.
11117
11118 2012-05-12 Chong Yidong <cyd@gnu.org>
11119
11120 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11121 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11122 (Buffer-menu-mode-map): Bind it.
11123 (Buffer-menu--pretty-name): Add a mouse-face property.
11124
11125 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11126
11127 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11128 (prolog-upper-case-string, prolog-lower-case-string)
11129 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11130 (prolog-use-smie, prolog-smie-grammar): New vars.
11131 (prolog-smie-forward-token, prolog-smie-backward-token)
11132 (prolog-smie-rules): New funs.
11133 (prolog-comment-indent): Remove.
11134 (prolog-mode-variables): Use default comment indentation instead.
11135 Setup SMIE.
11136 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11137 (prolog-mode): Don't call them any more.
11138 (prolog-electric-colon, prolog-electric-dash)
11139 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11140
11141 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11142
11143 * minibuffer.el (completion--twq-all): Again, allow case differences.
11144
11145 * term.el: Move keymap initialization code to be more idiomatic.
11146 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11147 (term-terminal-menu): Move initialization into declaration.
11148 (term-escape-char): Let the user set it in her .emacs.
11149
11150 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11151 Provide SMIE-based indentation (not enabled by default yet).
11152 (sh-mode-map): Don't bind electric keys.
11153 Use electric-pair-mode instead of skeleton-pair.
11154 (sh-assignment-regexp): Fit within 80 columns.
11155 (sh-indent-supported): Specify actual shell name instead of boolean.
11156 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11157 (sh-maybe-here-document): Use it. Make obsolete.
11158 (sh-electric-here-document-mode) New minor mode.
11159 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11160 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11161 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11162 (sh-smie-rc-grammar, sh-use-smie): New vars.
11163 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11164 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11165 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11166 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11167 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11168 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11169 (sh-set-shell): Use smie-setup if requested.
11170
11171 * term.el (term-set-escape-char): Properly set term-escape-char.
11172 See http://stackoverflow.com/questions/10524656.
11173
11174 2012-05-10 Chong Yidong <cyd@gnu.org>
11175
11176 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11177 Use url-generic-parse-url, and handle host names and Windows
11178 filenames properly.
11179 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11180 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11181 URL schemes to work on.
11182 (ffap--toggle-read-only): New function.
11183 (ffap-read-only, ffap-read-only-other-window)
11184 (ffap-read-only-other-frame): Use it.
11185 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11186 necessary for ffap-url-unwrap-remote.
11187
11188 2012-05-10 Dave Abrahams <dave@boostpro.com>
11189
11190 * cus-start.el (create-lockfiles): Add it.
11191
11192 2012-05-09 Chong Yidong <cyd@gnu.org>
11193
11194 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11195 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11196
11197 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11198
11199 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11200
11201 2012-05-09 Chong Yidong <cyd@gnu.org>
11202
11203 * ansi-color.el (ansi-color-process-output): Check for validity of
11204 comint-last-output-start before using it. This avoids a bad
11205 interaction with gdb-mi's input/output buffer.
11206
11207 2012-05-09 Glenn Morris <rgm@gnu.org>
11208
11209 * files.el (dir-locals-read-from-file):
11210 Mention dir-locals in any error message.
11211
11212 2012-05-09 Chong Yidong <cyd@gnu.org>
11213
11214 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11215 package (Bug#11410).
11216
11217 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11218 variables into description.
11219
11220 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11221
11222 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11223 shell-delimiter-argument-list (bug#11348).
11224 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11225
11226 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11227
11228 * textmodes/rst.el: Silence byte-compiler warnings.
11229 (rst-re-alist, rst-reset-section-caches): Move around.
11230 (rst-re): Use `characterp', not `char-valid-p'.
11231 (font-lock-beg, font-lock-end): Declare.
11232
11233 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11234 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11235
11236 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11237
11238 2012-05-08 Glenn Morris <rgm@gnu.org>
11239
11240 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11241
11242 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11243
11244 * vc/log-edit.el: Add GNU coding standards highlighting.
11245 (log-edit-font-lock-gnu-style)
11246 (log-edit-font-lock-gnu-keywords): New vars.
11247 (log-edit-font-lock-keywords): New fun.
11248 (log-edit-mode): Don't fold case in font-lock.
11249 (log-edit-font-lock-keywords): Do not assume case-folding.
11250
11251 * imenu.el: Misc cleanup. Make docstrings out of comments.
11252 Use lexical-binding.
11253 (imenu--index-alist, imenu--last-menubar-index-alist)
11254 (imenu-menubar-modified-tick): Use defvar-local.
11255 (imenu--split-menu): Remove unused var.
11256 (imenu--cleanup-seen): Declare as global.
11257 (imenu--cleanup): Use dolist.
11258
11259 * subr.el (defvar-local): Add debug spec and doc-string position.
11260
11261 2012-05-08 Glenn Morris <rgm@gnu.org>
11262
11263 * language/burmese.el, language/cham.el, language/czech.el:
11264 * language/english.el, language/georgian.el, language/greek.el:
11265 * language/japanese.el, language/khmer.el, language/korean.el:
11266 * language/lao.el, language/misc-lang.el, language/romanian.el:
11267 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11268 * language/thai.el, language/utf-8-lang.el:
11269 Remove no-byte-compile setting.
11270
11271 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11272
11273 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11274
11275 * progmodes/make-mode.el (makefile-browse):
11276 Remove unnecessary interactive. (Bug#11324)
11277
11278 2012-05-07 Glenn Morris <rgm@gnu.org>
11279
11280 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11281
11282 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11283
11284 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11285
11286 * loadup.el: Preload newcomment.el.
11287 * newcomment.el: Move autoload-only code to toplevel.
11288
11289 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11290 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11291 Handle new :right-align column property.
11292 (tabulated-list-print-col): Idem, plus use `display' text-property to
11293 try and preserve alignment for variable pitch fonts.
11294
11295 2012-05-07 Chong Yidong <cyd@gnu.org>
11296
11297 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11298 (tabulated-list-use-header-line): New var.
11299 (tabulated-list-init-header): Use it.
11300 (tabulated-list-print-fake-header): New function.
11301 (tabulated-list-print): Use it.
11302 (tabulated-list-sort-button-map): Add non-header-line commands.
11303 (tabulated-list-init-header): Add column name property to basic
11304 labels as well.
11305 (tabulated-list-col-sort): Handle non-header-line button case.
11306 (tabulated-list--sort-by-column-name): Fix a corner case.
11307
11308 * buff-menu.el (list-buffers--refresh):
11309 Handle Buffer-menu-use-header-line.
11310
11311 2012-05-06 Chong Yidong <cyd@gnu.org>
11312
11313 * buff-menu.el: Convert to Tabulated List mode.
11314 (Buffer-menu-buffer+size-width): Make obsolete.
11315 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11316 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11317 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11318 documentation into docstring of buffer-menu.
11319 (Buffer-menu-toggle-files-only): Add an informative message.
11320 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11321 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11322 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11323 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11324 (Buffer-menu-execute, Buffer-menu-select)
11325 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11326 (Buffer-menu-bury): Use Tabulated List machinery.
11327 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11328 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11329 Delete.
11330 (list-buffers--refresh): New function.
11331 (list-buffers-noselect): Use it.
11332 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11333 (Buffer-menu--pretty-file-name): New helper functions.
11334
11335 * loadup.el: Preload tabulated-list.
11336
11337 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11338 tabulated-list-sort-column.
11339 (tabulated-list-init-header): Add the initial aligning space even
11340 if tabulated-list-padding is zero.
11341
11342 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11343
11344 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11345 whose cdr is not a cons cell correctly (bug#11038).
11346
11347 2012-05-06 Chong Yidong <cyd@gnu.org>
11348
11349 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11350 Accept additional plist in column descriptors.
11351 (tabulated-list-init-header): Obey it.
11352 (tabulated-list-get-entry): New function.
11353 (tabulated-list-put-tag): Use it. Use string-width instead of
11354 length.
11355 (tabulated-list--column-number): New function.
11356 (tabulated-list-print): Use it.
11357 (tabulated-list-print-col): New function.
11358 Set `tabulated-list-column-name' property on each column's text.
11359 (tabulated-list-print-entry): Use it.
11360 (tabulated-list-delete-entry, tabulated-list-set-col):
11361 New functions.
11362 (tabulated-list-sort-column): New command (Bug#11337).
11363
11364 * buff-menu.el (list-buffers): Move C-x C-b binding from
11365 buff-menu.el to bindings.el.
11366
11367 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11368 :advertised-binding feature.
11369
11370 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11371
11372 * progmodes/compile.el (compilation-internal-error-properties):
11373 Calculate start position correctly when end-col is set but
11374 end-line is not (Bug#11382).
11375
11376 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11377
11378 * man.el (Man-unindent): Use text-property-default-nonsticky to
11379 prevent untabify from inheriting face properties (Bug#11408).
11380
11381 2012-05-05 Stefan Merten <smerten@oekonux.de>
11382
11383 * textmodes/rst.el: Major merge with upstream development up to
11384 Docutils SVN r7399 / rst.el V1.2.1.
11385
11386 Clarify maintainership and authors.
11387
11388 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11389 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11390 (rst-official-version, rst-official-cvs-rev, rst-version)
11391 (rst-package-emacs-version-alist): New functions and variables
11392 for version information.
11393
11394 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11395 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11396 (rst-mode-syntax-table, rst-mode): New and corrected functions
11397 and variables representing reStructuredText features.
11398
11399 (rst-re): New function for reStructuredText regexes. Use in
11400 many places.
11401
11402 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11403 (rst-mode-map): Rebind keys.
11404
11405 (rst-mode-lazy, rst-font-lock-keywords)
11406 (rst-font-lock-extend-region)
11407 (rst-font-lock-extend-region-internal)
11408 (rst-font-lock-extend-region-extend)
11409 (rst-font-lock-find-unindented-line-limit)
11410 (rst-font-lock-find-unindented-line-match)
11411 (rst-adornment-level, rst-font-lock-adornment-level)
11412 (rst-font-lock-adornment-match)
11413 (rst-font-lock-handle-adornment-pre-match-form)
11414 (rst-font-lock-handle-adornment-matcher): Major revision of
11415 font-locking. Integrate with other code. Use `jit-lock-mode'.
11416
11417 (rst-preferred-adornments, rst-adjust-hook)
11418 (rst-new-adornment-down, rst-preferred-bullets)
11419 (rst-preferred-bullets, rst-indent, rst-indent-width)
11420 (rst-indent-field, rst-indent-literal-normal)
11421 (rst-indent-literal-minimized, rst-indent-comment): Change,
11422 extend and improve customization.
11423
11424 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11425 (rst-normalize-cursor-position, rst-get-decoration)
11426 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11427 (rst-rstrip, rst-toc-insert-find-delete-contents)
11428 (rst-shift-fill-region, rst-compute-bullet-tabs)
11429 (rst-debug-print-tabs, rst-debug-mark-found)
11430 (rst-shift-region-guts, rst-shift-region-right)
11431 (rst-shift-region-left, rst-use-char-classes)
11432 (rst-font-lock-keywords-function)
11433 (rst-font-lock-indentation-point)
11434 (rst-font-lock-find-unindented-line-begin)
11435 (rst-font-lock-find-unindented-line-end)
11436 (rst-font-lock-find-unindented-line)
11437 (rst-font-lock-adornment-point, rst-font-lock-level)
11438 (rst-adornment-level-alist): Remove functions and variables.
11439
11440 (rst-compare-adornments, rst-get-adornment-match)
11441 (rst-suggest-new-adornment, rst-get-adornments-around)
11442 (rst-adornment-complete-p, rst-get-next-adornment)
11443 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11444 (rst-straighten-adornments): Standardize function names to
11445 use "adornment" instead of "decoration". Correct callers.
11446 Similar standardizing in many places.
11447
11448 (rst-update-section, rst-adjust, rst-promote-region)
11449 (rst-enumerate-region, rst-bullet-list-region)
11450 (rst-repeat-last-character): Correct use of `interactive'.
11451
11452 (rst-classify-adornment, rst-find-all-adornments)
11453 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11454 (rst-find-leftmost-column, rst-repeat-last-character):
11455 Refactor functions.
11456
11457 (rst-find-title-line, rst-reset-section-caches)
11458 (rst-get-adornments-around, rst-adjust-adornment-work)
11459 (rst-arabic-to-roman, rst-roman-to-arabic)
11460 (rst-insert-list-pos, rst-insert-list-new-item)
11461 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11462 New functions.
11463
11464 (rst-all-sections, rst-section-hierarchy)
11465 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11466 New variables.
11467
11468 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11469 configuration instead of only buffer. Change where necessary.
11470
11471 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11472 (rst-shift-region, rst-adaptive-fill): New functions for
11473 indentation and filling.
11474
11475 (rst-comment-line-break, rst-comment-indent)
11476 (rst-comment-insert-comment, rst-comment-region)
11477 (rst-uncomment-region): New functions for handling comments.
11478
11479 (rst-compile): Quote shell arguments.
11480
11481 (rst-compile-pdf-preview, rst-compile-slides-preview):
11482 Delete temporary files after use.
11483
11484 2012-05-05 Glenn Morris <rgm@gnu.org>
11485
11486 * calendar/cal-html.el: Optionally include holidays in the output.
11487 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11488 (cal-html-holidays): New option.
11489 (cal-html-css-default): Add holiday entry.
11490 (holiday-in-range): Autoload it.
11491 (cal-html-htmlify-entry): Add optional class argument.
11492 (cal-html-htmlify-list): Add optional holidays argument.
11493 (cal-html-insert-agenda-days): Include holidays in the output.
11494 (cal-html-one-month): Maybe include holidays.
11495
11496 * calendar/holidays.el (holiday-in-range):
11497 Move here from cal-tex-list-holidays.
11498 * calendar/cal-tex.el (cal-tex-list-holidays):
11499 Make it an obsolete alias for holiday-in-range. Update all callers.
11500
11501 2012-05-05 Chong Yidong <cyd@gnu.org>
11502
11503 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11504 Nextstep.
11505
11506 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11507
11508 * files.el (file-auto-mode-skip): New var.
11509 (set-auto-mode-1): Use it.
11510
11511 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11512
11513 * repeat.el: Use lexical-binding.
11514 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11515 (repeat-undo-count): Remove.
11516 (repeat):
11517 * progmodes/octave-mod.el (octave-abbrev-start):
11518 * progmodes/f90.el (f90-abbrev-start):
11519 * face-remap.el (text-scale-adjust):
11520 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11521
11522 * emacs-lisp/pcase.el (pcase--let*): New function.
11523 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11524 a bit more.
11525 (pcase--split-pred): Be more clever about ruling out overlap between
11526 a predicate and some constant pattern.
11527 (pcase--q1): Use `null' instead of (eq foo nil).
11528
11529 * subr.el (setq-local, defvar-local): New macros.
11530 (kbd): Redefine as an alias.
11531 (with-selected-window): Leave unrelated frames alone.
11532 (set-temporary-overlay-map): New function.
11533
11534 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11535
11536 * subr.el (user-error): New function.
11537 * window.el (switch-to-buffer):
11538 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11539 (smerge-match-conflict):
11540 * simple.el (previous-matching-history-element)
11541 (next-matching-history-element, goto-history-element, undo-more)
11542 (undo-start):
11543 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11544 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11545 (next-file, tags-loop-scan, list-tags, complete-tag):
11546 * progmodes/compile.el (compilation-loop):
11547 * mouse.el (mouse-minibuffer-check):
11548 * man.el (Man-bgproc-sentinel, Man-goto-page):
11549 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11550 (Info-history-forward, Info-follow-reference, Info-menu)
11551 (Info-extract-menu-item, Info-extract-menu-counting)
11552 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11553 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11554 (Info-next-reference, Info-prev-reference, Info-index)
11555 (Info-index-next, Info-follow-nearest-node)
11556 (Info-copy-current-node-name):
11557 * imenu.el (imenu--make-index-alist)
11558 (imenu-default-create-index-function, imenu-add-to-menubar):
11559 * files.el (basic-save-buffer, recover-file):
11560 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11561 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11562 (checkdoc-message-text, checkdoc-defun):
11563 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11564 * cus-edit.el (customize-changed-options, customize-rogue)
11565 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11566 (custom-variable-mark-to-reset-standard)
11567 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11568 (custom-file):
11569 * completion.el (check-completion-length):
11570 * comint.el (comint-search-arg)
11571 (comint-previous-matching-input-string-position)
11572 (comint-previous-matching-input)
11573 (comint-replace-by-expanded-history-before-point, comint-send-input)
11574 (comint-copy-old-input, comint-backward-matching-input)
11575 (comint-goto-process-mark, comint-set-process-mark):
11576 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11577 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11578
11579 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11580
11581 * dabbrev.el (dabbrev--ignore-case-p): New function.
11582 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11583 Use it.
11584
11585 * files.el (automount-dir-prefix): Mark as obsolete.
11586
11587 2012-05-04 Glenn Morris <rgm@gnu.org>
11588
11589 * patcomp.el, play/bruce.el: Move to obsolete/.
11590
11591 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11592
11593 Fix minor Y10k bugs.
11594 * arc-mode.el (archive-unixdate):
11595 * autoinsert.el (auto-insert-alist):
11596 * calc/calc-forms.el (math-this-year):
11597 * emacs-lisp/copyright.el (copyright-current-year)
11598 (copyright-update-year, copyright):
11599 * tar-mode.el (tar-clip-time-string):
11600 * time.el (display-time-update):
11601 Don't assume years have 4 digits.
11602
11603 2012-05-04 Chong Yidong <cyd@gnu.org>
11604
11605 * dos-w32.el (file-name-buffer-file-type-alist)
11606 (direct-print-region-use-command-dot-com):
11607 * ffap.el (ffap-menu-regexp):
11608 * find-file.el (ff-special-constructs):
11609 * follow.el (follow-debug):
11610 * forms.el (forms--debug):
11611 * iswitchb.el (iswitchb-all-frames):
11612 * ido.el (ido-all-frames):
11613 * emacs-lisp/timer.el (timer-max-repeats):
11614 * mail/feedmail.el (feedmail-mail-send-hook)
11615 (feedmail-mail-send-hook-queued):
11616 * mail/footnote.el (footnote-signature-separator):
11617 * mail/mailabbrev.el (mail-alias-separator-string)
11618 (mail-abbrev-mode-regexp):
11619 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11620 * progmodes/idlwave.el (idlwave-libinfo-file)
11621 (idlwave-default-completion-case-is-down)
11622 (idlwave-library-routines): Convert defvars to defcustoms.
11623
11624 * mail/rmail.el (rmail-decode-mime-charset):
11625 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11626 (idlwave-shell-fix-inserted-breaks)
11627 (idlwave-shell-activate-alt-keybindings)
11628 (idlwave-shell-use-breakpoint-glyph):
11629 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11630
11631 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11632
11633 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11634
11635 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11636
11637 * progmodes/verilog-mode.el (font-lock-keywords):
11638 Fix mis-highligting auto. Reported by Craig Barner.
11639 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11640 defines from global name space. Reported by Dan Dever.
11641 (verilog-auto-reset, verilog-auto-reset-widths)
11642 (verilog-auto-tieoff): Support using unbased numbers for
11643 AUTORESET and AUTOTIEOFF.
11644 (verilog-submit-bug-report): Update variable list.
11645 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11646 parenthesis from not matching. Reported by Michael Rytting.
11647 (verilog-auto-template-lint): Fix hash error when linting modules
11648 with no used templates.
11649 (verilog-warn, verilog-warn-error)
11650 (verilog-warn-fatal): When non-interactive report multiple
11651 warnings before exiting. Suggested by Brad Dobbie.
11652 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11653 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11654 to report unused template errors. Reported by Brad Dobbie.
11655 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11656 nets, bug438. Reported by Vns Blore.
11657 (verilog-auto-inout-module, verilog-auto-reg)
11658 (verilog-read-decls, verilog-read-sub-decls-sig)
11659 (verilog-signals-edit-wire-reg, verilog-signals-with):
11660 Fix passing of Verilog data types in ANSI input/output ports
11661 such as "output logic" into the AUTOs. Special case "wire" and
11662 "reg" for backwards compatibility presuming Verilog 2001.
11663 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11664 (verilog-preprocess): Fix replication of preprocess output.
11665 Reported by Brad Dobbie.
11666 (verilog-auto-inst-interfaced-ports):
11667 Create verilog-auto-inst-interfaced-ports, bug429.
11668 Reported by Julian Gorfajn.
11669 (verilog-after-save-font-hook)
11670 (verilog-before-save-font-hook): New variable.
11671 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11672 (verilog-save-font-mods): Wrap disabling fontification, reported
11673 by David Rogoff.
11674 (verilog-do-indent, verilog-pretty-declarations-auto)
11675 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11676 Reported by Pierre-David Pfister.
11677 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11678 of class declarations, bug292. Reported by Kevin Heilman.
11679 (verilog-read-decls): Fix 'parameter type' not appearing in
11680 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11681 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11682 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11683 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11684 Reported by David Kravitz.
11685
11686 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11687
11688 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11689 assignment with tests in ifs and for loops.
11690 (verilog-extended-complete-re, verilog-complete-reg): Change so
11691 that DPI inport functions don't look like fuction declarations.
11692 (verilog-pretty-expr): Don't line up assignment
11693 operations to the test and increment in if and for loops
11694 (verilog-extended-complete-re, verilog-complete-reg): Change so
11695 that DPI inport functions don't look like fuction declarations.
11696
11697 2012-05-03 Kenichi Handa <handa@m17n.org>
11698
11699 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11700 decoding, and show a warning message without signaling an error
11701 (Bug#11282).
11702
11703 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11704
11705 * emacs-lisp/bytecomp.el
11706 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11707 since cconv.el might have introduced :fun-body, internal-make-closure,
11708 and friends for bytecomp to handle (bug#11391).
11709 * custom.el (defcustom): Avoid ((λ ..) ..).
11710
11711 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11712
11713 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11714
11715 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11716
11717 * notifications.el (dbus-debug):
11718 * term/linux.el (gpm-mouse-enable):
11719 * term/screen.el (xterm-register-default-colors): Declare.
11720
11721 2012-05-02 Chong Yidong <cyd@gnu.org>
11722
11723 * cus-start.el (gc-cons-percentage, exec-suffixes)
11724 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11725 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11726 (make-cursor-line-fully-visible, void-text-area-pointer)
11727 (font-list-limit): Add customization data.
11728
11729 * allout.el (allout-exposure-change-functions)
11730 (allout-structure-added-functions)
11731 (allout-structure-deleted-functions)
11732 (allout-structure-shifted-functions): Rename abnormal hooks from
11733 *-hook, and convert to defcustoms.
11734 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11735 Convert to defcustoms.
11736 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11737
11738 * allout-widgets.el: Hook callers changed.
11739
11740 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11741
11742 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11743 the yanked message in preference to the default value of
11744 buffer-file-coding-system.
11745
11746 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11747
11748 * window.el (display-buffer--action-function-custom-type):
11749 Fix entry.
11750
11751 2012-05-02 Alan Mackenzie <acm@muc.de>
11752
11753 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11754
11755 2012-05-01 Glenn Morris <rgm@gnu.org>
11756
11757 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11758
11759 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11760
11761 * cus-edit.el (custom-variable-documentation): Simplify with format.
11762
11763 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11764 Stefan Monnier <monnier@iro.umontreal.ca>
11765
11766 * simple.el (suggest-key-bindings, execute-extended-command):
11767 Move from keyboard.c.
11768
11769 2012-05-01 Chong Yidong <cyd@gnu.org>
11770
11771 * follow.el: Eliminate advice.
11772 (set-process-filter, process-filter, sit-for): Advice deleted.
11773 (follow-mode-off-hook): Obsolete hook removed.
11774 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11775 Vars deleted.
11776 (follow-auto): Use a :set function.
11777 (follow-mode): Rewritten. Don't advise process filters.
11778 (follow-switch-to-current-buffer-all, follow-scroll-up)
11779 (follow-scroll-down): Assume follow-mode is bound.
11780 (follow-comint-scroll-to-bottom)
11781 (follow-align-compilation-windows): New functions.
11782 (follow--window-sorter): New function.
11783 (follow-all-followers): Use it to explicitly sort windows by their
11784 positions; don't make assumptions about next-window order.
11785 (follow-windows-start-end, follow-delete-other-windows-and-split)
11786 (follow-calc-win-start): Doc fix.
11787 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11788 vertical-motion unnecessarily.
11789 (follow-adjust-window): New function.
11790 (follow-post-command-hook): Use it.
11791 (follow-call-set-process-filter, follow-call-process-filter)
11792 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11793 (follow-stop-intercept-process-output, follow-generic-filter):
11794 Functions deleted.
11795 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11796 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11797 New functions, replacing advice on scroll-bar-* commands.
11798 (follow-mwheel-scroll): New function (Bug#4112).
11799
11800 * comint.el (comint-adjust-point): New function.
11801 (comint-postoutput-scroll-to-bottom): Use it.
11802 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11803
11804 2012-05-01 Glenn Morris <rgm@gnu.org>
11805
11806 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11807 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11808 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11809 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11810 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11811 Remove no-byte-compile setting.
11812
11813 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11814
11815 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11816 all-completions code to not return a number in the last cdr.
11817
11818 2012-04-30 Leo Liu <sdl.web@gmail.com>
11819
11820 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11821 read-only error.
11822
11823 2012-04-29 Chong Yidong <cyd@gnu.org>
11824
11825 * follow.el (follow-calc-win-end): Rewrite to handle partial
11826 screen lines correctly (Bug#8390).
11827 (follow-avoid-tail-recenter): Minor cleanup.
11828
11829 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11830
11831 Avoid the obsolete `assoc' package.
11832 * speedbar.el (speedbar-refresh): Avoid adelete.
11833 (speedbar-file-lists): Simplify and avoid aput.
11834 * man.el (Man--sections, Man--refpages): New vars, replacing
11835 Man-sections-alist and Man-refpages-alist.
11836 (Man-build-section-alist, Man-build-references-alist):
11837 Use them; avoid aput.
11838 (Man--last-section, Man--last-refpage): New vars.
11839 (Man-follow-manual-reference): Use them.
11840 Use the `default' arg of completing-read.
11841 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11842
11843 2012-04-27 Chong Yidong <cyd@gnu.org>
11844
11845 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11846
11847 * startup.el (x-apply-session-resources): New function.
11848
11849 * term/ns-win.el (ns-initialize-window-system):
11850 * term/w32-win.el (w32-initialize-window-system):
11851 * term/x-win.el (x-initialize-window-system): Use it to properly
11852 set menu-bar-mode and other vars from X resources, even if the
11853 initial frame is not a window-system frame (Bug#2299).
11854
11855 * subr.el (read-key): Avoid running filter function when setting
11856 up temporary tool bar entries (Bug#9922).
11857
11858 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11859
11860 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11861 (Bug#11344)
11862
11863 2012-04-27 Chong Yidong <cyd@gnu.org>
11864
11865 * select.el (xselect--encode-string): New function, split from
11866 xselect-convert-to-string.
11867 (xselect-convert-to-string): Use it.
11868 (xselect-convert-to-filename, xselect-convert-to-os)
11869 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11870 returned strings are properly encoded (Bug#11315).
11871
11872 2012-04-27 Chong Yidong <cyd@gnu.org>
11873
11874 * simple.el (delete-active-region): Move to killing custom group.
11875
11876 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11877
11878 * progmodes/which-func.el (which-func-current): Quote %
11879 characters for mode-line processing.
11880
11881 2012-04-27 Chong Yidong <cyd@gnu.org>
11882
11883 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11884 reaching eob (Bug#11286).
11885
11886 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11887
11888 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11889 (gdb): Make it buffer-local and init to zero.
11890 (gdb-control-commands-regexp): New variable.
11891 (gdb-send): Don't wrap in "-interpreter-exec console" if
11892 gdb-control-level is positive. Increment gdb-control-level
11893 whenever the command matches gdb-control-commands-regexp, and
11894 decrement it each time the command is "end". (Bug#11279)
11895
11896 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11897
11898 * window.el (adjust-window-trailing-edge, enlarge-window)
11899 (shrink-window, window-resize):
11900 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11901 windows (Bug#11276).
11902
11903 2012-04-27 Chong Yidong <cyd@gnu.org>
11904
11905 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11906 fix "missing prefix" warning. All callers changed.
11907
11908 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11909
11910 * emacs-lisp/assoc.el: Move to obsolete/.
11911
11912 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11913
11914 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11915
11916 * term/ns-win.el (ns-define-service):
11917 * progmodes/pascal.el (pascal-goto-defun):
11918 * progmodes/js.el (js--read-tab):
11919 * progmodes/etags.el (tags-lazy-completion-table):
11920 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11921 * emacs-lisp/ewoc.el (ewoc--wrap):
11922 * emacs-lisp/assoc.el (aput, adelete, amake):
11923 * doc-view.el (doc-view-convert-current-doc):
11924 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11925
11926 2012-04-26 Chong Yidong <cyd@gnu.org>
11927
11928 * image.el (image-type-from-buffer): Only return supported image
11929 type (Bug#9045).
11930
11931 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11932 value, for symmetry with diff-end-of-hunk.
11933 (diff-split-hunk, diff-find-source-location)
11934 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11935 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11936 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11937 compute the relevant hunk or file properly (Bug#6005).
11938 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11939
11940 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11941
11942 * vc/vc-mtn.el:
11943 * vc/vc-hg.el:
11944 * vc/vc-git.el:
11945 * vc/vc-dir.el:
11946 * vc/vc-cvs.el:
11947 * vc/vc-bzr.el:
11948 * vc/vc-arch.el:
11949 * vc/vc.el: Replace lexical-let by lexical-binding.
11950 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11951 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11952 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11953
11954 2012-04-26 Chong Yidong <cyd@gnu.org>
11955
11956 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11957 (diff-mode-shared-map): Bind it to / and [remap undo].
11958
11959 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11960 (ediff-window-setup-function): Use it as the default, to set up
11961 windows based on whether the current frame is graphical (Bug#2138).
11962 (ediff-choose-window-setup-function-automatically): Make obsolete.
11963
11964 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11965
11966 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11967
11968 * ffap.el: Remove old code for obsolete package.
11969 (ffap-complete-as-file-p): Remove.
11970
11971 Use completion-table-with-quoting for comint and pcomplete.
11972 * comint.el (comint--unquote&requote-argument)
11973 (comint--unquote-argument, comint--requote-argument): New functions.
11974 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11975 (comint-quote-filename): Use regexp-opt-charset.
11976 (comint--common-suffix, comint--common-quoted-suffix)
11977 (comint--table-subvert): Remove.
11978 (comint-unquote-function, comint-requote-function): New vars.
11979 (comint--complete-file-name-data): Use them with
11980 completion-table-with-quoting.
11981 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11982 * pcomplete.el (pcomplete-arg-quote-list)
11983 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11984 (pcomplete-unquote-argument-function): Default to non-nil.
11985 (pcomplete-unquote-argument): Simplify.
11986 (pcomplete--common-quoted-suffix): Remove.
11987 (pcomplete-requote-argument-function): New var.
11988 (pcomplete--common-suffix): New function.
11989 (pcomplete-completions-at-point): Use completion-table-with-quoting
11990 and completion-table-subvert.
11991
11992 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11993 (minibuffer--double-dollars): Preserve properties.
11994 (completion--sifn-requote): New function.
11995 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11996
11997 * minibuffer.el: Add support for completion of quoted/escaped data.
11998 (completion-table-with-quoting, completion-table-subvert): New funs.
11999 (completion--twq-try, completion--twq-all): New functions.
12000 (completion--nth-completion): New function.
12001 (completion-try-completion, completion-all-completions): Use it.
12002
12003 2012-04-25 Leo Liu <sdl.web@gmail.com>
12004
12005 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12006 Use compilation-message if available to find real filename.
12007
12008 2012-04-25 Chong Yidong <cyd@gnu.org>
12009
12010 * vc/diff-mode.el (diff-setup-whitespace): New function.
12011 (diff-mode): Use it.
12012
12013 * vc/diff.el (diff-sentinel):
12014 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12015 Whitespace mode variables based on diff style (Bug#8612).
12016
12017 2012-04-25 Leo Liu <sdl.web@gmail.com>
12018
12019 * progmodes/python.el (python-send-region): Add suffix .py to the
12020 temp file.
12021
12022 * files.el (auto-mode-alist): Use javascript-mode instead.
12023
12024 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12025
12026 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12027
12028 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12029 (soap-resolve-references-for-array-type): Hack to prevent self
12030 references, see Bug#9.
12031 (soap-parse-envelope): Report the contents of the 'detail' node
12032 when receiving a fault reply.
12033 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12034
12035 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12036 (soap-inspect-simple-type): New function.
12037
12038 * net/soap-client.el (soap-simple-type): New struct.
12039 (soap-default-xsd-types, soap-default-soapenc-types)
12040 (soap-decode-basic-type, soap-encode-basic-type):
12041 support unsignedInt and double basic types.
12042 (soap-resolve-references-for-simple-type)
12043 (soap-parse-simple-type, soap-encode-simple-type): New function.
12044 (soap-parse-schema): Parse xsd:simpleType declarations.
12045
12046 * net/soap-client.el (soap-default-xsd-types)
12047 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12048 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12049 the local name of "soapenc:Array".
12050 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12051 decoding integer, byte and anyURI xsd types.
12052
12053 2012-04-25 Chong Yidong <cyd@gnu.org>
12054
12055 * cus-edit.el (custom-buffer-create-internal): Update header text.
12056
12057 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12058
12059 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12060 settings on 'system-type', not on 'window-system'. On MS-Windows,
12061 set interactive-mode on in GDB.
12062
12063 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12064
12065 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12066 (ruby-syntax-propertize-regexp): Remove.
12067 (ruby-syntax-propertize-function): Split regexp into chunks.
12068 Match following code directly.
12069
12070 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12071
12072 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12073 (ruby-syntax-propertize-regexp): New function.
12074 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12075 by a special keyword.
12076
12077 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12078 (ruby-syntax-general-delimiters-goto-beg)
12079 (ruby-syntax-propertize-general-delimiters): New functions.
12080 (ruby-syntax-propertize-function): Use them to handle GDL.
12081 (ruby-font-lock-keywords): Move old handling of GDL...
12082 (ruby-font-lock-syntactic-keywords): .. to here.
12083 (ruby-calculate-indent): Adjust indentation for GDL.
12084
12085 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12086
12087 * notifications.el (top): Remove unneeded declarations.
12088 (notifications-specification-version): Change to "1.2".
12089 (notifications-interface, notifications-notify-method)
12090 (notifications-close-notification-method): Fix docstring.
12091 (notifications-get-capabilities-method): New defconst.
12092 (notifications-notify): Add :action-items, :resident and
12093 :transient hints. Change "image_data" to "image-data" and
12094 "image_path" to "image-path".
12095 (notifications-get-capabilities): New defun.
12096
12097 2012-04-24 Leo Liu <sdl.web@gmail.com>
12098
12099 * progmodes/python.el: Move hideshow setup to the end.
12100
12101 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12102
12103 * window.el (handle-select-window): Clear echo area since this is
12104 no more done by read_char (Bug#11304).
12105
12106 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12107
12108 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12109 and `/ M' to filter-derived-mode.
12110 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12111 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12112 (ibuffer-mark-by-mode): Use default rather than initial-input.
12113 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12114
12115 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12116
12117 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12118 (ibuffer-filter-by-derived-mode): New filter.
12119 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12120
12121 2012-04-23 Andreas Politz <politza@fh-trier.de>
12122
12123 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12124
12125 2012-04-23 Chong Yidong <cyd@gnu.org>
12126
12127 * cus-edit.el (customize-apropos, customize-apropos-options):
12128 Disable matching of non-option variables (Bug#11176).
12129 (customize-option, customize-option-other-window)
12130 (customize-changed-options): Doc fix.
12131 (customize-apropos-options, customize-apropos-faces)
12132 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12133
12134 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12135 Fix word list splitting (Bug#11132).
12136 (apropos-symbol, apropos-keybinding, apropos-label)
12137 (apropos-property, apropos-function-button)
12138 (apropos-variable-button, apropos-misc-button): New faces.
12139 (apropos-symbol-face, apropos-keybinding-face)
12140 (apropos-label-face, apropos-property-face, apropos-match-face):
12141 Variables removed (Bug#8396).
12142 (apropos-library-button, apropos-format-plist, apropos-print)
12143 (apropos-print-doc, apropos-describe-plist): Callers changed.
12144
12145 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12146
12147 * net/xesam.el (xesam-mode-map): Use let-bound map in
12148 initialization. (Bug#11292)
12149
12150 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12151
12152 Preserve ispell session localwords when switching back to
12153 original buffer.
12154
12155 * textmodes/ispell.el (ispell-buffer-session-localwords):
12156 New buffer-local variable to hold buffer session localwords.
12157 (ispell-kill-ispell): Add option 'clear to delete session
12158 localwords.
12159 (ispell-command-loop, ispell-change-dictionary)
12160 (ispell-buffer-local-words): Preserve session localwords when
12161 needed.
12162
12163 * textmodes/flyspell.el (flyspell-process-localwords)
12164 (flyspell-do-correct): Preserve session localwords when needed.
12165
12166 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12167
12168 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12169 using obsolete `translation-table-for-input'.
12170 (ispell-word, ispell-process-line, ispell-complete-word):
12171 Use plain `insert' instead of removed `ispell-insert-word'.
12172
12173 2012-04-22 Chong Yidong <cyd@gnu.org>
12174
12175 * cus-edit.el (custom-variable-menu)
12176 (custom-variable-reset-saved, custom-face-menu)
12177 (custom-face-reset-saved): If there is no saved value, make the
12178 "reset-saved" operation bring back the default (Bug#9509).
12179 (custom-face-state): Properly detect themed faces.
12180
12181 * faces.el (face-spec-set): Stop supporting deprecated form of
12182 third arg.
12183
12184 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12185
12186 Move functions from C to Lisp. Make non-blocking method calls
12187 the default. Implement further D-Bus standard interfaces.
12188
12189 * net/dbus.el (dbus-message-internal): Declare function.
12190 Remove unneeded function declarations.
12191 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12192 (dbus-message-type-method-return, dbus-message-type-error)
12193 (dbus-message-type-signal): Declare variables. Remove local
12194 definitions.
12195 (dbus-interface-dbus, dbus-interface-peer)
12196 (dbus-interface-introspectable, dbus-interface-properties)
12197 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12198 Adapt docstring.
12199 (dbus-interface-objectmanager): New defconst.
12200 (dbus-call-method, dbus-call-method-asynchronously)
12201 (dbus-send-signal, dbus-method-return-internal)
12202 (dbus-method-error-internal, dbus-register-service)
12203 (dbus-register-signal, dbus-register-method): New defuns, moved
12204 from dbusbind.c
12205 (dbus-call-method-handler, dbus-setenv)
12206 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12207 New defuns.
12208 (dbus-call-method-non-blocking): Make it an obsolete function.
12209 (dbus-unregister-object, dbus-unregister-service)
12210 (dbus-handle-event, dbus-register-property)
12211 (dbus-property-handler): Obey the new structure of
12212 `bus-registered-objects'.
12213 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12214 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12215 Use `dbus-call-method'.
12216
12217 2012-04-22 Chong Yidong <cyd@gnu.org>
12218
12219 * cus-edit.el (custom-commands, custom-reset-menu)
12220 (Custom-reset-standard): Tweak labels.
12221 (custom-reset-button-menu): Change default to t.
12222 (custom-buffer-create-internal): For the custom-reset-button-menu
12223 case, put the revert button first.
12224 (custom-group-subtitle): New face.
12225 (custom-group-value-create): Align docstring to a specific column.
12226
12227 * wid-edit.el (widget-documentation-link-add): Don't handle
12228 indentation in this function.
12229 (widget-documentation-string-indent-to): New function.
12230 (widget-documentation-string-value-create): Use it.
12231
12232 * autorevert.el (auto-revert):
12233 * epg-config.el (epg):
12234 * ibuffer.el (ibuffer):
12235 * mpc.el (mpc):
12236 * ses.el (ses):
12237 * eshell/eshell.el (eshell):
12238 * net/ange-ftp.el (ange-ftp):
12239 * progmodes/ebnf2ps.el (postscript):
12240 * progmodes/flymake.el (flymake):
12241 * progmodes/prolog.el (prolog):
12242 * progmodes/verilog-mode.el (verilog-mode):
12243 * progmodes/which-func.el (which-func):
12244 * term/xterm.el (xterm):
12245 * textmodes/picture.el (picture):
12246 * textmodes/tildify.el (tildify):
12247 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12248 customization buffers.
12249
12250 2012-04-22 Alan Mackenzie <acm@muc.de>
12251
12252 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12253 Adding a ) can hide the resulting (..) from searches. Fix it.
12254 Bound the backward search to the position of the existing (.
12255
12256 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12257
12258 * progmodes/verilog-mode.el (verilog-mode): Check whether
12259 which-func-modes is t before adding verilog-mode.
12260 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12261
12262 2012-04-21 Leo Liu <sdl.web@gmail.com>
12263
12264 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12265
12266 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12267
12268 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12269 filling of the last column of a table (Bug#5635).
12270 (woman-find-next-control-line): New arg, specifying an additional
12271 regexp component for the control line.
12272 (woman2-roff-buffer): Use it.
12273 (woman-break-table): New function.
12274 (woman2-TS): Use it.
12275
12276 2012-04-21 Chong Yidong <cyd@gnu.org>
12277
12278 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12279 (woman-horizontal-escapes, woman-negative-vertical-space)
12280 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12281 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12282
12283 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12284
12285 * minibuffer.el (completion-file-name-table): Complete user names.
12286
12287 2012-04-20 Leo Liu <sdl.web@gmail.com>
12288
12289 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12290 and pcase-let*.
12291
12292 2012-04-20 Chong Yidong <cyd@gnu.org>
12293
12294 * server.el (server-execute): Respect initial-buffer-choice if it
12295 is a string and there are no files to open (Bug#2825).
12296 (server-create-window-system-frame, server-create-tty-frame):
12297 Don't switch buffers here.
12298 (server-process-filter): Only try to open a window system frame if
12299 compiled with graphical support (Bug#8314).
12300
12301 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12302
12303 * battery.el (battery-echo-area-format): Display remaining time
12304 for sysfs backend too (Bug#11269).
12305 (battery-linux-sysfs): Fix conditional for the charge.
12306
12307 2012-04-20 Chong Yidong <cyd@gnu.org>
12308
12309 * progmodes/gdb-mi.el (gdb): Revert previous change.
12310 (gdb-inferior-io--init-proc): New function.
12311 (gdb-init-1): Use it.
12312 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12313 responsible for allocating a new pty and hooking it to gdb when
12314 the old pty gets an EIO due to process exit.
12315 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12316 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12317 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12318
12319 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12320
12321 * window.el (window-min-size, window-sizable, window-min-delta)
12322 (window-max-delta, window--resizable, window-resizable)
12323 (window-total-size, window-full-height-p, window-full-width-p)
12324 (window-in-direction, window--resize-mini-window, window-resize)
12325 (window--resize-child-windows-normal)
12326 (window--resize-child-windows, window--resize-siblings)
12327 (window--resize-this-window, adjust-window-trailing-edge)
12328 (enlarge-window, shrink-window): Doc fixes.
12329
12330 2012-04-20 Chong Yidong <cyd@gnu.org>
12331
12332 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12333 New function to call delete-process on the gdb-inferior buffer's pty.
12334 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12335 pty process (Bug#11273).
12336 (gdb-update): New arg to suppress talking to the gdb process.
12337 (gdb-done-or-error): Use it.
12338 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12339 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12340 sentinel not being called.
12341
12342 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12343
12344 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12345
12346 2012-04-20 Glenn Morris <rgm@gnu.org>
12347
12348 * net/network-stream.el (open-network-stream): Doc fix.
12349
12350 2012-04-20 Chong Yidong <cyd@gnu.org>
12351
12352 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12353
12354 2012-04-20 Alan Mackenzie <acm@muc.de>
12355
12356 Ensure searching for keywords is case sensitive.
12357
12358 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12359 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12360 (c-defun-name, c-mark-function, c-cpp-define-name)
12361 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12362 (c-context-line-break): Bind case-fold-search to nil.
12363
12364 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12365 Bind case-fold-search to nil.
12366
12367 2012-04-20 Chong Yidong <cyd@gnu.org>
12368
12369 * mail/sendmail.el (mail-bury): Call return action with the right
12370 Rmail buffer (Bug#11242).
12371
12372 * server.el (server-process-filter): Handle corner case where both
12373 tty and nowait options are present (Bug#11102).
12374
12375 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12376
12377 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12378 (top level): Put into the executable the ident-style '$Id:' tag on
12379 windows-nt as well.
12380
12381 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12382
12383 * electric.el (electric-indent-post-self-insert-function): Check that
12384 electric-indent-mode is enabled in current buffer.
12385
12386 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12387
12388 * imenu.el (imenu-progress-message): Restore; it is "used" in
12389 erc/erc-imenu.el and net/snmp-mode.el.
12390
12391 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12392
12393 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12394 (mouse-avoidance-nudge-mouse): Remove unused binding.
12395
12396 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12397
12398 * descr-text.el (describe-char):
12399 * progmodes/python.el (python-describe-symbol):
12400 Don't call `toggle-read-only', set `buffer-read-only'.
12401
12402 * imenu.el (imenu-default-goto-function): Mark unused args.
12403 (imenu-progress-message): Remove obsolete macro; all callers changed.
12404
12405 * subr.el (keymap-canonicalize): Remove unused binding.
12406 (read-passwd): Mark unused arg.
12407
12408 * tutorial.el (tutorial--display-changes): Remove unused binding.
12409 (tutorial--save-tutorial-to): Remove unused variable.
12410
12411 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12412 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12413 (package-generate-autoloads, package-menu--generate)
12414 (package-menu--find-upgrades): Remove unused bindings.
12415
12416 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12417 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12418 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12419 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12420 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12421 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12422 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12423 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12424 (cua-delete-char-rectangle): Mark unused args.
12425 (cua-align-rectangle): Remove unused binding.
12426
12427 * mail/rmail.el (compilation--message->loc)
12428 (epa--find-coding-system-for-mime-charset): Declare.
12429
12430 * net/dbus.el (dbus-register-service): Declare.
12431 (dbus-name-owner-changed-handler): Remove unused binding.
12432
12433 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12434 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12435 (nxml-scan-backward-within): Mark unused arg.
12436 (nxml-dynamic-markup-word): Remove unused binding.
12437
12438 * mouse.el (mouse-menu-major-mode-map):
12439 * emacs-lisp/authors.el (authors-scan-change-log)
12440 (authors-add-to-author-list):
12441 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12442 * emacs-lisp/smie.el (smie-auto-fill):
12443 * mail/sendmail.el (mail-bury):
12444 * mail/unrmail.el (unrmail):
12445 * net/tls.el (open-tls-stream):
12446 * textmodes/picture.el (picture-mouse-set-point):
12447 Remove unused bindings.
12448
12449 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12450
12451 * net/tramp.el (tramp-action-password): Let-bind
12452 `enable-recursive-minibuffers' to t.
12453
12454 2012-04-18 Sam Steingold <sds@gnu.org>
12455
12456 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12457 instead of 'string to accommodate values like [f11].
12458 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12459 * progmodes/gdb-mi.el: Likewise.
12460
12461 2012-04-18 Leo Liu <sdl.web@gmail.com>
12462
12463 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12464 current buffer.
12465 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12466 LOCAL is nil.
12467
12468 2012-04-18 Chong Yidong <cyd@gnu.org>
12469
12470 * simple.el (line-move): Use forward-line if in batch mode
12471 (Bug#11053).
12472
12473 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12474
12475 * files.el (after-find-file): Do not try to add a final newline if
12476 the buffer is read-only (Bug#11156).
12477
12478 2012-04-17 Richard Stallman <rms@gnu.org>
12479
12480 * mail/rmail.el (rmail-start-mail):
12481 Pass (rmail-mail-return...) for the return-action.
12482 Pass (rmail-yank-current-message...) for the yank-action.
12483 (rmail-yank-current-message): New function.
12484 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12485 (rmail-reply): Likewise.
12486 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12487
12488 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12489 buffer, not the last. Reject temp buffers. Use the rmail-mode
12490 buffer, not newbuf.
12491
12492 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12493
12494 * server.el (server-ensure-safe-dir): Simplify.
12495
12496 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12497
12498 * emacs-lisp/smie.el: Provide smarter auto-filling.
12499 (smie-auto-fill): New function.
12500 (smie-setup): Use it.
12501
12502 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12503
12504 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12505
12506 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12507 (comment-indent): Use it.
12508
12509 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12510
12511 * ses.el: The overall change is to add cell renaming, that is
12512 setting fancy names for cell symbols other than name matching
12513 "\\`[A-Z]+[0-9]+\\'" regexp .
12514 (ses-localvars): Add ses--renamed-cell-symb-list.
12515 (ses-create-cell-variable): New defun.
12516 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12517 (ses-relocate-formula): Relocate formulas only for cells the
12518 symbols of which are not renamed, i.e. symbols whose names do not
12519 match regexp "\\`[A-Z]+[0-9]+\\'".
12520 (ses-relocate-all): Relocate values only for cells the symbols of
12521 which are not renamed.
12522 (ses-load): Create cells variables as the (ses-cell ...) are read,
12523 in order to check row col consistency with cell symbol name only
12524 for cells that are not renamed.
12525 (ses-replace-name-in-formula): New defun.
12526 (ses-rename-cell): New defun.
12527
12528 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12529
12530 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12531 New option (bug#11118).
12532 (perl-calculate-indent): Respect it.
12533
12534 2012-04-17 Glenn Morris <rgm@gnu.org>
12535
12536 * dired-aux.el (dired-mark-read-string): Doc fix.
12537
12538 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12539
12540 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12541 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12542
12543 2012-04-17 Glenn Morris <rgm@gnu.org>
12544
12545 * mouse.el (mouse-drag-track):
12546 * speedbar.el (speedbar-frame-mode):
12547 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12548
12549 2012-04-16 Leo Liu <sdl.web@gmail.com>
12550
12551 * progmodes/python.el: Trivial cleanup.
12552
12553 2012-04-16 Glenn Morris <rgm@gnu.org>
12554
12555 * vc/vc.el (vc-string-prefix-p):
12556 * vc/pcvs-util.el (cvs-string-prefix-p):
12557 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12558 * mpc.el (mpc-string-prefix-p):
12559 Make all of these into obsolete aliases for string-prefix-p.
12560 Update callers.
12561 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12562
12563 * textmodes/two-column.el: Move custom options to the start.
12564 (frame-width): Remove compat definition.
12565 (2C-associate-buffer, 2C-dissociate):
12566 Use with-current-buffer rather than save-excursion.
12567 (2C-dissociate): Force a mode-line update.
12568 (2C-autoscroll): Use ignore-errors.
12569
12570 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12571 Autoload trivia.
12572
12573 * emacs-lisp/cl-extra.el (*random-state*):
12574 Remove unnecessary declaration.
12575
12576 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12577
12578 * play/cookie1.el (cookie-snarf):
12579 Give an explicit error if input file cannot be read.
12580
12581 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12582
12583 * progmodes/perl-mode.el (c-macro-expand):
12584 Remove unnecessary autoload (it is in loaddefs.el).
12585
12586 * textmodes/picture.el (picture-desired-column)
12587 (picture-update-desired-column): Convert comments to doc-strings.
12588 (picture-substitute): Remove function.
12589 (picture-mode-map): Initialize in the defvar.
12590
12591 * woman.el: Remove eval-after-load for tar-mode.
12592 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12593 (woman-tar-extract-file): Autoload it.
12594
12595 * frame.el (automatic-hscrolling): Make this alias obsolete.
12596
12597 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12598
12599 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12600 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12601 (ispell-dictionary-base-alist): Revert to original XEmacs
12602 friendly version for default. [:alpha:] will be added in
12603 `ispell-set-spellchecker-params' if needed.
12604
12605 2012-04-16 Chong Yidong <cyd@gnu.org>
12606
12607 * image.el (imagemagick--file-regexp): New variable.
12608 (imagemagick-register-types): Use it.
12609 (imagemagick-types-inhibit): Add :set function. Allow new value
12610 of t to inhibit all types.
12611
12612 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12613 so we can preload it.
12614
12615 * loadup.el (fboundp): Preload regexp-opt, needed by
12616 imagemagick-register-types.
12617
12618 2012-04-15 Chong Yidong <cyd@gnu.org>
12619
12620 * frame.el (scrolling): Remove nearly unused customization group.
12621
12622 * scroll-all.el (scroll-all-mode): Move to windows group.
12623
12624 2012-04-15 Chong Yidong <cyd@gnu.org>
12625
12626 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12627
12628 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12629
12630 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12631 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12632
12633 2012-04-15 Glenn Morris <rgm@gnu.org>
12634
12635 * simple.el (process-file-side-effects): Doc fix.
12636
12637 2012-04-15 Glenn Morris <rgm@gnu.org>
12638
12639 * international/mule-cmds.el (set-language-environment): Doc fix.
12640
12641 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12642
12643 * server.el (server-auth-key, server-generate-key): Doc fixes.
12644 (server-get-auth-key): Doc fix. Use `string-match-p'.
12645 (server-start): Reflow docstring.
12646
12647 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12648
12649 * server.el (server-generate-key): `called-interactively-p'
12650 requires a parameter.
12651
12652 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12653
12654 * server.el (server-auth-key): New variable.
12655 (server-generate-key, server-get-auth-key): New function.
12656 (server-start): Use the new variable and functions to allow
12657 setting a permanent server key (bug#9423).
12658
12659 2012-04-14 Leo Liu <sdl.web@gmail.com>
12660
12661 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12662
12663 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12664
12665 Spelling fixes.
12666 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12667 Emacs uses American spelling.
12668
12669 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12670
12671 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12672 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12673 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12674 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12675
12676 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12677
12678 * progmodes/which-func.el (which-func-modes): Change default.
12679
12680 2012-04-14 Kim F. Storm <storm@cua.dk>
12681
12682 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12683 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12684
12685 2012-04-14 Chong Yidong <cyd@gnu.org>
12686
12687 * custom.el (custom-theme-set-variables): Doc fix.
12688
12689 2012-04-14 Glenn Morris <rgm@gnu.org>
12690
12691 * international/mule.el (set-auto-coding-for-load): Doc fix.
12692
12693 2012-04-14 Alan Mackenzie <acm@muc.de>
12694
12695 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12696 imenu work again for Objective C Mode. Correct the *-index values,
12697 these having been disturbed by a previous change in 2011-08.
12698
12699 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12700 Correct two search limits.
12701
12702 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12703
12704 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12705
12706 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12707
12708 * international/characters.el: Fix sorting.
12709
12710 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12711
12712 * international/characters.el: Add more missing Latin case pairs.
12713
12714 2012-04-14 Glenn Morris <rgm@gnu.org>
12715
12716 * files.el (dir-locals-set-class-variables): Doc fix.
12717
12718 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12719
12720 * international/characters.el: Add set-case-syntax-pair call for
12721 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12722 counterpart. (Bug#11209)
12723
12724 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12725
12726 2012-04-14 Glenn Morris <rgm@gnu.org>
12727
12728 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12729
12730 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12731
12732 * textmodes/ispell.el (ispell-dictionary-base-alist):
12733 Add data for Hebrew.
12734
12735 2012-04-14 Chong Yidong <cyd@gnu.org>
12736
12737 * net/rcirc.el (rcirc-cmd-quit):
12738 Revert 2012-03-18 change (Bug#11192).
12739
12740 2012-04-14 Glenn Morris <rgm@gnu.org>
12741
12742 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12743
12744 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12745
12746 * minibuffer.el (completion-in-region-mode-map):
12747 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12748
12749 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12750
12751 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12752
12753 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12754
12755 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12756 to allow `C-M-f' and `C-M-b' to move to the nearest path
12757 separator (bug#9511).
12758
12759 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12760
12761 * avoid.el: Require cl when compiling. And also move the
12762 `provide' to the end.
12763
12764 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12765
12766 * avoid.el (mouse-avoidance-banish-position): New variable.
12767 (mouse-avoidance-banish-destination): Use it (bug#10165).
12768
12769 2012-04-13 Leo Liu <sdl.web@gmail.com>
12770
12771 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12772
12773 2012-04-13 Ken Brown <kbrown@cornell.edu>
12774
12775 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12776 this is no longer needed now that cygstart understands file:// URLs.
12777 (browse-url-filename-alist): For the same reason, don't modify
12778 file:// URLs on Cygwin.
12779
12780 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12781
12782 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12783 the region on shift if the binding is already shifted (bug#11221).
12784
12785 2012-04-12 Glenn Morris <rgm@gnu.org>
12786
12787 * mail/mailpost.el: Move to obsolete/.
12788
12789 2012-04-12 Drew Adams <drew.adams@oracle.com>
12790
12791 * imenu.el (imenu--generic-function): Ignore invisible definitions
12792 (bug#10123).
12793
12794 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12795
12796 * hexl.el (hexl-bits): New variable.
12797 (hexl-options): Mention the variable in the doc string.
12798 (hexl-rulerise, hexl-line-displen): New functions.
12799 (hexl-mode): Mention the new variable.
12800 (hexl-mode, hexl-current-address, hexl-current-address):
12801 Use the displen.
12802 (hexl-ascii-start-column): New function.
12803 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12804 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12805
12806 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12807
12808 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12809 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12810 the encoding, as expected by hunspell.
12811
12812 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12813
12814 * battery.el (battery--linux-sysfs-regexp): New const.
12815 (battery-status-function): Use it. Remove yeeloong special case.
12816 (battery-yeeloong-sysfs): Remove.
12817 (battery-echo-area-format): Remove yeeloong special case.
12818
12819 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12820
12821 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12822 Reported by Noah Friedman.
12823
12824 * subr.el (read-passwd): Use read-string.
12825
12826 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12827
12828 * vcursor.el (vcursor-move): Increase the priority of the overlay
12829 (bug#9663).
12830
12831 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12832
12833 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12834 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12835
12836 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12837
12838 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12839 define-minor-mode (bug#10760).
12840
12841 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12842
12843 * progmodes/grep.el (rgrep): Tweak the find command line so
12844 that directories matching `grep-find-ignored-files' won't be
12845 pruned (bug#10351).
12846
12847 2012-04-11 Chong Yidong <cyd@gnu.org>
12848
12849 * startup.el (command-line): Remove support for long-obsolete
12850 variable font-lock-face-attributes.
12851
12852 2012-04-11 Glenn Morris <rgm@gnu.org>
12853
12854 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12855
12856 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12857
12858 * window.el (window--state-get-1): Obey window-point-insertion-type.
12859
12860 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12861
12862 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12863 to previous function when point is on the first character of a
12864 function. Take care of that in `narrow-to-defun' (bug#6157).
12865
12866 2012-04-11 Glenn Morris <rgm@gnu.org>
12867
12868 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12869 not just file-errors.
12870
12871 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12872 (vc-bzr-sha1): Use internal sha1.
12873
12874 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12875
12876 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12877
12878 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12879
12880 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12881 that start in the middle of the line (bug#10496).
12882
12883 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12884
12885 * battery.el (battery-linux-proc-acpi): Only one battery is
12886 discharged at a time, but that seems to confuse battery.el when
12887 computing `rate-type' for the battery not being discharged
12888 (bug#10332).
12889
12890 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12891
12892 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12893
12894 * international/quail.el: Use dolist and simplify.
12895 (quail-define-package, quail-update-keyboard-layout)
12896 (quail-define-rules): Use dolist.
12897 (quail-insert-kbd-layout, quail-get-translation): CSE.
12898
12899 * tmm.el: Use dolist, remove left over hook.
12900 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12901 Use dolist.
12902 (calendar-load-hook): Don't mess with it.
12903
12904 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12905 Use derived-mode-p. Run the diff asynchronously.
12906
12907 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12908
12909 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12910
12911 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12912
12913 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12914 (list-dynamic-libraries--loaded): New function.
12915 (list-dynamic-libraries--refresh): Use it.
12916
12917 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12918
12919 * progmodes/python.el (python-fill-paragraph):
12920 Make python-fill-region in a multiline string work when font-lock is
12921 disabled (bug#7018).
12922
12923 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12924
12925 * language/european.el (cp775): Add oem/legacy (en)coding on
12926 DOS/MS Windows for the Baltic languages. There are still plenty
12927 of texts written in this encoding/codepage (bug#6519).
12928
12929 2012-04-10 Glenn Morris <rgm@gnu.org>
12930
12931 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12932 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12933
12934 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12935
12936 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12937 next-line "n" and previous-line "p" in order to make recentf more
12938 consistent with ibuffer, dired or org-mode (bug#9387).
12939
12940 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12941
12942 * image.el (put-image): Return the overlay created instead of the
12943 optional input string (bug#7834). Note that this may break code
12944 that is (for some reason or other) depending on `put-image'
12945 returning the string.
12946
12947 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12948
12949 * simple.el (zap-to-char): Allow zapping using input methods
12950 (bug#1580).
12951
12952 * textmodes/fill.el (fill-region): Leave point and mark where they
12953 were before filling (bug#5399).
12954
12955 2012-04-09 Glenn Morris <rgm@gnu.org>
12956
12957 * version.el (emacs-bzr-get-version):
12958 Handle lightweight checkouts of local branches.
12959
12960 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12961
12962 * international/characters.el: Recover lost case pairs. (Bug#11209)
12963
12964 2012-04-09 Chong Yidong <cyd@gnu.org>
12965
12966 * custom.el (custom-variable-p): Return nil for non-symbol
12967 arguments instead of signaling an error.
12968 (user-variable-p): Obsolete alias for custom-variable-p.
12969
12970 * apropos.el (apropos-variable):
12971 * files-x.el (read-file-local-variable):
12972 * simple.el (set-variable):
12973 * woman.el (woman-mini-help):
12974 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12975
12976 2012-04-09 Glenn Morris <rgm@gnu.org>
12977
12978 * startup.el (normal-top-level): Don't look for leim-list.el
12979 in places where it will not be found. (Bug#910)
12980
12981 * international/mule-cmds.el (set-default-coding-systems):
12982 * files.el (normal-mode):
12983 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12984 This function was removed with ucs-tables.el in 2008.
12985
12986 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12987
12988 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12989 ispell-encoding8-command to "-i", without a trailing space.
12990 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12991 separate command-line arguments, to specify the encoding, since
12992 that's how hunspell expects it.
12993
12994 2012-04-08 Glenn Morris <rgm@gnu.org>
12995
12996 * loadup.el: Load bindings before cus-start.
12997 This reduces somewhat the number of "rogue" settings in emacs -Q.
12998
12999 2012-04-07 Glenn Morris <rgm@gnu.org>
13000
13001 * version.el (emacs-bzr-get-version): New function.
13002 (emacs-bzr-version): New variable.
13003 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13004 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13005
13006 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13007
13008 * international/uni-bidi.el, international/uni-category.el:
13009 * international/uni-combining.el, international/uni-decimal.el:
13010 * international/uni-decomposition.el, international/uni-digit.el:
13011 * international/uni-lowercase.el, international/uni-mirrored.el:
13012 * international/uni-name.el, international/uni-numeric.el:
13013 * international/uni-titlecase.el, international/uni-uppercase.el:
13014 Update for Unicode 6.1.
13015
13016 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13017
13018 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13019
13020 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13021
13022 * window.el (shrink-window): Mention the `window-min-height'
13023 variable in the doc string.
13024
13025 2012-04-05 Bastien Guerry <bzg@altern.org>
13026
13027 * color.el (color-lighten-name): Fix typo.
13028
13029 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13030
13031 * server.el (server--on-display-p): New function.
13032 (server--on-display-p): Use it.
13033
13034 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13035
13036 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13037 (bug#11145).
13038
13039 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13040
13041 * comint.el (comint--common-quoted-suffix): Check string boundary
13042 before comparing (bug#11158).
13043 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13044
13045 2012-04-04 Chong Yidong <cyd@gnu.org>
13046
13047 * minibuffer.el (completion-extra-properties): Doc fix.
13048
13049 * subr.el (delayed-warnings-hook): Doc fix.
13050
13051 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13052
13053 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13054 selection (Bug#11159).
13055 (epa-insert-keys): Inform that the default public key will be
13056 exported if no key is selected.
13057
13058 2012-04-04 Richard Stallman <rms@gnu.org>
13059
13060 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13061
13062 2012-04-03 Chong Yidong <cyd@gnu.org>
13063
13064 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13065 mail-insert-file, not its obsolete alias mail-attach-file.
13066
13067 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13068
13069 * notifications.el (notifications-notify): Fix docstring.
13070
13071 2012-04-02 Glenn Morris <rgm@gnu.org>
13072
13073 * emacs-lisp/authors.el (authors-aliases): Another addition.
13074
13075 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13076
13077 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13078 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13079 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13080
13081 2012-04-01 Chong Yidong <cyd@gnu.org>
13082
13083 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13084 Handle root directory properly.
13085 (copy-directory): Caller changed.
13086
13087 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13088 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13089
13090 2012-03-31 Glenn Morris <rgm@gnu.org>
13091
13092 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13093
13094 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13095
13096 * calendar/calendar.el (calendar-window-list)
13097 (calendar-hide-window): Restore. (Bug#11140)
13098 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13099
13100 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13101
13102 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13103
13104 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13105 Check if file is a symlink (Bug#10489).
13106
13107 * files.el (copy-directory): Likewise.
13108
13109 2012-03-30 Chong Yidong <cyd@gnu.org>
13110
13111 * image.el (imagemagick-types-inhibit)
13112 (imagemagick-register-types): Doc fix.
13113
13114 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13115
13116 * textmodes/ispell.el (ispell-get-extended-character-mode):
13117 Disable extended-char-mode for hunspell. hunspell does not support it
13118 and treats ~word as ordinary words in pipe mode.
13119
13120 2012-03-30 Glenn Morris <rgm@gnu.org>
13121
13122 * tutorial.el (help-with-tutorial): Ensure local variables don't
13123 happen to make the buffer read-only. (Bug#11127)
13124
13125 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13126
13127 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13128 (perl-calculate-indent): Return `noindent' in strings.
13129
13130 2012-03-28 Sam Steingold <sds@gnu.org>
13131
13132 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13133 instead of the broken adhockery which does not prevent calendar
13134 buffers from being displayed at random after exit.
13135 (calendar-window-list, calendar-hide-window): Remove the broken
13136 adhockery.
13137
13138 2012-03-28 Glenn Morris <rgm@gnu.org>
13139
13140 * replace.el (query-replace-map): Doc fix.
13141
13142 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13143
13144 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13145 contents. (Bug#11109)
13146
13147 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13148
13149 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13150 (bug#11077).
13151 (avl-tree--check, avl-tree--check-node): New funs.
13152
13153 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13154
13155 * window.el (switch-to-visible-buffer): New option.
13156 (switch-to-prev-buffer, switch-to-next-buffer):
13157 Observe switch-to-visible-buffer. Make sure that checking for a window
13158 showing a buffer already is done on the same frame.
13159
13160 2012-03-27 Glenn Morris <rgm@gnu.org>
13161
13162 * startup.el (mail-host-address): Doc fix.
13163
13164 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13165
13166 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13167 than 197 variables.
13168
13169 2012-03-26 Ami Fischman <ami@fischman.org>
13170
13171 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13172
13173 2012-03-26 Glenn Morris <rgm@gnu.org>
13174
13175 * files.el (save-buffers-kill-emacs): Doc fix.
13176
13177 * startup.el (normal-top-level, command-line, command-line-1):
13178 Give them doc strings.
13179
13180 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13181
13182 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13183 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13184
13185 2012-03-25 Chong Yidong <cyd@gnu.org>
13186
13187 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13188 theme if it was previously enabled before (Bug#11031).
13189
13190 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13191 spec with custom-face-get-current-spec if its :shown-value is not
13192 determined yet (Bug#9337).
13193 (customize-create-theme, custom-theme-revert): Doc fixes.
13194
13195 * button.el (button-at): Minor addition to docstring.
13196
13197 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13198
13199 * vc/vc.el (vc-merge): Fix a prompt.
13200
13201 2012-03-24 Chong Yidong <cyd@gnu.org>
13202
13203 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13204 point (Bug#9623).
13205
13206 * button.el (button-at): Minor addition to docstring.
13207
13208 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13209
13210 * newcomment.el (comment-choose-indent): No space after BOL.
13211
13212 2012-03-22 Sam Steingold <sds@gnu.org>
13213
13214 * window.el (switch-to-prev-buffer): Revert last patch because the
13215 bug turned out to be an advertised feature (Elisp manual 28.14).
13216
13217 2012-03-22 Glenn Morris <rgm@gnu.org>
13218
13219 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13220 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13221
13222 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13223
13224 * net/network-stream.el (network-stream-open-starttls): Make error
13225 message under Windows be less misleading.
13226
13227 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13228
13229 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13230 understands (bug#9942).
13231
13232 2012-03-22 Chong Yidong <cyd@gnu.org>
13233
13234 * simple.el (end-of-visible-line): Handle return value of
13235 next-single-property-change properly (Bug#9371).
13236
13237 2012-03-22 Kenichi Handa <handa@m17n.org>
13238
13239 * international/quail.el (quail-insert-kbd-layout): Fix previous
13240 change. To avoid unwanted bidi reordering, use
13241 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13242
13243 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13244
13245 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13246 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13247 (ruby-beginning-of-indent): Be more careful with the difference
13248 between word-boundary and symbol boundary.
13249 (ruby-mode-syntax-table): Make : a symbol constituent.
13250
13251 2012-03-21 Andreas Politz <politza@fh-trier.de>
13252
13253 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13254
13255 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13256
13257 * progmodes/etags.el (tags-completion-at-point-function):
13258 Improve last fix.
13259
13260 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13261
13262 2012-03-21 Sam Steingold <sds@gnu.org>
13263
13264 * progmodes/etags.el (tags-completion-at-point-function):
13265 Avoid the error when point is inside the pattern.
13266
13267 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13268
13269 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13270 line (Bug#10855).
13271
13272 2012-03-21 Drew Adams <drew.adams@oracle.com>
13273
13274 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13275
13276 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13277
13278 * ido.el (ido-set-current-directory, ido-read-internal)
13279 (ido-choose-completion-string, ido-completion-help): Handle nil
13280 value of ido-completion-buffer (Bug#11008).
13281
13282 2012-03-21 Sam Steingold <sds@gnu.org>
13283
13284 * window.el (switch-to-prev-buffer): Do not switch to a visible
13285 window previous buffer, just like with the frame previous buffers.
13286
13287 2012-03-21 Chong Yidong <cyd@gnu.org>
13288
13289 * faces.el (make-face, make-empty-face, copy-face):
13290 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13291 Doc fixes.
13292
13293 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13294
13295 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13296 (widget-complete): Remove broken use of it.
13297
13298 2012-03-20 Chong Yidong <cyd@gnu.org>
13299
13300 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13301 Use string-width and truncate-string-width to handle arbitrary
13302 characters.
13303
13304 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13305
13306 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13307 to draw rectangles, not squares. (Regression introduced by revno
13308 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13309
13310 2012-03-18 Chong Yidong <cyd@gnu.org>
13311
13312 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13313 it is not yet defined (for temacs).
13314
13315 2012-03-18 Leo Liu <sdl.web@gmail.com>
13316
13317 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13318 prefix.
13319
13320 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13321
13322 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13323 (ispell-choices-win-default-height, ispell-silently-savep)
13324 (ispell-dictionary-alist, ispell-encoding8-command)
13325 (ispell-check-version, ispell-aspell-find-dictionary)
13326 (ispell-valid-dictionary-list, ispell-words-keyword)
13327 (ispell-get-word, ispell-internal-change-dictionary)
13328 (ispell-region, ispell-skip-region-list)
13329 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13330 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13331 (ispell-message-text-end, ispell-message)
13332 (ispell-buffer-local-parsing): Doc fix.
13333
13334 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13335
13336 * htmlfontify.el: Add support for code block fontification for ODT
13337 export (Bug #9914).
13338 (hfy-optimisations): Define new option
13339 `body-text-only'
13340 (hfy-fontify-buffer): Honor above setting.
13341 (hfy-begin-span, hfy-end-span): New routines factored out form
13342 `hfy-fontify-buffer'.
13343 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13344 that permit insertion of custom tags.
13345 (hfy-fontify-buffer): Use above handlers.
13346 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13347 (hfy-face-to-css): Re-defined to be a variable.
13348 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13349 over multiple runs. This is made possible by having the caller let
13350 bind a special variable `hfy-user-sheet-assoc'.
13351 (htmlfontify-string): New defun.
13352 (hfy-compile-face-map): Make sure that the last char in the
13353 buffer is correctly fontified.
13354 (hfy-face-resolve-face): Whitespace only change.
13355
13356 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13357
13358 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13359 message more clear.
13360
13361 2012-03-16 Leo Liu <sdl.web@gmail.com>
13362
13363 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13364
13365 2012-03-16 Alan Mackenzie <acm@muc.de>
13366
13367 Further optimize the handling of large macros.
13368
13369 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13370 limit to a call of `c-literal-limits'.
13371 (c-determine-+ve-limit): New function.
13372 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13373 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13374 In CASE 5B, restrict a search limit to 500.
13375 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13376
13377 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13378 Restrict macro bounds to +-500 from after-change's BEG END.
13379
13380 2012-03-16 Leo Liu <sdl.web@gmail.com>
13381
13382 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13383
13384 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13385
13386 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13387 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13388
13389 2012-03-16 Glenn Morris <rgm@gnu.org>
13390
13391 * view.el (view-buffer, view-buffer-other-window)
13392 (view-buffer-other-frame): Doc fixes re special mode-class.
13393
13394 * subr.el (eval-after-load): If named feature is provided not from
13395 a file, run after-load forms. (Bug#10946)
13396
13397 * calendar/calendar.el (calendar-insert-at-column):
13398 Handle non-unit-width characters a bit better. (Bug#10978)
13399
13400 2012-03-15 Chong Yidong <cyd@gnu.org>
13401
13402 * emacs-lisp/ring.el (ring-extend): New function.
13403 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13404
13405 * comint.el (comint-read-input-ring)
13406 (comint-add-to-input-history): Grow comint-input-ring lazily.
13407
13408 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13409
13410 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13411 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13412
13413 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13414 (imenu-add-to-menubar): Don't add a redundant index.
13415 (imenu-update-menubar): Handle a dynamically composed keymap.
13416
13417 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13418
13419 * mail/sendmail.el (mail-encode-header):
13420 Bind rfc2047-encode-encoded-words to nil.
13421
13422 2012-03-13 Glenn Morris <rgm@gnu.org>
13423
13424 * calendar/calendar.el (calendar-string-spread):
13425 Handle non-unit-width characters a bit better. (Bug#10978)
13426
13427 2012-03-13 Leo Liu <sdl.web@gmail.com>
13428
13429 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13430 directory and file as argument (Bug#10822).
13431
13432 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13433
13434 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13435 For dynamically generated code, follow $PC.
13436 (gdb-disassembly-handler-custom): Handle no function name case.
13437
13438 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13439
13440 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13441 * emulation/ws-mode.el (ws-query-replace):
13442 * sort.el (sort-regexp-fields):
13443 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13444
13445 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13446
13447 * dabbrev.el: Fix cycle completion order (bug#10963).
13448 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13449 (dabbrev-completion): Don't use an obarray; provide
13450 a cycle-sort-function.
13451
13452 2012-03-12 Leo Liu <sdl.web@gmail.com>
13453
13454 * simple.el (kill-new): Use equal-including-properties for comparison.
13455 (kill-do-not-save-duplicates): Doc fix.
13456
13457 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13458
13459 * dabbrev.el: Fix cycle completion (bug#10963).
13460 Use lexical binding and wrap to 80 columns.
13461 (dabbrev-completion): Delay computing the list of completions.
13462
13463 2012-03-12 Kenichi Handa <handa@m17n.org>
13464
13465 * international/quail.el (quail-insert-kbd-layout): Surround each
13466 row by LRO and PDF instead of inserting many LRMs. Pad the left
13467 and right of each non-spacing marks. Insert invisible space
13468 between lower and upper characters to prevent composition.
13469
13470 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13471
13472 * minibuffer.el (minibuffer-complete): Don't get confused when the
13473 function is run twice via different commands (bug#10958).
13474 (complete-with-action): Fix docstring.
13475
13476 2012-03-12 Chong Yidong <cyd@gnu.org>
13477
13478 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13479 (nxml-completion-at-point-function): New function.
13480 (nxml-mode): Use it.
13481 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13482
13483 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13484 Load generated autoloads file before byte compiling (Bug#10970).
13485 (package--make-autoloads-and-compile): New helper fun.
13486
13487 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13488
13489 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13490
13491 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13492
13493 * autorevert.el (auto-revert-handler): Ensure, that
13494 file-readable-p is applied only for local files or in
13495 auto-revert-tail-mode.
13496
13497 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13498
13499 * server.el (server-eval-at): Handle non-tcp connections.
13500 Decode result string.
13501
13502 * server.el (server-msg-size): New constant.
13503 (server-reply-print): New function.
13504 (server-eval-and-print): Use it.
13505 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13506 Handle -print-nonl.
13507
13508 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13509
13510 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13511 (Bug#10987).
13512
13513 2012-03-11 Chong Yidong <cyd@gnu.org>
13514
13515 * simple.el (goto-line): Doc fix (Bug#9938).
13516
13517 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13518
13519 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13520 when finished (Bug#10963).
13521
13522 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13523
13524 * window.el (split-window-below): Fix bug in case where
13525 split-window-keep-point is nil (Bug#10971).
13526
13527 2012-03-11 Juri Linkov <juri@jurta.org>
13528
13529 * replace.el (replace-highlight): Set isearch-word to nil
13530 unconditionally. (Bug#10887)
13531
13532 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13533
13534 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13535 mairix-replace-illegal-chars; all callers changed. Don't remove
13536 ^, ~, and = characters: they are meaningful in mairix search specs.
13537 (mairix-widget-create-query): Add usage information about mairix
13538 search forms: negating words, searching for substrings, etc.
13539
13540 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13541
13542 * international/fontset.el (font-encoding-alist): Add an entry for
13543 ksx1001 (Bug#5667).
13544
13545 2012-03-10 Richard Stallman <rms@gnu.org>
13546
13547 * mail/sendmail.el (mail-encode-header):
13548 Set rfc2047-encode-encoded-words.
13549
13550 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13551
13552 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13553 view buffer means not swapped.
13554 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13555 (rmail-write-region-annotate): Error if real text has disappeared.
13556
13557 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13558
13559 2012-03-10 Chong Yidong <cyd@gnu.org>
13560
13561 * emulation/cua-rect.el (cua--init-rectangles):
13562 * emulation/cua-base.el (cua--init-keymaps):
13563 Add delete-forward-char to remappings (Bug#9666).
13564
13565 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13566
13567 * speedbar.el (speedbar-unhighlight-one-tag-line):
13568 Avoid unhighlighting due to frame switching (Bug#10275).
13569
13570 2012-03-10 Chong Yidong <cyd@gnu.org>
13571
13572 * minibuffer.el (completion-in-region, completion-help-at-point):
13573 Give the completion field overlay a high priority (Bug#6830).
13574
13575 * dired.el (dired-goto-file): Recognize absolute file name
13576 listings (Bug#7126).
13577 (dired-goto-file-1): New helper function.
13578 (dired-toggle-read-only): Inhibit warnings.
13579
13580 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13581
13582 * net/dbus.el (dbus-property-handler): Return empty array if
13583 there are no properties.
13584
13585 2012-03-09 Leo Liu <sdl.web@gmail.com>
13586
13587 * savehist.el (savehist-printable): Stricter check for string
13588 value (Bug#10937).
13589
13590 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13591
13592 * mail/smtpmail.el (smtpmail-send-it):
13593 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13594 valid mbox format.
13595
13596 2012-03-09 Glenn Morris <rgm@gnu.org>
13597
13598 * files.el (dir-locals-find-file):
13599 Don't check result is regular, readable.
13600 (dir-locals-read-from-file): Demote errors.
13601
13602 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13603
13604 * international/quail.el (quail-insert-kbd-layout):
13605 Insert invisible LRM characters before each character in a keyboard
13606 layout cell, to prevent their reordering by bidi display engine.
13607 For details, see the discussion in
13608 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13609
13610 2012-03-08 Alan Mackenzie <acm@muc.de>
13611
13612 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13613 the starting position; make it extend the marked region when
13614 invoked repeatedly - all under appropriate circumstances.
13615 Fixes bugs #5525, #10906.
13616
13617 2012-03-08 Glenn Morris <rgm@gnu.org>
13618
13619 * files.el (locate-dominating-file, dir-locals-find-file):
13620 Undo 2012-03-06 change.
13621
13622 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13623
13624 * international/quail.el (quail-help):
13625 Force bidi-paragraph-direction be left-to-right. See discussion in
13626 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13627 for the reason.
13628
13629 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13630
13631 Avoid superfluous registering of signals. (Bug#10807)
13632
13633 * notifications.el (notifications-on-action-object)
13634 (notifications-on-close-object): New defvars.
13635 (notifications-on-action-signal, notifications-on-closed-signal):
13636 Unregister the signal if not needed any longer.
13637 (notifications-notify): Register `notifications-action-signal' or
13638 `notifications-closed-signal', if :on-action or :on-close has been
13639 passed as argument.
13640
13641 2012-03-07 Chong Yidong <cyd@gnu.org>
13642
13643 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13644 non-X platforms.
13645
13646 2012-03-06 Glenn Morris <rgm@gnu.org>
13647
13648 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13649 (x-disown-selection-internal, x-get-selection-internal):
13650 Doc fix (add arglist signatures). (Bug#10783)
13651
13652 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13653
13654 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13655 Handle breakpoints with no "type".
13656
13657 2012-03-06 Glenn Morris <rgm@gnu.org>
13658
13659 * files.el (locate-dominating-file): Add optional predicate argument.
13660 (dir-locals-find-file): Make use of above change.
13661
13662 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13663
13664 * info.el (Info-insert-dir): Also try "dir.gz".
13665
13666 2012-03-06 Glenn Morris <rgm@gnu.org>
13667
13668 * files.el (dir-locals-find-file):
13669 Ignore non-readable or non-regular files. (Bug#10928)
13670
13671 * files.el (locate-dominating-file): Doc fix.
13672
13673 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13674
13675 * calendar/calendar.el (calendar-set-mode-line):
13676 `getenv' returns a string. (Bug#10951)
13677
13678 2012-03-05 Leo Liu <sdl.web@gmail.com>
13679
13680 * simple.el (backward-delete-char-untabify): Constrain point to
13681 field (Bug#10939).
13682
13683 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13684
13685 2012-03-05 Chong Yidong <cyd@gnu.org>
13686
13687 * simple.el (count-words): If called from Lisp, return the word
13688 count, for symmetry with `count-lines'. Arglist changed.
13689 (count-words--message): Args changed. Consolidate counting code
13690 from count-words and count-words-region.
13691 (count-words-region): Caller changed.
13692 (count-lines-region): Make it an obsolete alias.
13693
13694 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13695
13696 * saveplace.el (save-place-to-alist)
13697 (save-place-ignore-files-regexp): Allow value nil to disable this
13698 feature.
13699
13700 2012-03-04 Chong Yidong <cyd@gnu.org>
13701
13702 * faces.el (face-spec-reset-face): For the default face, reset the
13703 attributes to default values (Bug#10748).
13704
13705 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13706
13707 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13708 previous patch: Check `message-send-mail-function', and not the
13709 default function (bug#10897).
13710
13711 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13712
13713 * notifications.el (notifications-on-action-signal)
13714 (notifications-on-closed-signal): Check for unique service name of
13715 incoming event. Fix error in removing entry.
13716 (top): Register for signals with wildcard service name.
13717 (notifications-notify): Use daemon unique service name for map entries.
13718
13719 2012-03-04 Chong Yidong <cyd@gnu.org>
13720
13721 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13722
13723 2012-03-04 Glenn Morris <rgm@gnu.org>
13724
13725 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13726 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13727 (expand-abbrev, define-abbrev-table): Doc fixes.
13728
13729 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13730
13731 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13732 `message-default-send-mail-function' and not `send-mail-function'
13733 when doing the prompting for `sendmail-query-once' before sending
13734 in Message buffers (bug#10897).
13735
13736 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13737 This is inconsistent with all the other stream functions, which leave
13738 the setting up to the higher levels (if so wanted) (bug#10931).
13739
13740 2012-03-02 Alan Mackenzie <acm@muc.de>
13741
13742 Depessimize the handling of very large macros.
13743
13744 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13745 (c-macro-cache-syntactic): New variables to implement a one
13746 element macro cache.
13747 (c-invalidate-macro-cache): New function.
13748 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13749 Adapt to use the new cache.
13750 (c-state-safe-place): Use better the cache of safe positions.
13751 (c-state-semi-nonlit-pos-cache)
13752 (c-state-semi-nonlit-pos-cache-limit):
13753 New variables for...
13754 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13755 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13756 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13757 Use c-state-semi-safe-place.
13758
13759 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13760 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13761
13762 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13763
13764 * jka-compr.el (jka-compr-call-process):
13765 Apply `file-accessible-directory-p' only when the default directory is
13766 not remote.
13767
13768 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13769
13770 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13771 access of FILE2, if FILE1 does not exist.
13772
13773 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13774 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13775
13776 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13777 Add "PAGER=" to `process-environment'.
13778
13779 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13780
13781 * progmodes/sql.el: Bug fix
13782 (sql-get-login-ext): Save login values in globals.
13783 (sql-get-login): Use new version of `sql-get-login-ext'.
13784 (sql-interactive-mode): Set global `sql-connection' to nil.
13785 (sql-connect): Set global values for connection.
13786 (sql-product-interactive): Save global values as buffer local.
13787
13788 2012-02-29 Leo Liu <sdl.web@gmail.com>
13789
13790 * abbrev.el (define-abbrevs): Reset sys to nil.
13791
13792 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13793
13794 * files.el (file-equal-p): Rename from `files-equal-p'.
13795 Return nil when one or both files don't exist.
13796 (file-subdir-of-p): Now only top directory must exists,
13797 return nil if it doesn't.
13798 (copy-directory): No need to test with `file-subdir-of-p' after
13799 creating dir.
13800 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13801 to `file-equal-p'.
13802
13803 2012-02-28 Glenn Morris <rgm@gnu.org>
13804
13805 * shell.el (shell-mode):
13806 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13807 * play/landmark.el (landmark-font-lock-face-O):
13808 * play/handwrite.el (handwrite):
13809 * play/gomoku.el (gomoku-O):
13810 * net/browse-url.el (browse-url-browser-display):
13811 * international/mule.el (define-charset):
13812 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13813 * filesets.el (filesets-find-file-delay):
13814 * eshell/em-xtra.el (eshell-xtra):
13815 * eshell/em-unix.el (eshell-grep):
13816 * emulation/viper.el (viper-mode):
13817 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13818 * emacs-lisp/easymenu.el (easy-menu-define):
13819 * calendar/timeclock.el (timeclock-use-display-time):
13820 * bs.el (bs-mode):
13821 * bookmark.el (bookmark-save-flag):
13822 Doc fix (standardize possessive apostrophe usage).
13823
13824 2012-02-27 Chong Yidong <cyd@gnu.org>
13825
13826 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13827 Fix key-binding lookup for ESC key (Bug#9146).
13828
13829 * font-lock.el (font-lock-specified-p): Rename from
13830 font-lock-spec-present. Callers changed.
13831
13832 2012-02-27 Daniel Hackney <dan@haxney.org>
13833
13834 * emacs-lisp/package.el (package-compute-transaction):
13835 Handle holding a package version to t in package-load-list.
13836
13837 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13838
13839 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13840 (tramp-get-inode, tramp-get-device): Use cached values.
13841
13842 2012-02-26 Alan Mackenzie <acm@muc.de>
13843
13844 Check there is a font-lock specification before doing initial
13845 fontification.
13846
13847 * font-core.el (font-lock-mode): Move the conditional from
13848 :after-hook to font-lock-initial-fontify.
13849 (font-lock-default-function): Move the check for a specification
13850 to font-lock-spec-present.
13851
13852 * font-lock.el (font-lock-initial-fontify): Call ...
13853 (font-lock-spec-present): New function.
13854
13855 2012-02-26 Jim Blandy <jimb@red-bean.com>
13856
13857 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13858 (gdb-send): Apply it to the operand of the '-interpreter-exec
13859 console' command, so that we can pass arguments with (say) quotes
13860 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13861
13862 2012-02-26 Chong Yidong <cyd@gnu.org>
13863
13864 * help-fns.el (describe-function-1): Clarify description of
13865 remapping (Bug#10844).
13866
13867 * files.el (files-equal-p): Doc fix.
13868 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13869 and quit the loop once a mismatch is found.
13870
13871 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13872
13873 * bs.el (bs--show-with-configuration): Don't throw an error
13874 if the window cannot be split; otherwise, subsequent calls to
13875 bs-show fail, restoring a stale window config. (Bug#10882)
13876
13877 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13878
13879 * term/ns-win.el (global-map): Bind ns-drag-file to
13880 ns-find-file (Bug#5855, Bug#10050).
13881
13882 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13883
13884 * calendar/parse-time.el (parse-time-string): Allow extractor to
13885 return nil.
13886
13887 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13888
13889 * net/tramp.el (tramp-file-name-for-operation):
13890 Add `files-equal-p' and `file-subdir-of-p'.
13891
13892 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13893 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13894 Add COPY-CONTENTS argument.
13895
13896 2012-02-25 Chong Yidong <cyd@gnu.org>
13897
13898 Add custom groups for VC backends, for consistency with vc-bzr.
13899
13900 * vc/vc-arch.el (vc-arch):
13901 * vc/vc-cvs.el (vc-cvs):
13902 * vc/vc-git.el (vc-git):
13903 * vc/vc-hg.el (vc-hg):
13904 * vc/vc-mtn.el (vc-mtn):
13905 * vc/vc-rcs.el (vc-rcs):
13906 * vc/vc-sccs.el (vc-sccs):
13907 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13908 All relevant defcustoms reassigned.
13909
13910 2012-02-25 Chong Yidong <cyd@gnu.org>
13911
13912 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13913
13914 * term/x-win.el (x-initialize-window-system): Reduce default for
13915 x-selection-timeout to 5 seconds (Bug#8869).
13916
13917 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13918
13919 * files.el (files-equal-p, file-subdir-of-p): New functions.
13920 (copy-directory): Error when trying to copy a directory on itself.
13921 Add missing copy-contents arg to tramp handler.
13922 * dired-aux.el (dired-copy-file-recursive): Same.
13923 (dired-create-files): Modify destination when source is equal to
13924 dest when copying files.
13925 Return also when dest is a subdir of source. (Bug#10489)
13926
13927 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13928
13929 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13930 (Bug#10874)
13931
13932 2012-02-23 Alan Mackenzie <acm@muc.de>
13933
13934 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13935 parameter "after-hook:" to allow the expansion to run code after
13936 the execution of the mode hooks.
13937
13938 * font-lock.el (font-lock-initial-fontify): New function extracted
13939 from font-lock-mode-internal.
13940
13941 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13942 :after-hook.
13943
13944 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13945
13946 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13947 (completion--cache-all-sorted-completions): New function.
13948 (completion-all-sorted-completions): Use it.
13949 (completion--do-completion, minibuffer-force-complete):
13950 Use it to re-instate the flush hook.
13951
13952 * icomplete.el (icomplete-completions): Replace last fix with a better
13953 one (bug#10850).
13954
13955 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13956
13957 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13958 when it might call us back infinitely (bug#10797).
13959
13960 2012-02-23 Glenn Morris <rgm@gnu.org>
13961
13962 * minibuffer.el (completion-category-overrides): Doc fix.
13963
13964 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13965
13966 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13967 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13968
13969 2012-02-23 Glenn Morris <rgm@gnu.org>
13970
13971 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13972 (authors-obsolete-files-regexps, authors-ignored-files)
13973 (authors-ambiguous-files, authors-renamed-files-alist):
13974 Add more entries.
13975
13976 2012-02-23 Juri Linkov <juri@jurta.org>
13977
13978 * isearch.el (isearch-occur): Sync interactive spec with occur's
13979 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13980
13981 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13982
13983 2012-02-22 Juri Linkov <juri@jurta.org>
13984
13985 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13986 (ucs-insert): Doc fix. Check for hex digits in the string.
13987 Don't display `nil' in the error message. (Bug#10857)
13988
13989 2012-02-22 Alan Mackenzie <acm@muc.de>
13990
13991 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13992
13993 2012-02-22 Glenn Morris <rgm@gnu.org>
13994
13995 * ffap.el (ffap-c-path):
13996 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13997
13998 2012-02-22 Chong Yidong <cyd@gnu.org>
13999
14000 * custom.el (load-theme): Doc fix.
14001
14002 2012-02-22 Glenn Morris <rgm@gnu.org>
14003
14004 * dired-x.el (dired-guess-shell-alist-default):
14005 Remove escape sequences from nroff output. (Bug#172)
14006
14007 2012-02-21 Glenn Morris <rgm@gnu.org>
14008
14009 * vc/emerge.el (emerge-defvar-local):
14010 Set `permanent-local' property rather than unused `preserved'.
14011
14012 * textmodes/picture.el (picture-delete-char): New alias.
14013 (picture-mode-map): Use it. (Bug#10860)
14014 (picture-mode): Doc fix.
14015
14016 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14017
14018 * newcomment.el (uncomment-region-default): Remove unused binding.
14019
14020 2012-02-21 Glenn Morris <rgm@gnu.org>
14021
14022 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14023 (picture-self-insert, picture-tab-chars): Doc fix.
14024 (picture-mode-map): Fix C-a, C-e.
14025
14026 2012-02-20 Glenn Morris <rgm@gnu.org>
14027
14028 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14029
14030 2012-02-20 Leo Liu <sdl.web@gmail.com>
14031
14032 * icomplete.el (icomplete-completions): Check FROM arg before
14033 passing to substring (Bug#10850).
14034
14035 2012-02-19 Chong Yidong <cyd@gnu.org>
14036
14037 * comint.el: Require ansi-color.
14038 (comint-output-filter-functions): Add ansi-color-process-output.
14039
14040 * ansi-color.el: Don't set comint-output-filter-functions; it is
14041 now in the initial value defined in comint.el.
14042 (ansi-color-apply-face-function): New variable.
14043 (ansi-color-apply-on-region): Use it.
14044 (ansi-color-apply-overlay-face): New function.
14045
14046 * shell.el (shell): No need to require ansi-color.
14047 (shell-mode): Use ansi-color-apply-face-function to highlight
14048 color escapes using font-lock-face property (Bug#10835).
14049
14050 2012-02-19 Chong Yidong <cyd@gnu.org>
14051
14052 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14053 mode-line formats (Bug#10839).
14054
14055 2012-02-18 Glenn Morris <rgm@gnu.org>
14056
14057 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14058
14059 * mail/undigest.el (unforward-rmail-message): Doc fix.
14060
14061 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14062
14063 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14064
14065 * international/characters.el (script-list): Sync with the latest
14066 Unicode Character Database.
14067
14068 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14069
14070 * international/titdic-cnv.el: Remove duplicate coding tag.
14071 * language/cham.el: Likewise.
14072 * language/tai-viet.el: Likewise.
14073
14074 2012-02-18 Glenn Morris <rgm@gnu.org>
14075
14076 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14077 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14078 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14079 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14080 * calendar/holidays.el (holiday-bahai-holidays)
14081 (calendar-holidays, list-holidays):
14082 Use utf-8 Bahá'í in doc-strings, menus, etc.
14083
14084 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14085
14086 * saveplace.el (save-place-ignore-files-regexp): New variable
14087 allowing for excluding files from saving their location of point.
14088 The default value matches the temporary commit message editing
14089 files from Git, SVN, Bazaar, and Mercurial.
14090 (save-place-to-alist): Use it.
14091
14092 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14093 Stefan Monnier <monnier@iro.umontreal.ca>
14094
14095 * newcomment.el (uncomment-region-default): Don't leave extra space
14096 when an arg is provided (bug#8150).
14097
14098 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14099
14100 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14101
14102 2012-02-17 Glenn Morris <rgm@gnu.org>
14103
14104 * net/socks.el: Require network-stream. (Bug#10599)
14105
14106 2012-02-17 Kenichi Handa <handa@m17n.org>
14107
14108 * international/charprop.el:
14109 * international/uni-name.el:
14110 * international/uni-old-name.el:
14111 * international/uni-comment.el: Regenerate.
14112
14113 2012-02-16 Glenn Morris <rgm@gnu.org>
14114
14115 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14116 Interactively in calendar buffer, give an error if not on a date.
14117
14118 2012-02-15 Glenn Morris <rgm@gnu.org>
14119
14120 * shell.el (shell-delimiter-argument-list):
14121 Revert 2011-02-17 change. (Bug#8027)
14122
14123 2012-02-15 Chong Yidong <cyd@gnu.org>
14124
14125 * minibuffer.el (completion-at-point-functions): Doc fix.
14126
14127 * custom.el (defcustom): Doc fix; note use of defvar.
14128
14129 2012-02-15 Glenn Morris <rgm@gnu.org>
14130
14131 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14132 Doc fixes.
14133
14134 2012-02-14 Glenn Morris <rgm@gnu.org>
14135
14136 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14137
14138 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14139
14140 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14141 way the ports list is computed.
14142 (smtpmail-query-smtp-server): Prompt the user for a port number if
14143 we can't connect to any of the standard ports (bug#10810).
14144
14145 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14146
14147 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14148
14149 2012-02-13 Glenn Morris <rgm@gnu.org>
14150
14151 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14152
14153 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14154
14155 * net/gnutls.el (gnutls-trustfiles): New variable.
14156 (gnutls-negotiate): Use it.
14157
14158 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14159
14160 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14161 does its stuff if Gnus is running.
14162
14163 2012-02-13 Alan Mackenzie <acm@muc.de>
14164
14165 Fix a loop in c-set-fl-decl-start.
14166
14167 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14168 c-backward-syntactic-ws actually moves backwards.
14169
14170 2012-02-13 Leo Liu <sdl.web@gmail.com>
14171
14172 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14173 beginning so that all \C-o chars are removed.
14174
14175 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14176
14177 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14178
14179 2012-02-12 Alan Mackenzie <acm@muc.de>
14180
14181 Fix infinite loop with long macros.
14182 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14183
14184 2012-02-12 Chong Yidong <cyd@gnu.org>
14185
14186 * window.el (display-buffer): Doc fix (Bug#10785).
14187
14188 2012-02-12 Glenn Morris <rgm@gnu.org>
14189
14190 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14191 (x-disown-selection-internal, x-get-selection-internal):
14192 Sync docs with the xselect.c versions.
14193
14194 * allout-widgets.el: Add missing license notice.
14195
14196 2012-02-11 Glenn Morris <rgm@gnu.org>
14197
14198 * select.el (x-get-selection-internal, x-own-selection-internal)
14199 (x-disown-selection-internal):
14200 * x-dnd.el (x-get-selection-internal): Update declarations.
14201
14202 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14203
14204 * window.el (window-sides-slots):
14205 * tool-bar.el (tool-bar-position):
14206 * term/xterm.el (xterm-extra-capabilities):
14207 * ses.el (ses-self-reference-early-detection):
14208 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14209 (verilog-auto-wire-type)
14210 (verilog-auto-delete-trailing-whitespace)
14211 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14212 (verilog-auto-tieoff-declaration):
14213 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14214 (sql-oracle-statement-starters, sql-oracle-scan-on):
14215 * progmodes/prolog.el (prolog-align-comments-flag)
14216 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14217 (prolog-left-indent-regexp, prolog-paren-indent-p)
14218 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14219 (prolog-types, prolog-mode-specificators)
14220 (prolog-determinism-specificators, prolog-directives)
14221 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14222 (prolog-electric-dot-flag)
14223 (prolog-electric-dot-full-predicate-template)
14224 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14225 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14226 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14227 (prolog-program-switches, prolog-prompt-regexp)
14228 (prolog-debug-on-string, prolog-debug-off-string)
14229 (prolog-trace-on-string, prolog-trace-off-string)
14230 (prolog-zip-on-string, prolog-zip-off-string)
14231 (prolog-use-standard-consult-compile-method-flag)
14232 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14233 (prolog-imenu-max-lines, prolog-info-predicate-index)
14234 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14235 (prolog-char-quote-workaround):
14236 * progmodes/cc-vars.el (c-defun-tactic):
14237 * net/tramp.el (tramp-encoding-command-interactive)
14238 (tramp-local-end-of-line):
14239 * net/soap-client.el (soap-client):
14240 * net/netrc.el (netrc-file):
14241 * net/gnutls.el (gnutls):
14242 * minibuffer.el (completion-category-overrides)
14243 (completion-cycle-threshold)
14244 (completion-pcm-complete-word-inserts-delimiters):
14245 * man.el (Man-name-local-regexp):
14246 * mail/feedmail.el (feedmail-display-full-frame):
14247 * international/characters.el (glyphless-char-display-control):
14248 * eshell/em-ls.el (eshell-ls-date-format):
14249 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14250 (lisp-lambda-list-keyword-parameter-indentation)
14251 (lisp-lambda-list-keyword-parameter-alignment):
14252 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14253 * dired-x.el (dired-omit-verbose):
14254 * cus-theme.el (custom-theme-allow-multiple-selections):
14255 * calc/calc.el (calc-highlight-selections-with-faces)
14256 (calc-lu-field-reference, calc-lu-power-reference)
14257 (calc-note-threshold):
14258 * battery.el (battery-mode-line-limit):
14259 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14260 (archive-7z-update):
14261 * allout.el (allout-prefixed-keybindings)
14262 (allout-unprefixed-keybindings)
14263 (allout-inhibit-auto-fill-on-headline)
14264 (allout-flattened-numbering-abbreviation):
14265 * allout-widgets.el (allout-widgets-auto-activation)
14266 (allout-widgets-icons-dark-subdir)
14267 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14268 (allout-widgets-theme-dark-background)
14269 (allout-widgets-theme-light-background)
14270 (allout-widgets-item-image-properties-emacs)
14271 (allout-widgets-item-image-properties-xemacs)
14272 (allout-widgets-run-unit-tests-on-load)
14273 (allout-widgets-time-decoration-activity)
14274 (allout-widgets-hook-error-post-time)
14275 (allout-widgets-track-decoration):
14276 Add missing :version tags to new defcustoms and defgroups.
14277
14278 * progmodes/sql.el (sql-ansi-statement-starters)
14279 (sql-oracle-statement-starters): Add custom type.
14280
14281 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14282 (prolog-system-version): Give it a type.
14283
14284 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14285
14286 * term/pc-win.el (x-select-text, x-selection-owner-p)
14287 (x-own-selection-internal, x-disown-selection-internal)
14288 (x-get-selection-internal): Sync doc strings and argument lists
14289 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14290
14291 2012-02-11 Leo Liu <sdl.web@gmail.com>
14292
14293 * progmodes/python.el (python-end-of-statement): Fix infinite
14294 loop. (Bug#10788)
14295
14296 2012-02-10 Glenn Morris <rgm@gnu.org>
14297
14298 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14299 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14300
14301 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14302
14303 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14304 about SMTP before checking the From header.
14305
14306 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14307 into own function for reuse by emacsbug.el.
14308
14309 2012-02-10 Leo Liu <sdl.web@gmail.com>
14310
14311 * subr.el (condition-case-unless-debug): Rename from
14312 condition-case-no-debug. All callers changed.
14313 (with-demoted-errors): Fix caller.
14314
14315 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14316 * nxml/rng-valid.el (rng-do-some-validation):
14317 * emacs-lisp/package.el (package-refresh-contents)
14318 (package-menu-execute):
14319 * desktop.el (desktop-create-buffer):
14320 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14321
14322 2012-02-10 Glenn Morris <rgm@gnu.org>
14323
14324 * textmodes/bibtex.el:
14325 Add missing :version tags for new/changed defcustoms.
14326
14327 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14328
14329 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14330
14331 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14332 (smtpmail-via-smtp): Use it, or fall back on the From address.
14333 (smtpmail-send-it): Ditto.
14334
14335 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14336
14337 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14338 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14339 (byte-compile-tmp-var): New const.
14340 (byte-compile-defvar): Use it to minimize .elc size.
14341 Just use `defvar' rather than simulate it (bug#10761).
14342
14343 2012-02-09 Glenn Morris <rgm@gnu.org>
14344
14345 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14346
14347 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14348 Add :version tags.
14349
14350 * progmodes/compile.el (compilation-error-screen-columns)
14351 (compilation-first-column, compilation-filter-start): Doc fixes.
14352
14353 * vc/log-view.el (log-view-toggle-entry-display):
14354 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14355
14356 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14357 (report-emacs-bug-can-use-xdg-email):
14358 (report-emacs-bug-insert-to-mailer): Doc fixes.
14359 (report-emacs-bug): Message fix.
14360
14361 * net/browse-url.el (browse-url-can-use-xdg-open)
14362 (browse-url-xdg-open): Doc fixes.
14363
14364 * electric.el (electric-indent-mode, electric-pair-mode)
14365 (electric-layout-rules, electric-layout-mode): Doc fixes.
14366 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14367
14368 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14369
14370 * server.el (server-unselect-display): Don't inadvertently kill
14371 the current buffer. (Bug#10729)
14372
14373 2012-02-08 Glenn Morris <rgm@gnu.org>
14374
14375 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14376 (sql-list-table): Doc fixes.
14377
14378 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14379 Comment out (does nothing).
14380
14381 * completion.el (dynamic-completion-mode):
14382 * dirtrack.el (dirtrack-debug-mode):
14383 * electric.el (electric-layout-mode):
14384 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14385 * face-remap.el (text-scale-mode, buffer-face-mode):
14386 * iimage.el (iimage-mode):
14387 * image-mode.el (image-transform-mode):
14388 * minibuffer.el (completion-in-region-mode):
14389 * scroll-lock.el (scroll-lock-mode):
14390 * simple.el (next-error-follow-minor-mode):
14391 * tar-mode.el (tar-subfile-mode):
14392 * tooltip.el (tooltip-mode):
14393 * vcursor.el (vcursor-use-vcursor-map):
14394 * wid-browse.el (widget-minor-mode):
14395 * emulation/tpu-edt.el (tpu-edt-mode):
14396 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14397 * international/iso-ascii.el (iso-ascii-mode):
14398 * language/thai-util.el (thai-word-mode):
14399 * mail/supercite.el (sc-minor-mode):
14400 * net/goto-addr.el (goto-address-mode):
14401 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14402 * progmodes/cwarn.el (cwarn-mode):
14403 * progmodes/flymake.el (flymake-mode):
14404 * progmodes/glasses.el (glasses-mode):
14405 * progmodes/hideshow.el (hs-minor-mode):
14406 * progmodes/pascal.el (pascal-outline-mode):
14407 * textmodes/enriched.el (enriched-mode):
14408 * vc/smerge-mode.el (smerge-mode):
14409 Doc fixes (minor mode argument).
14410
14411 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14412
14413 * ls-lisp.el (ls-lisp-sanitize): New function.
14414 (ls-lisp-insert-directory): Use it to fix or remove any elements
14415 in file-alist with missing attributes. (Bug#4673)
14416
14417 2012-02-07 Alan Mackenzie <acm@muc.de>
14418
14419 Fix spurious recognition of c-in-knr-argdecl.
14420
14421 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14422 putative K&R region.
14423
14424 2012-02-07 Alan Mackenzie <acm@muc.de>
14425
14426 * progmodes/cc-engine.el (c-forward-objc-directive):
14427 Prevent looping in "#pragma mark @implementation".
14428
14429 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14430
14431 * notifications.el (notifications-on-closed-signal): Make `reason'
14432 optional. (Bug#10744)
14433
14434 2012-02-07 Glenn Morris <rgm@gnu.org>
14435
14436 * emacs-lisp/easy-mmode.el (define-minor-mode):
14437 Doc fixes for the macro and the mode it defines.
14438
14439 * image.el (imagemagick-types-inhibit): Doc fix.
14440
14441 * cus-start.el (imagemagick-render-type): Add it.
14442
14443 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14444
14445 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14446 Set the default at load time, too, so that `font-lock-fontify-buffer'
14447 can be called without setting up the entire mode first. This fixes
14448 a bug in `mm-inline-text' with C MIME parts.
14449
14450 2012-02-06 Chong Yidong <cyd@gnu.org>
14451
14452 * simple.el (list-processes--refresh): Delete exited processes
14453 (Bug#8094).
14454
14455 * comint.el (comint-next-prompt): next-single-char-property-change
14456 and prev-single-char-property-change never return nil (Bug#8657).
14457
14458 * custom.el (defcustom): Doc fix (Bug#9711).
14459
14460 2012-02-05 Chong Yidong <cyd@gnu.org>
14461
14462 * cus-edit.el (custom-variable-reset-backup): Quote the value
14463 before storing it in the customized-value property (Bug#6712).
14464 (custom-display): Add a customization type tag.
14465 (custom-buffer-create-internal): Improve tooltip message.
14466
14467 * wid-edit.el (widget-field-value-get): New optional arg to
14468 suppress trailing whitespace truncation.
14469 (character): Use it (Bug#2689).
14470
14471 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14472
14473 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14474 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14475
14476 2012-02-05 Chong Yidong <cyd@gnu.org>
14477
14478 * cus-edit.el (custom-variable-value-create): For mismatched
14479 types, show the current value (Bug#7600).
14480
14481 * custom.el (defcustom): Doc fix.
14482
14483 2012-02-05 Glenn Morris <rgm@gnu.org>
14484
14485 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14486
14487 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14488
14489 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14490 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14491 (pp-last-sexp): Use `looking-at-p'.
14492
14493 2012-02-04 Glenn Morris <rgm@gnu.org>
14494
14495 * files.el (revert-buffer):
14496 Doc fix (mention revert-buffer-in-progress-p).
14497
14498 * emacs-lisp/ert-x.el (ert-simulate-command):
14499 Check deferred-action-list (which is obsolete) is bound.
14500
14501 * subr.el (with-wrapper-hook): Doc fixes.
14502
14503 * simple.el (filter-buffer-substring-functions)
14504 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14505
14506 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14507
14508 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14509 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14510
14511 2012-02-04 Leo Liu <sdl.web@gmail.com>
14512
14513 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14514
14515 2012-02-04 Glenn Morris <rgm@gnu.org>
14516
14517 * image.el (image-extension-data): Add obsolete alias.
14518
14519 * isearch.el (isearch-update): Doc fix.
14520
14521 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14522
14523 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14524
14525 2012-02-03 Glenn Morris <rgm@gnu.org>
14526
14527 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14528 (image-animate-timeout): Doc fix.
14529
14530 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14531
14532 2012-02-02 Glenn Morris <rgm@gnu.org>
14533
14534 * server.el (server-auth-dir): Doc fix.
14535 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14536
14537 * subr.el (run-mode-hooks): Doc fix.
14538
14539 2012-02-02 Juri Linkov <juri@jurta.org>
14540
14541 * image-mode.el (image-toggle-display-image): Remove tautological
14542 `major-mode' from the `derived-mode-p' test.
14543
14544 2012-02-02 Kenichi Handa <handa@m17n.org>
14545
14546 * composite.el (compose-region): Cancel previous change.
14547
14548 2012-02-02 Kenichi Handa <handa@m17n.org>
14549
14550 * composite.el (compose-region, compose-string): Signal error for
14551 a null string component (Bug#6988).
14552
14553 2012-02-01 Chong Yidong <cyd@gnu.org>
14554
14555 * view.el (view-buffer-other-window, view-buffer-other-frame):
14556 Handle special modes like view-buffer (Bug#10650).
14557 (view-buffer): Simplify.
14558
14559 * frame.el (set-frame-font): Tweak meaning of third argument.
14560
14561 * dynamic-setting.el (font-setting-change-default-font):
14562 Use set-frame-font (Bug#9982).
14563
14564 2012-02-01 Glenn Morris <rgm@gnu.org>
14565
14566 * progmodes/compile.el (compilation-internal-error-properties):
14567 Respect compilation-first-column in the "*compilation*" buffer.
14568
14569 * emacs-lisp/easy-mmode.el (define-minor-mode):
14570 Relax :variable's test for a named function.
14571
14572 2012-01-31 Alan Mackenzie <acm@muc.de>
14573
14574 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14575 off by one error.
14576
14577 2012-01-31 Chong Yidong <cyd@gnu.org>
14578
14579 * frame.el (set-frame-font): New arg ALL-FRAMES.
14580
14581 * menu-bar.el (menu-set-font): Use set-frame-font.
14582
14583 * faces.el (face-spec-reset-face): Don't apply unspecified
14584 attribute values to the default face.
14585
14586 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14587
14588 * progmodes/cwarn.el (cwarn): Remove dead link.
14589 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14590 Remove * from defcustom docstrings.
14591 (turn-on-cwarn-mode): Make obsolete.
14592 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14593 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14594
14595 2012-01-31 Glenn Morris <rgm@gnu.org>
14596
14597 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14598 Fix :variable handling of mode a symbol not equal to modefun.
14599 Allow named functions to be used as the cdr of :variable.
14600
14601 2012-01-30 Glenn Morris <rgm@gnu.org>
14602
14603 * emacs-lisp/authors.el (authors-fixed-entries):
14604 Remove reference to deleted file rnewspost.el.
14605
14606 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14607
14608 * window.el (window-with-parameter): Remove unused variable `windows'.
14609 (window--side-check): Remove unused variable `code'.
14610 (window--resize-siblings): Remove unused variable `first'.
14611 (adjust-window-trailing-edge): Remove unused variable `failed'.
14612 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14613 Use `let', not `let*'.
14614 (balance-windows-2): Remove unused variable `found'.
14615 (window--state-put-2): Remove unused variable `splits'.
14616 (window-state-put): Remove unused variable `selected'.
14617 (same-window-p): Use `string-match-p'.
14618 (display-buffer-assq-regexp): Remove unused variable `value'.
14619 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14620 Mark argument ALIST as ignored.
14621 (pop-to-buffer): Remove unused variable `old-window'.
14622
14623 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14624
14625 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14626 and .lzma compressed files.
14627
14628 2012-01-29 Chong Yidong <cyd@gnu.org>
14629
14630 * frame.el (window-system-default-frame-alist): Doc fix.
14631
14632 * dynamic-setting.el (font-setting-change-default-font): Don't
14633 change the default face if SET-FONT argument is non-nil (Bug#9982).
14634
14635 2012-01-29 Samuel Bronson <naesten@gmail.com>
14636
14637 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14638
14639 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14640
14641 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14642 breakpoints in files outside current directory (Bug#6098).
14643
14644 2012-01-29 Chong Yidong <cyd@gnu.org>
14645
14646 * progmodes/python.el: Require ansi-color at top-level.
14647
14648 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14649 Define and use in Emacs Lisp mode (Bug#9360).
14650 (lisp-mode-abbrev-table): Add doc.
14651 (lisp-mode-variables): Don't set local-abbrev-table.
14652 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14653
14654 2012-01-28 Roland Winkler <winkler@gnu.org>
14655
14656 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14657
14658 2012-01-28 Roland Winkler <winkler@gnu.org>
14659
14660 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14661 (bibtex-set-dialect): Use it. Either set global values of
14662 dialect-dependent variables or bind these variables buffer-locally
14663 (Bug#10254).
14664 (bibtex-mode): Call bibtex-set-dialect via
14665 hack-local-variables-hook.
14666 (bibtex-dialect): Update docstring.
14667 Add safe-local-variable predicate.
14668 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14669 bibtex-set-dialect.
14670 (bibtex-mode-map): Define menu for each dialect.
14671 (bibtex-entry): Fix docstring.
14672
14673 2012-01-28 Chong Yidong <cyd@gnu.org>
14674
14675 * eshell/esh-arg.el (eshell-quote-argument): New function.
14676
14677 * eshell/esh-ext.el (eshell-invoke-batch-file):
14678 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14679 first arg to eshell-parse-command (Bug#10523).
14680
14681 2012-01-28 Drew Adams <drew.adams@oracle.com>
14682
14683 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14684 `default-directory' is non-nil.
14685
14686 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14687
14688 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14689 line that displays system-configuration-options. (Bug#9924)
14690
14691 2012-01-28 Drew Adams <drew.adams@oracle.com>
14692
14693 * descr-text.el (describe-char): Show information about POS, in
14694 addition to information about the character at POS. Improve and
14695 update the doc string. Change "code point" to "code point in
14696 charset", to avoid confusion with the character's Unicode code
14697 point shown above that. (Bug#10129)
14698
14699 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14700
14701 * descr-text.el (describe-char): Show the raw character, not only
14702 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14703 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14704 for the reasons.
14705
14706 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14707
14708 * emacs-lisp/package.el (package-install):
14709 Run package-refresh-contents if there is no archive yet (Bug#9798).
14710
14711 2012-01-28 Chong Yidong <cyd@gnu.org>
14712
14713 * emacs-lisp/package.el (package-maybe-load-descriptor):
14714 New function, split from package-maybe-load-descriptor.
14715 (package-maybe-load-descriptor): Use it.
14716 (package-download-transaction): Fully load required packages
14717 inside the loop, so that `require' calls work (Bug#10593).
14718 (package-install): No need to call package-initialize now.
14719
14720 2012-01-28 Chong Yidong <cyd@gnu.org>
14721
14722 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14723
14724 * tooltip.el (tooltip-mode): Doc fix.
14725 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14726
14727 * frame.el (set-cursor-color): Doc fix (Bug#352).
14728
14729 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14730 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14731
14732 * cus-edit.el (custom-buffer-create-internal): Fix search button
14733 action (Bug#10542).
14734 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14735
14736 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14737
14738 * dired.el (dired-mark-files-regexp):
14739 Include any subdirectory components. (Bug#10445)
14740
14741 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14742
14743 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14744 Handle [host]:port syntax. (Bug#10533)
14745
14746 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14747
14748 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14749
14750 2012-01-26 Glenn Morris <rgm@gnu.org>
14751
14752 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14753 * term.el (term-raw-escape-map): Use Control-X-prefix.
14754 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14755
14756 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14757
14758 * window.el (window-state-get, window--state-get-1): Don't deal
14759 with fixed-sizeness of windows. Simplify code.
14760
14761 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14762
14763 * window.el (window--state-get-1, window--state-put-2):
14764 Don't save and restore the mark.
14765
14766 2012-01-25 Chong Yidong <cyd@gnu.org>
14767
14768 * custom.el (custom-variable-p): Doc fix.
14769
14770 2012-01-25 Glenn Morris <rgm@gnu.org>
14771
14772 * dired.el (dired-goto-file): Handle some of the more common
14773 characters that `ls -b' escapes. (Bug#10596)
14774
14775 * progmodes/compile.el (compilation-next-error-function):
14776 Respect compilation-first-column in the "*compilation*" buffer.
14777 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14778
14779 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14780
14781 2012-01-24 Glenn Morris <rgm@gnu.org>
14782
14783 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14784
14785 2012-01-24 Julien Danjou <julien@danjou.info>
14786
14787 * color.el (color-rgb-to-hsl): Fix value computing.
14788 (color-hue-to-rgb): New function.
14789 (color-hsl-to-rgb): New function.
14790 (color-clamp, color-saturate-hsl, color-saturate-name)
14791 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14792 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14793
14794 2012-01-24 Glenn Morris <rgm@gnu.org>
14795
14796 * vc/vc-rcs.el (vc-rcs-create-tag):
14797 * vc/vc-sccs.el (vc-sccs-create-tag):
14798 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14799
14800 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14801
14802 * eshell/esh-util.el (eshell-read-hosts-file):
14803 Skip comment lines. (Bug#10549)
14804
14805 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14806
14807 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14808
14809 * subr.el (display-delayed-warnings): Doc fix.
14810 (collapse-delayed-warnings): New function to collapse identical
14811 adjacent warnings.
14812 (delayed-warnings-hook): Add it.
14813
14814 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14815
14816 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14817
14818 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14819 (tramp-default-user-alist): Don't add "pscp".
14820 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14821 property "login-as", if set. (Bug#10530)
14822
14823 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14824
14825 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14826 "plink1" and "psftp". (Bug#10530)
14827
14828 2012-01-21 Kenichi Handa <handa@m17n.org>
14829
14830 * international/mule-cmds.el (prefer-coding-system): Show a
14831 warning message if the default value of file-name-coding-system
14832 was not changed.
14833
14834 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14835
14836 * windmove.el (windmove-reference-loc):
14837 Fix windmove-reference-loc miscalculation.
14838
14839 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14840
14841 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14842 default unit.
14843
14844 2012-01-21 Glenn Morris <rgm@gnu.org>
14845
14846 * international/mule.el (auto-coding-alist): Add .tbz.
14847
14848 * files.el (local-enable-local-variables): Doc fix.
14849 (inhibit-local-variables-regexps): Rename from
14850 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14851 Doc fix. Add some extensions from auto-coding-alist.
14852 (inhibit-local-variables-suffixes):
14853 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14854 (inhibit-local-variables-p):
14855 New function, extracted from set-auto-mode-1.
14856 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14857 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14858 (hack-local-variables): Doc fix. Make the mode-only case
14859 respect enable-local-variables and friends.
14860 Respect inhibit-local-variables-regexps for file-locals, but
14861 not for directory-locals.
14862 (set-visited-file-name):
14863 Take account of inhibit-local-variables-regexps.
14864 Whether it applies may change as the file name is changed.
14865 * jka-cmpr-hook.el (jka-compr-install):
14866 * jka-compr.el (jka-compr-uninstall):
14867 Update for inhibit-first-line-modes-suffixes name change.
14868
14869 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14870
14871 * help-macro.el (make-help-screen): Temporarily restore original
14872 binding for minor-mode-map-alist (Bug#10454).
14873
14874 2012-01-19 Julien Danjou <julien@danjou.info>
14875
14876 * color.el (color-name-to-rgb): Use the white color to find the max
14877 color component value and return correctly computed values.
14878 (color-name-to-rgb): Add missing float conversion for max value.
14879
14880 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14881
14882 * window.el (window--state-get-1, window-state-get): Do not use
14883 special state value for window-persistent-parameters.
14884 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14885 (window--state-put-2): Reset all window parameters to nil before
14886 assigning values of persistent parameters.
14887
14888 2012-01-18 Alan Mackenzie <acm@muc.de>
14889
14890 Eliminate sluggishness and hangs in fontification of "semicolon
14891 deserts".
14892
14893 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14894 Change value 10000 -> 3000.
14895 (c-state-safe-place): Reformulate so it doesn't stack up an
14896 infinite number of wrong entries in c-state-nonlit-pos-cache.
14897 (c-determine-limit-get-base, c-determine-limit): New functions to
14898 determine backward search limits disregarding literals.
14899 (c-find-decl-spots): Amend commenting.
14900 (c-cheap-inside-bracelist-p): New function which detects "={".
14901
14902 * progmodes/cc-fonts.el
14903 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14904 backward search.
14905 (c-font-lock-declarations): Fix an occurrence of point being
14906 undefined. Check additionally for point being in a bracelist or
14907 near a macro invocation without a semicolon so as to avoid a
14908 fruitless time consuming search for a declarator. Give a more
14909 precise search limit for declarators using the new
14910 c-determine-limit.
14911
14912 2012-01-18 Glenn Morris <rgm@gnu.org>
14913
14914 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14915 (set-auto-mode): Doc fixes.
14916
14917 2012-01-17 Glenn Morris <rgm@gnu.org>
14918
14919 * isearch.el (search-nonincremental-instead): Fix doc typo.
14920
14921 * dired.el (dired-insert-directory): Handle newlines in directory name.
14922 (dired-build-subdir-alist): Unescape newlines in directory name.
14923
14924 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14925
14926 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14927 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14928 (tramp-action-terminal): Use it. (Bug#10530)
14929
14930 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14931
14932 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14933
14934 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14935
14936 * window.el (window-state-ignored-parameters): Remove variable.
14937 (window--state-get-1): Rename argument MARKERS to IGNORE.
14938 Handle persistent window parameters. Make copy of clone-of
14939 parameter only if requested. (Bug#10348)
14940 (window--state-put-2): Install a window parameter only if it has
14941 a non-nil value or an existing parameter shall be overwritten.
14942
14943 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14944
14945 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14946
14947 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14948
14949 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14950 don't pass the (nil) value of `upnode' to string-match.
14951
14952 2012-01-14 Chong Yidong <cyd@gnu.org>
14953
14954 * startup.el (command-line): Fix X resource class for cursorColor.
14955 Fix values recognized by the cursorBlink resource.
14956
14957 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14958
14959 * epg.el (epg--make-temp-file): Avoid permission race condition
14960 when running on old Emacs versions (bug#10403).
14961
14962 2012-01-14 Glenn Morris <rgm@gnu.org>
14963
14964 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14965
14966 2012-01-13 Alan Mackenzie <acm@muc.de>
14967
14968 Fix filling for when filladapt mode is enabled.
14969
14970 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14971 c-mask-paragraph, pass in `fill-paragraph' rather than
14972 `fill-region-as-paragraph'. (This is a reversion of a previous
14973 change.)
14974 * progmodes/cc-mode.el (c-basic-common-init):
14975 Make fill-paragraph-handle-comment buffer local and set it to nil.
14976
14977 2012-01-13 Glenn Morris <rgm@gnu.org>
14978
14979 * dired.el (dired-switches-escape-p): New function.
14980 (dired-insert-directory): Use dired-switches-escape-p.
14981 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14982
14983 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14984
14985 2012-01-12 Glenn Morris <rgm@gnu.org>
14986
14987 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14988 changes in adaptive-fill-regexp. (Bug#10276)
14989
14990 2012-01-11 Alan Mackenzie <acm@muc.de>
14991
14992 Fix Emacs bug #10463 - put `widen's around the critical spots.
14993
14994 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14995 widen around each invocation of c-state-pp-to-literal. Remove an
14996 unused let variable.
14997
14998 2012-01-11 Glenn Morris <rgm@gnu.org>
14999
15000 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15001 Doc fix.
15002
15003 2012-01-10 Chong Yidong <cyd@gnu.org>
15004
15005 * net/network-stream.el (network-stream-open-starttls):
15006 Avoid emitting a confusing error message when the server gives a bad
15007 response to the capability command.
15008
15009 2012-01-10 Glenn Morris <rgm@gnu.org>
15010
15011 * mail/unrmail.el (unrmail): Tweak previous change.
15012
15013 2012-01-09 Chong Yidong <cyd@gnu.org>
15014
15015 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15016
15017 2012-01-08 Alan Mackenzie <acm@muc.de>
15018
15019 Optimize font locking in long enum definitions.
15020
15021 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15022 arm to a cond form to handle enums.
15023 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15024 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15025
15026 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15027
15028 * files.el (move-file-to-trash): Preserve default file modes on error.
15029 (Bug#10401)
15030
15031 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15032
15033 * faces.el (set-face-attribute): Clarify the meaning of the nil
15034 frame (bug#10294).
15035
15036 * subr.el (with-selected-frame): Mention that the selected frame
15037 is restored (bug#9980).
15038
15039 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15040 (bug#9759).
15041
15042 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15043 (password-read): Don't autoload unused function.
15044
15045 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15046
15047 * progmodes/which-func.el (which-func-mode): Turn into a
15048 non-interactive function and mark as obsolete (bug#10428).
15049
15050 2012-01-06 Chong Yidong <cyd@gnu.org>
15051
15052 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15053 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15054 functions, along with 1 and -1.
15055
15056 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15057
15058 * time.el (display-time-load-average)
15059 (display-time-default-load-average): Doc fixes. See the thread
15060 starting at
15061 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15062 for the details.
15063
15064 2012-01-06 Glenn Morris <rgm@gnu.org>
15065
15066 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15067 has no messages. (Bug#10377)
15068
15069 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15070 than Info-edit. (Bug#10385)
15071
15072 * time.el (display-time-load-average, display-time-next-load-average):
15073 Doc fixes.
15074
15075 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15076 local setting of buffer-read-only to the input buffer. (Bug#10419)
15077
15078 * calendar/calendar.el (calendar-mode):
15079 Locally set scroll-margin to 0. (Bug#10379)
15080
15081 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15082
15083 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15084
15085 2012-01-05 Glenn Morris <rgm@gnu.org>
15086
15087 * eshell/em-unix.el (diff-no-select): Autoload it.
15088 (eshell/diff): Use diff-no-select. (Bug#10420)
15089
15090 2012-01-05 Chong Yidong <cyd@gnu.org>
15091
15092 * shell.el (shell-dynamic-complete-functions): Revert last change.
15093 (shell-command-completion-function): New function.
15094 (shell-completion-vars): Use it to implement
15095 shell-completion-execonly (Bug#10417).
15096
15097 * custom.el (enable-theme): Don't set custom-safe-themes.
15098
15099 * cus-theme.el (custom-theme-merge-theme):
15100 Ignore custom-enabled-themes and custom-safe-themes.
15101
15102 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15103
15104 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15105 first prompt in `sql-interacive-mode'.
15106 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15107 keywords.
15108 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15109 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15110 context of original buffer. Invoke `sql-login-hook'.
15111
15112 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15113
15114 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15115 letters in cite-prefix.
15116
15117 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15118
15119 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15120
15121 2012-01-03 Chong Yidong <cyd@gnu.org>
15122
15123 * shell.el (shell-dynamic-complete-functions):
15124 Put pcomplete-completions-at-point, so as to try
15125 comint-filename-completion first (Bug#10417).
15126
15127 2012-01-02 Richard Stallman <rms@gnu.org>
15128
15129 * battery.el (battery-status-function):
15130 Detect when to use battery-yeeloong-sysfs.
15131 (battery-echo-area-format): Add string for Yeeloong.
15132 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15133 (battery-yeeloong-sysfs): New function.
15134
15135 2012-01-02 Chong Yidong <cyd@gnu.org>
15136
15137 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15138 (dirtrack): Merge code for handling relative filenames in prompt
15139 from shell-dir-cookie-watcher.
15140 (dirtrack-debug-message): New arg to avoid excess format calls.
15141
15142 * shell.el (shell-dir-cookie-re): Variable deleted.
15143 (shell-dir-cookie-watcher): Function deleted.
15144 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15145 with dirtrack-mode.
15146
15147 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15148
15149 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15150 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15151 libgnutls-26.dll.
15152
15153 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15154
15155 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15156
15157 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15158
15159 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15160 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15161
15162 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15163
15164 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15165 also for alternative shells.
15166 (tramp-open-connection-setup-interactive-shell): Check, whether
15167 the shell is a busybox.
15168 (tramp-send-command): Don't suppress multiple prompts for
15169 busyboxes, it hurts.
15170
15171 2011-12-28 Chong Yidong <cyd@gnu.org>
15172
15173 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15174 (gdb-get-source-file): Move mode line update to
15175 gdb-get-source-file (Bug#10087).
15176
15177 2011-12-25 Chong Yidong <cyd@gnu.org>
15178
15179 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15180 gud-gdb-marker-filter without taking it as an argument.
15181 (gud-gdb-run-command-fetch-lines): Caller changed.
15182 (gud-gdb-completion-function): New variable.
15183 (gud-gdb-completion-at-point): Use it.
15184 (gud-gdb-completions-1): Split from gud-gdb-completions.
15185
15186 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15187 function as separate arguments.
15188 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15189 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15190 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15191 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15192 (gdb-stopped, def-gdb-auto-update-trigger)
15193 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15194 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15195 Callers changed.
15196 (gud-gdbmi-completions): New function.
15197 (gdb): Use it for generating the completion table.
15198
15199 2011-12-24 Alan Mackenzie <acm@muc.de>
15200
15201 Introduce a mechanism to widen the region used in context font
15202 locking. Use this to protect declarations from losing their contexts.
15203
15204 * progmodes/cc-langs.el (c-before-font-lock-functions):
15205 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15206 (c-before-context-fontification-functions): New defvar, a list of
15207 functions to be run just before context (etc.) font locking.
15208
15209 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15210 New, functionality extracted from
15211 c-neutralize-syntax-in-and-mark-CPP.
15212 (c-in-after-change-fontification): New variable.
15213 (c-after-change): Set c-in-after-change-fontification.
15214 (c-set-fl-decl-start): Rejig its interface, so it can be called
15215 from both after-change and context fontifying.
15216 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15217 New functions.
15218 (c-standard-font-lock-fontify-region-function): New variable.
15219 (c-font-lock-fontify-region): New function.
15220
15221 2011-12-24 Juri Linkov <juri@jurta.org>
15222
15223 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15224 (Bug#10348)
15225
15226 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15227
15228 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15229 existence of source file. (Bug#10325)
15230
15231 2011-12-23 Alan Mackenzie <acm@muc.de>
15232
15233 Fix unstable fontification inside templates.
15234
15235 * progmodes/cc-langs.el (c-before-font-lock-functions):
15236 Newly created from the singular version. The (c c++ objc) entry now
15237 additionally has c-set-fl-decl-start. The other languages (apart
15238 from AWK) have that as a single entry.
15239
15240 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15241 The functionality for "local" declarations has been extracted to
15242 c-set-fl-decl-start.
15243
15244 * progmodes/cc-mode.el (c-common-init, c-after-change):
15245 Changes due to pluralisation of c-before-font-lock-functions.
15246 (c-set-fl-decl-start): New function, extracted from
15247 c-font-lock-enclosing-decls and enhanced.
15248
15249 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15250
15251 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15252
15253 2011-12-22 Juri Linkov <juri@jurta.org>
15254
15255 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15256
15257 2011-12-22 Chong Yidong <cyd@gnu.org>
15258
15259 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15260
15261 2011-12-21 Drew Adams <drew.adams@oracle.com>
15262
15263 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15264
15265 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15266
15267 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15268
15269 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15270
15271 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15272 highlighting and support. Fix up comments for capitalization.
15273 (cfengine-mode-debug): New var.
15274 (cfengine3-mode): Change the modeline indicator to "CFE3".
15275 (cfengine3-font-lock-keywords): Improve defun highlighting.
15276 (cfengine2-actions): Rename from `cfengine-actions'.
15277 (cfengine2-font-lock-keywords): Rename from
15278 `cfengine-font-lock-keywords'.
15279 (cfengine2-imenu-expression): Rename from
15280 `cfengine-imenu-expression'.
15281 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15282 (cfengine2-beginning-of-defun): Rename from
15283 `cfengine-beginning-of-defun'.
15284 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15285 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15286 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15287 modeline indicator to "CFE2".
15288 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15289 (cfengine-mode-abbrevs): Mark obsolete.
15290
15291 2011-12-21 Chong Yidong <cyd@gnu.org>
15292
15293 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15294 filename argument.
15295
15296 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15297
15298 * window.el (window-normalize-buffer-to-display): Remove.
15299 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15300
15301 2011-12-19 Chong Yidong <cyd@gnu.org>
15302
15303 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15304 Don't signal an error in a predicate function; return non-nil.
15305 (vc-dir-mark-file): Move the error here.
15306 (vc-dir-mark-unmark): If acting on the region, keep going if one
15307 of the entries cannot be marked/unmarked.
15308 (vc-dir-mark-all-files): If current entry is a directory, mark
15309 only child files, as documented.
15310
15311 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15312
15313 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15314 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15315 addition.
15316
15317 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15318
15319 * term/ns-win.el (ns-get-selection-internal)
15320 (ns-store-selection-internal): Declare.
15321 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15322 Declare as obsolete.
15323 (ns-get-pasteboard, ns-paste-secondary):
15324 Use ns-get-selection-internal.
15325 (ns-set-pasteboard, ns-copy-including-secondary):
15326 Use ns-store-selection-internal.
15327
15328 2011-12-17 Chong Yidong <cyd@gnu.org>
15329
15330 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15331 (vc-deduce-fileset): Doc fix.
15332
15333 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15334
15335 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15336
15337 2011-12-13 Sam Steingold <sds@gnu.org>
15338
15339 * man.el (Man-getpage-in-background): When running under a
15340 window-system, ignore $MANWIDTH and $COLUMNS.
15341
15342 2011-12-15 Kenichi Handa <handa@m17n.org>
15343
15344 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15345 (setup-ethiopic-environment-internal): Comment out key-binding for
15346 ethio-toggle-punctuation.
15347
15348 2011-12-13 Alan Mackenzie <acm@muc.de>
15349
15350 Add the switch statement to AWK Mode.
15351
15352 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15353 "default" to the keywords regexp.
15354
15355 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15356 expression as the rest.
15357 (c-nonlabel-token-key): Allow string literals for AWK.
15358 Refactor for the other modes.
15359
15360 Large brace-block initialisation makes CC Mode slow: Fix.
15361 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15362 routines. Limit backward searching in c-font-lock-enclosing.decl.
15363
15364 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15365 pp-state and literal type in addition to the limits.
15366 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15367 (c-state-literal-at): Use the above new defun.
15368 (c-slow-in-literal, c-fast-in-literal): Remove.
15369 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15370
15371 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15372 being in a literal. Add a limit for backward searching.
15373
15374 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15375 c-slow-in-literal.
15376
15377 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15378
15379 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15380
15381 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15382
15383 * window.el (delete-other-windows): Use correct frame in call to
15384 window-with-parameter.
15385
15386 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15387
15388 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15389 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15390 (makefile-gmake-statements, makefile-makepp-statements):
15391 Use it and add new makepp keywords.
15392 (makefile-makepp-font-lock-keywords): Add new patterns.
15393 (makefile-match-function-end): Match new [...] and [[...]].
15394
15395 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15396
15397 * ses.el (ses-call-printer-return, ses-cell-property-get)
15398 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15399 (ses-create-cell-variable, ses-reset-header-string)
15400 (ses-cell-set-formula, ses-repair-cell-reference-all)
15401 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15402 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15403 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15404 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15405 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15406 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15407 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15408 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15409 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15410 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15411 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15412 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15413
15414 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15415
15416 * ses.el: The overall change is to add cell renaming, that is
15417 setting fancy names for cell symbols other than name matching
15418 "\\`[A-Z]+[0-9]+\\'" regexp .
15419 (ses-create-cell-variable): New defun.
15420 (ses-relocate-formula): Relocate formulas only for cells the
15421 symbols of which are not renamed, i.e. symbols whose names do not
15422 match regexp "\\`[A-Z]+[0-9]+\\'".
15423 (ses-relocate-all): Relocate values only for cells the symbols of
15424 which are not renamed.
15425 (ses-load): Create cells variables as the (ses-cell ...) are read,
15426 in order to check row col consistency with cell symbol name only
15427 for cells that are not renamed.
15428 (ses-replace-name-in-formula): New defun.
15429 (ses-rename-cell): New defun.
15430
15431 2011-12-11 Chong Yidong <cyd@gnu.org>
15432
15433 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15434 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15435
15436 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15437
15438 * window.el (other-window): Fix docstring.
15439
15440 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15441
15442 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15443 `from' or `to' address before taking its substring.
15444 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15445 encoded name is chopped in the middle of the encoded string, and
15446 thus displayed encoded.
15447
15448 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15449
15450 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15451
15452 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15453
15454 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15455 to use texinfo-update-node and commands that call it if the
15456 Texinfo file uses @node lines without next/prev/up pointers.
15457 Correct outdated description about texinfo-master-menu.
15458 (texinfo-all-menus-update, texinfo-master-menu)
15459 (texinfo-update-node, texinfo-every-node-update)
15460 (texinfo-multiple-files-update): Doc fix. Warn against updating
15461 all the @node lines.
15462 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15463 argument is numeric. Explain better in the doc string what the
15464 function really does.
15465 (texinfo-insert-master-menu-list): Improve the error message
15466 displayed if there's no menu in the Top node.
15467 (Bug#2975) See also this thread:
15468 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15469
15470 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15471
15472 * speedbar.el (speedbar-supported-extension-expressions):
15473 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15474
15475 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15476
15477 * printing.el (pr-mode-alist):
15478 * simple.el (filter-buffer-substring-functions)
15479 (completion-list-insert-choice-function):
15480 * window.el (window-with-parameter, window-atom-root)
15481 (window-sides-slots, window-size-fixed, window-min-delta)
15482 (window-max-delta, window--resize-mini-window)
15483 (window--resize-child-windows-normal, window-tree)
15484 (delete-other-windows, quit-window, split-window)
15485 (display-buffer-record-window, special-display-buffer-names)
15486 (special-display-regexps, special-display-popup-frame)
15487 (same-window-p, split-window-sensibly)
15488 (display-buffer-overriding-action, display-buffer-alist)
15489 (display-buffer-base-action, display-buffer, switch-to-buffer)
15490 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15491 (fit-window-to-buffer, recenter-positions)
15492 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15493 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15494 and remove unneeded backslashes in docstrings.
15495
15496 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15497
15498 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15499
15500 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15501 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15502 end in ".mk".
15503 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15504 when reading the makefile (bug#10116).
15505
15506 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15507
15508 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15509 (bug#10116).
15510
15511 2011-12-06 Glenn Morris <rgm@gnu.org>
15512
15513 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15514
15515 2011-12-06 Chong Yidong <cyd@gnu.org>
15516
15517 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15518
15519 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15520
15521 * textmodes/table.el (table-shorten-cell): Fix typo.
15522
15523 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15524
15525 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15526
15527 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15528
15529 * descr-text.el (describe-char): Fix display of strong
15530 right-to-left characters and directional embeddings and overrides.
15531
15532 * simple.el (what-cursor-position): Fix display of codepoints of
15533 strong right-to-left characters.
15534
15535 2011-12-05 Chong Yidong <cyd@gnu.org>
15536
15537 * faces.el (read-color): Doc fix.
15538
15539 2011-12-05 Glenn Morris <rgm@gnu.org>
15540
15541 * align.el (align--set-marker): Add doc-string.
15542 Don't try to move something that is not a marker. (Bug#10216)
15543
15544 2011-12-04 Glenn Morris <rgm@gnu.org>
15545
15546 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15547 overly zealous deletion of trailing whitespace.
15548
15549 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15550
15551 * server.el (server-delete-client): On Windows, do not try to delete
15552 the only terminal.
15553 (server-process-filter): On Windows, treat requests for a tty frame as
15554 if they were for a GUI frame if the running server is in GUI mode.
15555
15556 2011-12-03 Glenn Morris <rgm@gnu.org>
15557
15558 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15559
15560 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15561
15562 * electric.el: Streamline electric-indent's hook.
15563 (electric-indent-chars): Revert to simple list.
15564 (electric-indent-functions): New var.
15565 (electric-indent-post-self-insert-function): Use it.
15566
15567 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15568 there's no inferior buffer (bug#10196).
15569 (prolog-consult-compile): Don't use toggle-read-only.
15570
15571 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15572
15573 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15574 interrupt. (Bug#10187)
15575
15576 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15577
15578 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15579 (bug#9160).
15580
15581 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15582 (bug#10191).
15583
15584 2011-12-02 Juri Linkov <juri@jurta.org>
15585
15586 * info.el (Info-search): Display "end of manual" when Isearch
15587 reaches the end of single-file Info manual. (Bug#9918)
15588
15589 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15590
15591 * isearch.el (isearch-message-prefix): Run the input method part
15592 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15593
15594 2011-12-02 Juri Linkov <juri@jurta.org>
15595
15596 * isearch.el (isearch-occur): Use `word-search-regexp' for
15597 `isearch-word'.
15598 (isearch-search-and-update): Add condition for `isearch-word' and
15599 call `word-search-regexp'. (Bug#10145)
15600
15601 2011-12-01 Glenn Morris <rgm@gnu.org>
15602
15603 * eshell/em-hist.el (eshell-hist-initialize):
15604 Handle eshell-history-size nil and HISTSIZE set or unset.
15605 (eshell-history-file-name, eshell-history-size): Fix custom type.
15606
15607 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15608
15609 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15610
15611 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15612
15613 * progmodes/verilog-mode.el (verilog-pretty-expr):
15614 Rework verilog-pretty-expr to handle new assignment operators in system
15615 verilog, such as += *= and the like.
15616 (verilog-assignment-operator-re): Regular expression to find the
15617 assigment operator in a verilog assignment.
15618 (verilog-assignment-operation-re): Regular expression to find an
15619 assignment statement for pretty-expr.
15620 (verilog-in-attribute-p): Query returns true if point is in an
15621 attribute context; used to skip these for expression line up from
15622 pretty-expr.
15623 (verilog-in-parameter-p): Query returns true if point is in an
15624 parameter definition context; used to skip these for expression
15625 line up from pretty-expr.
15626 (verilog-in-parenthesis-p): Query returns true if point is in a
15627 parenthetical expression, specifically ( ) but not [ ] or { };
15628 used by pretty-expr.
15629 (verilog-just-one-space): If there is no space, don't add one.
15630 (verilog-get-lineup-indent-2): Specifically skip just attribute
15631 contexts for expression lineup, rather than skipping all
15632 parenthetical expressions.
15633 (verilog-calculate-indent): Fix comment, and fix indent.
15634 (verilog-do-indent): Indent declarations in lists (suggested by
15635 Joachim Lechner).
15636 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15637 skeleton items.
15638 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15639 by Alain Mellan).
15640
15641 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15642
15643 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15644 parameters with embedded comments. Reported by Ray Stevens.
15645 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15646 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15647 Reported by Tim Holt.
15648 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15649 instantiated by upper module causing wrong expansion until AUTOed a
15650 second time. Reported by K C Buckenmaier.
15651 (verilog-diff-auto): Fix showing .* as a difference when
15652 `verilog-auto-star-save' off. Reported by Dan Dever.
15653 (verilog-auto-reset, verilog-read-always-signals)
15654 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15655 temporary signals in reset list if
15656 verilog-auto-reset-blocking-in-non is nil, and match assignment
15657 style to each signal's assignment type, bug381.
15658 Reported by Thomas Esposito.
15659 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15660 (verilog-uvm-statement-re): Support UVM indentation and
15661 highlighting, with old OVM keywords only.
15662 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15663 Support AUTOTIEOFF creating non-wire data types.
15664 Suggested by Jonathan Greenlaw.
15665 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15666 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15667 (verilog-inject-sense, verilog-read-inst-pins)
15668 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15669 Fix mismatching parenthesis inside commented out code when deleting
15670 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15671 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15672 non-numeric vector width. Reported by Alex Reed.
15673 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15674 detecting signals with parameter widths. Reported by Alex Reed.
15675 (verilog-auto-delete-trailing-whitespace):
15676 With `verilog-auto-delete-trailing-whitespace' remove trailing
15677 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15678 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15679 Fix verilog-scan-cache corruption when running user AUTO expansion
15680 hooks that call indentation routines.
15681 (verilog-simplify-range-expression): Fix typo ignoring lower case
15682 identifiers.
15683 (verilog-delete-auto): Fix delete-autos to also remove user created
15684 automatics, as long as they start with AUTO.
15685 (verilog-batch-diff-auto, verilog-diff-auto)
15686 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15687 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15688 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15689 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15690 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15691 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15692 is disabled and its cache will get corrupt, causing AUTOS not to
15693 expand. Instead use only -quick functions.
15694 (verilog-scan-region): Fix scanning over escaped quotes.
15695 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15696 (verilog-re-search-backward-quick)
15697 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15698 related functions now ignore strings, to fix misparsing of strings
15699 with magic comments embedded in them.
15700 (verilog-read-auto-template):
15701 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15702 Reported by Brad Dobbie.
15703 (verilog-read-auto-template):
15704 Fix 'verilog-auto-inst-template-numbers' with comments.
15705 Reported by Brad Dobbie.
15706 (verilog-auto-inst, verilog-auto-inst-param)
15707 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15708 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15709 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15710 debugging templates without merge conflicts, bug357.
15711 Reported by Brad Dobbie.
15712 (verilog-read-auto-template):
15713 Fix verilog-auto-inst-template-numbers with multiple templates.
15714 Reported by Brad Dobbie.
15715 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15716 abbrevs so user won't be asked to save.
15717 (verilog-read-auto-lisp-present): Fix to start at beginning of
15718 buffer in case called outside of verilog-auto.
15719 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15720 to "X-2". Reported by Matthew Myers.
15721 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15722 all inputs from module templates. Reported by Leith Johnson.
15723 (verilog-module-inside-filename-p): Fix locating programs as with
15724 modules.
15725 (verilog-auto-inst-port): Fix vl-width expressions when using
15726 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15727 (verilog-decls-get-regs, verilog-decls-get-signals,
15728 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15729 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15730 verilog-read-decls): Combine reg and wire structures into one var
15731 structure to represent SystemVerilog concepts.
15732 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15733 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15734 (verilog-auto-wire-type, verilog-insert-definition):
15735 Add verilog-auto-wire-type and AUTOLOGIC to support using
15736 SystemVerilog "logic" keyword instead of "wire"/"reg".
15737 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15738 to declares outputs that also have assignments (presumably in an
15739 ifdef or generate if so there's not a driver conflict).
15740 Reported by Matthew Myers.
15741 (verilog-auto-declare-nettype, verilog-insert-definition):
15742 Add verilog-auto-declare-nettype to fix declarations using
15743 `default_nettype none. Reported by Julian Gorfajn.
15744 (verilog-read-always-signals-recurse, verilog-read-decls)
15745 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15746 malformed end statement, bug325. Reported by Joshua Wise and
15747 Andrew Drake.
15748 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15749 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15750 when expanding .* in interfaces, bug320.
15751 Reported by Pierre-David Pfister.
15752 (verilog-read-module-name): Fix import statements between module
15753 name and open parenthesis, bug317.
15754 Reported by Pierre-David Pfister.
15755 (verilog-simplify-range-expression): Fix simplification of
15756 multiplications inside AUTOWIRE connections, bug303.
15757 (verilog-auto-inst-port): Support parameter expansion in
15758 multidimensional arrays.
15759 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15760 after "assert property". Reported by Julian Gorfajn.
15761 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15762 with multiplication, bug303.
15763 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15764 Reported by Jan Frode Lonnum.
15765
15766 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15767
15768 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15769 (hfy-shell-file-name, hfy-shell):
15770 * international/fontset.el (x-decompose-font-name): Fix typos.
15771
15772 2011-11-29 Ken Brown <kbrown@cornell.edu>
15773
15774 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15775 (gdb-version): Remove defvar.
15776 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15777 (gdb-gud-context-command, gdb-non-stop-handler)
15778 (gdb-current-context-command, gdb-stopped): Use it.
15779 (gdb-init-1): Enable pretty printing here.
15780 (gdb-non-stop-handler): Don't enable pretty-printing here.
15781 Check to see if the target supports non-stop mode; if not, turn off
15782 non-stop mode. Use the following.
15783 (gdb-check-target-async): New defun.
15784 (gud-watch, gdb-stopped): Fix whitespace.
15785 (gdb-get-source-file): Don't try to display the source file if
15786 `gdb-main-file' is nil.
15787
15788 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15789
15790 * align.el: Try to generate fewer markers (bug#10047).
15791 (align--set-marker): New macro.
15792 (align-region): Use it.
15793
15794 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15795
15796 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15797
15798 2011-11-29 Chong Yidong <cyd@gnu.org>
15799
15800 * indent.el (indent-for-tab-command, indent-according-to-mode):
15801 Doc fix.
15802 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15803
15804 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15805
15806 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15807 aware of remote file names. (Bug#10124)
15808
15809 2011-11-29 Chong Yidong <cyd@gnu.org>
15810
15811 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15812
15813 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15814
15815 * files.el (find-file): Don't use force-same-window (bug#10144).
15816 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15817 use pop-to-buffer if the selected window can't be used.
15818 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15819
15820 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15821
15822 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15823 special-mode-map.
15824
15825 2011-11-28 Chong Yidong <cyd@gnu.org>
15826
15827 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15828
15829 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15830
15831 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15832 gdb-get-source-file-list on gdb-create-source-file-list.
15833
15834 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15835
15836 * whitespace.el (whitespace-newline): Use a different foreground
15837 color for 16-color light-background displays.
15838
15839 2011-11-24 Chong Yidong <cyd@gnu.org>
15840
15841 * window.el (display-buffer--special-action): Doc fix.
15842
15843 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15844
15845 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15846 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15847 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15848 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15849 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15850 (avl-tree-stack-first):
15851 * emacs-lisp/cconv.el (cconv--analyse-use):
15852 * net/gnutls.el (gnutls-negotiate): Fix typos.
15853
15854 2011-11-24 Glenn Morris <rgm@gnu.org>
15855
15856 * lpr.el (lpr-windows-system, lpr-lp-system):
15857 * mail/binhex.el (binhex-begin-line):
15858 * progmodes/grep.el (grep-history, grep-find-history):
15859 * textmodes/flyspell.el:
15860 * vc/pcvs-defs.el (cvs-global-menu):
15861 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15862 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15863 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15864
15865 * net/tls.el: Fix case of "GnuTLS".
15866
15867 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15868
15869 * version.el (emacs-build-system): Give it a doc-string.
15870
15871 2011-11-24 Juri Linkov <juri@jurta.org>
15872
15873 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15874
15875 2011-11-24 Glenn Morris <rgm@gnu.org>
15876
15877 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15878 if called on a non-mime message just toggle the headers. (Bug#8006)
15879
15880 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15881
15882 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15883 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15884 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15885 (allout-rebullet-heading, allout-open-sibtopic)
15886 (allout-toggle-current-subtree-encryption)
15887 (allout-toggle-subtree-encryption, allout-encrypt-string)
15888 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15889 (allout-distinctive-bullets-string, allout-auto-activation):
15890 * window.el (window-normalize-buffer-to-display):
15891 * progmodes/verilog-mode.el (verilog-batch-indent):
15892 * textmodes/bibtex.el (bibtex-field-braces-opt)
15893 (bibtex-field-strings-opt):
15894 * vc/cvs-status.el (cvs-tree-merge):
15895 Fix typos.
15896
15897 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15898
15899 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15900 `non-essential' to t, in order to avoid remote connections.
15901
15902 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15903
15904 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15905 On MS-DOS and MS-Windows, compare with loaddefs.el
15906 case-insensitively.
15907
15908 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15909
15910 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15911
15912 2011-11-23 Glenn Morris <rgm@gnu.org>
15913
15914 * paths.el (rmail-file-name): Reformat the doc-string so that it
15915 is picked up.
15916
15917 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15918 (rmail-auto-file): Ignore case in the "special" field names,
15919 as mail-fetch-field does for all others.
15920
15921 * mail/rmail.el (rmail-forward):
15922 * mail/rmailkwd.el (rmail-set-label):
15923 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15924 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15925
15926 * mail/rmail.el (rmail-current-message): Doc fix.
15927
15928 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15929
15930 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15931
15932 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15933
15934 2011-11-22 Glenn Morris <rgm@gnu.org>
15935
15936 * mail/rmailmm.el (test-rmail-mime-handler)
15937 (test-rmail-mime-bulk-handler)
15938 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15939
15940 2011-11-21 Juri Linkov <juri@jurta.org>
15941
15942 * calc/calc.el (calc-read-key-sequence):
15943 Let-bind `input-method-function' to nil. (Bug#10018)
15944
15945 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15946
15947 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15948 Tell the caller that the next line needs recomputation, even
15949 though it doesn't start a sexp (bug#10094).
15950
15951 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15952
15953 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15954
15955 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15956
15957 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15958 Use force-same-window.
15959
15960 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15961
15962 * descr-text.el (describe-char-unicode-data):
15963 * json.el (json-string-escape):
15964 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15965 (Footnote-unicode, Footnote-style-p):
15966 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15967
15968 2011-11-20 Chong Yidong <cyd@gnu.org>
15969
15970 * window.el (replace-buffer-in-windows): Restore interactive spec.
15971
15972 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15973
15974 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15975
15976 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15977 (byte-compile-global-not-obsolete-vars): New var.
15978 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15979 Use it.
15980 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15981
15982 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15983
15984 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15985 * progmodes/pascal.el (electric-pascal-equal):
15986 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15987 * xml.el (xml-substitute-special): Fix typos.
15988
15989 2011-11-20 Glenn Morris <rgm@gnu.org>
15990
15991 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15992 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15993 Doc fixes.
15994 (rmail-decode-mime-charset): Mark as obsolete.
15995
15996 * mail/rmailsum.el (rmail-message-regexp-p-1):
15997 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15998 Before using mime functions, check they are set. (Bug#10077)
15999
16000 2011-11-19 Juri Linkov <juri@jurta.org>
16001
16002 * info.el (Info-finder-find-node): Use `package--builtins' instead
16003 of `package-alist'. Use node names formed by the pattern "Keyword "
16004 and the keyword name.
16005
16006 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16007
16008 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16009
16010 2011-11-19 Juri Linkov <juri@jurta.org>
16011
16012 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16013 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16014 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16015 `old-history', `old-history-forward'. Add let-binding
16016 `window-selected'. Remove calls to `kill-buffer',
16017 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16018 before calling `Info-find-node', so `Info-find-node-2' will reread
16019 the Info file. Restore window positions only when `window-selected'
16020 is non-nil.
16021
16022 2011-11-19 Juri Linkov <juri@jurta.org>
16023
16024 * isearch.el (isearch-lazy-highlight-new-loop):
16025 Remove condition `(not isearch-error)'. (Bug#9918)
16026
16027 * misearch.el (multi-isearch-search-fun): Add condition
16028 `(not bound)' to ignore lazy-highlighting search.
16029 Add the search-failed message "end of multi" when the end of
16030 multi-sequence is reached. Uncapitalize the search-failed
16031 message "Repeat for next buffer".
16032
16033 * info.el (Info-search): Add the search-failed message
16034 "end of the manual" when the end of the manual is reached
16035 in Isearch mode.
16036
16037 2011-11-19 Juri Linkov <juri@jurta.org>
16038
16039 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16040 Use non-destructive `remove' instead of `delete' because
16041 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16042 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16043
16044 2011-11-19 Juri Linkov <juri@jurta.org>
16045
16046 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16047 to nil instead of binding `search-ring' and `regexp-search-ring'.
16048 (Bug#9185)
16049
16050 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16051
16052 * simple.el (line-move): Force movement by logical lines for any
16053 hscrolled window, not only when auto-hscroll-mode is on.
16054 (line-move-visual): Update doc string to that effect. (Bug#10076)
16055
16056 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16057
16058 * language/european.el (macintosh): Define as alias for mac-roman.
16059
16060 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16061
16062 * mail/rmailmm.el (rmail-mime-display-header)
16063 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16064 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16065 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16066 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16067 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16068 of a raw aref.
16069 (rmail-mime-entity-segment): To get past the tagline, move forward
16070 2 more lines, to account for the 2 empty lines that precede and
16071 follow the line with the buttons.
16072 (rmail-mime-update-tagline): Move one more line, to get past the
16073 empty line that follows the buttons in the tagline. (Bug#9520)
16074
16075 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16076
16077 * window.el (window-max-delta-1, window-min-delta-1)
16078 (window-min-size-1, window-state-get-1, window-state-put-1)
16079 (window-state-put-2): Use "window--" prefix.
16080
16081 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16082
16083 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16084 (smie-warning-count): New var.
16085 (smie-set-prec2tab): Use it.
16086 (smie-bnf->prec2): Improve warnings. Add docstring.
16087 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16088 (smie-bnf--set-class): New function.
16089 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16090 corner case.
16091
16092 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16093 (compilation-error-properties, compilation-move-to-column):
16094 Handle compilation-first-column while in the target buffer.
16095
16096 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16097 Don't hardcode point-min==1.
16098
16099 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16100 (eshell-rewrite-for-command): Remove workaround.
16101 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16102 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16103 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16104
16105 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16106
16107 2011-11-17 Glenn Morris <rgm@gnu.org>
16108
16109 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16110 Ignore buffer-local generated-autoload-file if it is the same
16111 as the global value. (Bug#10049)
16112
16113 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16114
16115 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16116 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16117 (reftex-toc-previous-heading, reftex-toc-max-level)
16118 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16119 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16120 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16121 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16122 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16123 (reftex-toc-rename-label, reftex-toc-visit-location)
16124 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16125 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16126 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16127 leaving "*toc*" only for references to the buffer.
16128
16129 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16130
16131 * window.el (window-resize, delete-window, split-window):
16132 Replace window-splits by window-combination-resize.
16133 * cus-start.el (window-splits): Replace by window-combination-resize.
16134
16135 2011-11-17 Glenn Morris <rgm@gnu.org>
16136
16137 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16138 Make bash entry derive from sh entry, not shell entry.
16139
16140 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16141
16142 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16143 local file name.
16144
16145 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16146
16147 * menu-bar.el (menu-bar-file-menu):
16148 * printing.el (pr-ps-utility):
16149 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16150 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16151 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16152 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16153 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16154 (icalendar--convert-cyclic-to-ical)
16155 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16156 (icalendar--convert-ical-to-diary)
16157 (icalendar--convert-recurring-to-diary)
16158 (icalendar--convert-non-recurring-all-day-to-diary)
16159 (icalendar-import-format-sample):
16160 * progmodes/idlw-shell.el (idlwave-shell-mode):
16161 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16162 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16163 (vhdl-ps-print-init): Fix typos.
16164
16165 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16166
16167 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16168 FSF and collapse date sequence, obscure author/maintainer email address
16169 better, remove extra version line, track relocation of author's webpage.
16170
16171 * progmodes/python.el (python-pdbtrack-input-prompt)
16172 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16173 regular python pdb prompts. Adjustments shamelessly taken exactly as
16174 suggested in EmacsWiki page (tiny change):
16175 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16176
16177 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16178
16179 * expand.el (expand-pos, expand-index, expand-point):
16180 Remove redundant info from docstring.
16181 (expand-add-abbrevs): Doc fix.
16182 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16183 (expand-sample-perl-mode-expand-list): Fix typos.
16184
16185 * net/dbus.el (dbus-event-member-name):
16186 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16187 * term/pc-win.el (msdos-create-frame-with-faces):
16188 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16189
16190 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16191
16192 * window.el (split-window, window-state-get-1)
16193 (window-state-put-1, window-state-put-2): Rename occurrences of
16194 window-nest to window-combination-limit.
16195 * cus-start.el (window-nest): Rename to window-combination-limit.
16196
16197 2011-11-16 Chong Yidong <cyd@gnu.org>
16198
16199 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16200 regexp (Bug#10033).
16201
16202 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16203
16204 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16205 `completing-read' will remove *Completions* and will preserve
16206 current-buffer for us.
16207 (tmm-add-prompt): Users of *Completions* will always (re)set its
16208 major mode.
16209 (tmm-old-comp-map): Remove.
16210
16211 2011-11-16 Glenn Morris <rgm@gnu.org>
16212
16213 * mail/rmailedit.el: Require rmailmm when compiling.
16214 (rmail-old-mime-state): New declaration.
16215 (rmail-edit-current-message): If editing a mime message,
16216 edit the "raw" message from the mbox buffer.
16217 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16218
16219 2011-11-15 Glenn Morris <rgm@gnu.org>
16220
16221 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16222 which wasn't being used. Add optional arg to force given state.
16223 (rmail-mime): Add optional arg to force given state.
16224
16225 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16226
16227 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16228 * frame.el (display-mm-dimensions-alist):
16229 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16230 (outline-move-subtree-down):
16231 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16232 (newsticker--treeview-do-get-node):
16233 * net/quickurl.el (quickurl-list-buffer-name):
16234 * progmodes/dcl-mode.el (dcl-mode):
16235 * progmodes/gdb-mi.el (gdb-mapcar*):
16236 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16237
16238 2011-11-15 Glenn Morris <rgm@gnu.org>
16239
16240 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16241 in a boolean sense, so just make it a boolean, and fix the doc.
16242 (rmail-show-mime-function, rmail-mime-feature)
16243 (rmail-require-mime-maybe): Doc fixes.
16244 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16245
16246 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16247
16248 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16249
16250 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16251 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16252 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16253 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16254
16255 2011-11-15 Glenn Morris <rgm@gnu.org>
16256
16257 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16258 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16259 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16260 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16261 (rmail-mime, rmail-show-mime): Doc fixes.
16262
16263 * term/ns-win.el (mode-line-frame-identification):
16264 Leave it alone. (Bug#10051)
16265
16266 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16267
16268 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16269 Handle empty buffers. (Bug#9978)
16270
16271 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16272
16273 * international/mule.el (define-charset):
16274 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16275 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16276 * progmodes/verilog-mode.el (verilog-backward-token):
16277 * textmodes/ispell.el (lookup-words):
16278 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16279
16280 2011-11-14 Glenn Morris <rgm@gnu.org>
16281
16282 * progmodes/executable.el
16283 (executable-make-buffer-file-executable-if-script-p):
16284 Handle file-modes returning nil.
16285
16286 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16287 message - not necessary, and causes problems. (Bug#9831)
16288
16289 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16290
16291 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16292
16293 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16294 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16295 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16296
16297 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16298
16299 * window.el (window-resize, delete-window): Use window-splits
16300 variable instead of function.
16301 (window-state-get-1, window-state-put-2, window-state-put):
16302 Don't deal with windows' splits status.
16303
16304 2011-11-12 Glenn Morris <rgm@gnu.org>
16305
16306 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16307 (apropos-documentation): Doc fixes.
16308
16309 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16310
16311 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16312 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16313
16314 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16315
16316 * electric.el (electric-indent-post-self-insert-function): Make it
16317 possible for a char to only indent in some circumstances.
16318 (electric-indent-mode): Simplify.
16319
16320 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16321
16322 * window.el (windows-with-parameter): Remove unused function.
16323 (windows-at-side): Rename to window-at-side-list.
16324 (window-check, window-atom-check, window-atom-check-1)
16325 (window-side-check, window-size-ignore, window-size-fixed-1)
16326 (window-in-direction-2): Prefix with "window--".
16327 (window-tree-1): Rename to window--subtree, fix doc-string.
16328
16329 2011-11-11 Glenn Morris <rgm@gnu.org>
16330
16331 * subr.el (eval-after-load): If FILE is already loaded,
16332 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16333
16334 2011-11-10 Glenn Morris <rgm@gnu.org>
16335
16336 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16337 Call svn via vc-svn-command rather than vc-do-command.
16338 (vc-svn-command): Add --non-interactive. (Bug#9993)
16339 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16340
16341 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16342 Add toggle-read-only. (Bug#7292)
16343 * files.el (toggle-read-only): Mention that it should only
16344 be used interactively. (Bug#10006)
16345
16346 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16347
16348 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16349 Adjust regexp for OCaml warnings.
16350
16351 * electric.el (electric-pair-post-self-insert-function): Let user
16352 turn it off buffer-locally (bug#9932).
16353
16354 * progmodes/python.el (python-beginning-of-statement):
16355 Rewrite (bug#2703).
16356
16357 * progmodes/compile.el: Better handle TABs (bug#9749).
16358 (compilation-internal-error-properties)
16359 (compilation-next-error-function): Obey the target buffer's
16360 compilation-error-screen-columns.
16361
16362 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16363
16364 * progmodes/meta-mode.el: Remove obsolete comments.
16365 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16366 Fix typos in docstrings.
16367
16368 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16369
16370 * window.el (window-size-fixed-p): Rewrite doc-string.
16371 (window-resizable-p): Rename to window--resizable-p. Update callers.
16372 (window--resizable): New function. Make all callers of
16373 window-resizable call window--resizable instead.
16374 (window-resizable): Rewrite in terms of window--resizable.
16375
16376 2011-11-08 Glenn Morris <rgm@gnu.org>
16377
16378 * progmodes/delphi.el (delphi-mode-syntax-table):
16379 Let define-derived-mode define a proper syntax table. (Bug#9994)
16380
16381 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16382
16383 * window.el: Stay away from defsubst.
16384 (window-list-no-nils): Remove.
16385 (window-state-get-1, window-state-get): Use backquote instead.
16386
16387 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16388
16389 * emacs-lisp/find-func.el (find-function-read):
16390 Fix incorrect use of default argument in `completing-read'.
16391
16392 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16393
16394 * window.el (display-buffer-function, special-display-function):
16395 Mention display-buffer-record-window but do not mention
16396 help-setup parameter in doc-strings.
16397 (window-min-delta): Fix doc-string typo.
16398
16399 2011-11-08 Chong Yidong <cyd@gnu.org>
16400
16401 * window.el (window-total-height, window-total-width): Doc fix.
16402 (window-body-size): Move from C.
16403 (window-body-height, window-body-width): Move to C.
16404
16405 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16406
16407 * window.el: Make special-display like display-buffer-alist (bug#9532).
16408 (display-buffer--special-action): New function, morphed
16409 from display-buffer--special.
16410 (display-buffer): Use it to handle special-display-buffers at higher
16411 priority (just after display-buffer-alist).
16412 (display-buffer-fallback-action, display-buffer--other-frame-action)
16413 (pop-to-buffer-same-window): Remove display-buffer--special.
16414
16415 2011-11-07 Glenn Morris <rgm@gnu.org>
16416
16417 * calendar/cal-menu.el (cal-menu-set-date-title):
16418 Do nothing if not in a calendar. (Bug#9976)
16419
16420 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16421
16422 * files.el (find-file): Always use selected-window.
16423
16424 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16425
16426 * window.el (window-combinations): Make WINDOW argument
16427 mandatory. Rewrite doc-string.
16428 (walk-window-subtree, window-atom-check, window-min-delta)
16429 (window-max-delta, window--resize-this-window)
16430 (window--resize-root-window-vertically, window-tree)
16431 (balance-windows, window-state-put): Rewrite doc-strings as to
16432 not mention the term "subwindow".
16433 (window--resize-subwindows-skip-p): Rename to
16434 window--resize-child-windows-skip-p.
16435 (window--resize-subwindows-normal): Rename to
16436 window--resize-child-windows-normal.
16437 (window--resize-subwindows): Rename to
16438 window--resize-child-windows.
16439 (window-or-subwindow-p): Rename to window--in-subtree-p.
16440
16441 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16442
16443 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16444 Ensure that mbox format messages end in two newlines (Bug#9974).
16445
16446 2011-11-06 Chong Yidong <cyd@gnu.org>
16447
16448 * window.el (window-combination-p): Function deleted; its
16449 side-effect is not used in any existing code.
16450 (window-combinations, window-combined-p): Call window-*-child
16451 directly.
16452
16453 2011-11-05 Chong Yidong <cyd@gnu.org>
16454
16455 * window.el (window-valid-p): Rename from window-any-p.
16456 (window-size-ignore, window-state-get): Callers changed.
16457 (window-normalize-window): Rename from window-normalize-any-window.
16458 New arg LIVE-ONLY, replacing window-normalize-live-window.
16459 (window-normalize-live-window): Delete.
16460 (window-combination-p, window-combined-p, window-combinations)
16461 (walk-window-subtree, window-atom-root, window-min-size)
16462 (window-sizable, window-sizable-p, window-size-fixed-p)
16463 (window-min-delta, window-max-delta, window-resizable)
16464 (window-resizable-p, window-full-height-p, window-full-width-p)
16465 (window-current-scroll-bars, window-point-1, set-window-point-1)
16466 (window-at-side-p, window-in-direction, window-resize)
16467 (adjust-window-trailing-edge, maximize-window, minimize-window)
16468 (window-deletable-p, delete-window, delete-other-windows)
16469 (record-window-buffer, unrecord-window-buffer)
16470 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16471 (quit-window, split-window, window-state-put)
16472 (set-window-text-height, fit-window-to-buffer)
16473 (shrink-window-if-larger-than-buffer): Callers changed.
16474
16475 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16476
16477 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16478 rfc2047-decode-string.
16479 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16480 warnings.
16481
16482 * window.el (window-body-height, window-body-width): Mention in
16483 the doc string that the return values are in frame's canonical
16484 units. (Bug#9949)
16485
16486 2011-11-03 Alan Mackenzie <acm@muc.de>
16487
16488 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16489 change in cc-engine.el.
16490
16491 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16492
16493 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16494
16495 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16496
16497 * window.el (quit-window): Call unrecord-window-buffer after
16498 showing another buffer in the window. (Bug#9937)
16499 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16500
16501 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16502
16503 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16504 Accept status with more than 9 shelves. (Bug#9935)
16505 Reported by Colin D Bennett <colin@gibibit.com>.
16506
16507 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16508
16509 * help.el (with-help-window): Don't reference
16510 temp-buffer-show-specifiers in doc-string.
16511
16512 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16513
16514 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16515 menu-item.
16516
16517 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16518
16519 * whitespace.el: New version 13.2.2.
16520 (whitespace-newline-mode): Disable properly. Reported by Sarah
16521 <EmacsWiki>.
16522
16523 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16524
16525 * net/newst-treeview.el: Remove "Time-stamp".
16526 (newsticker--group-manage-orphan-feeds): Do not call
16527 newsticker--treeview-tree-update.
16528 (newsticker-treeview-update, newsticker-treeview):
16529 Call newsticker--treeview-tree-update if necessary.
16530
16531 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16532
16533 * window.el (window-iso-combination-p, window-iso-combined-p)
16534 (window-iso-combinations): Remove "iso-" infix.
16535 Suggested by Chong Yidong.
16536 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16537 (window-max-delta-1, window-resize, window--resize-siblings)
16538 (window--resize-this-window, adjust-window-trailing-edge)
16539 (split-window, balance-windows-1)
16540 (shrink-window-if-larger-than-buffer):
16541 * calendar/calendar.el (calendar-generate-window):
16542 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16543
16544 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16545
16546 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16547 in place (bug#9907).
16548 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16549 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16550 (eshell-structure-basic-command, eshell-rewrite-while-command)
16551 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16552 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16553 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16554 (eshell-do-pipelines-synchronously, eshell-eval-command):
16555 Use backquotes and prefer setq to set.
16556 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16557 (eshell-macrop): Use functionp.
16558 (eshell-do-eval): Handle multiple expressions in `while' body.
16559
16560 2011-10-30 Chong Yidong <cyd@gnu.org>
16561
16562 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16563 instead of set-mark (Bug#9810).
16564
16565 2011-10-30 Chong Yidong <cyd@gnu.org>
16566
16567 * window.el (split-window-below, split-window-right): Rename from
16568 split-window-above-each-other and split-window-side-by-side
16569 respectively. All callers changed.
16570 (split-window-sensibly, split-window-sensibly): Use them.
16571 (split-window-keep-point): Doc fix.
16572
16573 * isearch.el: Add isearch-scroll property to split-window-below
16574 and split-window-right.
16575
16576 * follow.el (follow-mode):
16577 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16578 * progmodes/ada-xref.el (ada-gdb-application):
16579 * emulation/vip.el (vip-buffer-in-two-windows):
16580 * image-dired.el (image-dired-dired-with-window-configuration):
16581 * dired-x.el (dired-do-find-marked-files):
16582 * dired.el (dired-pop-to-buffer):
16583 * bs.el (bs--show-with-configuration):
16584 * vc/emerge.el (emerge-setup-windows):
16585 * textmodes/two-column.el (2C-two-columns):
16586 * textmodes/reftex-toc.el (reftex-toc):
16587 * progmodes/gdb-mi.el (gdb-setup-windows):
16588 * progmodes/fortran.el (fortran-window-create):
16589 * net/newst-treeview.el (newsticker--treeview-window-init):
16590 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16591 * emulation/tpu-edt.el (tpu-gold-map):
16592 * emulation/crisp.el (crisp-mode-map):
16593 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16594
16595 2011-10-29 Chong Yidong <cyd@gnu.org>
16596
16597 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16598
16599 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16600
16601 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16602 forged Ispell output (Bug#7904).
16603
16604 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16605
16606 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16607
16608 * doc-view.el: Avoid ugly errors about not finding nil.
16609 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16610 (doc-view-dvipdf-program, doc-view-unoconv-program)
16611 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16612 Avoid nil or absolute file name as default value.
16613 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16614
16615 2011-10-28 Alan Mackenzie <acm@muc.de>
16616
16617 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16618
16619 2011-10-28 Alan Mackenzie <acm@muc.de>
16620
16621 Amend the handling of c-beginning/end-of-defun in nested declaration
16622 scopes.
16623
16624 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16625 cc-langs.el. Change it to a defcustom.
16626
16627 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16628 cc-vars.el.
16629
16630 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16631 Prevent "class foo : bar" being spuriously recognized as a label.
16632
16633 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16634 Add parameter `inclusive' (to include enclosing braces in the region).
16635 (c-widen-to-enclosing-decl-scope): New function.
16636 (c-while-widening-to-decl-block): New macro.
16637 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16638 outward for defun boundaries, and correspondingly change symbol
16639 `respect-enclosure' to `go-outward'.
16640 (c-declaration-limits): Change algorithm to report only the "innermost"
16641 defun's boundaries.
16642
16643 2011-10-28 Deniz Dogan <deniz@dogan.se>
16644
16645 * net/rcirc.el (rcirc-mode): Use hard newlines.
16646
16647 2011-10-28 Alan Mackenzie <acm@muc.de>
16648
16649 Amend to indent and fontify macros "which include their own semicolon"
16650 correctly, using the "virtual semicolon" mechanism.
16651
16652 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16653
16654 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16655 Recode to scan one line at a time rather than having \n and \r
16656 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16657 (c-forward-label): Amend for virtual semicolons.
16658 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16659
16660 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16661 of the new C macros.
16662
16663 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16664 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16665 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16666 (c-opt-cpp-macro-define): Make into a full language variable.
16667 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16668 AWK Mode (including \n, \r) removed, no longer needed.
16669
16670 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16671 Invoke c-make-macro-with-semi-re.
16672
16673 * progmodes/cc-vars.el (c-macro-with-semi-re):
16674 (c-macro-names-with-semicolon): New variables.
16675 (c-make-macro-with-semi-re): New function.
16676
16677 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16678
16679 * vc/log-edit.el: Fill empty field rather than adding new one.
16680 (log-edit-add-field): New function.
16681 (log-edit-insert-changelog): Use it.
16682
16683 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16684
16685 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16686
16687 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16688
16689 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16690 (gdb--check-interpreter): New function.
16691 (gdb): Use it.
16692
16693 2011-10-27 Glenn Morris <rgm@gnu.org>
16694
16695 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16696 (least-positive-float, least-negative-float)
16697 (least-positive-normalized-float, least-negative-normalized-float)
16698 (float-epsilon, float-negative-epsilon):
16699 Remove unnecessary declarations.
16700
16701 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16702 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16703 (least-positive-float, least-negative-float)
16704 (least-positive-normalized-float, least-negative-normalized-float)
16705 (float-epsilon, float-negative-epsilon): Add doc-strings,
16706 based on those in cl.texi.
16707
16708 * files.el (set-visited-file-name): If the major-mode changed,
16709 reload the local variables. (Bug#9796)
16710
16711 2011-10-27 Chong Yidong <cyd@gnu.org>
16712
16713 * subr.el (change-major-mode-after-body-hook): New hook.
16714 (run-mode-hooks): Run it.
16715
16716 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16717 Use change-major-mode-before-body-hook.
16718
16719 * simple.el (fundamental-mode):
16720 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16721 change introducing fundamental-mode-hook.
16722
16723 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16724
16725 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16726
16727 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16728
16729 * ido.el (ido-file-name-all-completions-1): Do not require
16730 tramp.el explicitly. (Bug#7583)
16731
16732 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16733
16734 * progmodes/octave-mod.el:
16735 * progmodes/octave-inf.el: Update maintainer.
16736
16737 2011-10-26 Chong Yidong <cyd@gnu.org>
16738
16739 * subr.el (with-wrapper-hook): Rewrite doc.
16740
16741 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16742
16743 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16744 filenames "/method:foo:". (Bug#9793)
16745
16746 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16747
16748 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16749 (bug#9865).
16750
16751 2011-10-24 Glenn Morris <rgm@gnu.org>
16752
16753 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16754
16755 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16756
16757 * notifications.el: Add the requirement of a running D-Bus session
16758 bus to the Commentary.
16759
16760 2011-10-24 Juri Linkov <juri@jurta.org>
16761
16762 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16763 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16764 (Bug#9364)
16765
16766 2011-10-24 Juri Linkov <juri@jurta.org>
16767
16768 * info.el (Info-following-node-name-re): Add newline to the list
16769 of allowed characters for leading space. (Bug#9824)
16770
16771 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16772
16773 * progmodes/octave-inf.el (inferior-octave-mode-map):
16774 Fix C-c C-h binding.
16775 * progmodes/octave-mod.el (octave-help): Remove.
16776
16777 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16778
16779 Sync with Tramp 2.2.3.
16780
16781 * net/tramp-cache.el (top): Pacify byte-compiler using
16782 `init-file-user' and `site-run-file'.
16783
16784 * net/trampver.el: Update release number.
16785
16786 2011-10-23 Chong Yidong <cyd@gnu.org>
16787
16788 * files.el (toggle-read-only): Remove obsolete comment about
16789 version control.
16790
16791 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16792 for toggle-read-only. Note that this hasn't called vc-next-action
16793 since 2008-05-02, though it wasn't documented at the time.
16794
16795 * vc/ediff-init.el (ediff-toggle-read-only-function):
16796 Use toggle-read-only.
16797
16798 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16799
16800 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16801 of c-parse-state.
16802
16803 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16804 correct faulty logical expression.
16805 (c-parse-state-state, c-record-parse-state-state):
16806 (c-replay-parse-state-state): New defvar/defuns.
16807 (c-debug-parse-state): Use new functions.
16808
16809 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16810
16811 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16812 last fix. Use window-in-direction correctly.
16813
16814 2011-10-21 Chong Yidong <cyd@gnu.org>
16815
16816 * progmodes/idlwave.el (idlwave-mode):
16817 * progmodes/vera-mode.el (vera-mode): No need to set
16818 require-final-newline; that's done in prog-mode.
16819 Suggested by Stefan Monnier.
16820
16821 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16822
16823 * mouse.el (mouse-drag-window-above)
16824 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16825 (mouse-drag-mode-line-1, mouse-drag-header-line)
16826 (mouse-drag-vertical-line-rightward-window): Remove.
16827 (mouse-drag-line): New function.
16828 (mouse-drag-mode-line, mouse-drag-header-line)
16829 (mouse-drag-vertical-line): Call mouse-drag-line.
16830 * window.el (window-at-side-p, windows-at-side): New functions.
16831
16832 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16833
16834 * tar-mode.el (tar-grind-file-mode):
16835 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16836
16837 2011-10-21 Chong Yidong <cyd@gnu.org>
16838
16839 * progmodes/idlwave.el (idlwave-mode):
16840 * progmodes/vera-mode.el (vera-mode):
16841 Use mode-require-final-newline.
16842
16843 2011-10-20 Glenn Morris <rgm@gnu.org>
16844
16845 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16846
16847 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16848
16849 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16850
16851 2011-10-20 Chong Yidong <cyd@gnu.org>
16852
16853 * emulation/cua-base.el (cua-mode):
16854 * mail/footnote.el (footnote-mode):
16855 * mail/mailabbrev.el (mail-abbrevs-mode):
16856 * net/xesam.el (xesam-minor-mode):
16857 * progmodes/bug-reference.el (bug-reference-mode):
16858 * progmodes/cap-words.el (capitalized-words-mode):
16859 * progmodes/compile.el (compilation-minor-mode)
16860 (compilation-shell-minor-mode):
16861 * progmodes/gud.el (gud-tooltip-mode):
16862 * progmodes/hideif.el (hide-ifdef-mode):
16863 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16864 * progmodes/subword.el (subword-mode):
16865 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16866 * progmodes/which-func.el (which-function-mode):
16867 * term/tvi970.el (tvi970-set-keypad-mode):
16868 * term/vt100.el (vt100-wide-mode):
16869 * textmodes/flyspell.el (flyspell-mode):
16870 * textmodes/ispell.el (ispell-minor-mode):
16871 * textmodes/nroff-mode.el (nroff-electric-mode):
16872 * textmodes/paragraphs.el (use-hard-newlines):
16873 * textmodes/refill.el (refill-mode):
16874 * textmodes/reftex.el (reftex-mode):
16875 * textmodes/rst.el (rst-minor-mode):
16876 * textmodes/sgml-mode.el (html-autoview-mode)
16877 (sgml-electric-tag-pair-mode):
16878 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16879 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16880 * emulation/crisp.el (crisp-mode):
16881 * emacs-lisp/eldoc.el (eldoc-mode):
16882 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16883 minor mode behavior.
16884
16885 2011-10-19 Juri Linkov <juri@jurta.org>
16886
16887 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16888 the list of hard-coded chars with escape-glyph face.
16889
16890 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16891
16892 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16893
16894 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16895
16896 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16897 running process.
16898
16899 2011-10-19 Glenn Morris <rgm@gnu.org>
16900
16901 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16902 Ignore ignored files. (Bug#9726)
16903
16904 2011-10-19 Chong Yidong <cyd@gnu.org>
16905
16906 Doc fix for minor modes, stating that an omitted argument enables
16907 the mode unconditionally when called from Lisp.
16908
16909 * abbrev.el (abbrev-mode):
16910 * allout.el (allout-mode):
16911 * autoinsert.el (auto-insert-mode):
16912 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16913 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16914 (global-auto-revert-mode):
16915 * battery.el (display-battery-mode):
16916 * composite.el (global-auto-composition-mode)
16917 (auto-composition-mode):
16918 * delsel.el (delete-selection-mode):
16919 * desktop.el (desktop-save-mode):
16920 * dired-x.el (dired-omit-mode):
16921 * dirtrack.el (dirtrack-mode):
16922 * doc-view.el (doc-view-minor-mode):
16923 * double.el (double-mode):
16924 * electric.el (electric-indent-mode, electric-pair-mode):
16925 * emacs-lock.el (emacs-lock-mode):
16926 * epa-hook.el (auto-encryption-mode):
16927 * follow.el (follow-mode):
16928 * font-core.el (font-lock-mode):
16929 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16930 * help.el (temp-buffer-resize-mode):
16931 * hilit-chg.el (highlight-changes-mode)
16932 (highlight-changes-visible-mode):
16933 * hi-lock.el (hi-lock-mode):
16934 * hl-line.el (hl-line-mode, global-hl-line-mode):
16935 * icomplete.el (icomplete-mode):
16936 * ido.el (ido-everywhere):
16937 * image-file.el (auto-image-file-mode):
16938 * image-mode.el (image-minor-mode):
16939 * iswitchb.el (iswitchb-mode):
16940 * jka-cmpr-hook.el (auto-compression-mode):
16941 * linum.el (linum-mode):
16942 * longlines.el (longlines-mode):
16943 * master.el (master-mode):
16944 * mb-depth.el (minibuffer-depth-indicate-mode):
16945 * menu-bar.el (menu-bar-mode):
16946 * minibuf-eldef.el (minibuffer-electric-default-mode):
16947 * mouse-sel.el (mouse-sel-mode):
16948 * msb.el (msb-mode):
16949 * mwheel.el (mouse-wheel-mode):
16950 * outline.el (outline-minor-mode):
16951 * paren.el (show-paren-mode):
16952 * recentf.el (recentf-mode):
16953 * reveal.el (reveal-mode, global-reveal-mode):
16954 * rfn-eshadow.el (file-name-shadow-mode):
16955 * ruler-mode.el (ruler-mode):
16956 * savehist.el (savehist-mode):
16957 * scroll-all.el (scroll-all-mode):
16958 * scroll-bar.el (scroll-bar-mode):
16959 * server.el (server-mode):
16960 * shell.el (shell-dirtrack-mode):
16961 * simple.el (auto-fill-mode, transient-mark-mode)
16962 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16963 (line-number-mode, column-number-mode, size-indication-mode)
16964 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16965 * strokes.el (strokes-mode):
16966 * time.el (display-time-mode):
16967 * t-mouse.el (gpm-mouse-mode):
16968 * tool-bar.el (tool-bar-mode):
16969 * tooltip.el (tooltip-mode):
16970 * type-break.el (type-break-mode-line-message-mode)
16971 (type-break-query-mode):
16972 * view.el (view-mode):
16973 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16974 (global-whitespace-mode, global-whitespace-newline-mode):
16975 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16976
16977 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16978 Fix autogenerated docstring.
16979
16980 2011-10-19 Juri Linkov <juri@jurta.org>
16981
16982 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16983 by checking environment variables "DESKTOP_SESSION" and
16984 "XDG_CURRENT_DESKTOP". (Bug#9779)
16985
16986 2011-10-19 Juri Linkov <juri@jurta.org>
16987
16988 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16989 (browse-url-chromium-program, browse-url-chromium-arguments):
16990 New defcustoms.
16991 (browse-url-default-browser): Check for `browse-url-chromium' and
16992 call `browse-url-chromium-program'.
16993 (browse-url-chromium): New command. (Bug#9779)
16994
16995 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16996
16997 * facemenu.el (list-colors-duplicates): On Windows, detect more
16998 duplicates by assuming that only colors matching "^System" are
16999 special "system colors". (Bug#9722)
17000
17001 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17002
17003 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17004 to distinguish the author from the committer.
17005
17006 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17007
17008 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17009
17010 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17011
17012 * international/mule.el (sgml-html-meta-auto-coding-function):
17013 Add support for detecting encoding in HTML5 specified only as
17014 <meta charset="UTF-8">. Implementation just makes http-equiv and
17015 content-type parts from HTML4 encoding string optional. (Bug#9716)
17016
17017 2011-10-18 Glenn Morris <rgm@gnu.org>
17018
17019 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17020
17021 2011-10-18 Chong Yidong <cyd@gnu.org>
17022
17023 * faces.el (cursor): Doc fix.
17024
17025 2011-10-17 Chong Yidong <cyd@gnu.org>
17026
17027 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17028
17029 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17030
17031 * dirtrack.el (dirtrack): Support shell buffers with path
17032 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17033
17034 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17035
17036 * json.el: Bump version to 1.3 and note change in History.
17037 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17038
17039 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17040
17041 * comint.el (comint-insert-input, comint-send-input)
17042 (comint-get-old-input-default, comint-backward-matching-input)
17043 (comint-next-prompt): Use nil instead of `input' for field property of
17044 past user input (bug#114).
17045
17046 * minibuffer.el (completion--replace): Inherit surrounding properties
17047 (bug#114).
17048 (minibuffer-complete-and-exit): Use it.
17049
17050 * comint.el (comint--table-subvert): Quote the all-completions output
17051 (bug#9160).
17052
17053 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17054
17055 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17056
17057 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17058 window on right of selected. (Bug#9350) Reword other window
17059 entries and separate them from frame entries.
17060
17061 2011-10-15 Glenn Morris <rgm@gnu.org>
17062
17063 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17064 Doc fixes.
17065
17066 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17067
17068 * net/network-stream.el (network-stream-open-starttls):
17069 Improve detection of failure due to lack of TLS support.
17070
17071 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17072 putting the input text in front and in bold.
17073
17074 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17075
17076 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17077
17078 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17079 empty buffer.
17080
17081 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17082 unread-command-events rather than pushing yet-another event.
17083
17084 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17085
17086 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17087 the explanation of the possible choices. Make the options passed
17088 to completing-read shorter.
17089
17090 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17091
17092 * textmodes/flyspell.el (flyspell-large-region): Make sure
17093 extended character mode is used if defined (Bug#1339).
17094
17095 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17096
17097 * simple.el (what-cursor-position): Fix the display of the
17098 character info for LRE, LRO, RLE, and RLO characters by appending
17099 an invisible PDF.
17100
17101 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17102
17103 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17104 even in case of error; add debug spec; simplify data flow.
17105 (with-timeout-handler): Remove.
17106
17107 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17108
17109 Fix Bug#6019, Bug#9315.
17110
17111 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17112 complete `buffer-file-name', the local file name part could look
17113 remotely (for example on VMS).
17114
17115 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17116 `tramp-run-real-handler'.
17117 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17118 already quoted by '"'.
17119
17120 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17121 Let `file-name-handler-alist' be nil, the local file name part
17122 could look remotely (for example on VMS).
17123
17124 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17125
17126 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17127 from here...
17128 (flyspell-post-command-hook): ...to here.
17129
17130 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17131
17132 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17133 if not needed.
17134 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17135 using completion. Protect against "slow" callers.
17136 Remove the "message hack".
17137
17138 2011-10-11 Juri Linkov <juri@jurta.org>
17139
17140 * isearch.el (isearch-lazy-highlight-word): New variable.
17141 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17142 Use it. (Bug#9727)
17143
17144 2011-10-11 Glenn Morris <rgm@gnu.org>
17145
17146 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17147 like f90-previous-statement does.
17148
17149 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17150
17151 * eshell/eshell.el (eshell-command): History should be saved
17152 only in interactive use, to avoid error.
17153
17154 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17155
17156 * minibuffer.el (completion-file-name-table): Fix last change,
17157 i.e. ignore normal errors but not the other ones.
17158
17159 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17160
17161 * window.el (special-display-buffer-names)
17162 (special-display-regexps): Remove some remnants of earlier
17163 changes from doc-strings.
17164 (quit-windows-on): New function.
17165
17166 * vc/vc.el (vc-revert, vc-rollback):
17167 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17168 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17169 (Bug#6183) (Bug#7074) (Bug#7447)
17170
17171 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17172
17173 * window.el (frame-auto-hide-function): Add version tag.
17174 (Bug#9699)
17175
17176 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17177
17178 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17179 condition.
17180
17181 2011-10-09 Leo Liu <sdl.web@gmail.com>
17182
17183 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17184 (Bug#9701)
17185
17186 2011-10-08 Glenn Morris <rgm@gnu.org>
17187
17188 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17189 before the first code statement zero indent. (Bug#9690)
17190
17191 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17192
17193 * simple.el (count-words-region): Always count in the region.
17194 Report the number of lines and characters too.
17195 (count-words): New command, which counts in the buffer if the
17196 region is inactive, as count-words-region used to.
17197 (count-words--message): New function. Handle plurals.
17198 (count-lines-region): Make it an alias for count-words-region.
17199
17200 * bindings.el (esc-map): Replace count-lines-region with
17201 count-words-region.
17202
17203 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17204
17205 * window.el (window--delete): Delete dedicated frame
17206 unconditionally when argument KILL is non-nil. (Bug#9699)
17207 (switch-to-buffer): Fix doc-string typo.
17208
17209 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17210
17211 * eshell/eshell.el (eshell-command): Avoid using hooks.
17212
17213 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17214
17215 * bindings.el ([M-left],[M-right]): Bind to left-word and
17216 right-word respectively.
17217
17218 2011-10-07 Glenn Morris <rgm@gnu.org>
17219
17220 * cus-start.el (debug-on-quit): Fix custom type.
17221
17222 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17223
17224 * subr.el (define-key-after): Clarify that the function is not
17225 useful for non-menu keymaps.
17226
17227 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17228
17229 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17230
17231 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17232 in current minibuffer (Fix bug with recursive minibuffers).
17233
17234 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17235
17236 * progmodes/gdb-mi.el (gdb): Doc fix.
17237
17238 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17239
17240 * window.el (frame-auto-hide-function): New option replacing
17241 frame-auto-delete. Suggested by Stefan Monnier.
17242 (window--delete): Call frame-auto-hide-function instead of
17243 investigating frame-auto-delete.
17244 (window-point-1, set-window-point-1): New functions.
17245 (window-in-direction, record-window-buffer, window-state-get-1)
17246 (display-buffer-record-window): Use window-point-1 instead of
17247 window-point.
17248 (set-window-buffer-start-and-point): Use set-window-point-1.
17249
17250 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17251
17252 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17253
17254 2011-10-05 Glenn Morris <rgm@gnu.org>
17255
17256 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17257 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17258
17259 2011-10-05 Leo Liu <sdl.web@gmail.com>
17260
17261 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17262 works with buffer object.
17263
17264 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17265
17266 * mpc.el (mpc-tool-bar-map): Add labels.
17267
17268 2011-10-04 Glenn Morris <rgm@gnu.org>
17269
17270 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17271
17272 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17273
17274 * window.el (window--delete): New function.
17275 (frame-auto-delete): Resuscitate option.
17276 (bury-buffer, replace-buffer-in-windows)
17277 (quit-window): Rewrite using window--delete.
17278 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17279 Pass display-buffer-mark-dedicated to window--display-buffer-2
17280 (Bug#9639).
17281
17282 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17283
17284 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17285 returns a list (bug#9554). Add remote file name completion.
17286 * comint.el (comint--table-subvert): Curry and get quote&unquote
17287 functions as arguments.
17288 (comint--complete-file-name-data): Adjust call accordingly.
17289 * pcomplete.el (pcomplete--table-subvert): Remove.
17290 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17291
17292 * minibuffer.el (completion-table-case-fold): Use currying.
17293 (completion--styles-type, completion--cycling-threshold-type):
17294 New constants.
17295 (completion-styles, completion-category-overrides)
17296 (completion-cycle-threshold): Use them.
17297 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17298 completion-table-case-fold.
17299
17300 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17301
17302 * minibuffer.el (completion-category-overrides): Fix type of styles
17303 and add more user friendly tags (bug#9660).
17304
17305 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17306
17307 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17308 (mule-input-method-string): New widget.
17309 (default-input-method, language-info-custom-alist): Use it.
17310
17311 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17312
17313 * pcomplete.el: Require comint.
17314 (pcomplete--common-suffix): Remove.
17315 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17316 (pcomplete--table-subvert): Sync with comint--table-subvert.
17317 (pcomplete--entries): Use comint-completion-file-name-table.
17318 * comint.el (comint-unquote-filename): Simplify.
17319 (comint-completion-file-name-table): New function (bug#9616).
17320 (comint--complete-file-name-data): Use it.
17321
17322 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17323 (pcmpl-gnu-tar-buffer): Remove.
17324 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17325 around. Make sure pcomplete-suffix-list is only changed temporarily.
17326 Don't look inside the tar's file if it's too large.
17327
17328 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17329
17330 * cus-edit.el (custom-mode-map):
17331 * epa.el (epa-key-list-mode-map):
17332 * man.el (Man-mode-map):
17333 * startup.el (splash-screen-keymap):
17334 * simple.el (special-mode-map): Use scroll-up-command and
17335 scroll-down-command.
17336
17337 * progmodes/idlw-help.el (idlwave-help-mode-map):
17338 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17339 * net/newst-plainview.el (newsticker-mode-map):
17340 * emulation/ws-mode.el (wordstar-mode-map):
17341 * emulation/vi.el (vi-com-map):
17342 * calc/calc-graph.el (calc-graph-show-dumb):
17343 * term/sun.el (terminal-init-sun):
17344 * term/ns-win.el (global-map):
17345 * progmodes/grep.el (grep-mode-map):
17346 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17347 * mail/rmail.el (rmail-mode-map):
17348 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17349
17350 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17351 custom-safe-themes as special.
17352
17353 2011-10-01 Julien Danjou <julien@danjou.info>
17354
17355 * notifications.el (notifications-notify): Fix docstring.
17356
17357 2011-10-01 Per Starbäck <per@starback.se>
17358
17359 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17360
17361 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17362
17363 * startup.el (command-line-1): Fix last fix by inserting
17364 initial-scratch-message into *scratch* before displaying it.
17365 (Bug#9605) and (Bug#9636)
17366
17367 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17368
17369 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17370 window is hscrolled, move by logical lines. (Bug#9607)
17371 (line-move-visual): Update the doc string to the above effect.
17372
17373 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17374
17375 * window.el (display-buffer-record-window): When WINDOW is the
17376 selected window use `point' instead of `window-point'. (Bug#9626)
17377
17378 * startup.el (command-line-1): Use insert-before-markers when
17379 inserting initial-scratch-message. (Bug#9605)
17380
17381 * help.el (help-window): Remove variable.
17382
17383 2011-09-29 Glenn Morris <rgm@gnu.org>
17384
17385 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17386
17387 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17388
17389 * descr-text.el (describe-char-categories): Accept category
17390 descriptions more than one line long.
17391
17392 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17393
17394 * simple.el (delete-trailing-whitespace): Fix last change.
17395
17396 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17397 Don't confuse "y => 3" as the beginning of a `y' operation.
17398
17399 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17400 object has more than 4 slots (bug#9613).
17401
17402 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17403
17404 * subr.el (with-output-to-temp-buffer):
17405 * net/quickurl.el (quickurl, quickurl-browse-url):
17406 Fix typos in docstrings.
17407
17408 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17409
17410 * minibuffer.el (completion-styles)
17411 (completion-category-overrides): Cross reference each other in doc
17412 strings.
17413
17414 2011-09-27 Glenn Morris <rgm@gnu.org>
17415
17416 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17417 to split-string. (Bug#9606)
17418
17419 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17420
17421 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17422 (bug#9615).
17423
17424 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17425
17426 * emacs-lisp/package.el (list-packages): Fix echo area message.
17427
17428 2011-09-27 Leo Liu <sdl.web@gmail.com>
17429
17430 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17431
17432 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17433
17434 * net/dbus.el (dbus-unregister-object): Don't release services for
17435 registered signals. (Bug#9581)
17436
17437 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17438
17439 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17440 function that picks between cfengine 2 and 3 support
17441 automatically. Update docs accordingly.
17442
17443 2011-09-22 Kenichi Handa <handa@m17n.org>
17444
17445 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17446 ZERO.
17447 (indian-itrans-v5-table-for-tamil): New variable.
17448 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17449
17450 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17451
17452 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17453 that's true if the current command involved collapsing of text.
17454 It's reset to false at the beginning of the next command.
17455 (allout-post-command-business): Move the cursor to the beginning
17456 of entry if the cursor is hidden and collapsing activity just
17457 happened.
17458
17459 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17460
17461 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17462 tracking (Bug#9541).
17463
17464 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17465
17466 * net/newst-reader.el (newsticker-html-renderer)
17467 (newsticker-show-news): Automatically load html rendering package
17468 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17469 because w3m-fill-column is let-bound" and the error "Symbol's value
17470 as variable is void: w3m-fill-column".
17471
17472 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17473
17474 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17475 Release services only if they are defined. (Bug#9581)
17476
17477 2011-09-23 Richard Stallman <rms@gnu.org>
17478
17479 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17480 distinguish start of paragraph from start of its text.
17481
17482 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17483
17484 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17485 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17486 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17487
17488 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17489
17490 * international/mule-diag.el (mule-diag): Insert a newline after
17491 each fontset description.
17492
17493 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17494
17495 * simple.el (delete-trailing-whitespace):
17496 Document last change; simplify.
17497
17498 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17499
17500 * simple.el (delete-trailing-whitespace): Also delete
17501 extra newlines at the end of the buffer.
17502
17503 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17504 (picture-newline): Use forward-line so as to ignore fields.
17505
17506 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17507
17508 * subr.el (with-wrapper-hook): Fix edebug spec.
17509
17510 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17511
17512 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17513 (bug#4538).
17514
17515 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17516
17517 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17518 Fix nasty bug using wrong cached values.
17519
17520 2011-09-23 Alan Mackenzie <acm@muc.de>
17521
17522 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17523
17524 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17525
17526 * window.el (pop-to-buffer): Ensure right window is selected if we
17527 chose another frame.
17528
17529 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17530
17531 * simple.el (what-cursor-position): Use get-char-property-change
17532 and next-single-char-property-change, to be able to show display
17533 properties that come from overlays as well as text properties.
17534
17535 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17536
17537 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17538
17539 * cmuscheme.el (run-scheme, switch-to-scheme):
17540 * cus-edit.el (customize-group, custom-buffer-create)
17541 (customize-browse):
17542 * info.el (info):
17543 * shell.el (shell):
17544 * mail/sendmail.el (mail):
17545 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17546
17547 2011-09-22 Richard Stallman <rms@gnu.org>
17548
17549 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17550 move back only to line beg, don't move back over blank lines.
17551
17552 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17553
17554 * files.el (copy-directory): Set directory attributes only in case
17555 they could be retrieved from the source directory. (Bug#9565)
17556
17557 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17558
17559 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17560 (hs-find-block-beginning, hs-hide-level-recursive):
17561 Ignore strings as well as comments. (Bug#9502)
17562
17563 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17564
17565 * progmodes/sql.el (sql-comint-postgres):
17566 Convert port number to a string. (Bug#9566)
17567
17568 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17569
17570 * window.el (quit-window): Undedicate window when switching to
17571 previous buffer. Reported by Thierry Volpiatto
17572 <thierry.volpiatto@gmail.com>.
17573 (special-display-popup-frame): When popping up a new frame reset
17574 its previous buffers to nil. Simplify code.
17575
17576 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17577
17578 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17579 and process filter, as done also in `shell-command'.
17580
17581 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17582
17583 * window.el (set-window-buffer-start-and-point):
17584 Call set-window-start with NOFORCE argument t.
17585 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17586 (quit-window): Reword doc-string. Handle new format of
17587 quit-restore parameter. Don't delete window if it has a
17588 previous buffer we can show instead of the present one.
17589 (display-buffer-record-window): Rewrite using a new format for
17590 the quit-restore window parameter
17591 (special-display-popup-frame, display-buffer-same-window)
17592 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17593 (display-buffer-pop-up-window, display-buffer-use-some-window):
17594 Adapt symbol passed to display-buffer-record-window.
17595 * help.el (help-window-setup): Handle new format of quit-restore
17596 parameter.
17597
17598 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17599
17600 * faces.el (face-list): Fix docstring (bug#9564).
17601
17602 * window.el (display-buffer--action-function-custom-type):
17603 Don't include internal functions in the Custom interface.
17604
17605 2011-09-20 Juri Linkov <juri@jurta.org>
17606
17607 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17608 (Info-forward-node, Info-backward-node, Info-next-preorder)
17609 (Info-last-preorder): Use it. (Bug#9528)
17610
17611 2011-09-20 Juri Linkov <juri@jurta.org>
17612
17613 * info.el (Info-last-preorder): Visit last menu item only when
17614 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17615
17616 2011-09-20 Julien Danjou <julien@danjou.info>
17617
17618 * password-cache.el (password-cache-remove): Remove entries even if the
17619 value is nil, so that password with a nil value (negative caching) is
17620 possible to invalidate.
17621
17622 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17623
17624 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17625 all whitespace around breakpoint. (Bug#9553)
17626 (f90-find-breakpoint): Only break at whitespace inside a comment.
17627
17628 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17629
17630 * minibuffer.el (completion-file-name-table): Keep track of errors.
17631 (completion-table-with-predicate): Handle the case where pred1 is nil.
17632 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17633
17634 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17635
17636 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17637 (debugger-return-value): Signal an error if the debugging context does
17638 not await any return value.
17639
17640 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17641 * image-mode.el (image-toggle-display-text)
17642 (image-toggle-display-image): Stay away from evil `intangible'.
17643
17644 2011-09-19 Leo Liu <sdl.web@gmail.com>
17645
17646 * replace.el (occur-revert-arguments): Make it permanent-local.
17647 (occur-mode): Don't call font-lock-defontify.
17648
17649 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17650
17651 * net/ldap.el (ldap-search-internal): Don't push empty search
17652 result (Bug#9508).
17653
17654 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17655
17656 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17657
17658 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17659
17660 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17661 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17662
17663 2011-09-18 Juri Linkov <juri@jurta.org>
17664
17665 * buff-menu.el (Buffer-menu-mode-map):
17666 * dired.el (dired-mode-map):
17667 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17668 (lisp-interaction-mode-map):
17669 * emacs-lisp/package.el (package-menu-mode-map):
17670 * epa.el (epa-key-list-mode-map):
17671 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17672 (menu-bar-options-menu):
17673 * outline.el (outline-mode-menu-bar-map):
17674 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17675 * vc/vc-dir.el (vc-dir-menu-map):
17676 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17677 Capitalize non-function content words in menu item strings.
17678
17679 * dired.el (dired-mode-map): Add menu item for
17680 `image-dired-dired-toggle-marked-thumbs'.
17681
17682 2011-09-18 Juri Linkov <juri@jurta.org>
17683
17684 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17685 to `isearch-case-fold-search' and restore its original value
17686 after the `isearch-mode' call.
17687
17688 2011-09-18 Juri Linkov <juri@jurta.org>
17689
17690 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17691 because `zgrep' returns 1 for successful matches (bug#9226).
17692
17693 2011-09-18 Juri Linkov <juri@jurta.org>
17694
17695 * info.el (Info-extract-menu-node-name): Check the second match
17696 for empty string (second test-case of bug#9528).
17697 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17698 intermediate nodes to the history (first test-case of bug#9528).
17699
17700 2011-09-18 Juri Linkov <juri@jurta.org>
17701
17702 * info.el (Info-mode-syntax-table): New variable.
17703 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17704
17705 2011-09-18 Juri Linkov <juri@jurta.org>
17706
17707 * info.el (Info-file-supports-index-cookies):
17708 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17709 outputs one more line for long file names (bug#4142).
17710
17711 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17712
17713 * newcomment.el (comment-normalize-vars): If prompting for
17714 comment-start, set comment-start-skip too (Bug#8424).
17715
17716 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17717
17718 * icomplete.el: Fix previous fix of Bug#5849.
17719 (icomplete-mode): Don't set completion-show-inline-help.
17720 (icomplete-minibuffer-setup): Set completion-show-inline-help
17721 locally during icompletion.
17722
17723 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17724
17725 * woman.el (woman2-process-escapes): Don't delete unrecognized
17726 escapes (Bug#7843).
17727
17728 * files.el (inhibit-first-line-modes-regexps): Add image files.
17729 (hack-local-variables-prop-line): Return nil for malformed
17730 prop-lines (Bug#9044).
17731
17732 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17733
17734 * net/tramp.el (top): Don't require 'shell.
17735 (tramp-methods): Fix docstring.
17736 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17737 Return complete remote file name. Handle "smb" case.
17738 Use `tramp-tmpdir', if defined for the respective method.
17739 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17740
17741 * net/tramp-compat.el (top): Require 'shell.
17742
17743 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17744 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17745 `tramp-current-host'.
17746 (tramp-get-remote-tmpdir): Remove.
17747
17748 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17749 `tramp-tmpdir' entries.
17750 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17751 (tramp-smb-handle-file-attributes): Ignore errors.
17752 (tramp-smb-wait-for-output): Check also for process end.
17753
17754 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17755
17756 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17757 when sending QUIT (bug#9312).
17758
17759 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17760
17761 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17762 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17763 occur-mode-display-occurrence.
17764 (occur-edit-mode): Add usage message.
17765 (occur-cease-edit): New command.
17766 (occur-after-change-function): Use text properties to find the
17767 position of the prefix text.
17768 (occur-engine): Set stickiness of prefix text properties.
17769
17770 2011-09-17 Glenn Morris <rgm@gnu.org>
17771
17772 * progmodes/etags.el (complete-tag):
17773 Fix call to completion-in-region. (Bug#9526)
17774
17775 2011-09-17 Juri Linkov <juri@jurta.org>
17776
17777 * textmodes/ispell.el (ispell-word): Add to the error message
17778 the word, ispell program name and current dictionary (bug#9121).
17779 (ispell-tex-arg-end): Capitalize "error" in the error message.
17780
17781 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17782
17783 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17784 check. (Bug#4251)
17785
17786 2011-09-17 Juri Linkov <juri@jurta.org>
17787
17788 * window.el (window-safe-min-height, window-safe-min-width):
17789 Fix typos (followup to bug#9522).
17790
17791 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17792
17793 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17794
17795 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17796
17797 * simple.el (line-move): If goal-column is set, move by logical
17798 lines, not by display lines. (Bug#971)
17799 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17800 to reflect the above change.
17801
17802 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17803
17804 * image.el (imagemagick-register-types): Use regexp-opt.
17805
17806 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17807
17808 * window.el (display-buffer-base-action): Rename from
17809 display-buffer-default-action. Make default value empty.
17810 (display-buffer-overriding-action): Convert to defvar.
17811 (display-buffer-fallback-action): New var.
17812
17813 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17814
17815 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17816 declaration.
17817 (package--add-to-archive-contents): If there is a duplicate entry
17818 with an older version, remove it.
17819 (package-menu-mark-delete, package-menu-mark-install)
17820 (package-menu-mark-unmark): Make unused args optional.
17821 (package-menu-mark-obsolete-for-deletion):
17822 Use package-menu-get-status instead of a regexp search.
17823 (package-menu-get-status): Use tabulated-list-entry.
17824 (package-menu-mark-upgrades): New command.
17825 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17826 (package-menu-execute): Do installation before deletion.
17827 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17828 instead of checking major-mode.
17829 (package-menu--find-upgrades): New function.
17830
17831 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17832
17833 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17834 passwords in the log buffer.
17835 (smtpmail-process-filter): Update the process marker so that the
17836 "broken by peer" status message is inserted in the right place.
17837
17838 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17839
17840 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17841 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17842 bibtex-completion-at-point-function.
17843 (bibtex-completion-at-point-function): Use them.
17844
17845 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17846
17847 * mpc.el (mpc-constraints-tag-lookup): New function.
17848 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17849 also to browser "album|playlist".
17850
17851 2011-09-14 Juri Linkov <juri@jurta.org>
17852
17853 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17854 (isearch-edit-string): Use length of `isearch-string' when
17855 `isearch-fail-pos' returns nil.
17856 (isearch-message): Remove duplicate code and call
17857 `isearch-fail-pos' with arg `t'.
17858
17859 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17860
17861 * replace.el (occur-mode-goto-occurrence): Don't force using other
17862 window (Bug#9499).
17863
17864 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17865
17866 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17867
17868 * window.el (display-buffer-window): Remove.
17869 (display-buffer-record-window): Use help-setup window parameter
17870 instead of variable display-buffer-window.
17871 (display-buffer-function, special-display-buffer-names)
17872 (special-display-function): Mention help-setup parameter instead
17873 of display-buffer-window in doc-string.
17874 * help.el (help-window-setup): New argument help-window.
17875 Use help-window-setup parameter instead of display-buffer-window.
17876 Reword some messages.
17877 (with-help-window): Pass window used for displaying the buffer
17878 to help-window-setup. Don't set display-buffer-window.
17879
17880 2011-09-13 Glenn Morris <rgm@gnu.org>
17881
17882 * emacs-lisp/debug.el (debugger-make-xrefs):
17883 Preserve point. (Bug#9462)
17884
17885 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17886
17887 * window.el (window-deletable-p): Use next-frame.
17888
17889 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17890
17891 * window.el (window-auto-delete): Remove.
17892 (window-deletable-p): Remove argument FORCE. Don't deal with
17893 dedication and previous buffers.
17894 (switch-to-prev-buffer): Don't delete window.
17895 (delete-windows-on): Delete a window's frame if and only if the
17896 window is dedicated.
17897 (replace-buffer-in-windows): Delete buffer's window or frame if
17898 and only if window is dedicated.
17899 (quit-window): Handle quit-restore as before last change.
17900 (bury-buffer): Delete window only if window-deletable-p returns t.
17901
17902 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17903
17904 * window.el (window-deletable-p): Never delete the last frame on a
17905 given terminal.
17906
17907 2011-09-13 Glenn Morris <rgm@gnu.org>
17908
17909 * help.el (describe-key-briefly): Copy previous standard-output change.
17910
17911 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17912
17913 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17914
17915 2011-09-13 Glenn Morris <rgm@gnu.org>
17916
17917 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17918 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17919
17920 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17921
17922 * dired-aux.el (dired-mark-read-string): Don't return default
17923 value on empty input (Bug#9361).
17924 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17925 Omit initial minibuffer contents.
17926 (dired-do-chmod): Signal an error on empty input.
17927 (dired-mark-read-string): Don't return default on empty input.
17928
17929 * files.el (file-modes-symbolic-to-number): Doc fix.
17930
17931 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17932
17933 * international/mule-cmds.el (ucs-completions): Remove.
17934 (read-char-by-name): Use complete-with-action instead; add metadata.
17935
17936 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17937
17938 * window.el (display-buffer--action-function-custom-type)
17939 (display-buffer--action-custom-type): New vars.
17940 (display-buffer-alist, display-buffer-default-action)
17941 (display-buffer-overriding-action): Add defcustom types.
17942
17943 * frame.el (delete-other-frames): Doc fix (Bug#276).
17944
17945 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17946
17947 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17948
17949 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17950
17951 Change modes that used same-window-* vars to use switch-to-buffer.
17952
17953 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17954 Use switch-to-buffer.
17955
17956 * cus-edit.el (customize-group, custom-buffer-create)
17957 (customize-browse, custom-buffer-create-other-window):
17958 Use switch-to-buffer or switch-to-buffer-other-window.
17959
17960 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17961 (Info-prev, Info-up, Info-speedbar-goto-node)
17962 (info-display-manual): Use switch-to-buffer.
17963 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17964
17965 * mail/sendmail.el (mail): Use switch-to-buffer.
17966 (mail-recover): Use switch-to-buffer-other-window.
17967
17968 * cmuscheme.el (run-scheme, switch-to-scheme):
17969 * ielm.el (ielm):
17970 * shell.el (shell):
17971 * net/rlogin.el (rlogin):
17972 * net/telnet.el (telnet, rsh):
17973 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17974
17975 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17976
17977 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17978
17979 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17980
17981 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17982 so don't mention it (bug#9301).
17983 (dired-sort-toggle-or-edit): Clarify string further.
17984
17985 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17986 match `x', `w32' and `ns', like the manual says (bug#9029).
17987
17988 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17989 (process-kill-buffer-query-function): Mention the buffer name in
17990 the query.
17991
17992 * image-mode.el (image-next-line): The line parameter is mandatory
17993 (bug#9258).
17994
17995 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17996 which can be useful (bug#9301).
17997
17998 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17999
18000 * subr.el (match-string): Mention that the current buffer should
18001 be the same as the search was done in (bug#9282).
18002
18003 * facemenu.el: Disable the remove-* commands if the mark isn't
18004 active (bug#9162).
18005
18006 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18007
18008 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18009 of display-buffer.
18010 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18011
18012 * replace.el (occur-mode-goto-occurrence)
18013 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18014 and display-buffer.
18015
18016 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18017 display-buffer.
18018
18019 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18020 special-display and same-window variables.
18021 (mail-other-window): Use switch-to-buffer-other-window.
18022 (mail-other-frame): USe switch-to-buffer-other-frame.
18023
18024 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18025 Use display-buffer-other-frame.
18026 (gdb-display-gdb-buffer): Use pop-to-buffer.
18027
18028 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18029
18030 * progmodes/python.el: Don't set same-window-buffer-names.
18031
18032 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18033
18034 * window.el (display-buffer-alist): Add *Python*.
18035
18036 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18037
18038 * window.el (display-buffer-alist): Add entry for buffers
18039 previously handled same-window-*.
18040 (display-buffer-alist, display-buffer-default-action)
18041 (display-buffer-overriding-action): Mark as risky.
18042 (display-buffer-alist): Document action function changes.
18043 (display-buffer--same-window-action)
18044 (display-buffer--other-frame-action): New variables.
18045 (switch-to-buffer, display-buffer-other-frame): Use them.
18046 (display-buffer): Rename reuse-frame entry to reusable-frames.
18047 (display-buffer-reuse-selected-window): Function deleted.
18048 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18049 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18050 (display-buffer-special): New function.
18051 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18052 display-buffer-reuse-or-pop-window. Split off special-display
18053 part into display-buffer-special.
18054 (display-buffer-use-some-window): Don't perform any special
18055 pop-up-frames handling.
18056 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18057 (display-buffer--maybe-same-window): Rename from
18058 display-buffer-maybe-same-window.
18059
18060 * info.el: Don't set same-window-regexps.
18061 (info-setup): New function.
18062 (info-other-window, info): Call it.
18063
18064 * cus-edit.el: Don't set same-window-regexps.
18065 (customize-group): New argument.
18066 (customize-group-other-window): Use it.
18067 (customize-face, customize-face-other-window): Likewise.
18068 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18069
18070 * net/rlogin.el:
18071 * net/telnet.el:
18072 * progmodes/gud.el: Don't set same-window-regexps.
18073
18074 * cmuscheme.el:
18075 * ielm.el:
18076 * shell.el:
18077 * mail/sendmail.el:
18078 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18079
18080 2011-09-10 Juri Linkov <juri@jurta.org>
18081
18082 * isearch.el (isearch-edit-string): Remove obsolete mention of
18083 `C-w' (`isearch-yank-word-or-char') from docstring.
18084 (isearch-query-replace): Fix typo in docstring (bug#9466).
18085
18086 2011-09-10 Juri Linkov <juri@jurta.org>
18087
18088 * paren.el (show-paren-function): Don't show escaped parens.
18089 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18090
18091 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18092
18093 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18094 (mm-default-file-encoding): Remove autoload forms, they are
18095 replaced with autoload cookies in mml.el and mm-encode.el.
18096 (mail-add-attachment): New command.
18097 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18098 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18099 the doc string.
18100 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18101
18102 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18103
18104 * simple.el (count-words-region): Use buffer if there's no region
18105 (bug#9429).
18106
18107 2011-09-09 Juri Linkov <juri@jurta.org>
18108
18109 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18110 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18111 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18112
18113 2011-09-09 Alan Mackenzie <acm@muc.de>
18114
18115 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18116 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18117
18118 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18119
18120 Fix for Savannah bug#9392.
18121 * simple.el (mail-encode-mml): New defvar.
18122
18123 * mail/rmail.el (mail-encode-mml): Add a defvar.
18124 (rmail-enable-mime-composing): Default to t.
18125 (rmail-forward): Use MIME method of forwarding only if both
18126 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18127 Set mail-encode-mml non-nil if the MIME method was used.
18128
18129 * mail/sendmail.el (mml-to-mime): Add autoload form.
18130 (mail-encode-mml): Add a defvar.
18131 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18132 to nil.
18133 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18134 message through mml-to-mime, and reset mail-encode-mml to nil.
18135
18136 2011-09-09 Glenn Morris <rgm@gnu.org>
18137
18138 * woman.el (woman-if-body): When processing an .el block,
18139 do not delete the next .el block as well. (Bug#9447)
18140 (woman-special-characters): Add oq, cq, and hy characters.
18141
18142 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18143
18144 * window.el (window-deletable-p): Make sure window is live before
18145 invoking window-prev-buffers.
18146
18147 2011-09-08 Leo Liu <sdl.web@gmail.com>
18148
18149 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18150
18151 2011-09-08 Juri Linkov <juri@jurta.org>
18152
18153 * progmodes/compile.el (compilation-environment): Make it
18154 a defcustom (bug#8340).
18155
18156 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18157
18158 * window.el (frame-auto-delete): Rename to window-auto-delete.
18159 Make it control auto-deletion of windows and/or frames.
18160 (window-deletable-p): New argument FORCE. Rewrite conditions
18161 for deleting window/frame. (Bug#9419)
18162 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18163 Rewrite handling of case when window/frame can be deleted.
18164 (delete-windows-on): Call window-deletable-p with new FORCE
18165 argument t. (Bug#9456)
18166
18167 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18168
18169 * help-mode.el (help-mode): Restore autoload.
18170
18171 2011-09-07 Juri Linkov <juri@jurta.org>
18172
18173 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18174 `compilation-environment'. Set buffer-local
18175 `compilation-environment' to `thisenv' later after (funcall mode).
18176 (Bug#8340)
18177
18178 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18179 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18180 instead of replacing its value. (Bug#8340)
18181
18182 2011-09-07 Juri Linkov <juri@jurta.org>
18183
18184 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18185 based on text properties put by `grep-filter' instead of matching
18186 escape sequences.
18187 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18188 to the value of `grep-error-screen-columns' (bug#9438).
18189
18190 2011-09-07 Juri Linkov <juri@jurta.org>
18191
18192 * simple.el (next-error-highlight, next-error-highlight-no-select):
18193 Doc fix (bug#9432).
18194
18195 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18196
18197 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18198 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18199
18200 2011-09-07 Leo Liu <sdl.web@gmail.com>
18201
18202 * net/rcirc.el (rcirc-mode): Conditionally initialize
18203 rcirc-input-ring.
18204
18205 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18206
18207 * emacs-lisp/find-func.el (find-function-C-source): Only set
18208 find-function-C-source-directory after checking that we found a source
18209 file there (bug#9440).
18210
18211 2011-09-06 Alan Mackenzie <acm@muc.de>
18212
18213 * isearch.el (isearch-other-meta-char): Wherever a key list is
18214 unread, "unread" the prefix arg, too. This fixes bug #8901.
18215
18216 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18217
18218 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18219
18220 2011-09-05 Juri Linkov <juri@jurta.org>
18221
18222 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18223
18224 2011-09-05 Juri Linkov <juri@jurta.org>
18225
18226 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18227 keeping point where processing of grep matches begins, and
18228 continue to delete remaining escape sequences from the same point.
18229 (grep-filter): Make leading zero optional in "0?1;31m" because
18230 git-grep emits "\033[1;31m" escape sequences unlike expected
18231 "\033[01;31m" as GNU Grep does (bug#9408).
18232 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18233
18234 2011-09-05 Juri Linkov <juri@jurta.org>
18235
18236 * subr.el (y-or-n-p): Capitalize "yes".
18237
18238 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18239
18240 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18241 `tramp-cache-unload-hook' where appropriate.
18242 (tramp-methods): Rename `tramp-remote-sh' to
18243 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18244 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18245
18246 * net/tramp-sh.el (top): Don't require 'shell.
18247 (tramp-methods): Add `tramp-remote-shell' and
18248 `tramp-remote-shell-args' entries.
18249 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18250 (tramp-sh-handle-shell-command): Remove.
18251 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18252 Use `tramp-remote-shell'.
18253
18254 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18255
18256 * mail/sendmail.el (sendmail-query-once-function): Delete.
18257 (sendmail-query-once): Save directly to send-mail-function.
18258 Update message-send-mail-function too.
18259
18260 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18261
18262 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18263
18264 * progmodes/python.el (python-mode-map): Use correct function to
18265 start python interpreter from menu-bar (as reported by Geert
18266 Kloosterman).
18267 (inferior-python-mode-map): Fix typo.
18268 (python-shell-map): Remove.
18269
18270 2011-09-03 Deniz Dogan <deniz@dogan.se>
18271
18272 * net/rcirc.el (rcirc-print): Simplify code for
18273 rcirc-scroll-show-maximum-output. There is no need to walk
18274 through all windows to find the right one.
18275
18276 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18277
18278 * help.el (help-return-method): Doc fix.
18279
18280 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18281
18282 * window.el (window-deletable-p): Don't return a non-nil value
18283 when there's a buffer that was shown in the window before.
18284 (Bug#9419)
18285 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18286 Set window's previous buffers to nil.
18287
18288 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18289
18290 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18291 newline before and after the tag line, so it doesn't interfere
18292 with determining the paragraph direction of bidirectional text.
18293
18294 2011-09-03 Leo Liu <sdl.web@gmail.com>
18295
18296 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18297
18298 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18299
18300 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18301 (pop-to-buffer): Change interactive spec. Pass second argument
18302 directly to display-buffer.
18303 (display-buffer): Fix interactive spec. Use functionp to
18304 distinguish between a function and a list of functions.
18305
18306 * abbrev.el (edit-abbrevs):
18307 * arc-mode.el (archive-extract):
18308 * autoinsert.el (auto-insert):
18309 * bookmark.el (bookmark-bmenu-list):
18310 * files.el (find-file):
18311 * view.el (view-buffer):
18312 * progmodes/compile.el (compilation-goto-locus):
18313 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18314
18315 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18316
18317 * window.el (display-buffer-alist): Doc fix.
18318 (display-buffer): Add docstring. Don't treat
18319 display-buffer-default specially.
18320 (display-buffer-reuse-selected-window)
18321 (display-buffer-same-window, display-buffer-maybe-same-window)
18322 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18323 (display-buffer-pop-up-window)
18324 (display-buffer-reuse-or-pop-window)
18325 (display-buffer-use-some-window): New functions.
18326 (display-buffer-default-action): Use them.
18327 (display-buffer-default): Delete.
18328 (pop-to-buffer-1): Fix choice of actions.
18329
18330 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18331
18332 * minibuffer.el (completion--insert-strings): Don't get confused by
18333 completion entries that end with an LF char.
18334
18335 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18336
18337 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18338
18339 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18340
18341 * window.el (display-buffer): Restore interactive spec.
18342 (display-buffer-same-window, display-buffer-other-window):
18343 New functions.
18344 (pop-to-buffer-1): New function. Use the above.
18345 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18346 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18347
18348 * view.el (view-buffer-other-window, view-buffer-other-frame):
18349 Just use pop-to-buffer.
18350
18351 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18352
18353 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18354
18355 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18356
18357 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18358
18359 2011-08-31 Richard Stallman <rms@gnu.org>
18360
18361 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18362 of the separation of rmail-view-buffer from rmail-buffer.
18363 If you say no to "replace original", the decrypt is in the
18364 view buffer. If you say yes, the decrypt goes into the
18365 rmail buffer also.
18366
18367 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18368
18369 * window.el (display-buffer-window): Rewrite doc-string.
18370 (display-buffer-record-window): New function.
18371 (display-buffer-macro-specifiers)
18372 (display-buffer-even-window-sizes, display-buffer-set-height)
18373 (display-buffer-set-width, display-buffer-in-window)
18374 (display-buffer-reuse-window, display-buffer-split-specifiers)
18375 (display-buffer-side-specifiers, display-buffer-split-window-1)
18376 (display-buffer-split-window, display-buffer-split-atom-window)
18377 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18378 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18379 (display-buffer-other-window-means-other-frame)
18380 (display-buffer-normalize-special)
18381 (display-buffer-normalize-default)
18382 (display-buffer-normalize-argument)
18383 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18384 (display-buffer-normalize-specifiers, display-buffer-frame)
18385 (display-buffer-same-window, display-buffer-same-frame)
18386 (display-buffer-other-window)
18387 (display-buffer-same-frame-other-window)
18388 (display-buffer-other-frame, pop-to-buffer-same-window)
18389 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18390 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18391 (switch-to-buffer-same-frame)
18392 (switch-to-buffer-other-window-same-frame)
18393 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18394 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18395 (display-buffer-alist-set): Remove.
18396 (display-buffer-function, special-display-buffer-names)
18397 (special-display-regexps, special-display-function):
18398 In doc-string refer to display-buffer-window and quit-restore
18399 parameter.
18400 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18401 (special-display-frame-alist, special-display-popup-frame)
18402 (same-window-buffer-names, same-window-regexps, same-window-p)
18403 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18404 (split-window-preferred-function, split-height-threshold)
18405 (split-width-threshold, window-splittable-p)
18406 (split-window-sensibly, window--try-to-split-window)
18407 (window--frame-usable-p, even-window-heights)
18408 (window--even-window-heights, window--display-buffer-1)
18409 (window--display-buffer-2, display-buffer-other-frame):
18410 Restore old Emacs 23 code, order and doc-strings where applicable.
18411 (display-buffer-default, display-buffer-assq-regexp): New functions.
18412 (display-buffer-alist): Rewrite doc-string.
18413 (display-buffer-default-action)
18414 (display-buffer-overriding-action): New variables.
18415 (display-buffer, switch-to-buffer): Rewrite.
18416 (pop-to-buffer): Restore Emacs 23 behavior but use
18417 window-normalize-buffer-to-display.
18418 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18419 Restore Emacs 23 behavior but use
18420 window-normalize-buffer-to-switch-to.
18421 (pop-to-buffer-same-window): Rewrite.
18422 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18423 Rewrite using Emacs 23 options.
18424
18425 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18426
18427 * net/tramp.el (tramp-root-regexp): Remove.
18428 (tramp-completion-file-name-regexp-unified)
18429 (tramp-completion-file-name-regexp-separate)
18430 (tramp-completion-file-name-regexp-url): Don't use leading volume
18431 letter on w32 systems. (Bug#5303, Bug#9311)
18432 (tramp-drop-volume-letter): Simplify definition.
18433 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18434
18435 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18436
18437 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18438 (bug#9356).
18439
18440 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18441
18442 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18443
18444 2011-08-29 Juri Linkov <juri@jurta.org>
18445
18446 * isearch.el (isearch-done): Don't display message "Mark saved"
18447 when arg `edit' is non-nil to prevent its flicker in the echo area.
18448
18449 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18450
18451 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18452 obsolete packages for deletion.
18453
18454 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18455
18456 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18457 (help-mode): Derive help-mode from special-mode. Don't invoke
18458 view-mode from help-mode.
18459 (help-xref-override-view-map): Remove.
18460 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18461 view-mode is not used anymore.
18462
18463 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18464
18465 * server.el (server-port): Doc fix.
18466
18467 * cus-theme.el (custom-theme-choose-mode): Inherit from
18468 special-mode (Bug#9124).
18469 (custom-theme-choose-mode-map): Add special-mode to parent.
18470
18471 2011-08-28 Alan Mackenzie <acm@muc.de>
18472
18473 * progmodes/cc-fonts.el
18474 (c-make-font-lock-BO-decl-search-function): New function.
18475 (c-basic-matchers-after - "Fontify the clauses after various
18476 keywords"): Extract the three keyword lists for the 3 erroneous
18477 constructs from the list of four, and use the new function above
18478 in place of an old one.
18479
18480 2011-08-28 Deniz Dogan <deniz@dogan.se>
18481
18482 * net/rcirc.el (rcirc-insert-prev-input)
18483 (rcirc-insert-next-input): Remove unused argument.
18484
18485 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18486
18487 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18488
18489 2011-08-27 Alan Mackenzie <acm@muc.de>
18490
18491 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18492 handle function pointer parameters properly.
18493
18494 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18495
18496 * window.el (display-buffer-reuse-window): Fix case where
18497 selected window was reused with non-nil OTHER-WINDOW argument.
18498 (Bug#9381)
18499
18500 2011-08-27 Deniz Dogan <deniz@dogan.se>
18501
18502 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18503 oftc's NickServ messages.
18504
18505 2011-08-27 Glenn Morris <rgm@gnu.org>
18506
18507 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18508
18509 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18510
18511 * emacs-lisp/package.el (package-install): Call package-initialize
18512 if called interactively.
18513
18514 2011-08-26 Leo Liu <sdl.web@gmail.com>
18515
18516 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18517
18518 2011-08-25 Juri Linkov <juri@jurta.org>
18519
18520 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18521 `search-whitespace-regexp' (bug#9364).
18522
18523 2011-08-25 Juri Linkov <juri@jurta.org>
18524
18525 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18526 `regexp-search-ring' to their global values to protect from
18527 updating by `read-from-minibuffer' (bug#9185).
18528
18529 2011-08-25 Juri Linkov <juri@jurta.org>
18530
18531 * textmodes/ispell.el (ispell-command-loop): Add newline
18532 at the end of the "Use option `i'..." line.
18533
18534 2011-08-25 Juri Linkov <juri@jurta.org>
18535
18536 * battery.el (display-battery-mode): If `battery-status-function'
18537 or `battery-mode-line-format' is nil, display the message and set
18538 `display-battery-mode' to nil (bug#9363).
18539
18540 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18541
18542 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18543 bidi-string-mark-left-to-right; they are unnecessary now.
18544
18545 2011-08-25 Deniz Dogan <deniz@dogan.se>
18546
18547 * net/quickurl.el: Documentation typo fixes.
18548
18549 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18550
18551 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18552
18553 2011-08-25 Glenn Morris <rgm@gnu.org>
18554
18555 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18556
18557 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18558 (smtpmail-via-smtp): Handle nil response from smtp.
18559
18560 2011-08-24 Juri Linkov <juri@jurta.org>
18561
18562 * proced.el (proced-marked): Inherit from `error' instead of
18563 `font-lock-warning-face'.
18564
18565 * ibuffer.el (ibuffer-marked-face): Change default face from
18566 `font-lock-warning-face' to `warning'.
18567 (ibuffer-deletion-face): Change default face from
18568 `font-lock-type-face' to `error'.
18569
18570 * battery.el (battery-update): Use the face `error' instead of
18571 `font-lock-warning-face' (bug#6117).
18572
18573 2011-08-24 Juri Linkov <juri@jurta.org>
18574
18575 * faces.el (success): Change face color from "Green3" to
18576 "ForestGreen" on light background (bug#9353).
18577
18578 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18579
18580 * window.el (quit-window): Rename from quit-restore-window.
18581 Use same arglist as old quit-window.
18582 (frame-auto-delete): Doc fix.
18583
18584 * view.el (view-mode-exit): Use quit-window.
18585
18586 2011-08-24 Juri Linkov <juri@jurta.org>
18587
18588 * isearch.el (isearch-ring-adjust1): Start visiting previous
18589 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18590 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18591 for empty search string (when the last search string is reused
18592 automatically) to adjust the isearch ring to the last element and
18593 prepare the correct index for further M-p commands (bug#9185).
18594
18595 2011-08-24 Kenichi Handa <handa@m17n.org>
18596
18597 * international/ucs-normalize.el: If decomposition property of
18598 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18599 nil.
18600 (nfd, nfkd): Likewise.
18601
18602 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18603
18604 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18605 from process filters aren't reliably transmitted to the surrounding
18606 accept-process-output.
18607 (mpc-proc-check): New function.
18608 (mpc-proc-sync): Use it (bug#8293)
18609
18610 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18611
18612 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18613 Add compatibility functions (bug#9313).
18614
18615 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18616
18617 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18618
18619 * international/uni-bidi.el: Regenerate.
18620
18621 2011-08-23 Kenichi Handa <handa@m17n.org>
18622
18623 * international/charprop.el:
18624 * international/uni-bidi.el:
18625 * international/uni-category.el:
18626 * international/uni-combining.el:
18627 * international/uni-comment.el:
18628 * international/uni-decimal.el:
18629 * international/uni-decomposition.el:
18630 * international/uni-digit.el:
18631 * international/uni-lowercase.el:
18632 * international/uni-mirrored.el:
18633 * international/uni-name.el:
18634 * international/uni-numeric.el:
18635 * international/uni-old-name.el:
18636 * international/uni-titlecase.el:
18637 * international/uni-uppercase.el: Regenerate.
18638
18639 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18640
18641 * help.el (help-window-setup): Fix message displayed when other
18642 window is reused. (Bug#9341)
18643
18644 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18645
18646 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18647 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18648
18649 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18650 Mark obsolete.
18651 * shell.el (shell-parse-pcomplete-arguments): New function.
18652 (shell-completion-vars): Use it instead (bug#9160).
18653
18654 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18655
18656 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18657 strings and comments (bug#9333).
18658
18659 * emacs-lisp/debug.el (debug-arglist): New function.
18660 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18661 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18662
18663 2011-08-22 Juri Linkov <juri@jurta.org>
18664
18665 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18666 Revert regexp that highlights output switches to its old
18667 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18668
18669 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18670 to check for empty output (bug#9226).
18671
18672 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18673
18674 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18675 symbol-constituent as the default, as that stops font-lock from
18676 working properly (Bug#8843).
18677
18678 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18679
18680 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18681 `coding-system-for-*' around the process open call to avoid
18682 auth-source side effects.
18683 (smtpmail-try-auth-methods): Expand the secret password.
18684 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18685 probe hangs.
18686
18687 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18688
18689 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18690
18691 * emacs-lisp/find-func.el (find-function-noselect): New arg
18692 lisp-only.
18693
18694 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18695 signal an error for built-in functions (Bug#6664).
18696
18697 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18698
18699 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18700 (smtpmail-try-auth-methods): Use it.
18701
18702 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18703
18704 * font-lock.el (font-lock-fontify-region)
18705 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18706 (font-lock-default-unfontify-buffer)
18707 (font-lock-default-fontify-region)
18708 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18709
18710 * progmodes/compile.el (compilation-error-properties):
18711 Fix confusion between file struct and message struct (Bug#9319).
18712 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18713 `ant' regexp.
18714
18715 * net/browse-url.el (browse-url-firefox): Don't call
18716 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18717
18718 2011-08-20 Glenn Morris <rgm@gnu.org>
18719
18720 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18721
18722 * tutorial.el (tutorial--default-keys): Update some default bindings.
18723
18724 * files.el (hack-local-variables): Fully ignore case for "mode:".
18725
18726 2011-08-20 Alan Mackenzie <acm@muc.de>
18727
18728 Resolve invalid use of a regexp in regexp-opt.
18729
18730 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18731 detection for a java annotation.
18732
18733 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18734 detection for a java annotation.
18735
18736 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18737 handling for java.
18738 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18739
18740 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18741
18742 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18743 (Bug#9274).
18744
18745 2011-08-20 Alan Mackenzie <acm@muc.de>
18746
18747 Fontify CPP expressions correctly when starting in the middle of
18748 such a construct. Mainly for when jit-lock etc. starts a chunk
18749 here.
18750
18751 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18752 variable.
18753 (c-make-font-lock-search-form): New function, extracted from
18754 c-make-font-lock-search-function.
18755 (c-make-font-lock-search-function): Use the above function.
18756 (c-make-font-lock-context-search-function): New function.
18757 (c-cpp-matchers): Enhance the preprocessor expression case with
18758 the above function
18759 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18760 which takes an expression.
18761
18762 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18763
18764 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18765
18766 * window.el (display-buffer-reuse-window)
18767 (display-buffer-pop-up-window): Don't reuse or split a side
18768 window.
18769
18770 2011-08-19 Glenn Morris <rgm@gnu.org>
18771
18772 * files.el (hack-local-variables-prop-line, hack-local-variables):
18773 Downcase "Mode:". (Bug#9331)
18774
18775 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18776
18777 * international/characters.el: Add L and R categories.
18778
18779 * subr.el (bidi-string-mark-left-to-right): Rename from
18780 string-mark-left-to-right. Use category search.
18781
18782 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18783
18784 2011-08-18 Juri Linkov <juri@jurta.org>
18785
18786 * faces.el (error, warning, success): New faces with definitions
18787 copied from old default values of `font-lock-warning-face',
18788 `compilation-warning', `compilation-info' (bug#6117).
18789
18790 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18791
18792 * progmodes/compile.el (compilation-error): Inherit from `error'.
18793 (compilation-warning): Inherit from `warning'.
18794 (compilation-info): Inherit from `success'.
18795
18796 * dired.el (dired-marked): Inherit from `warning'.
18797 (dired-flagged): Inherit from `error'.
18798
18799 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18800
18801 * mail/smtpmail.el (auth-source): Require to avoid problems with
18802 binding variables (bug#9298). Also clean up some unused
18803 autoloads.
18804
18805 * net/network-stream.el (network-stream-open-starttls):
18806 Support using starttls.el without using gnutls-cli.
18807
18808 2011-08-17 Juri Linkov <juri@jurta.org>
18809
18810 * progmodes/grep.el (rgrep): Handle the case when
18811 `grep-find-command' is a cons cell (bug#9278).
18812
18813 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18814
18815 * window.el (display-buffer-pop-up-frame): Run frame creation
18816 function with BUFFER current (as special-display-popup-frame
18817 does). Reported by Drew Adams.
18818
18819 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18820
18821 * epa-mail.el: Simplify GnuPG group expansion using
18822 epg-expand-group.
18823 (epa-mail-group-alist, epa-mail-group-modtime)
18824 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18825 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18826 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18827 Remove.
18828
18829 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18830
18831 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18832
18833 2011-08-16 Alan Mackenzie <acm@muc.de>
18834
18835 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18836 Correct, to avoid the inside of macros.
18837
18838 2011-08-16 Richard Stallman <rms@gnu.org>
18839
18840 * epa-mail.el: Handle GnuPG group definitions.
18841 (epa-mail-group-alist, epa-mail-group-modtime)
18842 (epa-mail-gnupg-conf-file): New variables.
18843 (epa-mail-parse-groups, epa-mail-sync-groups)
18844 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18845 (epa-mail-expand-recipients): New functions.
18846 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18847
18848 * mail/rmail.el (rmail-epa-decrypt): New command.
18849
18850 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18851 Don't bind buffer-read-only, just inhibit-read-only.
18852 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18853 (epa-decrypt-armor-in-region): Make error message clearer.
18854
18855 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18856
18857 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18858 and "a2b" to "ab" for `prefix'.
18859
18860 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18861
18862 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18863 filter groups.
18864 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18865 Fourquet (Bug#8804).
18866
18867 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18868
18869 * startup.el (argi): Declare as global variable (bug#9275).
18870
18871 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18872
18873 * subr.el (string-mark-left-to-right): Search the entire string
18874 for RTL script, not just the terminating character. Doc fix.
18875
18876 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18877
18878 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18879 New function.
18880 (js--regexp-literal, js-syntax-propertize-function): Remove.
18881 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18882 (js-mode-map): Don't rebind electric keys.
18883 (js-insert-and-indent): Remove.
18884 (js-mode): Setup electric-layout and electric-indent instead.
18885
18886 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18887
18888 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18889
18890 * epa.el (epa-progress-callback-function): Fix the logic of
18891 displaying progress.
18892 * epa-file.el (epa-file-insert-file-contents): Make progress
18893 display more user-friendly.
18894 (epa-file-write-region): Ditto.
18895
18896 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18897
18898 * subr.el (string-mark-left-to-right): New function.
18899
18900 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18901 Use string-mark-left-to-right.
18902 (list-buffers-noselect): Caller changed.
18903
18904 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18905 Use string-mark-left-to-right.
18906 (tabulated-list-print): Recenter after moving point.
18907
18908 2011-08-10 Juri Linkov <juri@jurta.org>
18909
18910 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18911 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18912 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18913
18914 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18915
18916 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18917 (Bug#7554).
18918
18919 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18920
18921 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18922 character. (Bug#6594)
18923
18924 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18925
18926 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18927 (image-dired--with-db-file): New macro.
18928 (image-dired-write-tags, image-dired-remove-tag)
18929 (image-dired-create-gallery-lists, image-dired-write-comments)
18930 (image-dired-get-comment, image-dired-mark-tagged-files)
18931 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18932 (image-dired-gallery-generate): Use insert-file-contents.
18933
18934 * time.el (display-time-world-list, display-time-world-display):
18935 * time-stamp.el (time-stamp-string):
18936 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18937 set-time-zone-rule (Bug#7337).
18938
18939 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18940
18941 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18942 (epg-error-to-string, epg-errors-to-string): New function.
18943 (epg-wait-for-completion): Reverse errors list.
18944 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18945 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18946 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18947 (epg-sign-keys, epg-generate-key-from-file)
18948 (epg-generate-key-from-string): Format errors by using
18949 epg-errors-to-string (bug#9255).
18950 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18951
18952 2011-08-07 Juri Linkov <juri@jurta.org>
18953
18954 * faces.el (list-faces-display): Remove extra angle bracket
18955 from `help-mode-map'.
18956
18957 * info.el (Info-history-toc-nodes): Doc fix.
18958
18959 * longlines.el (longlines-mode): Doc fix.
18960
18961 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18962
18963 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18964 of statements and in a few more cases (bug#9183).
18965
18966 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18967 New functions.
18968 (cl-transform-lambda): Use them (bug#9239).
18969
18970 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18971
18972 * window.el (display-buffer-same-window)
18973 (display-buffer-same-frame, display-buffer-other-window)
18974 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18975 (pop-to-buffer-other-window)
18976 (pop-to-buffer-same-frame-other-window)
18977 (pop-to-buffer-other-frame): Make them defuns.
18978 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18979
18980 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18981
18982 * subr.el (make-composed-keymap): Move from C. Change calling
18983 convention, and improve docstring to bring attention to a subtle point.
18984 * minibuffer.el (completing-read-default): Adjust accordingly.
18985
18986 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18987
18988 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18989 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18990
18991 * net/trampver.el: Update release number.
18992
18993 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18994
18995 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18996 "in" (bug#9190).
18997
18998 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18999
19000 * mail/sendmail.el (sendmail-query-once): Restore the current
19001 buffer after querying (bug#9074).
19002
19003 * dired.el (dired-flagged): Use different faces for marked and
19004 flagged files (bug#6117).
19005
19006 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19007 (bug#4433).
19008
19009 * ido.el (ido-mode): Switch off the message if called
19010 non-interactively.
19011
19012 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19013 before 587, since it appears that that's more likely to work for
19014 more people.
19015
19016 * cus-edit.el (custom-file): When running under emacs -q, always
19017 refuse to save the customizations, even if the .emacs file doesn't
19018 exist.
19019
19020 * info.el: Remove the `Info-beginning-of-buffer' function
19021 (bug#8325).
19022
19023 * net/network-stream.el (network-stream-open-starttls):
19024 Use `starttls-available-p' to see whether starttls.el can be used.
19025
19026 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19027
19028 * window.el (display-buffer-in-window): Don't set dedicated status
19029 of window here (Bug#9215).
19030 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19031 (display-buffer-pop-up-side-window)
19032 (display-buffer-in-side-window): Set dedicated status of window here.
19033
19034 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19035
19036 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19037 before binding generated-autoload-file.
19038
19039 2011-08-01 Deniz Dogan <deniz@dogan.se>
19040
19041 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19042
19043 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19044
19045 Sync with Tramp 2.2.2.
19046
19047 * net/trampver.el: Update release number.
19048
19049 2011-07-30 Juri Linkov <juri@jurta.org>
19050
19051 * dired-aux.el (dired-touch-initial): Remove function.
19052 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19053 current time, and `default' to the last modification time of the
19054 current marked file (bug#6887).
19055
19056 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19057
19058 * simple.el (goto-line): Use string-to-number to provide a
19059 numeric argument to read-number (bug#9163).
19060
19061 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19062
19063 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19064 connection process, it could be nil.
19065
19066 2011-07-27 Leo Liu <sdl.web@gmail.com>
19067
19068 Simplify url handling in rcirc-mode.
19069
19070 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19071 (rcirc-browse-url-at-mouse): Remove.
19072 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19073
19074 2011-07-26 Alan Mackenzie <acm@muc.de>
19075
19076 Fontify bitfield declarations properly.
19077
19078 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19079 (c-symbol-chars): Now exported as a lang variable.
19080 (c-not-primitive-type-keywords): New lang variable.
19081
19082 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19083 QT keyword "more" to prevent "more slots: ...." being spuriously
19084 parsed as a bitfield declaration.
19085
19086 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19087 Refactor and enhance to handle bitfield declarations.
19088 (c-punctuation-in): New function.
19089 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19090 declarations properly.
19091
19092 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19093
19094 * calendar/icalendar.el (icalendar--all-events): Take care of
19095 multiple vcalendars in a single file.
19096 (icalendar--convert-float-to-ical): Checkdoc fixes.
19097
19098 2011-07-25 Deniz Dogan <deniz@dogan.se>
19099
19100 * image.el (insert-image): Clarifying docstring.
19101
19102 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19103
19104 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19105 `tramp-send-command-and-check' if there is no error.
19106 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19107
19108 2011-07-22 Alan Mackenzie <acm@muc.de>
19109
19110 Prevent cc-langs.elc being loaded at run time.
19111
19112 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19113 cc-langs.
19114
19115 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19116 "(require 'cc-langs)". Quote a form so it will evaluate at
19117 (cc-mode's) compilation time.
19118
19119 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19120
19121 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19122 loading. (Bug#9114)
19123
19124 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19125
19126 * window.el (display-buffer-pop-up-window)
19127 (display-buffer-pop-up-side-window)
19128 (display-buffer-in-side-window): Call display-buffer-set-height
19129 and display-buffer-set-width after setting the new window's
19130 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19131
19132 2011-07-20 Sam Steingold <sds@gnu.org>
19133
19134 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19135 (etags-tags-included-tables): Call `convert-standard-filename' on
19136 the file names contained in TAGS so that windows Emacs can handle
19137 TAGS files created by cygwin ctags.
19138
19139 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19140
19141 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19142 which apparently didn't work.
19143
19144 2011-07-19 Roland Winkler <winkler@gnu.org>
19145
19146 * proced.el (proced-send-signal): For *Marked Processes* buffer
19147 put point at beginning of buffer.
19148
19149 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19150
19151 * proced.el (proced-format): Make header lines align with the text
19152 (bug#1779).
19153
19154 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19155
19156 * view.el (view-buffer): Allow running in `special' modes if we're
19157 visiting a file (bug#8615).
19158
19159 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19160
19161 * window.el (display-buffer-alist-of-strings-p)
19162 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19163 New functions.
19164 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19165 more accurately.
19166
19167 2011-07-18 Alan Mackenzie <acm@muc.de>
19168
19169 Fontify declarators properly when, e.g., a jit-lock chunk begins
19170 inside a declaration.
19171
19172 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19173
19174 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19175 New function.
19176 (c-complex-decl-matchers): Insert reference to
19177 c-font-lock-enclosing-decls.
19178
19179 * progmodes/cc-engine.el (c-backward-single-comment):
19180 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19181 to nil around calls to (forward-comment -1).
19182
19183 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19184
19185 * image.el (put-image): Doc typo fix.
19186
19187 * progmodes/etags.el (tags-search): Doc typo fix.
19188
19189 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19190 password if we get errors 550 to 554.
19191
19192 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19193
19194 * net/gnutls.el (gnutls-log-level): Remove.
19195
19196 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19197 indentation character (bug#6380).
19198
19199 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19200
19201 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19202 to clarify what the problem is (bug#4291).
19203
19204 * simple.el (current-kill): Clarify what
19205 `interprogram-paste-function' does (bug#7500).
19206 (auto-fill-mode): Document `auto-fill-function' in relation to
19207 `auto-fill-mode' (bug#2470).
19208
19209 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19210
19211 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19212 method if slot is read-only (bug#9035).
19213
19214 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19215
19216 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19217 * window.el (pop-to-buffer): Select window used even if it was
19218 selected before, see discussion of (Bug#8615), (Bug#6954).
19219 Pass argument NORECORD on to select-frame-set-input-focus.
19220
19221 2011-07-15 Glenn Morris <rgm@gnu.org>
19222
19223 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19224 Respect help-form.
19225
19226 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19227
19228 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19229 (gnutls-negotiate): Use it.
19230
19231 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19232
19233 * net/gnutls.el (gnutls-negotiate):
19234 Upcase `gnutls-algorithm-priority'.
19235
19236 2011-07-15 Glenn Morris <rgm@gnu.org>
19237
19238 * jka-compr.el (jka-compr-verbose): Move from here...
19239 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19240 Add missing :version tag.
19241 * info.el: No need to require jka-compr when compiling.
19242
19243 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19244
19245 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19246 (gnutls-negotiate): Use it.
19247
19248 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19249
19250 * info.el (Info-beginning-of-buffer): New command.
19251 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19252 announcing `b' as the key (bug#8325).
19253 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19254
19255 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19256
19257 * international/mule-cmds.el
19258 (describe-specified-language-support): Make the error message
19259 clearer (bug#8905).
19260
19261 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19262
19263 * isearch.el (isearch-barrier): Add a doc string, since it's
19264 mentioned in a function doc string (bug#8678).
19265
19266 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19267
19268 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19269 buffer argument (Bug#9083) and self-identifying label argument.
19270
19271 2011-07-15 Glenn Morris <rgm@gnu.org>
19272
19273 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19274
19275 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19276
19277 * man.el (Man-fontify-manpage): Fix message when formatting the
19278 man page (bug#7929).
19279
19280 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19281
19282 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19283 argument LRM; if non-nil, append an invisible LRM character to the
19284 buffer name.
19285 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19286 last argument non-nil, when formatting buffer names.
19287 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19288 paragraph direction.
19289
19290 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19291
19292 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19293 the man page name (bug#7929).
19294
19295 * image.el (put-image): Mention the `put-image' overlay property
19296 (bug#7834).
19297
19298 * scroll-bar.el (set-scroll-bar-mode): Mention that
19299 `scroll-bar-mode' lists the values (bug#7772).
19300
19301 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19302 command (bug#7729).
19303
19304 * rect.el (apply-on-rectangle): Return the point after the last
19305 operation.
19306 (string-rectangle): Go to the point after the last operation
19307 (bug#7522).
19308
19309 * printing.el (pr-toggle-region): Clarify the documentation
19310 slightly (bug#7493).
19311
19312 * time.el (display-time-update):
19313 Allow `display-time-mail-function' to return nil (bug#7158).
19314 Fix suggested by Detlev Zundel.
19315
19316 * vc/diff.el (diff): Clarify the order the file names are read
19317 (bug#7111).
19318
19319 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19320 the doc string (bug#7015).
19321
19322 * font-lock.el (font-lock-maximum-decoration): Mention what
19323 numeric levels mean (bug#6935).
19324
19325 * startup.el (initial-buffer-choice): Don't mention the `none'
19326 selection, which is against policy.
19327
19328 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19329
19330 * window.el (display-buffer-normalize-special):
19331 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19332
19333 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19334
19335 * subr.el (version<, version<=, version=): Mention "-CVS" and
19336 "-12345" alpha version numbers.
19337
19338 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19339
19340 * bindings.el: Add advertised binding for set-mark-command
19341 (Bug#5772).
19342
19343 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19344
19345 * bindings.el (mode-line-other-buffer):
19346 * bookmark.el (bookmark-bmenu-2-window):
19347 * bs.el (bs-cycle-next, bs-cycle-previous):
19348 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19349 switch-to-buffer.
19350
19351 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19352 Delete.
19353
19354 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19355
19356 * follow.el (follow-debug-message, follow-redisplay):
19357 * jka-cmpr-hook.el (with-auto-compression-mode):
19358 Fix typos in docstrings.
19359
19360 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19361
19362 * subr.el (with-silent-modifications): Clarify somewhat what the
19363 macro inhibits (bug#6525).
19364
19365 * simple.el (eval-expression): Note what it does if called
19366 interactively (bug#6495).
19367
19368 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19369
19370 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19371 Use pop-to-buffer buffer-or-name if it is nil.
19372
19373 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19374 Remove switch-to-buffer.
19375
19376 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19377
19378 * files.el (make-directory): Clarify that an error will be raised
19379 if there's an error (bug#6397).
19380
19381 * startup.el (initial-buffer-choice): Add `none' as a choice
19382 (bug#6234).
19383
19384 * subr.el (add-hook): Clarify section about buffer-local hooks
19385 (bug#6218).
19386
19387 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19388
19389 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19390
19391 * tabify.el (untabify): Preserve the current column so that point
19392 doesn't move (bug#6032).
19393
19394 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19395
19396 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19397 Rewrite to avoid awkward possessive "s" (bug#5986).
19398
19399 2011-07-13 Glenn Morris <rgm@gnu.org>
19400
19401 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19402 (dired-insert-directory): Give a message the first time
19403 if ls is found not to support --dired.
19404
19405 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19406
19407 * simple.el (toggle-truncate-lines): Clarify what is toggled
19408 (bug#5580). Text by Drew Adams.
19409
19410 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19411
19412 * simple.el (blink-matching-open): Make the error message from the
19413 last change less verbose.
19414
19415 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19416
19417 * font-lock.el (font-lock-comment-face): Use the high contrast
19418 "yellow" color for font-lock-comment-face on low color terminals
19419 using a dark background color (bug#4221).
19420
19421 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19422
19423 * dired.el (dired-insert-set-properties): Make the doc string
19424 reflect what it does now (bug#5325).
19425
19426 * simple.el (blink-matching-open): Say that we were unable to find
19427 the match within the limit, if we're limited (bug#5122).
19428
19429 * international/mule-cmds.el (prefer-coding-system): Add an
19430 example (bug#4869).
19431
19432 * progmodes/etags.el (tags-search): Document `file-list-form'
19433 (bug#4731).
19434
19435 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19436
19437 * net/browse-url.el (browse-url-default-browser)
19438 (browse-url-browser-function): Make the default browser choice a
19439 bit more logical (bug#4300). Also clean up the doc string.
19440
19441 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19442
19443 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19444 binary endings (bug#4440).
19445
19446 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19447
19448 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19449 which can be pretty annoying (bug#8971).
19450
19451 * jka-compr.el (jka-compr-verbose): New variable, and use
19452 throughout (bug#8971).
19453
19454 * info.el (Info-find-file): Fall back on the installation
19455 directory if we can't find the info node anywhere else.
19456
19457 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19458
19459 * vc/vc.el (vc-revert-file):
19460 Don't set file time-stamp in the past. (Bug#5181)
19461
19462 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19463
19464 * files.el (after-find-file): Give a better error message when
19465 trying to find a symlink that points to a file that doesn't exist
19466 (bug#4398).
19467
19468 * progmodes/cc-vars.el: Remove (probably) misleading comment
19469 (bug#4396).
19470
19471 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19472
19473 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19474
19475 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19476
19477 * mouse-sel.el: Hack restoring functionality, while keeping
19478 compatibility with 2010-07-03 changes to mouse selection.
19479 (mouse-sel-primary-overlay): New var.
19480 (mouse-sel-selection-alist): Use it.
19481 (mouse-sel-mode): Doc fix; remove points that are default features
19482 of mouse.el.
19483
19484 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19485
19486 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19487 Fix previous fix (bug#2490).
19488
19489 2011-07-12 Roland Winkler <winkler@gnu.org>
19490
19491 * textmodes/bibtex.el (bibtex-initialize):
19492 Use pop-to-buffer-same-window.
19493 (bibtex-search-entries): Fix interactive call.
19494
19495 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19496
19497 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19498 Fontise bytecomp Error lines more correctly (bug#2490).
19499 Fix suggested by Johan Bockgård.
19500
19501 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19502
19503 * dired-x.el (dired-guess-default): Use `delete-dups'.
19504
19505 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19506
19507 * dired.el (dired-mark-prompt):
19508 * dired-aux.el (dired-read-shell-command): Doc fix.
19509
19510 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19511
19512 * mail/sendmail.el (sendmail-query-once):
19513 Use `customize-save-variable' unconditionally, now that it works under
19514 emacs -Q.
19515
19516 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19517
19518 * cus-edit.el (custom-file): Take an optional no-error variable.
19519 (customize-save-variable): Set the variable, and give a warning if
19520 running under "emacs -q".
19521
19522 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19523
19524 * loadhist.el (unload-feature-special-hooks):
19525 Add `auto-coding-functions', `fill-nobreak-predicate' and
19526 `find-directory-functions' (bug#5327).
19527
19528 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19529
19530 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19531
19532 * cus-edit.el (custom-guess-name-alist): -alist variables should
19533 use the `alist' type (bug#3120). Suggested by Drew Adams.
19534
19535 * printing.el: Add documentation to all the `pr-toggle-' commands.
19536
19537 2011-07-11 Leo Liu <sdl.web@gmail.com>
19538
19539 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19540 backends where it makes sense (bug#2623).
19541
19542 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19543
19544 * dired-x.el (dired-guess-default): Remove duplicate shell command
19545 entries (bug#2028).
19546 (dired-guess-default): Fix grammar in doc string (bug#2028).
19547 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19548
19549 * subr.el (remove-duplicates): New conveniency function.
19550
19551 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19552
19553 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19554 (bug#1526).
19555
19556 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19557
19558 * window.el (display-buffer-normalize-default): Don't invert
19559 meaning of even-window-heights. Reported by Eli Zaretskii
19560 <eliz@gnu.org>.
19561
19562 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19563
19564 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19565
19566 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19567
19568 * window.el (display-buffer): Fix arguments to
19569 display-buffer-reuse-window in last change.
19570
19571 * faces.el (link): Use a less saturated blue on light backgrounds.
19572
19573 * startup.el (fancy-startup-text, fancy-about-text)
19574 (fancy-startup-tail): Use font-lock faces, for background safety.
19575
19576 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19577
19578 * emulation/viper-cmd.el (viper-change-state-to-vi):
19579 Limit triggering of abbrev expansion (Bug#9038).
19580
19581 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19582
19583 * window.el (display-buffer-default-specifiers): Remove.
19584 (display-buffer-macro-specifiers): Remove default specifiers.
19585 (display-buffer-alist): Default to nil.
19586 (display-buffer-reuse-window): New optional argument other-window.
19587 (display-buffer-pop-up-window): Allow splitting internal
19588 windows. Check whether a live window was created.
19589 (display-buffer-other-window-means-other-frame)
19590 (display-buffer-normalize-arguments): Rename to
19591 display-buffer-normalize-argument and rewrite. Set the
19592 other-window specifier.
19593 (display-buffer-normalize-special): New function.
19594 (display-buffer-normalize-options): Rename to
19595 display-buffer-normalize-default and rewrite.
19596 (display-buffer-normalize-options-inhibit): Remove.
19597 (display-buffer-normalize-specifiers): Rewrite.
19598 (display-buffer): Process other-window specifier and call
19599 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19600 more faithfully.
19601 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19602 (display-buffer-alist-set): Don't handle 'unset default values.
19603 (display-buffer-in-window, display-buffer-alist-set):
19604 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19605 <tassilo@member.fsf.org>.
19606
19607 2011-07-09 Leo Liu <sdl.web@gmail.com>
19608
19609 * register.el (insert-register): Restore accidental change on
19610 2011-06-26. (Bug#9028)
19611
19612 2011-07-09 Glenn Morris <rgm@gnu.org>
19613
19614 * subr.el (remq): Handle the empty list. (Bug#9024)
19615
19616 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19617
19618 * mail/sendmail.el (send-mail-function): No longer delay custom
19619 initialization.
19620 * custom.el (custom-initialize-delay): Doc fix.
19621
19622 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19623
19624 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19625
19626 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19627
19628 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19629 human-friendly prompt.
19630
19631 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19632
19633 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19634 provided by a particular plugin.
19635
19636 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19637
19638 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19639 save customizations (with "emacs -Q"), just set the variable
19640 instead of erroring out.
19641
19642 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19643
19644 2011-07-08 Juri Linkov <juri@jurta.org>
19645
19646 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19647 (archive-zip-update-case): Use 7z if found by `executable-find'.
19648 The order of searching the available programs is the same as in
19649 `archive-zip-extract' (bug#8968).
19650
19651 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19652
19653 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19654 (menu-bar-options-menu): Tweak descriptions.
19655
19656 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19657
19658 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19659 menu items into verb phrases (bug#1421). Also refill to fit under
19660 80 columns.
19661
19662 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19663
19664 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19665 (Info-read-node-name): Doc fix (Bug#1084).
19666
19667 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19668 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19669 (end-of-sexp, beginning-of-sexp)
19670 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19671 (forward-symbol, forward-same-syntax, word-at-point)
19672 (sentence-at-point): Doc fix (Bug#1144).
19673
19674 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19675
19676 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19677 should cover it (bug#1281).
19678
19679 * cus-edit.el (custom-show): Mark as obsolete.
19680
19681 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19682 negotiation fails, then possibly try again with a non-encrypted
19683 connection (bug#9017).
19684
19685 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19686 be used.
19687
19688 2011-07-07 Richard Stallman <rms@gnu.org>
19689
19690 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19691 property, and handle its changed format.
19692 Look for the correct line number.
19693 Use file's line contents (but not past first =) to find
19694 correct line in message.
19695
19696 2011-07-07 Kenichi Handa <handa@m17n.org>
19697
19698 * international/characters.el (build-unicode-category-table):
19699 Delete it.
19700 (unicode-category-table): Set it by unicode-property-table-internal.
19701
19702 * international/mule-cmds.el (char-code-property-alist): Move to
19703 to src/chartab.c.
19704 (get-char-code-property): Call unicode-property-table-internal to
19705 load a file. Call get-unicode-property-internal where necessary.
19706 (put-char-code-property): Call unicode-property-table-internal to
19707 load a file. Call put-unicode-property-internal where necessary.
19708 put-unicode-property-internal where necessary.
19709 (char-code-property-description):
19710 Call unicode-property-table-internal to load a file.
19711
19712 * international/charprop.el:
19713 * international/uni-bidi.el:
19714 * international/uni-category.el:
19715 * international/uni-combining.el:
19716 * international/uni-comment.el:
19717 * international/uni-decimal.el:
19718 * international/uni-decomposition.el:
19719 * international/uni-digit.el:
19720 * international/uni-lowercase.el:
19721 * international/uni-mirrored.el:
19722 * international/uni-name.el:
19723 * international/uni-numeric.el:
19724 * international/uni-old-name.el:
19725 * international/uni-titlecase.el:
19726 * international/uni-uppercase.el: Regenerate.
19727
19728 * loadup.el: Load international/charprop.el before
19729 international/characters.
19730
19731 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19732
19733 * window.el (next-buffer, previous-buffer): Signal an error if
19734 called from a minibuffer window.
19735
19736 * bindings.el: Revert 2011-07-04 change.
19737
19738 2011-07-06 Richard Stallman <rms@gnu.org>
19739
19740 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19741 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19742 Treat markers like ints.
19743 (rmail-mime-entity): Doc fix.
19744
19745 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19746
19747 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19748 defcustom again for backwards compatibility.
19749
19750 * simple.el (shell-command-on-region): Fill.
19751
19752 * dired-aux.el (dired-kill-line): Add a doc string.
19753
19754 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19755 to "\\sw\\|\\s_" (bug#358).
19756
19757 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19758 (dired-unmark-backward): Ditto.
19759 (dired-flag-backup-files): Ditto.
19760
19761 * dired-x.el (dired-mark-sexp): Ditto.
19762
19763 2011-07-06 Richard Stallman <rms@gnu.org>
19764
19765 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19766 (rmail-mime-entity): New arg TRUNCATED.
19767 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19768 New functions.
19769 (rmail-mime-save): Warn if entity is truncated.
19770 (rmail-mime-toggle-hidden): Likewise, for showing.
19771 (rmail-mime-process-multipart): Record when an entity is truncated.
19772
19773 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19774 if ENTITY is a string.
19775
19776 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19777
19778 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19779 of faces when `M-C-x'-ing their definitions (bug#8378).
19780 Also clean up the code slightly.
19781
19782 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19783 because that makes the colors go away.
19784
19785 * mail/sendmail.el (send-mail-function): Change the default to
19786 `sendmail-query-once'.
19787 (sendmail-query-once): Add an autoload cookie.
19788
19789 * net/network-stream.el (network-stream-open-starttls): Try using
19790 a plain connection even if the server offered STARTTLS, and we
19791 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19792 capability. This should make smtpmail.el work in slightly more
19793 configurations.
19794
19795 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19796
19797 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19798 New defun.
19799 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19800
19801 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19802
19803 * progmodes/sql.el: Version 3.0
19804 (sql-product-alist): Add product :completion-object,
19805 :completion-column, and :statement attributes.
19806 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19807 (sql-mode-syntax-table): Mark all punctuation.
19808 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19809 ansi keywords.
19810 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19811 (sql-mode-oracle-font-lock-keywords): Improve.
19812 (sql-oracle-show-reserved-words): New function for development.
19813 (sql-product-font-lock): Simplify for source code buffers.
19814 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19815 New functions.
19816 (sql-highlight-product): Set product specific syntax table.
19817 (sql-mode-map): Add statement movement functions.
19818 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19819 New variable.
19820 (sql-statement-regexp, sql-beginning-of-statement)
19821 (sql-end-of-statement, sql-signum): New functions.
19822 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19823 (sql-show-sqli-buffer): Bug fix.
19824 (sql-interactive-mode): Store connection data as buffer local.
19825 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19826 with sql-interactive-mode.
19827 (sql-save-connection): Save buffer local settings.
19828 (sql-connection-menu-filter): Change menu entry name.
19829 (sql-product-interactive): Bug fix.
19830 (sql-preoutput-hold): New variable.
19831 (sql-interactive-remove-continuation-prompt): Bug fixes.
19832 (sql-debug-redirect): New variable.
19833 (sql-str-literal): New function.
19834 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19835 Redesign.
19836 (sql-oracle-save-settings, sql-oracle-restore-settings)
19837 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19838 (sql-completion-object, sql-completion-column)
19839 (sql-completion-sqlbuf): New variables.
19840 (sql-build-completions-1, sql-build-completions)
19841 (sql-try-completion): New functions.
19842 (sql-read-table-name): Use them.
19843 (sql-contains-names): New buffer local variable.
19844 (sql-list-all, sql-list-table): Use it.
19845 (sql-oracle-completion-types): New variable.
19846 (sql-oracle-completion-object, sql-sqlite-completion-object)
19847 (sql-postgres-completion-object): New functions.
19848
19849 2011-07-06 Glenn Morris <rgm@gnu.org>
19850
19851 * window.el (pop-to-buffer): Doc fix.
19852
19853 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19854
19855 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19856
19857 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19858
19859 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19860
19861 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19862
19863 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19864
19865 * button.el (button): Inherit from link face. Suggested by Dan
19866 Nicolaescu.
19867
19868 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19869
19870 * progmodes/gdb-mi.el: Fit in 80 columns.
19871 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19872 switch-to-buffer.
19873
19874 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19875 if imenu is simply not configured (bug#8941).
19876
19877 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19878
19879 * allout.el (allout-post-undo-hook): New allout outline-change
19880 event hook to signal undo activity.
19881 (allout-post-command-business): Run allout-post-undo-hook if an
19882 undo just occurred.
19883 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19884 * allout-widgets.el (allout-widgets-after-undo-function):
19885 Ensure the integrity of the current item's decoration after it has been
19886 in the vicinity of an undo.
19887 (allout-widgets-mode): Include allout-widgets-after-undo-function
19888 on the new allout-post-undo-hook.
19889
19890 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19891
19892 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19893 Let define-derived-mode define it.
19894 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19895 cycles of abbrev-table inheritance (bug#8998).
19896
19897 2011-07-05 Roland Winkler <winkler@gnu.org>
19898
19899 * textmodes/bibtex.el: Add support for biblatex.
19900 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19901 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19902 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19903 (bibtex-entry-alist, bibtex-field-alist): New variables.
19904 (bibtex-entry-field-alist): Obsolete alias for
19905 bibtex-BibTeX-entry-alist.
19906 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19907 (bibtex-set-dialect): New command.
19908 (bibtex-entry-type, bibtex-entry-head)
19909 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19910 Bind via bibtex-set-dialect.
19911 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19912 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19913 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19914 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19915 Define via bibtex-set-dialect.
19916 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19917 Obey bibtex-no-opt-remove-re.
19918 (bibtex-vec-push, bibtex-vec-incr): New functions.
19919 (bibtex-format-entry, bibtex-field-list)
19920 (bibtex-print-help-message, bibtex-validate)
19921 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19922
19923 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19924
19925 * progmodes/compile.el (compilation-goto-locus):
19926 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19927 * bs.el (bs-cycle-next, bs-cycle-previous):
19928 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19929 * bindings.el (mode-line-other-buffer):
19930 * autoinsert.el (auto-insert):
19931 * arc-mode.el (archive-extract):
19932 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19933
19934 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19935
19936 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19937 Fix check of `emacs-lock-unlockable-modes'.
19938 Coerce true values of `emacs-lock--try-unlocking' to t.
19939
19940 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19941
19942 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19943 * emacs-lock.el: New file.
19944
19945 2011-07-05 Julien Danjou <julien@danjou.info>
19946
19947 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19948 than `boundp' to check if face is set.
19949
19950 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19951
19952 * register.el (registerv-make):
19953 * window.el (window-min-height): Fix typos in docstrings.
19954
19955 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19956
19957 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19958 Update doc string.
19959
19960 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19961
19962 * server.el (server-execute): Catch quit and call
19963 `server-return-error' to pass the error back to emacsclient and
19964 close the connection (bug#8942).
19965
19966 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19967
19968 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19969 insecure exception for current topic. Also note that auto-saves
19970 are handled differently.
19971
19972 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19973 State variables for tracking auto-save inhibition situation.
19974
19975 (allout-write-contents-hook-handler): Rename from
19976 'allout-write-file-hook-handler', and describe how it depends on
19977 write-contents-functions sensitivity to non-nil value to prevent
19978 file write.
19979
19980 (allout-auto-save-hook-handler): Remove. auto-save does not check
19981 this in individual buffers, only in the starting buffer, so this
19982 is not the right way for us to inhibit auto-save in a buffer
19983 according to its condition.
19984
19985 (allout-mode): Use new allout-write-contents-hook-handler, and
19986 only with write-contents-functions. Remove auto-save provisions -
19987 they're implemented elsewhere.
19988
19989 (allout-before-change-handler): If undo is in progress, note that
19990 for attention of allout-post-command-business.
19991
19992 (allout-post-command-business): If the command we're following was
19993 an undo, check for change in the status of encrypted items and
19994 adjust auto-save inhibitions accordingly.
19995
19996 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19997 according to whether there are or aren't any plain-text topics
19998 pending encryption.
19999
20000 (allout-inhibit-auto-save-info-for-decryption):
20001 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20002 if there are plain-text topics pending encryption.
20003
20004 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20005 buffer-saved-size and some allout state to not inhibit auto-saves
20006 if there are no longer any plain-text topics pending encryption.
20007
20008 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20009 No longer provide for exemption of the current topic.
20010
20011 2011-07-04 Juri Linkov <juri@jurta.org>
20012
20013 Add 7z operations to delete and save changed members (bug#8968).
20014 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20015 New defcustoms.
20016 (archive-7z-write-file-member): New function.
20017 (archive-7z-summarize): Fix the number of dashes in the
20018 listing output.
20019
20020 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20021
20022 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20023 (bug#8958).
20024
20025 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20026
20027 * bindings.el: Ignore next-buffer and previous-buffer in
20028 minibuffer-local-map.
20029
20030 * font-lock.el (font-lock-builtin-face): Change light background
20031 color to dark slate blue (Bug#6693).
20032
20033 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20034
20035 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20036
20037 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20038
20039 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20040 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20041 Add switch-to-buffer.
20042
20043 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20044
20045 * isearch.el (isearch-search-fun-function): Clarify further the
20046 meaning of the function returned.
20047
20048 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20049
20050 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20051
20052 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20053 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20054 Use it.
20055 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20056 `tramp-default-remote-path' does not exist.
20057 (tramp-send-command-and-read): New optional argument NOERROR.
20058 (tramp-open-connection-setup-interactive-shell)
20059 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20060 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20061 (tramp-process-sentinel): Flush also process' connection property.
20062 (tramp-sh-handle-start-file-process): Do not set process
20063 sentinel. It is done now ...
20064 (tramp-maybe-open-connection): ... here. (Bug#8929)
20065
20066 2011-07-04 MON KEY <monkey@sandpframing.com>
20067
20068 * play/animate.el (animate-string): Doc fixes and allow changing
20069 the buffer name (bug#5417).
20070
20071 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20072
20073 * play/animate.el (animation-buffer-name): Rename from *animate*.
20074
20075 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20076
20077 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20078 This is simpler and helps future-proof the code.
20079 (timer-until): Use time-subtract and float-time.
20080 (timer--time-less-p): Use time-less-p.
20081
20082 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20083
20084 * type-break.el (timep): Use the value of `float-time' to avoid a
20085 byte-compiler warning.
20086
20087 * server.el (server-eval-and-print): Return any result, even nil.
20088
20089 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20090
20091 * type-break.el: Accept time formats that the builtins accept.
20092 (timep, type-break-time-difference): Accept any format that
20093 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20094 This is simpler and helps future-proof the code.
20095 (type-break-time-difference): Round rather than ignoring
20096 subseconds components.
20097
20098 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20099
20100 * info.el (Info-apropos-matches): Make non-interactive, since it
20101 doesn't seem to do anything useful as a command (bug#8829).
20102
20103 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20104
20105 * frame.el (frame-background-mode, frame-set-background-mode):
20106 Move from faces.el.
20107 (frame-default-terminal-background): New function.
20108
20109 * custom.el (custom-push-theme): Don't record faces in `changed'
20110 theme; this doesn't work correctly for per-frame face settings.
20111 (disable-theme): Use face-set-after-frame-default to reset faces.
20112 (custom--frame-color-default): New function.
20113
20114 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20115
20116 * dired.el (dired-flagging-regexp): Remove unused variable
20117 (bug#8769).
20118
20119 2011-03-29 Kevin Ryde <user42@zip.com.au>
20120
20121 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20122 `perl-Test2' extend to match possible "fail #N" rep count
20123 (bug#8377).
20124
20125 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20126
20127 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20128 `smtpmail-via-smtp' now returns the error instead of nil.
20129
20130 * isearch.el (isearch-search-fun-function): Clarify the doc string
20131 (bug#8101).
20132
20133 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20134
20135 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20136 unnecessary spaces (bug#8987).
20137
20138 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20139
20140 * net/network-stream.el (open-network-stream): Use the
20141 :end-of-capability command thoughout.
20142
20143 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20144
20145 * net/network-stream.el (open-network-stream): Add the
20146 :end-of-capability command parameter, used by pop3.el.
20147
20148 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20149
20150 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20151
20152 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20153 for list)" (bug#6475).
20154
20155 * files.el (file-expand-wildcards): Ignore non-readable
20156 sub-directories while trying to find matches instead of signaling
20157 an error (bug#6297).
20158
20159 * man.el (Man-reference-regexp): Allow matching possible
20160 word-wrapped references (bug#6289).
20161
20162 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20163 for consistency with the other vc buffers (bug#6197).
20164 (vc-checkin): Ditto.
20165
20166 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20167
20168 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20169
20170 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20171
20172 * custom.el (defcustom): Clarify that :set is only used in the
20173 Customize user interface (bug#6089).
20174
20175 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20176 associated with a file, refuse to run instead of erroring out
20177 (bug#6084).
20178
20179 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20180 the doc string, since it appears that using `fill-column' always
20181 controls the width (bug#7845).
20182
20183 * simple.el (shell-command-on-region): Say where the error output
20184 went if `shell-command-default-error-buffer' is set (bug#6857).
20185
20186 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20187
20188 * allout.el (allout-yank-processing): Adjust cursor position for
20189 backwards-deleted space.
20190
20191 (allout-rebullet-heading): Register changes with
20192 allout-exposure-changed-hook, so the modified topic is properly
20193 decorated.
20194
20195 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20196
20197 * minibuffer.el (completion-in-region): Document PREDICATE
20198 (bug#7136).
20199
20200 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20201 of keyword/argument pairs (bug#6904).
20202
20203 * replace.el (multi-occur):
20204 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20205
20206 2011-07-02 Drew Adams <drew.adams@oracle.com>
20207
20208 * dired.el (dired-mark-if): Make the message about whether it's
20209 marking or unmarking clearer (bug#8523).
20210
20211 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20212
20213 * disp-table.el (display-table-print-array): New function.
20214 (describe-display-table): Use it to print the vectors more pretty
20215 (Bug#8859).
20216
20217 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20218
20219 * window.el (window-state-get-1): Don't assign clone numbers.
20220 Add clone-of item to list of window parameters.
20221 (window-state-put-2): Don't process clone numbers.
20222 (display-buffer-alist): Fix doc-string.
20223
20224 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20225
20226 * subr.el (remq): Don't allocate if it's not needed.
20227 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20228 (keymap--merge-bindings): New functions.
20229 (keymap-canonicalize): Use them to refine the canonicalization.
20230 * minibuffer.el (minibuffer-local-completion-map)
20231 (minibuffer-local-must-match-map): Move initialization from C.
20232 (minibuffer-local-filename-completion-map): Move initialization from C;
20233 don't inherit from anything here.
20234 (minibuffer-local-filename-must-match-map): Make obsolete.
20235 (completing-read-default): Use make-composed-keymap to combine
20236 minibuffer-local-filename-completion-map with either
20237 minibuffer-local-must-match-map or
20238 minibuffer-local-filename-completion-map.
20239
20240 2011-07-01 Glenn Morris <rgm@gnu.org>
20241
20242 * type-break.el (type-break-time-sum): Use dolist.
20243
20244 * textmodes/flyspell.el (flyspell-word-search-backward):
20245 Replace CL function.
20246
20247 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20248
20249 * mouse.el (mouse--strip-first-event): New function.
20250 (function-key-map): Use it to map fringe clicks to normal clicks
20251 by default.
20252
20253 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20254 (vc-bzr-revision-completion-table): Add support for annotate and date.
20255
20256 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20257 inherit from parent.
20258
20259 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20260
20261 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20262 (dired-show-file-type): Doc fixup (bug#8818).
20263
20264 * dired.el (dired-mode): Fix up the doc string as suggested by
20265 Drew Adams (bug#8817).
20266
20267 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20268 cookie, since the manual says that it should be possible to add
20269 this function to `find-file-hook' (bug#8709).
20270
20271 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20272
20273 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20274 here. Noted Ted Zlatanov as the maintainer.
20275 (cfengine-common-settings, cfengine-common-syntax): New functions
20276 to set up common things between `cfengine-mode' and
20277 `cfengine3-mode'.
20278 (cfengine3-mode): New mode.
20279 (cfengine3-defuns cfengine3-defuns-regex
20280 (cfengine3-class-selector-regex cfengine3-category-regex)
20281 (cfengine3-vartypes cfengine3-font-lock-keywords)
20282 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20283 (cfengine3-indent-line): Add from cfengine3.el.
20284
20285 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20286
20287 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20288
20289 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20290
20291 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20292
20293 * window.el (same-window-buffer-names, same-window-regexps)
20294 (same-window-p, special-display-frame-alist)
20295 (special-display-popup-frame, special-display-function)
20296 (special-display-buffer-names, special-display-regexps)
20297 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20298 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20299 (split-window-preferred-function, split-height-threshold)
20300 (split-width-threshold, even-window-heights)
20301 (display-buffer-mark-dedicated, window-splittable-p)
20302 (split-window-sensibly, window-safely-shrinkable-p):
20303 Un-obsolete.
20304 (display-buffer): Don't spread args with function specifier
20305 because special-display-popup-frame won't like it.
20306
20307 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20308
20309 Time-stamp simplifications and fixes.
20310 These improve accuracy slightly, and future-proof the code
20311 against some potential changes to current-time format.
20312
20313 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20314 by using time-since and float-time.
20315
20316 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20317 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20318 + NNN microseconds".
20319
20320 * type-break.el (type-break-time-sum): Rewrite using time-add.
20321
20322 * play/hanoi.el (hanoi-current-time-float): Remove.
20323 All uses replaced by float-time.
20324
20325 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20326 This yields a more-accurate answer.
20327 (rng-time-to-float): Remove; no longer needed.
20328
20329 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20330
20331 * calendar/timeclock.el (timeclock-seconds-to-time):
20332 Defalias to seconds-to-time, since they're the same thing.
20333
20334 * emacs-lisp/elp.el (elp-elapsed-time):
20335 * emacs-lisp/benchmark.el (benchmark-elapse):
20336 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20337
20338 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20339
20340 * window.el (bury-buffer): Don't iconify the only frame.
20341 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20342 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20343
20344 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20345
20346 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20347 Add mouse-yank-primary.
20348
20349 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20350
20351 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20352
20353 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20354
20355 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20356 (find-library-name): Use it to find relative load names when provided
20357 absolute file name (bug#8803).
20358
20359 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20360
20361 * textmodes/flyspell.el (flyspell-word): Consider words that
20362 differ only in case as potential doublons (bug#5687).
20363
20364 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20365 Remove two rather uninteresting debugging-like messages to make
20366 debbugs.el more silent.
20367
20368 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20369 a password-like phrase.
20370
20371 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20372
20373 * progmodes/cc-guess.el: New file.
20374
20375 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20376
20377 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20378 derived from `c-basic-common-init'.
20379
20380 * progmodes/cc-mode.el (top-level): Require cc-guess.
20381 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20382
20383 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20384
20385 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20386
20387 2011-06-30 Alan Mackenzie <acm@muc.de>
20388
20389 * progmodes/cc-engine.el (c-guess-continued-construct):
20390 Correct the handling of template-args-cont, particularly for when font
20391 lock is disabled. Name this case as "CASE G".
20392
20393 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20394
20395 * allout.el (allout-yank-processing): Fix injection of extra space
20396 between bullet and non-whitespace character in first topic when
20397 pasting, ensuring that the actual spacing in the pasted topic
20398 following the bullet char is preserved. This extra space was
20399 causing pasted encrypted topics to get a decrypted status even
20400 when the content was actually still encrypted. Now the decryption
20401 status from before the paste is preserved.
20402
20403 (allout-flag-region): Set all allout overlays so they evaporate
20404 when reduced to zero length (evanescent), to prevent overlay
20405 leakage.
20406
20407 2011-06-30 Glenn Morris <rgm@gnu.org>
20408
20409 * w32-fns.el (w32-charset-info-alist): Declare.
20410
20411 * find-dired.el (find-grep-options): Simplify.
20412
20413 * term/ns-win.el (ns-set-resource): Declare.
20414
20415 * ses.el (row, col): Declare dynamic variables honestly.
20416
20417 * textmodes/reftex-parse.el (index-tags): Declare.
20418
20419 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20420
20421 * cus-edit.el (customize-push-and-save): New function.
20422
20423 * files.el (hack-local-variables-confirm): Use it.
20424
20425 * custom.el (load-theme): New arg NO-CONFIRM.
20426 Use customize-push-and-save (Bug#8720).
20427 (custom-enabled-themes): Doc fix.
20428
20429 * cus-theme.el (customize-create-theme)
20430 (custom-theme-merge-theme): Callers to load-theme changed.
20431
20432 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20433
20434 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20435 short URLs have at least one dot in them (bug #7614).
20436
20437 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20438 nil, because using a pty is apparently too slow (bug #895).
20439
20440 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20441
20442 * mail/sendmail.el (sendmail-query-once): New function.
20443 (sendmail-query-once-function): New variable.
20444
20445 2011-06-29 Glenn Morris <rgm@gnu.org>
20446
20447 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20448
20449 * ses.el (top-level): Require cl when compiling.
20450 (ses-set-localvars): Fix error statement.
20451 Call it at compile time to silence a storm of warnings.
20452
20453 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20454
20455 * window.el (normalize-live-buffer): Rename to
20456 window-normalize-buffer.
20457 (normalize-live-frame): Rename to window-normalize-frame.
20458 (normalize-any-window): Rename to window-normalize-any-window.
20459 (normalize-live-window): Rename to window-normalize-live-window.
20460 (make-window-atom): Rename to window-make-atom.
20461 (window-resize-reset): Rename to window--resize-reset.
20462 (window-resize-reset-1): Rename to window--resize-reset-1.
20463 (resize-mini-window): Rename to window--resize-mini-window.
20464 (resize-subwindows-skip-p): Rename to
20465 window--resize-subwindows-skip-p.
20466 (resize-subwindows-normal): Rename to
20467 window--resize-subwindows-normal.
20468 (resize-subwindows): Rename to window--resize-subwindows.
20469 (resize-other-windows): Rename to window--resize-siblings.
20470 (resize-this-window): Rename to window--resize-this-window.
20471 (resize-root-window): Rename to window--resize-root-window.
20472 (resize-root-window-vertically): Rename to
20473 window--resize-root-window-vertically.
20474 (normalize-buffer-to-display): Rename to
20475 window-normalize-buffer-to-display.
20476 (normalize-buffer-to-switch-to): Rename to
20477 window-normalize-buffer-to-switch-to.
20478 Correspondingly update all callers of the functions listed
20479 above.
20480 (display-buffer-alist, display-buffer-normalize-arguments)
20481 (display-buffer-normalize-options, display-buffer)
20482 (display-buffer-alist-set): Use "function" instead of
20483 "fun-with-args".
20484
20485 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20486
20487 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20488 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20489 debbugs.gnu.org. Mention acknowledgment email.
20490
20491 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20492
20493 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20494 buffer multibyteness, since it shouldn't matter.
20495
20496 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20497
20498 * window.el (display-buffer-in-side-window): Handle dedicated
20499 windows as in display-buffer-reuse-window.
20500 (display-buffer-normalize-alist): Use value of override
20501 specifier.
20502 (display-buffer-normalize-specifiers): Use value of
20503 other-window-means-other-frame specifier.
20504 (display-buffer-alist): Rewrite some texts in widgets.
20505 (display-buffer): Spread arguments when calling function
20506 specified by fun-with-args.
20507
20508 2011-06-28 Deniz Dogan <deniz@dogan.se>
20509
20510 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20511 Unnest `let'.
20512
20513 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20514 selectors (Bug#5732).
20515 (css-proprietary-nmstart-re): Use `regexp-opt'.
20516
20517 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20518
20519 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20520 (eshell-ls-date-format): New defcustom.
20521 (eshell-ls-file): Use it.
20522
20523 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20524
20525 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20526
20527 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20528
20529 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20530 (ange-ftp-make-tmp-name): New arg.
20531 (ange-ftp-file-local-copy): Use it.
20532
20533 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20534
20535 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20536 no-conversion (Bug#8870).
20537
20538 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20539
20540 * window.el (window-right, window-left, window-child)
20541 (window-child-count, window-last-child)
20542 (window-iso-combination-p, walk-window-tree-1)
20543 (window-atom-check-1, window-tree-1, delete-window)
20544 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20545 new naming conventions - window-vchild, window-hchild,
20546 window-next and window-prev are now called window-top-child,
20547 window-left-child, window-next-sibling and window-prev-sibling
20548 respectively.
20549 (resize-window-reset): Rename to window-resize-reset.
20550 (resize-window-reset-1): Rename to window-resize-reset-1.
20551 (resize-window): Rename to window-resize.
20552 (window-min-height, window-min-width)
20553 (resize-mini-window, resize-this-window, resize-root-window)
20554 (resize-root-window-vertically, adjust-window-trailing-edge)
20555 (enlarge-window, shrink-window, maximize-window)
20556 (minimize-window, delete-window, quit-restore-window)
20557 (split-window, balance-windows, balance-windows-area-adjust)
20558 (balance-windows-area, window-state-put-2)
20559 (display-buffer-even-window-sizes, display-buffer-set-height)
20560 (display-buffer-set-width, set-window-text-height)
20561 (fit-window-to-buffer): Rename all "resize-window" prefixed
20562 calls to use the "window-resize" prefix convention.
20563 (display-buffer-alist): Fix symbol for label specifier.
20564 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20565 corresponding specifier.
20566 Reported by Juanma Barranquero <lekktu@gmail.com>.
20567
20568 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20569
20570 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20571 convention.
20572 (ses-call-printer): Does not pass an empty string to formatter when the
20573 cell is empty to keep from barking printer Calc math-format-value.
20574
20575 2011-06-27 Richard Stallman <rms@gnu.org>
20576
20577 * battery.el (battery-mode-line-limit): New variable.
20578 (battery-update): Handle it.
20579
20580 * mail/rmailmm.el (rmail-mime-process-multipart):
20581 Handle truncated messages.
20582
20583 2011-06-27 Glenn Morris <rgm@gnu.org>
20584
20585 * progmodes/flymake.el (flymake-err-line-patterns):
20586 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20587
20588 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20589
20590 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20591 (ses--clean-!, ses--clean-_): New functions.
20592 (ses-range): Add configurability of readout order, and conversion
20593 to Calc vector.
20594
20595 * ses.el (ses-repair-cell-reference-all): New function.
20596 (ses-cell-symbol): Set macro as safe, so that it can be used in
20597 formulas.
20598
20599 * ses.el: Update cycle detection algorithm.
20600 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20601 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20602 (ses-set-localvars): New function.
20603 (ses-make-cell): Add property-list as a cell element.
20604 (ses-cell-property-get-fun, ses-cell-property-get)
20605 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20606 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20607 New functions.
20608 (ses-cell-property-set, ses-cell-property-pop)
20609 (ses-cell-property-get-handle): New macro.
20610 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20611 New aliases, used for code readability.
20612 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20613 cycle detection.
20614 (ses-self-reference-early-detection): New defcustom.
20615 (ses-formula-references): Robustify against self-referring cells.
20616 (ses-mode): Use ses-set-localvars.
20617 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20618 before lauching the update processing.
20619 (ses-initialize-Dijkstra-attempt): New function.
20620 (ses-recalculate-cell): Update for cycle detection based on
20621 Dijkstra algorithm.
20622
20623 * ses.el: Fix commenting and indenting convention.
20624
20625 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20626
20627 * bs.el (bs-cycle-next): Complete last change.
20628
20629 2011-06-27 Drew Adams <drew.adams@oracle.com>
20630
20631 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20632
20633 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20634
20635 * net/network-stream.el (network-stream-open-starttls):
20636 Don't re-get capabilities unless we've reestablished connection.
20637 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20638
20639 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20640 to binary to possibly avoid line encoding issues on Windows (among
20641 other things).
20642
20643 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20644
20645 * net/network-stream.el (open-network-stream): Return an :error
20646 saying what the problem was, if possible.
20647
20648 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20649 server.
20650
20651 * net/network-stream.el (network-stream-open-starttls): If we
20652 wanted to use STARTTLS, and the server offered it, but we weren't
20653 able to because we had no STARTTLS support, then close the connection.
20654 (open-network-stream): Return an :error element, if present.
20655
20656 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20657
20658 * hl-line.el (hl-line-sticky-flag): Doc fix.
20659 (global-hl-line-sticky-flag): New option (Bug#8323).
20660 (global-hl-line-highlight): Obey it.
20661
20662 * vc/vc.el (vc-revert-show-diff): Default to t.
20663
20664 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20665
20666 * allout-widgets.el (allout-widgets-post-command-business):
20667 Stop decorating intermediate isearch matches. They're not being
20668 undecorated when an isearch is continued past, and isearch
20669 automatically collapses them. This leads to "widget leaks", where
20670 decorated items accumulate in collapsed areas. Lines with lots of
20671 hidden widgets can slow down cursor travel, substantially.
20672 Too much complicated machinery would be needed to ensure undecoration,
20673 so we're doing without this nicety.
20674
20675 (allout-widgets-tally-string): Don't try to do a hash-table-count
20676 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20677 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20678 *Messages* when allout-widgets-maintain-tally is t.
20679
20680 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20681
20682 * window.el (display-buffer-normalize-argument): Rename to
20683 display-buffer-normalize-arguments. Handle special meaning of
20684 LABEL argument. Respect special-display-function when popping up
20685 a new frame. Fix code searching for a window showing the buffer
20686 on another frame.
20687 (display-buffer-normalize-specifiers):
20688 Call display-buffer-normalize-arguments.
20689 (display-buffer-in-window): Don't undedicate the window if its
20690 buffer remains the same.
20691 Reported by Drew Adams <drew.adams@oracle.com>.
20692 (display-buffer-alist): Add choice for same-window macro
20693 specfier.
20694 (display-buffer): Mention special meaning of LABEL argument in
20695 doc-string. Fix quoting. Don't pop up a new frame even as
20696 fallback.
20697
20698 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20699
20700 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20701 avoid deleting the current window in some cases (bug#8911).
20702
20703 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20704
20705 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20706 (Bug#8934)
20707
20708 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20709
20710 * net/network-stream.el (network-stream-open-starttls):
20711 Use built-in TLS support if `gnutls-available-p' is true.
20712 (network-stream-open-tls): Ditto.
20713
20714 2011-06-26 Leo Liu <sdl.web@gmail.com>
20715
20716 * register.el (registerv): New struct.
20717 (registerv-make): New function.
20718 (jump-to-register, describe-register-1, insert-register):
20719 Support the jump-func, print-func and insert-func slot of a registerv
20720 struct. (Bug#8415)
20721
20722 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20723
20724 * vc/vc.el (vc-revert-show-diff): New defcustom.
20725 (vc-diff-internal): New arg specifying diff buffer.
20726 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20727 reuse an existing *vc-diff* buffer (Bug#8927).
20728
20729 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20730
20731 2011-06-26 Glenn Morris <rgm@gnu.org>
20732
20733 * progmodes/f90.el (f90-critical-indent): New option.
20734 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20735 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20736 (f90-mode): Doc fix.
20737 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20738 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20739 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20740 (f90-match-end): Handle block, critical.
20741
20742 2011-06-25 Glenn Morris <rgm@gnu.org>
20743
20744 * calendar/diary-lib.el (diary-included-files): Doc fix.
20745 (diary-include-files): New function, extracted from
20746 diary-include-other-diary-files and diary-mark-included-diary-files.
20747 (diary-include-other-diary-files, diary-mark-included-diary-files):
20748 Just call diary-include-files.
20749 (diary-mark-entries): Reset diary-included-files on first call.
20750
20751 * calendar/diary-lib.el (diary-mark-entries)
20752 (diary-mark-included-diary-files):
20753 Visit included diary-files in temp buffers.
20754
20755 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20756 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20757 (f90-start-block-re, f90-imenu-generic-expression)
20758 (f90-looking-at-program-block-start, f90-no-block-limit):
20759 Add support for submodules.
20760
20761 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20762 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20763
20764 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20765
20766 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20767 buffer-file-type before setting its value, to avoid disastrous
20768 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20769
20770 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20771
20772 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20773
20774 * ses.el (ses-unload-function):
20775 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20776
20777 * proced.el (proced-unload-function):
20778 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20779
20780 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20781
20782 * server.el (server-create-window-system-frame): Add parameters arg.
20783 (server-process-filter): Doc fix. Handle frame-parameters.
20784
20785 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20786
20787 Fix bug#8730, bug#8781.
20788
20789 * loadhist.el (unload--set-major-mode): New function.
20790 (unload-feature): Use it.
20791
20792 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20793 (python-unload-function): New function.
20794
20795 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20796
20797 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20798
20799 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20800
20801 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20802 the candidates list.
20803
20804 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20805
20806 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20807
20808 2011-06-23 Richard Stallman <rms@gnu.org>
20809
20810 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20811 (rmail-variables): Set next-error-move-function.
20812 (rmail-what-message): Take argument POS.
20813 (rmail-next-error-move): New function.
20814
20815 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20816
20817 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20818 messages for adjacent non-terminals.
20819
20820 2011-06-23 Richard Stallman <rms@gnu.org>
20821
20822 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20823 (rmail-show-message-1): Preserve buffer modified flag.
20824 (rmail-start-mail): Don't specify use of rmail-mail-return;
20825 that's done by mail-bury now.
20826 (rmail-mail-return): Handle arg NEWBUF.
20827
20828 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20829
20830 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20831 SIZE is a number.
20832
20833 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20834
20835 * window.el (get-lru-window, get-mru-window)
20836 (get-largest-window): Never return a minibuffer window.
20837 (display-buffer-pop-up-window): Fix a bug that could lead to
20838 reusing the minibuffer window.
20839 (display-buffer): Pass original specifier argument to
20840 display-buffer-function instead of the normalized one.
20841 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20842
20843 2011-06-22 Leo Liu <sdl.web@gmail.com>
20844
20845 * minibuffer.el (completing-read-function)
20846 (completing-read-default): Move from minibuf.c.
20847
20848 2011-06-22 Richard Stallman <rms@gnu.org>
20849
20850 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20851 to Rmail even if not started by a special Rmail command.
20852
20853 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20854 Copy the buffer currently showing just one message.
20855
20856 2011-06-22 Roland Winkler <winkler@gnu.org>
20857
20858 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20859 (bibtex-clean-entry): First delete the old key so that a
20860 customized algorithm for generating the new key does not get
20861 confused by the old key.
20862 (bibtex-url): Obey regexp of first step.
20863 (bibtex-search-entries): Do not use add-to-list with local
20864 list-var.
20865
20866 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20867
20868 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20869 stored a user name, then query for the password first, instead of
20870 waiting for SMTP to give an error message and the trying again.
20871
20872 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20873
20874 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20875 BUFFER in call-process.
20876
20877 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20878
20879 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20880 QUIT twice.
20881 (smtpmail-try-auth-methods): Require user name and password from
20882 auth-source.
20883
20884 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20885
20886 * window.el (display-buffer-default-specifiers)
20887 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20888 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20889 (split-window): Normalize SIDE argument (Bug#8916).
20890
20891 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20892 (special-display-frame-alist, special-display-popup-frame):
20893 Remove duplicate declarations. These are now in window.el.
20894
20895 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20896
20897 * mail/smtpmail.el (smtpmail-via-smtp):
20898 Set :use-starttls-if-possible so that we always use STARTTLS if the
20899 server supports it. SMTP servers that support STARTTLS commonly
20900 require it.
20901
20902 * net/network-stream.el (network-stream-open-starttls): Support
20903 upgrading to STARTTLS always, even if we don't have built-in support.
20904 (open-network-stream): Add the :always-query-capabilities keyword.
20905
20906 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20907 upgrades with `open-network-stream', and rely solely on
20908 auth-source for all credentials. Big changes throughout the file,
20909 but in particular:
20910 (smtpmail-auth-credentials): Remove.
20911 (smtpmail-starttls-credentials): Remove.
20912 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20913 MAIL FROM, too.
20914
20915 * net/network-stream.el (network-stream-open-starttls):
20916 Provide support for client certificates both for external and built-in
20917 STARTTLS.
20918 (auth-source): Require.
20919 (open-network-stream): Document the :client-certificate keyword.
20920 (network-stream-certificate): Change cert-cert to cert and
20921 cert-key to key.
20922
20923 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20924
20925 * net/tramp-cache.el (top): Don't load the persistency file when
20926 "emacs -Q" has been called.
20927
20928 2011-06-21 Tim Harper <timcharper@gmail.com>
20929
20930 * term/ns-win.el (ns-initialize-window-system):
20931 Set application-specific `ApplePressAndHoldEnabled' system
20932 resource to NO as it is not yet supported by the NS port.
20933
20934 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20935
20936 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20937 (list-dynamic-libraries): ...not here.
20938
20939 2011-06-21 Leo Liu <sdl.web@gmail.com>
20940
20941 * subr.el (sha1): Implement sha1 using secure-hash.
20942
20943 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20944
20945 * window.el (display-buffer-alist): In default value do not
20946 enforce searching a window on any but the selected frame.
20947 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20948 (display-buffer-select-window): Remove function.
20949 (display-buffer-in-window): When a window on another frame gets
20950 reused, do not select it any more but just raise its frame if
20951 necessary (Bug#8851) and (Bug#8856).
20952 (display-buffer-normalize-options): Handle pop-up-frames related
20953 options more faithfully.
20954 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20955 window if it is on another frame.
20956 (display-buffer-alist, display-buffer-default-specifiers):
20957 Don't make new frame unsplittable by default.
20958 (display-buffer-normalize-argument): Fix doc-string typo and use
20959 'same-frame-other-window instead of 'other-window when associating
20960 with display-buffer-macro-specifiers.
20961
20962 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20963
20964 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20965 New functions.
20966 (5x5-mode-map, 5x5-mode-menu): Bind them.
20967 (5x5-draw-grid): Tweak the solver's rendering.
20968
20969 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20970
20971 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20972 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20973
20974 2011-06-21 Drew Adams <drew.adams@oracle.com>
20975
20976 * menu-bar.el: Use function variable instead of switch-to-buffer.
20977 (menu-bar-select-buffer-function): New variable.
20978 (menu-bar-update-buffers): Use it (bug#8876).
20979
20980 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20981
20982 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20983 variable's status.
20984
20985 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20986
20987 * x-dnd.el (x-dnd-version-from-flags)
20988 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20989 and long as number (Bug#8899).
20990 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20991
20992 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20993
20994 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20995 (completion-try-completion, completion-all-completions): Compute the
20996 metadata argument if it's missing; make it optional (bug#8795).
20997
20998 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20999 (widget-complete): Use new :completion-function property.
21000 (widget-completions-at-point): New function.
21001 (default): Use :completion-function instead of :complete.
21002 (widget-default-completions): Rename from widget-default-complete;
21003 Rewrite.
21004 (widget-string-complete, widget-file-complete, widget-color-complete):
21005 Remove functions.
21006 (file, symbol, function, variable, coding-system, color):
21007 * international/mule-cmds.el (default-input-method, charset)
21008 (language-info-custom-alist):
21009 * cus-edit.el (face): Use new property :completions.
21010
21011 * progmodes/pascal.el (pascal-completions-at-point): New function.
21012 (pascal-mode): Use it.
21013 (pascal-mode-map): Use completion-at-point.
21014 (pascal-toggle-completions): Make obsolete.
21015 (pascal-complete-word, pascal-show-completions):
21016 * progmodes/octave-mod.el (octave-complete-symbol):
21017 Redefine as obsolete alias.
21018 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21019 Signal absence of completion info for old Octave,
21020 (inferior-octave-complete): Redefine as obsolete alias.
21021 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21022 (meta-completions-at-point): Rename from meta-complete-symbol and
21023 adapt it for use on completion-at-point-functions.
21024 (meta-common-mode): Use it.
21025 (meta-looking-at-backward, meta-match-buffer): Remove.
21026 (meta-complete-symbol): Redefine as obsolete alias.
21027 (meta-common-mode-map): Use completion-at-point.
21028 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21029 (makefile-mode-map): Use completion-at-point.
21030 (makefile-completions-at-point): Rename from makefile-complete and
21031 adapt it for use on completion-at-point-functions.
21032 (makefile-mode): Use it.
21033 (makefile-complete): Redefine as obsolete alias.
21034
21035 2011-06-20 Deniz Dogan <deniz@dogan.se>
21036
21037 * net/rcirc.el: Delete trailing whitespaces once and for all.
21038
21039 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21040
21041 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21042
21043 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21044
21045 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21046
21047 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21048
21049 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21050
21051 * window.el (display-buffer-other-window-means-other-frame):
21052 Call display-buffer-normalize-alist.
21053 (display-buffer-normalize-specifiers-1): Rename to
21054 display-buffer-normalize-argument. New argument other-frame.
21055 Rewrite.
21056 (display-buffer-normalize-specifiers-2): Rename to
21057 display-buffer-normalize-options.
21058 (display-buffer-normalize-alist-1): New function.
21059 (display-buffer-normalize-specifiers-3): Rename to
21060 display-buffer-normalize-alist.
21061 Call display-buffer-normalize-alist-1.
21062 (display-buffer-normalize-options-inhibit): New variable.
21063 (display-buffer-normalize-specifiers): Rewrite calling
21064 display-buffer-normalize-alist,
21065 display-buffer-normalize-argument, and
21066 display-buffer-normalize-options. Don't call the latter if
21067 display-buffer-normalize-options-inhibit is non-nil.
21068 (frame-auto-delete): New option.
21069 (window-deletable-p): Use frame-auto-delete.
21070 (window-list-no-nils, window-state-ignored-parameters)
21071 (window-state-get-1, window-state-get, window-state-put-list)
21072 (window-state-put-1, window-state-put-2, window-state-put):
21073 New functions.
21074 (display-buffer-normalize-options): Move special-display-p group
21075 after pop-up-frame group (Bug#8851) and (Bug#8856).
21076
21077 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21078
21079 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21080 groups (Bug#8776).
21081 (rx-submatch-n): New function.
21082 (rx): Document it.
21083
21084 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21085 (Bug#8768).
21086
21087 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21088
21089 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21090
21091 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21092 anytime existing face settings are present (Bug#8889).
21093
21094 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21095 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21096 Remove unused argument.
21097
21098 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21099
21100 * window.el (display-buffer-default-specifiers):
21101 Remove pop-up-frame. Add pop-up-window-min-height,
21102 pop-up-window-min-width, and another reuse-window specifier
21103 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21104 (display-buffer-normalize-specifiers-2):
21105 Handle split-height-threshold and split-width-threshold also when
21106 pop-up-windows is unset. Add a reuse-window specifier for the
21107 case popping up a new window fails.
21108 (special-display-popup-frame): Remove double quoting.
21109 (display-buffer-normalize-specifiers-1): Fix thinko.
21110
21111 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21112
21113 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21114 according to comint-completion-addsuffix.
21115
21116 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21117 (pcomplete-suffix-list): Mark as obsolete.
21118 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21119 pcomplete-seen in the closure.
21120 (pcomplete-comint-setup): Setup completion-at-point as well.
21121 (pcomplete--entries): New function.
21122 (pcomplete--env-regexp): New var.
21123 (pcomplete-entries): Rewrite to work with partial-completion and
21124 without relying on pcomplete-suffix-list.
21125 (pcomplete-pare-list): Remove, unused.
21126
21127 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21128
21129 * window.el (display-buffer-alist): Set pop-up-window-min-height
21130 and pop-up-window-min-width in default value. Reported by
21131 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21132 other-window-means-other-frame.
21133 (display-buffer-macro-specifiers): Comment out entry for
21134 other-window specifier.
21135 (display-buffer-other-window-means-other-frame): New function.
21136 (display-buffer-normalize-specifiers-1): New arguments
21137 buffer-name and label. Treat other-window case specially.
21138 (display-buffer-normalize-specifiers-2): Treat other-window case
21139 specially.
21140 (display-buffer-normalize-specifiers-3): New function.
21141 (display-buffer-normalize-specifiers):
21142 Call display-buffer-normalize-specifiers-3.
21143
21144 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21145
21146 * window.el (same-window-p): Fix two typos introduced when
21147 adding with-no-warnings.
21148 (display-buffer-normalize-specifiers-1): Don't check
21149 pop-up-frames for 'unset initialization.
21150 (display-buffer-normalize-specifiers-2): Major rewrite using
21151 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21152 (pop-up-frames, display-buffer-reuse-frames)
21153 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21154 Suggested by David Engster <deng@randomsample.de>.
21155 (even-window-heights): Initialize to 'unset.
21156 (display-buffer-alist-set): Handle new 'unset initializations.
21157 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21158 other window case.
21159
21160 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21161
21162 * window.el (display-buffer-normalize-specifiers-1):
21163 Respect current value of pop-up-frames for most reasonable values of
21164 second argument of display-buffer (Bug#8865).
21165 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21166 (switch-to-buffer-other-window-same-frame)
21167 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21168 Adams (Bug#8875).
21169 (display-buffer): Don't check noninteractive when calling
21170 display-buffer-pop-up-frame.
21171 (display-buffer-pop-up-frame): Never pop up a frame in
21172 noninteractive mode (Bug#8857).
21173 (enlarge-window, shrink-window): Don't report an error when the
21174 window can't be resized as requested (Bug#8862).
21175
21176 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21177
21178 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21179
21180 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21181
21182 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21183
21184 2011-06-15 Alan Mackenzie <acm@muc.de>
21185
21186 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21187 for declarators, disable knr checking to speed up for normal files.
21188 2: Refactor, replacing a sequence of nested if forms by a cond form.
21189
21190 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21191
21192 * net/network-stream.el (open-network-stream): Add the keyword
21193 :always-query-capabilities for the case where you want to force a
21194 `plain' network connection, but the protocol still requires the
21195 capabilitiy command (i.e., SMTP and EHLO).
21196
21197 * subr.el (process-live-p): Rename from `process-alive-p' for
21198 consistency with other `-live-p' functions.
21199
21200 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21201
21202 * window.el (same-window-buffer-names, same-window-regexps)
21203 (special-display-frame-alist, special-display-popup-frame)
21204 (special-display-function, special-display-buffer-names)
21205 (special-display-regexps, pop-up-frame-alist)
21206 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21207 (pop-up-windows, split-window-preferred-function)
21208 (split-height-threshold, split-width-threshold, even-window-heights)
21209 (display-buffer-mark-dedicated): Don't encourage the use of
21210 display-buffer-alist from Elisp code.
21211
21212 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21213
21214 * progmodes/python.el (python-mode): Derive from prog-mode.
21215 * progmodes/ps-mode.el (ps-mode):
21216 * progmodes/mixal-mode.el (mixal-mode):
21217 * progmodes/cfengine.el (cfengine-mode):
21218 * progmodes/ld-script.el (ld-script-mode): Likewise.
21219
21220 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21221
21222 * window.el (display-buffer-alist): Trim default value to avoid
21223 popping up a new frame (Bug#8857) or reusing an arbitrary window
21224 on another frame.
21225 (display-buffer): Do not fall back on popping up a new frame in
21226 batch mode (Bug#8857).
21227
21228 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21229
21230 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21231 (custom-theme-summary): New function.
21232 (customize-themes): Use it.
21233
21234 2011-06-13 Glenn Morris <rgm@gnu.org>
21235
21236 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21237
21238 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21239
21240 * help.el (help-window): Remove variable.
21241 (help-window-point-marker, temp-buffer-max-height)
21242 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21243 (help-print-return-message): Don't set help-window.
21244 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21245 (help-window-setup-finish): Remove.
21246 (help-window-display-message, help-window-setup)
21247 (with-help-window): Major rewrite based on new
21248 display-buffer-window variable.
21249
21250 * help-mode.el (help-mode-finish): Remove help-window related
21251 code.
21252
21253 * view.el (view-exits-all-viewing-windows): Remove reference to
21254 view-return-to-alist in doc-string.
21255 (view-return-to-alist): Make obsolete.
21256 (view-buffer): Call pop-to-buffer-same-window and remove
21257 undo-window code.
21258 (view-buffer-other-window): Call pop-to-buffer-other-window and
21259 simplify code. Ignore second argument.
21260 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21261 simplify code. Ignore second argument.
21262 (view-return-to-alist-update): Make obsolete.
21263 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21264 Rewrite using quit-restore window parameters.
21265 (view-mode-exit): Rename second argument to EXIT-ONLY.
21266 Rewrite using quit-restore-window.
21267 (View-exit, View-exit-and-edit, View-leave, View-quit)
21268 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21269 appropriate arguments.
21270 (view-end-message): Use quit-restore window parameter.
21271
21272 * window.el (display-buffer-function): Rewrite doc-string.
21273 (display-buffer-window, display-buffer-alist): New variables.
21274 (display-buffer-split-specifiers)
21275 (display-buffer-side-specifiers)
21276 (display-buffer-macro-specifiers): New constants.
21277 (display-buffer-even-window-sizes, display-buffer-set-height)
21278 (display-buffer-set-width, display-buffer-select-window)
21279 (display-buffer-in-window, display-buffer-reuse-window)
21280 (display-buffer-split-window-1, display-buffer-split-window)
21281 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21282 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21283 (display-buffer-in-side-window, normalize-buffer-to-display)
21284 (display-buffer-normalize-specifiers-1)
21285 (display-buffer-normalize-specifiers-2)
21286 (display-buffer-normalize-specifiers, display-buffer-frame):
21287 New functions.
21288 (display-buffer): Major rewrite.
21289 (display-buffer-other-window, display-buffer-other-frame)
21290 (pop-to-buffer, switch-to-buffer-other-window)
21291 (switch-to-buffer-other-frame): Rewrite.
21292 (display-buffer-same-window, display-buffer-same-frame)
21293 (display-buffer-same-frame-other-window)
21294 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21295 (pop-to-buffer-other-window)
21296 (pop-to-buffer-same-frame-other-window)
21297 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21298 (switch-to-buffer-other-window-same-frame): New functions.
21299 (same-window-p, special-display-p): Rewrite disabling warnings.
21300 Make obsolete.
21301 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21302 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21303 Make obsolete
21304 (same-window-buffer-names, same-window-regexps)
21305 (special-display-frame-alist, special-display-popup-frame)
21306 (special-display-function, special-display-buffer-names)
21307 (special-display-regexps, pop-up-frame-alist)
21308 (pop-up-frame-function, split-window-preferred-function)
21309 (split-height-threshold, split-width-threshold)
21310 (even-window-heights): Make obsolete.
21311
21312 2011-06-12 Glenn Morris <rgm@gnu.org>
21313
21314 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21315 Misc simplifications.
21316
21317 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21318
21319 * window.el (window-safely-shrinkable-p): Restore function which
21320 was inadvertently removed in change from 2011-06-11. Declare as
21321 obsolete.
21322
21323 * calendar/calendar.el (calendar-generate-window):
21324 Use window-iso-combined-p instead of combination of one-window-p and
21325 window-safely-shrinkable-p.
21326
21327 2011-06-12 Glenn Morris <rgm@gnu.org>
21328
21329 * progmodes/fortran.el (fortran-mode-syntax-table):
21330 * progmodes/f90.el (f90-mode-syntax-table):
21331 Set % to punctuation. (Bug#8820)
21332 (f90-find-tag-default): Remove, no longer needed.
21333
21334 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21335
21336 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21337
21338 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21339
21340 * image.el (image-animated-p): Return animation delay in seconds.
21341 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21342 (image-animate-timeout): Remove DELAY argument. Don't assume
21343 every subimage has the same delay; get it from image-animated-p.
21344 (image-animate): Caller changed.
21345
21346 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21347
21348 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21349 to ignored backtrace functions.
21350
21351 2011-06-11 Glenn Morris <rgm@gnu.org>
21352
21353 * calendar/appt.el (appt-disp-window-function): Doc fix.
21354 (appt-check): Handle overlapping appointments. (Bug#8337)
21355
21356 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21357
21358 * window.el (window-tree-1, window-tree): New functions, moving
21359 the latter to window.el.
21360 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21361 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21362 (bw-refresh-edges): Remove.
21363 (balance-windows-1, balance-windows-2): New functions.
21364 (balance-windows): Rewrite in terms of window tree functions,
21365 balance-windows-1 and balance-windows-2.
21366 (bw-adjust-window): Remove.
21367 (balance-windows-area-adjust): New function with functionality of
21368 bw-adjust-window but using resize-window.
21369 (set-window-text-height): Rewrite doc-string.
21370 Use normalize-live-window and resize-window.
21371 (enlarge-window-horizontally, shrink-window-horizontally):
21372 Rename argument to DELTA.
21373 (window-buffer-height): New function.
21374 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21375 Rewrite using new window resize routines.
21376 (kill-buffer-and-window, mouse-autoselect-window-select):
21377 Use ignore-errors instead of condition-case.
21378 (quit-window): Call delete-frame instead of delete-windows-on
21379 for the only buffer on frame.
21380
21381 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21382
21383 * loadup.el (top-level): Load window before files for the sake
21384 of replace-buffer-in-windows.
21385
21386 * files.el (read-buffer-to-switch)
21387 (switch-to-buffer-other-window)
21388 (switch-to-buffer-other-frame, display-buffer-other-frame):
21389 Move to window.el.
21390
21391 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21392 (previous-buffer): Move to window.el.
21393
21394 * bindings.el (unbury-buffer): Move to window.el.
21395
21396 * window.el (delete-other-windows-vertically): Move after
21397 definition of delete-other-windows.
21398 (other-window, delete-windows-on, replace-buffer-in-windows):
21399 Move here from window.c.
21400 (record-window-buffer, unrecord-window-buffer)
21401 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21402 (switch-to-next-buffer): New functions.
21403 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21404 from simple.el. Call switch-to-next-buffer.
21405 (previous-buffer): Move here from simple.el.
21406 Call switch-to-prev-buffer.
21407 (bury-buffer): Move here from buffer.c. Switch to previous
21408 buffer when window cannot be deleted.
21409 (unbury-buffer): Move here from bindings.el.
21410 (ctl-x-map): Move binding for other-window from window.c to
21411 here.
21412 (read-buffer-to-switch, switch-to-buffer-other-window)
21413 (switch-to-buffer-other-frame): Move here from files.el.
21414 (normalize-buffer-to-switch-to): New functions.
21415 (switch-to-buffer): Move here from buffer.c.
21416 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21417
21418 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21419
21420 * window.el (window-min-height, window-min-width): Move here
21421 from window.c. Add defcustoms and rewrite doc-strings.
21422 (resize-mini-window, resize-window): New functions.
21423 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21424 Move here from window.c.
21425 (maximize-window, minimize-window): New functions.
21426 (delete-window, delete-other-windows, split-window): Move here
21427 from window.c.
21428 (window-split-min-size): New function.
21429 (split-window-keep-point): Mention split-window-above-each-other
21430 instead of split-window-vertically.
21431 (split-window-above-each-other, split-window-vertically):
21432 Rename split-window-vertically to split-window-above-each-other
21433 and provide defalias for old definition.
21434 (split-window-side-by-side, split-window-horizontally):
21435 Rename split-window-horizontally to split-window-side-by-side
21436 and provide defalias for the old definition.
21437 (ctl-x-map): Move bindings for delete-window,
21438 delete-other-windows and enlarge-window here from window.c.
21439 Replace bindings for split-window-vertically and
21440 split-window-horizontally by bindings for
21441 split-window-above-each-other and split-window-side-by-side.
21442
21443 * cus-start.el (all): Remove entries for window-min-height and
21444 window-min-width. Add entries for window-splits and
21445 window-nest.
21446
21447 2011-06-09 Glenn Morris <rgm@gnu.org>
21448
21449 * calendar/appt.el (appt-mode-line): New function.
21450 (appt-check, appt-disp-window): Use it.
21451
21452 * files.el (hack-one-local-variable-eval-safep):
21453 Allow minor-modes with explicit +/-1 arguments.
21454
21455 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21456
21457 * term/xterm.el (xterm): Add defgroup.
21458 (xterm-extra-capabilities): Add defcustom to supply known xterm
21459 capabilities, skip querying them, or query them (default).
21460 (terminal-init-xterm): Use it.
21461 (terminal-init-xterm-modify-other-keys): New function to set up
21462 modifyOtherKeys support to simplify `terminal-init-xterm'.
21463
21464 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21465
21466 * window.el (resize-window-reset, resize-window-reset-1)
21467 (resize-subwindows-skip-p, resize-subwindows-normal)
21468 (resize-subwindows, resize-other-windows, resize-this-window)
21469 (resize-root-window, resize-root-window-vertically)
21470 (window-deletable-p, window-or-subwindow-p)
21471 (frame-root-window-p): New functions.
21472
21473 2011-06-09 Glenn Morris <rgm@gnu.org>
21474
21475 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21476 (ange-ftp-get-files): Use it.
21477
21478 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21479
21480 * mail/sendmail.el (mail-recover-1, mail-recover):
21481 * files.el (recover-file, recover-session):
21482 Handle dired-listing-switches not being just a single short option.
21483
21484 2011-06-09 Glenn Morris <rgm@gnu.org>
21485
21486 * calendar/appt.el (appt-display-message, appt-disp-window):
21487 Handle lists of appointments.
21488
21489 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21490
21491 * window.el (one-window-p): Move down in code.
21492 Rewrite doc-string.
21493 (window-current-scroll-bars): Rewrite doc-string.
21494 Normalize live window argument.
21495 (walk-windows, get-window-with-predicate, count-windows):
21496 Rewrite doc-string. Use window-list-1.
21497 (window-in-direction-2, window-in-direction, get-mru-window):
21498 New functions.
21499
21500 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21501
21502 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21503 Doc fix (Bug#8713).
21504
21505 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21506
21507 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21508
21509 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21510
21511 * loadhist.el (unload-feature-special-hooks):
21512 Add `comint-output-filter-functions'.
21513
21514 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21515
21516 * calendar/appt.el (appt-check): Move some initializations into the let.
21517
21518 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21519
21520 * window.el (window-height): Defalias to window-total-height.
21521 (window-width): Defalias to window-body-width.
21522
21523 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21524
21525 * image-mode.el (image-toggle-animation): New command.
21526 (image-mode-map): Bind it to RET.
21527 (image-mode): Update message.
21528 (image-toggle-display-image): Avoid a spurious cache flush.
21529 (image-transform-rotation): Doc fix.
21530 (image-transform-properties): Return quickly in the normal case.
21531 (image-animate-loop): Rename from image-animate-max-time.
21532
21533 * image.el (image-animate-max-time): Move to image-mode.el.
21534 (create-animated-image): Remove unnecessary function.
21535 (image-animate): Rename from image-animate-start. New arg.
21536 (image-animate-stop): Remove; just use image-animate-timer.
21537 (image-animate-timer): Use car-safe.
21538 (image-animate-timeout): Rename argument.
21539
21540 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21541
21542 * window.el (get-lru-window, get-largest-window): Move here from
21543 window.c. Rename first argument to ALL-FRAMES.
21544 Rephrase doc-strings.
21545 (get-buffer-window-list): Rewrite using window-list-1.
21546 Rephrase doc-string.
21547 (window-safe-min-height, window-safe-min-width): New constants.
21548 (window-size-ignore, window-min-size, window-min-size-1)
21549 (window-sizable, window-sizable-p, window-size-fixed-1)
21550 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21551 (window-max-delta-1, window-max-delta, window-resizable)
21552 (window-resizable-p, window-total-height, window-total-width)
21553 (window-body-width): New functions.
21554 (window-full-height-p, window-full-width-p): Rewrite using
21555 window-total-size.
21556 (window-body-height): Rewrite using window-body-size.
21557
21558 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21559
21560 * window.el (window-right, window-left, window-child)
21561 (window-child-count, window-last-child, window-any-p)
21562 (normalize-live-buffer, normalize-live-frame)
21563 (normalize-any-window, normalize-live-window)
21564 (window-iso-combination-p, window-iso-combined-p)
21565 (window-iso-combinations)
21566 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21567 (windows-with-parameter, window-with-parameter)
21568 (window-atom-root, make-window-atom, window-atom-check-1)
21569 (window-atom-check, window-side-check, window-check):
21570 New functions.
21571 (ignore-window-parameters, window-sides, window-sides-vertical)
21572 (window-sides-slots): New variables.
21573 (window-size-fixed): Move down in code. Minor doc-string fix.
21574
21575 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21576
21577 * comint.el (comint-dynamic-complete-as-filename)
21578 (comint-dynamic-complete-filename): Correctly call
21579 completion-in-region.
21580
21581 2011-06-05 Deniz Dogan <deniz@dogan.se>
21582
21583 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21584 in last change.
21585
21586 2011-06-05 Deniz Dogan <deniz@dogan.se>
21587
21588 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21589 (rcirc): Use it to prompt for encryption.
21590
21591 2011-06-05 Roland Winkler <winkler@gnu.org>
21592
21593 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21594 (bibtex-search-entries): New command bound to C-c C-a.
21595 (bibtex-display-entries): New function.
21596
21597 2011-06-05 Roland Winkler <winkler@gnu.org>
21598
21599 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21600 (bibtex-insert-kill): After yanking insert newline if necessary.
21601 (bibtex-initialize): Call bibtex-string-files-init only once.
21602 (bibtex-mode): Do not call easy-menu-add.
21603 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21604 (bibtex-yank): Set arg properly if nil.
21605
21606 2011-06-05 Roland Winkler <winkler@gnu.org>
21607
21608 * textmodes/bibtex.el (bibtex-search-entry-globally):
21609 New variable.
21610 (bibtex-search-entry): Use it.
21611
21612 2011-06-05 Roland Winkler <winkler@gnu.org>
21613
21614 * textmodes/bibtex.el (bibtex-entry-format): New option
21615 sort-fields.
21616 (bibtex-format-entry, bibtex-reformat): Honor this option.
21617 (bibtex-parse-entry): Return fields in proper order.
21618
21619 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21620
21621 * doc-view.el (doc-view-remove-if): Move computation of result out
21622 of `dolist' to silence misleading lexical-binding warning.
21623
21624 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21625
21626 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21627 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21628
21629 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21630
21631 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21632 "SunOS 5.10".
21633
21634 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21635
21636 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21637 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21638 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21639 (tramp-parse-putty):
21640 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21641 (tramp-completion-function-alist-ssh)
21642 (tramp-completion-function-alist-telnet)
21643 (tramp-completion-function-alist-su)
21644 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21645 cookie.
21646
21647 * net/tramp-ftp.el:
21648 * net/tramp-sh.el:
21649 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21650 load "tramp.el" `tramp-set-completion-function'.
21651
21652 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21653
21654 * shell.el: Require and use pcomplete.
21655 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21656 (shell-completion-vars): Set pcomplete-default-completion-function.
21657
21658 2011-06-04 Deniz Dogan <deniz@dogan.se>
21659
21660 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21661 `memq' (Bug#8799).
21662
21663 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21664
21665 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21666
21667 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21668
21669 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21670 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21671 * vc/log-view.el (log-view-beginning-of-defun):
21672 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21673 (smerge-refine-forward, smerge-refine-chopup-region):
21674 Silence warning for unused `dotimes' counter variables.
21675
21676 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21677
21678 * net/tramp.el (tramp-with-progress-reporter): Rename from
21679 with-progress-reporter. Use `declare'.
21680 * net/tramp-smb.el:
21681 * net/tramp-sh.el:
21682 * net/tramp-gvfs.el: Update all uses.
21683
21684 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21685
21686 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21687 buffer isn't killed before making it current.
21688
21689 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21690
21691 Silence various byte-compiler warnings.
21692 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21693 `access-type' and new obsolescence format.
21694 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21695 new format.
21696 (byte-compile-check-variable): New `access-type' argument.
21697 Only warn if the access-type is obsolete.
21698 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21699 (byte-compile-variable-set): Adjust callers.
21700 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21701 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21702 setting it as obsolete.
21703 * simple.el (minibuffer-completing-symbol):
21704 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21705 access as obsolete.
21706 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21707 obsolete yet.
21708 * international/quail.el (quail-mouse-choose-completion): Remove unused
21709 code referring to obsolete var.
21710 (quail-choose-completion-string): Remove.
21711 * server.el (server-clients-with, server-kill-buffer-query-function)
21712 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21713 * proced.el (proced-send-signal):
21714 * emacs-lisp/lisp.el (lisp-complete-symbol):
21715 Replace completion-annotate-function with completion-extra-properties.
21716
21717 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21718
21719 * simple.el (goto-line): Use read-number.
21720 (overriding-map-is-bound): Remove.
21721 (saved-overriding-map): Change default.
21722 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21723 Take the map as argument.
21724 (universal-argument, negative-argument, digit-argument): Use it.
21725 (restore-overriding-map): Adjust.
21726 (do-auto-fill): Use fill-forward-paragraph.
21727 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21728
21729 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21730 (minibuffer-inactive-mode): New major mode.
21731 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21732 the *Messages* buffer" hack.
21733 (mouse-popup-menubar): Don't burp if the event is a normal key.
21734
21735 Miscellaneous tweaks.
21736 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21737 lexical scoping as in subr.el's dolist and dotimes.
21738 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21739 Silence compiler warning.
21740 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21741 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21742 * international/ccl.el (ccl-compile): Trivial simplification.
21743 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21744 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21745 `printflag' argument.
21746 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21747 Purecopy the whole obsolescence data.
21748
21749 2011-06-01 Leo Liu <sdl.web@gmail.com>
21750
21751 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21752 improve doc-string as suggested by Marco Pessotto
21753 <melmothx@gmail.com>.
21754 (rcirc-print): Fix last change.
21755
21756 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21757
21758 * minibuffer.el (complete-with-action): Return nil for the metadata and
21759 boundaries of non-functional tables.
21760 (completion-table-dynamic): Return nil for the metadata.
21761 (completion-table-with-terminator): Add default case, using
21762 complete-with-action.
21763 (completion--metadata): New function.
21764 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21765 to try and avoid pathological performance problems.
21766 (completion--embedded-envvar-table): Return `category' metadata.
21767
21768 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21769
21770 * subr.el (process-alive-p): New tiny convenience function.
21771
21772 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21773
21774 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21775 content but also its previous major mode.
21776
21777 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21778
21779 * emacs-lisp/debug.el (debug): Restore the previous content of the
21780 *Backtrace* buffer when we exit with C-M-c.
21781
21782 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21783
21784 * minibuffer.el: Add metadata method to completion tables.
21785 (completion-category-overrides): New defcustom.
21786 (completion-metadata, completion--field-metadata)
21787 (completion-metadata-get, completion--styles)
21788 (completion--cycle-threshold): New functions.
21789 (completion-try-completion, completion-all-completions):
21790 Add `metadata' argument to choose completion-styles.
21791 (completion--do-completion): Use metadata to choose cycling.
21792 (completion-all-sorted-completions): Use metadata for sorting.
21793 Remove :completion-cycle-penalty which is not needed any more.
21794 (completion--try-word-completion): Add `metadata' argument.
21795 (minibuffer-completion-help): Check metadata for annotation function
21796 and sorting.
21797 (completion-file-name-table): Return `category' metadata.
21798 (minibuffer-completing-file-name): Make obsolete.
21799 * simple.el (minibuffer-completing-symbol): Make obsolete.
21800 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21801 completion-try-completion.
21802
21803 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21804
21805 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21806
21807 2011-05-30 Leo Liu <sdl.web@gmail.com>
21808
21809 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21810 (rcirc-print): Decode all incoming messages (bug#8744).
21811 (rcirc-decode-coding-system): Allow value nil for automatic coding
21812 system detection.
21813
21814 2011-06-01 Glenn Morris <rgm@gnu.org>
21815
21816 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21817
21818 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21819
21820 * image.el (image-animate-max-time): Allow nil and t values.
21821 Default to nil.
21822 (create-animated-image): Doc fix.
21823 (image-animate-start): Remove second arg; just use
21824 image-animate-max-time.
21825 (image-animate-timeout): Doc fix. Args changed.
21826
21827 * image-mode.el (image-toggle-display-image): Ensure that the
21828 image spec passed to the animate timer is the same object as in
21829 the buffer's display property (Bug#6981).
21830 (image-transform-properties): Doc fix.
21831
21832 * image.el (image-animate-max-time): Default to nil.
21833
21834 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21835
21836 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21837 entire buffer list (Bug#8184).
21838
21839 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21840
21841 * image.el (imagemagick-types-inhibit)
21842 (imagemagick-register-types): Doc fix.
21843
21844 2011-05-29 Deniz Dogan <deniz@dogan.se>
21845
21846 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21847 default.
21848
21849 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21850
21851 * select.el: Don't perform clipboard-manager saving in hooks;
21852 leave the hooks empty.
21853
21854 2011-05-28 Leo Liu <sdl.web@gmail.com>
21855
21856 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21857 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21858 (occur-edit-mode): New major mode (Bug#8463).
21859 (occur-after-change-function): New function.
21860 (occur-engine): Give Occur tags a read-only property.
21861
21862 2011-05-28 Kevin Ryde <user42@zip.com.au>
21863
21864 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21865
21866 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21867
21868 * bindings.el (help-echo): Make the initial non-indicator dash
21869 empty on graphical terminals (Bug#7295).
21870
21871 * files.el (auto-mode-alist): Move config rule after the
21872 in-stripping one (Bug#8547).
21873
21874 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21875
21876 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21877 setting (Bug#8740).
21878
21879 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21880
21881 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21882 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21883 (Bug#8539).
21884
21885 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21886
21887 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21888
21889 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21890
21891 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21892 (hs-hide-block-at-point, hs-find-block-beginning)
21893 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21894 (Bug#8279).
21895
21896 2011-05-28 Glenn Morris <rgm@gnu.org>
21897
21898 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21899
21900 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21901
21902 * help-fns.el (describe-function-1): If the function is a derived
21903 major mode, print the parent mode.
21904
21905 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21906 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21907
21908 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21909
21910 * minibuffer.el (completion--capf-wrapper): Check applicability before
21911 returning non-nil for non-exclusive completion data.
21912 * progmodes/etags.el (tags-completion-at-point-function):
21913 * info-look.el (info-lookup-completions-at-point): Mark as
21914 non-exclusive.
21915 (info-complete): Adjust accordingly.
21916
21917 * info-look.el: Convert to lexical-binding and completion-at-point.
21918 (info-lookup-completions-at-point): New function.
21919 (info-complete): Use it and completion-in-region.
21920
21921 2011-05-28 Drew Adams <drew.adams@oracle.com>
21922
21923 * isearch.el: Let M-e start with point at the first mismatched char.
21924 (isearch-fail-pos): New function.
21925 (isearch-edit-string): Use it.
21926
21927 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21928
21929 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21930
21931 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21932
21933 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21934 traversal functions for avl-trees.
21935 (avl-tree--stack): New struct.
21936 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21937 (avl-tree-enter): Add optional `updatefun' arg.
21938 (avl-tree--do-enter): Add optional `updatefun' arg.
21939 Change return value.
21940 (avl-tree-delete): Add optional `test' and `nilflag' args.
21941 (avl-tree--do-delete): Add `test' and `nilflag' args.
21942 Change return value.
21943 (avl-tree-member): Add optional `nilflag'
21944 (avl-tree-member-p): New function.
21945 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21946 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21947 (avl-tree-stack-empty-p): New functions.
21948
21949 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21950 avl-tree--del-balance1 and make it work both ways.
21951 (avl-tree--del-balance2): Remove.
21952 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21953 make it work both ways.
21954 (avl-tree--enter-balance2): Remove.
21955 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21956 New macros.
21957 (avl-tree--mapc, avl-tree-map): Add direction argument.
21958
21959 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21960
21961 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21962
21963 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21964
21965 * select.el: Support clipboard managers with built-in function
21966 x-clipboard-manager-save, via delete-frame-functions and
21967 kill-emacs-hook.
21968 (xselect-convert-to-targets): Add MULTIPLE target to list.
21969 (xselect-convert-to-save-targets): New function.
21970
21971 2011-05-27 Kenichi Handa <handa@m17n.org>
21972
21973 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21974 let-binding rfc2047-encode-encoded-words to nil.
21975
21976 2011-05-27 Glenn Morris <rgm@gnu.org>
21977
21978 * mail/emacsbug.el: Don't require url-util.
21979
21980 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21981
21982 * files.el (set-auto-mode):
21983 Also respect mode: entries at the end of the file. (Bug#8586)
21984
21985 2011-05-26 Glenn Morris <rgm@gnu.org>
21986
21987 * files.el (hack-local-variables-prop-line, hack-local-variables):
21988 Downcase mode names, as seems to be traditional.
21989 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21990
21991 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21992 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21993
21994 2011-05-25 Julien Danjou <julien@danjou.info>
21995
21996 * textmodes/rst.el (rst-define-level-faces): Do not define face
21997 symbol if it is already defined.
21998
21999 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22000
22001 * play/5x5.el (5x5-new-game, 5x5-randomize):
22002 Reset 5x5-solver-output to nil when a new grid is cast.
22003 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22004 these debugging traces, as defmacro breaks the compiled code.
22005
22006 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22007
22008 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22009
22010 2011-05-24 Leo Liu <sdl.web@gmail.com>
22011
22012 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22013 (vc-bzr-sha1): Adapt.
22014
22015 * sha1.el: Remove. Function `sha1' is now builtin.
22016
22017 * bindings.el: Provide sha1 feature.
22018
22019 2011-05-24 Kenichi Handa <handa@m17n.org>
22020
22021 * mail/sendmail.el: Require `rfc2047'.
22022 (mail-insert-from-field): Do not perform RFC2047 encoding.
22023 (mail-encode-header): New function.
22024 (sendmail-send-it): Set buffer-file-coding-system of the work
22025 buffer to the return value of select-message-coding-system.
22026 Call mail-encode-header.
22027
22028 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22029
22030 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22031
22032 * mail/supercite.el (sc-default-cite-frame):
22033 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22034
22035 2011-05-24 Glenn Morris <rgm@gnu.org>
22036
22037 * progmodes/python.el (brm-menu): Declare.
22038
22039 * emulation/viper.el (viper-set-hooks): Declare.
22040
22041 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22042 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22043 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22044 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22045 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22046 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22047
22048 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22049
22050 Add an :exit-function for completion-at-point.
22051
22052 * minibuffer.el (completion--done): New fun.
22053 (completion--do-completion): Use it. New arg `expect-exact'.
22054 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22055 since completion--do-completion does it for us now.
22056 (minibuffer-force-complete): Use completion--done and
22057 completion--replace. Handle sole-completion case with more care.
22058 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22059 (completion-extra-properties): New var.
22060 (completion-annotate-function): Make obsolete.
22061 (minibuffer-completion-help): Adjust accordingly.
22062 Use completion-list-insert-choice-function.
22063 (completion-at-point, completion-help-at-point):
22064 Bind completion-extra-properties.
22065 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22066 * simple.el (completion-list-insert-choice-function): New var.
22067 (completion-setup-function): Preserve it.
22068 (choose-completion): Pay attention to it, shuffle the code a bit.
22069 (choose-completion-string): New arg `insert-function'.
22070
22071 * textmodes/bibtex.el: Convert to lexical binding.
22072 (bibtex-mode-map): Use completion-at-point.
22073 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22074 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22075 (bibtex-complete): Define as obsolete alias.
22076 (bibtex-complete-internal): Remove.
22077 (bibtex-format-entry): Remove unused sub-group in regexp.
22078 * shell.el (shell--command-completion-data)
22079 (shell-environment-variable-completion):
22080 * pcomplete.el (pcomplete-completions-at-point):
22081 * comint.el (comint--complete-file-name-data): Use :exit-function
22082 instead of completion-table-with-terminator so it also works for
22083 choose-completion.
22084
22085 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22086
22087 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22088
22089 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22090 (bug#8710).
22091
22092 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22093
22094 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22095
22096 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22097 customization variable and implement: If non-nil, auto-fill will
22098 be inhibited while on topic's header line.
22099
22100 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22101
22102 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22103 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22104 always have a solution in grid size = 5 cases.
22105 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22106 (5x5-solver-output, 5x5-log-buffer): New vars.
22107 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22108 Make these variables buffer local to achieve 5x5 multi-session-ness.
22109 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22110 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22111 (5x5-solve-suggest): New funs.
22112 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22113 randomize a grid so that we ensure that there is always a solution.
22114 (5x5-make-random-grid): Allow other movement than flipping.
22115
22116 2011-05-23 Kevin Ryde <user42@zip.com.au>
22117
22118 * emacs-lisp/advice.el (ad-read-advised-function):
22119 Use `function-called-at-point' as the default, if it has
22120 advice and passes PREDICATE.
22121
22122 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22123
22124 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22125 byte-compile-lambda if it's actually a lambda.
22126
22127 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22128 Fix function quoting. Use backquote better.
22129
22130 2011-05-22 Yuanle Song <sylecn@gmail.com>
22131
22132 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22133 matching (Bug#8516).
22134
22135 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22136
22137 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22138 different face (Bug#8178).
22139
22140 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22141
22142 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22143 defface (Bug#8144).
22144
22145 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22146
22147 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22148 funcall as well (bug#8712). Warn when performing those conversions.
22149 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22150
22151 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22152
22153 2011-05-22 Glenn Morris <rgm@gnu.org>
22154
22155 * files.el (hack-local-variables-prop-line): Small simplifications.
22156 (hack-local-variables, hack-local-variables-prop-line):
22157 If MODE-ONLY, return the mode, rather than just `t'.
22158
22159 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22160
22161 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22162
22163 2011-05-21 Glenn Morris <rgm@gnu.org>
22164
22165 * files.el (hack-local-variables-prop-line, hack-local-variables):
22166 If only interested in the mode, don't bother doing the other stuff.
22167
22168 * image-mode.el (image-after-revert-hook):
22169 Redraw all frames on which the image is visible. (Bug#8567)
22170
22171 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22172
22173 * wid-edit.el (widget-checklist-match-inline):
22174 Fix 2011-04-19 change. (Bug#8649)
22175
22176 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22177
22178 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22179 Also allow singlespace after single-letter capitals followed by a dot.
22180
22181 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22182 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22183
22184 2011-05-20 Nix <nix@esperi.org.uk>
22185
22186 * files.el (basic-save-buffer-2):
22187 Fix handling of break-hardlink-on-save with non-existent files.
22188
22189 2011-05-19 Deniz Dogan <deniz@dogan.se>
22190
22191 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22192 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22193
22194 2011-05-19 Glenn Morris <rgm@gnu.org>
22195
22196 * progmodes/f90.el (f90-type-def-re):
22197 Handle "type, bind(c)". (Bug#8691)
22198
22199 * emacs-lisp/autoload.el (batch-update-autoloads):
22200 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22201
22202 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22203
22204 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22205 property for the correct connection in case of multihops.
22206
22207 2011-05-18 Glenn Morris <rgm@gnu.org>
22208
22209 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22210 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22211
22212 Rationalize calendar handling of day and month abbrev-arrays.
22213 * calendar/calendar.el (calendar-customized-p): New function.
22214 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22215 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22216 Add :set function.
22217 (calendar-abbrev-length, calendar-day-abbrev-array)
22218 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22219 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22220 Elements may no longer be nil.
22221 (calendar-day-name, calendar-month-name):
22222 Update for changed nature of abbrev arrays.
22223 * calendar/diary-lib.el (diary-name-pattern):
22224 Update for changed nature of abbrev arrays.
22225 (diary-mark-entries-1): Update calendar-make-alist calls.
22226 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22227 * calendar/cal-html.el (cal-html-day-abbrev-array):
22228 Simply inherit from calendar-day-abbrev-array.
22229
22230 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22231
22232 * progmodes/grep.el (grep-mode): Disable default
22233 compilation-directory-matcher setting (bug#8684).
22234
22235 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22236
22237 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22238 instead of "head" and "tail". There were problems with SunOS 5.9,
22239 and it performs better.
22240
22241 2011-05-17 Glenn Morris <rgm@gnu.org>
22242
22243 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22244
22245 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22246 Replace obsolete function.
22247
22248 * shell.el (pcomplete-parse-arguments-function): Declare.
22249
22250 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22251 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22252 (appt-check): Doc fixes.
22253 (appt-disp-window-function, appt-delete-window-function):
22254 Remove needless special case in custom :type.
22255 (appt-display-count): Default to 0, not nil.
22256 (appt-check): Reset appt-display-count to 0, not nil.
22257
22258 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22259
22260 * progmodes/python.el (python-font-lock-keywords):
22261 Add the Python 3.X keyword "nonlocal" (bug#8639).
22262
22263 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22264
22265 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22266
22267 2011-05-16 Kevin Ryde <user42@zip.com.au>
22268
22269 * info-look.el (makefile-automake-mode): New setups, looking in
22270 automake manual, then makefile-mode.
22271 (makefile-mode): Remove automake manual, have it just in
22272 makefile-automake-mode since there's various things different or
22273 not relevant to plain make.
22274 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22275 believe a hypothetical automake-mode would go to makefile-mode,
22276 not the other way around.
22277
22278 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22279
22280 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22281 hunk-end tags (Bug#8672).
22282
22283 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22284 vc-annotate-show-diff-revision-at-line (Bug#8671).
22285
22286 2011-05-14 Glenn Morris <rgm@gnu.org>
22287
22288 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22289 in the middle of an existing one with multiple authors. (Bug#8645)
22290 (change-log-font-lock-keywords): Also handle multiple author lines
22291 with leading tabs. (Bug#8644)
22292
22293 * calendar/appt.el (appt-check): Rename some local variables.
22294 Some simplification/reordering.
22295
22296 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22297 (feedmail-sendmail-f-doesnt-sell-me-out)
22298 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22299 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22300 (feedmail-queue-runner-message-sender): Set :version.
22301 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22302 (bbdb-dwim-net-address, vm-mail): Declare.
22303 (feedmail-binmail-gnulinuxish-template):
22304 Rename from feedmail-binmail-linuxish-template.
22305 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22306 Use insert-buffer-substring.
22307
22308 2011-05-14 Bill Carpenter <bill@carpenter.org>
22309
22310 * mail/feedmail.el (feedmail-patch-level): Increase.
22311 (feedmail-debug): New custom group.
22312 (feedmail-confirm-outgoing-timeout)
22313 (feedmail-sendmail-f-doesnt-sell-me-out)
22314 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22315 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22316 (feedmail-sender-line, feedmail-from-line)
22317 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22318 (feedmail-spray-this-address)
22319 (feedmail-spray-address-fiddle-plex-list)
22320 (feedmail-queue-use-send-time-for-date)
22321 (feedmail-queue-use-send-time-for-message-id)
22322 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22323 (feedmail-buffer-eating-function):
22324 Doc fixes.
22325 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22326 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22327 (feedmail-message-action-scroll-down): New functions.
22328 (feedmail-queue-directory, feedmail-queue-draft-directory):
22329 Use expand-file-name.
22330 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22331 Remove C-v help entry.
22332 (feedmail-queue-buffer-file-name): New variable.
22333 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22334 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22335 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22336 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22337 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22338 (feedmail-message-action-toggle-spray)
22339 (feedmail-run-the-queue-no-prompts)
22340 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22341 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22342 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22343 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22344 (feedmail-envelope-deducer, feedmail-fiddle-from)
22345 (feedmail-fiddle-sender, feedmail-default-date-generator)
22346 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22347 (feedmail-fiddle-spray-address)
22348 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22349 (feedmail-fiddle-list-of-fiddle-plexes)
22350 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22351 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22352 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22353 Change default. Doc fix.
22354 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22355 (feedmail-binmail-linuxish-template): New constant.
22356 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22357 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22358 (feedmail-send-it): Add debug call.
22359 Use feedmail-queue-buffer-file-name, and
22360 feedmail-send-it-immediately-wrapper.
22361 (feedmail-message-action-send): Add debug call.
22362 Use feedmail-send-it-immediately-wrapper.
22363 (feedmail-queue-express-to-queue): Add debug call.
22364 Run feedmail-queue-express-hook.
22365 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22366 (feedmail-message-action-help-blat):
22367 Rename from feedmail-queue-send-edit-prompt-help-first.
22368 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22369 Check line-endings. Handle errors better.
22370 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22371 Doc fix. Add debug call.
22372 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22373 Use feedmail-queue-send-edit-prompt-inner.
22374 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22375 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22376 from feedmail-queue-send-edit-prompt.
22377 (feedmail-queue-send-edit-prompt-help)
22378 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22379 (feedmail-tidy-up-slug): Add debug call.
22380 Respect feedmail-queue-slug-suspect-regexp.
22381 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22382 (feedmail-dump-message-to-queue): Add debug call.
22383 Expand queue-directory.
22384 (feedmail-dump-message-to-queue): Change message slightly.
22385 Use feedmail-say-chatter.
22386 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22387 (feedmail-send-it-immediately-wrapper): New function.
22388 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22389 Insert empty string rather than newline. Handle full-frame case.
22390 Use catch/throw. Use feedmail-say-chatter.
22391 (feedmail-fiddle-from): Try mail-host-address.
22392 (feedmail-default-message-id-generator): Doc fix.
22393 Bind system-time-locale. Handle missing end.
22394 (feedmail-fiddle-x-mailer): Add debug call.
22395 Handle feedmail-x-mailer-line being nil.
22396 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22397 Add debug call. Use buffer-substring-no-properties.
22398 (feedmail-say-debug, feedmail-say-chatter): New functions.
22399 (feedmail-find-eoh): Give an explicit error.
22400
22401 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22402
22403 * net/newst-treeview.el (newsticker-treeview-face): Change default
22404 family from helvetica to sans.
22405 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22406 etc/images/newsticker.
22407
22408 * net/newst-reader.el (newsticker-feed-face): Change default
22409 family from helvetica to sans.
22410
22411 * net/newst-plainview.el (newsticker-new-item-face)
22412 (newsticker-old-item-face, newsticker-immortal-item-face)
22413 (newsticker-obsolete-item-face, newsticker-date-face)
22414 (newsticker-statistics-face): Change default family from
22415 helvetica to sans.
22416 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22417 etc/images/newsticker.
22418
22419 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22420 (newsticker--process-auto-mark-filter-match): Tell user about
22421 auto-marking.
22422
22423 2011-05-13 Didier Verna <didier@xemacs.org>
22424
22425 Common Lisp indentation improvements on defmethod and lambda-lists.
22426 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22427 TODO entries.
22428 (lisp-lambda-list-keyword-parameter-indentation)
22429 (lisp-lambda-list-keyword-parameter-alignment)
22430 (lisp-lambda-list-keyword-alignment): New customizable user options.
22431 (lisp-indent-defun-method): Improve docstring.
22432 (extended-loop-p): Fix comment.
22433 (lisp-indent-lambda-list-keywords-regexp): New variable.
22434 (lisp-indent-lambda-list): New function.
22435 (lisp-indent-259): Use it.
22436 (lisp-indent-defmethod): Support for more than one
22437 method qualifier and properly indent methods lambda-lists.
22438 (defgeneric): Provide a missing common-lisp-indent-function property.
22439
22440 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22441
22442 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22443 bounds for the empty string (bug#8667).
22444
22445 2011-05-13 Glenn Morris <rgm@gnu.org>
22446
22447 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22448
22449 * mail/sendmail.el (sendmail-program): Try executable-find first.
22450 (sendmail-send-it): `sendmail-program' cannot be unbound.
22451
22452 * calendar/appt.el (appt-make-list): Simplify.
22453 (appt-time-msg-list): Doc fix.
22454 (appt-check): Change mode-line message at the time of the appointment.
22455
22456 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22457
22458 * progmodes/ld-script.el (ld-script-keywords)
22459 (ld-script-builtins): Update keywords list.
22460
22461 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22462
22463 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22464
22465 * shell.el (shell-completion-vars): New function.
22466 (shell-mode):
22467 * simple.el (read-shell-command): Use it.
22468 (blink-matching-open): No need for " [...]" in minibuffer-message.
22469
22470 2011-05-12 Glenn Morris <rgm@gnu.org>
22471
22472 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22473 (appt-check): Simplify.
22474
22475 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22476
22477 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22478 literal "/dev/null".
22479
22480 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22481
22482 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22483 Fix typo.
22484
22485 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22486
22487 * progmodes/which-func.el (which-function):
22488 Use add-log-current-defun instead of add-log-current-defun-function,
22489 which might not be defined (Bug#8260).
22490
22491 2011-05-12 Glenn Morris <rgm@gnu.org>
22492
22493 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22494 Let byte-compile-initial-macro-environment always take precedence.
22495
22496 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22497
22498 * net/rcirc.el: Add support for SSL/TLS connections.
22499 (rcirc-server-alist): New field `encryption'.
22500 (rcirc): Check `encryption' settings.
22501 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22502 Merge make-local-variable into `set'.
22503 (rcirc--connection-open-p): New function.
22504 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22505 the process is not a network process (e.g. running gnutls-cli).
22506 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22507 Make rcirc-(en|de)code-coding-system local here.
22508 (rcirc-mode): Merge make-local-variable into `set'.
22509 (rcirc-parent-buffer): Make permanent buffer-local.
22510 (rcirc-multiline-minor-mode): Don't do it here.
22511 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22512 there's no server buffer.
22513
22514 2011-05-11 Glenn Morris <rgm@gnu.org>
22515
22516 * newcomment.el (comment-kill): Prefix "unused" local.
22517
22518 * term/w32console.el (get-screen-color): Declare.
22519
22520 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22521 Handle symbol elements of byte-compile-initial-macro-environment.
22522
22523 2011-05-10 Leo Liu <sdl.web@gmail.com>
22524
22525 * bookmark.el (bookmark-bmenu-mode-map):
22526 Bind bookmark-bmenu-search to `/'.
22527
22528 * mail/footnote.el: Convert to utf-8 encoding.
22529 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22530 (Footnote-unicode): New function.
22531 (footnote-style-alist): Add unicode style to the list.
22532 (footnote-style): Doc fix.
22533
22534 2011-05-10 Jim Meyering <meyering@redhat.com>
22535
22536 Fix doubled-word typos.
22537 * international/quail.el (quail-insert-kbd-layout): and and -> and
22538 * kermit.el: and and -> and
22539 * net/ldap.el (ldap-search-internal): to to -> to
22540 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22541 * progmodes/js.el (js-mode): and and -> and
22542 * textmodes/artist.el (artist-move-to-xy): at at -> at
22543 (artist-draw-region-trim-line-endings): if if -> if
22544 And Safetyc -> Safety.
22545 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22546
22547 2011-05-10 Glenn Morris <rgm@gnu.org>
22548 Stefan Monnier <monnier@iro.umontreal.ca>
22549
22550 * files.el (hack-one-local-variable-eval-safep):
22551 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22552
22553 2011-05-10 Glenn Morris <rgm@gnu.org>
22554
22555 * calendar/diary-lib.el (diary-list-entries-hook)
22556 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22557 (diary-nongregorian-marking-hook, diary-list-entries)
22558 (diary-include-other-diary-files, diary-mark-entries)
22559 (diary-mark-included-diary-files): Doc fixes.
22560
22561 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22562
22563 * misc.el: Require tabulated-list.el during compilation.
22564
22565 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22566
22567 * progmodes/compile.el (compilation-start):
22568 Run compilation-filter-hook for the async case too.
22569 (compilation-filter-hook): Doc fix.
22570
22571 2011-05-09 Deniz Dogan <deniz@dogan.se>
22572
22573 * wdired.el: Remove outdated installation comment. Fix usage
22574 comment.
22575
22576 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22577
22578 * misc.el: Implement new command `list-dynamic-libraries'.
22579 (list-dynamic-libraries--loaded-only-p): New variable.
22580 (list-dynamic-libraries--refresh): New function.
22581 (list-dynamic-libraries): New command.
22582
22583 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22584
22585 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22586 Fix the ant regexp to handle end-line and end-column info from jikes.
22587 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22588 higher priority to avoid clobbering by gnu.
22589
22590 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22591
22592 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22593 if the face has existing theme settings (Bug#8454).
22594
22595 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22596
22597 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22598 Only match variables declared via `my' or `our' (Bug#8261).
22599
22600 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22601 special file names `.' and `..' (Bug#8259).
22602
22603 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22604
22605 * progmodes/grep.el (grep-mode-font-lock-keywords):
22606 Remove buffer-changing entries.
22607 (grep-filter): New function.
22608 (grep-mode): Add it to compilation-filter-hook.
22609
22610 * progmodes/compile.el (compilation-filter-hook)
22611 (compilation-filter-start): New defvars.
22612 (compilation-filter): Call compilation-filter-hook prior to
22613 updating the process mark.
22614
22615 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22616
22617 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22618
22619 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22620
22621 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22622 mailclient-send-it even if window-system is nil. (Bug#8595)
22623
22624 * term/w32console.el (terminal-init-w32console):
22625 Call get-screen-color and use its output to set the frame
22626 background-mode. (Bug#8597)
22627
22628 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22629
22630 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22631 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22632 New functions.
22633 (defgeneric, eieio--defmethod): Use them.
22634 (eieio-defgeneric): Remove.
22635 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22636
22637 2011-05-07 Glenn Morris <rgm@gnu.org>
22638
22639 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22640 Use let rather than let*.
22641 (timeclock-find-discrep): Remove unused local.
22642
22643 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22644
22645 * calendar/appt.el (appt-time-msg-list): Doc fix.
22646
22647 2011-05-06 Noah Friedman <friedman@splode.com>
22648
22649 * apropos.el (apropos-print-doc): Only use
22650 emacs-lisp-docstring-fill-column when it is bound to an integer,
22651 per that variable's documentation.
22652
22653 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22654
22655 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22656 and warnings are not silently discarded (e.g. use -d instead of -P).
22657
22658 2011-05-06 Glenn Morris <rgm@gnu.org>
22659
22660 * calendar/appt.el (appt-message-warning-time): Doc fix.
22661 (appt-warning-time-regexp): New option.
22662 (appt-make-list): Respect appt-message-warning-time.
22663
22664 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22665 New options.
22666 (diary-add-to-list): Strip comments from the displayed string.
22667 (diary-mode): Set comment-start and comment-end.
22668
22669 * vc/diff-mode.el (smerge-refine-subst): Declare.
22670 (diff-refine-hunk): Don't require smerge-mode when compiling.
22671
22672 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22673
22674 * simple.el (list-processes): Return nil as the docstring says.
22675
22676 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22677
22678 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22679 to "".
22680 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22681 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22682 determining of binary transfer. (Bug#7383)
22683
22684 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22685
22686 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22687 Fix port computation bug. (Bug#8618)
22688
22689 2011-05-05 Glenn Morris <rgm@gnu.org>
22690
22691 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22692
22693 * simple.el (shell-dynamic-complete-functions)
22694 (comint-dynamic-complete-functions): Declare.
22695
22696 * net/network-stream.el (gnutls-negotiate):
22697 * simple.el (tabulated-list-print): Fix declarations.
22698
22699 * progmodes/gud.el (syntax-symbol, syntax-point):
22700 Remove unnecessary and incorrect declarations.
22701
22702 * emacs-lisp/check-declare.el (check-declare-scan):
22703 Handle byte-compile-initial-macro-environment in bytecomp.el.
22704
22705 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22706
22707 Fix earlier half-done eieio-defmethod change (bug#8338).
22708 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22709 Streamline and change calling convention.
22710 (defmethod): Adjust accordingly and simplify.
22711 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22712 new eieio--defmethod.
22713 (slot-boundp): Minor CSE simplification.
22714
22715 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22716
22717 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22718 (glasses-make-readable): Use glasses-separate-capital-groups.
22719
22720 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22721
22722 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22723 (warning-series): Doc fix.
22724 (display-warning): Don't try to create the buffer if we just found it.
22725
22726 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22727
22728 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22729 (autoload-find-generated-file): New function.
22730 (generate-file-autoloads): Bind generated-autoload-file to
22731 buffer-file-name.
22732 (update-file-autoloads, update-directory-autoloads):
22733 Use autoload-find-generated-file. If called interactively, prompt for
22734 output file (Bug#7989).
22735 (batch-update-autoloads): Doc fix.
22736
22737 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22738
22739 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22740
22741 2011-05-04 Glenn Morris <rgm@gnu.org>
22742
22743 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22744 function, so it follows changes in calendar-date-style.
22745 (diary-fancy-date-matcher): New function.
22746 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22747 (diary-fancy-font-lock-fontify-region-function):
22748 Use diary-fancy-date-pattern as a function.
22749
22750 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22751 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22752
22753 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22754
22755 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22756 instead of positional arguments. Allow :keylist and :crlfiles
22757 arguments.
22758 (open-gnutls-stream): Call it.
22759
22760 * net/network-stream.el (network-stream-open-starttls): Adjust to
22761 call `gnutls-negotiate' with :process and :hostname arguments.
22762
22763 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22764
22765 * minibuffer.el (completion--message): New function.
22766 (completion--do-completion, minibuffer-complete)
22767 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22768 (completion--do-completion): Don't ignore completion-auto-help when in
22769 icomplete-mode.
22770
22771 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22772 internal encoding (e.g. tibetan zero is not whitespace).
22773 (global-whitespace-mode): Prefer save-current-buffer.
22774 (whitespace-trailing-regexp): Remove useless save-match-data.
22775 (whitespace-empty-at-bob-regexp): Minor simplification.
22776
22777 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22778
22779 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22780
22781 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22782
22783 * textmodes/ispell.el (ispell-add-per-file-word-list):
22784 Use `concat' to create string for insertion.
22785
22786 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22787
22788 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22789 Avoid open-line which runs post-self-insert-hook.
22790 (bibtex-fill-entry): Remove unused `end' var.
22791
22792 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22793
22794 * textmodes/ispell.el (ispell-add-per-file-word-list):
22795 Protect against `nil' value of `comment-start' (Bug#8579).
22796
22797 2011-05-03 Leo Liu <sdl.web@gmail.com>
22798
22799 * isearch.el (isearch-yank-pop): New command.
22800 (isearch-mode-map): Bind it to `M-y'.
22801 (isearch-forward): Mention it.
22802
22803 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22804
22805 * simple.el (minibuffer-complete-shell-command): Remove.
22806 (minibuffer-local-shell-command-map): Use completion-at-point.
22807 (read-shell-command): Setup completion vars here instead.
22808 (read-expression-map): Bind TAB to symbol completion.
22809
22810 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22811 error directly rather via storing it into `results'.
22812
22813 2011-05-02 Leo Liu <sdl.web@gmail.com>
22814
22815 * vc/diff.el: Fix description.
22816
22817 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22818
22819 * server.el (server-eval-at): New function.
22820
22821 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22822
22823 * net/network-stream.el (open-network-stream): Take a :nowait
22824 parameter and pass it on to `make-network-process'.
22825 (network-stream-open-plain): Ditto.
22826
22827 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22828
22829 * faces.el (face-spec-set-match-display): Don't match toolkit
22830 options on terminal frames.
22831
22832 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22833
22834 * progmodes/pascal.el: Use lexical binding.
22835 (pascal-mode-map): Remove author preferences.
22836
22837 * pcomplete.el (pcomplete-std-complete): Don't abuse
22838 completion-at-point.
22839
22840 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22841
22842 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22843 removing code that has been dead since 1991 or so.
22844
22845 * startup.el (command-line): When warning about "_emacs", use a
22846 delayed warning to allow the user to filter it out.
22847
22848 2011-04-28 Deniz Dogan <deniz@dogan.se>
22849
22850 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22851 user has not joined.
22852
22853 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22854
22855 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22856 aren't any completions at point.
22857
22858 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22859
22860 * subr.el (display-delayed-warnings): New function.
22861 (delayed-warnings-hook): New variable.
22862
22863 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22864
22865 * minibuffer.el (completion-at-point, completion-help-at-point):
22866 Don't presume that a given completion-at-point-function will always
22867 use the same calling convention.
22868
22869 * pcomplete.el (pcomplete-completions-at-point):
22870 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22871 pcomplete-seen is non-nil.
22872 (pcomplete-comint-setup): Also recognize the new comint/shell
22873 completion functions.
22874 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22875 pcomplete-seen is non-nil.
22876
22877 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22878
22879 * calendar/icalendar.el (diary-lib): Add require statement.
22880 (icalendar--create-uid): Read out a uid from a text-property on
22881 the first character in the entry. This allows for code to add its
22882 own uid to the entry.
22883 (icalendar--convert-float-to-ical): Add export of
22884 `diary-float'-entries save for those with the optional DAY
22885 argument.
22886
22887 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22888
22889 * subr.el (shell-quote-argument): Use alternate escaping strategy
22890 when we spot a variable reference in a string.
22891
22892 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22893
22894 * cus-start.el (all): Define customization for debug-on-event.
22895
22896 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22897
22898 * subr.el (shell-quote-argument): Escape correctly under Windows.
22899
22900 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22901
22902 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22903
22904 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22905
22906 * net/tramp.el (tramp-process-actions): Add POS argument.
22907 Delete region between POS and (pos).
22908
22909 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22910 Use `nil' position in `tramp-process-actions' call.
22911 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22912
22913 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22914 position in `tramp-process-actions' call.
22915
22916 * net/trampver.el: Update release number.
22917
22918 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22919
22920 * custom.el (defcustom): Obey lexical-binding.
22921
22922 Fix octave-inf completion problems reported by Alexander Klimov.
22923 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22924 Inherit from octave-mode-syntax-table.
22925 (inferior-octave-mode): Set info-lookup-mode.
22926 (inferior-octave-completion-at-point): New function.
22927 (inferior-octave-complete): Use it and completion-in-region.
22928 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22929 comint-filename-completion.
22930 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22931 symbol elements which shouldn't be word elements.
22932 (octave-font-lock-keywords, octave-beginning-of-defun)
22933 (octave-function-header-regexp): Adjust regexps accordingly.
22934 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22935
22936 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22937
22938 * net/gnutls.el (gnutls-errorp): Declare before first use.
22939
22940 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22941
22942 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22943 verify-error, and verify-hostname-error parameters. Check whether
22944 default trustfile exists before going to use it. Add missing
22945 argument to gnutls-message-maybe call. Return value.
22946 Reported by Claudio Bley <claudio.bley@gmail.com>.
22947 (open-gnutls-stream): Add usage example.
22948
22949 * net/network-stream.el (network-stream-open-starttls): Give host
22950 parameter to `gnutls-negotiate'.
22951 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22952 * subr.el (shell-quote-argument): Escape correctly under Windows.
22953
22954 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22955
22956 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22957 Use correct match group (bug#8438).
22958
22959 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22960
22961 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22962 (package-menu--generate): New arg specifying packages to show.
22963 (package-menu-refresh, package-menu-execute, list-packages):
22964 Callers changed.
22965 (package-show-package-list): New function, replacing deleted
22966 package--list-packages (renamed because it is non-internal).
22967
22968 * finder.el (finder-list-matches): Use package-show-package-list
22969 instead of deleted package--list-packages.
22970
22971 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22972 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22973 (vc-annotate-mode-map): Bind it to RET.
22974
22975 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22976
22977 * progmodes/etags.el (next-file): Don't use set-buffer to change
22978 buffers (Bug#8478).
22979
22980 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22981
22982 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22983
22984 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22985 (apropos-accumulator): Doc fix.
22986 (apropos-function, apropos-macro, apropos-command)
22987 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22988 (apropos-plist): Add face property.
22989 (apropos-symbols-internal): Fix indentation.
22990 (apropos-print): Simplify help, and recognize apropos-multi-type.
22991 (apropos-print-doc): Use button-type-get to extract the button's
22992 face property. Fill docstring (Bug#8352).
22993
22994 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22995
22996 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22997
22998 * play/mpuz.el (mpuz-silent): Doc fix.
22999 (mpuz-mode-map): Use mapc.
23000 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23001 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23002 Fix typos in docstrings.
23003
23004 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23005 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23006
23007 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23008
23009 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23010
23011 * minibuffer.el (completion--do-completion): Avoid the "Next char
23012 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23013
23014 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23015 mouse-2 into unread-command-events, it is interpreted correctly.
23016
23017 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23018 (image-toggle-display): Doc fix.
23019
23020 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23021
23022 * textmodes/page.el (what-page): Use line-number-at-pos to
23023 calculate line number (Bug#6825).
23024
23025 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23026
23027 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23028 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23029 Pass argument NO-DEFAULT to `find-tag-interactive'.
23030
23031 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23032
23033 Lexical-binding cleanup.
23034
23035 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23036 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23037 * progmodes/ada-prj.el (ada-prj-initialize-values)
23038 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23039 (ada-prj-show-value):
23040 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23041 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23042 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23043 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23044 * progmodes/bug-reference.el (bug-reference-push-button):
23045 * progmodes/fortran.el (fortran-line-length):
23046 * progmodes/glasses.el (glasses-change):
23047 * progmodes/octave-mod.el (octave-fill-paragraph):
23048 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23049 (python-pdbtrack-grub-for-buffer, python-sentinel):
23050 * progmodes/sql.el (sql-save-connection):
23051 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23052 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23053 Mark unused parameters.
23054
23055 * progmodes/compile.el (compilation--flush-directory-cache)
23056 (compilation--flush-parse, compile-internal): Mark unused parameters.
23057 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23058 (compilation-next-error-function): Remove unused variable `timestamp'.
23059
23060 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23061 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23062
23063 * progmodes/dcl-mode.el (dcl-end-of-command):
23064 Remove unused variable `start'.
23065 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23066 (dcl-option-value-basic, dcl-option-value-offset)
23067 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23068 Mark unused parameters.
23069 (dcl-save-local-variable): Remove unused variable `val'.
23070 (mode): Declare.
23071
23072 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23073 Mark unused parameters.
23074 (delphi-ignore-changes): Move before first use.
23075 (delphi-charset-token-at): Remove unused variable `start'.
23076 (delphi-else-start): Remove unused variable `if-count'.
23077 (delphi-comment-block-start, delphi-comment-block-end):
23078 Remove unused variable `kind'.
23079 (delphi-indent-line): Remove unused variable `new-point'.
23080
23081 * progmodes/ebrowse.el (ebrowse-files-list)
23082 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23083 Mark unused parameters. Don't quote `lambda'.
23084 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23085 Don't quote `lambda'.
23086 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23087 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23088 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23089 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23090 Use `ignore-errors'.
23091 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23092 (ebrowse-view/find-file-and-search-pattern)
23093 (ebrowse-view/find-member-declaration/definition):
23094 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23095 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23096 Rename parameter PREFIX-ARG to PREFIX.
23097 (ebrowse-tags-read-name): Remove unused variables `start' and
23098 `member-info'.
23099 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23100 to `tags-file'.
23101
23102 * progmodes/etags.el (local-find-tag-hook): Declare.
23103 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23104 Mark unused parameters.
23105
23106 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23107 (executable-interpret): Mark unused parameter.
23108
23109 * progmodes/flymake.el (flymake-process-sentinel)
23110 (flymake-after-change-function)
23111 (flymake-create-temp-with-folder-structure)
23112 (flymake-get-include-dirs-dot): Mark unused parameters.
23113 (flymake-safe-delete-directory): Remove unused variable `err'.
23114
23115 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23116 (speedbar-timer-fn, speedbar-line-text)
23117 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23118 (speedbar-center-buffer-smartly): Declare functions.
23119 (gdb-find-watch-expression): Remove unused variable `array'.
23120 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23121 (gdb-starting): Mark unused parameters.
23122 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23123 (gdb-table-string): Remove unused variable `res'.
23124 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23125 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23126 (gdb-display-buffer): Remove unused variable `cur-size'.
23127
23128 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23129 allow lexical-binding compilation.
23130 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23131 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23132 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23133 Mark unused parameters.
23134 (gud-gdb-marker-filter): Remove unused variable `match'.
23135 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23136 lambda expressions and funcall them, instead of using `fset'.
23137
23138 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23139 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23140
23141 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23142 variable `header-beg'; use `let'.
23143
23144 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23145 `restart', `last-sexp' and `at-do'.
23146
23147 * progmodes/js.el (js--debug): Mark unused parameter.
23148 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23149 (js--splice-into-items): Remove unused variable `item'.
23150 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23151
23152 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23153 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23154 (makefile-complete): Remove unused variable `try'.
23155 (makefile-fill-paragraph, makefile-match-function-end):
23156 Mark unused parameters.
23157
23158 * progmodes/octave-inf.el (inferior-octave-complete):
23159 Remove unused variable `proc'.
23160 (inferior-octave-output-digest): Mark unused parameter.
23161
23162 * progmodes/perl-mode.el (perl-calculate-indent):
23163 Remove unused variable `err'.
23164
23165 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23166 (prolog-indent-line): Mark unused parameters.
23167 (prolog-indent-line): Remove unused variable `beg'.
23168
23169 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23170 (reporter-dont-compact-list): Declare.
23171
23172 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23173 Remove unused variable `char'.
23174 (sh-debug): Mark unused parameter.
23175 (sh-get-indent-info): Remove unused variable `start'.
23176 (sh-calculate-indent): Remove unused variable `var'.
23177
23178 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23179 (simula-electric-keyword): Remove unused variable `null'.
23180 (simula-search-backward, simula-search-forward): Remove unused
23181 variables `begin' and `end'.
23182
23183 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23184 Remove unused variable `pos'.
23185 (vera-electric-tab, vera-comment-uncomment-region):
23186 Mark unused parameters.
23187 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23188
23189 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23190
23191 * emacs-lisp/package.el (package--builtins, package-alist)
23192 (package-load-descriptor, package-built-in-p, package-activate)
23193 (define-package, package-installed-p)
23194 (package-compute-transaction, package-buffer-info)
23195 (package--push): Doc fix. Distinguish more clearly between
23196 version strings and version lists.
23197
23198 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23199
23200 Lexical-binding cleanup.
23201
23202 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23203 (5x5-make-mutate-best):
23204 * play/fortune.el (fortune-in-buffer):
23205 * play/gomoku.el (gomoku-init-display):
23206 * play/solitaire.el (solitaire, solitaire-do-check):
23207 * play/tetris.el (tetris-default-update-speed-function):
23208 Mark unused parameters.
23209
23210 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23211 (bubbles--shift): Remove unused variable `char-org'.
23212 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23213 (bubbles--show-images): Remove unused variable `char'.
23214
23215 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23216 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23217 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23218 (decipher-analyze-buffer): Use ?\s.
23219 (decipher-make-checkpoint): Remove unused variable `mapping'.
23220
23221 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23222
23223 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23224 Remove unused variable `result'; use `let'.
23225
23226 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23227 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23228 (gametree-children-shown-p, gametree-compute-reduced-score):
23229 Use `ignore-errors'.
23230
23231 * play/handwrite.el (ps-lpr-switches): Declare.
23232 (handwrite): Remove unused variables `pmin' and `lastp'.
23233
23234 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23235
23236 * play/landmark.el (landmark-init-display)
23237 (landmark-update-naught-weights): Mark unused parameters.
23238 (landmark-y): Remove unused variable `noise'. Simplify.
23239 (landmark-human-plays): Remove unused variable `score'.
23240
23241 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23242 (mpuz-try-proposal): Remove unused variable `game'.
23243
23244 * play/zone.el (life-patterns): Declare.
23245
23246 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23247
23248 * vc/vc.el (ediff-vc-internal): Declare function.
23249
23250 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23251
23252 * shell.el: Use lexical-binding and std completion UI.
23253 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23254 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23255 comint-preoutput-filter-functions rather than on
23256 comint-output-filter-functions.
23257 (shell-command-completion, shell--command-completion-data)
23258 (shell-filename-completion, shell-environment-variable-completion)
23259 (shell-c-a-p-replace-by-expanded-directory): New functions.
23260 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23261 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23262 (shell-dynamic-complete-environment-variable): Use them.
23263 (shell-dynamic-complete-as-environment-variable)
23264 (shell-dynamic-complete-as-command): Remove.
23265 (shell-match-partial-variable): Match past point.
23266 * comint.el: Clean up use of completion-at-point-functions.
23267 (comint-completion-at-point): New function.
23268 (comint-mode): Use it completion-at-point-functions.
23269 (comint-dynamic-complete): Make it obsolete.
23270 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23271 (comint-c-a-p-replace-by-expanded-history): New function.
23272 (comint-dynamic-complete-functions)
23273 (comint-replace-by-expanded-history): Use it.
23274 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23275 termination strings. Try harder to avoid second try-completion.
23276 (completion-in-region-mode-map): Disable bindings that don't work yet.
23277
23278 * comint.el: Use lexical-binding. Require CL.
23279 (comint-dynamic-complete-functions): Use comint-filename-completion.
23280 (comint-completion-addsuffix): Tweak custom type.
23281 (comint-filename-completion, comint--common-suffix)
23282 (comint--common-quoted-suffix, comint--table-subvert)
23283 (comint--complete-file-name-data): New functions.
23284 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23285 (comint-dynamic-list-filename-completions): Use them.
23286 (comint-dynamic-simple-complete): Make obsolete.
23287
23288 * minibuffer.el (completion-in-region-mode):
23289 Keep completion-in-region-mode--predicate global.
23290 (completion-in-region--postch):
23291 Assume completion-in-region-mode--predicate is not null.
23292
23293 * progmodes/flymake.el (flymake-start-syntax-check-process):
23294 Obey `dir'. Simplify.
23295
23296 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23297 we're in VC after all.
23298
23299 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23300
23301 * vc/vc.el (vc-diff-build-argument-list-internal)
23302 (vc-version-ediff, vc-ediff): New commands.
23303 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23304
23305 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23306
23307 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23308 add sanity check.
23309
23310 * obsolete/erc-hecomplete.el: Make obsolete.
23311 * obsolete/: Standardize obsolescence info in the header.
23312
23313 2011-04-20 Glenn Morris <rgm@gnu.org>
23314
23315 * calendar/solar.el (solar-horizontal-coordinates):
23316 Use the longitude argument rather than `calendar-longitude'.
23317 (solar-date-next-longitude): Remove unused locals.
23318
23319 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23320
23321 * whitespace.el: New version 13.2.1.
23322
23323 2011-04-20 felix <EmacsWiki> (tiny change)
23324
23325 * whitespace.el (global-whitespace-mode): Keep highlight when
23326 switching between major modes on a file.
23327
23328 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23329
23330 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23331 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23332 multi-line comments as well.
23333
23334 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23335
23336 Lexical-binding cleanup.
23337
23338 * arc-mode.el (archive-mode-revert):
23339 * cmuscheme.el (scheme-interactively-start-process):
23340 * custom.el (custom-initialize-delay):
23341 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23342 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23343 * emacs-lock.el (emacs-lock-clear-sentinel):
23344 * ezimage.el (defezimage):
23345 * follow.el (follow-avoid-tail-recenter):
23346 * fringe.el (set-fringe-mode-1):
23347 * generic-x.el (bat-generic-mode-compile):
23348 * help-mode.el (help-info-variable, help-do-xref)
23349 (help-mode-revert-buffer):
23350 * help.el (view-emacs-todo):
23351 * iswitchb.el (iswitchb-completion-help):
23352 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23353 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23354 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23355 * locate.el (locate-update):
23356 * longlines.el (longlines-encode-region)
23357 (longlines-after-change-function):
23358 * outline.el (outline-isearch-open-invisible):
23359 * ps-def.el (declare-function, charset-dimension, char-width)
23360 (encode-char):
23361 * ps-mule.el (ps-mule-plot-string):
23362 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23363 (recentf-edit-list-select, recentf-edit-list-validate)
23364 (recentf-open-files-action):
23365 * rect.el (delete-whitespace-rectangle-line)
23366 (rectangle-number-line-callback):
23367 * register.el (window-configuration-to-register)
23368 (frame-configuration-to-register):
23369 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23370 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23371 (xselect-convert-to-targets, xselect-convert-to-delete)
23372 (xselect-convert-to-filename, xselect-convert-to-charpos)
23373 (xselect-convert-to-lineno, xselect-convert-to-colno)
23374 (xselect-convert-to-os, xselect-convert-to-host)
23375 (xselect-convert-to-user, xselect-convert-to-class)
23376 (xselect-convert-to-name, xselect-convert-to-integer)
23377 (xselect-convert-to-atom, xselect-convert-to-identity):
23378 * subr.el (declare, ignore, process-kill-without-query)
23379 (text-clone-maintain):
23380 * terminal.el (te-get-char, te-tic-sentinel):
23381 * tool-bar.el (tool-bar-make-keymap):
23382 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23383 * type-break.el (type-break-mode, type-break-noninteractive-query):
23384 * view.el (View-back-to-mark):
23385 * wid-browse.el (widget-browse-action, widget-browse-widget)
23386 (widget-browse-widgets, widget-browse-sexp):
23387 * widget.el (define-widget-keywords):
23388 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23389 Mark unused parameters.
23390
23391 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23392 (align-areas): Remove unused variable `look'.
23393 (align-region): Remove unused variables `real-end' and `pos-list'.
23394
23395 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23396
23397 * bindings.el (mode-line-modified, mode-line-remote):
23398 Mark unused parameters.
23399 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23400
23401 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23402 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23403
23404 * comint.el (comint-history-isearch-pop-state)
23405 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23406 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23407 (comint-substitute-in-file-name): Doc fix.
23408
23409 * completion.el (cmpl-statistics-block): Mark unused parameter.
23410 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23411 (save-completions-to-file, load-completions-from-file):
23412 Remove unused local variable `e'.
23413
23414 * composite.el (compose-chars): Remove unused variable `len'.
23415 (lgstring-insert-glyph): Remove unused variable `g'.
23416 (compose-glyph-string): Remove unused variables `ascent',
23417 `descent', `lbearing' and `rbearing'.
23418 (compose-glyph-string-relative): Remove unused variables
23419 `lbearing', `rbearing' and `wadjust'.
23420 (compose-gstring-for-graphic): Remove unused variables `header',
23421 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23422 (compose-gstring-for-terminal): Remove unused variables `header'
23423 and `nchars'. Use `let', not `let*'.
23424
23425 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23426 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23427 (Custom-buffer-done, custom-buffer-create-internal)
23428 (custom-browse-visibility-action, custom-browse-group-tag-action)
23429 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23430 (widget-magic-mouse-down-action, custom-toggle-parent)
23431 (custom-add-parent-links, custom-toggle-hide-variable)
23432 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23433 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23434 (custom-face-menu-create, custom-variable-menu-create, get)
23435 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23436 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23437 (customize-apropos): Remove unused variable `tests'.
23438 (custom-group-value-create): Remove unused variable `hidden-p'.
23439 (sort-fold-case): Declare.
23440
23441 * cus-theme.el (custom-reset-standard-faces-list)
23442 (custom-reset-standard-variables-list): Declare.
23443 (customize-create-theme, custom-theme-revert, custom-theme-write)
23444 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23445 Mark unused parameters.
23446
23447 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23448
23449 * delim-col.el (delimit-columns-max): Move defvar before first use.
23450
23451 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23452 (describe-char): Don't quote `lambda'. Mark unused parameter.
23453
23454 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23455 (auto-insert): Declare.
23456 (desktop-restore-file-buffer): Rename desktop-* parameters;
23457 mark unused ones.
23458 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23459 (desktop-buffer): Rename desktop-* parameters.
23460
23461 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23462 (dframe-reposition-frame-xemacs, dframe-help-echo)
23463 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23464 Mark unused parameters.
23465
23466 * dired-aux.el (backup-extract-version-start, overwrite-query)
23467 (overwrite-backup-query, rename-regexp-query)
23468 (rename-non-directory-query): Declare.
23469 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23470 (dired-add-entry): Remove unused variable `orig-file-name'.
23471 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23472 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23473 `dired-copy-preserve-time' directly.
23474 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23475 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23476
23477 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23478 (dired-virtual-revert, dired-make-relative-symlink):
23479 Mark unused parameters.
23480 (manual-program): Declare.
23481 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23482 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23483 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23484
23485 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23486
23487 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23488
23489 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23490 Declare.
23491
23492 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23493
23494 * electric.el (Electric-command-loop): Rename parameter
23495 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23496
23497 * expand.el (expand-in-literal): Remove unused variable `here'.
23498
23499 * facemenu.el (facemenu-add-new-color):
23500 Remove unused variable `docstring'.
23501
23502 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23503 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23504 (face-attr-construct): Mark unused parameter. Doc fix.
23505 (read-color): Remove unused variable `hex-string'.
23506
23507 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23508 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23509 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23510 (display-buffer-other-frame): Remove unused variable `old-window'.
23511 (kill-buffer-hook): Declare.
23512 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23513 Mark unused parameters.
23514 (after-find-file): Pass 1 to `auto-save-mode', not t.
23515
23516 * files-x.el (auto-insert): Declare.
23517 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23518
23519 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23520 variable `buf'. Mark unused parameter.
23521 (find-lisp-insert-directory): Mark unused parameter.
23522
23523 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23524 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23525 (format-common-tail): Remove, unused.
23526 (format-deannotate-region): Remove unused variable `loc'.
23527 (format-annotate-region): Remove unused variable `p'.
23528 (format-annotate-single-property-change): Remove unused variables
23529 `default' and `tail'.
23530
23531 * forms.el (read-file-filter): Declare.
23532 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23533
23534 * frame.el (frame-creation-function-alist): Mark unused parameter.
23535 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23536
23537 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23538 Remove unused parameters.
23539 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23540 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23541
23542 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23543 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23544 (hfy-prepare-tag-map): Mark unused parameters.
23545 (htmlfontify-buffer): Use `called-interactively-p'.
23546
23547 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23548 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23549 (ibuffer-do-occur): Mark unused parameters.
23550 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23551 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23552
23553 * ibuffer.el: Don't quote `lambda'.
23554 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23555 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23556 Mark unused parameters.
23557
23558 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23559 (ido-completing-read): Mark unused parameters.
23560 (ido-copy-current-word): Mark unused parameters;
23561 remove unused variable `name'.
23562 (ido-sort-merged-list): Remove unused parameter `dirs'.
23563
23564 * ielm.el (ielm-input-sender): Mark unused parameter.
23565 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23566 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23567 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23568 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23569 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23570
23571 * image-dired.el (image-dired-display-thumbs): Remove unused
23572 variables `curr-file' and `count'.
23573 (image-dired-remove-tag): Remove unused variable `start'.
23574 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23575 variable `curr-file'
23576 (image-dired-rotate-original): Remove unused variable `temp-file'.
23577 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23578 Remove unused variable `file'.
23579 (image-dired-gallery-generate): Remove unused variable `curr'.
23580 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23581
23582 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23583
23584 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23585
23586 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23587
23588 * isearch.el (minibuffer-history-symbol): Declare.
23589 (isearch-edit-string): Remove unused variable `err'.
23590 (isearch-message-prefix, isearch-message-suffix):
23591 Mark unused parameters.
23592
23593 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23594
23595 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23596
23597 * makesum.el (double-column): Remove unused variable `cnt'.
23598
23599 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23600 (ido-ignore-item-temp-list): Declare.
23601
23602 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23603 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23604 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23605 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23606 `mouse-col-delta'.
23607
23608 * mouse-sel.el (mouse-extend-internal):
23609 Remove unused variable `orig-window-frame'.
23610
23611 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23612 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23613 Move declarations before first use.
23614 (pcomplete-opt): Mark unused parameters; doc fix.
23615
23616 * proced.el (proced-revert): Mark unused parameter.
23617 (proced-send-signal): Remove unused variable `err'.
23618
23619 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23620 Rename parameter PREFIX-ARG to ARG.
23621 (ps-basic-plot-string, ps-basic-plot-whitespace):
23622 Mark unused parameters.
23623
23624 * replace.el (replace-count): Define.
23625 (occur-revert-function): Mark unused parameters.
23626 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23627 (isearch-case-fold-search, isearch-string): Declare.
23628 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23629 bind `case-fold-search'. Remove unused variables `beg' and `end',
23630 and simplify.
23631 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23632 COUNT and bind `replace-count'.
23633 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23634 to COUNT.
23635
23636 * savehist.el (print-readably, print-string-length): Declare.
23637
23638 * shadowfile.el (shadow-expand-cluster-in-file-name):
23639 Remove unused variable `cluster'.
23640 (shadow-copy-file): Remove unused variable `i'.
23641 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23642 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23643 (shadow-define-literal-group, shadow-define-regexp-group)
23644 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23645
23646 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23647 (shell): Use `called-interactively-p'.
23648 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23649
23650 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23651 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23652 (delete-backward-char): Remove unused variable `ocol'.
23653 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23654 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23655 (event-apply-hyper-modifier, event-apply-shift-modifier)
23656 (event-apply-control-modifier, event-apply-meta-modifier):
23657 Mark unused parameters.
23658 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23659 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23660
23661 * speedbar.el (speedbar-ignored-directory-expressions)
23662 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23663 (speedbar-find-file, speedbar-dir-follow)
23664 (speedbar-directory-buttons-follow, speedbar-tag-find)
23665 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23666 (speedbar-buffers-line-directory, speedbar-buffer-click):
23667 Mark unused parameters.
23668 (speedbar-tag-file): Remove unused variable `mode'.
23669 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23670
23671 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23672
23673 * talk.el (talk): Remove unused variable `display'.
23674
23675 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23676 (tar-write-region-annotate): Mark unused parameter.
23677
23678 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23679 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23680 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23681 warning by another.
23682
23683 * time-stamp.el (time-stamp-string-preprocess):
23684 Remove unused variable `require-padding'.
23685
23686 * tree-widget.el (widget-glyph-enable): Declare.
23687 (tree-widget-action): Mark unused parameter.
23688
23689 * w32-fns.el (x-get-selection): Mark unused parameter.
23690 (autoload-make-program, generated-autoload-file): Declare.
23691
23692 * wdired.el (wdired-revert): Mark unused parameters.
23693 (wdired-xcase-word): Remove unused variable `err'.
23694
23695 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23696 (whitespace-help-scroll): Remove unused variable `data-help'.
23697
23698 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23699 (widget-image-insert, widget-after-change, default)
23700 (widget-default-format-handler, widget-default-notify)
23701 (widget-default-prompt-value, widget-info-link-action)
23702 (widget-url-link-action, widget-function-link-action)
23703 (widget-variable-link-action, widget-file-link-action)
23704 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23705 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23706 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23707 (widget-insert-button-action, widget-delete-button-action, visibility)
23708 (widget-documentation-link-action, widget-documentation-string-action)
23709 (widget-const-prompt-value, widget-regexp-match, symbol)
23710 (widget-coding-system-prompt-value)
23711 (widget-key-sequence-value-to-external, sexp)
23712 (widget-sexp-value-to-internal, character, vector, cons)
23713 (widget-choice-prompt-value, widget-boolean-prompt-value)
23714 (widget-color--choose-action): Mark unused parameters.
23715 (widget-item-match-inline, widget-choice-match-inline)
23716 (widget-checklist-match, widget-checklist-match-inline)
23717 (widget-group-match): Rename parameter VALUES to VALS.
23718 (widget-field-value-set): Remove unused variable `size'.
23719 (widget-color-action): Remove unused variables `value' and `start'.
23720
23721 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23722 variable `dir'. Doc fix.
23723 (windmove-find-other-window): Don't pass it.
23724
23725 * window.el (count-windows): Mark unused parameter.
23726 (bw-adjust-window): Remove unused variable `err'.
23727
23728 * woman.el (woman-file-name): Remove unused variable `default'.
23729 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23730 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23731 (global-font-lock-mode): Declare.
23732 (woman-decode-region): Mark unused parameter.
23733 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23734
23735 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23736 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23737 (x-dnd-handle-moz-url): Remove unused variable `title'.
23738 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23739
23740 * xml.el (xml-parse-tag, xml-parse-attlist):
23741 Remove unused variable `pos'.
23742
23743 2011-04-19 Glenn Morris <rgm@gnu.org>
23744
23745 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23746 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23747 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23748 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23749 * calendar/cal-html.el (cal-html-insert-minical):
23750 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23751 (calendar-mark-date-pattern):
23752 Prefix "unused" locals.
23753
23754 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23755 optional argument `style'.
23756
23757 * calendar/appt.el (appt-make-list):
23758 * calendar/cal-china.el (calendar-chinese-date-string):
23759 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23760 (diary-hebrew-yahrzeit):
23761 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23762 * calendar/calendar.el (calendar-generate-window):
23763 * calendar/time-date.el (time-to-days):
23764 Remove unused local variables.
23765
23766 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23767
23768 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23769 glyphless-char-display table.
23770 (tabulated-list-glyphless-char-display): New var.
23771
23772 2011-04-18 Sam Steingold <sds@gnu.org>
23773
23774 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23775 to acknowledgments.
23776
23777 2011-04-17 Glenn Morris <rgm@gnu.org>
23778
23779 * calendar/diary-lib.el (diary-sexp-entry):
23780 * calendar/holidays.el (holiday-sexp):
23781 Set debug-on-error rather than the removed stack-trace-on-error.
23782
23783 2011-04-16 Glenn Morris <rgm@gnu.org>
23784
23785 * progmodes/f90.el: Use lexical-binding.
23786 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23787
23788 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23789
23790 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23791 (mail-mode): Setup mailalias completion here instead.
23792 * mail/mailalias.el: Use lexical-binding.
23793 (pattern, mailalias-done): Declare dynamic.
23794 (mail-completion-at-point-function): New function, from mail-complete.
23795 (mail-complete): Use it.
23796 (mail-completion-expand): New function.
23797 (mail-get-names): Use it.
23798 (mail-directory, mail-directory-process, mail-directory-stream):
23799 Don't use `pattern' for lexically bound arg.
23800
23801 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23802
23803 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23804 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23805 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23806
23807 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23808 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23809 (byte-interactive-p): Define them again, for use when inlining
23810 old code.
23811
23812 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23813
23814 * loadup.el: Use `string-to-number', not `string-to-int'.
23815
23816 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23817
23818 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23819 gud-gdb-complete-command.
23820 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23821 (gud-gdb-completion-at-point): New function.
23822 (gud-gdb-completions): Remove.
23823
23824 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23825
23826 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23827 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23828 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23829 whether `executable-find' is bound.
23830
23831 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23832
23833 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23834
23835 * minibuffer.el (completion-in-region-mode-predicate)
23836 (completion-in-region-mode--predicate): New vars.
23837 (completion-in-region, completion-in-region--postch)
23838 (completion-in-region-mode): Use them.
23839 (completion--capf-wrapper): Also return the hook function.
23840 (completion-at-point, completion-help-at-point):
23841 Adjust and provide a predicate.
23842
23843 Preserve arg names for advice of subr and lexical functions (bug#8457).
23844 * help-fns.el (help-function-arglist): Consolidate the subr and
23845 new-byte-code cases. Add argument `preserve-names' to extract names
23846 from the docstring when needed.
23847 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23848 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23849 (ad-arglist): Use help-function-arglist's new arg.
23850 (ad-definition-type): Use cond.
23851
23852 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23853
23854 * autorevert.el (auto-revert-handler):
23855 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23856 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23857 Don't quote lambda.
23858
23859 * image-mode.el (image-transform-set-scale):
23860 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23861
23862 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23863
23864 * net/network-stream.el (network-stream-open-starttls): Only do
23865 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23866 Upgrades via gnutls-cli are too slow to be done opportunistically.
23867
23868 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23869
23870 * dframe.el (dframe-current-frame): Remove spurious quote.
23871
23872 2011-04-12 Glenn Morris <rgm@gnu.org>
23873
23874 * calendar/cal-tex.el (cal-tex-end-document):
23875 Try to automatically use latin1 input if needed.
23876
23877 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23878 Don't try to cons a mark onto an empty element.
23879
23880 2011-04-11 Leo Liu <sdl.web@gmail.com>
23881
23882 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23883 buffers.
23884 (ido-kill-buffer-at-head): Support killing virtual buffers.
23885
23886 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23887
23888 * minibuffer.el (completion-show-inline-help): New var.
23889 (completion--do-completion, minibuffer-complete)
23890 (minibuffer-force-complete, minibuffer-complete-word):
23891 Inhibit minibuffer messages if completion-show-inline-help is nil.
23892
23893 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23894 to avoid interference from inline help (Bug#5849).
23895
23896 2011-04-10 Leo Liu <sdl.web@gmail.com>
23897
23898 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23899 Fix typo.
23900
23901 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23902
23903 * image-mode.el (image-toggle-display-image): Signal an error if
23904 not in Image mode.
23905 (image-transform-mode, image-transform-resize)
23906 (image-transform-set-rotation): Doc fix.
23907 (image-transform-set-resize): Delete.
23908 (image-transform-set-scale, image-transform-fit-to-height)
23909 (image-transform-fit-to-width): Handle image-toggle-display-image
23910 and image-transform-resize directly.
23911
23912 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23913
23914 * doc-view.el (doc-view-fit-width-to-window)
23915 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23916 New functions for fitting the shown image to the Emacs window size.
23917 (doc-view-mode-map): Add bindings for the new functions.
23918
23919 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23920
23921 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23922 Fix typo in docstring.
23923
23924 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23925
23926 * files.el (file-size-human-readable): Produce one digit after
23927 decimal, like "ls -lh" does.
23928
23929 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23930 the file size representation.
23931
23932 * simple.el (list-processes): If async subprocesses are not
23933 available, error out with a clear error message.
23934
23935 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23936
23937 * help.el (help-form-show): New function, to be called from C.
23938 Put help-form output in a buffer named differently than *Help*.
23939
23940 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23941
23942 * files.el (file-size-human-readable): New function.
23943
23944 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23945 computing the representation inline. Don't require `cl'.
23946
23947 2011-04-08 Glenn Morris <rgm@gnu.org>
23948
23949 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23950
23951 * net/browse-url.el (browse-url-firefox):
23952 Test system-type, not system-configuration.
23953
23954 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23955 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23956 Use log-edit-empty-buffer-p. (Bug#7598)
23957
23958 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23959 (rlogin-mode-map): Initialize in the defvar.
23960 (rlogin): Use ignore-errors.
23961
23962 * replace.el (occur-mode-map): Some fixes for menu items.
23963
23964 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23965
23966 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23967
23968 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23969
23970 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23971 issuing unused warnings.
23972
23973 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23974 macro directly.
23975
23976 * simple.el: Lisp reimplement of list-processes. Based on an
23977 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23978 (process-menu-mode): New major mode.
23979 (list-processes--refresh, list-processes):
23980 (process-menu-visit-buffer): New functions.
23981
23982 * files.el (save-buffers-kill-emacs): Don't assume any return
23983 value of list-processes, which is undocumented anyway.
23984
23985 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23986
23987 * emacs-lisp/tabulated-list.el: New file.
23988
23989 * emacs-lisp/package.el: Use Tabulated List mode.
23990 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23991 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23992 table format using Tabulated List mode variables.
23993 (package--push): New macro, replacing package-list-maybe-add.
23994 (package-menu--generate): Use package--push. Renamed from
23995 package--generate-package-list.
23996 (package-menu-refresh, list-packages): Use it.
23997 (package-menu--print-info): Rename from package-print-package.
23998 Return insertion data instead of inserting it directly.
23999 (package-menu-describe-package, package-menu-execute):
24000 Use tabulated-list-get-id.
24001 (package-menu-mark-delete, package-menu-mark-install)
24002 (package-menu-mark-unmark, package-menu-backup-unmark)
24003 (package-menu-mark-obsolete-for-deletion):
24004 Use tabulated-list-put-tag.
24005 (package--list-packages, package-menu-revert)
24006 (package-menu-get-package, package-menu-get-version)
24007 (package-menu-sort-by-column): Functions deleted.
24008 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24009 (package-menu--status-predicate, package-menu--version-predicate)
24010 (package-menu--name-predicate)
24011 (package-menu--description-predicate): Handle arguments in the
24012 Tabulated List format.
24013 (package-list-packages-no-fetch): Call list-packages.
24014
24015 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24016
24017 * files.el (after-find-file-from-revert-buffer): Remove variable.
24018 (after-find-file): Don't bind it.
24019 (revert-buffer-in-progress-p): New variable.
24020 (revert-buffer): Bind it.
24021 Pass nil for `after-find-file-from-revert-buffer'.
24022
24023 * saveplace.el (save-place-find-file-hook): Use new variable
24024 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24025
24026 2011-04-06 Glenn Morris <rgm@gnu.org>
24027
24028 * Makefile.in (AUTOGEN_VCS): New variable.
24029 (autoloads): Use $AUTOGEN_VCS.
24030
24031 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24032 * calendar/calendar.el (calendar-mode-map):
24033 Check for toolkit scroll bars. (Bug#8305)
24034
24035 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24036
24037 * minibuffer.el (completion-in-region--postch)
24038 (completion-in-region-mode): Remove unnecessary messages.
24039
24040 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24041
24042 * font-lock.el (font-lock-refresh-defaults):
24043 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24044 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24045
24046 * info.el (Info-directory-list, Info-read-node-name-2)
24047 (Info-split-parameter-string): Doc fixes.
24048 (Info-virtual-nodes): Reflow docstring.
24049 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24050 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24051 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24052 Fix typos in docstrings.
24053 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24054 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24055 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24056 (Info-restore-desktop-buffer): Mark unused parameters.
24057 (Info-directory-find-file, Info-directory-find-node)
24058 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24059 (Info-virtual-index-find-node, Info-apropos-find-file)
24060 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24061 Mark unused parameters; fix typos in docstrings.
24062 (Info-virtual-index): Remove unused local variable `nodename'.
24063
24064 2011-04-05 Deniz Dogan <deniz@dogan.se>
24065
24066 * net/rcirc.el: Update my e-mail address.
24067 (rcirc-mode-map): Remove M-o binding.
24068
24069 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24070
24071 * startup.el (command-line): Save the cursor's theme-face
24072 directly, instead of using face-override-spec.
24073
24074 * custom.el (load-theme): Minor optimization in assigning faces.
24075
24076 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24077
24078 * help-fns.el (describe-variable): Complete all variables having
24079 documentation, including keywords.
24080 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24081
24082 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24083
24084 Convert to lexical-binding.
24085
24086 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24087 (bs--get-marked-string, bs--get-modified-string)
24088 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24089 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24090 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24091
24092 * ehelp.el (electric-help-execute-extended)
24093 (electric-help-ctrl-x-prefix):
24094 * hexl.el (hexl-revert-buffer-function):
24095 * linum.el (linum-after-change, linum-after-scroll):
24096 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24097
24098 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24099
24100 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24101
24102 * epa-dired.el:
24103 * epa-mail.el:
24104 * epa-hook.el:
24105 * epa-file.el:
24106 * epa.el:
24107 * epg.el: Use lexical binding.
24108
24109 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24110
24111 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24112
24113 * textmodes/flyspell.el (flyspell-word): Recognize default
24114 dictionary case for flyspell-mark-duplications-exceptions.
24115 Use regexp matching for languages.
24116 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24117 default dictionary (Bug#7926).
24118
24119 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24120
24121 * emacs-lisp/package.el (package--with-work-buffer):
24122 Recognize https URLs.
24123
24124 * net/network-stream.el: Move from gnus/proto-stream.el.
24125 Change prefix to network-stream throughout.
24126 (open-protocol-stream): Merge into open-network-stream, leaving
24127 open-protocol-stream as an alias. Handle nil BUFFER args.
24128
24129 * subr.el (open-network-stream): Move to net/network-stream.el.
24130
24131 2011-04-02 Glenn Morris <rgm@gnu.org>
24132
24133 * find-dired.el (find-exec-terminator): New option.
24134 (find-ls-option): Test for -ls support.
24135 (find-ls-subdir-switches): Test for -b in find-ls-option.
24136 (find-dired, find-grep-dired): Doc fixes.
24137 (find-dired): Use find-exec-terminator.
24138
24139 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24140 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24141 (find-name-arg): Remove purecopy.
24142
24143 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24144 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24145 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24146 accordingly. Don't add the null-device if not needed.
24147
24148 * files.el (save-some-buffers): Doc fix.
24149
24150 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24151
24152 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24153
24154 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24155
24156 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24157 Use `dolist' rather than `mapcar'.
24158
24159 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24160
24161 Add lexical binding.
24162
24163 * subr.el (apply-partially): Use new closures rather than CL.
24164 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24165 (dolist, dotimes): Use slightly different expansion for lexical code.
24166 (functionp): Move to C.
24167 (letrec): New macro.
24168 (with-wrapper-hook): Use it and apply-partially instead of CL.
24169 (eval-after-load): Preserve lexical-binding.
24170 (save-window-excursion, with-output-to-temp-buffer): Turn them
24171 into macros.
24172
24173 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24174
24175 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24176 than the arglist.
24177 (help-add-fundoc-usage): Don't add `Not documented'.
24178 (help-function-arglist): Handle closures, subroutines, and new
24179 byte-code-functions.
24180 (help-make-usage): Remove leading underscores.
24181 (describe-function-1): Handle closures.
24182 (describe-variable): Use special-variable-p for completion.
24183
24184 * files.el (lexical-binding): Declare safe.
24185
24186 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24187 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24188 (pcase): Add `let' pattern.
24189 Change memoization so it actually works.
24190 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24191 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24192 <let>: New case.
24193
24194 * emacs-lisp/macroexp.el: Use lexical binding.
24195 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24196 Don't convert ' to #' without checking that it's indeed quoting
24197 a lambda.
24198
24199 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24200 Use eval-sexp-add-defvars.
24201 (eval-sexp-add-defvars): New fun.
24202
24203 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24204
24205 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24206 Don't autoload.
24207 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24208 than the internal `byte-compile-lambda'.
24209 (defmethod): Don't hide code under quotes.
24210 (eieio-defmethod): New `code' argument.
24211
24212 * emacs-lisp/eieio-comp.el: Remove.
24213
24214 * emacs-lisp/edebug.el (edebug-eval-defun)
24215 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24216 (edebug-toggle): Avoid `eval'.
24217
24218 * emacs-lisp/disass.el (disassemble-internal): Handle new
24219 `closure' objects.
24220 (disassemble-1): Handle new byte codes.
24221
24222 * emacs-lisp/cl.el (pushnew): Silence warning.
24223
24224 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24225 (cl-byte-compile-throw): Remove.
24226 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24227
24228 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24229 closures.
24230
24231 * emacs-lisp/cconv.el: New file.
24232
24233 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24234 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24235 (byte-compile-initial-macro-environment):
24236 Handle declare-function here.
24237 (byte-compile--lexical-environment): New var.
24238 (byte-stack-ref, byte-stack-set, byte-discardN)
24239 (byte-discardN-preserve-tos): New lap codes.
24240 (byte-interactive-p): Don't use any more.
24241 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24242 New macros.
24243 (byte-compile-lapcode): Use them and handle new lap codes.
24244 (byte-compile-obsolete): Remove.
24245 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24246 (byte-compile-arglist-warn): Check late def of inlinable funs.
24247 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24248 since they should have been expanded by now.
24249 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24250 (byte-compile-from-buffer): Remove unused second arg.
24251 (byte-compile-preprocess): New function.
24252 (byte-compile-toplevel-file-form): New function to distinguish
24253 file-form calls from outside from file-form calls from hunk-handlers.
24254 (byte-compile-file-form): Simplify.
24255 (byte-compile-file-form-defsubst): Remove.
24256 (byte-compile-file-form-defmumble): Simplify now that
24257 byte-compile-lambda always returns a byte-code-function.
24258 (byte-compile): Preprocess.
24259 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24260 Remove, not used any more.
24261 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24262 (byte-compile-make-args-desc): New funs.
24263 (byte-compile-lambda): Handle lexical functions. Always return
24264 a byte-code-function.
24265 (byte-compile-reserved-constants): New var, to make up room for
24266 closed-over variables.
24267 (byte-compile-constants-vector): Obey it.
24268 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24269 (byte-compile-macroexpand-declare-function): New function.
24270 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24271 byte-code-functions.
24272 (byte-compile-form): Check obsolescence here.
24273 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24274 (byte-compile-variable-ref): Remove.
24275 (byte-compile-dynamic-variable-op): New fun.
24276 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24277 (byte-compile-variable-set): New funs.
24278 (byte-compile-discard): Add 2 args.
24279 (byte-compile-stack-ref, byte-compile-stack-set)
24280 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24281 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24282 macroexpand-all instead.
24283 (byte-compile-quote-form): Remove.
24284 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24285 (byte-compile-bind, byte-compile-unbind): New funs.
24286 (byte-compile-let): Handle let* and lexical binding.
24287 (byte-compile-let*): Remove.
24288 (byte-compile-catch, byte-compile-unwind-protect)
24289 (byte-compile-track-mouse, byte-compile-condition-case):
24290 Handle a new :fun-body form, used for lexical scoping.
24291 (byte-compile-save-window-excursion)
24292 (byte-compile-with-output-to-temp-buffer): Remove.
24293 (byte-compile-defun): Simplify.
24294 (byte-compile-stack-adjustment): New fun.
24295 (byte-compile-out): Use it.
24296 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24297
24298 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24299 handler any more.
24300
24301 * emacs-lisp/byte-opt.el: Use lexical binding.
24302 (byte-inline-lapcode): Remove (to bytecomp).
24303 (byte-compile-inline-expand): Pay attention to inlining to/from
24304 lexically bound code.
24305 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24306 any more.
24307 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24308 any more and don't call compiler-macros.
24309 (byte-compile-splice-in-already-compiled-code): Remove.
24310 (byte-code): Don't inline any more.
24311 (disassemble-offset): Receive `bytes' as argument rather than via
24312 dynamic scoping.
24313 (byte-compile-tag-number): Declare before first use.
24314 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24315 `return' even if make-spliceable.
24316 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24317 obsolete interactive-p.
24318 (byte-optimize-lapcode): Optimize new lap-codes.
24319 Don't trip up on new form of `byte-constant' lap code.
24320
24321 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24322
24323 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24324
24325 * custom.el (custom-initialize-default, custom-declare-variable):
24326 Use `defvar'.
24327
24328 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24329 New variables.
24330 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24331 (COMPILE_FIRST): Add macroexp and cconv.
24332 * makefile.w32-in: Mirror changes in Makefile.in.
24333
24334 * vc/cvs-status.el:
24335 * vc/diff-mode.el:
24336 * vc/log-edit.el:
24337 * vc/log-view.el:
24338 * vc/smerge-mode.el:
24339 * textmodes/bibtex-style.el:
24340 * textmodes/css-mode.el:
24341 * startup.el:
24342 * uniquify.el:
24343 * minibuffer.el:
24344 * newcomment.el:
24345 * reveal.el:
24346 * server.el:
24347 * mpc.el:
24348 * emacs-lisp/smie.el:
24349 * doc-view.el:
24350 * dired.el:
24351 * abbrev.el: Use lexical binding.
24352
24353 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24354
24355 * info.el (info-display-manual): New function.
24356
24357 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24358
24359 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24360
24361 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24362
24363 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24364 an entry for that server in rcirc-authinfo. (Bug#8385)
24365
24366 2011-03-31 Glenn Morris <rgm@gnu.org>
24367
24368 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24369
24370 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24371
24372 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24373
24374 * progmodes/python.el (python-default-interpreter)
24375 (python-python-command-args, python-jython-command-args)
24376 (python-which-shell, python-which-args, python-which-bufname)
24377 (python-file-queue, python-comint-output-filter-function)
24378 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24379 variables and functions.
24380
24381 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24382
24383 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24384 (completion-in-region-mode): New minor mode.
24385 (completion-in-region): Use it.
24386 (completion-in-region--data, completion-in-region-mode-map): New vars.
24387 (completion-in-region--postch): New function.
24388 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24389 New vars.
24390 (completion--capf-wrapper): New function.
24391 (completion-at-point): Use it to track well-behavedness of
24392 hook functions.
24393 (completion-help-at-point): New command.
24394
24395 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24396
24397 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24398 syntax class to search for whitespace on a single line
24399 (Message-ID: <4D938140.4030905@redhat.com>).
24400
24401 2011-03-30 Leo Liu <sdl.web@gmail.com>
24402
24403 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24404 New commands.
24405 (edit-abbrevs-map): Bind them here.
24406 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24407
24408 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24409
24410 * allout.el (allout-hide-by-annotation, allout-flag-region):
24411 Reduce possibility of overlay leakage by making them volatile.
24412
24413 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24414 hash is not shared between buffers. Mode initialization is
24415 responsible for giving it a useful starting value.
24416 (allout-item-span): Reduce possibility of overlay leakage by
24417 making them volatile.
24418 (allout-widgets-count-buttons-in-region): Add diagnostic function
24419 for tracking down button overlay leaks.
24420
24421 2011-03-29 Leo Liu <sdl.web@gmail.com>
24422
24423 * ido.el (ido-read-internal): Use the default history var
24424 minibuffer-history if no HISTORY is specified.
24425
24426 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24427
24428 * net/imap.el (imap-shell-open, imap-process-connection-type):
24429 Use imap-process-connection-type for 'shell' streams as well as
24430 Kerberos, SSL, other subprocesses.
24431
24432 2011-03-28 Leo Liu <sdl.web@gmail.com>
24433
24434 * abbrev.el (abbrev-table-empty-p): New function.
24435 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24436 nonempty ones. (Bug#5937)
24437
24438 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24439
24440 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24441
24442 2011-03-27 Leo Liu <sdl.web@gmail.com>
24443
24444 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24445 for foreground and background colors.
24446 (ansi-color-make-color-map): Adapt.
24447
24448 2011-03-25 Leo Liu <sdl.web@gmail.com>
24449
24450 * midnight.el (midnight-time-float): Remove. Note it calculates
24451 the microsecond component incorrectly and seconds-to-time does the
24452 same job.
24453 Remove redundant (require 'timer).
24454
24455 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24456 (ido-completions): Remove unused arguments. (Bug#8329)
24457
24458 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24459
24460 * minibuffer.el (completion--flush-all-sorted-completions):
24461 Remove itself from hook.
24462 (completion-at-point): Let the functions perform the completion
24463 immediately and return nil or t.
24464 * comint.el (comint-dynamic-complete-functions): Now identical to
24465 completion-at-point-functions.
24466 (comint-dynamic-list-input-ring): Remove unused var `index'.
24467 (comint--match-partial-filename, comint--unquote&expand-filename):
24468 New funs, split from comint-match-partial-filename.
24469 (comint-dynamic-complete): Use completion-at-point.
24470 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24471
24472 2011-03-24 Drew Adams <drew.adams@oracle.com>
24473
24474 * thingatpt.el: Support `defun'.
24475
24476 2011-03-23 Leo Liu <sdl.web@gmail.com>
24477
24478 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24479
24480 * help-mode.el (help-mode-finish): Tweak regexp.
24481
24482 2011-03-23 Glenn Morris <rgm@gnu.org>
24483
24484 * eshell/esh-opt.el (eshell-eval-using-options):
24485 Do not bind unused local variable `eshell-option-stub'.
24486
24487 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24488
24489 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24490
24491 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24492 keymap variable in `with-no-warnings' to avoid a warning when the
24493 keymap has been already `defconst'ed.
24494
24495 2011-03-22 Leo Liu <sdl.web@gmail.com>
24496
24497 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24498 encode all chars in abbrevs; otherwise use emacs-mule or
24499 utf-8-emacs. (Bug#8308)
24500
24501 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24502
24503 * simple.el (backward-delete-char-untabify):
24504 Avoid warning about using `delete-backward-char'.
24505
24506 * image.el (image-type-file-name-regexps): Make it variable.
24507 `imagemagick-register-types' modifies it, and the user may want
24508 to add new extensions for known image types.
24509 (imagemagick-register-types): Throw error if not using ImageMagick.
24510
24511 2011-03-22 Leo Liu <sdl.web@gmail.com>
24512
24513 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24514 located before rcirc-prompt-end-marker.
24515 (rcirc-complete): Error if point is not after rcirc prompt.
24516 Handle the case when table is nil.
24517 (rcirc-user-authenticated): Define to fix compiler warning.
24518
24519 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24520
24521 * custom.el (custom--inhibit-theme-enable): Make it affect only
24522 custom-theme-set-variables and custom-theme-set-faces.
24523 (provide-theme): Ignore custom--inhibit-theme-enable.
24524 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24525 (custom-enabling-themes): Delete variable.
24526 (enable-theme): Accept only loaded themes as arguments.
24527 Ignore the special custom-enabled-themes variable.
24528 (custom-enabled-themes): Forbid themes from setting this.
24529 Eliminate use of custom-enabling-themes.
24530 (custom-push-theme): Quote "changed" custom var entry.
24531
24532 2011-03-21 Leo Liu <sdl.web@gmail.com>
24533
24534 * ido.el (ido-read-internal): Add ido-selected to history instead
24535 of user input.
24536
24537 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24538
24539 * subr.el (deferred-action-list, deferred-action-function):
24540 Mark obsolete.
24541
24542 2011-03-21 Leo Liu <sdl.web@gmail.com>
24543
24544 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24545 change on 2011-02-13 (bug#8309).
24546
24547 * minibuffer.el (read-file-name-function): Change default value.
24548 (read-file-name--defaults): Rename from read-file-name-defaults.
24549 (read-file-name-default): Rename from read-file-name.
24550 (read-file-name): Call read-file-name-function.
24551
24552 2011-03-21 Glenn Morris <rgm@gnu.org>
24553
24554 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24555 Doc fixes.
24556
24557 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24558
24559 * cus-theme.el: Add missing provide statement.
24560 (customize-create-theme): Extract theme value correctly.
24561 (custom-theme-visit-theme): Autoload.
24562 (customize-create-theme): Prompt before inserting default faces.
24563
24564 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24565
24566 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24567 units and musical notes.
24568
24569 2011-03-20 Leo Liu <sdl.web@gmail.com>
24570
24571 * ido.el (ido-read-internal): Use completing-read-default.
24572 (ido-completing-read): Fix compatibility with completing-read.
24573
24574 2011-03-20 Christian Ohler <ohler@gnu.org>
24575
24576 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24577 (ert-delete-all-tests): Use `called-interactively-p' rather than
24578 `interactive-p'.
24579 (ert--make-xrefs-region): Respect END.
24580
24581 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24582
24583 * dired-aux.el (dired-create-directory): Signal an error if the
24584 directory already exists (Bug#8246).
24585
24586 * facemenu.el (list-colors-display): Call list-faces-display
24587 inside with-help-window.
24588 (list-colors-print): Use display property to align the final
24589 column, instead of checking window-width.
24590
24591 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24592
24593 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24594 windows-nt systems.
24595 (emerge-protect-metachars): Quote correctly for ms-dos and
24596 windows-nt systems.
24597
24598 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24599
24600 * info.el (info-initialize): Replace all uses of `:' with
24601 path-separator for compatibility with non-Unix systems.
24602 Cache quoting of path-separator. (Bug#8258)
24603
24604 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24605
24606 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24607 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24608 (mouse-avoidance-mode): Fix typos in docstrings.
24609
24610 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24611
24612 * startup.el (package-subdirectory-regexp): Move from package.el.
24613 Omit \\` and \\', and let callers add them.
24614
24615 * emacs-lisp/package.el (package-strip-version)
24616 (package-load-all-descriptors): Add \\` and \\' to
24617 package-subdirectory-regexp before using it.
24618 (package-untar-buffer): New arg DIR; ensure that file untars only
24619 into this expected directory. Remove superfluous delete-region.
24620 (package-unpack): Caller changed.
24621 (package-tar-file-info): Use package-subdirectory-regexp.
24622
24623 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24624
24625 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24626 diff-mode-shared-map (bug#8284).
24627 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24628
24629 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24630
24631 * calendar/time-date.el (format-seconds): Use assoc instead of
24632 assoc-string, since assoc-string doesn't exist in XEmacs.
24633
24634 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24635
24636 * custom.el (custom-known-themes): Reflow docstring.
24637 (custom-theme-load-path): Fix typo in docstring.
24638 (load-theme): Fix typo in error message.
24639 (custom-available-themes, custom-variable-theme-value):
24640 Use `let', not `let*'.
24641
24642 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24643
24644 * calc/README: Mention inclusion of musical notes.
24645
24646 * calc/calc-units.el (calc-lu-quant): Rename from
24647 `calc-logunits-quantity'.
24648 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24649 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24650 (calc-db): Rename from `calc-dblevel'.
24651 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24652 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24653 (calc-np): Rename from `calc-nplevel'.
24654 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24655 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24656 (calc-lu-plus): Rename from `calc-logunits-add'.
24657 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24658 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24659 (calc-lu-minus): Rename from `calc-logunits-sub'.
24660 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24661 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24662 (calc-lu-times): Rename from `calc-logunits-mul'.
24663 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24664 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24665 (calc-lu-divide): Rename from `calc-logunits-div'.
24666 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24667 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24668
24669 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24670 functions being autoloaded.
24671
24672 * calc/calc.el (calc-lu-power-reference): Rename from
24673 `calc-logunits-power-reference'.
24674 (calc-lu-field-reference): Rename from
24675 `calc-logunits-field-reference'.
24676
24677 * calc/calc-help.el (calc-l-prefix-help):
24678 Mention musical note functions.
24679
24680 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24681
24682 * minibuffer.el (completion-all-sorted-completions):
24683 Use :completion-cycle-penalty text property if present.
24684
24685 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24686
24687 * allout.el (allout-yank-processing): Adjust for new rebulleting
24688 regime so bullet being yanked is used without prompting the user
24689 for a choice.
24690
24691 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24692
24693 * startup.el (command-line): Warn the user that _emacs is deprecated.
24694
24695 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24696
24697 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24698 (delphi-verbose, delphi-comment-face, delphi-string-face)
24699 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24700 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24701 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24702 (delphi-new-comment-line, delphi-font-lock-defaults)
24703 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24704 Fix typos in docstrings.
24705
24706 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24707
24708 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24709 Invert the roles of character and string values for INSTEAD, so a
24710 string is used for the more common case of a defaulting prompt.
24711
24712 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24713
24714 * progmodes/ruby-mode.el (ruby-backward-sexp):
24715 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24716 * play/gamegrid.el (gamegrid-make-face):
24717 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24718 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24719 * notifications.el (notifications-notify):
24720 * net/xesam.el (xesam-search-engines):
24721 * net/quickurl.el (quickurl-list-insert):
24722 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24723
24724 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24725
24726 * startup.el (command-line): Update package subdirectory regexp.
24727
24728 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24729
24730 * allout.el (allout-abbreviate-flattened-numbering)
24731 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24732
24733 * subr.el (read-char-choice): Only show the cursor after the prompt,
24734 not after the answer.
24735
24736 2011-03-15 Kevin Ryde <user42@zip.com.au>
24737
24738 * help-fns.el (variable-at-point): Skip leading quotes, if any
24739 (bug#8253).
24740
24741 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24742
24743 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24744 warning message.
24745
24746 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24747
24748 * shell.el (shell): When called interactively, offer to change the
24749 shell file name on remote hosts.
24750
24751 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24752
24753 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24754 integration for LDAP parameters. The host, base, user or binddn,
24755 and secret tokens can be specified in a netrc file, for instance.
24756 This is optional because an `auth-source' parameter must be
24757 specified in the search attributes.
24758
24759 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24760
24761 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24762
24763 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24764
24765 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24766 into declaration. Remove redundant and harmful binding.
24767
24768 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24769
24770 * files.el (file-ownership-preserved-p): Pass `integer' as an
24771 explicit 2nd argument to `file-attributes'. If the file's owner
24772 is the Administrators group on Windows, and the current user is
24773 Administrator, consider that a match.
24774
24775 * server.el (server-ensure-safe-dir): Consider server directory
24776 safe on MS-Windows if its owner is the Administrators group while
24777 the current Emacs user is Administrator. Use `=' to compare
24778 numerical UIDs, since they could be integers or floats.
24779
24780 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24781
24782 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24783
24784 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24785
24786 Sync with Tramp 2.2.1.
24787
24788 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24789
24790 * net/trampver.el: Update release number.
24791
24792 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24793
24794 * progmodes/compile.el (compilation--previous-directory): Fix up
24795 various nil/dead-marker mismatches (bug#8014).
24796 (compilation-directory-properties, compilation-error-properties):
24797 Don't call it at a position past the one we're about to change.
24798
24799 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24800 Disable obsolescence warnings in the file that declares it.
24801
24802 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24803
24804 * allout-widgets.el (allout-widgets-tally):
24805 Initialize allout-widgets-tally as a hash table rather than nil to
24806 prevent mode-line redisplay warnings. Also, clarify the module
24807 description and fix a comment typo.
24808
24809 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24810
24811 * help-fns.el (describe-variable): Don't complete keywords.
24812 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24813
24814 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24815
24816 * emacs-lisp/package.el (package-version-join): Impose a standard
24817 string representation for pre/alpha/beta version lists.
24818 (package-unpack-single): Standardize the directory name by passing
24819 it through package-version-join.
24820 (package-strip-rcs-id): Accept any version string that does not
24821 signal an error in version-to-list.
24822
24823 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24824
24825 * simple.el (delete-trailing-whitespace): Return nil for the
24826 benefit of `write-file-functions'.
24827
24828 2011-03-10 Glenn Morris <rgm@gnu.org>
24829
24830 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24831
24832 * vc/vc-git.el (vc-git-program): New option.
24833 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24834 (vc-git--call): Use it.
24835
24836 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24837
24838 * cus-edit.el (Custom-newline): If no button at point, look
24839 for a subgroup button at start-of-line. (Bug#2298)
24840
24841 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24842
24843 2011-03-10 Julien Danjou <julien@danjou.info>
24844
24845 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24846 `cursor-type' is nil.
24847
24848 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24849
24850 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24851
24852 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24853
24854 * allout.el: Change so yank of distinctive-bullet items
24855 preserves the existing header prefix, rebulleting it if necessary,
24856 rather than replacing it. This is necessary for proper operation
24857 of cooperative addons like allout-widgets.
24858 (allout-make-topic-prefix, allout-rebullet-heading):
24859 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24860 value as alternate bullet to be used, instead of prompting the user
24861 for a bullet character.
24862
24863 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24864
24865 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24866 Do not use `tramp-file-name-port', because this returns also
24867 `tramp-default-port'.
24868
24869 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24870
24871 * net/rcirc.el (rcirc-handler-001): Remove useless
24872 with-rcirc-process-buffer.
24873 (rcirc-check-auth-status): Swap arguments to string-match.
24874
24875 2011-03-09 Glenn Morris <rgm@gnu.org>
24876
24877 * shell.el (shell-mode):
24878 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24879
24880 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24881 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24882
24883 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24884
24885 * emacs-lisp/package.el (package-refresh-contents)
24886 (package-menu-execute): Use condition-case-no-debug.
24887
24888 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24889
24890 * simple.el (shell-command-to-string): Use `process-file'.
24891
24892 * emacs-lisp/package.el (package-tar-file-info): Handle also
24893 remote files.
24894
24895 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24896 Use `equal' for upload base check.
24897
24898 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24899
24900 * textmodes/texinfo.el (texinfo-environments):
24901 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24902
24903 2011-03-08 Glenn Morris <rgm@gnu.org>
24904
24905 * cus-start.el (cursor-in-non-selected-windows):
24906 Fix :set quoting oddness. (Bug#8192)
24907
24908 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24909 in some setf expressions. (Bug#2159)
24910
24911 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24912
24913 * custom.el (custom-available-themes): Return themes in
24914 alphabetical order.
24915
24916 See ChangeLog.15 for earlier changes.
24917
24918 ;; Local Variables:
24919 ;; coding: utf-8
24920 ;; End:
24921
24922 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24923
24924 This file is part of GNU Emacs.
24925
24926 GNU Emacs is free software: you can redistribute it and/or modify
24927 it under the terms of the GNU General Public License as published by
24928 the Free Software Foundation, either version 3 of the License, or
24929 (at your option) any later version.
24930
24931 GNU Emacs is distributed in the hope that it will be useful,
24932 but WITHOUT ANY WARRANTY; without even the implied warranty of
24933 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24934 GNU General Public License for more details.
24935
24936 You should have received a copy of the GNU General Public License
24937 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.