]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Auto-commit of loaddefs files.
[gnu-emacs] / lisp / ChangeLog
1 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp.el (tramp-obsolete-methods): New defconst.
4 (tramp-warned-obsolete-methods): New defvar.
5 (tramp-find-method): Check for obsolete methods. Map them to a
6 replacement method if appropriate.
7
8 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
9 Remove methods.
10 (top): Remove completion functions for "scp1", "scp2", "ssh1",
11 "ssh2" and "plink1".
12
13 2013-02-28 Dale Sedivec <dale@codefu.org>
14
15 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
16 Return valid syntax-table property value when converting
17 quotes within text from string syntax to punctuation syntax (bug#13844).
18
19 2013-02-28 Juri Linkov <juri@jurta.org>
20
21 * dired-aux.el (dired-diff): If file at point is a backup file,
22 use its original as the default value, and reverse the order
23 of arguments to the `diff' call. Doc fix. (Bug#13772)
24
25 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
26
27 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
28 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
29
30 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
31
32 Initial support for hunspell dictionaries auto-detection (Bug#13639)
33
34 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
35 Ask hunspell about available and default dictionaries.
36 (ispell-parse-hunspell-affix-file): Extract relevant info from
37 hunspell affix file.
38 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
39 `ispell-dictionary-alist' entry for given dictionary after info
40 provided by `ispell-parse-hunspell-affix-file'.
41 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
42 of parsed hunspell dicts and associated affix files.
43 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
44 of parsed hunspell dicts and associated parameters.
45 (ispell-set-spellchecker-params):
46 Call `ispell-find-hunspell-dictionaries' if hunspell and not
47 previously done.
48 (ispell-start-process):
49 Call `ispell-hunspell-fill-dictionary-entry' for current
50 dictionary if it is not initialized.
51
52 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
53
54 * imenu.el: Comment nitpicks.
55
56 2013-02-28 Sam Steingold <sds@gnu.org>
57
58 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
59 See <http://stackoverflow.com/questions/14720205>.
60
61 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
62
63 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
64 (net-utils-mode): Use it.
65 (net-utils--revert-cmd): New var.
66 (net-utils-run-simple): Set it, and remove bogus interactive spec.
67 (traceroute): Use net-utils-run-simple.
68
69 2013-02-28 Glenn Morris <rgm@gnu.org>
70
71 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
72
73 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
74
75 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
76 (doc-view-fallback-mode): Remove overlays here.
77 (doc-view-toggle-display): Instead of here. Don't throw away
78 image-mode-winprops-alist.
79 (doc-view-goto-page): Don't mess with hscroll.
80
81 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
82
83 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
84 &optional (bug#13819).
85
86 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
87
88 * net/tramp-adb.el (tramp-adb-parse-device-names)
89 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
90
91 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
92
93 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
94 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
95 defined. POSIX environments fall back to the "C" locale then and
96 emit a warning, which shall be suppressed.
97
98 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
99
100 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
101 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
102
103 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
106
107 2013-02-25 Juri Linkov <juri@jurta.org>
108
109 * replace.el (read-regexp): Let-bind `default' to the first
110 element of `defaults' if it's a list, otherwise it should be
111 a string or nil. Let-bind `suggestions' to `defaults' if it's
112 a list, otherwise make a list with the string value. Doc fix.
113 (Bug#13805)
114
115 2013-02-25 Eli Zaretskii <eliz@gnu.org>
116
117 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
118 that match "\`\.#", to avoid compiling lock files, even if they
119 are readable (as they are on MS-Windows).
120
121 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
122
123 * files.el (basic-save-buffer): Remove redundant directory-creation.
124
125 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
126
127 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
128 Add option to force `pi' to remain symbolic.
129 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
130 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
131 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
132 derivatives, when necessary.
133
134 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
135
136 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
137 (ps-mode-octal-region): Use string-make-unibyte.
138
139 2013-02-23 Glenn Morris <rgm@gnu.org>
140
141 * emulation/viper-cmd.el (viper-submit-report):
142 * progmodes/ps-mode.el (ps-mode-maintainer-address):
143 * progmodes/vera-mode.el (vera-mode-help-address):
144 * textmodes/artist.el (artist-maintainer-address):
145 * textmodes/reftex.el (reftex-report-bug):
146 * vc/ediff-util.el (ediff-submit-report):
147 Add bug-gnu-emacs to bug report address.
148
149 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
150 Remove bug report entries.
151 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
152
153 * emacs-lisp/bytecomp.el (byte-compile-level): New.
154 (byte-compile-file, byte-compile-from-buffer):
155 Use separate input/output buffers for each level of recursive
156 byte-compile-file calls. (Bug#13787)
157
158 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
159
160 * net/tramp.el (tramp-methods): Fix docstring.
161 (tramp-ssh-controlmaster-options): Rename it from
162 `tramp-ssh-controlmaster-template'. Return a string.
163 (tramp-default-method): Adapt check for
164 `tramp-ssh-controlmaster-options'.
165
166 * net/tramp-sh.el (tramp-methods):
167 Replace `tramp-ssh-controlmaster-template' by "%c".
168 (tramp-do-copy-or-rename-file-out-of-band)
169 (tramp-maybe-open-connection): Use it in format spec. Ensure,
170 that it is applied for the first hop only.
171
172 2013-02-22 Juri Linkov <juri@jurta.org>
173
174 * isearch.el (isearch-lazy-highlight-new-loop):
175 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
176 to `isearch-other-end' if it is not nil. (Bug#13402)
177
178 * replace.el (replace-highlight): Let-bind `isearch-other-end'
179 to `match-beg'.
180
181 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
182 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
183 and `isearch-error' to nil.
184
185 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
186
187 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
188
189 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
190 Handle multibyte file names.
191
192 2013-02-22 Glenn Morris <rgm@gnu.org>
193
194 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
195 (sgml-transformation-function): Give it a :set function.
196 (sgml-tag): Doc fix.
197
198 * cmuscheme.el (scheme-buffer):
199 * progmodes/inf-lisp.el (inferior-lisp-buffer):
200 * progmodes/tcl.el (inferior-tcl-buffer):
201 * textmodes/tex-mode.el (tex-command): Doc fixes.
202
203 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
204
205 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
206
207 2013-02-21 Bastien Guerry <bzg@gnu.org>
208
209 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
210
211 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
212
213 * progmodes/python.el (python-info-current-defun):
214 Enhance match-data cluttering prevention.
215
216 2013-02-21 Glenn Morris <rgm@gnu.org>
217
218 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
219 loaded while outline-regexp is let bound. (Bug#9584)
220
221 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
222
223 * progmodes/python.el (python-info-current-defun): Fix failed
224 defun name retrieval because of unwanted match-data cluttering.
225
226 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
227
228 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
229 defconst. Apply independent check for ControlPersist.
230
231 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
232 temporarily, via "env".
233
234 2013-02-21 Glenn Morris <rgm@gnu.org>
235
236 * info.el (Info-enable-edit): Remove.
237 (Info-edit): Disable it rather than using Info-enable.
238 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
239 (Info-cease-edit): Make editing of Info files obsolete.
240
241 * informat.el (Info-tagify):
242 Handle buffers not visiting files. (Bug#13763)
243
244 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
245
246 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
247
248 2013-02-21 Glenn Morris <rgm@gnu.org>
249
250 * files.el (basic-save-buffer): Move check for existing parent
251 directory after hooks. (Bug#13773)
252
253 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 * simple.el (command-execute): Move from C. Add obsolete check.
256 (extended-command-history): Move from C.
257
258 2013-02-20 Ulrich Müller <ulm@gentoo.org>
259
260 * jka-cmpr-hook.el (jka-compr-compression-info-list)
261 (jka-compr-mode-alist-additions): Handle .txz suffix for
262 XZ-compressed tar archives (bug#13770).
263
264 2013-02-20 Bastien Guerry <bzg@gnu.org>
265
266 * outline.el (outline-regexp, outline-heading-end-regexp):
267 Make variables, not options (bug#13731).
268
269 2013-02-20 Glenn Morris <rgm@gnu.org>
270
271 * image.el (image-current-frame): Change from variable to function.
272 (image-show-frame): Rename from image-nth-frame. Update callers.
273 * image-mode.el (image-multi-frame): New variable.
274 (image-mode-map, image-mode, image-goto-frame):
275 Use image-multi-frame rather than image-current-frame.
276 (image-mode, image-goto-frame): Use image-current-frame as
277 function rather than as variable.
278
279 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
280 * emacs-lisp/cl-macs.el (cl--make-type-test)
281 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
282
283 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
284
285 * net/tramp-cache.el (tramp-get-hash-table): New defun.
286 (tramp-get-file-property, tramp-set-file-property)
287 (tramp-get-connection-property, tramp-set-connection-property): Use it.
288 (tramp-flush-file-property, tramp-flush-directory-property):
289 Rename argument to KEY.
290 (tramp-flush-connection-property): Simplify a little bit.
291 (tramp-connection-property-p): New defun.
292 (top): Reapply saved values only if there isn't a corresponding
293 entry in `tramp-connection-properties'.
294
295 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
296
297 * progmodes/python.el (python-indent-context):
298 Fix python-info-line-ends-backslash-p call.
299 (python-info-line-ends-backslash-p)
300 (python-info-beginning-of-backslash): Respect line-number argument.
301 (python-info-current-line-comment-p):
302 Fix behavior when not at beginning-of-line.
303 (python-util-position): Remove function.
304 (python-util-goto-line): New function.
305
306 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
307
308 * eshell/em-unix.el (eshell/su): Require tramp.
309 (eshell/sudo): Require tramp. Remove now unnecessary check.
310
311 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
312 `tramp-current-connection' in order to avoid an error when several
313 commands are invoked in a short time in eshell and friends.
314
315 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 Cleanup some of EIEIO's namespace.
318 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
319 Use it to define all the class-* and object-* field accessors (renamed
320 to eieio--class-* and eieio--object-*). Update all uses.
321 (eieio--class-num-slots, eieio--object-num-slots): Rename from
322 class-num-slots and object-num-slots.
323 (eieio--check-type): New macro.
324 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
325 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
326 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
327 (object-assoc-list-safe): Use it.
328 (eieio-defclass): Tighten regexp.
329 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
330 Remove unreachable code.
331 (object-class-fast): Declare obsolete.
332 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
333 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
334 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
335 Rename from class-name, object-name, object-set-name-string,
336 object-class, object-class-name, class-parents, class-children,
337 class-precedence-list, class-parent; with obsolete alias.
338 (class-of, class-direct-superclasses, class-direct-subclasses):
339 Declare obsolete.
340 (eieio-defmethod): Use `memq'; remove unreachable code.
341 * emacs-lisp/eieio-base.el (eieio-persistent-read):
342 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
343 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
344
345
346 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
347
348 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
349 Use font-lock-keyword-face for macros and special forms (bug#8345).
350
351 2013-02-17 Didier Verna <didier@didierverna.net>
352
353 * net/network-stream.el (network-stream-open-starttls):
354 Check that response to the starttls-command is non-nil. (Bug#13706)
355
356 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
357
358 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
359 Don't assume all identifier chars have syntax word.
360 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
361 Remove bar-not-symbol. Adjust callers.
362 (lisp-mode-variables): Don't set a font-lock-syntax-table.
363
364 2013-02-17 Leo Liu <sdl.web@gmail.com>
365
366 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
367
368 2013-02-17 Glenn Morris <rgm@gnu.org>
369
370 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
371
372 * image-mode.el (image-mode-map): Add image-dired menu entry.
373
374 * image-dired.el (tumme): Make this alias obsolete.
375
376 2013-02-16 Glenn Morris <rgm@gnu.org>
377
378 * image.el (image-animated-types): Remove.
379 (image-multi-frame-p): Rename from image-animated-p, and generalize.
380 (image-animated-p): Make obsolete alias.
381 (image-animate, image-nth-frame, image-animate-timeout):
382 Use image-multi-frame-p.
383 (image-animate-timeout): If no delay, use image-default-frame-delay.
384 * image-mode.el (image-mode, image-toggle-animation):
385 Use image-multi-frame-p. (Bug#763, bug#10739)
386 (image-mode): Adjust startup message for a multi-frame image.
387
388 * image-mode.el (image-mode-map): Give it a menu.
389
390 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
391
392 * net/tramp-cache.el (tramp-connection-properties): New customer
393 option.
394 (tramp-get-connection-property): Use it.
395
396 * net/tramp-compat.el (top): Require 'trampver.
397
398 * net/tramp-sh.el (tramp-remote-process-environment):
399 Set tramp-autoload cookie.
400
401 2013-02-16 Kevin Ryde <user42@zip.com.au>
402
403 * info-look.el (info-lookup-select-mode): If major-mode has no
404 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
405
406 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
407
408 * replace.el (read-regexp): Tighten the regexp that matches tag.
409 When tag is retrieved with `find-tag-default', use regexp that
410 matches tag at point. Also update docstring (Bug#13687).
411
412 2013-02-16 Eli Zaretskii <eliz@gnu.org>
413
414 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
415 add watch for the file, not its parent directory, since w32notify
416 sets up the watch for the directory internally. (Bug#13725)
417
418 2013-02-16 Glenn Morris <rgm@gnu.org>
419
420 * image.el (image-default-frame-delay): New variable.
421 (image-animated-p): Use image-default-frame-delay.
422 (image-minimum-frame-delay): New constant.
423 (image-animate-timeout): Use image-minimum-frame-delay.
424
425 * image.el (image-nth-frame): New, split from image-animate-timeout.
426 (image-animate-timeout): Use image-nth-frame.
427 * image-mode.el (image-goto-frame, image-next-frame)
428 (image-previous-frame): New commands.
429 (image-mode-map): Add new frame commands.
430
431 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
432
433 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
434 If col-desc already has help-echo, use it. (Bug#13563)
435
436 2013-02-16 Glenn Morris <rgm@gnu.org>
437
438 * image.el (image-current-frame): New variable.
439 (image-animate-timeout): Set image-current-frame.
440 * image-mode.el (image-mode): For animated images,
441 display a frame counter via mode-line-process.
442
443 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
444
445 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
446
447 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
448
449 2013-02-15 Alan Mackenzie <acm@muc.de>
450
451 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
452 global minor mode has been enabled, call the minor mode function
453 for a new buffer once only, after the major mode hook, whilst
454 allowing that hook explicitly to disable the minor mode.
455 (MODE-disable-in-buffer): New (generated) function.
456 (disable-MODE): New (generated) buffer local variable.
457
458 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
459
460 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
461 `iswitchb-next-match' and `iswitchb-prev-match' resply.
462 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
463 `ido-next-match' and `ido-prev-match' resply.
464 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
465 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
466 `icomplete-backward-completions' (Bug#13708).
467
468 2013-02-15 Glenn Morris <rgm@gnu.org>
469
470 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
471
472 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
473
474 * net/goto-addr.el (goto-address-fontify): Add start and end args.
475 (goto-address-fontify-region): Use them instead of narrowing, so
476 syntax-ppss has access to the whole buffer.
477
478 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
479
480 * progmodes/python.el: Explain how to restore "cc-mode"-like
481 forward-sexp movement in header documentation (Bug#13642).
482 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
483 comments and strings (GH bug 114).
484
485 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
486
487 * progmodes/python.el (python-info-current-defun): Fix current
488 defun detection (Bug#13618).
489
490 2013-02-15 Chong Yidong <cyd@gnu.org>
491
492 * xml.el (xml-parse-string): Fix typo in handling of bad character
493 references.
494
495 2013-02-15 Glenn Morris <rgm@gnu.org>
496
497 * play/fortune.el (fortune-compile): Simplify and fix previous change.
498
499 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
500
501 * net/tramp.el (tramp-debug-message):
502 Add `tramp-condition-case-unless-debug'.
503 (tramp-debug-on-error): New defvar.
504 (tramp-condition-case-unless-debug): New defun.
505 (tramp-file-name-handler): Use it.
506
507 2013-02-14 Juri Linkov <juri@jurta.org>
508
509 * info.el (Info-isearch-filter): Treat non-nil values of
510 `search-invisible' including its default value `open'
511 like the value `t' to match hidden text. (Bug#13402)
512
513 2013-02-14 Glenn Morris <rgm@gnu.org>
514
515 * help-fns.el (find-lisp-object-file-name): Give special treatment
516 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
517
518 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
519
520 * net/quickurl.el (quickurl-save-urls):
521 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
522
523 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
524
525 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
526 depth for unfinished percent literal. Not using it in the caller.
527 (ruby-move-to-block): Jump over multiline literals of all types,
528 ignoring code-looking contents inside them.
529 (ruby-add-log-current-method): Improve performance at the expense
530 of accuracy. `ruby-block-contains-point' is relatively slow, so
531 only use it for method and singleton class blocks.
532
533 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
534
535 Use ControlMaster where applicable. (Bug#13677)
536
537 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
538 replacing `tramp-detect-ssh-controlmaster'.
539 (tramp-default-method): Use it.
540
541 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
542 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
543 arguments.
544 [scpc, rsyncc]: Remove methods.
545 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
546 and "ssh2_old".
547 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
548 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
549
550 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
551
552 * emacs-lisp/package.el (package--initialized): Move before first use.
553
554 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
555
556 * icomplete.el (icomplete-hide-common-prefix): New user option.
557 (icomplete-first-match): New face.
558 (icomplete-completions): Correct handling of "complete but not
559 unique" (Bug#12638).
560
561 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
562
563 * descr-text.el (describe-char): Display the script (bug#13698).
564
565 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
566
567 * tmm.el: Use lexical-binding and current-active-maps.
568 (tmm-menubar): Use map-keymap and pcase.
569 (tmm--completion-table): New function.
570 (tmm-prompt): Use it to fix the menu order.
571 (tmm-get-keybind): Use current-active-maps.
572
573 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
574
575 Add dired-hide-details-mode. (Bug#6799)
576
577 * locate.el (locate-mode): Set parent mode property to dired-mode.
578
579 * find-dired.el (find-dired): Call dired-insert-set-properties on
580 initial information line. Set process mark on end of buffer.
581 (find-dired-sentinel):
582 Call dired-insert-set-properties on summary.
583
584 * dired.el (dired-hide-details-hide-symlink-targets)
585 (dired-hide-details-hide-information-lines): New options.
586 (dired-insert-directory):
587 Set properties after final treatment of output.
588 (dired-insert-set-properties):
589 Set dired-hide-details-* properties.
590 (dired-mode-map): Bind dired-hide-details-mode.
591 (dired-mode): Set buffer-invisibility-spec to a list.
592 (dired-next-line): Skip hidden lines.
593 (dired-previous-line): Use dired-next-line.
594 (dired-hide-details-mode): New minor mode.
595 (dired-hide-details-update-invisibility-spec): New function.
596
597 2013-02-13 Glenn Morris <rgm@gnu.org>
598
599 * play/yow.el: Move to obsolete/. (Bug#9384)
600
601 2013-02-13 Juri Linkov <juri@jurta.org>
602
603 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
604 to select `ediff-control-frame' and set input focus correctly on Xfce.
605 (Bug#12218)
606
607 2013-02-13 Juri Linkov <juri@jurta.org>
608
609 * image-mode.el (image-mode-map):
610 * doc-view.el (doc-view-mode-map):
611 * vc/ediff-util.el (ediff-setup-keymap):
612 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
613
614 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
615
616 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
617 performance. Instead of recalculating indentation fully for each
618 line, sum up indentation depth based only on visited lines.
619 (ruby-parse-partial): Increase the depth after "do" even when END
620 is right after it.
621 (ruby-parse-partial): When END is in the middle of a percent
622 literal, increase the depth if the delimiter chars belong to the
623 paren syntax class.
624
625 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
626
627 * play/fortune.el (fortune-compile): Also make the compiled file
628 if it does not exist at all, not just if it is old. (Bug#5338)
629
630 2013-02-13 Glenn Morris <rgm@gnu.org>
631
632 * emacs-lisp/package.el (package-menu-execute): Doc fix.
633
634 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
635
636 * lisp/emacs-lisp/package.el (package-menu-execute):
637 Add optional noquery argument. (Bug#13625)
638
639 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
640
641 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
642 if DIR exists and PARENTS is non-nil.
643
644 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
645
646 * progmodes/js.el (js--multi-line-declaration-indentation):
647 Silence byte-compiler warning.
648
649 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
650
651 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
652
653 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
654 only if it doesn't exist.
655
656 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
657 Set process marker.
658
659 2013-02-12 Tassilo Horn <tsdh@gnu.org>
660
661 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
662 UserInstallation when calling soffice to work around LibreOffice
663 bug 37531.
664
665 2013-02-12 Glenn Morris <rgm@gnu.org>
666
667 * files.el (basic-save-buffer):
668 Offer to create a non-existing directory. (Bug#3016)
669
670 * calc/calc-graph.el (calc-graph-show-dumb):
671 * calendar/calendar.el (calendar-mode-map):
672 * cus-edit.el (custom-mode-map):
673 * ehelp.el (electric-help-map):
674 * emulation/vip.el (vip-mode-map):
675 * epa.el (epa-key-list-mode-map):
676 * info.el (Info-mode-map):
677 * mail/rmail.el (rmail-mode-map):
678 * mail/rmailsum.el (rmail-summary-mode-map):
679 * man.el (Man-mode-map):
680 * net/newst-plainview.el (newsticker-mode-map):
681 * progmodes/cpp.el (cpp-edit-mode-map):
682 * progmodes/grep.el (grep-mode-map):
683 * progmodes/idlw-help.el (idlwave-help-mode-map):
684 * simple.el (special-mode-map):
685 * startup.el (splash-screen-keymap):
686 * view.el (view-mode-map):
687 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
688
689 2013-02-11 Elias Pipping <pipping@lavabit.com>
690
691 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
692 (bug#13679).
693
694 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
695
696 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
697
698 2013-02-11 Glenn Morris <rgm@gnu.org>
699
700 * vc/diff.el (diff-use-labels): New variable.
701 (diff-no-select): Use --label rather than -L, and first
702 check that it is supported. (Bug#11067)
703
704 * files.el (enable-dir-local-variables): New variable.
705 (hack-dir-local-variables): Respect enable-dir-local-variables.
706 * tutorial.el (help-with-tutorial):
707 Ignore directory-local variables. (Bug#11127)
708
709 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
710 (vc-svn-global-switches): ... to here. (Bug#13513)
711
712 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
713
714 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
715 Handle "foo (bar, default: xxx): " prompts.
716
717 2013-02-10 Chong Yidong <cyd@gnu.org>
718
719 * files.el (basic-save-buffer-1): Do not set
720 buffer-file-coding-system-explicit (Bug#4533).
721
722 * mail/emacsbug.el (report-emacs-bug): Change binding of
723 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
724
725 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
726
727 * calc/calc.el (calc-allow-units-as-numbers): New variable.
728 * calc/calc-units.el (calc-convert-units): Use new variable.
729
730 2013-02-09 Eli Zaretskii <eliz@gnu.org>
731
732 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
733
734 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
735 buffer-file-type.
736
737 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
738 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
739 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
740 coding-system-for-write instead.
741
742 * jka-compr.el (jka-compr-write-region): Don't bind
743 buffer-file-type.
744
745 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
746 buffer-file-type.
747
748 * files.el (file-name-buffer-file-type-alist): Remove defvar.
749 (insert-file-contents-literally): Remove reference to
750 file-name-buffer-file-type-alist.
751
752 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
753 make-obsolete.
754 (find-buffer-file-type-match, find-buffer-file-type): Remove.
755 (find-buffer-file-type-coding-system): Remove references to
756 find-buffer-file-type-match, find-buffer-file-type, and
757 buffer-file-type.
758 Don't put find-buffer-file-type-coding-system into
759 file-coding-system-alist.
760 (find-file-binary, find-file-text): Bind coding-system-for-read
761 instead of file-name-buffer-file-type-alist.
762
763 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
764
765 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
766 converter (Bug#13622).
767 (doc-view-unoconv-program): Make obsolete alias.
768 (doc-view-odf->pdf-converter-program): New variable.
769 (doc-view-odf->pdf-converter-function): New variable.
770 (doc-view-mode-p): Use it.
771 (doc-view-odf->pdf-converter-unoconv):
772 Rename from `doc-view-odf->pdf-converter-unoconv'.
773 (doc-view-odf->pdf-converter-soffice): New function.
774 (doc-view-convert-current-doc):
775 Use `doc-view-odf->pdf-converter-function'.
776
777 2013-02-09 Chong Yidong <cyd@gnu.org>
778
779 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
780 view-echo-area-messages (Bug#13340).
781
782 * help.el (view-echo-area-messages): Use display-buffer.
783
784 * dired-x.el (dired-do-run-mail): Prompt for confirmation
785 (Bug#13561).
786
787 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
790 Eval body right away, now that we do eager macroexpansion (bug#13605).
791
792 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
793 (fundamental-mode): Use run-mode-hooks.
794
795 * eshell/esh-proc.el (eshell/kill): Fix last change.
796 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
797
798 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
799
800 * eshell/esh-proc.el (eshell/kill): Rewrite.
801
802 * eshell/em-ls.el (show-almost-all): Declare.
803 (eshell-do-ls): Add support for -A argument.
804
805 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
806
807 * icomplete.el (icomplete-forward-completions)
808 (icomplete-backward-completions): Handle corner case (bug#13602).
809
810 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
811
812 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
813 be nil. Handle this. (Bug#13636)
814
815 2013-02-07 Richard Stallman <rms@gnu.org>
816
817 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
818 `save-buffer-coding-system'.
819
820 2013-02-07 Alan Mackenzie <acm@muc.de>
821
822 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
823 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
824 (c-parse-state-get-strategy): Don't return 'BOD any more.
825 (c-append-lower-brace-pair-to-state-cache):
826 Extra parameter HERE instead of narrowing.
827 Widen to top of buffer before searching backwards for a brace pair.
828 (c-state-push-any-brace-pair): Add HERE parameter to function call.
829 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
830 Narrow to parameter HERE, in place of being called narrowed.
831 (c-remove-stale-state-cache): Extra parameter HERE in place of
832 narrowing. Check there's an open brace in the cache before
833 searching for its match.
834 (c-invalidate-state-cache-1): Add HERE parameter to function call.
835 (c-parse-state-1): Don't narrow here for 'forward strategy,
836 instead passing extra parameter HERE to several functions.
837 Remove 'BOD strategy.
838
839 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
840
841 * emacs-lisp/package.el (describe-package-1): Tell what archive is
842 used to install the package.
843
844 2013-02-06 Glenn Morris <rgm@gnu.org>
845
846 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
847 if we can't get user input. (Bug#6567)
848
849 * startup.el (command-line): If simple.el is missing,
850 test and warn about for some possible causes.
851
852 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
853
854 * cus-start.el (all): Add ns-use-native-fullscreen.
855
856 2013-02-05 Glenn Morris <rgm@gnu.org>
857
858 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
859
860 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
861 Fix directory creation in fallback case.
862
863 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
864
865 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
866 (vc-update-change-log): Use dolist.
867
868 2013-02-04 Chong Yidong <cyd@gnu.org>
869
870 * thingatpt.el: Rewrite the URL detection routines, absorbing some
871 code from ffap.el.
872 (thing-at-point-beginning-of-url-regexp): New var.
873 (thing-at-point-uri-schemes): Update list of URI schemes.
874 (thing-at-point-url-regexp): Variable deleted.
875 (thing-at-point-markedup-url-regexp): Disallow newlines.
876 (thing-at-point-newsgroup-regexp)
877 (thing-at-point-newsgroup-heads)
878 (thing-at-point-default-mail-uri-scheme): New variables.
879 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
880 method to find the possible bounds of the URI at point.
881 New optional argument to find ill-formed URIs.
882 (thing-at-point-url-at-point): Rewrite. New arguments for finding
883 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
884 the scheme-adding heuristics from ffap-url-at-point.
885 (thing-at-point--bounds-of-well-formed-url): New function.
886 Do parens matching to decide whether to include parens in the URI
887 (Bug#9153).
888
889 * ffap.el: Require thingatpt.
890 (ffap-url-at-point): Delegate URI detection to thing-at-point.
891 All URI-valid characters are now recognized (Bug#5673).
892 (ffap-string-at-point): Use use-region-p.
893 (ffap-url-regexp): Extra character is handled by thing-at-point.
894 (ffap-string-at-point-mode-alist): Allow parentheses.
895 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
896 Convert to aliases; code moved to thingatpt.el.
897 (ffap-gnus-hook): Use setq-local.
898
899 2013-02-04 Glenn Morris <rgm@gnu.org>
900
901 * emacs-lisp/ert.el (ert--explain-format-atom):
902 Don't try to print non-characters as characters. (Bug#13543)
903
904 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
905
906 * net/tramp.el (tramp-debug-message): Extend function exclude list.
907 (tramp-backtrace): New defun.
908 (tramp-handle-insert-file-contents): Use `visit' when inserting
909 the local copy.
910
911 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
912 Use `remote-file-name-inhibit-cache'.
913
914 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
915
916 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
917 (bug#13614).
918
919 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
920 current-load-list (bug#13366).
921
922 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
923
924 * progmodes/compile.el (compilation-error-regexp-alist-alist):
925 Identify g++ template instantiation trace. (Bug#12287)
926 (compilation-mode-hook, compilation-start-hook)
927 (compilation-window-height): Simplify docstrings. (Bug#13379)
928
929 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
930
931 * mouse.el (mouse-drag-track): Always deactivate the mark before
932 running the final event's command since that command is in charge of
933 activating the mark if needed (bug#13523).
934
935 2013-02-02 Juri Linkov <juri@jurta.org>
936
937 * replace.el (perform-replace): Move let-bindings of isearch-*
938 variables deeper to the loop that searches for the next match.
939 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
940 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
941 (Bug#13579)
942
943 * isearch.el (isearch-search-fun-default): Check for null
944 first element of isearch-cmds as a precaution when it's used
945 with inactive isearch.
946
947 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
948
949 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
950 error when buffer in question is narrowed so position 1 is out of
951 visible part.
952
953 2013-02-02 Glenn Morris <rgm@gnu.org>
954
955 * textmodes/remember.el (remember-clipboard): Doc fix.
956
957 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
960 properties (bug#13179).
961
962 2013-02-02 Juri Linkov <juri@jurta.org>
963
964 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
965 instead of hard-coded default face `match'. (Bug#9438)
966
967 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
968
969 * vc/vc-arch.el (vc-arch-registered):
970 * vc/vc-bzr.el (vc-bzr-registered):
971 * vc/vc-cvs.el (vc-cvs-registered):
972 * vc/vc-git.el (vc-git-registered):
973 * vc/vc-hg.el (vc-hg-registered):
974 * vc/vc-mtn.el (vc-mtn-registered):
975 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
976 (Bug#13139)
977
978 * info.el (Info-next-reference, Info-prev-reference): Add numeric
979 prefix argument. (Bug#11656)
980
981 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
982
983 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
984
985 2013-02-01 Glenn Morris <rgm@gnu.org>
986
987 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
988 if the backend is known not to support it.
989
990 * imenu.el (imenu-default-create-index-function):
991 Tweak infinite loop test to check for forward motion as well as none.
992
993 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
994
995 * net/soap-client.el (soap-invoke): Encode the string for
996 `url-request-data' as UTF-8.
997 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
998
999 2013-02-01 Glenn Morris <rgm@gnu.org>
1000
1001 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1002
1003 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1004
1005 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1006
1007 * net/tramp.el (tramp-tramp-file-p): Comment check for
1008 `string-as-unibyte'. The function does not exist on XEmacs, and
1009 likely we need another approach.
1010
1011 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1012 `tramp-gw-*' variables are bound.
1013
1014 2013-01-31 Glenn Morris <rgm@gnu.org>
1015
1016 * files.el (basic-save-buffer-2): Choose coding system for
1017 writing the file before backing it up, to reduce delay between
1018 backing up and writing the new version. (Bug#13522)
1019
1020 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1021
1022 * simple.el (cycle-spacing): New command.
1023 (just-one-space): Use it.
1024
1025 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1028 (opascal-newline-always-indents): Remove custom.
1029 (opascal-tab, opascal-newline): Remove commands.
1030 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1031 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1032 (opascal-save-match-data): Remove, use save-match-data instead.
1033 (opascal-save-state): Use with-silent-modifications.
1034
1035 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1036 (bug#13585).
1037
1038 2013-01-30 Juri Linkov <juri@jurta.org>
1039
1040 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1041 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1042 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1043
1044 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1045
1046 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1047 column if we're just deleting the backslashes.
1048 (makefile-fill-paragraph): Use eolp.
1049
1050 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1051
1052 * autorevert.el (auto-revert-use-notify): Fix docstring.
1053
1054 2013-01-30 Leo Liu <sdl.web@gmail.com>
1055
1056 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1057
1058 2013-01-30 Glenn Morris <rgm@gnu.org>
1059
1060 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1061 unread-command-events twice in some cases. This tries to implement
1062 the 2012-07-26 changes in a different way. (Bug#13560)
1063
1064 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1065
1066 * progmodes/python.el
1067 (python-pdbtrack-comint-output-filter-function): Enhancements on
1068 stacktrace detection. (thanks @gnovak)
1069
1070 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1071
1072 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1073 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1074 Use defvar-local.
1075 (jit-lock-register): Use setq-local.
1076
1077 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1078
1079 * calc-units.el (math-default-units-table): Remove initial value.
1080 (calc-convert-units): Treat expressions where all the units cancel as
1081 if they didn't have units.
1082
1083 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1084
1085 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1086 (tramp-completion-reread-directory-timeout): Fix type.
1087 (tramp-connection-min-time-diff): New defcustom.
1088
1089 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1090
1091 2013-01-30 Glenn Morris <rgm@gnu.org>
1092
1093 * imenu.el (imenu-default-create-index-function):
1094 Put back a version of the infinite loop test removed 2013-01-23.
1095
1096 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1097
1098 * progmodes/python.el (python-shell-parse-command):
1099 Find python-shell-interpreter with modified environment.
1100
1101 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1102
1103 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1104
1105 2013-01-29 Alan Mackenzie <acm@muc.de>
1106
1107 Amend to fontify /regexp/s in actions correctly.
1108 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1109 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1110 are no longer included.
1111 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1112 What used to be these variables without "-line" in the name.
1113 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1114 (c-awk-non-arith-op-bra-re): Now also matches {.
1115 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1116 "return", and "case".
1117 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1118 by /.
1119 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1120 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1121
1122 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1123
1124 * autorevert.el (auto-revert-use-notify):
1125 Use `custom-initialize-default' for initialization. (Bug#13583)
1126
1127 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1128
1129 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1130 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1131 in `tramp-file-name-handler'.
1132 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1133 compatibility.
1134 (tramp-compute-multi-hops): Check, whether
1135 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1136
1137 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1138
1139 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1140 (bug#13297).
1141
1142 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1143
1144 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1145 checks made superfluous by the \_< operator.
1146 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1147 temporarily) broken indentation.
1148 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1149 Highlight nested constants, too. \_< broke that.
1150
1151 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1152
1153 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1154 instead of "\\b".
1155
1156 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1157
1158 * autorevert.el (auto-revert-handler): Notifications which result
1159 from a saved file shall not be taken into account. (Bug#13557)
1160
1161 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1162
1163 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1164 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1165 (lisp-mode): Pass t for it. (Bug#13556)
1166
1167 2013-01-25 Alan Mackenzie <acm@muc.de>
1168
1169 AWK Mode: Fix indentation bug at top level. Bug #12274.
1170
1171 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1172 just before CASE 5D.
1173
1174 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1175
1176 * net/socks.el (socks-nslookup-host): Use string-to-number.
1177
1178 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1179
1180 * autorevert.el (auto-revert-remote-files)
1181 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1182 (auto-revert-notify-enabled, auto-revert-use-notify)
1183 (auto-revert-notify-watch-descriptor-hash-list)
1184 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1185 (auto-revert-notify-event-descriptor)
1186 (auto-revert-notify-event-action)
1187 (auto-revert-notify-event-file-name): Doc fix.
1188 (global-auto-revert-mode): Reorder checks.
1189 (auto-revert-notify-rm-watch): Respect changed values of
1190 `auto-revert-notify-watch-descriptor-hash-list'.
1191 (auto-revert-notify-add-watch): Check for
1192 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1193 `inotify-add-watch'. Watch `default-directory' instead of
1194 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1195 has a changed meaning now. (Bug#13540)
1196 (auto-revert-notify-handler): Change implementation wrt events
1197 returning from a directory.
1198 (auto-revert-handler): Reorder implementation for checks of remote
1199 files.
1200 (auto-revert-buffers): Fix parentheses error.
1201
1202 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1203
1204 * progmodes/python.el: Enhancements to header documentation about
1205 skeletons. (Bug#5716)
1206
1207 * imenu.el (imenu-default-create-index-function): Remove useless
1208 infinite loop check. (Bug#13438)
1209
1210 2013-01-25 Alan Mackenzie <acm@muc.de>
1211
1212 Fix a bug in the state cache mechanism. Refactor this a bit.
1213
1214 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1215 `cache-pos' element from the return value.
1216 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1217 buffer to enable proper searching from beyond HERE. Amend the
1218 test for detecting the sought brace pair. Amend the value written
1219 to the "brace desert cache" when the brace isn't found.
1220 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1221 and several other variables analogously.
1222 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1223 parameter to a locally calculated variable.
1224 (c-parse-state-1): Change the calling conventions to the two
1225 defuns involving `cache-pos'.
1226
1227 2013-01-25 Chong Yidong <cyd@gnu.org>
1228
1229 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1230
1231 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1232
1233 * paren.el (show-paren-function): Make sure to set 'priority and
1234 'face only if the overlay does exist.
1235
1236 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1237
1238 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1239
1240 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1241 basic attributes.
1242 (tramp-sh-handle-set-file-acl): Improve error checking.
1243
1244 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1245
1246 * doc-view.el (doc-view-display): Force mode line update until all
1247 document is converted. Suggested by Stefan Monnier (Bug#13164).
1248
1249 2013-01-23 Bastien Guerry <bzg@gnu.org>
1250
1251 * paren.el (show-paren-function): Make sure an overlay exists
1252 before trying to delete it. Also use `pos' as a position only
1253 when it is an integer.
1254
1255 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1256
1257 * play/gametree.el (gametree-break-line-here): Use point-marker.
1258
1259 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1260
1261 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1262 Mark descriptive parts with `display' property.
1263
1264 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1265
1266 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1267 New variable to map standard dict names to hunspell ones.
1268 (ispell-set-spellchecker-params): Make sure specific dict names
1269 are used for standard dicts with hunspell.
1270
1271 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1272
1273 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1274 chars for note (%N) and url (%U).
1275 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1276
1277 2013-01-21 Juri Linkov <juri@jurta.org>
1278
1279 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1280 in addition to existing separate binding `meta f10' in `global-map'.
1281 (Bug#13484)
1282
1283 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1284
1285 Improve XEmacs compatibility.
1286
1287 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1288
1289 * net/tramp-adb.el (top): Require `time-date'.
1290 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1291 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1292 Use `tramp-file-name-handler'.
1293 (tramp-adb-maybe-open-connection):
1294 Use `tramp-compat-set-process-query-on-exit-flag'.
1295
1296 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1297 Use `tramp-compat-funcall'.
1298
1299 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1300 `tramp-compat-funcall'.
1301
1302 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1303
1304 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1305 reimplementation using "adb shell command ..." instead of running
1306 remote shell interactively.
1307
1308 2013-01-20 Glenn Morris <rgm@gnu.org>
1309
1310 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1311 Add native profiler menu entries.
1312
1313 * profiler.el (profiler-running-p): New function.
1314 (profiler-cpu-profile): Use profiler-running-p.
1315 (profiler-report-mode-map): Add some more menu entries.
1316
1317 2013-01-19 Glenn Morris <rgm@gnu.org>
1318
1319 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1320 fixes 2012-12-07 change. (Bug#13499)
1321
1322 2013-01-19 Leo Liu <sdl.web@gmail.com>
1323
1324 * dired.el (dired-get-marked-files): Prune erroneous values due to
1325 last change. (Bug#13152)
1326
1327 2013-01-19 Glenn Morris <rgm@gnu.org>
1328
1329 * progmodes/etags.el (tags-table-check-computed-list):
1330 Preserve point in tags buffer. (Bug#13412)
1331
1332 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1333
1334 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1335 Chong Yidong <cyd@gnu.org>
1336
1337 * image-mode.el (image-next-file, image-previous-file):
1338 New commands (Bug#8453).
1339 (image-mode-map): Bind them to n and p.
1340 (image-mode--images-in-directory): New helper function.
1341
1342 2013-01-19 Chong Yidong <cyd@gnu.org>
1343
1344 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1345 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1346 save and restore the old window configuration.
1347
1348 2013-01-18 Leo Liu <sdl.web@gmail.com>
1349
1350 * progmodes/js.el: Tweak autoload cookie for alias.
1351
1352 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1353
1354 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1355 buffer local, again. This was lost with the fix on 2013-01-12.
1356
1357 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1358
1359 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1360 order to support several eshell buffers in parallel.
1361
1362 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1363
1364 * autorevert.el (auto-revert-use-notify): In the :set function, do
1365 not modify `kill-buffer-hook'.
1366 (auto-revert-notify-rm-watch):
1367 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1368 (auto-revert-notify-add-watch): Do not call
1369 `auto-revert-notify-rm-watch', but add it to a buffer local
1370 `kill-buffer-hook'.
1371
1372 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1373
1374 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1375 call to `eval' rather than a backquoted lambda.
1376
1377 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1378
1379 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1380 to return an explicit nil.
1381 (advice--remove-function): Change accordingly.
1382
1383 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1384 the use of nadvice.el.
1385
1386 * progmodes/which-func.el (which-function): Silence imenu errors
1387 (bug#13433).
1388
1389 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1390
1391 * progmodes/sql.el: (sql-imenu-generic-expression):
1392 (sql-mode-font-lock-object-name): Match schema qualified names.
1393 (sql-connect): Use string keys.
1394 (sql-product-interactive): Wait for interpreter prompt.
1395 (sql-comint-oracle): Set process coding based on NLS_LANG.
1396
1397 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1398
1399 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1400 (sql-interactive-remove-continuation-prompt):
1401 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1402
1403 2013-01-14 Leo Liu <sdl.web@gmail.com>
1404
1405 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1406 (Bug#13420)
1407
1408 2013-01-14 Glenn Morris <rgm@gnu.org>
1409
1410 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1411 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1412
1413 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1414
1415 * progmodes/python.el (python-nav-end-of-statement):
1416 Fix cornercase when handling multiline strings.
1417
1418 2013-01-13 Richard Stallman <rms@gnu.org>
1419
1420 * mail/sendmail.el (mail-position-on-field): Add doc string.
1421
1422 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1423 Get current message boundaries and pass them to
1424 message-forward-make-body-mime. Minor style changes.
1425
1426 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1427
1428 * cus-start.el (all): Avoid warnings about
1429 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1430
1431 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1432
1433 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1434
1435 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1438 (jit-lock--debug-fontifying): New var.
1439 (jit-lock--debug-fontify): New function.
1440 * subr.el (condition-case-unless-debug): Don't prevent catching the
1441 error, just let the debbugger run.
1442 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1443 timer code and don't drop errors silently.
1444
1445 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1446
1447 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1448 `permanent-local' property.
1449 (auto-revert-notify-handler): Use `file-equal-p'.
1450
1451 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1452
1453 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1454 file notification by ACTION. For filtering by file name, compare
1455 only the non-directory part of the file name.
1456
1457 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * autorevert.el: Use cl-lib instead of cl.
1460
1461 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1462 (vc-bzr-checkin): Use it.
1463 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1464 will preserve match-data.
1465
1466 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1467
1468 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1469 (js--declaration-keyword-re): New var.
1470 (js--multi-line-declaration-indentation): New function.
1471 (js--proper-indentation): Use it.
1472
1473 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1474
1475 * calc/calc.el (calc-highlight-selections-with-faces)
1476 (calc-dispatch):
1477 * comint.el (comint-history-isearch-message):
1478 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1479 * ffap.el (ffap-string-at-point-region, ffap-next)
1480 (ffap-string-at-point, ffap-string-around)
1481 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1482 (ffap-literally):
1483 * font-lock.el (font-lock-keywords-alist)
1484 (font-lock-removed-keywords-alist):
1485 * help-mode.el (help-xref-symbol-regexp):
1486 * info.el (Info-find-emacs-command-nodes):
1487 * international/mule.el (add-to-coding-system-list):
1488 * isearch.el (isearch-message-function, isearch-fail-pos):
1489 * misearch.el (multi-isearch-next-buffer-function):
1490 * newcomment.el (comment-box):
1491 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1492 (pr-setting-database):
1493 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1494 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1495 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1496 (pike-font-lock-keywords-3):
1497 * progmodes/compile.el (compile):
1498 * progmodes/etags.el (tags-table-files)
1499 (tags-table-files-function, tags-included-tables-function):
1500 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1501 (gdb-restore-windows):
1502 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1503 (ps-n-up-filling-database):
1504 * server.el (server-buffer, server-log):
1505 * simple.el (newline, delete-backward-char, delete-forward-char)
1506 (minibuffer-history-isearch-message, kill-line, track-eol)
1507 (temporary-goal-column):
1508 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1509 (flyspell-default-deplacement-commands):
1510 * textmodes/ispell.el (ispell-accept-output):
1511 * textmodes/sgml-mode.el (html-tag-help):
1512 * vc/compare-w.el (compare-ignore-whitespace)
1513 (compare-ignore-case, compare-windows-dehighlight):
1514 * vc/diff.el (diff):
1515 * whitespace.el (whitespace-point)
1516 (whitespace-font-lock-refontify, whitespace-bob-marker)
1517 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1518
1519 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1520
1521 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1522 (auto-revert-notify-rm-watch): Ignore errors.
1523 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1524 inotify, and '(size last-write-time) for w32notify.
1525 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1526 watch fails - this is a fallback to the file modification check.
1527 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1528 (auto-revert-notify-event-action)
1529 (auto-revert-notify-event-file-name): New defuns.
1530 (auto-revert-notify-handler): Use them. Implement first
1531 plausibility checks.
1532 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1533
1534 2013-01-11 Julien Danjou <julien@danjou.info>
1535
1536 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1537 max are almost equal. Also return the correct value for V which is
1538 already between 0 and 1.
1539
1540 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1541
1542 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1543
1544 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1545
1546 * autorevert.el (auto-revert-notify-rm-watch)
1547 (auto-revert-notify-add-watch): Fix typos in w32notify function
1548 names.
1549
1550 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1551
1552 * autorevert.el (auto-revert-notify-enabled): Move up.
1553 (auto-revert-use-notify): New defcustom.
1554 (auto-revert-mode, global-auto-revert-mode)
1555 (auto-revert-notify-add-watch, auto-revert-handler)
1556 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1557 `auto-revert-notify-enabled'.
1558
1559 2013-01-10 Elias Pipping <pipping@exherbo.org>
1560
1561 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1562 * doc-view.el (doc-view-document->bitmap):
1563 Use doc-view-single-page-converter-function instead of
1564 single-page-converter arg; adjust callers.
1565
1566 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1567
1568 * progmodes/which-func.el (which-function): Understand Semantic's use
1569 of overlays in imenu--index-alist.
1570
1571 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1572
1573 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1574 (Man-man-k-use-anchor): New var.
1575 (Man-parse-man-k): New function.
1576 (Man-completion-table): Use it.
1577 (man): Flush the completion cache between uses.
1578
1579 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1580
1581 * autorevert.el: Add file watch support.
1582 (auto-revert-notify-enabled): New defconst.
1583 (auto-revert-notify-watch-descriptor-hash-list)
1584 (auto-revert-notify-watch-descriptor)
1585 (auto-revert-notify-modified-p): New defvars.
1586 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1587 (auto-revert-notify-handler): New defuns.
1588 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1589 when mode is disabled.
1590 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1591 (auto-revert-buffers): Add file watches for active buffers.
1592
1593 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1594
1595 * cus-start.el (toplevel): Only allow float values for
1596 scroll-up-aggressively and scroll-down-aggressively.
1597 Allow any number for line-spacing.
1598
1599 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1600
1601 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1602 (doc-view-pdf->png-converter-function): Use mupdf if available.
1603 (doc-view-djvu->png-converter-function)
1604 (doc-view-ps->png-converter-function): Remove.
1605 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1606 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1607 (doc-view-already-converted-p): Adjust accordingly.
1608 (doc-view-mode-p): Simplify.
1609 (doc-view-enlarge): Use setq-local.
1610 (doc-view-pdf->png-converter-ghostscript)
1611 (doc-view-djvu->png-converter-ddjvu)
1612 (doc-view-pdf->png-converter-mupdf): Rework to call
1613 doc-view-start-process directly.
1614 (doc-view-pdf/ps->png): Simplify accordingly.
1615 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1616 (doc-view-document->bitmap): Rename from doc-view-document->png.
1617 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1618 (doc-view-set-slice-from-bounding-box): Fix completion table.
1619 (doc-view-mode): Use add-hook for after-revert-hook.
1620
1621 2013-01-10 Glenn Morris <rgm@gnu.org>
1622
1623 * emacs-lisp/authors.el (authors-ignored-files)
1624 (authors-valid-file-names, authors-renamed-files-alist):
1625 Add some more entries.
1626
1627 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1629 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1630 `t' pseudo-window entry.
1631
1632 2013-01-10 Alan Mackenzie <acm@muc.de>
1633
1634 Fix bugs in the c-parse-state mechanism. Reuse some markers
1635 instead of continually generating new ones.
1636
1637 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1638 (c-state-old-cpp-end-marker): New variables.
1639 (c-append-lower-brace-pair-to-state-cache): Start a backward
1640 search for "}" definitively outside CPP constructs.
1641 (c-remove-stale-state-cache): Inform the caller of a need to
1642 search back for a brace pair in certain circumstances.
1643 (c-state-maybe-marker): New macro.
1644 (c-parse-state): Reuse markers when appropriate.
1645
1646 2013-01-10 Glenn Morris <rgm@gnu.org>
1647
1648 * simple.el (execute-extended-command): Doc fix.
1649 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1650
1651 2013-01-10 Chong Yidong <cyd@gnu.org>
1652
1653 * faces.el (read-face-name): Doc fix.
1654
1655 2013-01-10 Roland Winkler <winkler@gnu.org>
1656
1657 * emacs-lisp/crm.el: Allow any regexp for separators.
1658 (crm-default-separator): All spaces around the default comma separator.
1659 (crm--completion-command): New macro.
1660 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1661 (crm-complete-and-exit): Handle non-single-char separators.
1662
1663 2013-01-09 Elias Pipping <pipping@lavabit.com>
1664
1665 * doc-view.el: Add support for DjVu (bug#13164).
1666 (doc-view-djvu->png-converter-function): New config var.
1667 (doc-view-single-page-converter-function, doc-view--image-type)
1668 (doc-view--image-file-extension): New vars.
1669 (doc-view-mode): Initialize them.
1670 (doc-view-goto-page): Use them.
1671 (doc-view-mode-p): Add support for ddjvu.
1672 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1673 (doc-view-set-up-single-converter): New funs.
1674 (doc-view-pdf/ps->png): Extend for djvu.
1675 (doc-view-document->png): Rename from doc-view-pdf->png.
1676 (doc-view-convert-current-doc): Handle djvu.
1677 (doc-view-insert-image, doc-view-display)
1678 (doc-view-already-converted-p): Don't hardcode png.
1679 (doc-view-set-doc-type): Recognize djvu docs.
1680
1681 2013-01-09 Elias Pipping <pipping@lavabit.com>
1682
1683 * doc-view.el: Add support for mupdf converter (bug#13164).
1684 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1685 (doc-view-ps->png-converter-function): New config vars.
1686 (doc-view-pdf->png-converter-ghostscript)
1687 (doc-view-ps->png-converter-ghostscript)
1688 (doc-view-pdf->png-converter-mupdf): New functions.
1689 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1690
1691 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1692
1693 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1694 first in session cache: When `tramp-own-remote-path' is in
1695 `tramp-remote-path', the remote path is only set in the session
1696 cache.
1697
1698 2013-01-09 Glenn Morris <rgm@gnu.org>
1699
1700 * emacs-lisp/trace.el (trace-function-foreground)
1701 (trace-function-background): Doc fix.
1702
1703 2013-01-09 Juri Linkov <juri@jurta.org>
1704
1705 * international/mule-cmds.el (read-char-by-name): Move let-binding
1706 of completion-ignore-case around completing-read to fix regression
1707 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1708 `string-match-p' using the nil value of `case-fold-search' and
1709 `completion-ignore-case' in `completion-pcm--all-completions'.
1710 (Bug#12615).
1711
1712 2013-01-09 Glenn Morris <rgm@gnu.org>
1713
1714 * progmodes/compile.el (compilation-parse-errors):
1715 Fix typo. (Bug#13369)
1716
1717 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1718
1719 * comint.el (comint-send-input): Check size of buffer before
1720 waiting for process output, in case already accepted. (Bug#13290)
1721
1722 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1723
1724 Spelling fixes.
1725 * net/tramp-adb.el (tramp-adb-get-toolbox):
1726 Fix misspelling of 'unknown'.
1727
1728 2013-01-08 Juri Linkov <juri@jurta.org>
1729
1730 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1731 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1732 Use underline style wave on terminals that support it. (Bug#13000)
1733
1734 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1735
1736 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1737 the predicate returns nil.
1738
1739 * simple.el: Use lexical-binding.
1740 (primitive-undo): Use pcase.
1741 (minibuffer-history-isearch-push-state): Use a closure.
1742
1743 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1744
1745 * simple.el (primitive-undo): Move from undo.c.
1746
1747 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1748
1749 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1750 (cvs-mode-remove-handled): Use it (bug#13380).
1751
1752 * emacs-lisp/nadvice.el (advice--tweak): New function.
1753 (advice--remove-function, advice--subst-main): Use it.
1754
1755 * emacs-lisp/advice.el: Update commentary.
1756
1757 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1758
1759 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1760 Remove spurious entry.
1761
1762 2013-01-08 Glenn Morris <rgm@gnu.org>
1763
1764 * net/tramp.el (tramp-default-host-alist): Add :version.
1765
1766 2013-01-08 Juri Linkov <juri@jurta.org>
1767
1768 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1769 single completion. (Bug#12456)
1770 (info--manual-names): Expand node completions into an explicit list
1771 before appending it to another list. Filter out internal buffers
1772 with the leading space in the buffer name. (Bug#10771)
1773
1774 2013-01-08 Juri Linkov <juri@jurta.org>
1775
1776 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1777 that defaults to the Top node.
1778 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1779 the short format (FILENAME) goes to the Top node.
1780 (Info-build-node-completions): Rename arg `file' to `filename'.
1781 (Bug#13365)
1782
1783 2013-01-07 Bastien Guerry <bzg@gnu.org>
1784
1785 * menu-bar.el (menu-bar-search-documentation-menu):
1786 Use `apropos-user-option' and fix the help message.
1787
1788 2013-01-07 Bastien Guerry <bzg@gnu.org>
1789
1790 * apropos.el (apropos-do-all): Update docstring.
1791 (apropos-user-option-button): New face.
1792 (apropos-user-option): Rename from `apropos-variable' and update
1793 docstring.
1794 (apropos-variable): Rewrite, now show all variables by default.
1795 (apropos-print): Mention "User option" instead of "Variable" when
1796 printing doc for user options. (Bug#13276)
1797
1798 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1799
1800 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1801 Handle filename correctly, when parsing "source -> target" symlink
1802 output.
1803 (tramp-adb-handle-set-file-times): New defun.
1804
1805 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1806
1807 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1808 advice list when the interactive-spec of ad-Advice-* changes.
1809
1810 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1811
1812 * wid-edit.el (widget-default-get): Work for inlined elements.
1813 (Bug#12670)
1814
1815 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1816
1817 * net/tramp.el (tramp-default-host-alist): New defcustom.
1818 (tramp-find-host): Use it.
1819 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1820 `eshell-directory-change-hook'.
1821
1822 * net/tramp-adb.el (top): Add adb specific entry in
1823 `tramp-default-host-alist'.
1824 (tramp-adb-file-name-host): Remove function.
1825 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1826 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1827
1828 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1829
1830 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1831
1832 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1833
1834 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1835
1836 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1837 consist of more than one digit.
1838 (tramp-adb-file-name-handler-alist):
1839 Use `tramp-handle-file-exists-p' consistently.
1840 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1841 (tramp-adb-handle-file-exists-p): Remove function.
1842 (tramp-adb-file-name-host): New defun.
1843 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1844 Use it.
1845 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1846
1847 2013-01-06 Chong Yidong <cyd@gnu.org>
1848
1849 * vc/vc.el (vc-next-action): Detect buffer modifications
1850 conflicting with locking VCS operation (Bug#11490).
1851
1852 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1853
1854 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1855
1856 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1857 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1858
1859 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1860
1861 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1862 parsing of ls output using regular expression (handle filenames
1863 with spaces). Use virtual device number.
1864 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1865 cleanup).
1866
1867 2013-01-04 Daiki Ueno <ueno@gnu.org>
1868
1869 * epg.el: Silence byte-compiler warnings.
1870 (epg--start): Use delete-char instead of delete-backward-char.
1871 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1872
1873 2013-01-04 Daiki Ueno <ueno@gnu.org>
1874
1875 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1876 Suggested by Eli Zaretskii <eliz@gnu.org>.
1877
1878 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1879
1880 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1881 non-negative integers. Otherwise, the default values are used.
1882 (tramp-convert-file-attributes): Convert uid and gid to integers.
1883
1884 2013-01-04 Glenn Morris <rgm@gnu.org>
1885
1886 * term.el (term-handle-colors-array): Ensure face attributes
1887 are fully specified, not nil. (Bug#13337)
1888
1889 * term.el (term-default-fg-color, term-default-bg-color):
1890 Fix custom type.
1891
1892 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1893 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1894 rather than 'jka-compr being loaded. (Bug#13338)
1895
1896 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1897
1898 * icomplete.el (icomplete-completions):
1899 Honor icomplete-prospects-height once more following
1900 2012-11-29 changes. (Bug#13224)
1901
1902 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1903
1904 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1905 of called-interactively-p as well (bug#13237).
1906
1907 * view.el (view--enable, view--disable): Rename from view-mode-enable
1908 and view-mode-disable and assume it's called from view-mode.
1909 (view-mode-enable, view-mode-disable): Redefine as obsolete
1910 compatibility layer above view-mode.
1911 (view-mode-enter): Call `view-mode'.
1912
1913 * files.el (after-find-file): Call `view-mode'.
1914
1915 * doc-view.el (doc-view-scale-internally): New var.
1916 (doc-view-enlarge, doc-view-insert-image): Obey it.
1917
1918 2013-01-03 Daiki Ueno <ueno@gnu.org>
1919
1920 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1921 exist. (Bug#13344)
1922
1923 2013-01-03 Glenn Morris <rgm@gnu.org>
1924
1925 * mail/rmail.el (rmail-set-header-1): Ignore case.
1926 Handle multi-line headers. (Bug#13330)
1927
1928 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1929 Handle paragraph starting at beginning of buffer.
1930
1931 * subr.el (eval-after-load): Don't purecopy the form, so that it
1932 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1933
1934 * emacs-lisp/byte-run.el (defun): Place cl declarations
1935 after any interactive spec. (Bug#13265)
1936
1937 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1938
1939 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1940 defun. Don't check for DECL if DOCSTRING isn't a string.
1941 (defun): Likewise.
1942
1943 2013-01-02 Glenn Morris <rgm@gnu.org>
1944
1945 * eshell/em-cmpl.el (eshell-pcomplete):
1946 More thoroughly imitate pcomplete. (Bug#13293)
1947
1948 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1949 Return nil for empty path elements. (Bug#13296)
1950
1951 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1952
1953 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1954 order to improve efficiency (Based on Daniel Colascione's
1955 <dancol@dancol.org> patch). (Bug#13182)
1956
1957 2013-01-02 Glenn Morris <rgm@gnu.org>
1958
1959 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1960
1961 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1962
1963 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1964 neither DOCSTRING nor DECL was given. (Bug#13316)
1965
1966 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1967
1968 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1969 `error' call.
1970 (tramp-do-copy-or-rename-file): Ignore errors when calling
1971 `set-file-extended-attributes'.
1972
1973 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1974 Add handler for `file-acl'.
1975 (tramp-smb-handle-file-acl): New defun.
1976
1977 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1978
1979 * calc/README: Mention ISO 8601 week-numbering dates.
1980
1981 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1982
1983 * view.el (view-mode-enable): New argument run-view-mode-hook.
1984 Run view-mode-hook only when it's non-nil (Bug#13315).
1985 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1986 argument t.
1987
1988 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1989
1990 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1991 (No device connected, invalid device name). (Bug #13299)
1992
1993 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1994
1995 * window.el (window-resizable--p): Rename to window-resizable-p.
1996 (window-resize-no-error): New function.
1997
1998 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1999 broken in fix from 2012-12-28.
2000
2001 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2002
2003 * subr.el (special-form-p): Don't signal errors on undef aliases.
2004
2005 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2006
2007 * calc/calc-forms.el (math-parse-date): Try using
2008 `math-parse-iso-date' when it looks like it might be needed.
2009 Allow times of 24:00.
2010 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2011 of 24:00.
2012
2013 2012-12-30 Glenn Morris <rgm@gnu.org>
2014
2015 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2016 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2017 (rmail-summary-displayed, rmail-summary): Declare.
2018 (mairix-rmail-display): Just require rmail.
2019
2020 2012-12-30 Chong Yidong <cyd@gnu.org>
2021
2022 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2023 check for the tarball contents.
2024
2025 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2026
2027 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2028 tarfile content listings (Bug#13136).
2029
2030 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2031
2032 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2033 Insert the undecoded text of the message being forwarded. (Bug#9521)
2034
2035 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2036
2037 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2038 integers, if they are real numbers. (Bug#13282)
2039
2040 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2041 Return `t' on success.
2042
2043 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2044 Add handler for `set-file-selinux-context'.
2045
2046 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2047
2048 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2049 (tramp-sh-handle-set-file-acl): Return `t' on success.
2050
2051 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2052
2053 * files.el (backup-buffer-copy, basic-save-buffer-2):
2054 If set-file-extended-attributes fails, fall back on set-file-modes
2055 instead of signaling an error. (Bug#13298)
2056 (basic-save-buffer): Likewise.
2057
2058 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2059
2060 * progmodes/python.el: Support other commands triggering
2061 python-indent-line so indentation cycling continues to work.
2062 (python-indent-trigger-commands): New defcustom.
2063 (python-indent-line): Use it.
2064
2065 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2066
2067 * progmodes/python.el (python-shell-send-region): Add blank lines
2068 for non sent code so backtraces remain correct.
2069
2070 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2071
2072 * progmodes/python.el: Remove cl dependency.
2073 (python-syntax-count-quotes): Replace incf call.
2074 (python-fill-string): Replace setf call.
2075
2076 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2077
2078 * info.el (info-other-window): New arg, for consistency with info.
2079
2080 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2081
2082 * mail/rmail.el (rmail-maybe-display-summary):
2083 Rewrite (Bug#13066).
2084
2085 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2086
2087 * epg.el (epg--start): Modify process-environment locally.
2088
2089 2012-12-28 Daiki Ueno <ueno@gnu.org>
2090
2091 * epg.el: Support pinentry-curses.
2092 Suggested by Werner Koch in
2093 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2094 (epg-agent-file, epg-agent-mtime): New variable.
2095 (epg--start): Record the modified time of gpg-agent socket file,
2096 to restore Emacs frame after pinentry-curses termination.
2097 (epg-wait-for-completion): Restore Emacs frame here.
2098
2099 2012-12-27 Juri Linkov <juri@jurta.org>
2100
2101 * info.el (Info-file-completions): New variable.
2102 (Info-read-node-name-1): Complete node names in the Info file
2103 when a file name is given. Call `Info-build-node-completions'
2104 with a file name.
2105 (Info-build-node-completions): Add new arg `file'. When it is
2106 non-nil, visit it in a temporary buffer and cache its completions in
2107 `Info-current-file-completions'. Move most of the function body to
2108 `Info-build-node-completions-1'.
2109 (Info-build-node-completions-1): New function with the body from
2110 `Info-build-node-completions'. (Bug#12456)
2111
2112 2012-12-27 Juri Linkov <juri@jurta.org>
2113
2114 * frame.el (frame-maximization-style): Remove user option.
2115 (cycle-frame-maximized): Remove function.
2116 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2117 (toggle-frame-fullscreen): New command bound to <f11> instead of
2118 `toggle-frame-maximized'.
2119 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2120
2121 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2122
2123 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2124
2125 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2126 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2127 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2128 for `file-accessible-directory-p'. (Bug#13275)
2129
2130 2012-12-27 Sam Steingold <sds@gnu.org>
2131
2132 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2133 continuations, see <http://stackoverflow.com/questions/3582436>.
2134
2135 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2136
2137 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2138 "module" and "def" to have indentation before them.
2139 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2140
2141 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2142
2143 2012-12-27 Alan Mackenzie <acm@muc.de>
2144
2145 Speed up fontification where there's large brace blocks.
2146 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2147 to a call of c-beginning-of-decl-1.
2148
2149 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2150
2151 * comint.el (comint-adjust-window-point): New function.
2152 (comint-postoutput-scroll-to-bottom):
2153 Call comint-adjust-window-point (Bug#13248).
2154
2155 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2156
2157 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2158 Rakefile regexp.
2159 (auto-mode-alist): Associate .gemspec files with ruby-mode
2160 (https://bugs.ruby-lang.org/issues/5453).
2161
2162 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2163
2164 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2165 Suppress coloring, if possible (required for BusyBox based systems like
2166 CyanogenMod).
2167 (tramp-adb-handle-file-attributes)
2168 (tramp-adb-handle-insert-directory)
2169 (tramp-adb-handle-file-name-all-completions): Use it.
2170 (tramp-adb-get-toolbox): New defun. Check for remote shell
2171 implementation (BusyBox or Toolbox).
2172
2173 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2174
2175 * startup.el (initial-buffer-choice): Allow function as value
2176 (Bug#13251).
2177 (command-line-1): Handle case where initial-buffer-choice
2178 specifies a function.
2179 * server.el (server-execute): Handle case where
2180 initial-buffer-choice specifies a function.
2181
2182 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2183
2184 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2185 its own function.
2186 (smtpmail-try-auth-methods): Forget the user name/password if the
2187 login is unsuccessful (bug#12424).
2188
2189 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2190
2191 * notifications.el (notifications-notify): Protect body with
2192 `with-demoted-errors'.
2193
2194 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2195 Check properties of remote device. Restart connection, if there is a
2196 change.
2197
2198 2012-12-21 Chong Yidong <cyd@gnu.org>
2199
2200 * sort.el (sort-subr): Doc fix (Bug#13056).
2201
2202 2012-12-21 Bastien Guerry <bzg@gnu.org>
2203
2204 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2205
2206 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2207
2208 * simple.el (process-file): Overwrite stderr file, if exists.
2209
2210 2012-12-21 Daiki Ueno <ueno@gnu.org>
2211
2212 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2213 (epg-error): Set `error-message' property.
2214
2215 2012-12-21 Chong Yidong <cyd@gnu.org>
2216
2217 * international/mule-cmds.el (read-char-by-name): Signal an error
2218 if the user does not supply a valid character (Bug#13177).
2219
2220 * simple.el (transpose-subr-1): Preserve marker positions by
2221 changing the insertion sequence (Bug#13122).
2222
2223 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2224
2225 * simple.el (kill-region): Deactivate mark even for empty regions
2226 (Bug#13169).
2227
2228 2012-12-21 Chong Yidong <cyd@gnu.org>
2229
2230 * help-fns.el (describe-variable): Make sure we get the right
2231 buffer name (Bug#13105). Suggested by Kelly Dean.
2232
2233 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2234
2235 * comint.el (comint-redirect-previous-input-string): New variable.
2236 (comint-redirect-setup, comint-redirect-cleanup)
2237 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2238 (comint-redirect-preoutput-filter): Fix verbose message.
2239
2240 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2241
2242 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2243 is too long for Tramp. See discussion in
2244 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2245
2246 * progmodes/compile.el (compilation-start): Remove line escape
2247 template.
2248
2249 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2250
2251 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2252 Adjust comment.
2253
2254 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2255
2256 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2257 following non-comment text (bug#13207).
2258 (lm-header-multiline): Continuation lines need to be indented more than
2259 the first line.
2260 (lm-homepage): New function.
2261 (lm-with-file): Don't be confused if narrowing is in effect.
2262
2263 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2266 very beginning of a hunk (e.g. killing the first line).
2267
2268 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2269
2270 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2271 and text properties from returned ACL string.
2272 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2273 for "setfacl" command.
2274
2275 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2276
2277 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2278 `tramp-cleanup-this-connection', when the process has died.
2279 (Bug#13151)
2280
2281 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2282
2283 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2284
2285 2012-12-17 Kevin Ryde <user42@zip.com.au>
2286
2287 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2288
2289 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2290
2291 Add support for preserving ACL entries of files.
2292
2293 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2294 `set-file-acl' handlers.
2295
2296 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2297 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2298
2299 * net/tramp-compat.el (tramp-compat-copy-file):
2300 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2301
2302 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2303 Add `file-acl' and `set-file-acl' handlers.
2304 (tramp-gvfs-handle-copy-file):
2305 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2306 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2307 New defuns.
2308
2309 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2310 Add `file-acl' and `set-file-acl' handlers.
2311 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2312 (tramp-sh-handle-set-file-acl): New defuns.
2313 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2314 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2315
2316 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2317 Add `file-acl' and `set-file-acl' handlers.
2318 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2319
2320 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2321
2322 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2323 use pop-to-buffer with NORECORD argument t. As buffer name, use
2324 *Metahelp* with a leading space (Bug#13190).
2325
2326 2012-12-16 Romain Francoise <romain@orebokech.com>
2327
2328 * files.el (file-extended-attributes)
2329 (set-file-extended-attributes): New functions.
2330 (backup-buffer): Use them to handle both SELinux context and ACL
2331 entries.
2332 (backup-buffer-copy): Work with an alist of extended attributes,
2333 rather than an SELinux context.
2334 (basic-save-buffer-2): Ditto.
2335
2336 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2337
2338 * battery.el (battery-bsd-apm): New function.
2339
2340 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2341
2342 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2343 standard date formats.
2344
2345 2012-12-15 Juri Linkov <juri@jurta.org>
2346
2347 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2348 `isearch-insert-char-by-name'.
2349 (with-isearch-suspended): New defmacro with body mostly from
2350 `isearch-edit-string' except the part that sets
2351 `isearch-new-string' and `isearch-new-message'.
2352 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2353 body that sets `isearch-new-string' and `isearch-new-message'.
2354 (isearch-insert-char-by-name): New command.
2355 * international/mule-cmds.el (read-char-by-name): Let-bind
2356 `enable-recursive-minibuffers' to t.
2357 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2358
2359 2012-12-15 Juri Linkov <juri@jurta.org>
2360
2361 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2362 (Bug#13175)
2363
2364 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2365
2366 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2367 the prompt. (Bug#13045)
2368
2369 2012-12-14 Glenn Morris <rgm@gnu.org>
2370
2371 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2372 Try to include filename in non-bytecomp warning. (Bug#13132)
2373
2374 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2375
2376 Fix permissions bugs with setgid directories etc. (Bug#13125)
2377 * files.el (backup-buffer): Don't rely on 9th output of
2378 file-attributes, as it's now a placeholder. Instead, use the new
2379 optional arg of file-ownership-preserved-p.
2380 (file-ownership-preserved-p): New optional arg GROUP.
2381 Fix mishandling of setuid directories that would cause this
2382 function to return t when it should have returned nil.
2383 Document what happens if the file does not exist, and when
2384 it's not known whether the ownership will be preserved.
2385 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2386 Likewise.
2387 (tramp-get-local-gid): Use group-gid for integer, as that's
2388 faster and more reliable.
2389
2390 2012-12-14 Julien Danjou <julien@danjou.info>
2391
2392 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2393 Update keywords list, data type and PL/pgSQL.
2394
2395 2012-12-14 Dave Abrahams <dave@boostpro.com>
2396
2397 * vc/ediff-util.el (ediff-buffer-type): New function.
2398 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2399 rather than taking it as as argument.
2400 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2401
2402 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2403
2404 * json.el: Add pretty-print option (bug#12634).
2405 (json-encoding-separator, json-encoding-default-indentation)
2406 (json--encoding-current-indentation, json-encoding-pretty-print)
2407 (json-encoding-lisp-style-closings): New vars.
2408 (json--with-indentation): New macro.
2409 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2410 (json-encode-array): Use it to obey json-encoding-pretty-print.
2411 (json-pretty-print-buffer, json-pretty-print): New commands.
2412
2413 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2414
2415 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2416 Extract `ruby-syntax-propertize-expansions'.
2417 (ruby-syntax-propertize-expansions): Only change syntax on
2418 certain string delimiters, to punctuation. This way the common
2419 functions like forward-word and thing-at-point still work.
2420 (ruby-match-expression-expansion): Improve readability.
2421 (ruby-block-contains-point): New function.
2422 (ruby-add-log-current-method): Handle several edge cases.
2423
2424 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2425
2426 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2427 unload-feature finishes even when aborting an ongoing edebug session.
2428 Also, do not worry about edebug-mode, unload-feature takes care of it.
2429
2430 2012-12-13 Andreas Schwab <schwab@suse.de>
2431
2432 * net/tls.el (tls-program): Update customize type.
2433
2434 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2435
2436 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2437 (edebug-setup-hook, cl-read-load-hooks): Use it.
2438 (edebug-unload-function): New function. (Bug#13163)
2439
2440 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2441
2442 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2443 Otherwise, there could be errors in autoloading. (Bug#13151)
2444
2445 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2446
2447 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2448 sequences.
2449
2450 2012-12-13 Alan Mackenzie <acm@muc.de>
2451
2452 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2453 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2454 around `forward-comment' not recognizing ^M as whitespace.
2455
2456 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2457
2458 * progmodes/python.el (python-skeleton-class)
2459 (python-skeleton-def): Do not add space after defun name.
2460
2461 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2464 (cl--symbol-function): Remove (now that funbound is like nil).
2465
2466 2012-12-12 Glenn Morris <rgm@gnu.org>
2467
2468 * button.el (button--area-button-p): Fix typo.
2469
2470 2012-12-12 Sam Steingold <sds@gnu.org>
2471
2472 * frame.el (frame-maximization-style): New user option.
2473 (toggle-frame-maximized): Toggle frame maximization according to
2474 `frame-maximization-style', bound to <f11>.
2475 (cycle-frame-maximized): Cycle between all maximization styles and
2476 non-maximized frame, bound to shift-<f11>.
2477
2478 2012-12-12 David Cadé <codename68@gmail.com>
2479
2480 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2481
2482 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2483
2484 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2485 (eieio-override-prin1): Don't quote kewords and booleans.
2486 (object-write) <eieio-default-superclass>: Don't put closing parens
2487 on new line, avoid needless empty lines, align values that are objects
2488 with the slot keyword (instead of beginning on the same line).
2489 (eieio-list-prin1): Align value with slot keyword; increase
2490 eieio-print-depth before printing members of the list.
2491
2492 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2493
2494 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2495 a display text-property.
2496 (report-emacs-bug-hook): Don't bother deleting it any more.
2497
2498 * hilit-chg.el (highlight-save-buffer-state): Delete.
2499 Use with-silent-modifications instead.
2500 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2501
2502 * button.el: Handle buttons in display text-properties.
2503 (button--area-button-p, button--area-button-string):
2504 Use (STRING . STRING-POS) representation instead of just STRING.
2505
2506 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2507
2508 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2509 subdirectory be skipped.
2510
2511 2012-12-11 Glenn Morris <rgm@gnu.org>
2512
2513 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2514
2515 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2516 Treat preprocessor lines embedded in continuations like comments.
2517 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2518
2519 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2520
2521 * calc/calc.el (calc-standard-date-formats): Add more date
2522 formats.
2523 * calc/calc-forms.el (math-parse-iso-date): New function.
2524 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2525 (math-parse-iso-date-validate): Add extra error checking.
2526 (calc-date-notation): Add ability to access new date formats.
2527
2528 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2529
2530 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2531 font-lock as well as when there's no text-property.
2532
2533 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2534
2535 * hi-lock.el: Refine the choice of default face.
2536 (hi-lock-keyword->face): New function. Use it wherever we used
2537 cadadadr instead.
2538 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2539 (hi-lock--last-face): Remove var.
2540 (hi-lock--unused-faces): New var to replace it.
2541 (hi-lock-read-face-name): Use/maintain it.
2542 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2543 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2544 if it has another face.
2545
2546 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2547
2548 * subr.el (w32notify-handle-event): New function.
2549 (inotify-handle-event): Doc fix.
2550
2551 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2552
2553 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2554
2555 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2556
2557 * simple.el (just-one-space): Doc fix.
2558
2559 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2560
2561 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2562
2563 2012-12-10 Le Wang <l26wang@gmail.com>
2564
2565 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2566 narrowed buffer (bug#12361).
2567
2568 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2569
2570 * vc/vc-hooks.el (vc-state): Doc fix.
2571
2572 2012-12-10 Glenn Morris <rgm@gnu.org>
2573
2574 * mail/rmail.el (rmail-maybe-display-summary):
2575 Preserve buffer, in case select-window changes it. (Bug#13066)
2576
2577 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2578
2579 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2580 cl-load-hook where they belong.
2581
2582 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2583
2584 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2585
2586 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2587
2588 Parallelize byte compilation on MS-Windows.
2589 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2590 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2591 (WINS_BASIC): Define as concatenation of the above.
2592 (compile): Subdivide into 4 separate and independent jobs that can
2593 be run in parallel.
2594 (compile0-CMD, compile0-SH): New targets for compiling
2595 COMPILE_FIRST files, which are prerequisites for the rest of the
2596 byte-compilation.
2597 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2598 New targets for parallel compilation with cmd.exe.
2599 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2600 compiling under a Unixy shell.
2601
2602 2012-12-09 Chong Yidong <cyd@gnu.org>
2603
2604 * simple.el (set-mark-default-inactive): Delete this
2605 accidentally-introduced option.
2606 (set-mark-command, exchange-point-and-mark): Remove calls.
2607
2608 2012-12-09 Glenn Morris <rgm@gnu.org>
2609
2610 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2611 Respect a defcustom's :set function, if appropriate. (Bug#109)
2612 (eval-defun): Doc fix.
2613
2614 2012-12-08 Juri Linkov <juri@jurta.org>
2615
2616 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2617 (Info-fontify-node, Info-bookmark-make-record): Remove the
2618 file extension from Info-current-file (Bug#13016).
2619
2620 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2621
2622 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2623 point, still provide some default.
2624 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2625 names, since we don't use it right now. Actually return the list.
2626 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2627
2628 2012-12-07 Chong Yidong <cyd@gnu.org>
2629
2630 * novice.el (disabled-command-function): Remove a spurious help
2631 xref (Bug#13043). Suggested by Kelly Dean.
2632
2633 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2634 syntax is specified (Bug#13025).
2635
2636 * info.el (Info-set-mode-line): Remove the file extension from
2637 Info-current-file if there is one (Bug#13016).
2638
2639 2012-12-07 Glenn Morris <rgm@gnu.org>
2640
2641 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2642 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2643 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2644 and rmail-mime-decoded. (Bug#9841)
2645
2646 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2647 (batch-unrmail, unrmail): Doc fixes.
2648 (unrmail): Respect unrmail-mbox-format.
2649 * mail/rmail.el (rmail-mbox-format): New option.
2650 (rmail-show-message-1): Respect rmail-mbox-format.
2651
2652 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2653
2654 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2655
2656 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2657
2658 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2659 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2660 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2661 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2662 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2663 (cl-progv): Don't rely on dynamic scoping to find the body.
2664 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2665 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2666 (cl-declaim): Use backquotes.
2667 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2668 Use "cl--" prefix for the object's tag.
2669
2670 * ses.el: Use advice-add/remove.
2671 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2672 (copy-region-as-kill, yank): Use advice-add.
2673 (ses-unload-function): Use advice-remove.
2674
2675 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2676
2677 * button.el: Make them work in header-lines (bug#12817).
2678 (button-map): Add bindings for header-line and mode-line use.
2679 (button-get, button-put, button-label): `button' may now be a string.
2680 (button-activate): Don't make it a defsubst.
2681 (button--area-button-p, button--area-button-string): New functions.
2682 (make-text-button): Fix the return value when `beg' was a string.
2683 (push-button): Handle the mode-line case.
2684
2685 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2686
2687 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2688 (sql-signum): Remove. Use `cl-signum' instead.
2689 (sql-read-passwd): Remove; use read-passwd instread.
2690 (sql-get-login-ext): Use read-string.
2691 (sql-get-login): Use dolist and pcase.
2692 (sql--completion-table): Rename from sql-try-completion.
2693 Use complete-with-action.
2694 (sql-mode): Don't change abbrev-all-caps globally.
2695 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2696 (sql-postgres-completion-object): Initialize vars in their `let'.
2697 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2698 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2699 (sql-comint-interbase): Use a single append, without setq.
2700 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2701
2702 * hi-lock.el: Rework the default face and the serialize regexp code.
2703 (hi-lock--auto-select-face-defaults): Remove.
2704 (hi-lock-string-serialize-serial): Remove.
2705 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2706 make weak.
2707 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2708 equal string.
2709 (hi-lock-set-pattern): Adjust accordingly.
2710 (hi-lock--regexps-at-point): Simplify accordingly.
2711 (hi-lock--auto-select-face-defaults): Remove.
2712 (hi-lock--last-face): New var to replace it.
2713 (hi-lock-read-face-name): Rewrite (bug#11095).
2714 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2715
2716 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2717
2718 * net/tramp.el (tramp-replace-environment-variables):
2719 Hide compiler warning.
2720 (tramp-file-name-for-operation): Remove `executable-find',
2721 `start-process', `call-process' and `call-process-region'.
2722
2723 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2724
2725 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2726 compatibility.
2727
2728 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2729
2730 2012-12-06 Chong Yidong <cyd@gnu.org>
2731
2732 * ffap.el (ffap-replace-file-component): Fix typo.
2733
2734 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2735
2736 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2737 fix open-paren-like token test (bug#12785).
2738
2739 2012-12-06 Glenn Morris <rgm@gnu.org>
2740
2741 * mail/rmailsum.el (rmail-new-summary): Tweak for
2742 rmail-maybe-display-summary changing buffer. (Bug#13066)
2743
2744 2012-12-06 Juri Linkov <juri@jurta.org>
2745
2746 * info.el (Info-fontify-node): Don't hide the last newline.
2747 (Bug#12272)
2748
2749 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2750
2751 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2752 so as to enable message-read-from-minibuffer to expand mail aliases.
2753
2754 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2755
2756 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2757 the `intangible' property.
2758 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2759
2760 2012-12-05 Deniz Dogan <deniz@dogan.se>
2761
2762 * net/rcirc.el (rcirc-urls): Update documentation.
2763 (rcirc-condition-filter): New function.
2764 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2765 and exclude consecutive duplicate URLs (Bug#6082).
2766
2767 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2768
2769 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2770 Check return code of copy command.
2771
2772 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2773 Use group `tramp'. Add version.
2774
2775 2012-12-05 Chong Yidong <cyd@gnu.org>
2776
2777 * ffap.el (ffap-url-regexp): Don't require matching at front of
2778 string (Bug#4952).
2779 (ffap-url-p): If only a substring matches, return that.
2780 (ffap-url-at-point): Use the return value of ffap-url-p.
2781 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2782 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2783 (ffap-guess-file-name-at-point): Likewise.
2784 (ffap-replace-file-component): Fix typo.
2785
2786 * info.el (info-display-manual): Add existing Info buffers, whose
2787 files may not be in Info-directory-list, to the completion.
2788 (info--manual-names): New helper function.
2789
2790 2012-12-05 Glenn Morris <rgm@gnu.org>
2791
2792 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2793 New functions, for detecting and resolving conflicts. (Bug#10709)
2794
2795 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2796
2797 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2798 (hi-lock-auto-select-face-defaults): New buffer local variable.
2799 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2800 (hi-lock-unface-buffer): Prompt user with useful defaults.
2801 With prefix arg, unhighlight all hi-lock patterns in buffer.
2802
2803 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2804
2805 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2806
2807 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2808
2809 * Makefile.in (TRAMP_SRC):
2810 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2811
2812 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2813
2814 * net/tramp-adb.el: New package.
2815
2816 2012-12-04 Chong Yidong <cyd@gnu.org>
2817
2818 * terminal.el: Move to obsolete/.
2819
2820 * longlines.el: Move to obsolete/.
2821
2822 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2823 Remove code referring to longlines mode.
2824
2825 2012-12-03 Juri Linkov <juri@jurta.org>
2826
2827 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2828
2829 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2830
2831 * textmodes/ispell.el (ispell-init-process)
2832 (ispell-start-process, ispell-internal-change-dictionary):
2833 Make sure personal dictionary name is expanded after initial
2834 `default-directory' value. Use expanded strings for
2835 keep/restart checks and for value (Bug#13019).
2836
2837 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2838
2839 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2840
2841 2012-12-03 Leo Liu <sdl.web@gmail.com>
2842
2843 * files.el (dir-locals-read-from-file): Check file non-empty
2844 before reading. (Bug#13038)
2845
2846 2012-12-03 Glenn Morris <rgm@gnu.org>
2847
2848 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2849 Remove any version extension before checking filename. (Bug#13006)
2850 (jka-compr-compression-info-list): Belated :version bump.
2851
2852 2012-12-03 Chong Yidong <cyd@gnu.org>
2853
2854 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2855
2856 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2857 (buffer-menu): Doc fix (Bug#12294).
2858
2859 2012-12-03 Roland Winkler <winkler@gnu.org>
2860
2861 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2862 of diary-show-all-entries in the diary buffer (Bug#12994).
2863
2864 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2865
2866 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2867 "<STDIN>". This is binary safe.
2868
2869 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2870
2871 * calc/calc-forms.el (math-absolute-from-iso-dt)
2872 (math-date-to-iso-dt, math-parse-iso-date-validate)
2873 (math-iso-dt-to-date): New functions.
2874 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2875 (math-fd-isoweekday): New variables.
2876 (calc-date-notation, math-parse-standard-date, math-format-date)
2877 (math-format-date-part): Add support for more formatting codes.
2878
2879 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2880
2881 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2882 current buffer's file name when called interactively (Bug#12488).
2883
2884 2012-12-02 Juri Linkov <juri@jurta.org>
2885
2886 * info.el (info-display-manual): Don't clobber an existing Info
2887 buffer (Bug#10770). Add completion (Bug#10771).
2888
2889 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2890
2891 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2892 before using it for comparison (Bug#5297).
2893
2894 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2895
2896 * textmodes/css-mode.el (css-current-defun-name): New function.
2897 (css-mode): Use it.
2898
2899 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2900 (html-mode): Use it.
2901
2902 2012-12-01 Chong Yidong <cyd@gnu.org>
2903
2904 Modularize add-log-current-defun (Bug#2224).
2905 Suggested by Jari Aalto.
2906
2907 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2908 (add-log-current-defun): Move mode-specific code to other files.
2909 (add-log-lisp-like-modes, add-log-c-like-modes)
2910 (add-log-tex-like-modes): Variables deleted.
2911
2912 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2913 (lisp-mode-variables): Use it.
2914
2915 * progmodes/cc-mode.el (c-common-init):
2916 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2917 add-log-current-defun-function.
2918
2919 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2920 (m4-mode): Use it.
2921
2922 * progmodes/perl-mode.el (perl-current-defun-name): New.
2923 (perl-mode): Use it.
2924
2925 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2926 Use lisp-current-defun-name.
2927
2928 * textmodes/tex-mode.el (tex-current-defun-name): New.
2929 (tex-common-initialization): Use it.
2930
2931 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2932 (texinfo-mode): Use it.
2933
2934 2012-12-01 Chong Yidong <cyd@gnu.org>
2935
2936 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2937 * progmodes/autoconf.el (autoconf-mode):
2938 * progmodes/js.el (js-mode):
2939 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2940 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2941 * progmodes/perl-mode.el (perl-mode):
2942 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2943 * textmodes/css-mode.el (css-mode):
2944 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2945 (sgml-tags-invisible, sgml-guess-indent):
2946 * textmodes/tex-mode.el (tex-common-initialization)
2947 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2948 (doctex-mode, plain-tex-mode, latex-mode):
2949 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2950
2951 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2952
2953 * vc/vc-hg.el (vc-hg-next-revision):
2954 Ensure use of default "tip" output format. (Bug#6968)
2955
2956 2012-12-01 Kim F. Storm <storm@cua.dk>
2957
2958 * startup.el (fancy-startup-tail): Add a clickable link
2959 (Bug#2176).
2960
2961 2012-12-01 Chong Yidong <cyd@gnu.org>
2962
2963 * startup.el (fancy-startup-tail): Improve the message about
2964 auto-save files (Bug#2176).
2965
2966 * files.el (recover-session): Improve the descriptive message, and
2967 use substitute-command-keys.
2968
2969 2012-12-01 Glenn Morris <rgm@gnu.org>
2970
2971 * ido.el (ido-file-internal):
2972 Handle other-window, other-frame for dired. (Bug#13036)
2973
2974 2012-11-30 Glenn Morris <rgm@gnu.org>
2975
2976 * icomplete.el (icomplete-separator): Fix :version.
2977
2978 2012-11-30 Chong Yidong <cyd@gnu.org>
2979
2980 * shell.el (shell): For C-u M-x shell, use an inactive shell
2981 buffer as the default (Bug#1975).
2982 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2983 (shell-mode): Use them to reapply ansi colorization if Shell mode
2984 is re-enabled.
2985
2986 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2987
2988 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2989
2990 2012-11-30 Samuel Bronson <naesten@gmail.com>
2991
2992 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2993 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2994
2995 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2996
2997 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2998 by move-to-column (Bug#3234).
2999
3000 2012-11-30 Chong Yidong <cyd@gnu.org>
3001
3002 * longlines.el (longlines-wrap-line, longlines-encode-region):
3003 Preserve text properties (Bug#1425).
3004
3005 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3006
3007 * vc/vc.el (vc-register): Allow registering a file which is
3008 already registered with a different backend (Bug#10589).
3009
3010 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3011 Stefan Monnier <monnier@iro.umontreal.ca>
3012
3013 * icomplete.el: Change separator; add ido-style commands.
3014 (icomplete-show-key-bindings): Remove custom var.
3015 (icomplete-get-keys): Remove function.
3016 (icomplete-forward-completions, icomplete-backward-completions):
3017 New commands.
3018 (icomplete-minibuffer-map): New var.
3019 (icomplete-minibuffer-setup): Use it.
3020 (icomplete-exhibit): Don't delay if the list of completions is known.
3021 (icomplete-separator): New custom.
3022 (icomplete-completions): Use it.
3023 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3024 (minibuffer-force-complete-and-exit): New command.
3025 (minibuffer--complete-and-exit): New function extracted from
3026 minibuffer-complete-and-exit.
3027 (minibuffer-complete-and-exit): Use it.
3028
3029 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3030 error message when the file doesn't exist (bug#12974).
3031
3032 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3033
3034 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3035
3036 2012-11-29 Glenn Morris <rgm@gnu.org>
3037
3038 * files.el (hack-dir-local-variables): Warn if try to set
3039 coding via dir-locals, since it doesn't work. (Bug#7169)
3040
3041 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3042 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3043 Set buffer-local value of desktop-save-buffer.
3044 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3045 New functions.
3046 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3047 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3048
3049 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3050 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3051 Doc fix.
3052 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3053 Doc fixes.
3054
3055 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3056
3057 * calc/calc-forms.el (calc-date-notation): Fix regexp
3058 used to find time codes. Fix symbol for seconds.
3059
3060 2012-11-27 Glenn Morris <rgm@gnu.org>
3061
3062 * emacs-lisp/derived.el (derived-mode-make-docstring):
3063 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3064
3065 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3066
3067 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3068 lexically scoped variables (bug#13005).
3069
3070 2012-11-27 Glenn Morris <rgm@gnu.org>
3071
3072 * vc/vc-hooks.el (vc-mistrust-permissions):
3073 Default to t, to avoid data-loss. (Bug#11490)
3074
3075 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3076
3077 * progmodes/python.el (python-indent-guess-indent-offset):
3078 If indentation is guessed make python-indent-offset buffer-local.
3079
3080 Fix Imenu regression.
3081 * progmodes/python.el (python-nav-beginning-of-defun):
3082 Fix forward movement when statement(s) separates point from defun.
3083 (python-imenu-prev-index-position): New function.
3084
3085 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3086
3087 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3088
3089 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3090 Don't set buffer-file-type. Return nil. (Bug#12989)
3091
3092 2012-11-27 Glenn Morris <rgm@gnu.org>
3093
3094 * hippie-exp.el (hippie-expand-try-functions-list):
3095 Re-autoload it. (Bug#12982)
3096
3097 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3098
3099 * descr-text.el (describe-char-padded-string):
3100 Call internal-char-font only on GUI frames. (Bug#11964)
3101
3102 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3103
3104 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3105 and obsoletion message.
3106
3107 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3108
3109 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3110 the constructs to keep outside of the `cl-block' (bug#12977).
3111
3112 2012-11-27 Chong Yidong <cyd@gnu.org>
3113
3114 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3115 keep reading until we get the up-event anyway, in order to process
3116 the up-event for mouse-1-click-follows-link (Bug#12971).
3117
3118 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3119
3120 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3121 base function is not yet defined (bug#12965).
3122 (ad-activate-advised-definition): Use ad-compile-function.
3123 (ad-activate): Use cond.
3124
3125 2012-11-25 Leo Liu <sdl.web@gmail.com>
3126
3127 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3128 (Bug#12979)
3129
3130 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3131
3132 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3133 reftex-section-info-function in order to be compatible with
3134 Texinfo integration.
3135
3136 * textmodes/reftex.el (reftex-section-pre-regexp)
3137 (reftex-section-post-regexp, reftex-section-info-function):
3138 New variable.
3139 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3140 reftex-section-post-regexp, and reftex-section-info-function in order
3141 to be compatible with Texinfo integration.
3142
3143 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3144 use reftex-section-pre-regexp variable in order to be compatible with
3145 Texinfo integration.
3146
3147 2012-11-25 Chong Yidong <cyd@gnu.org>
3148
3149 * faces.el: Make face-spec-set more analogous to setq.
3150 (face-spec-set): Change the third arg to specify whether this
3151 function is being called via defface, customize, or a third party.
3152 Set the appropriate symbol properties. Clear the override spec if
3153 setting via Custom. Initialize face if necessary. (Bug#4988)
3154 (face-spec-recalc): Allow theme faces to completely replace the
3155 defface spec, in the same way as custom faces (Bug#8454).
3156
3157 * cus-face.el (custom-declare-face): Move face initialization to
3158 face-spec-set.
3159 (custom-theme-set-faces): Don't initialize the face name here, as
3160 that is now done in face-spec-set.
3161
3162 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3163 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3164 Simplify by using the new arg to face-spec-set.
3165
3166 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3167 reset face-override-spec too, and use custom-declare-face.
3168
3169 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3170
3171 * term/ns-win.el (ns-initialize-window-system): Move creation of
3172 fontsets here (Bug#11964).
3173
3174 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3175
3176 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3177 cell renaming.
3178
3179 2012-11-24 Chong Yidong <cyd@gnu.org>
3180
3181 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3182 obsolete.
3183
3184 * custom.el (custom-theme-set-variables): Use a topological sort
3185 for ordering by custom dependencies (Bug#12952).
3186 (custom--sort-vars, custom--sort-vars-1): New functions.
3187
3188 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3189
3190 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3191 lexical-binding (bug#12938).
3192
3193 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3194
3195 * image-mode.el (image-transform-check-size): Use assertions only
3196 for images of type imagemagick.
3197
3198 Otherwise no error, image-transform-fit-to-{width,height} is
3199 silently ignored, as before. Doc fix.
3200
3201 2012-11-24 Chong Yidong <cyd@gnu.org>
3202
3203 * faces.el (color-defined-p): Doc fix (Bug#12853).
3204
3205 2012-11-24 Juri Linkov <juri@jurta.org>
3206
3207 * dired.el (dired-mark): Add optional arg `interactive'.
3208 Check for `use-region-p' if `interactive' is non-nil.
3209 (dired-unmark, dired-flag-file-deletion): Add optional arg
3210 `interactive'. Call `dired-mark' with the arg `interactive'.
3211 (Bug#10624)
3212
3213 * wdired.el: Revert 2012-10-17 change partly and replace it with
3214 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3215 (wdired-finish-edit): Add marks for new file names to
3216 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3217 after `revert-buffer'.
3218 (wdired-do-renames): Remove calls to `dired-remove-file',
3219 `dired-add-file', `dired-add-entry'. (Bug#11795)
3220
3221 2012-11-24 Alan Mackenzie <acm@muc.de>
3222
3223 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3224
3225 Fix bugs in the state cache. Enhance a debugging mechanism.
3226 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3227 "brace at column zero" strategy for C++.
3228 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3229 (c-parse-state-point): New variable.
3230 (c-record-parse-state-state): Record old parse state with
3231 `copy-tree'. Record previous value of point.
3232 (c-debug-parse-state-double-cons): New debugging function.
3233 (c-debug-parse-state): Call the above new function.
3234 (c-toggle-parse-state-debug): Output a confirmatory message.
3235
3236 * progmodes/cc-mode.el (c-before-change, c-after-change):
3237 Call c-invalidate-state-cache from `c-before-change' instead of
3238 `c-after-change'.
3239
3240 2012-11-23 Chong Yidong <cyd@gnu.org>
3241
3242 * find-cmd.el (find-constituents): Add executable, ipath,
3243 readable, samefile, writable, daystart, regextype (Bug#12856).
3244
3245 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3246
3247 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3248
3249 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3250
3251 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3252 definition. This fixes a bootstrap failure.
3253 (calc-gregorian-switch): In menu, put dates before regions.
3254 This is easier to follow, lines up better in the menu, and lets us
3255 coalesce regions that switch at the same time. Give country
3256 names, not "Vatican", as that's better for non-expert users.
3257 Use names that are stable between the date of switch and now, e.g.,
3258 Bohemia and Moravia (which existed then and now) and not
3259 Czechoslovakia (which didn't exist then and doesn't exist now).
3260 What is now the U.S. mostly did not switch at the same time as
3261 Britain, so omit the U.S. Correct spelling of "Britain".
3262 Catholic Switzerland was too much of a mess, so omit it.
3263
3264 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3265
3266 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3267 after the variable is changed.
3268
3269 2012-11-21 Daniel Colascione <dancol@dancol.org>
3270
3271 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3272 in SQL declarations for font-lock.
3273 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3274
3275 2012-11-21 Glenn Morris <rgm@gnu.org>
3276
3277 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3278 (face-italic-p): Add optional argument "inherit".
3279
3280 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3281 Remove -p suffix from names, for consistency with other set-face-*.
3282 (set-face-inverse-video): Fix interactive spec.
3283 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3284 * textmodes/table.el (table--update-cell-face):
3285 Use set-face-inverse-video rather than now obsolete alias.
3286
3287 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3288
3289 * simple.el (line-move): Don't call line-move-partial if
3290 scroll-conservatively is in effect. (Bug#12927)
3291
3292 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3293
3294 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3295 Fallback on completion-at-point rather than
3296 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3297 (eshell-cmpl-initialize): Setup completion-at-point.
3298
3299 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3300
3301 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3302
3303 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3304
3305 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3306 are remote, check out-of-band property for both.
3307
3308 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3309
3310 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3311 code rewrite.
3312
3313 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3314
3315 More minor time fixes.
3316 * calendar/time-date.el: Commentary fix.
3317 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3318 too much other code depends on (0 0) time stamps.
3319 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3320 Add a couple of FIXME comments.
3321
3322 Minor cleanup for times as lists of four integers.
3323 * files.el (dir-locals-directory-cache):
3324 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3325 Doc fixes.
3326 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3327 * ps-bdf.el (bdf-file-newer-than-time):
3328 Process four-integers time stamps, not two. Doc fixes.
3329
3330 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * uniquify.el (uniquify-managed): Use defvar-local.
3333 (rename-buffer, create-file-buffer): Advise with advice-add.
3334 (uniquify-unload-function): Unadvise accordingly.
3335
3336 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3337 (trace-buffer): Don't purecopy.
3338 (trace-entry-message, trace-exit-message): Add `context' arg.
3339 (trace--timer): New var.
3340 (trace-make-advice): Adjust for use in nadvice.
3341 Add `context' argument. Delay `display-buffer' via a timer.
3342 (trace-function-internal): Use advice-add.
3343 (trace--read-args): New function.
3344 (trace-function-foreground, trace-function-background): Use it.
3345 (trace-function): Rename to trace-function-foreground and redefine as
3346 an alias to that new name.
3347 (untrace-function, untrace-all): Adjust to the use of nadvice.
3348
3349 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3350
3351 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3352
3353 * subr.el (called-interactively-p-functions): New var.
3354 (internal--called-interactively-p--get-frame): New macro.
3355 (called-interactively-p, interactive-p): Rewrite in Lisp.
3356 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3357 (called-interactively-p-functions): Use it.
3358 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3359 (called-interactively-p-functions): Use it.
3360 * allout.el (allout-called-interactively-p): Don't assume
3361 called-interactively-p is a subr.
3362
3363 2012-11-20 Glenn Morris <rgm@gnu.org>
3364
3365 * profiler.el (profiler-report-mode-map): Add a menu.
3366 No need to bind `q' because we derive from special-mode.
3367 (profiler-report-find-entry): Handle calls from the menu-bar.
3368
3369 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3370
3371 * emacs-lisp/byte-run.el (defun-declarations-alist):
3372 Allow a compiler-macro to be a lambda expression.
3373
3374 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3375 eval-when-compile.
3376 (python-syntax-context): Add compiler-macro.
3377 (python-font-lock-keywords): Simplify with De Morgan.
3378
3379 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3380
3381 * files.el (load-file): Require match in minibuffer selection, as was
3382 the case in Emacs-20 before we changed the spec to allow .elc files
3383 (bug#12935).
3384
3385 * json.el: Don't require cl since we don't use it.
3386 * color.el: Don't require cl.
3387 (color-complement): `caddr' -> `nth 2'.
3388
3389 * calendar/time-date.el (time-to-seconds): De-obsolete.
3390
3391 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3392
3393 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3394 year numbers.
3395 (math-date-to-julian-dt): Adjust the initial approximation for the
3396 year to deal with the new definition of the DATE.
3397
3398 2012-11-19 Daniel Colascione <dancol@dancol.org>
3399
3400 * term/w32-win.el (cygwin-convert-path-from-windows):
3401 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3402
3403 2012-11-18 Chong Yidong <cyd@gnu.org>
3404
3405 * filecache.el (file-cache--read-list): New function.
3406 (file-cache-add-directory-list, file-cache-add-file-list)
3407 (file-cache-delete-file-list, file-cache-delete-directory-list):
3408 Use it to read a list of files or directories (Bug#12846).
3409 (file-cache-add-file, file-cache-add-directory)
3410 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3411 (file-cache-delete-directory): Print an message.
3412
3413 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3414
3415 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3416 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3417
3418 2012-11-18 Glenn Morris <rgm@gnu.org>
3419
3420 * image.el (insert-image, insert-sliced-image): Doc fix.
3421
3422 2012-11-18 Chong Yidong <cyd@gnu.org>
3423
3424 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3425 (Bug#12810).
3426
3427 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3428
3429 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3430 response when the target file is in a subdirectory (Bug#12757).
3431
3432 2012-11-18 Chong Yidong <cyd@gnu.org>
3433
3434 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3435
3436 2012-11-18 Glenn Morris <rgm@gnu.org>
3437
3438 * emacs-lisp/cl-lib.el (face-underline-p):
3439 Use set-face-underline rather than the alias set-face-underline-p.
3440
3441 * window.el (with-temp-buffer-window): Doc fix.
3442 * subr.el (with-output-to-temp-buffer):
3443 Add doc xref to with-temp-buffer-window.
3444
3445 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3446
3447 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3448 * calc/calc.el (math-format-date-cache): Declare.
3449
3450 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3451
3452 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3453 It also uses January 1, 1 AD as its day number 1.
3454 * calc/calc-forms.el (math-julian-date-beginning)
3455 (math-julian-date-beginning-int): Implement this.
3456
3457 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3458
3459 * descr-text.el (quail-find-key):
3460 * dired.el (desktop-file-name):
3461 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3462 * generic-x.el (comint-mode, comint-exec):
3463 * image-dired.el (widget-forward):
3464 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3465 (speedbar-change-expand-button-char)
3466 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3467 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3468 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3469 (widget-field-action, widget-value-set):
3470 * speedbar.el (imenu--make-index-alist):
3471 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3472 (ring-length, ring-insert):
3473 * vcursor.el (compare-windows-skip-whitespace):
3474 * woman.el (dired-get-filename):
3475 Declare functions.
3476
3477 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3478
3479 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3480
3481 * calc/calc.el (calc-gregorian-switch): New variable.
3482
3483 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3484 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3485 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3486 (math-leap-year-p): Add option to distinguish between Julian
3487 and Gregorian calendars.
3488 (math-day-number): Use `math-day-in-year' to do the computations.
3489 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3490 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3491 to do the computations.
3492 (math-date-to-dt): Use `math-date-to-julian-dt' and
3493 `math-date-to-gregorian-dt' to do the computations.
3494 (calcFunc-weekday, math-format-date-part): Use the new version of
3495 the DATE to determine the weekday.
3496 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3497 when necessary.
3498
3499 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3500
3501 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3502 Cygwin; otherwise use 'file:'. (Bug#12914)
3503 (cygwin-convert-path-from-windows): Declare, to avoid
3504 byte-compiler warnings.
3505
3506 2012-11-17 Andreas Politz <politza@fh-trier.de>
3507
3508 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3509 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3510 prefix and negative numeric prefix args (Bug#12795).
3511
3512 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3513
3514 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3515 Don't signal an error with a score that is too low to add to the
3516 list of top scores. (Bug#12779)
3517
3518 2012-11-17 Chong Yidong <cyd@gnu.org>
3519
3520 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3521
3522 * filecache.el (file-cache-add-file): Handle relative file name in
3523 the argument (Bug#12694).
3524
3525 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3526
3527 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3528
3529 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3530
3531 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3532
3533 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3534
3535 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3536
3537 * window.el (enlarge-window, shrink-window): Don't mention return
3538 value in doc-string (Bug#12896).
3539 (window--display-buffer): Don't resize frames - it won't work
3540 with all window managers and defeat pop-up-frame-alist.
3541 (display-buffer-alist): In doc-string explain that CONDITION can
3542 be a function and which arguments are passed to it (Bug#12854).
3543 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3544 expressions (Bug#12854).
3545 (display-buffer): Pass ACTION argument to
3546 display-buffer-assq-regexp.
3547
3548 2012-11-16 Glenn Morris <rgm@gnu.org>
3549
3550 * window.el (fit-frame-to-buffer-bottom-margin)
3551 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3552
3553 * faces.el (face-underline-p): Use face-attribute-specified-or.
3554
3555 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3556
3557 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3558
3559 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3560
3561 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3562
3563 2012-11-16 Glenn Morris <rgm@gnu.org>
3564
3565 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3566 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3567
3568 * faces.el (face-underline-p): Doc fix. Handle :underline being
3569 things other than `t' (a string, a list).
3570 (face-inverse-video-p): Doc fix.
3571 (set-face-underline): Rename it back from set-face-underline-p.
3572 Doc fix. Allow interactive input of values other than t.
3573 (read-face-attribute): Apply formatting to :underline,
3574 since like :box and :stipple it can take list values.
3575
3576 * term.el (ansi-term): Don't let C-x escape-char binding
3577 clobber the more standard C-c binding. (Bug#12842)
3578
3579 * subr.el (set-temporary-overlay-map): Doc fix.
3580
3581 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3582
3583 * window.el (record-window-buffer)
3584 (display-buffer-record-window): When copying the markers to
3585 window-point preserve window-point-insertion-type. (Bug#12588)
3586
3587 2012-11-16 Glenn Morris <rgm@gnu.org>
3588
3589 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3590 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3591 Use new names for hooks rather than obsolete aliases.
3592
3593 2012-11-15 Daniel Colascione <dancol@dancol.org>
3594
3595 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3596 prefix instead of "file:" so that when FILE-NAME begins with "//",
3597 as it does when the target file is on a network share, url-handler
3598 isn't confused.
3599
3600 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3603 a preactivated advice from an old advice.el; they're not compatible!
3604
3605 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3606
3607 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3608 Fix string-spec case.
3609
3610 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3611
3612 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3613
3614 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3615 (advice--buffer-local-function-sample): New var.
3616 (advice--set-buffer-local, advice--buffer-local): New functions.
3617 (add-function, remove-function): Use them.
3618
3619 2012-11-15 Drew Adams <drew.adams@oracle.com>
3620
3621 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3622
3623 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3624
3625 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3626 potential binding of print-gensym to t, and prettify (back)quotes in
3627 case they appear in args's default values (bug#12884).
3628
3629 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3632 (advice-eval-interactive-spec): New function.
3633 (advice--make-interactive-form): Support around advice (bug#12844).
3634
3635 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3636
3637 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3638 more strict. Add docstring.
3639 (ruby-expression-expansion-re): Extract from
3640 `ruby-match-expression-expansion'.
3641 (ruby-syntax-propertize-function): After everything else, search
3642 for expansions in string literals, mark their insides as
3643 whitespace syntax and save match data for font-lock.
3644 (ruby-font-lock-keywords): Use the 2nd group from expression
3645 expansion matches.
3646 (ruby-match-expression-expansion): Use the match data saved to the
3647 text property in ruby-syntax-propertize-function.
3648
3649 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3652 (bug#12879).
3653
3654 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3655
3656 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3657 start/end keyword a bit harder. Works with different values of N.
3658 Add more comments.
3659 (ruby-end-of-block): Update accordingly.
3660
3661 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3662
3663 * woman.el (woman-file-name): Don't mess with unread-command-events
3664 (bug#12861).
3665
3666 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3667 Remove out of date self-require hack.
3668 (ad-do-advised-functions): Use simple `dolist'.
3669 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3670 (ad-advice-definition): Redefine as functions.
3671 (ad-advice-classes): Move before first use.
3672 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3673 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3674 (ad--defalias-fset): Remove functions.
3675 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3676 (ad-get-orig-definition): Rewrite.
3677 (ad-make-advised-definition-docstring): Change base docstring.
3678 (ad-real-orig-definition): Rewrite.
3679 (ad-map-arglists): Change name of called function.
3680 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3681 (ad-make-advised-definition): Simplify.
3682 (ad-assemble-advised-definition): Tweak for new calling context.
3683 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3684 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3685 function and call ad-activate if needed.
3686 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3687 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3688 (ad-compile-function): Compile ad-Advice-*.
3689 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3690 (ad-start-advice, ad-stop-advice): Remove.
3691
3692 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3693
3694 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3695 period before class method names, not after. Remove handling of
3696 one impossible case. Add comments.
3697
3698 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * emacs-lisp/advice.el: Remove support for freezing.
3701 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3702 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3703 Remove support for `freeze'.
3704
3705 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3706 override the default.
3707 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3708 cl--dotimes/dolist.
3709 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3710 `cl' is loaded.
3711
3712 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3713 from add-advice.
3714 (advice--strip-macro): New function.
3715 (advice--defalias-fset): Use them to handle macros.
3716 (advice-add): Use them.
3717 (advice-member-p): Correctly handle macros.
3718
3719 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3720
3721 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3722 Never font-lock the beginning of singleton class as heredoc.
3723
3724 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3725
3726 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3727
3728 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3729
3730 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3731 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3732 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3733
3734 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3735
3736 Fix end-of-defun misbehavior.
3737 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3738 python-beginning-of-defun-function. Handle nested defuns
3739 correctly.
3740 (python-nav-end-of-defun): Rename from
3741 python-end-of-defun-function. Ensure forward movement.
3742 (python-info-current-defun): Reimplement to work as intended
3743 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3744 parent defuns as soon as possible.
3745
3746 2012-11-13 Glenn Morris <rgm@gnu.org>
3747
3748 * progmodes/flymake.el (flymake-error-bitmap)
3749 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3750 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3751
3752 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3753
3754 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3755 backward, always stop at indentation. Reverts the change from
3756 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3757
3758 2012-11-13 Glenn Morris <rgm@gnu.org>
3759
3760 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3761 Add ibuffer-filter-by-derived-mode.
3762
3763 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3764 the same name shadowing each other.
3765
3766 * window.el (with-temp-buffer-window): Doc tweak.
3767
3768 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3769
3770 * help.el (temp-buffer-max-height):
3771 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3772 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3773
3774 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3775
3776 * emacs-lisp/nadvice.el: New package.
3777 * subr.el (special-form-p): New function.
3778 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3779 (elp-all-instrumented-list): Remove var.
3780 (elp-not-profilable): Remove elp-wrapper.
3781 (elp-profilable-p): Use autoloadp and special-form-p.
3782 (elp--advice-name): New const.
3783 (elp-instrument-function): Use advice-add.
3784 (elp--instrumented-p): New predicate.
3785 (elp-restore-function): Use advice-remove.
3786 (elp-restore-all, elp-reset-all): Use mapatoms.
3787 (elp-set-master): Use elp--instrumented-p.
3788 (elp--make-wrapper): Rename from elp-wrapper, return a function
3789 suitable for advice-add. Use cl-inf.
3790 (elp-results): Use mapatoms+elp--instrumented-p.
3791 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3792 (debug-function-list): Remove var.
3793 (debug): Rename arg, and then let-bind it explicitly inside.
3794 (debugger-setup-buffer): Rename arg.
3795 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3796 (debugger-frame-number): Adjust to new debug-on-entry setup.
3797 (debug--implement-debug-on-entry): Rename from
3798 implement-debug-on-entry, add argument.
3799 (debugger-special-form-p): Remove, use special-form-p instead.
3800 (debug-on-entry): Use advice-add.
3801 (debug--function-list): New function.
3802 (cancel-debug-on-entry): Use it, along with advice-remove.
3803 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3804 (debugger-list-functions): Use debug--function-list instead of
3805 debug-function-list.
3806 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3807 (ad-special-form-p): Remove, use special-form-p instead.
3808 (ad-set-advice-info): Use add-function and remove-function.
3809 (ad--defalias-fset): Adjust accordingly.
3810
3811 2012-11-10 Glenn Morris <rgm@gnu.org>
3812
3813 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3814 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3815 (report-emacs-bug-create-existing-bugs-buffer)
3816 (report-emacs-bug-parse-query-results)
3817 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3818
3819 * term.el (term-default-fg-color, term-default-bg-color):
3820 Make obsolete, rather than just saying "deprecated" in the doc.
3821
3822 * term.el (term): Rename from `term-face'.
3823 (term-current-face, ansi-term-color-vector)
3824 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3825 Update all users.
3826
3827 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3828
3829 * server.el (server-create-window-system-frame): Handle Nextstep
3830 specially (Bug#12780).
3831
3832 2012-11-10 Glenn Morris <rgm@gnu.org>
3833
3834 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3835 Unautoload, and make obsolete. (Bug#7449)
3836
3837 2012-11-10 Chong Yidong <cyd@gnu.org>
3838
3839 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3840 rename from diff-remove-trailing-whitespace (Bug#12831).
3841
3842 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3843
3844 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3845 miscompilation of trace.el.
3846
3847 2012-11-10 Glenn Morris <rgm@gnu.org>
3848
3849 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3850
3851 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3854 (bug#12812).
3855
3856 2012-11-10 Chong Yidong <cyd@gnu.org>
3857
3858 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3859 a defcustom with an appropriate :set function.
3860 (minibuffer-default--in-prompt-regexps): New function.
3861
3862 2012-11-10 Glenn Morris <rgm@gnu.org>
3863
3864 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3865 (define-modify-macro): Doc fixes.
3866
3867 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3868 (gv-define-simple-setter): Update doc of `fix-return'.
3869
3870 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3871
3872 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3873 twice when `fix-return' is set (bug#12813).
3874
3875 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3876 gv-define-simple-setter (bug#12812).
3877
3878 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3879 (bug#12756).
3880
3881 2012-11-10 Glenn Morris <rgm@gnu.org>
3882
3883 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3884
3885 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3886 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3887 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3888 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3889
3890 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3891
3892 2012-11-10 Leo Liu <sdl.web@gmail.com>
3893
3894 * ido.el (ido-set-matches-1): Improve flex matching performance by
3895 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3896
3897 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3898
3899 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3900 (ad--defalias-fset): New function.
3901 (ad-safe-fset): Remove.
3902 (ad-make-freeze-definition): Use cl-letf*.
3903
3904 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3905
3906 * subr.el (dolist): Don't bind VAR in RESULT.
3907
3908 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3909 (fset, documentation): Don't save real def since we don't advise.
3910 (ad-do-advised-functions): Remove problematic `result-form'.
3911 (ad-safe-fset): `ad-real-fset' => `fset'.
3912 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3913 uses CL's dolist internally.
3914 (ad-arglist): Remove unused arg `name'.
3915 (ad-docstring, ad-make-advised-docstring):
3916 `ad-real-documentation' => `documentation'.
3917 (warning-suppress-types): Declare.
3918 (ad-set-arguments): Simple CSE.
3919 (ad-recover-normality): Sanity check.
3920
3921 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3922 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3923
3924 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3925
3926 * ses.el: symbol to coordinate mapping is made by symbol property
3927 `ses-cell'. This means that the same mapping is done for all SES
3928 sheets. That is good enough for cells with standard A1 names, but
3929 not for named cell. So a hash map is added for the latter.
3930 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3931 (ses-sym-rowcol): Use hashmap for named cell.
3932 (ses-is-cell-sym-p): New defun.
3933 (ses-decode-cell-symbol): New defun.
3934 (ses-create-cell-variable): Add cell to hashmap when name is not
3935 A1-like.
3936 (ses-rename-cell): Check that cell new name is not already in
3937 spreadsheet with the use of ses-is-cell-sym-p
3938 (ses-rename-cell): Use hash map for named cells, but accept also
3939 renaming back to A1-like.
3940
3941 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3942
3943 * emacs-lisp/advice.el: Use new dynamic docstrings.
3944 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3945 Use dynamic-docstring-function instead of ad-advice-info.
3946 (ad--make-advised-docstring): New function extracted from
3947 ad-make-advised-docstring.
3948 (ad-make-advised-docstring): Use it.
3949 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3950 from sql-help.
3951 (sql-help): Use it with dynamic-docstring-function.
3952
3953 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3954
3955 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3956
3957 * files.el (hack-one-local-variable--obsolete): New function.
3958 (hack-one-local-variable): Use it for obsolete settings.
3959
3960 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3961 the new name.
3962
3963 * progmodes/js.el (js--filling-paragraph): New var.
3964 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3965 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3966 less sneaky.
3967
3968 2012-11-08 Julien Danjou <julien@danjou.info>
3969
3970 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3971 `auto-mode-alist' (Bug#12835).
3972
3973 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3974
3975 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3976 (perl--prettify-symbols-alist): New const.
3977 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3978 New functions.
3979 (perl-font-lock-keywords-2): Use them.
3980 (perl-electric-noindent-p): New function.
3981 (perl-mode): Use it to set up electric-indent-mode.
3982 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3983 (perl-mode-map): Remove bindings for them.
3984 (perl-imenu-generic-expression, perl-outline-level):
3985 Match functions&packages in column>0.
3986
3987 * env.el (env--substitute-vars-regexp): New const.
3988 (substitute-env-vars): Use it. Add `only-defined' arg.
3989 * net/tramp.el (tramp-replace-environment-variables): Use it.
3990
3991 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3992 Byte-compile *before* eval in eval-and-compile.
3993 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3994 (byte-compile-file-form-autoload): Don't hide actual definition.
3995 (byte-compile-maybe-guarded): Accept `functionp' as well.
3996
3997 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3998
3999 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4000
4001 * notifications.el (notifications-get-server-information-method):
4002 New defconst.
4003 (notifications-get-capabilities): Fix docstring.
4004 (notifications-get-server-information): New defun.
4005
4006 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4007
4008 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4009 readability.
4010
4011 * textmodes/ispell.el: Experimental support for support debugging.
4012 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4013 buffer for ispell.
4014 (ispell-print-if-debug): New function to print stuff to
4015 `ispell-debug-buffer' if debugging is enabled.
4016 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4017 show some debugging info.
4018 (ispell-buffer-with-debug): New function that creates a debugging
4019 buffer and calls `ispell-buffer' with debugging enabled.
4020
4021 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4022 comment in autoconf mode. (Bug#12768)
4023
4024 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4025
4026 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4027 frame-first-window, frame-root-window, frame-selected-window,
4028 minibuffer-selected-window, minibuffer-window,
4029 window-absolute-pixel-edges, window-at, window-body-height,
4030 window-body-width, window-display-table, window-combination-limit,
4031 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4032 window-inside-edges, window-inside-pixel-edges, window-left-child,
4033 window-left-column, window-margins, window-next-buffers,
4034 window-next-sibling, window-new-normal, window-new-total,
4035 window-normal-size, window-parameter, window-parameters, window-parent,
4036 window-pixel-edges, window-point, window-prev-buffers,
4037 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4038 window-start, window-text-height, window-top-child, window-top-line,
4039 window-total-height, window-total-width and window-use-time to the list
4040 of functions without side-effects.
4041 (toplevel): Add window-valid-p to the list of error-free functions
4042 without side-effects.
4043
4044 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4045
4046 * textmodes/ispell.el (ispell-program-name):
4047 Update spellchecker parameters when customized.
4048
4049 2012-11-04 Glenn Morris <rgm@gnu.org>
4050
4051 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4052
4053 2012-11-04 Chong Yidong <cyd@gnu.org>
4054
4055 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4056 same-window-* variables.
4057
4058 2012-11-04 Juri Linkov <juri@jurta.org>
4059
4060 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4061 (isearch-describe-key, isearch-describe-mode): Use a display
4062 action instead of binding same-window-* variables (Bug#10040).
4063
4064 2012-11-03 Glenn Morris <rgm@gnu.org>
4065
4066 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4067 Rename handler properties back from cl-- to cl-. (Bug#12788)
4068
4069 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4070
4071 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4072
4073 * term/pc-win.el: Don't load term/internal from here.
4074
4075 * loadup.el: Load term/internal from here.
4076
4077 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4078
4079 * progmodes/python.el (inferior-python-mode): Fix hang in
4080 jit-lock (Bug#12645).
4081
4082 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4083
4084 * window.el (switch-to-visible-buffer)
4085 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4086
4087 2012-11-03 Glenn Morris <rgm@gnu.org>
4088
4089 * emacs-lisp/cl-lib.el (cl--random-time):
4090 Rename from cl-random-time. (Bug#12773)
4091 (cl--gensym-counter, cl--random-state): Update callers.
4092 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4093
4094 2012-11-03 Chong Yidong <cyd@gnu.org>
4095
4096 * cus-start.el: Make cursor-type customizable (Bug#11633).
4097
4098 2012-11-02 Glenn Morris <rgm@gnu.org>
4099
4100 * filecache.el: No need to load find-lisp when compiling.
4101 (find-lisp-find-files): Autoload it.
4102 (file-cache-add-directory-recursively): Don't require find-lisp.
4103
4104 * image.el (image-type-from-file-name): Trivial simplification.
4105
4106 * emacs-lisp/bytecomp.el (byte-compile-eval):
4107 Decouple "noruntime" and "cl-functions" warnings.
4108
4109 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4110
4111 * play/gomoku.el (gomoku-display-statistics): Update mode line
4112 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4113
4114 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4115
4116 * window.el (quit-restore-window): If the window has been
4117 created on an existing frame and ended up as the sole window on
4118 that frame, do not delete it (Bug#12764).
4119
4120 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4123 Rename from sh--inside-arithmetic-expression, handle more cases
4124 (bug#11263).
4125
4126 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4127 (sh-font-lock-open-heredoc): Use it (bug#12770).
4128
4129 2012-10-30 Glenn Morris <rgm@gnu.org>
4130
4131 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4132
4133 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4134
4135 2012-10-29 Chong Yidong <cyd@gnu.org>
4136
4137 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4138 function key is stored in a keyboard macro (Bug#4894).
4139
4140 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4141
4142 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4143
4144 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4145 header comments".
4146 (diff-unified->context, diff-context->unified)
4147 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4148
4149 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4150
4151 * files.el (find-alternate-file): Only ask one question (bug#12487).
4152
4153 2012-10-29 Chong Yidong <cyd@gnu.org>
4154
4155 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4156 Suggested by Dan Nicolaescu (Bug#6326).
4157
4158 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4159
4160 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4161
4162 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4163
4164 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4165
4166 * face-remap.el (face-remap-add-relative): Handle the case where a
4167 face-remapping-alist entry is a cons cell (Bug#12762).
4168
4169 2012-10-29 Kevin Ryde <user42@zip.com.au>
4170
4171 * woman.el (woman-parse-numeric-value): Handle picas correctly
4172 (Bug#12639).
4173
4174 2012-10-29 Glenn Morris <rgm@gnu.org>
4175
4176 * emacs-lisp/cl.el (defsetf): Doc fix.
4177
4178 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4179
4180 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4181 syntax to the matching opener, if any (bug#12547).
4182 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4183 matching open as a "case-(".
4184 (sh-smie-rc-grammar): Add a corresponding rule for it.
4185
4186 2012-10-28 Daniel Hackney <dan@haxney.org>
4187
4188 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4189 "PKGNAME-autoloads.el" in case we created it.
4190
4191 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4192
4193 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4194 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4195 (completion--twq-all): Disable too-strict assertions.
4196
4197 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4198
4199 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4200
4201 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4202 text to match the real keybindings.
4203
4204 2012-10-27 Juri Linkov <juri@jurta.org>
4205
4206 * wdired.el (wdired-keep-marker-rename): New defcustom.
4207 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4208 (Bug#11795)
4209
4210 * dired.el (dired-keep-marker-rename): Add reference to
4211 `wdired-keep-marker-rename' in the docstring.
4212 Add default character value ?R to display initially in
4213 Customization UI instead of ?@.
4214
4215 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4216
4217 * window.el (display-buffer): In doc-string describe
4218 window-height and window-width alist entries.
4219
4220 * time.el (display-time-world): Restore fit-window-to-buffer
4221 behavior.
4222
4223 2012-10-27 Chong Yidong <cyd@gnu.org>
4224
4225 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4226
4227 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4228
4229 * minibuffer.el (completion-category-overrides): New completion
4230 category `bookmark' (bug#11131).
4231
4232 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4233
4234 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4235 Silence bogus compiler warnings for ad-do-it.
4236
4237 * bookmark.el (bookmark-completing-read): Set the completion category
4238 to `bookmark' (bug#11131).
4239
4240 2012-10-26 Bastien <bzg@altern.org>
4241 Stefan Monnier <monnier@iro.umontreal.ca>
4242
4243 * face-remap.el: Use lexical-binding.
4244 (text-scale-adjust): Improve docstring. Use itself for the temporary
4245 overlay-map bindings, so as to repeat the "Use..." message each time.
4246
4247 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4248
4249 * emacs-lisp/macroexp.el (macroexp--expand-all):
4250 Obey byte-compile-warning-enabled-p (bug#12486).
4251
4252 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4253 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4254
4255 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4256
4257 * mouse.el (mouse-drag-line): Move last form into preceding when
4258 clause (Bug#12731).
4259
4260 * help.el (resize-temp-buffer-window): Fix doc-string.
4261
4262 2012-10-25 David Engster <deng@randomsample.de>
4263
4264 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4265 Remove. This feature is already integrated in imenu.
4266
4267 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4268 always loaded. Require `speedbar' unconditionally.
4269
4270 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4271
4272 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4273
4274 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4275
4276 * net/ldap.el (ldap-search-internal): The official ldif format starts
4277 with a "version: 1" header (bug#12724).
4278
4279 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4280 (bug#12721).
4281
4282 2012-10-25 Glenn Morris <rgm@gnu.org>
4283
4284 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4285
4286 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * minibuffer.el (minibuffer-force-complete): Use one more marker
4289 for the temporary-overlay-map command (bug#12619).
4290
4291 2012-10-24 Chong Yidong <cyd@gnu.org>
4292
4293 * time.el (display-time-world-mode): Derive from special-mode.
4294 (display-time-world): Use display-buffer (Bug#12708).
4295 (display-time-world-mode-map): Variable deleted.
4296 (display-time-world-display): Wrap the final delete-char inside
4297 inhibit-read-only.
4298
4299 2012-10-24 Chong Yidong <cyd@gnu.org>
4300
4301 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4302 Doc fix.
4303
4304 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4305
4306 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4307
4308 * minibuffer.el (completion--all-sorted-completions-location): New var.
4309 (completion--cache-all-sorted-completions)
4310 (completion--flush-all-sorted-completions): Use it.
4311 (completion-in-region, completion-in-region--postch)
4312 (completion-at-point, completion-help-at-point): Use markers in
4313 completion-in-region--data (bug#12619).
4314
4315 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4316
4317 * progmodes/compile.el (compilation-start): Try to handle common
4318 quoting of `cd' argument (bug#12640).
4319
4320 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4321 (bug#12671).
4322
4323 2012-10-23 Glenn Morris <rgm@gnu.org>
4324
4325 * progmodes/gud.el (gud-menu-map):
4326 Check gdb-active-process is bound. (Bug#12358)
4327
4328 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4329
4330 * repeat.el (repeat): Set real-this-command (bug#12232).
4331
4332 * htmlfontify.el (hfy-post-html-hook):
4333 * filesets.el (filesets-cache-fill-content-hook):
4334 * arc-mode.el (archive-extract-hook):
4335 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4336 * net/rcirc.el (rcirc-sentinel-functions)
4337 (rcirc-receive-message-functions, rcirc-activity-functions)
4338 (rcirc-print-functions):
4339 * net/dbus.el (dbus-event-error-functions):
4340 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4341 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4342 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4343 * term/sun.el (sun-raw-prefix-hooks):
4344 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4345
4346 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4347
4348 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4349 Set `tramp-chunksize' to 1. This improves the performance.
4350 (tramp-smb-wait-for-output): Add timeout to
4351 `tramp-accept-process-output' calls.
4352
4353 2012-10-23 Chong Yidong <cyd@gnu.org>
4354
4355 * faces.el (font-list-limit): Define as an obsolete variable.
4356
4357 * startup.el (command-line):
4358 * cus-start.el: Don't refer to font-list-limit.
4359
4360 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4361
4362 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4363
4364 * subr.el (internal-temp-output-buffer-show): Rename from
4365 temp-output-buffer-show, since previously compiled files expect this name.
4366
4367 2012-10-23 Glenn Morris <rgm@gnu.org>
4368
4369 * image.el (image-type-from-file-name): If multiple types match,
4370 return the first one that is supported. (Bug#9045)
4371
4372 2012-10-22 Glenn Morris <rgm@gnu.org>
4373
4374 * image.el (imagemagick-enabled-types): Doc fix.
4375
4376 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4377
4378 * progmodes/which-func.el (which-func-current): The hash-table may have
4379 an explicit nil (bug#12338).
4380
4381 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4382
4383 * electric.el (electric-pair-delete-selection-self-insert-function):
4384 Rename to electric-pair-will-use-region, return a boolean.
4385 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4386
4387 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4388 (delete-selection-pre-hook): Use use-region-p.
4389 (delete-selection-self-insert-function): Remove.
4390 (self-insert-command): Obey self-insert-uses-region-functions.
4391 (self-insert-iso): Revert to previous setting, since we don't actually
4392 know what that command does.
4393 (delete-selection-self-insert-hooks): Remove.
4394
4395 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4396
4397 * delsel.el (delete-selection-helper): New function, extracted from
4398 delete-selection-pre-hook.
4399 (delete-selection-pre-hook): Use it.
4400 (delete-selection-self-insert-function): New function.
4401 (delete-selection-self-insert-hooks): New hook.
4402 (self-insert-command, self-insert-iso): Use it.
4403 * electric.el (electric-pair-syntax): New function, extracted from
4404 electric-pair-post-self-insert-function.
4405 (electric-pair-post-self-insert-function): Use it.
4406 (electric-pair-delete-selection-self-insert-function): New function.
4407 (electric-pair-mode): Require delsel and setup
4408 delete-selection-self-insert-hooks (bug#11520).
4409
4410 2012-10-20 Chong Yidong <cyd@gnu.org>
4411
4412 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4413 no changes to show (Bug#12586).
4414
4415 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4416 list explicitly (Bug#12571).
4417
4418 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4419
4420 * progmodes/flymake.el (flymake-create-temp-inplace):
4421 Use file-truename.
4422
4423 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4424
4425 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4426
4427 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4428
4429 * calc/calc-units.el (math-extract-units): Properly extract powers
4430 of units.
4431
4432 2012-10-20 Daniel Colascione <dancol@dancol.org>
4433
4434 * frame.el (make-frame): Set x-display-name as we used to in order
4435 to unbreak creating an X11 frame from an Emacs daemon started
4436 without a display.
4437
4438 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4439
4440 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4441 the same completion-field (bug#12221).
4442
4443 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4444
4445 * emacs-lisp/debug.el (debug): Record height of debugger window
4446 also when debugger will be back (Bug#8789).
4447
4448 2012-10-18 Chong Yidong <cyd@gnu.org>
4449
4450 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4451 Convert to defcustom.
4452 (gdb-get-source-file): Don't bind pop-up-windows.
4453
4454 * progmodes/gud.el (gud-display-line): Don't specially re-use
4455 other frames for the gdb-mi case (Bug#12648).
4456
4457 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4458
4459 * emacs-lisp/advice.el: Clean up commentary a bit.
4460 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4461 (byte-code-function-p): Never redefine.
4462
4463 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4464
4465 2012-10-18 Glenn Morris <rgm@gnu.org>
4466
4467 * dired.el (dired-sort-toggle): Some ls implementations only allow
4468 a single option string. (Bug#12666)
4469
4470 * minibuffer.el (completion-cycle-threshold): Doc fix.
4471
4472 2012-10-17 Kenichi Handa <handa@gnu.org>
4473
4474 * international/mule.el (set-keyboard-coding-system):
4475 Recover input meta mode when the new coding system doesn not use 8-bit.
4476 Supply TERMINAL arg to set-input-meta-mode.
4477
4478 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4479
4480 * wdired.el (wdired-old-marks): New variable.
4481 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4482 (wdired-do-renames): Move point with renamed file and don't lose
4483 mark status (Bug#11795).
4484
4485 2012-10-16 Juri Linkov <juri@jurta.org>
4486
4487 * replace.el (query-replace-help): Mention multi-buffer replacement
4488 keys in the Help message. (Bug#12655)
4489
4490 2012-10-15 Chong Yidong <cyd@gnu.org>
4491
4492 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4493
4494 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4495
4496 * window.el (display-buffer): Doc fix.
4497
4498 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4499 Adjust the msft regexp to the output of Studio 2010, and move msft
4500 before edg-1. See the discussion on emacs-devel,
4501 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4502 for the details.
4503
4504 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4507 (oset): Move uses of object-class-fast macro after its definition.
4508
4509 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4510
4511 2012-10-13 Chong Yidong <cyd@gnu.org>
4512
4513 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4514 enabled, re-enable it (Bug#11963).
4515
4516 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4517
4518 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4519 non-nil, restore window configuration (Bug#12623).
4520
4521 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4522
4523 * help-fns.el (describe-variable, describe-function-1):
4524 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4525
4526 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4527
4528 2012-10-12 Glenn Morris <rgm@gnu.org>
4529
4530 * mail/rmailsum.el (rmail-header-summary):
4531 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4532
4533 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4534
4535 * progmodes/python.el (python-mode-map):
4536 Replace subtitute-key-definition with proper command remapping.
4537 (python-nav--up-list): Fix behavior for blocks on the same level.
4538
4539 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4541 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4542
4543 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4544 changes to the format of load-history.
4545
4546 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4547 completion-ignore-case in case that var is buffer-local (bug#12615).
4548
4549 2012-10-11 Kenichi Handa <handa@gnu.org>
4550
4551 * international/eucjp-ms.el: Re-generated.
4552
4553 2012-10-10 Kenichi Handa <handa@gnu.org>
4554
4555 * select.el (xselect--encode-string): If a coding is specified for
4556 selection, and that is compatible with COMPOUND_TEXT, use it.
4557
4558 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4559
4560 * window.el (switch-to-buffer-preserve-window-point): New option.
4561 (switch-to-buffer):
4562 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4563
4564 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4565
4566 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4567 Don't document nil as a useful value (bug#12583).
4568
4569 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4570
4571 * net/tramp.el (tramp-debug-message):
4572 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4573 (with-tramp-progress-reporter): Rename from
4574 `tramp-with-progress-reporter'.
4575 (with-tramp-file-property, with-tramp-connection-property):
4576 Move from tramp-cache.el, rename from `with-file-property' and
4577 `with-connection-property', respectively.
4578
4579 * net/tramp-cache.el: Remove `with-file-property' and
4580 `with-connection-property'.
4581
4582 * net/tramp.el:
4583 * net/tramp-gvfs.el:
4584 * net/tramp-sh.el:
4585 * net/tramp-smb.el: Adapt callees.
4586
4587 * net/trampver.el: Update release number.
4588
4589 2012-10-09 Glenn Morris <rgm@gnu.org>
4590
4591 * w32-fns.el (set-message-beep):
4592 * term/w32-win.el (set-message-beep): Update declarations.
4593
4594 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4595
4596 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4597 (mode-line-widen, mode-line-input-method-map)
4598 (mode-line-coding-system-map, mode-line-remote)
4599 (mode-line-unbury-buffer, mode-line-bury-buffer)
4600 (mode-line-next-buffer, mode-line-previous-buffer):
4601 Replace save-selected-window+select-window => with-selected-window.
4602
4603 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4604 * progmodes/cc-vars.el (bq-process): Remove, unused.
4605
4606 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4607
4608 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4609
4610 Implemented `backward-up-list'-like navigation.
4611 * progmodes/python.el (python-nav-up-list)
4612 (python-nav-backward-up-list): New functions.
4613 (python-mode-map): Define substitute key for backward-up-list to
4614 python-nav-backward-up-list.
4615
4616 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4617
4618 * progmodes/python.el (python-fill-paragraph): Rename from
4619 python-fill-paragraph-function. Fixed fill-paragraph for
4620 decorators (Bug#12605).
4621
4622 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4623
4624 * progmodes/python.el (python-shell-output-filter): Handle extra
4625 carriage return in OSX (Bug#12409).
4626
4627 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4628
4629 Fix shell handling of unbalanced quotes and parens in output.
4630 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4631 (python-syntax-propertize-function): Use it.
4632 (python-shell-output-syntax-table): New var.
4633 (inferior-python-mode): Prevent unbalanced parens/quotes from
4634 previous output mess with current input context.
4635
4636 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4637
4638 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4639 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4640
4641 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4642
4643 * ffap.el (ffap-replace-file-component): Support Tramp file name
4644 syntax, not only ange-ftp's one.
4645
4646 2012-10-08 Glenn Morris <rgm@gnu.org>
4647
4648 * cus-start.el (message-log-max): Set :version.
4649
4650 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4651
4652 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4653
4654 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4655 the minibuffer window (Bug#10851).
4656
4657 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4658
4659 Enhancements on forward-sexp movement.
4660 * progmodes/python.el (python-nav-beginning-of-statement)
4661 (python-nav-end-of-statement): Return point-marker.
4662 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4663 (python-info-current-symbol)
4664 (python-info-statement-starts-block-p): Rename from
4665 python-info-beginning-of-block-p.
4666 (python-info-statement-ends-block-p): Rename from
4667 python-info-end-of-block-p.
4668 (python-info-beginning-of-statement-p)
4669 (python-info-end-of-statement-p)
4670 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4671 New functions.
4672
4673 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4674
4675 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4676 frame-selected-windows.
4677
4678 2012-10-08 Daniel Colascione <dancol@dancol.org>
4679
4680 * battery.el (battery-status-function): Check for
4681 w32-battery-status itself, not system-time windows-nt.
4682
4683 * frame.el: Require cl-lib.
4684 (display-format-alist): New variable mapping frame types to
4685 functions that initialize them.
4686 (window-system-for-display): New function: interprets
4687 display-format-alist.
4688 (make-frame-on-display): Remove existing display-selection logic
4689 and just forward to make-frame, which will now DTRT.
4690 (make-frame): Restructure to use window-system-for-display to
4691 figure out how to create a frame on a given display.
4692 (display-mouse-p): Look for frame-type w32, not a particular
4693 system-type.
4694
4695 * loadup.el: Load w32 lisp code when we have the w32 feature.
4696
4697 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4698 system-type windows-nt.
4699
4700 * server.el (server-create-window-system-frame): Look for window
4701 type.
4702 (server-proces-filter): Only force a window system when windows-nt
4703 _and_ w32. Explain why.
4704
4705 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4706 of window systems we configure for the mode.
4707
4708 * startup.el (command-line): Mark window system is initialized
4709 after we've done it.
4710
4711 * common-win.el (x-select-text): Look for w32, not windows-nt.
4712
4713 * ns-win.el: Require cl-lib. Add ourselves to
4714 display-format-alist.
4715 (ns-initialize-window-system): Assert we're not initialized twice.
4716
4717 * w32-win.el: Enable lexical binding; require cl-lib; add
4718 ourselves to display-format-alist.
4719 (w32-handle-dropped-file): Convert incoming dropped files from
4720 Windows paths to Cygwin ones before passing them on to the rest of
4721 Emacs.
4722 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4723 (w32-initialize-window-system): Assert we're not initialized twice.
4724
4725 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4726 (x-initialize-window-system): Assert we're not initialized twice.
4727
4728 * w32-common-fns.el: New File.
4729 (w32-version, w32-using-nt, w32-get-clipboard-data)
4730 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4731 (w32-charset-info-alist, x-last-selected, text)
4732 (x-get-selection-value, x-selection-value): Move here.
4733
4734 * w32-fns.el: Require w32-common-fns.
4735 (w32-version, w32-using-nt, w32-get-clipboard-data)
4736 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4737 (w32-charset-info-alist, x-last-selected, text)
4738 (x-get-selection-value, x-selection-value): Move to
4739 w32-common-fns.
4740
4741 * w32-vars.el:
4742 (w32-allow-system-shell, w32-system-shells): Define only in
4743 non-cygwin case.
4744
4745 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4746
4747 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4748 (read-passwd): Remove a few more potential sources of leaks.
4749
4750 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4751
4752 * progmodes/python.el (inferior-python-mode)
4753 (python-shell-make-comint): Fix initialization of local
4754 variables copied from parent buffer.
4755
4756 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4757
4758 * term/ns-win.el (ns-read-file-name): Update declaration to match
4759 nsfns.m.
4760 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4761 it is set when font is acted upon.
4762
4763 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4764
4765 Enhancements to indentation.
4766 * progmodes/python.el (python-indent-context): Give priority to
4767 inside-string context. Make comments indentation markers.
4768 (python-indent-region): Do not mess with strings, unless it's the
4769 enclosing set of quotes.
4770
4771 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4772
4773 * window.el (internal--before-save-selected-window)
4774 (internal--after-save-selected-window): New functions extracted from
4775 save-selected-window. Make sure we return the `alist' we construct.
4776 (save-selected-window): Use them.
4777
4778 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4779 Use with-selected-window.
4780
4781 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4782 forms that define macros (bug#12593).
4783
4784 2012-10-07 Kenichi Handa <handa@gnu.org>
4785
4786 * international/mule-conf.el (compound-text-with-extensions):
4787 Add :mime-charset property as x-ctext.
4788
4789 2012-10-07 Stefan Merten <smerten@oekonux.de>
4790
4791 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4792 (rst-indent-literal-normal, rst-indent-literal-minimized)
4793 (rst-indent-comment): Correct :version tag.
4794 (rst-official-cvs-rev): Correct version string.
4795
4796 2012-10-07 Glenn Morris <rgm@gnu.org>
4797
4798 * mail/rmailmm.el (rmail-mime-process-multipart):
4799 Do not confuse a multipart message with an epilogue
4800 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4801
4802 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4803
4804 Fix shell output retrieval and comint-prompt-regexp init.
4805 * progmodes/python.el (inferior-python-mode):
4806 (python-shell-make-comint): Fix initialization of
4807 comint-prompt-regexp from copied file local variables.
4808 (python-shell-fetched-lines): Remove var.
4809 (python-shell-output-filter-in-progress): Rename from
4810 python-shell-fetch-lines-in-progress.
4811 (python-shell-output-filter-buffer): Rename from
4812 python-shell-fetch-lines-string.
4813 (python-shell-fetch-lines-filter): Delete function.
4814 (python-shell-output-filter): New function.
4815 (python-shell-send-string-no-output): Use them.
4816
4817 2012-10-07 Glenn Morris <rgm@gnu.org>
4818
4819 * hi-lock.el (hi-lock-process-phrase):
4820 Try to make it less fragile. (Bug#7161)
4821
4822 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4823
4824 2012-10-06 Glenn Morris <rgm@gnu.org>
4825
4826 * ehelp.el (electric-help-mode): Use help-mode rather than
4827 non-existent mode `help'.
4828 (electric-help-map): Use button-buffer-map. (Bug#10917)
4829
4830 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4831 (reftex-create-bibtex-footer): Fix custom types.
4832
4833 * progmodes/sh-script.el (sh-indent-after-continuation):
4834 Add explicit :group.
4835
4836 * textmodes/rst.el (rst-preferred-decorations)
4837 (rst-shift-basic-offset): Clarify obsolescence versions.
4838
4839 * profiler.el (profiler): Add missing group :version tag.
4840 * avoid.el (mouse-avoidance-banish-position):
4841 * proced.el (proced-renice-command):
4842 * calc/calc.el (calc-ensure-consistent-units):
4843 * calendar/icalendar.el (icalendar-import-format-uid):
4844 * net/tramp.el (tramp-save-ad-hoc-proxies):
4845 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4846 * progmodes/flymake.el (flymake-error-bitmap)
4847 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4848 * progmodes/sh-script.el (sh-indent-after-continuation):
4849 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4850 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4851 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4852 (vhdl-array-index-record-field-in-sensitivity-list)
4853 (vhdl-indent-comment-like-next-code-line):
4854 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4855 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4856 (reftex-cite-key-separator, reftex-create-bibtex-header)
4857 (reftex-create-bibtex-footer):
4858 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4859 (rst-indent-literal-normal, rst-indent-literal-minimized)
4860 (rst-indent-comment): Add missing custom :version tags.
4861
4862 * calendar/timeclock.el (timeclock-modeline-display):
4863 Add missing obsolete alias for renamed user option.
4864
4865 * strokes.el (strokes-modeline-string):
4866 * emulation/crisp.el (crisp-mode-modeline-string):
4867 * eshell/esh-mode.el (eshell-status-in-modeline):
4868 Aliases to defcustoms must come before the defcustom.
4869
4870 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4871 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4872 (cal-tex-cursor-week-monday): Doc fixes.
4873 (cal-tex-cursor-week2-summary): Doc fix.
4874 Rename from cal-tex-cursor-week-at-a-glance.
4875
4876 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4877 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4878
4879 * calendar/calendar.el (calendar-mode-map):
4880 Add cal-tex-cursor-week2-summary.
4881
4882 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4883
4884 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4885
4886 * subr.el (read-passwd-map): New var.
4887 (read-passwd): Use `read-string' again.
4888 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4889
4890 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4891
4892 * register.el (append-to-register, prepend-to-register):
4893 Deactivate mark, as does `copy-to-register' (bug#12389).
4894
4895 2012-10-06 Chong Yidong <cyd@gnu.org>
4896
4897 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4898
4899 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4900
4901 * international/characters.el: Fix simple mistake ((car chars) ->
4902 elt), delete duplicated code.
4903
4904 2012-10-06 Glenn Morris <rgm@gnu.org>
4905
4906 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4907
4908 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4909
4910 * color.el (color-hsl-to-rgb): Fix incorrect results for
4911 small and large hue values. (Bug#12559)
4912
4913 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4914
4915 Enhancements to docstring formatting when filling paragraphs.
4916 * progmodes/python.el (python-fill-docstring-style): Rename from
4917 python-fill-string-style. Added new style.
4918 (python-fill-string): Use new style. Better checks for
4919 docstrings.
4920
4921 2012-10-05 Glenn Morris <rgm@gnu.org>
4922
4923 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4924
4925 * color.el (color-name-to-rgb, color-rgb-to-hex)
4926 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4927 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4928 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4929 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4930
4931 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4932
4933 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4934
4935 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4936 to get the correct size across symlinks.
4937
4938 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4939
4940 2012-10-04 Juri Linkov <juri@jurta.org>
4941
4942 * replace.el (query-replace-interactive): Declare obsolete.
4943 (query-replace-read-from): Add the last incremental search string
4944 to the list of default values accessible via M-n.
4945 (map-query-replace-regexp): Use `read-regexp'.
4946 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4947 (map-query-replace-regexp, replace-string, replace-regexp):
4948 Fix docstrings to replace mentions of `query-replace-interactive'
4949 with alternatives. (Bug#12526)
4950
4951 2012-10-04 Juri Linkov <juri@jurta.org>
4952
4953 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4954 (dired-pop-to-buffer): Declare obsolete.
4955 (dired-mark-pop-up): Doc fix.
4956
4957 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4958
4959 Allow user to set docstring style for fill-paragraph.
4960 * progmodes/python.el
4961 (python-fill-comment-function, python-fill-string-function)
4962 (python-fill-decorator-function, python-fill-paren-function):
4963 Remove :safe for defcustoms.
4964 (python-fill-string-style): New defcustom
4965 (python-fill-paragraph-function): Enhance context detection.
4966 (python-fill-string): Honor python-fill-string-style settings.
4967
4968 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4969
4970 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4971 after setting its buffer (Bug#10805).
4972
4973 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4974
4975 Fix cornercase for string syntax.
4976 * progmodes/python.el (python-syntax-propertize-function):
4977 Simplify and enhance the regexp for unescaped quotes. Now it also
4978 matches quotes in weird situations like the single quote in
4979 "something\"'".
4980 (python-syntax-stringify): Simplify num-quotes detecting code.
4981
4982 2012-10-03 Glenn Morris <rgm@gnu.org>
4983
4984 * help-macro.el (three-step-help):
4985 Revert 2012-09-29 change. (Bug#12567)
4986
4987 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4988
4989 * menu-bar.el (kill-this-buffer): Don't do anything when
4990 `menu-frame' is not alive or visible (Bug#8184).
4991
4992 * emacs-lisp/debug.el (debug): When quitting the debugger window
4993 restore current buffer (Bug#12502).
4994
4995 2012-10-02 Chong Yidong <cyd@gnu.org>
4996
4997 * progmodes/hideif.el (hif-lookup, hif-defined):
4998 Handle semantic-c-takeover-hideif.
4999
5000 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5001
5002 Change sampling interval units from ms to ns.
5003 * profiler.el (profiler-sampling-interval): Change units
5004 from ms to ns, multiplying the default by 1000000 so that
5005 it remains 1 ms.
5006 (profiler-report-cpu-line-format): Give enough room for
5007 the maximum counters on 64-bit hosts.
5008 (profiler-report-render-calltree-1): Call them "CPU samples",
5009 not "Time (ms)", since they are not milliseconds now (and
5010 never really were).
5011
5012 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5013
5014 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5015 Fix querying BBDB for entries without a last name (Bug#11580).
5016
5017 2012-10-02 Chong Yidong <cyd@gnu.org>
5018
5019 * emacs-lisp/eieio.el: Restore Version header.
5020
5021 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5022
5023 * vc/diff-mode.el (diff--auto-refine-data): New var.
5024 (diff-hunk): Use it to delay refinement.
5025 (diff-mode): Remove overlays when we turn off font-lock.
5026
5027 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5028 (table-initialize-table-fixed-width-mode)
5029 (table-set-table-fixed-width-mode): Remove functions.
5030 (table-command-list): Move initialization into declaration.
5031 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5032 (table-with-cache-buffer): Use `declare'.
5033 (table-span-cell): Simplify via CSE.
5034 (table-fixed-width-mode): Use define-minor-mode.
5035 (table-call-interactively, table-funcall, table-apply): Remove.
5036 (table-function): New function, to replace them.
5037
5038 * bookmark.el (bookmark-search-pattern): Remove var.
5039 (bookmark-read-search-input): Remove function.
5040 (bookmark-bmenu-search): Reimplement using a minibuffer.
5041
5042 * faces.el (modeline): Remove obsolete face name.
5043
5044 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5045 and give a non-nil default value.
5046 (add-change-log-entry): Simplify accordingly.
5047
5048 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5049
5050 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5051 (vc-git-log-edit-toggle-amend): New function.
5052 (vc-git-log-edit-toggle-signoff): New function.
5053 (vc-git-log-edit-mode): New major mode.
5054 (vc-git-log-edit-mode-map): Keymap for it.
5055 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5056
5057 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5058 header names.
5059 (log-edit-toggle-header): New function.
5060 (log-edit-extract-headers): Accept function values in HEADERS alist.
5061
5062 2012-10-01 David Engster <deng@randomsample.de>
5063
5064 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5065 from symbol property and change message to be more consistent with
5066 Emacs proper.
5067 (eieio-describe-generic): Add filename for each implementation.
5068 Fix indices for generic and normal methods.
5069 (eieio-method-def, eieio-class-def): New buttons.
5070 (eieio-help-find-method-definition)
5071 (eieio-help-find-class-definition): New functions.
5072 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5073 class, constructor and method definitions.
5074
5075 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5076 information in symbol property.
5077 (scoped-class): Remove.
5078 (eieio-slot-name-index, call-next-method): Check if it is bound.
5079
5080 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5081
5082 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5083 (eieio-custom-mode): New major mode.
5084 (eieio-customize-object): Use it.
5085
5086 2012-10-01 Eric Ludlam <zappo@gnu.org>
5087
5088 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5089 specifying the expected class, and whether subclassing is allowed.
5090 (eieio-persistent-convert-list-to-object):
5091 (eieio-persistent-validate/fix-slot-value)
5092 (eieio-persistent-slot-type-is-class-p): New functions.
5093 (eieio-named::slot-missing): Doc fix.
5094
5095 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5096 Stop using unused publd variable.
5097
5098 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5099 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5100 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5101 (eieio-speedbar-handle-click): Do not specify a class for the
5102 method. Fixes method invocation order problems with EDE.
5103
5104 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5105
5106 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5107 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5108
5109 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5110
5111 * bookmark.el (bookmark-version-control): Give tags in the
5112 :type choices (Bug#12309), and improve doc string.
5113 (bookmark-write-file): Bind `print-circle' to `t' to allow
5114 circular custom bookmark types. (Bug#12503)
5115
5116 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5117
5118 Revert the FOLLOW-SYMLINKS change for file-attributes.
5119 * files.el (remote-file-name-inhibit-cache, after-find-file):
5120 * time.el (display-time-file-nonempty-p): Undo last change.
5121
5122 * profiler.el (profiler-sampling-interval): Change default back to 1.
5123 See Stefan Monnier in
5124 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5125
5126 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5127
5128 Shell output catching a la gud-gdb.
5129 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5130 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5131 New Vars.
5132 (python-shell-fetch-lines-filter): New function.
5133 (python-shell-send-string-no-output): Use them.
5134
5135 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5136
5137 * profiler.el (profiler-sampling-interval): Rename from
5138 profiler-sample-interval.
5139 (profiler-sampling-interval): Default to 10.
5140 (profiler-find-profile): New command (was profiler-find-log).
5141 (profiler-find-profile-other-window): New command.
5142 (profiler-find-profile-other-frame): New command.
5143 (profiler-profile): Introduce API-level data structure.
5144
5145 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5146
5147 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5148 * files.el (remote-file-name-inhibit-cache):
5149 * time.el (display-time-file-nonempty-p): Use it.
5150 * files.el (after-find-file): Don't chase links before calling
5151 file-exists-p, as file-exists-p already does the right thing.
5152
5153 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5154
5155 Merge from standalone RefTeX repository.
5156
5157 The following ChangeLog entries are shortened versions of the
5158 original ones with file paths adapted. A not so strongly edited
5159 version of the original ChangeLog can be found in the commit log.
5160
5161 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5162 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5163 Correctly handle new value type returned by `reftex-citation'.
5164
5165 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5166 that entries with whitespace at various places are found.
5167 Doc fix. Include entries that are cross-referenced from cited entries.
5168 Include @String definitions in the resulting bib file. Add header
5169 and footer defined in `reftex-create-bibtex-header' and
5170 `reftex-create-bibtex-footer'.
5171 (reftex-do-citation): Make it possible again to insert
5172 non-existent entries. Save match data when asking for optional
5173 arguments. Return all keys, not just the first one.
5174 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5175 all citations in the same line.
5176 (reftex-parse-bibtex-entry): Accept additional optional argument
5177 `raw' and keep quotes or braces if it is non-nil. Match fields
5178 containing hyphens besides word constituents.
5179 (reftex-get-string-refs): New function.
5180 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5181 and ask if it should be reread in case it did.
5182 (reftex-pop-to-bibtex-entry)
5183 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5184 entries with spaces or tabs in front of arguments.
5185 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5186 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5187 Match entries containing numbers and symbol constituents.
5188 (reftex-do-citation, reftex-figure-out-cite-format):
5189 Use `reftex-cite-key-separator'.
5190
5191 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5192 (reftex-mouse-view-crossref): Explain why point is set.
5193
5194 * textmodes/reftex-global.el: Whitespace changes.
5195
5196 * textmodes/reftex-index.el: Move provide statement to end of
5197 file.
5198 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5199 (reftex-index-visit-phrases-buffer): Set marker when visiting
5200 buffer. This allows for returning from the phrases file to the
5201 file one was just editing instead of the file where the last
5202 phrases was added from.
5203 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5204 punctuation syntax as it usually is not used as string quote in
5205 TeX-related modes and may occur unmatched. The change also
5206 prevents fontification of quoted content.
5207 (reftex-index-phrases-mode): Use it.
5208
5209 * textmodes/reftex-parse.el (reftex-parse-from-file):
5210 Move backward one char if a `\' was matched after a section macro.
5211 (reftex-parse-from-file): Use beginning of match instead of end as
5212 bound.
5213
5214 * textmodes/reftex-ref.el: Adapt creation of
5215 `reftex-<package>-<macro>' functions to new structure of
5216 `reftex-ref-style-alist'.
5217 (reftex-reference): Use `reftex-ref-style-list' function.
5218 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5219 reference macro if `reftex-ref-macro-prompt' is non-nil.
5220 (reftex-reference): Pass refstyle to `reftex-format-special'.
5221 Determine reference macro by looking at
5222 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5223 Use only one special format function.
5224 (reftex-varioref-vref, reftex-fancyref-fref)
5225 (reftex-fancyref-Fref): Remove definitions. The functions are now
5226 generated from `reftex-ref-style-alist'.
5227 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5228 Remove.
5229 (reftex-format-special): New function.
5230
5231 * textmodes/reftex-sel.el
5232 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5233 of `reftex-ref-style-alist'. Remove code for testing macro type.
5234 (reftex-select-toggle-varioref)
5235 (reftex-select-toggle-fancyref): Remove.
5236 (reftex-select-cycle-ref-style-internal)
5237 (reftex-select-cycle-ref-style-forward)
5238 (reftex-select-cycle-ref-style-backward): New functions.
5239 (reftex-select-label-map): Use `v' and `V' for general cycling
5240 through reference styles. Add `p' for switching between number
5241 and page reference types.
5242
5243 * textmodes/reftex-toc.el (reftex-re-enlarge):
5244 Call `enlarge-window' only if there is something to do because in Emacs
5245 the horizontal version throws an error even if the parameter is 0.
5246
5247 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5248 (reftex-plug-into-AUCTeX): Doc fix.
5249 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5250 string. Adapt to new name.
5251 (reftex-ref-style-alist): Change structure so that it is not
5252 possible to use multiple different package names within a style.
5253 Remove the symbols for symbols for macro type distinction.
5254 Add characters for macro selection.
5255 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5256 (reftex-create-bibtex-footer): New variables.
5257 (reftex-format-ref-function): Mention third argument of special
5258 format function.
5259 (reftex-ref-style-alist, reftex-ref-style-default-list):
5260 New variables.
5261 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5262 to new implementation. Mark as obsolete. Add compatibility code
5263 for honoring the variable values in case they are set.
5264 (reftex-cite-format-builtin, reftex-bibliography-commands):
5265 Add support for ConTeXt.
5266 (reftex-format-ref-function, reftex-format-cite-function):
5267 Fix custom type.
5268 (reftex-cite-key-separator): New variable.
5269
5270 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5271 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5272 `reftex-syntax-table' because parens have to retain their paren
5273 syntax in order for parsing of BibTeX entries like @book(...) to
5274 work.
5275 (reftex-in-comment): Do not error out if `comment-start-skip' is
5276 not set. Deal correctly with escaped comment characters.
5277 (reftex-tie-multifile-symbols): Add doc string.
5278 Initialize `reftex-ref-style-list'.
5279 (reftex-untie-multifile-symbols): Add doc string.
5280 (reftex-add-index-macros): Doc fix.
5281 (reftex-ref-style-activate, reftex-ref-style-toggle)
5282 (reftex-ref-style-list): New functions.
5283 (reftex-mode-menu): Use them. Adapt to new structure of
5284 `reftex-ref-style-alist'.
5285 (reftex-select-with-char): Kill the RefTeX Select buffer when
5286 done.
5287 (reftex-remove-if): New function.
5288 (reftex-erase-all-selection-and-index-buffers)
5289 (reftex-mode-menu): Reference styles are now computed from
5290 `reftex-ref-style-alist'. Fix typo.
5291 (reftex-report-bug): New function.
5292 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5293 algorithms with O(n log n). Introduce optional argument SORT (not
5294 yet used).
5295
5296 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5297
5298 Enhancements for triple-quote string syntax.
5299 * progmodes/python.el (python-syntax-propertize-function):
5300 Match both quote cases in one regexp.
5301 (python-syntax-stringify): Handle matches properly.
5302
5303 2012-09-30 Juri Linkov <juri@jurta.org>
5304
5305 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5306 to nil around the call to `insert' to prevent
5307 directory time modification by lock_file. (Bug#2295)
5308 * tar-mode.el (tar-summarize-buffer): Idem.
5309
5310 2012-09-30 Juri Linkov <juri@jurta.org>
5311
5312 * facemenu.el (list-colors-sort): Add option "Luminance".
5313 (list-colors-sort-key): Implement it.
5314
5315 * vc/diff-mode.el (diff-refine-removed):
5316 * vc/ediff-init.el (ediff-fine-diff-A):
5317 * vc/smerge-mode.el (smerge-refined-removed):
5318 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5319
5320 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5321
5322 * term/ns-win.el (x-file-dialog): New function.
5323
5324 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5325
5326 * ido.el (ido-max-directory-size): Default to nil; the current
5327 default is small for POSIX systems, and impractical on Windows 7
5328 now that lstat returns directory sizes for NTFS.
5329
5330 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5331
5332 In buffer display functions handle window-height/window-width
5333 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5334 * window.el (window--display-buffer): New argument ALIST.
5335 Obey window-height and window-width alist entries.
5336 (window--try-to-split-window): New argument ALIST.
5337 Bind window-combination-limit to t when the window's size shall be
5338 changed and window-combination-limit equals `window-size'.
5339 (display-buffer-in-atom-window)
5340 (display-buffer-in-major-side-window)
5341 (display-buffer-in-side-window, display-buffer-same-window)
5342 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5343 (display-buffer-pop-up-window, display-buffer-below-selected)
5344 (display-buffer-at-bottom, display-buffer-in-previous-window)
5345 (display-buffer-use-some-window): Adjust all callers of
5346 window--display-buffer and window--try-to-split-window.
5347 (fit-frame-to-buffer): New option.
5348 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5349 is non-nil.
5350 (display-buffer-in-major-side-window): Evaluate window-height /
5351 window-width alist entries.
5352
5353 * help.el (temp-buffer-resize-frames)
5354 (temp-buffer-resize-regexps): Remove options.
5355 (temp-buffer-resize-mode): Adjust doc-string.
5356 (resize-temp-buffer-window): Don't consult
5357 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5358 temp-buffer-resize-frames.
5359
5360 * dired.el (dired-mark-pop-up):
5361 Call display-buffer-below-selected with a fit-window-to-buffer alist
5362 entry.
5363
5364 2012-09-30 Chong Yidong <cyd@gnu.org>
5365
5366 * server.el (server-host): Document the security implications.
5367 (server-auth-key): Doc fix.
5368
5369 * startup.el (initial-buffer-choice): Doc fix.
5370
5371 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5372
5373 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5374 restriction change.
5375
5376 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5377
5378 * help-fns.el (help-fns--obsolete): Fix last change.
5379
5380 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5381
5382 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5383 (minor-mode-map-alist): Remove redundant code.
5384
5385 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5386 visited in a buffer.
5387 (cvs-insert-visited-file): New function.
5388 (find-file-hook): Use it.
5389
5390 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5391
5392 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5393 chose face.
5394 (log-edit-empty-buffer-p): Don't require a space after a header.
5395
5396 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5397
5398 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5399
5400 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5401 a proper minor-mode.
5402
5403 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5404
5405 2012-09-29 Glenn Morris <rgm@gnu.org>
5406
5407 * winner.el (winner-mode): Remove variable (let define-minor-mode
5408 handle it).
5409 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5410 Doc fixes.
5411 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5412 (winner-mode): Use define-minor-mode.
5413
5414 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5415 the full definition in loaddefs, rather than duplicating it.
5416
5417 * help-macro.el (three-step-help): No need to autoload defcustom.
5418
5419 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5420 (inferior-lisp-program, inferior-lisp-load-command)
5421 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5422 No need to autoload defcustoms.
5423
5424 * hippie-exp.el (hippie-expand-try-functions-list)
5425 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5426 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5427 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5428 (hippie-expand-only-buffers): No need to autoload defcustoms.
5429 * progmodes/vhdl-mode.el (vhdl-line-expand):
5430 Explicitly load hippie-exp, so it does not get autoloaded
5431 while hippie-expand-try-functions-list is let-bound.
5432
5433 2012-09-28 Glenn Morris <rgm@gnu.org>
5434
5435 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5436
5437 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5438 Only "cl.el" counts as cl these days.
5439
5440 2012-09-28 Juri Linkov <juri@jurta.org>
5441
5442 Display archive errors in the echo area instead of inserting
5443 to the file buffer.
5444
5445 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5446 to STDERR-TEST that can be a regexp matching a successful output.
5447 Create a temporary file and redirect stderr to it. Search for
5448 STDERR-TEST in the stderr output and display it in the echo area
5449 if no match is found.
5450 (archive-extract-by-file): New function like
5451 `archive-extract-by-stdout' but extracting archives to files
5452 and looking for successful matches in stdout. Function body is
5453 mostly copied from `archive-rar-extract'.
5454 (archive-rar-extract): Use `archive-extract-by-file'.
5455 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5456
5457 2012-09-28 Leo Liu <sdl.web@gmail.com>
5458
5459 * pcomplete.el (pcomplete-show-completions):
5460 Use minibuffer-message to make pcomplete usable in minibuffer.
5461
5462 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5463
5464 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5465
5466 * type-break.el: Use lexical-binding.
5467 (type-break-mode): Use define-minor-mode.
5468
5469 * emacs-lisp/pcase.el (pcase--mark-used): New.
5470 (pcase--u1): Use it (bug#12512).
5471
5472 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5473 in load-history with the right file name.
5474
5475 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5476
5477 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5478 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5479 (doc-view-get-bounding-box): Make bounding box slicing work for
5480 ODF and DVI documents.
5481
5482 2012-09-28 Glenn Morris <rgm@gnu.org>
5483
5484 * type-break.el (type-break-mode, type-break-interval)
5485 (type-break-good-rest-interval, type-break-keystroke-threshold):
5486 No need to autoload.
5487 (type-break-good-rest-interval, type-break-keystroke-threshold):
5488 Add :set-after.
5489
5490 2012-09-28 Chong Yidong <cyd@gnu.org>
5491
5492 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5493 Add :version tag.
5494
5495 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5496
5497 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5498
5499 2012-09-27 Glenn Morris <rgm@gnu.org>
5500
5501 * faces.el (x-display-name): Declare (for without-x builds).
5502
5503 * linum.el (linum-format): Don't autoload it. Improve :type.
5504
5505 * progmodes/tcl.el: Don't require outline when compiling.
5506 (outline-regexp, outline-level): Declare.
5507 * textmodes/sgml-mode.el: Don't require outline when compiling.
5508 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5509
5510 * term.el (term-ansi-reset):
5511 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5512
5513 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5514 files for RCS and SCCS. (Bug#9781)
5515
5516 2012-09-27 Chong Yidong <cyd@gnu.org>
5517
5518 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5519 change; value should be t.
5520
5521 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5522
5523 * image-mode.el: Use lexical-binding.
5524 (image-mode-winprops): Use t to stand for the window of
5525 a buffer that's not displayed.
5526 * doc-view.el (doc-view-new-window-function): Handle the new
5527 t in winprops.
5528 (doc-view-enlarge): Make it a real nop if the size is not changed.
5529 (doc-view-display): Handle the case where the buffer is not (yet?)
5530 displayed in any window.
5531 (doc-view-saved-settings): New var.
5532 (doc-view-mode): Use it.
5533 (doc-view-fallback-mode): Set it.
5534
5535 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5536 Set lexical-binding.
5537 (minibuffer-eldef-shorten-default): New var.
5538 (minibuffer-default-in-prompt-regexps): Use it for new default.
5539 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5540
5541 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5542
5543 * international/uni-bidi.el:
5544 * international/uni-category.el:
5545 * international/uni-name.el:
5546 * international/uni-numeric.el: Regenerate.
5547
5548 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5549 Stefan Monnier <monnier@iro.umontreal.ca>
5550
5551 * profiler.el: New file.
5552
5553 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5556 (testcover-reinstrument): Simplify with CSE.
5557
5558 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5559
5560 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5561
5562 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5563
5564 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5565 (verilog-auto-input, verilog-auto-insert-lisp)
5566 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5567 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5568 (verilog-auto-unused, verilog-auto-wire)
5569 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5570 newline. Reported by Andrew Jones.
5571 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5572 Reported by Brad Dobbie.
5573 (verilog-batch-delete-trailing-whitespace):
5574 Create verilog-batch-delete-trailing-whitespace.
5575 Reported by Brad Dobbie.
5576 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5577 parameters from another module. Reported by Dan Katz.
5578 (verilog-auto, verilog-auto-assign-modport)
5579 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5580 AUTOINOUTMODPORT for UVM interface module shell generation.
5581 Reported by Brad Dobbie.
5582 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5583 standard behavior.
5584 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5585 Reported by Matt Martin.
5586
5587 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5588
5589 * window.el (window--resize-child-windows): When resizing child
5590 windows proportionally, process them in reverse order to
5591 preserve the "when splitting a window the new one gets the odd
5592 line" behavior.
5593 (window--resize-root-window-vertically): When resizing the
5594 minibuffer window try to affect only windows at the bottom of the
5595 frame. (Bug#12419)
5596
5597 2012-09-25 Chong Yidong <cyd@gnu.org>
5598
5599 * subr.el (declare): Doc fix.
5600
5601 * help-fns.el (help-fns--obsolete): Handle macros properly.
5602
5603 2012-09-25 Chong Yidong <cyd@gnu.org>
5604
5605 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5606 this function obsolete.
5607
5608 * calendar/cal-x.el (calendar-two-frame-setup)
5609 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5610 * calendar/calendar.el (american-calendar, european-calendar)
5611 (calendar-for-loop):
5612 * comint.el (comint-dynamic-simple-complete)
5613 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5614 * desktop.el (desktop-load-default):
5615 * dired-x.el (dired-omit-here-always)
5616 (dired-hack-local-variables, dired-default-directory):
5617 * emacs-lisp/derived.el (derived-mode-class):
5618 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5619 * emacs-lock.el (toggle-emacs-lock):
5620 * epa.el (epa-display-verify-result):
5621 * epg.el (epg-sign-keys, epg-start-sign-keys)
5622 (epg-passphrase-callback-function):
5623 * eshell/esh-util.el (eshell-for):
5624 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5625 (eshell-add-to-window-buffer-names):
5626 * files.el (locate-file-completion):
5627 * imenu.el (imenu-example--create-c-index)
5628 (imenu-example--create-lisp-index)
5629 (imenu-example--lisp-extract-index-name)
5630 (imenu-example--name-and-position):
5631 * international/mule-cmds.el (princ-list):
5632 * international/mule-diag.el (decode-codepage-char):
5633 * international/mule-util.el (detect-coding-with-priority):
5634 * iswitchb.el (iswitchb-read-buffer):
5635 * mail/mailalias.el (mail-complete):
5636 * mail/sendmail.el (mail-sent-via):
5637 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5638 (mouse-major-mode-menu):
5639 * password-cache.el (password-read-and-add):
5640 * pcomplete.el (pcomplete-parse-comint-arguments):
5641 * progmodes/sh-script.el (sh-maybe-here-document):
5642 * replace.el (query-replace-regexp-eval):
5643 * savehist.el (savehist-load):
5644 * simple.el (choose-completion-delete-max-match):
5645 * term.el (term-dynamic-simple-complete):
5646 * vc/ediff-init.el (ediff-check-version):
5647 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5648 * vc/vc.el (vc-diff-switches-list):
5649 * view.el (view-return-to-alist-update): Likewise.
5650
5651 * subr.el (eval-next-after-load, makehash, insert-string)
5652 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5653 mark obsolete.
5654 (mode-line-inverse-video): Variable deleted.
5655
5656 * international/mule-util.el (string-to-sequence): Remove.
5657
5658 * calendar/calendar.el (calendar-version):
5659 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5660 (icalendar-convert-diary-to-ical):
5661 * cus-edit.el (custom-mode):
5662 * ansi-color.el (ansi-color-unfontify-region):
5663 * international/latin1-disp.el (latin1-char-displayable-p):
5664 * progmodes/cwarn.el (turn-on-cwarn-mode):
5665 * progmodes/which-func.el (which-func-update-1):
5666 Use define-obsolete-function-alias.
5667
5668 * net/newst-backend.el (newsticker-cache-filename):
5669 * net/newst-treeview.el (newsticker-groups-filename):
5670 Fix incorrect obsolescence declaration.
5671
5672 * allout.el (allout-passphrase-hint-string): Likewise.
5673 (allout-init): Use a declare form to mark obsolete.
5674
5675 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5676 this applies to functions.
5677
5678 * iswitchb.el (iswitchb-read-buffer): Move code of
5679 iswitchb-define-mode-map here, and delete that obsolete function.
5680
5681 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5682 font-lock-reference-face.
5683
5684 2012-09-25 Glenn Morris <rgm@gnu.org>
5685
5686 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5687 Doc fixes.
5688
5689 * eshell/em-term.el (eshell-term-name):
5690 Default to term-term-name. (Bug#12485)
5691
5692 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5693
5694 * progmodes/python.el (python-shell-send-buffer): Better handling
5695 of "if __name__ == '__main__':" conditionals when sending the buffer.
5696
5697 2012-09-24 Glenn Morris <rgm@gnu.org>
5698
5699 * eshell/esh-cmd.el (eshell-find-alias-function):
5700 Tighten up file-name regexp. (Bug#12499)
5701
5702 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5703
5704 Enhancements for triple-quote string syntax.
5705 * progmodes/python.el (python-quote-syntax): Remove.
5706 (python-syntax-propertize-function): New value.
5707 (python-syntax-count-quotes, python-syntax-stringify):
5708 New functions.
5709
5710 2012-09-24 Chong Yidong <cyd@gnu.org>
5711
5712 * mail/supercite.el (sc-version): Remove obsolete function.
5713 (sc-describe): Don't mark as obsolete, since it is bound.
5714 (sc-submit-bug-report): Remove.
5715
5716 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5717 (cvs-commit-buffer-require-final-newline): Remove.
5718 (log-edit-require-final-newline)
5719 (log-edit-changelog-full-paragraphs): Default to t.
5720
5721 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5722 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5723 * vc/vc.el (vc-checkout-carefully): Likewise.
5724
5725 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5726 (emerge-version): Remove.
5727
5728 * progmodes/compile.el (compile-internal): Remove.
5729 (compilation-parse-errors-function): Fix typo.
5730
5731 * international/mule.el (set-char-table-default): Remove.
5732 (set-coding-priority, make-coding-system, generic-char-p)
5733 (charset-list, charset-bytes, charset-id): Use declare to mark
5734 functions as obsolete.
5735
5736 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5737 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5738 * vc/vc-hooks.el (vc-default-registered): Don't use
5739 vc-master-templates.
5740
5741 * font-lock.el (font-lock-reference-face):
5742 Use define-obsolete-variable-alias.
5743
5744 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5745 * calendar/calendar.el (calendar-font-lock-keywords):
5746 * calendar/diary-lib.el (diary-font-lock-keywords)
5747 (diary-fancy-font-lock-keywords):
5748 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5749 * textmodes/reftex-index.el (reftex-insert-index):
5750 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5751 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5752 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5753 * progmodes/prolog.el (prolog-font-lock-keywords):
5754 * progmodes/idlwave.el (idlwave-idl-keywords):
5755 * progmodes/ada-mode.el (ada-font-lock-keywords):
5756 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5757
5758 2012-09-24 Glenn Morris <rgm@gnu.org>
5759
5760 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5761
5762 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5763
5764 * progmodes/python.el (python-indent-line): More consistent cursor
5765 movement behavior.
5766
5767 2012-09-23 Stefan Merten <smerten@oekonux.de>
5768
5769 * textmodes/rst.el: Fix compiler warning.
5770
5771 2012-09-23 Roland Winkler <winkler@gnu.org>
5772
5773 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5774 Transcribe also LaTeX hyphenation.
5775 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5776 bibtex-reformat-previous-options.
5777
5778 2012-09-23 Roland Winkler <winkler@gnu.org>
5779
5780 * proced.el (proced-renice-command): New variable.
5781 (proced-marked-processes): New function.
5782 (proced-with-processes-buffer): New macro.
5783 (proced-send-signal): Use them.
5784 (proced-renice): New command bound to r.
5785
5786 2012-09-23 Roland Winkler <winkler@gnu.org>
5787
5788 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5789 ibuffer-saved-filter-groups has one element, shortcut the call of
5790 completing-read. (Bug#12331)
5791
5792 2012-09-23 Chong Yidong <cyd@gnu.org>
5793
5794 * bindings.el (mode-line-toggle-read-only):
5795 * bs.el (bs-toggle-readonly):
5796 * buff-menu.el (Buffer-menu-toggle-read-only):
5797 * dired.el (dired-toggle-read-only):
5798 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5799
5800 2012-09-23 Chong Yidong <cyd@gnu.org>
5801
5802 * image.el (image-type-available-p): Adapt to init-image-library
5803 argument changes.
5804
5805 2012-09-22 Juri Linkov <juri@jurta.org>
5806
5807 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5808 `dired-toggle-read-only'. (Bug#12462)
5809
5810 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5811
5812 * subr.el (temp-output-buffer-show): New function.
5813 (with-output-to-temp-buffer): Call temp-output-buffer-show
5814 instead of internal-temp-output-buffer-show.
5815
5816 2012-09-22 Chong Yidong <cyd@gnu.org>
5817
5818 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5819 (Bug#12462).
5820
5821 * repeat.el (repeat): Doc fix (Bug#12348).
5822
5823 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5824 (Bug#10909).
5825
5826 * simple.el (shell-command-on-region): Doc fix.
5827 (read-only-mode): Doc fix.
5828
5829 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5830
5831 * emacs-lisp/timer.el (run-with-idle-timer)
5832 (timer-activate-when-idle): Warn against reinvoking an idle timer
5833 from within its own timer action. (Bug#12447)
5834
5835 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5836
5837 * cus-start.el (window-combination-limit): Add new optional
5838 values.
5839 * window.el (temp-buffer-window-show)
5840 (window--try-to-split-window): Handle new values of
5841 window-combination-limit (Bug#1806).
5842 (split-window): Test window-combination-limit for t instead of
5843 non-nil.
5844 (display-buffer-at-bottom): New buffer display action function.
5845 * help.el (temp-buffer-resize-regexps): New option.
5846 (temp-buffer-resize-mode): Rewrite doc-string.
5847 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5848 Don't resize reused window. Suggested by Glenn Morris.
5849
5850 2012-09-22 Stefan Merten <smerten@oekonux.de>
5851
5852 * textmodes/rst.el: Revamp section title faces.
5853 (rst-official-version)
5854 (rst-package-emacs-version-alist): Sync with official version
5855 V1.4.0.
5856 (rst-faces-defaults, rst-set-level-default)
5857 (rst-level-face-max, rst-level-face-base-color)
5858 (rst-level-face-base-light, rst-level-face-format-light)
5859 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5860 (rst-adornment-faces-alist): Match new setup.
5861 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5862 (rst-level-5, rst-level-6): New faces.
5863
5864 2012-09-22 Chong Yidong <cyd@gnu.org>
5865
5866 * simple.el (undo): Handle indirect buffers (Bug#8207).
5867
5868 2012-09-21 Leo Liu <sdl.web@gmail.com>
5869
5870 IDO: Disable match re-ordering for buffer switching.
5871 * ido.el (ido-buffer-disable-smart-matches): New variable.
5872 (ido-set-matches-1): Use it. (Bug#2042)
5873
5874 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5875
5876 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5877 Fix 2011-05-17 change. (Bug#12418)
5878
5879 2012-09-21 Leo Liu <sdl.web@gmail.com>
5880
5881 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5882
5883 2012-09-21 Glenn Morris <rgm@gnu.org>
5884
5885 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5886 Be more robust about locating simple.el.
5887
5888 2012-09-21 Glenn Morris <rgm@gnu.org>
5889
5890 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5891
5892 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5893
5894 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5895
5896 2012-09-20 Juri Linkov <juri@jurta.org>
5897
5898 * replace.el (query-replace-read-from): Use `read-regexp' instead
5899 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5900 (occur-read-primary-args): Use `read-regexp' instead of
5901 `read-string'.
5902 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5903 `read-from-minibuffer'.
5904 * isearch.el (isearch-occur): Use `read-regexp' instead of
5905 `read-string'.
5906 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5907 `read-from-minibuffer'.
5908 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5909 of `read-string'. (Bug#7567)
5910
5911 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5912 and allow accepting a list of strings prepended to a list of
5913 standard default values. Doc fix. (Bug#12321)
5914
5915 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5916
5917 * replace.el (read-regexp): Don't add ": " when PROMPT already
5918 ends with a colon and space. (Bug#12321)
5919
5920 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5921
5922 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5923 error.
5924
5925 2012-09-20 Stefan Merten <smerten@oekonux.de>
5926
5927 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5928 Fixes feature request bug#11711.
5929 (rst-mode): Create `imenu-create-index-function'.
5930 (rst-get-stripped-line): Delete after refactoring.
5931 (rst-section-tree, rst-section-tree-rec)
5932 (rst-section-tree-point): Refactor and document properly.
5933 (rst-imenu-find-adornments-for-position)
5934 (rst-imenu-convert-cell, rst-imenu-create-index):
5935 New function.
5936
5937 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5938
5939 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5940 (macroexp--expand-all): Use it.
5941 (macroexp--funcall-and-return): Remove by folding it into its sole
5942 caller (macroexp--warn-and-return).
5943 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5944 Use macroexp--obsolete-warning.
5945
5946 * calc/calc.el: Fix last change by removing the whole chunk, since it
5947 was only needed back when Calc was not bundled.
5948
5949 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5950
5951 * emacs-lisp/debug.el (debug): Restore assignment to
5952 debugger-old-buffer removed on 2012-09-08.
5953
5954 2012-09-20 Juri Linkov <juri@jurta.org>
5955
5956 * dired-aux.el (dired-diff): Remove (require 'diff) since
5957 `diff-latest-backup-file' is now autoloaded.
5958
5959 2012-09-20 Chong Yidong <cyd@gnu.org>
5960
5961 * vc/diff.el (diff-latest-backup-file): Autoload.
5962
5963 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * calc/calc.el: Remove redundant autoload shape check.
5966 (sel-mode): Don't defvar.
5967 (calc-get-stack-element): Add `sel-mode' arg instead.
5968 (calc-top, calc-top-list): Pass it this additional argument.
5969 * calc/calc-store.el (calc-store-map):
5970 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5971 (calc-map-equation, calc-outer-product, calc-inner-product):
5972 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5973
5974 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5975
5976 2012-09-19 Juri Linkov <juri@jurta.org>
5977
5978 * dired-aux.el (dired-diff): Add (require 'diff) because
5979 `diff-latest-backup-file' is not autoloaded.
5980 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5981 of `dired-get-filename' to t to not report error when there is
5982 no default file on the current line.
5983
5984 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5985
5986 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5987 macroexp--eval-if-compile.
5988 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5989 (macroexp--expand-all): Use them (bug#12371).
5990
5991 * doc-view.el (doc-view-guess-paper-size)
5992 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5993
5994 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5995
5996 New feature: set optimal slice from BoundingBox information.
5997 * doc-view.el (doc-view-mode-map): Add keybinding.
5998 (doc-view-menu): Add menu entry.
5999 (doc-view-set-slice): Adapt docstring.
6000 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6001 (doc-view-scale-bounding-box)
6002 (doc-view-set-slice-from-bounding-box): New functions.
6003 (doc-view-paper-sizes): New defvar.
6004
6005 2012-09-19 Glenn Morris <rgm@gnu.org>
6006
6007 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6008 (byte-compile-log-warning): Autoload. (Bug#12371)
6009
6010 * calendar/calendar.el (calendar-american-month-header)
6011 (calendar-european-month-header, calendar-iso-month-header)
6012 (calendar-month-header): New options.
6013 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6014 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6015
6016 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6017
6018 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6019
6020 2012-09-18 Juri Linkov <juri@jurta.org>
6021
6022 * dired-aux.el (dired-diff): Restore original functionality of
6023 getting the default value, but keep new feature of using the
6024 latest existing backup file (`diff-latest-backup-file').
6025
6026 2012-09-18 Juri Linkov <juri@jurta.org>
6027
6028 * dired.el (dired-mark): If the region is active in Transient Mark
6029 mode, mark all files in the active region. Doc fix.
6030 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6031 Doc fix. (Bug#10624)
6032
6033 2012-09-18 Juri Linkov <juri@jurta.org>
6034
6035 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6036 attributes for M-n are pulled from the file at point.
6037 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6038 Suggested by Drew Adams. (Bug#10624)
6039
6040 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6041
6042 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6043 whitespace after "end".
6044 (ruby-do-end-to-brace): Collapse block to one line if it fits
6045 within fill-column.
6046
6047 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6048
6049 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6050 value.
6051 (debug): Don't remove debugger window when debugger is expected
6052 to be back.
6053
6054 2012-09-18 Chong Yidong <cyd@gnu.org>
6055
6056 * custom.el (defface): Doc fix.
6057
6058 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6059
6060 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6061
6062 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6063 to initialize query-on-exit; then test that instead (bug#12288).
6064
6065 2012-09-17 Stefan Merten <smerten@oekonux.de>
6066
6067 * textmodes/rst.el: Add support for `testcover'.
6068 (rst-defcustom-testcover, rst-testcover-add-compose)
6069 (rst-testcover-add-1value): New functions.
6070 (rst-portable-mark-active-p): Replace by `use-region-p'.
6071 (rst-update-section, rst-classify-adornment)
6072 (rst-find-title-line): Mark `1value' forms.
6073 (rst-classify-adornment): Remove superfluous form.
6074 (rst-update-section, rst-get-adornments-around)
6075 (rst-adornment-complete-p, rst-get-next-adornment)
6076 (rst-adjust, rst-promote-region)
6077 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6078 (rst-find-pfx-in-region, rst-section-tree-rec)
6079 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6080 (rst-toc-node, rst-toc, rst-forward-section)
6081 (rst-iterate-leftmost-paragraphs)
6082 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6083 (rst-bullet-list-region)
6084 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6085 (rst-compile-find-conf, rst-compile)
6086 (rst-repeat-last-character): Fix style.
6087
6088 2012-09-17 Chong Yidong <cyd@gnu.org>
6089
6090 * comint.el (comint--complete-file-name-data): Don't add a space
6091 if the status is `sole'; that adds a gratuitous space in the
6092 completion-cycling case (Bug#12092).
6093
6094 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6095
6096 2012-09-17 Richard Stallman <rms@gnu.org>
6097
6098 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6099 only in the mime-shown mode, not in raw mode.
6100 (rmail-mime): Toggle off mime by displaying the message without
6101 mime processing. (Bug#12305)
6102
6103 * mail/rmail.el (rmail-retry-failure):
6104 Turn off mime processing first. (Bug#12037)
6105
6106 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6107
6108 2012-09-17 Chong Yidong <cyd@gnu.org>
6109
6110 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6111 (shell-dynamic-complete-functions): Convert to defcustom.
6112 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6113
6114 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6115 * comint.el (comint-prompt-read-only):
6116 * custom.el (defcustom):
6117 * hi-lock.el (hi-lock-mode):
6118 * ibuffer.el (ibuffer-formats):
6119 * ielm.el (ielm-prompt-read-only):
6120 * novice.el (disable-command):
6121 * saveplace.el (toggle-save-place):
6122 * speedbar.el (speedbar-supported-extension-expressions):
6123 * startup.el (auto-save-list-file-prefix, init-file-user)
6124 (after-init-hook, inhibit-startup-echo-area-message):
6125 * strokes.el (strokes-help):
6126 * time-stamp.el (time-stamp):
6127 * calendar/calendar.el (calendar, diary-file):
6128 * calendar/diary-lib.el (diary-mail-entries, diary)
6129 (diary-list-entries-hook):
6130 * calendar/holidays.el (holidays, calendar-holidays):
6131 * calendar/lunar.el (lunar-phases):
6132 * calendar/solar.el (sunrise-sunset):
6133 * emulation/edt.el (edt-load-keys):
6134 * emulation/viper.el (viper-mode):
6135 * eshell/em-alias.el (eshell-command-aliases-list):
6136 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6137 * international/ogonek.el (ogonek-information):
6138 * net/tramp-cmds.el (tramp-bug):
6139 * net/quickurl.el (quickurl-reread-hook-postfix):
6140 * play/decipher.el (decipher-font-lock-keywords):
6141 * progmodes/cc-styles.el (c-set-style):
6142 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6143 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6144 * progmodes/octave-mod.el (octave-mode):
6145 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6146 * progmodes/verilog-mode.el (verilog-read-defines):
6147 * textmodes/two-column.el (2C-mode): Likewise.
6148
6149 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6150
6151 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6152 that holds many addresses.
6153
6154 2012-09-16 Chong Yidong <cyd@gnu.org>
6155
6156 * align.el (align-areas): Call the indication function with
6157 positions instead of markers for arguments (Bug#12343).
6158
6159 * files.el (parse-colon-path): Use split-string (Bug#12351).
6160
6161 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6162 (display-buffer-function): Mark as obsolete.
6163
6164 * progmodes/compile.el (compilation-parse-errors): Accept list
6165 values similar to font-lock-keywords (Bug#12136).
6166 Suggested by Oleksandr Manzyuk.
6167 (compilation-error-regexp-alist): Doc fix.
6168
6169 2012-09-15 Glenn Morris <rgm@gnu.org>
6170
6171 * version.el (emacs-bzr-version-bzr): New function.
6172 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6173
6174 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6175 checkouts, check the parent dirstate matches the branch.
6176 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6177 empty string.
6178
6179 * version.el (emacs-bzr-version): Doc fix.
6180 (emacs-bzr-version-dirstate): New function.
6181 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6182 is local try and check that it matches the branch. If not, just
6183 use dirstate information. (Bug#12441)
6184
6185 2012-09-14 Juri Linkov <juri@jurta.org>
6186
6187 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6188 (Bug#12399)
6189
6190 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6191
6192 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6193
6194 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6195 Remove obsolete byte-compiler hack that tried to silence some warnings.
6196 (edebug-submit-bug-report): Remove.
6197 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6198 Remove aliases, use the un-prefixed name instead.
6199 (edebug-pop-to-buffer): Consider other frames.
6200 (edebug-original-read):: Make it more obvious that it's always defined.
6201 (edebug--make-form-data-entry, edebug--form-data-name)
6202 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6203 single-dashed name, and implement with cl-defstruct.
6204 (edebug-set-form-data-entry): Use the standard accessors.
6205 (edebug-make-top-form-data-entry): Use push.
6206 (edebug-no-match): Drop useless `funcall'.
6207 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6208 to functions.
6209 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6210 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6211 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6212 (easy-menu-define, with-custom-print): Remove redundant specs.
6213 (edebug-outside-overriding-local-map)
6214 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6215 (edebug--display): Bind unread-command-events directly to nil rather
6216 than binding it to unread-command-events and later setting it to nil.
6217 (edebug--display): Kill edebug-eval-buffer here...
6218 (edebug--recursive-edit): ...rather than here.
6219 Bind standard-output and standard-input.
6220 (edebug-eval): Check cl-macroexpand-all is fboundp.
6221 (edebug-temp-display-freq-count): Fix last change.
6222
6223 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6224 * subr.el (noreturn, 1value): Add `debug' spec.
6225 * emacs-lisp/advice.el: Require cl-lib.
6226 (ad-copy-tree): Remove, use copy-tree instead.
6227 (ad-dolist): Remove use dolist or cl-dolist instead.
6228 (ad-do-return): Remove, use cl-return instead.
6229 (defadvice): Add `debug' spec.
6230
6231 2012-09-13 Juri Linkov <juri@jurta.org>
6232
6233 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6234 (Bug#12399)
6235
6236 2012-09-13 Glenn Morris <rgm@gnu.org>
6237
6238 * calc/calc.el (math-compose-expr):
6239 * calc/calc-ext.el (math-compose-expr):
6240 * progmodes/cc-defs.el (cl-macroexpand-all):
6241 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6242 (cl-macroexpand-all): Update declarations.
6243
6244 * vc/vc.el: No need to require ediff.
6245 (ediff-load-version-control): Declare.
6246 (ediff-vc-internal): Fix declaration.
6247 (vc-version-ediff): Require ediff.
6248
6249 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6250
6251 Use a more backwards-compatible timer format (Bug#12430).
6252 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6253 being right after USECS, as that better supports old code that
6254 inadvisedly looked directly at the timer vector.
6255
6256 2012-09-13 Kenichi Handa <handa@gnu.org>
6257
6258 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6259 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6260 `coding-priority' property of these language environment.
6261
6262 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6263
6264 Fix glitches caused by addition of psec to timers (Bug#12430).
6265 * image.el (image-animate-timer):
6266 * time.el (display-time-world-timer):
6267 Use timer--function and timer--args rather than raw access to
6268 timer vector.
6269
6270 2012-09-13 Glenn Morris <rgm@gnu.org>
6271
6272 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6273 If not compiling a file, try using load-file-name.
6274
6275 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6276
6277 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6278 Fix last change.
6279 (edebug-update-eval-list): Use `push'.
6280
6281 * emacs-lisp/edebug.el: Use lexical-binding.
6282 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6283 Mark unused args with underscore.
6284 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6285 (edebug-form-data): Use defvar-local.
6286 (edebug-make-before-and-after-form, edebug-make-after-form):
6287 Use backquote.
6288 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6289 Not dynamically scoped any more.
6290 (edebug--enter-trace): Add arguments `function' and `args'.
6291 Rename from edebug-enter-trace.
6292 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6293 (edebug--update-coverage): Add `after-index' and `value' args.
6294 Rename from edebug-update-coverage.
6295 (edebug-slow-after): Call it accordingly.
6296 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6297 edebug-recursive-edit.
6298 (edebug--display): Call it accordingly. Add args `value',
6299 `offset-index', and `arg-mode'. Rename from edebug-display.
6300 (edebug-debugger, edebug): Call it accordingly.
6301 (edebug-eval-display-list): Use dolist.
6302
6303 2012-09-12 Juri Linkov <juri@jurta.org>
6304
6305 * info.el (Info-search): Don't check for isearch-mode and
6306 isearch-regexp before let-binding search-spaces-regexp to
6307 Info-search-whitespace-regexp.
6308 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6309 search-whitespace-regexp if isearch-lax-whitespace or
6310 isearch-regexp-lax-whitespace is non-nil.
6311 (Info-mode): Don't set local variable search-whitespace-regexp.
6312 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6313
6314 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6315
6316 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6317 (debugger-env-macro): Remove support for unread-command-char.
6318
6319 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6320 the temporary map re-appearing on emulation-mode-map-alists.
6321
6322 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6323 since 22.1.
6324
6325 * ehelp.el (with-electric-help): Accept functions in
6326 electric-help-form-to-execute.
6327 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6328 And replace unread-command-char -> unread-command-events.
6329
6330 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6331
6332 Sync with Tramp 2.2.6.
6333
6334 * net/tramp.el (tramp-accept-process-output): Don't use
6335 JUST-THIS-ONE in the XEmacs case.
6336
6337 * net/trampver.el: Update release number.
6338
6339 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6340
6341 * emacs-lisp/debug.el (debugger-previous-window-height):
6342 New variable.
6343 (debug): When debugger-jumping-flag is non-nil try to restore
6344 height of debugger window. (Bug#8789)
6345
6346 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6347
6348 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6349 overriding-local-map and pre/post-command-hook here.
6350 (edebug-recursive-edit): Do it here instead (bug#12345).
6351 (edebug-outside-unread-command-char): Remove all uses of
6352 unread-command-char.
6353
6354 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6355 inhibit-debugger is bound instead.
6356
6357 2012-09-11 Bastien Guerry <bzg@gnu.org>
6358
6359 * subr.el (set-temporary-overlay-map): Add a docstring.
6360 (Bug#12346)
6361
6362 2012-09-11 Bastien Guerry <bzg@gnu.org>
6363
6364 * minibuffer.el (completion-table-subvert): Fix docstring.
6365 (Bug#12347)
6366
6367 2012-09-11 Bastien Guerry <bzg@gnu.org>
6368
6369 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6370
6371 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6372
6373 * progmodes/sql.el: Version 3.1
6374 (sql-db2-escape-newlines): New variable.
6375 (sql-escape-newlines-filter): Use it.
6376
6377 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6378
6379 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6380
6381 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6382
6383 * vc/diff-mode.el (diff-mode-menu):
6384 Bind diff-remove-trailing-whitespace.
6385
6386 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6387
6388 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6389 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6390 (emacs-lisp-byte-code-mode): New functions.
6391 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6392 (eval-defun-2): Remove bogus interactive spec.
6393 (lisp-indent-line): Remove redundant whole-exp code, now done in
6394 indent-according-to-mode.
6395 (save-match-data): Remove redundant indent data.
6396
6397 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6398 Use `declare'.
6399
6400 2012-09-09 Juri Linkov <juri@jurta.org>
6401
6402 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6403 (replace-lax-whitespace, query-replace-regexp)
6404 (query-replace-regexp-eval, replace-regexp): Doc fix.
6405 (perform-replace, replace-highlight): Let-bind
6406 isearch-lax-whitespace to replace-lax-whitespace and
6407 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6408
6409 * isearch.el (isearch-query-replace): Let-bind
6410 replace-lax-whitespace to isearch-lax-whitespace and
6411 replace-regexp-lax-whitespace to
6412 isearch-regexp-lax-whitespace. (Bug#10885)
6413
6414 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6415
6416 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6417
6418 2012-09-09 Alan Mackenzie <acm@muc.de>
6419
6420 * progmodes/cc-engine.el (c-state-cache-init):
6421 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6422 (c-record-parse-state-state):
6423 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6424
6425 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6426
6427 * register.el (register-separator): Rename from
6428 separator-register. All uses changed. Doc fix.
6429 (register): Fix version.
6430
6431 2012-09-09 Chong Yidong <cyd@gnu.org>
6432
6433 * replace.el (query-replace-map): Bind four new symbols for
6434 requesting window scrolling.
6435
6436 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6437 query-replace-map (Bug#8948).
6438
6439 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6440
6441 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6442 since they are now in query-replace-map.
6443
6444 * window.el (scroll-other-window-down): Make the arg optional.
6445
6446 2012-09-09 Chong Yidong <cyd@gnu.org>
6447
6448 * files.el (hack-local-variables-confirm): Use quit-window to kill
6449 the *Local Variables* buffer.
6450
6451 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6452
6453 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6454 not just expect to be at its beginning. Adjust callees.
6455 Succeed when do-end block has no space before the pipe character.
6456 (ruby-brace-to-do-end): When the original block is one-liner,
6457 convert to multiline. Reindent the result.
6458
6459 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6460
6461 * register.el (register): New group.
6462 (separator-register): New user option.
6463 (increment-register): Route it to `append-to-register', if
6464 register contains text. Implication is that `C-x r +' can now be
6465 used for appending to a text register (bug#12217).
6466 (append-to-register, prepend-to-register): Add separator based on
6467 `separator-register'.
6468
6469 2012-09-08 Alan Mackenzie <acm@muc.de>
6470
6471 AWK Mode: make auto-newline work when there's "==" in the pattern.
6472 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6473 correctly.
6474 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6475 Test more rigorously for "=" token.
6476
6477 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6478
6479 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6480 Only fail when reached LIMIT.
6481
6482 2012-09-08 Chong Yidong <cyd@gnu.org>
6483
6484 * dired.el (dired-mode-map): Don't bind M-=.
6485
6486 * dired-aux.el (dired-diff): Use backup file as default.
6487
6488 2012-09-08 Drew Adams <drew.adams@oracle.com>
6489
6490 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6491
6492 2012-09-08 Chong Yidong <cyd@gnu.org>
6493
6494 * subr.el (syntax-after, syntax-class): Doc fix.
6495
6496 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6497
6498 * window.el (display-buffer-in-previous-window): New buffer
6499 display action function.
6500
6501 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6502 (debugger-previous-window): New variable.
6503 (debug): Rewrite using display-buffer-in-previous-window,
6504 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6505
6506 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6507
6508 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6509
6510 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6511
6512 * progmodes/python.el (python-shell-send-string):
6513 When default-directory is remote, create temp file on remote
6514 filesystem.
6515 (python-shell-send-file): When file is remote, pass local view of
6516 file paths to remote Python interpreter. (Bug#12340)
6517
6518 2012-09-07 Chong Yidong <cyd@gnu.org>
6519
6520 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6521
6522 * files.el (after-find-file): Don't fail on a read-only buffer if
6523 require-final-newline is `visit' or `visit-save' (Bug#11156).
6524
6525 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6526
6527 * userlock.el (ask-user-about-supersession-threat):
6528 Use read-char-choice (Bug#12093).
6529
6530 2012-09-07 Chong Yidong <cyd@gnu.org>
6531
6532 * subr.el (buffer-narrowed-p): New function.
6533
6534 * ses.el (ses-widen):
6535 * simple.el (count-words--buffer-message):
6536 * net/browse-url.el (browse-url-of-buffer): Use it.
6537
6538 * simple.el (count-words-region): Don't signal an error if there
6539 is a non-nil prefix arg and the mark is not set.
6540
6541 * help.el (describe-key-briefly): Allow the message to be seen
6542 when invoked from the minibuffer (Bug#7014).
6543
6544 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6545
6546 * progmodes/ruby-mode.el (ruby-end-of-defun)
6547 (ruby-beginning-of-defun): Simplify, allow indentation before
6548 block beginning and end keywords.
6549 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6550 (ruby-end-of-defun): Expect that the point is at the beginning of
6551 the defun.
6552
6553 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6554
6555 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6556 (bug#12367).
6557 (cl--make-usage-args): Strip _ from argument names.
6558
6559 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6560
6561 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6562 obsolete alias speedbar-key-map.
6563 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6564 (vhdl-index-menu-init): Don't use obsolete variable
6565 font-lock-maximum-size.
6566
6567 2012-09-06 Chong Yidong <cyd@gnu.org>
6568
6569 * frame.el (window-system-version): Mark as obsolete.
6570
6571 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6572 of obsolete variable speedbar-key-map.
6573
6574 2012-09-06 Juri Linkov <juri@jurta.org>
6575
6576 * replace.el (replace-lax-whitespace): New defcustom.
6577 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6578 (replace-string, replace-regexp): Mention it in docstrings.
6579 (perform-replace, replace-highlight): Let-bind
6580 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6581 to the values of replace-lax-whitespace and regexp-flag.
6582 Don't let-bind search-whitespace-regexp. (Bug#10885)
6583
6584 * isearch.el (isearch-query-replace): Let-bind
6585 replace-lax-whitespace instead of let-binding
6586 replace-search-function and replace-re-search-function.
6587 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6588 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6589 (isearch-toggle-symbol): Set isearch-regexp to nil
6590 in isearch-word mode (like in isearch-toggle-word).
6591
6592 2012-09-06 Juri Linkov <juri@jurta.org>
6593
6594 * replace.el (replace-search-function)
6595 (replace-re-search-function): Set default values to nil.
6596 (perform-replace): Let-bind isearch-related variables based on
6597 replace-related values, call `isearch-search-fun' and let-bind
6598 the result to `search-function'. Remove code that sets
6599 `search-function' and `search-string' separately for
6600 `delimited-flag'.
6601 (replace-highlight): Add new argument `delimited-flag' and
6602 rename other arguments to the names used in `perform-replace'.
6603 Let-bind `isearch-word' to the argument `delimited-flag'.
6604 (Bug#10885, bug#10887)
6605
6606 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6607
6608 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6609 ruby-beginning-of-indent, simplify, allow all keywords to have
6610 indentation before them.
6611 (ruby-beginning-of-indent): Adjust for above. Search until the
6612 found point is not inside a string or comment.
6613 (ruby-font-lock-keywords): Allow symbols to start with "@"
6614 character, give them higher priority than variables.
6615 (ruby-syntax-propertize-function)
6616 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6617 matchers. Expression expansions are not comments when inside a
6618 string, and there comment syntax status is irrelevant.
6619 (ruby-match-expression-expansion): New function. Check that
6620 expression expansion is inside a string, and it's not escaped.
6621 (ruby-font-lock-keywords): Use it.
6622
6623 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6624
6625 * help.el (temp-buffer-max-height): New default value.
6626 (temp-buffer-resize-frames): New option.
6627 (resize-temp-buffer-window): Optionally resize frame.
6628
6629 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6630 (fit-frame-to-buffer): New function.
6631
6632 2012-09-05 Glenn Morris <rgm@gnu.org>
6633
6634 * emulation/cua-rect.el (cua--init-rectangles):
6635 * textmodes/picture.el (picture-mode-map):
6636 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6637 like forward-char and backward-char. (Bug#12317)
6638
6639 2012-09-05 Leo Liu <sdl.web@gmail.com>
6640
6641 * progmodes/flymake.el (flymake-warning-re): New variable.
6642 (flymake-parse-line): Use it.
6643
6644 2012-09-05 Glenn Morris <rgm@gnu.org>
6645
6646 * calendar/holidays.el (holiday-christian-holidays):
6647 Rename an entry. (Bug#12289)
6648
6649 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6650
6651 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6652 (bug#12222).
6653
6654 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6655
6656 * loadup.el: Load macroexp. Remove hack.
6657 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6658 (macroexp--expand-all): Use it to get better warnings.
6659 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6660 (internal-macroexpand-for-load): New functions.
6661 (macroexp--pending-eager-loads): New var.
6662 (emacs-startup-hook): New hack to replace one in loadup.el.
6663 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6664 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6665 (cl-psetf): Simplify.
6666 (cl-defstruct): Add indent rule.
6667
6668 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6669
6670 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6671 over `user-mail-address' for the SMTP MAIL FROM envelope.
6672 (smtpmail-via-smtp): Ditto.
6673
6674 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6675
6676 * progmodes/ruby-mode.el: Clean up keybindings.
6677 (ruby-mode-map): Don't bind ruby-electric-brace,
6678 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6679 backward-kill-word, reindent-then-newline-and-indent.
6680 (ruby-mark-defun): Remove.
6681 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6682 (ruby-mode): Set local beginning-of-defun-function and
6683 end-of-defun-function values.
6684
6685 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6686
6687 * window.el (temp-buffer-window-setup-hook)
6688 (temp-buffer-window-show-hook): New hooks.
6689 (temp-buffer-window-setup, temp-buffer-window-show)
6690 (with-temp-buffer-window): New functions.
6691 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6692 (special-display-popup-frame): Make sure the window used shows BUFFER.
6693
6694 * help.el (temp-buffer-resize-mode): Fix doc-string.
6695 (resize-temp-buffer-window): New optional argument WINDOW.
6696
6697 * files.el (recover-file, save-buffers-kill-emacs):
6698 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6699
6700 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6701
6702 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6703 remote definition of `default-directory', ensure we can connect.
6704
6705 2012-09-02 Juri Linkov <juri@jurta.org>
6706
6707 Toggle whitespace matching mode with M-s SPC.
6708 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6709
6710 * isearch.el (search-whitespace-regexp): Doc fix.
6711 Remove cons cell customization.
6712 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6713 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6714 New variables.
6715 (isearch-forward, isearch-forward-regexp): Doc fix.
6716 (isearch-toggle-lax-whitespace): New command.
6717 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6718 (re-search-forward-lax-whitespace)
6719 (re-search-backward-lax-whitespace): New functions.
6720 (isearch-whitespace-regexp): Remove function.
6721 (isearch-query-replace): Let-bind replace-search-function and
6722 replace-re-search-function.
6723 (isearch-occur): Let-bind search-spaces-regexp according to the
6724 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6725 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6726 condition for C-q SPC.
6727 (isearch-search-fun-default): Use new functions mentioned above.
6728 (isearch-search-forward, isearch-search-backward): Remove functions.
6729 (isearch-search): Don't let-bind search-spaces-regexp.
6730 (isearch-lazy-highlight-space-regexp): Remove variable.
6731 (isearch-lazy-highlight-lax-whitespace)
6732 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6733 (isearch-lazy-highlight-new-loop): Use them.
6734 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6735
6736 2012-09-02 Chong Yidong <cyd@gnu.org>
6737
6738 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6739
6740 2012-09-02 Glenn Morris <rgm@gnu.org>
6741
6742 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6743
6744 2012-09-01 Glenn Morris <rgm@gnu.org>
6745
6746 * term.el: Tidy up menu definitions.
6747 (term-mode-map): Use easymenu for In/Out, Complete menus.
6748 (term-pager-break-map): Initialize in the defvar.
6749 (term-terminal-menu, term-signals-menu): Define with easymenu.
6750 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6751 (term-pager-menu): New, extracted from term-process-pager.
6752 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6753 (term-update-mode-line): Propertize line/char and page items.
6754 (term-process-pager): Move keymap initialization elsewhere.
6755
6756 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6757
6758 * window.el (switch-to-prev-buffer): Handle additional values of
6759 BURY-OR-KILL argument. Don't switch in minibuffer window.
6760 (switch-to-next-buffer): Don't switch in minibuffer window.
6761 (quit-restore-window): New function based on quit-window.
6762 Handle additional values of former KILL argument.
6763 (quit-window): Call quit-restore-window with appropriate
6764 interpretation of KILL argument.
6765 (display-buffer-below-selected): New buffer display action
6766 function.
6767
6768 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * minibuffer.el (completion-at-point-functions): Complete docstring
6771 (bug#12254).
6772
6773 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6774
6775 Better seed support for (random).
6776 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6777 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6778 * play/mpuz.el, play/tetris.el, play/zone.el:
6779 * calc/calc-comb.el (math-init-random-base):
6780 * play/blackbox.el (bb-init-board):
6781 * play/life.el (life):
6782 * server.el (server-use-tcp):
6783 * type-break.el (type-break):
6784 Remove unnecessary call to (random t).
6785 * net/sasl.el (sasl-unique-id-function):
6786 Change (random t) to (random), now that the latter is more random.
6787 * play/life.el (life-initialized): Remove no-longer-needed var.
6788
6789 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6790
6791 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6792 Consider frame's buffer predicate when choosing the buffer.
6793 (Bug#12081)
6794
6795 2012-08-30 Richard Stallman <rms@gnu.org>
6796
6797 * simple.el (special-mode-map): Delete binding for `z'.
6798
6799 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6800
6801 * progmodes/compile.el (compilation-always-kill): Doc fix.
6802
6803 2012-08-30 Chong Yidong <cyd@gnu.org>
6804
6805 * window.el (display-buffer-reuse-frames): Make the obsolescence
6806 message more informative.
6807
6808 2012-08-30 Glenn Morris <rgm@gnu.org>
6809
6810 * paren.el (show-paren-delay):
6811 Add a :set function. Doc fix. (Bug#12297)
6812
6813 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6814
6815 * progmodes/compile.el (compilation-always-kill): New var.
6816 (compilation-start): Use it.
6817
6818 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6819
6820 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6821 * files.el (read-only-mode): Move to simple.el.
6822
6823 * files.el (read-only-mode): New minor mode.
6824 (toggle-read-only): Use it and mark obsolete.
6825 (find-file--read-only):
6826 * vc/vc.el (vc-next-action, vc-checkout):
6827 * vc/vc-cvs.el (vc-cvs-checkout):
6828 * obsolete/vc-mcvs.el (vc-mcvs-update):
6829 * ffap.el (ffap--toggle-read-only): Update callers.
6830
6831 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6832
6833 * eshell/esh-ext.el (eshell-external-command): Do not examine
6834 remote shell scripts.
6835 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6836
6837 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6838 "/usr/local/sbin".
6839
6840 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6843
6844 2012-08-28 Leo Liu <sdl.web@gmail.com>
6845
6846 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6847 completion-at-point. (Bug#12220)
6848
6849 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6850
6851 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6852
6853 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6854
6855 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6856 be buffer-local; add delete-trailing-whitespace (bug#12259).
6857
6858 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6859
6860 * progmodes/hideif.el (hif-compress-define-list):
6861 Fix typo. (Bug#11951)
6862
6863 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6864
6865 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6866 buffer local setting.
6867
6868 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6869 rcirc-encode-coding-system.
6870
6871 2012-08-28 Leo Liu <sdl.web@gmail.com>
6872
6873 * net/rcirc.el (rcirc-split-message): New function.
6874 (rcirc-send-message): Use it. (Bug#12051)
6875
6876 2012-08-28 Juri Linkov <juri@jurta.org>
6877
6878 * info.el (Info-fontify-node): Hide empty lines at the end of
6879 the node. (Bug#12272)
6880
6881 2012-08-27 Drew Adams <drew.adams@oracle.com>
6882
6883 * dired.el (dired-pop-to-buffer): Make window start at beginning
6884 of buffer (Bug#12281).
6885
6886 2012-08-26 Chong Yidong <cyd@gnu.org>
6887
6888 * window.el (special-display-regexps, special-display-frame-alist)
6889 (special-display-buffer-names, special-display-function)
6890 (display-buffer-reuse-frames): Mark as obsolete.
6891
6892 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6893
6894 * help.el (help-print-return-message): Don't treat
6895 display-buffer-reuse-frames specially.
6896
6897 2012-08-26 Chong Yidong <cyd@gnu.org>
6898
6899 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6900 New variable, replacing gdb-frame-parameters.
6901 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6902 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6903 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6904 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6905 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6906 the functions directly with gdb-display-buffer-other-frame-action.
6907 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6908 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6909 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6910 (gdb-display-registers-buffer): Define directly.
6911 (def-gdb-display-buffer): Macro deleted.
6912 (gdb-display-buffer): Remove second and third args, callers don't
6913 use them. Defer to the default display-buffer behavior, apart
6914 from making windows dedicated.
6915 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6916
6917 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6918
6919 * window.el (display-buffer-pop-up-frame): Handle a
6920 pop-up-frame-parameters alist entry.
6921 (display-buffer): Document it.
6922
6923 2012-08-26 Chong Yidong <cyd@gnu.org>
6924
6925 * isearch.el (search-whitespace-regexp): Make string and nil
6926 values apply to both ordinary and regexp search. Allow a cons
6927 cell value to distinguish between the two.
6928 (isearch-whitespace-regexp, isearch-search-forward)
6929 (isearch-search-backward): New functions.
6930 (isearch-occur, isearch-search-fun-default, isearch-search)
6931 (isearch-lazy-highlight-new-loop): Use them.
6932 (isearch-forward, isearch-forward-regexp): Doc fix.
6933
6934 2012-08-26 Chong Yidong <cyd@gnu.org>
6935
6936 * faces.el (help-argument-name): Always inherit from italic
6937 (Bug#12213).
6938
6939 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6940
6941 * window.el (window--even-window-heights): Even heights when
6942 WINDOW and the selected window form a vertical combination.
6943 (display-buffer-use-some-window): Provide that window used gets
6944 sized back by quit-window. (Bug#11880) and (Bug#12091)
6945
6946 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6947
6948 Fix file time stamp problem with bzr and CVS (Bug#12001).
6949 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6950 in the file's time stamp, since the version control system loses
6951 that information.
6952
6953 2012-08-22 Juri Linkov <juri@jurta.org>
6954
6955 * info.el (Info-fontify-node): Hide the suffix of the
6956 Info file name in the header line. (Bug#12187)
6957
6958 2012-08-22 Glenn Morris <rgm@gnu.org>
6959
6960 * calendar/cal-tex.el (cal-tex-weekly-common):
6961 Restore leading blank page.
6962
6963 2012-08-22 Le Wang <l26wang@gmail.com>
6964
6965 * misc.el (forward-to-word, backward-to-word): Activate or extend
6966 the region under `shift-select-mode'. (Bug#12231)
6967
6968 2012-08-22 Bastien Guerry <bzg@gnu.org>
6969
6970 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6971 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6972 gives details on why the space is never needed.
6973
6974 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6975
6976 * window.el (walk-window-tree, window-with-parameter):
6977 New optional argument MINIBUF to control whether these functions
6978 should run on the minibuffer window.
6979 (window-at-side-list): Don't operate on minibuffer window.
6980 (window-in-direction): Simplify and rewrite doc-string.
6981 (window--size-ignore): Rename to window--size-ignore-p.
6982 Update callers.
6983 (display-buffer-in-atom-window, window--major-non-side-window)
6984 (window--major-side-window, display-buffer-in-major-side-window)
6985 (delete-side-window, display-buffer-in-side-window):
6986 New functions.
6987 (window--side-check, window-deletable-p, delete-window)
6988 (delete-other-windows, split-window): Handle side windows and
6989 atomic windows appropriately.
6990 (window--display-buffer): Call display-buffer-record-window also
6991 when the window buffer did not change.
6992
6993 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6994
6995 * help-fns.el (help-fns--key-bindings):
6996 Abbreviate non-symbol remap targets. (Bug#12174)
6997
6998 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6999
7000 * dired.el (dired-mark-remembered): Don't clobber point.
7001 (Bug#11795)
7002
7003 2012-08-22 Glenn Morris <rgm@gnu.org>
7004
7005 * progmodes/bug-reference.el (bug-reference): New custom group.
7006 (bug-reference-bug-regexp): Make it a defcustom.
7007
7008 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7009
7010 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7011 (js-paren-indent-offset, js-square-indent-offset)
7012 (js-curly-indent-offset): Add :safe (Bug#12257).
7013
7014 2012-08-22 Edward O'Connor <hober0@gmail.com>
7015
7016 * json.el (json-key-format): Add error properties.
7017 (json-encode-key): New function.
7018 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7019 Use json-encode-key.
7020
7021 2012-08-22 Glenn Morris <rgm@gnu.org>
7022
7023 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7024 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7025 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7026 Update for above change.
7027
7028 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7029
7030 * cus-face.el (custom-face-attributes): Fix customize type for the
7031 :underline attribute. (Bug#11805)
7032
7033 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7034
7035 * window.el (window-point-1, set-window-point-1): Remove.
7036 (window-in-direction, record-window-buffer)
7037 (set-window-buffer-start-and-point, split-window-below)
7038 (window--state-get-1, display-buffer-record-window):
7039 Replace calls to window-point-1 and set-window-point-1 by calls to
7040 window-point and set-window-point respectively.
7041
7042 2012-08-21 Glenn Morris <rgm@gnu.org>
7043
7044 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7045 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7046 Use it.
7047
7048 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7049 (cal-tex-shortday): New function.
7050 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7051 (cal-tex-cursor-filofax-daily): Use the above.
7052
7053 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7054 New functions.
7055 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7056 (cal-tex-cursor-filofax-week): Use them.
7057
7058 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7059 New constants.
7060 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7061 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7062
7063 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7064 (cal-tex-end-document): Don't rely on buffer name.
7065
7066 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7067 Use cal-tex-vspace.
7068 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7069 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7070 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7071 Use cal-tex-arg.
7072
7073 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7074 (cal-tex-cursor-week, cal-tex-cursor-week2)
7075 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7076 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7077 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7078 (cal-tex-insert-preamble, cal-tex-b-document)
7079 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7080 Improve cal-tex-cmd usage.
7081
7082 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7083 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7084 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7085 (cal-tex-weekly-paper): New function.
7086 (cal-tex-cursor-week, cal-tex-cursor-week2)
7087 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7088 (cal-tex-cursor-day): Use it.
7089
7090 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7091 (cal-tex-cursor-filofax-week): Remove leading blank page.
7092
7093 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7094 Add autoload cookie. For now at least, don't use color, since
7095 no other cal-tex function does.
7096
7097 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7098 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7099 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7100
7101 2012-08-21 Juri Linkov <juri@jurta.org>
7102
7103 * info.el (Info-file-attributes): New variable.
7104 (info-insert-file-contents): Add file attributes to
7105 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7106 `Info-toc-nodes' when previous modtime of the Info file is less
7107 than new modtime.
7108 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7109 of info.el. (Bug#12230)
7110
7111 2012-08-20 Glenn Morris <rgm@gnu.org>
7112
7113 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7114 * calendar/holidays.el (calendar-holiday-list):
7115 Report errors with display-warning rather than beep'n'sleep.
7116
7117 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7118
7119 * net/tramp.el (tramp-accept-process-output): Accept only output
7120 from PROC. Otherwise, process filters and sentinels might be
7121 confused. (Bug#12145)
7122
7123 2012-08-20 Chong Yidong <cyd@gnu.org>
7124
7125 * descr-text.el (describe-text-properties-1): Use overlays-in to
7126 report on empty overlays (Bug#3322).
7127
7128 2012-08-20 Glenn Morris <rgm@gnu.org>
7129
7130 * mail/rmailout.el (rmail-output-read-file-name):
7131 Trap and report errors in rmail-output-file-alist elements.
7132
7133 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7134 since most non-font-lock faces are not also variables).
7135
7136 2012-08-20 Edward Reingold <reingold@iit.edu>
7137
7138 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7139 New function. (Bug12160)
7140
7141 2012-08-19 Glenn Morris <rgm@gnu.org>
7142
7143 * mail/rmailout.el (rmail-output-read-file-name):
7144 Fix previous change (when the alist is nil or does not match).
7145
7146 2012-08-19 Chong Yidong <cyd@gnu.org>
7147
7148 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7149 (Bug#12228).
7150
7151 2012-08-18 Chong Yidong <cyd@gnu.org>
7152
7153 * simple.el (yank-handled-properties): New defcustom.
7154 (yank-excluded-properties): Add font-lock-face and category.
7155 (yank): Doc fix.
7156
7157 * subr.el (remove-yank-excluded-properties):
7158 Obey yank-handled-properties. The special handling of font-lock-face
7159 and category is now done this way, instead of being hard-coded.
7160 (insert-for-yank-1): Remove font-lock-face handling.
7161 (yank-handle-font-lock-face-property)
7162 (yank-handle-category-property): New function.
7163
7164 2012-08-17 Glenn Morris <rgm@gnu.org>
7165
7166 * mail/rmailout.el (rmail-output-read-file-name):
7167 Check rmail-output-file-alist against the full message body
7168 in the correct rmail buffer. (Bug#12214)
7169
7170 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7171
7172 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7173 Eliminate superfluous prompt. (Bug#12203)
7174
7175 2012-08-17 Chong Yidong <cyd@gnu.org>
7176
7177 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7178 font spec, set the font directly (Bug#3228).
7179
7180 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7181
7182 * window.el (delete-window): Fix last fix.
7183
7184 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7185
7186 * window.el (window-valid-p): Move to window.c.
7187 (window-child, window-child-count, window-last-child)
7188 (window-normalize-window, window-combined-p)
7189 (window-combinations, window-atom-root, window-min-size)
7190 (window-sizable, window-sizable-p, window-size-fixed-p)
7191 (window-min-delta, window-max-delta, window--resizable)
7192 (window--resizable-p, window-resizable, window-total-size)
7193 (window-full-height-p, window-full-width-p, window-body-size)
7194 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7195 (minimize-window, window-deletable-p, delete-window)
7196 (delete-other-windows, set-window-buffer-start-and-point)
7197 (next-buffer, previous-buffer, split-window, balance-windows-2)
7198 (set-window-text-height, window-buffer-height)
7199 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7200 (truncated-partial-width-window-p): Minor code adjustments.
7201 In doc-strings state whether the argument window has to denote a
7202 live, valid or any window.
7203
7204 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7205
7206 * progmodes/subword.el (subword-forward-function)
7207 (subword-backward-function, subword-forward-regexp)
7208 (subword-backward-regexp): New variables.
7209 (subword-forward, subword-forward-internal, subword-backward-internal):
7210 Use new variables, eg so that different "word" definitions
7211 can be easily used. (Bug#11411)
7212
7213 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7216 for composite selectors.
7217 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7218 operation just because we can't find a previous revision.
7219
7220 2012-08-15 Chong Yidong <cyd@gnu.org>
7221
7222 * frame.el (set-frame-font): Accept font objects.
7223
7224 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7227
7228 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7229
7230 * man.el (Man-overstrike-face, Man-underline-face)
7231 (Man-reverse-face): Remove variables.
7232 (Man-overstrike, Man-underline, Man-reverse): New faces.
7233 (Man-fontify-manpage): Use them instead of the variables.
7234 (Man-cleanup-manpage): Comment change.
7235 (Man-ansi-color-map): New variable.
7236 (Man-fontify-manpage): Use it.
7237 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7238
7239 Implement ANSI SGR parameters 22-27 (bug#12146).
7240 * ansi-color.el (ansi-colors): Doc fix.
7241 (ansi-color-context, ansi-color-context-region): Doc fix.
7242 (ansi-color--find-face): New function.
7243 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7244 Rename the local variable `face' to `codes' since it is now a list of
7245 ansi codes. Doc fix.
7246 (ansi-color-get-face): Remove.
7247 (ansi-color-parse-sequence): New function, derived from
7248 ansi-color-get-face.
7249 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7250 codes 22-27.
7251
7252 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7253
7254 * subr.el (read-passwd): Allow use from a minibuffer.
7255
7256 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7257
7258 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7259 inside comments and strings as identifiers.
7260
7261 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7262 expression to evaluate. This allows to evaluate expressions with
7263 embedded whitespace.
7264 (gud-tooltip-tips): Add a blank before the newline in the
7265 message-box text, for the benefit of message-box emulation on
7266 MS-Windows.
7267
7268 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7269 messages from GDB, pop them up in a tooltip to give feedback to
7270 user.
7271 (gdb-tooltip-print-1): Quote the expression to evaluate.
7272 This allows to evaluate expressions with embedded whitespace.
7273 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7274 if the TTY name is nil or empty (which happens when communicating
7275 with the inferior via pipes, e.g. on MS-Windows).
7276 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7277 don't send that to the GUD buffer.
7278
7279 2012-08-14 Glenn Morris <rgm@gnu.org>
7280
7281 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7282 Optimize away setq-default with no args, as for setq. (Bug#12195)
7283
7284 2012-08-14 Chong Yidong <cyd@gnu.org>
7285
7286 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7287
7288 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7289 (Bug#12085).
7290
7291 2012-08-14 Glenn Morris <rgm@gnu.org>
7292
7293 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7294
7295 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7296
7297 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7298 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7299 Use cached shell name.
7300
7301 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7302
7303 * progmodes/python.el (python-shell-send-string):
7304 (python-shell-send-setup-code): Do not use `format' with `message'.
7305
7306 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7307
7308 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7309 (ruby-percent-literal-beg-re): New constant.
7310 (ruby-syntax-general-delimiters-goto-beg): Rename to
7311 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7312 (ruby-syntax-propertize-general-delimiters): Rename to
7313 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7314 popular term. Adjust comments everywhere.
7315 (ruby-syntax-propertize-percent-literal): Only propertize when not
7316 inside a simple string or comment. When the literal is unclosed,
7317 leave the text after it unpropertized.
7318 (ruby-syntax-methods-before-regexp): New constant.
7319 (ruby-syntax-propertize-function): Use it to recognize regexps.
7320 Don't look at the text after regexp, just use the whitelist.
7321
7322 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7323
7324 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7325 non-nil always load the compiled file if it exists. (Bug#12197)
7326
7327 2012-08-14 Chong Yidong <cyd@gnu.org>
7328
7329 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7330 (hi-lock-set-pattern): When deciding whether to use font lock or
7331 overlays, look at font-lock-mode instead of font-lock-fontified
7332 (Bug#12168).
7333 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7334 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7335
7336 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7337
7338 * subr.el (internal--after-with-selected-window): Fix typo
7339 (Bug#12193).
7340
7341 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7342
7343 Use `completion-table-dynamic' for completion functions.
7344 * progmodes/python.el
7345 (python-shell-completion--do-completion-at-point)
7346 (python-shell-completion--get-completions):
7347 Remove functions.
7348 (python-shell-completion-complete-at-point): New function.
7349 (python-completion-complete-at-point): Use it.
7350
7351 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7352
7353 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7354 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7355
7356 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7357
7358 * subr.el (function-get): Refine `autoload' arg so it can also
7359 autoload functions for gv.el (bug#12191).
7360 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7361 autoloads macros.
7362
7363 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7364 Prefer pcase-let over destructuring-bind.
7365 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7366 Also, remove whitespace as we go, rather than after accumulating the
7367 various places.
7368
7369 * subr.el (internal--before-with-selected-window)
7370 (internal--after-with-selected-window): Fix typo seleted->selected.
7371 (with-selected-window): Adjust callers.
7372 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7373
7374 2012-08-13 Bastien Guerry <bzg@gnu.org>
7375
7376 * window.el (special-display-popup-frame): Minor docstring
7377 enhancement. (Bug#12172)
7378
7379 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7380
7381 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7382 type 1-6.
7383 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7384 extended headers.
7385
7386 * files.el (hack-local-variables-filter): Remove useless eval.
7387
7388 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7389
7390 * subr.el (with-selected-window): Fix last change.
7391
7392 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * subr.el (internal--before-with-seleted-window)
7395 (internal--after-with-seleted-window): New functions.
7396 (with-selected-window): Use them, to replace dependency on
7397 tty-top-frame.
7398
7399 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7400
7401 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7402 binding for `newline'.
7403 (ruby-move-to-block): When moving backward, stop at block opening,
7404 not indentation.
7405 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7406 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7407 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7408 `ruby-toggle-block'.
7409
7410 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7411
7412 * ibuffer.el (ibuffer-do-toggle-read-only):
7413 * dired.el (dired-toggle-read-only):
7414 * buff-menu.el (Buffer-menu-toggle-read-only):
7415 * bindings.el (mode-line-toggle-read-only):
7416 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7417
7418 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7419
7420 * descr-text.el (describe-char): Put the overlays over the
7421 "displayed as" character.
7422
7423 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7424
7425 * calc/calc-units.el (math-default-units-table): Give an
7426 initial value.
7427 (math-put-default-units): Add options to put composite units and
7428 unit systems in the default units table.
7429 (calc-convert-units): Send composite units to
7430 `math-put-default-units' when appropriate.
7431
7432 2012-08-11 Glenn Morris <rgm@gnu.org>
7433
7434 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7435
7436 * tutorial.el (help-with-tutorial):
7437 * emacs-lisp/copyright.el (copyright-update-directory):
7438 * emacs-lisp/autoload.el (autoload-find-generated-file)
7439 (autoload-find-file): Disable local eval: (for insurance).
7440
7441 * files.el (hack-local-variables-filter): If an eval: form is not
7442 known to be safe, and enable-local-variables is :safe, then ignore
7443 the form totally, as is done for non-eval forms. (Bug#12155)
7444 This is CVE-2012-3479.
7445
7446 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7447
7448 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7449 (rx-form): Simplify.
7450
7451 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7452
7453 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7454 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7455 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7456 (ruby-syntax-propertize-function): Adjust for changes in
7457 `ruby-syntax-propertize-heredoc'.
7458
7459 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7460
7461 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7462 binding (use `M-;' instead).
7463 (ruby-singleton-class-p): New function.
7464 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7465
7466 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7467
7468 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7469
7470 2012-08-10 Chong Yidong <cyd@gnu.org>
7471
7472 * progmodes/python.el (python-shell-get-process-name): Don't mess
7473 with same-window-buffer-names.
7474
7475 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7476 (eshell-remove-from-window-buffer-names): Make obsolete.
7477 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7478 (eshell): Just use pop-to-buffer-same-window instead.
7479
7480 2012-08-10 Chong Yidong <cyd@gnu.org>
7481
7482 * bindings.el: Bind M-= back to count-words-region.
7483
7484 * simple.el (count-words-region): Accept a prefix arg for acting
7485 on the entire buffer.
7486 (count-words--buffer-message): New helper function.
7487
7488 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7489
7490 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7491 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7492 (event-start, event-end): Use posn-at-point to return a more
7493 informative posn.
7494 (posnp): New function.
7495 * mouse.el (popup-menu-normalize-position): Use it.
7496
7497 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7498
7499 * mouse.el (popup-menu-normalize-position): New function.
7500 (popup-menu): Use `popup-menu-normalize-position' to normalize
7501 the form for POSITION argument.
7502
7503 * term/x-win.el (x-menu-bar-open):
7504 Use the value returend from (posn-at-point) as position
7505 passed to `popup-menu'.
7506
7507 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7508
7509 * calc/calccomp.el (math-compose-expr): Add extra argument
7510 indicating that parentheses should be put around products in
7511 denominators. Give multiplication precedence over division during
7512 composition.
7513
7514 2012-08-09 Chong Yidong <cyd@gnu.org>
7515
7516 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7517 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7518 (Man-untabify-command, manual-program): Convert to defcustom
7519 (Bug#10429).
7520
7521 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7522
7523 * descr-text.el (describe-char): Don't insert extra newlines
7524 (Bug#10127).
7525
7526 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7527 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7528
7529 * align.el (align-region): Delete temporary markers (Bug#10047).
7530 Plus some code cleanups.
7531
7532 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7533
7534 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7535 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7536 (python-shell-internal-last-output): Use make-local-variable
7537 instead of make-variable-buffer-local.
7538
7539 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7540
7541 * progmodes/python.el: Enhancements to forward-sexp.
7542 (python-nav-forward-sexp): Rename from
7543 python-nav-forward-sexp-function.
7544 (python-nav--forward-sexp, python-nav--backward-sexp):
7545 New functions.
7546
7547 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7548
7549 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7550 modes and simplification modes.
7551
7552 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * delsel.el (delete-selection-pre-hook): Don't propagate the
7555 file-supersession signals (bug#12161).
7556
7557 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7560 (cl-map-extents): Add compatibility aliases (bug#12135).
7561
7562 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7563
7564 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7565 tests by `ignore-error'.
7566 (tramp-find-shell): Open also a new shell, when cache is already
7567 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7568
7569 2012-08-08 Juri Linkov <juri@jurta.org>
7570
7571 * bookmark.el: Add `defaults' property to the bookmark record.
7572 (bookmark-current-buffer): Doc fix.
7573 (bookmark-make-record): Add `defaults' property with default values
7574 to the bookmark record.
7575 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7576 with `bookmark-insert-current-bookmark'.
7577 (bookmark-set): Get `defaults' property from the bookmark record
7578 and use it in `read-from-minibuffer'.
7579 (bookmark-insert-current-bookmark): Remove function.
7580
7581 * info.el (Info-bookmark-make-record): Add `defaults' property
7582 with values of canonical Info node name, the current Info file
7583 name and the current Info node name. (Bug#12107)
7584
7585 2012-08-08 Juri Linkov <juri@jurta.org>
7586
7587 * files.el (basic-save-buffer): Use `buffer-name' as the default
7588 of `read-file-name' when buffer is not visiting a file (bug#12128).
7589
7590 2012-08-08 Juri Linkov <juri@jurta.org>
7591
7592 * info.el (Info-isearch-search): Doc fix.
7593 (Info-search): Change search-failed message from "initial node" to
7594 "end of node" (bug#12078).
7595 (Info-isearch-search): Change `isearch-string-state' to
7596 `isearch--state-string'.
7597
7598 2012-08-08 Glenn Morris <rgm@gnu.org>
7599
7600 * language/persian.el: Remove file.
7601 * language/misc-lang.el: Move unique part of persian.el here.
7602 * loadup.el: Remove language/persian.
7603
7604 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7605
7606 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7607
7608 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7609
7610 * progmodes/python.el: Fix defsubst warning.
7611 (python-syntax-context) Rename from python-info-ppss-context.
7612 (python-syntax-context-type): Rename from
7613 python-info-ppss-context-type.
7614 (python-syntax-comment-or-string-p): Rename from
7615 python-info-ppss-comment-or-string-p.
7616
7617 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7618
7619 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7620
7621 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7622
7623 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7624 a defcustom that is quoted with backquote.
7625
7626 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7627 Fix handling of interactive spec when the body uses return.
7628 (math-do-arg-check, math-define-function-body): Use backquote forms.
7629 * calc/calc-ext.el (math-defcache): Likewise.
7630 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7631 * allout.el (allout-new-exposure): Likewise.
7632 * calc/calcalg2.el (math-tracing-integral): Likewise.
7633 * info.el (Info-last-menu-item): Likewise.
7634 * emulation/vip.el (vip-loop): Likewise.
7635 * textmodes/artist.el (artist-funcall): Likewise.
7636 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7637 Construct menu-item directly.
7638
7639 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7640 Don't declare.
7641
7642 2012-08-07 Chong Yidong <cyd@gnu.org>
7643
7644 * simple.el (deactivate-mark): Preserve text properties when
7645 saving the primary selection (Bug#8384).
7646
7647 2012-08-07 Kevin Ryde <user42@zip.com.au>
7648
7649 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7650 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7651 and continue processing (Bug#12110).
7652
7653 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7654
7655 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7656 syntax-propertize-function (bug#10095).
7657
7658 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7659
7660 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7661 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7662 describe-function-1.
7663 (describe-function-1): Use them. Move compiler macro after sig.
7664 (help-fns--compiler-macro): Use function-get. Assume we're already in
7665 standard-output. Adjust layout to new call order.
7666
7667 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7668 re-binding a symbol that has a symbol-macro (bug#12119).
7669
7670 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7671
7672 * language/persian.el: New file. (Bug#11812)
7673 * loadup.el: Add language/persian.el.
7674
7675 2012-08-06 Chong Yidong <cyd@gnu.org>
7676
7677 * window.el (window--maybe-raise-frame): New function.
7678 (window--display-buffer): Split off from here.
7679 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7680 (display-buffer-pop-up-window, display-buffer-use-some-window):
7681 Obey an inhibit-switch-frame action alist entry.
7682 (display-buffer): Update doc.
7683
7684 * replace.el (occur-after-change-function): Avoid losing focus by
7685 using the inhibit-switch-frame display parameter (Bug#12139).
7686
7687 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7688
7689 Make internal shell process buffer names start with space.
7690 * progmodes/python.el (python-shell-make-comint): Add optional
7691 argument INTERNAL.
7692 (run-python-internal): Use it.
7693 (python-shell-internal-get-or-create-process): Check for new
7694 internal buffer names.
7695
7696 2012-08-06 Glenn Morris <rgm@gnu.org>
7697
7698 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7699 Do less getting and setting of environment variables.
7700
7701 2012-08-05 Chong Yidong <cyd@gnu.org>
7702
7703 * proced.el (proced): Add substitution string to docstring to
7704 trigger autoloading of the proced library on C-h f (Bug#1768).
7705
7706 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7707 Don't show defvars which have no second argument (Bug#8638).
7708
7709 * imenu.el (imenu-generic-expression): Move documentation here
7710 from imenu--generic-function.
7711 (imenu--generic-function): Refer to imenu-generic-expression.
7712
7713 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7714
7715 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7716 indentation declaration.
7717 (viper-loop): Add indentation declaration (Bug#7025).
7718
7719 2012-08-05 Chong Yidong <cyd@gnu.org>
7720
7721 * help-fns.el (describe-variable): Add hyperlink for
7722 directory-local variables files. Improve buffer-local and
7723 permanent-local reporting; suggested by MON KEY (Bug#6644).
7724
7725 * help-mode.el (help-dir-local-var-def): New button type.
7726
7727 * files.el (kill-buffer-hook): Provide a defvar.
7728
7729 2012-08-05 Glenn Morris <rgm@gnu.org>
7730
7731 * eshell/esh-ext.el (eshell/addpath):
7732 Also update eshell-path-env. (Bug#12013)
7733
7734 2012-08-05 Chong Yidong <cyd@gnu.org>
7735
7736 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7737
7738 * fringe.el (fringe-styles): Add docstring.
7739 (fringe--check-mode): New function.
7740 (set-fringe-mode, set-fringe-style): Use it.
7741 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7742
7743 * files.el (set-auto-mode): Fix invalid setq call.
7744
7745 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7746
7747 * isearch.el: Misc simplification; use defstruct.
7748 (isearch-mode-map): Dense maps now work like sparse ones.
7749 (isearch--state): New defstruct.
7750 (isearch-string-state, isearch-message-state, isearch-point-state)
7751 (isearch-success-state, isearch-forward-state)
7752 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7753 (isearch-wrapped-state, isearch-barrier-state)
7754 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7755 replaced by defstruct's accessors.
7756 (isearch--set-state): Rename from isearch-top-state and change
7757 calling convention.
7758 (isearch-push-state): Use new isearch--get-state.
7759 (isearch-toggle-word): Disable regexp when enabling word.
7760 (isearch-message-prefix): Remove unused arg _c-q-hack.
7761 (isearch-message-suffix): Remove unused arg _ellipsis.
7762
7763 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7764
7765 * simple.el (list-processes--refresh): For a server use :host or
7766 :local as the address.
7767 (list-processes): Doc fix.
7768
7769 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7770
7771 * lisp/mpc.el: Support password in host argument.
7772 (mpc--proc-connect): Parse and use new password element.
7773 Set mpc-proc variable instead of returning process.
7774 (mpc-proc): Adjust accordingly.
7775
7776 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7777
7778 * whitespace.el (whitespace-display-mappings): Use Unicode
7779 codepoints, instead of emacs-mule codepoints. See
7780 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7781 for the details.
7782
7783 * files.el (file-truename): Don't skip symlink-chasing part on
7784 windows-nt. Incorporate the resolution of 8+3 short aliases on
7785 Windows into the loop that recursively chases symlinks.
7786 Compare directory and its parent case-insensitively on MS-Windows and
7787 MS-DOS.
7788
7789 2012-08-03 Chong Yidong <cyd@gnu.org>
7790
7791 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7792
7793 * sort.el (sort-regexp-fields): Doc fix.
7794
7795 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7796
7797 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7798 labels regex position point at the expected place.
7799
7800 2012-08-03 MON KEY <monkey@sandpframing.com>
7801
7802 * net/imap.el (imap-interactive-login, imap-authenticate)
7803 (imap-mailbox-lsub, imap-mailbox-list)
7804 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7805 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7806 (imap-parse-response): Doc fix.
7807
7808 2012-08-03 João Távora <joaotavora@gmail.com>
7809
7810 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7811 if sexp scanning does not move point (Bug#5734).
7812
7813 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7814
7815 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7816 Add listings, minted, and ctable packages.
7817 (reftex-label-alist-builtin): Move listings, minted, and ctable
7818 entries before LaTeX.
7819 (reftex-label-alist): Docfix.
7820
7821 2012-08-02 Bastien Guerry <bzg@gnu.org>
7822
7823 * replace.el (occur): Fix docstring (bug#12122).
7824
7825 2012-08-02 Glenn Morris <rgm@gnu.org>
7826
7827 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7828
7829 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7830
7831 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7832 * international/mule-cmds.el: Create
7833 inactivate-current-input-method-function as an obsolete alias for
7834 deactivate-current-input-method-function. See Katsumi Yamaoka in
7835 <http://bugs.gnu.org/10150#46>.
7836
7837 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7838
7839 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7840 of nested `if's.
7841
7842 2012-08-01 Glenn Morris <rgm@gnu.org>
7843
7844 * progmodes/autoconf.el (autoconf-definition-regexp):
7845 Add AH_TEMPLATE, adjust submatch numbering.
7846 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7847 (autoconf-current-defun-function): Update for above change.
7848 (autoconf-current-defun-function): First skip to end of current word.
7849
7850 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7851
7852 * calendar/cal-html.el (cal-html-insert-agenda-days):
7853 Fix typo. (Bug#12018)
7854
7855 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7856
7857 Shell processes: enhancements to startup and CEDET compatibility.
7858 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7859 (python-shell-make-comint): accept-process-output at startup.
7860 (run-python-internal): Set inferior-python-mode-hook to nil.
7861 (python-shell-internal-get-or-create-process): call sit-for.
7862 (python-preoutput-result): Add obsolete alias.
7863 (python-shell-internal-send-string): Use it.
7864 (python-shell-send-setup-code): Remove call to
7865 accept-process-output.
7866
7867 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7868
7869 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7870 (Bug#12108)
7871
7872 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7873
7874 * calc-mode.el (calc-basic-simplification-mode): Rename from
7875 `calc-limited-simplification-mode'.
7876 (calc-alg-simplification-mode): New function.
7877 (calc-set-simplify-mode): Adjust message.
7878
7879 * calc.el (calc-set-mode-line): Adjust mode line display for
7880 basic simplification mode.
7881
7882 * calc-help.el (calc-m-prefix-help): Update help message.
7883
7884 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7885 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7886
7887 2012-07-31 Bastien Guerry <bzg@gnu.org>
7888
7889 * man.el (man): Fix comment. (bug#12101)
7890
7891 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7892
7893 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7894 Don't return a non-nil value when no suitable buffer was found.
7895
7896 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7897
7898 * progmodes/python.el (run-python-internal): Disable font lock for
7899 internal shells.
7900
7901 2012-07-30 Stefan Merten <smerten@oekonux.de>
7902
7903 * textmodes/rst.el: Silence `checkdoc-ispell'.
7904 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7905 (rst-official-version, rst-official-cvs-rev)
7906 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7907 (rst-mode-map): New key binding.
7908
7909 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7910
7911 Update .PHONY listings in makefiles.
7912 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7913 autoloads, update-subdirs, updates, bzr-update, update-authors,
7914 compile-onefile, compile-calc, backup-compiled-files,
7915 compile-after-backup, compile-one-process, mh-autoloads,
7916 bootstrap-clean, distclean, maintainer-clean.
7917
7918 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7919
7920 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7921 (calc-set-mode-line): Don't display "AlgSimp ".
7922
7923 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7924 (calc-lim-simplify-mode): New function.
7925 (calc-set-simplify-mode): Default to 'alg.
7926 (calc-default-simplify-mode): Make algebraic simplifications
7927 the default.
7928
7929 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7930 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7931
7932 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7933 indicate new simplification modes.
7934
7935 * calc/README: Mention new default simplification mode.
7936
7937 * calc/calc.el (math-normalize-error): New variable.
7938 (math-normalize): Set `math-normalize-error' to t
7939 when there's an error.
7940
7941 * calc/calc-alg.el (math-simplify): Don't simplify when
7942 `math-normalize' returns an error.
7943
7944 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7945
7946 * international/mule-cmds.el (set-locale-environment): Revert last
7947 change, since display-graphic-p returns nil when this function is
7948 called during startup. Instead...
7949
7950 * term/w32console.el (terminal-init-w32console): ...setup the
7951 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7952
7953 2012-07-29 Juri Linkov <juri@jurta.org>
7954
7955 * simple.el (goto-line): Don't display default line number in the
7956 prompt because it should be displayed by `read-number' (bug#9952).
7957 Add the current line number to the defaults of `goto-line' to
7958 allow its easier modification by users with `M-n' (bug#9201).
7959
7960 * subr.el (read-number): Support multiple default values like in
7961 other minibuffer reading functions. Replace `read' with
7962 `string-to-number' for consistency with `number-to-string'.
7963
7964 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7965
7966 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7967 * emulation/viper-init.el (viper-deactivate-input-method-action):
7968 Rename from viper-inactivate-input-method-action.
7969 (viper-deactivate-input-method):
7970 Rename from viper-inactivate-input-method.
7971 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7972 * international/mule-cmds.el (deactivate-input-method):
7973 Rename from inactivate-input-method.
7974 Also run input-method-deactivate-hook.
7975 (deactivate-current-input-method-function):
7976 Rename from inactivate-current-input-method-function.
7977 (input-method-deactivate-hook): New hook.
7978 (input-method-inactivate-hook): Mark obsolete.
7979 (inactivate-input-method): Mark obsolete.
7980
7981 * international/quail.el (quail-activate):
7982 Also run quail-deactivate-hook.
7983 (quail-deactivate): Rename from quail-inactivate.
7984 * international/robin.el (robin-activate):
7985 Also run robin-deactivate-hook.
7986 (robin-deactivate): Rename from robin-inactivate.
7987
7988 2012-07-29 Chong Yidong <cyd@gnu.org>
7989
7990 * simple.el (indicate-copied-region): New function.
7991 (kill-ring-save): Split off from here.
7992
7993 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7994 (kill-rectangle): Set deactivate-mark to t on read-only error.
7995
7996 * register.el (copy-to-register, copy-rectangle-to-register):
7997 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7998 (append-to-register, prepend-to-register): Call indicate-copied-region.
7999
8000 2012-07-29 Juri Linkov <juri@jurta.org>
8001
8002 * simple.el (async-shell-command-buffer): New defcustom.
8003 (shell-command): Use it. (Bug#4719)
8004
8005 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8006
8007 * international/mule-cmds.el (set-locale-environment): In a
8008 console session on MS-Windows, set up keyboard and terminal
8009 encoding from the OEM codepage, not the ANSI codepage.
8010 (Bug#12055)
8011
8012 2012-07-28 Chong Yidong <cyd@gnu.org>
8013
8014 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8015 gdb-get-location.
8016
8017 2012-07-28 Leo Liu <sdl.web@gmail.com>
8018
8019 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8020 the alist (bug#12029).
8021
8022 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8023
8024 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8025 (compile-always, compile-first)
8026 ($(lisp)/calendar/cal-loaddefs.el)
8027 ($(lisp)/calendar/diary-loaddefs.el)
8028 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8029 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8030 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8031 instead of on update-subdirs.
8032 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8033
8034 2012-07-28 Chong Yidong <cyd@gnu.org>
8035
8036 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8037 directory if vc-deduce-backend returns nil (Bug#7350).
8038
8039 * simple.el (delete-trailing-lines): New option.
8040 (delete-trailing-whitespace): Obey it (Bug#11879).
8041
8042 2012-07-28 David Engster <deng@randomsample.de>
8043
8044 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8045 Explanation of new 'symbol-qnames feature in doc-strings.
8046 (xml-maybe-do-ns): Return expanded names as plain symbols if
8047 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8048 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8049
8050 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8051
8052 Consistent completion in inferior python with emacs -nw.
8053 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8054 binding in inferior-python-mode-map with "\t".
8055 (python-shell-completion-complete-at-point)
8056 (python-completion-complete-at-point): Remove interactive spec.
8057
8058 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8059
8060 * calc/calccomp.el (math-compose-expr): Undo previous change.
8061
8062 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8063
8064 * progmodes/python.el (python-mode-map): Add keybinding for
8065 run-python.
8066 (python-shell-make-comint): Fix pop-to-buffer call.
8067 (run-python): Autoload. New arg SHOW.
8068 (python-shell-get-or-create-process): Do not pop python process
8069 buffer.
8070
8071 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8072
8073 * notifications.el (notifications-on-action-signal)
8074 (notifications-on-closed-signal): Use also the bus address for the map.
8075 (notifications-notify, notifications-close-notification)
8076 (notifications-get-capabilities): Add optional argument BUS.
8077
8078 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8079
8080 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8081 Add support for the lstlisting and minted environments, and for the
8082 ctable macro.
8083 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8084 labels written in keyvals syntax.
8085
8086 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8087
8088 * calc/calccomp.el (math-compose-expr): Use parentheses when
8089 there is a product in the denominator of a fraction.
8090
8091 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8092
8093 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8094 ($(lisp)/calendar/diary-loaddefs.el)
8095 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8096 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8097 Fixes failures in parallel bootstrap because subdirs.el is being
8098 rewritten while the autoload files are built at the same time,
8099 which needs to load subdirs.el.
8100
8101 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8102
8103 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8104 (mouse-drag-line): Don't exit tracking when a switch-frame or
8105 switch-window event occurs (Bug#12006).
8106
8107 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * mouse.el (popup-menu): Fix last change.
8110
8111 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8112
8113 Autoload from Lisp with more care. Follow aliases when looking for
8114 function properties.
8115 * subr.el (autoloadp): New function.
8116 (symbol-file): Use it.
8117 (function-get): New function.
8118 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8119 autoload-do-load.
8120 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8121 (lisp-indent-function):
8122 * emacs-lisp/gv.el (gv-get):
8123 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8124 * emacs-lisp/byte-opt.el (byte-optimize-form):
8125 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8126 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8127 Use function-get.
8128 * emacs-lisp/cl.el: Don't propagate function properties any more.
8129
8130 * speedbar.el (speedbar-add-localized-speedbar-support):
8131 * emacs-lisp/disass.el (disassemble-internal):
8132 * desktop.el (desktop-load-file):
8133 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8134 (describe-function-1):
8135 * emacs-lisp/find-func.el (find-function-noselect):
8136 * emacs-lisp/elp.el (elp-instrument-function):
8137 * emacs-lisp/advice.el (ad-has-proper-definition):
8138 * apropos.el (apropos-safe-documentation, apropos-macrop):
8139 * emacs-lisp/debug.el (debug-on-entry):
8140 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8141 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8142 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8143
8144 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8145
8146 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8147 function, not an obsolete variable (Bug#12046).
8148
8149 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8150
8151 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8152
8153 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8154
8155 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8156 window only if it is still live (Bug#12034).
8157
8158 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8159
8160 * subr.el (redirect-frame-focus): Add advertised calling
8161 convention (Bug#12030).
8162
8163 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8164
8165 Prefer typical American spelling for "acknowledgment".
8166 * vc/add-log.el (change-log-acknowledgment): Rename from
8167 change-log-acknowledgement, with an alias for the old name.
8168
8169 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8170
8171 * calc-alg.el (math-simplify-divide): Don't cross multiply
8172 in an equation when the lhs is a variable.
8173
8174 2012-07-24 Julien Danjou <julien@danjou.info>
8175
8176 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8177 Remove, unused.
8178
8179 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8180
8181 * startup.el (command-line): Don't display an empty user name in
8182 the error message about non-existent home directory, when
8183 init-file-user was set to an empty string. See
8184 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8185 for the details and context.
8186
8187 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8188
8189 * ses.el (ses-cell-formula-aset): New macro.
8190 (ses-cell-references-aset): New macro.
8191 (ses-cell-p): New function.
8192 (ses-rename-cell): Do no longer rely on complex operations like
8193 ses-cell-set-formula or ses-set-cell to change the cell and handle
8194 the undo at the same time, but rather use lower level new macros
8195 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8196 the undo directly. Refresh the mode line.
8197
8198 2012-07-21 Leo Liu <sdl.web@gmail.com>
8199
8200 * progmodes/cc-cmds.el (c-defun-name):
8201 Use match-string-no-properties instead for consistency.
8202
8203 2012-07-20 Leo Liu <sdl.web@gmail.com>
8204
8205 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8206 (Bug#7879)
8207
8208 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8209
8210 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8211
8212 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8213 * progmodes/bug-reference.el, misearch.el: Provide themselves
8214 (bug#11915).
8215
8216 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8217 of narrowed buffer (bug#11966).
8218
8219 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8220
8221 * ses.el (ses-rename-cell): Set new name also in reference list of
8222 cells of which the renamed cell depends.
8223
8224 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8225
8226 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8227 to check whether menu-bar is shown or not. If not shown,
8228 show the menu-bar as a popup menu instead of using tmm.
8229 * mouse.el (popup-menu): Accept `point' as `position' argument.
8230
8231 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8232
8233 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8234 up inside string symbol literal (bug#11923).
8235
8236 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8237
8238 * startup.el (fancy-startup-text): Read the whole tutorial, not
8239 just its first 256 bytes. Prevents gibberish in display of the
8240 tutorial title.
8241
8242 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8243
8244 Drop idle buffer compaction due to an absence of the
8245 proved efficiency.
8246 * compact.el: Remove.
8247
8248 2012-07-19 Sam Steingold <sds@gnu.org>
8249
8250 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8251 vc-bzr-pull & vc-bzr-merge-branch.
8252 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8253 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8254 for consistency with compilation-error-regexp-alist.
8255 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8256 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8257 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8258 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8259
8260 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8261
8262 * emacs-lisp/chart.el: Use lexical-binding.
8263 (chart-emacs-storage): Don't hardcode the list of entries.
8264
8265 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8266
8267 Next round of tweaks caused by Fgarbage_collect changes.
8268 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8269
8270 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8271
8272 Compact buffers when idle.
8273 * compact.el: New file.
8274
8275 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8276
8277 * subr.el (eventp): Presume that if it looks vaguely like an event,
8278 it's an event (bug#10190).
8279
8280 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8281
8282 Enhancements to ppss related code (thanks Stefan).
8283 * progmodes/python.el (python-indent-context)
8284 (python-indent-calculate-indentation, python-indent-dedent-line)
8285 (python-indent-electric-colon, python-nav-forward-block)
8286 (python-mode-abbrev-table)
8287 (python-info-assignment-continuation-line-p): Simplify checks
8288 for ppss context.
8289 (python-info-continuation-line-p): Cleanup.
8290 (python-info-ppss-context): Do not catch 'quote.
8291 (python-info-ppss-context-type)
8292 (python-info-ppss-comment-or-string-p): Simplify.
8293
8294 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8295
8296 * progmodes/python.el: Enhancements to eldoc support.
8297 (python-info-current-symbol): New function.
8298 (python-eldoc-at-point): Use python-info-current-symbol.
8299 (python-info-current-defun): Fix cornercase on first defun scan.
8300 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8301 and signal error when no inferior python process is available.
8302
8303 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8304
8305 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8306 assume it's always t.
8307 (vc-git-registered): Remove caching, the function is only called
8308 once.
8309 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8310
8311 2012-07-18 Chong Yidong <cyd@gnu.org>
8312
8313 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8314
8315 * simple.el (count-words): Report on narrowing (Bug#9959).
8316
8317 * bindings.el: Bind M-= to count-words.
8318
8319 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8320
8321 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8322
8323 * progmodes/sh-script.el (sh-imenu-generic-expression):
8324 Capture a function with `function' keyword and without parentheses
8325 like "function FOO" (bug#11856).
8326
8327 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8328
8329 * window.el (split-window-sensibly): Make WINDOW argument
8330 optional.
8331
8332 2012-07-18 Chong Yidong <cyd@gnu.org>
8333
8334 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8335
8336 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8337 and make C-x 8 RET exit isearch (Bug#11439).
8338
8339 * international/iso-transl.el: Move isearch-mode-map key
8340 definitions to isearch.el.
8341
8342 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8345 (eieio-defclass): Use gv-define-setter when possible.
8346
8347 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8348
8349 Reflect recent changes in Fgarbage_collect.
8350 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8351 reflect new format of data returned by Fgarbage_collect.
8352
8353 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8354
8355 New utility functions + python-info-ppss-context fix (Bug#11910).
8356 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8357 (python-info-ppss-comment-or-string-p): New functions.
8358 (python-info-ppss-context): Small fix for string check.
8359
8360 2012-07-17 Juri Linkov <juri@jurta.org>
8361
8362 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8363 (dired-do-async-shell-command): Don't add `*' at the end of the
8364 command (Bug#11815).
8365 (dired-do-shell-command): Doc fix.
8366 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8367 Join the individual commands using either "&" or ";" as the
8368 separator depending on the values of these trailing characters.
8369 At the end re-add the trailing "&". (Bug#10598)
8370
8371 * simple.el (async-shell-command): Sync the interactive spec with
8372 `shell-command'. Doc fix.
8373 (shell-command): Doc fix.
8374
8375 2012-07-17 Juri Linkov <juri@jurta.org>
8376
8377 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8378
8379 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8380
8381 Final renames and doc fixes for movement commands (bug#11899).
8382 * progmodes/python.el (python-nav-beginning-of-statement):
8383 Rename from python-nav-statement-start.
8384 (python-nav-end-of-statement): Rename from
8385 python-nav-statement-end.
8386 (python-nav-beginning-of-block): Rename from
8387 python-nav-block-start.
8388 (python-nav-end-of-block): Rename from python-nav-block-end.
8389
8390 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8391
8392 * progmodes/python.el (python-shell-send-string-no-output):
8393 Allow accept-process-output to quit, keeping shell process ready for
8394 future interactions (Bug#11868).
8395
8396 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8397
8398 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8399
8400 * emacs-lisp/elint.el (elint-find-args-in-code):
8401 Use help-function-arglist, so as to handle lexical byte-code.
8402
8403 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8404 change (bug#11826).
8405
8406 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8407
8408 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8409 Avoid spuriously marking the buffer as modified because of c-is-sws.
8410
8411 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8412 as not-a-comment (bug#11946).
8413
8414 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8415 for uninterned vars.
8416
8417 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8418 Use read-event since we don't really want to read chars but bytes.
8419
8420 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8421 $$..$$ but also $..$ using regexps (bug#11953).
8422 Use tex-verbatim for \url and \path.
8423 (tex-font-lock-keywords): Define as defconst like the others.
8424 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8425
8426 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8427
8428 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8429 alias for insert-char.
8430
8431 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8432
8433 * progmodes/python.el: Simplified imenu implementation.
8434 (python-nav-jump-to-defun): Remove command.
8435 (python-mode-map): Use `imenu' instead.
8436 (python-nav-list-defun-positions-cache)
8437 (python-imenu-include-defun-type, python-imenu-make-tree)
8438 (python-imenu-subtree-root-label, python-imenu-index-alist):
8439 Remove vars.
8440 (python-nav-list-defun-positions, python-nav-read-defun)
8441 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8442 (python-imenu-make-tree, python-imenu-create-index):
8443 Remove functions.
8444 (python-mode): Update to interact with imenu by setting
8445 `imenu-extract-index-name-function' only.
8446
8447 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8448
8449 * progmodes/python.el: Enhancements to navigation commands.
8450 (python-nav-backward-sentence)
8451 (python-nav-forward-sentence): Remove.
8452 (python-nav-backward-statement, python-nav-forward-statement)
8453 (python-nav-statement-start, python-nav-statement-end)
8454 (python-nav-backward-block, python-nav-forward-block)
8455 (python-nav-block-start, python-nav-block-end)
8456 (python-nav-forward-sexp-function)
8457 (python-info-current-line-comment-p)
8458 (python-info-current-line-empty-p): New functions.
8459 (python-indent-context): Use `python-nav-statement-start'.
8460
8461 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8462
8463 * eshell/em-ls.el (eshell/ls): Use `apply'.
8464
8465 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8466 multi-hops, instead of Tramp internals.
8467
8468 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8469
8470 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8471 when F1 and F2 are located on different hosts.
8472
8473 2012-07-14 Chong Yidong <cyd@gnu.org>
8474
8475 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8476 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8477 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8478 (xterm-mouse--read-event-sequence-1000)
8479 (xterm-mouse--read-event-sequence-1006): New functions. For old
8480 mouse protocol, handle M-mouse-X events correctly.
8481 (xterm-mouse-event): New arg specifying mouse protocol.
8482 (turn-on-xterm-mouse-tracking-on-terminal)
8483 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8484 sequence to toggle extended coordinates on newer XTerms.
8485 This appears to be harmless on terminals which do not support this.
8486
8487 2012-07-14 Leo Liu <sdl.web@gmail.com>
8488
8489 Add fringe bitmap indicators for flymake. (Bug#11253)
8490 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8491 (flymake-make-overlay): New arg BITMAP.
8492 (flymake-error-bitmap, flymake-warning-bitmap)
8493 (flymake-fringe-indicator-position): New user variables.
8494
8495 * fringe.el: New bitmap exclamation-mark.
8496
8497 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8498
8499 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8500 also (Bug#7879).
8501
8502 2012-07-14 Chong Yidong <cyd@gnu.org>
8503
8504 * electric.el (electric-pair-post-self-insert-function): Fix pair
8505 insertion in empty-region case (Bug#11520).
8506
8507 2012-07-14 Chong Yidong <cyd@gnu.org>
8508
8509 * bindings.el: Consolidate ctl-x-r-map bindings.
8510 Bind copy-rectangle-as-kill to C-x r w.
8511
8512 * rect.el, register.el: Move bindings to bindings.el.
8513
8514 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8515
8516 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8517
8518 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8519
8520 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8521
8522 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8523
8524 * bindings.el (top): Use `mapc' instead of `mapcar'.
8525
8526 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8527
8528 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8529
8530 * progmodes/sql.el (sql-comint): Suppress the check for program on
8531 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8532 (Bug#11908)
8533
8534 2012-07-13 Chong Yidong <cyd@gnu.org>
8535
8536 * bindings.el: Assign a non-nil permanent-local property to
8537 per-buffer variables which lack a default value (Bug#11930).
8538
8539 * help-fns.el (describe-variable): In the "automatically becomes
8540 local" notice, take note of permanent-local variables.
8541
8542 2012-07-13 Chong Yidong <cyd@gnu.org>
8543
8544 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8545 to allow printing the message when called from Lisp.
8546
8547 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8548 Remove toggle-read-only.
8549
8550 * bs.el (bs-toggle-readonly):
8551 * buff-menu.el (Buffer-menu-toggle-read-only):
8552 Remove with-no-warnings around toggle-read-only.
8553
8554 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8555 Remove with-no-warnings around toggle-read-only.
8556 (ffap-read-only, ffap-read-only-other-window)
8557 (ffap-read-only-other-frame): Callers changed.
8558
8559 * help-mode.el: Don't require view package.
8560 (help-mode-finish): Set buffer-read-only instead of calling
8561 toggle-read-only.
8562
8563 * bindings.el (mode-line-toggle-read-only):
8564 * dired.el (dired-toggle-read-only):
8565 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8566 with non-nil second arg.
8567
8568 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8569 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8570 directly.
8571
8572 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8573
8574 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8575 not incf.
8576
8577 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8578
8579 More CL cleanups and reduction of use of cl.el.
8580 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8581 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8582 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8583 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8584 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8585 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8586 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8587 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8588 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8589 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8590 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8591 * eshell/em-cmpl.el, eshell/em-banner.el:
8592 * calendar/parse-time.el: Use cl-lib.
8593 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8594 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8595 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8596 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8597 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8598 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8599 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8600 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8601 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8602 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8603 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8604 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8605 `lambda' rather than with `quote'.
8606 (eshell-do-opt): Adjust accordingly.
8607 (eshell-process-option): Simplify.
8608 * eshell/esh-var.el:
8609 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8610 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8611 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8612 to `pcase--dontcare'.
8613 * emacs-lisp/cl.el (labels): Mark obsolete.
8614 (cl--letf, letf): Move to cl-lib.
8615 (cl--letf*, letf*): Remove.
8616 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8617 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8618 (cl-progv): Rewrite.
8619 (cl--letf, cl-letf): Move from cl.el.
8620 (cl-letf*): New macro.
8621 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8622
8623 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8624
8625 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8626
8627 2012-07-11 Chong Yidong <cyd@gnu.org>
8628
8629 * vc/log-edit.el (log-edit-vc-backend): New variable.
8630 (log-edit): Doc fix.
8631
8632 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8633 argument of log-edit to set up all local variables.
8634 (vc-start-logentry): New optional arg specifying VC backend.
8635
8636 * vc/vc.el (vc-checkin): Use it.
8637 (vc-deduce-fileset): Handle Log Edit buffers.
8638 (vc-diff): Make first argument optional too.
8639
8640 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8641
8642 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8643
8644 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8645 command, just in case. The function is not needed anymore.
8646 (eshell-external-command): Do not call `eshell-remote-command'.
8647
8648 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8649
8650 Reduce use of (require 'cl).
8651 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8652 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8653 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8654 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8655 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8656 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8657 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8658 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8659 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8660 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8661 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8662 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8663 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8664 (byte-compile-unfold-bcf, byte-compile-check-variable):
8665 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8666 (byte-compile-nilconstp):
8667 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8668 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8669
8670 * emacs-lisp/gv.el (cond): Make it a valid place.
8671 (if): Simplify slightly.
8672
8673 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8674 (pcase--self-quoting-p): New function.
8675 (pcase--u1): Use it.
8676
8677 2012-07-10 Glenn Morris <rgm@gnu.org>
8678
8679 * emacs-lisp/authors.el (authors-fixed-entries):
8680 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8681
8682 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8683
8684 Rename configure.in to configure.ac (Bug#11603).
8685 * emacs-lisp/authors.el (authors-canonical-file-name):
8686 * progmodes/autoconf.el (autoconf-mode):
8687 Prefer configure.ac to configure.in.
8688
8689 2012-07-08 Chong Yidong <cyd@gnu.org>
8690
8691 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8692 Implement the mouse-1-click-follows-link handling properly.
8693
8694 * info.el (Info-link-keymap): Use follow-link mechanism for
8695 header-line links (Bug#374).
8696
8697 * simple.el (deactivate-mark): Do not set the primary selection
8698 if another program has acquired it (Bug#11772).
8699
8700 2012-07-07 Kevin Ryde <user42@zip.com.au>
8701
8702 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8703 (woman-decode-region): Replace escaped-escapes without destroying
8704 bold or underline (Bug#11552).
8705 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8706
8707 2012-07-07 Chong Yidong <cyd@gnu.org>
8708
8709 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8710 (interprogram-cut-function, interprogram-paste-function):
8711 Mention that we typically mean the clipboard.
8712
8713 2012-07-06 Glenn Morris <rgm@gnu.org>
8714
8715 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8716
8717 * files.el (toggle-read-only): Restrict message to interactive use.
8718
8719 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8720
8721 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8722
8723 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8724
8725 2012-07-06 Glenn Morris <rgm@gnu.org>
8726
8727 * Makefile.in (compile-one-process): Rename from "recompile".
8728
8729 * Makefile.in (bzr-update): "compile" is the same as "recompile
8730 autoloads", but parallelizable, so use that instead.
8731
8732 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8733
8734 * window.el (quit-window): Always restore window height when
8735 it's saved in quit-restore parameter (Bug#11810).
8736
8737 2012-07-06 Glenn Morris <rgm@gnu.org>
8738
8739 * simple.el (kill-whole-line): Doc tweak.
8740
8741 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8742
8743 * files.el (file-relative-name): Compare file names
8744 case-insensitively if on MS-Windows or MS-DOS, or if
8745 read-file-name-completion-ignore-case is non-nil. Don't use
8746 case-fold-search for this purpose. (Bug#11827)
8747
8748 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8749
8750 * calendar/cal-dst.el (calendar-current-time-zone):
8751 Return calendar-current-time-zone-cache if non-nil.
8752
8753 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8754 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8755
8756 * calendar/cal-dst.el (calendar-current-time-zone):
8757 Return calendar-current-time-zone-cache if non-nil.
8758
8759 2012-07-06 Glenn Morris <rgm@gnu.org>
8760
8761 * Makefile.in (cvs-update): Remove old alias.
8762
8763 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8764
8765 Sync with Tramp 2.2.6-pre.
8766
8767 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8768 compatible declaration.
8769
8770 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8771 Protect `list-load-path-shadows' call.
8772
8773 * net/tramp-compat.el (top): Require packages, which aren't
8774 autoloaded anymore for XEmacs. Protect call of
8775 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8776 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8777 it hurts at least for SXEmacs.
8778 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8779 standard-value for `temporary-file-directory'.
8780
8781 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8782 Redirect stderr to /dev/null.
8783 (tramp-sh-handle-write-region): uid and gid can be floats.
8784 Reported by Russell Sim <russell.sim@gmail.com>.
8785 (tramp-sh-handle-vc-registered): Hide errors.
8786 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8787 and `start-file-process'.
8788 (tramp-maybe-open-connection): Check also whether `non-essential'
8789 is bound.
8790
8791 2012-07-04 Chong Yidong <cyd@gnu.org>
8792
8793 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8794 (xml-parse-tag): Likewise, and avoid changing entity tables.
8795 (xml-syntax-table): Define from scratch, making sure not to give
8796 x2000 and other Unicode spaces whitespace syntax, since those are
8797 not spaces in XML.
8798 (xml-parse-fragment): Delete unused function.
8799 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8800 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8801 (xml-entity-ref, xml-pe-reference-re)
8802 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8803 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8804 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8805 (xml-entity-value-re): Use syntax references in regexps where
8806 possible; no need to define inside a let-binding.
8807 (xml-parse-dtd): Use xml-pe-reference-re.
8808 (xml-entity-or-char-ref-re): New defconst.
8809 (xml-parse-string, xml-substitute-special): Use it.
8810
8811 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8814 (find-file--read-only): New function.
8815 (find-file-read-only, find-file-read-only-other-window)
8816 (find-file-read-only-other-frame): Use it.
8817 (insert-file-contents-literally): Don't `fset'.
8818 (get-free-disk-space): Use locate-dominating-file.
8819
8820 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8821 function is already compiled.
8822
8823 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8824
8825 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8826
8827 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8828 files on the same host.
8829
8830 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8831
8832 * help-fns.el (describe-function-1): Only call
8833 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8834
8835 2012-07-03 Chong Yidong <cyd@gnu.org>
8836
8837 * xml.el: Protect parser against XML bombs.
8838 (xml-entity-expansion-limit): New variable.
8839 (xml-parse-string, xml-substitute-special): Use it.
8840 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8841
8842 2012-07-03 Glenn Morris <rgm@gnu.org>
8843
8844 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8845 Allow linking to specific messages in debbugs reports (eg 123#5).
8846
8847 2012-07-02 Chong Yidong <cyd@gnu.org>
8848
8849 * xml.el: Fix entity and character reference expansion, allowing
8850 them to expand into markup as per XML spec.
8851 (xml-default-ns): New variable.
8852 (xml-entity-alist): Use XML spec definitions for lt and amp.
8853 (xml-parse-region): Make first two arguments optional.
8854 Discard text properties.
8855 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8856 All callers changed.
8857 (xml-parse-tag): Call xml-parse-tag-1. For backward
8858 compatibility, this function should not modify buffer contents.
8859 (xml-parse-tag-1): Fix opening-tag regexp.
8860 (xml-parse-string): Rewrite, handling entity and character
8861 references properly.
8862 (xml--entity-replacement-text): Signal an error if a parameter
8863 entity is undefined.
8864
8865 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * comint.el (comint-output-filter): Filter out repeated prompts.
8868
8869 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8870 and file-name-absolute-p.
8871 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8872 internal calls.
8873
8874 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8875
8876 Spelling fixes.
8877 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8878 Rename from byte-compile--refiy-function. All uses changed.
8879
8880 2012-07-01 Chong Yidong <cyd@gnu.org>
8881
8882 * xml.el (xml--parse-buffer): New function. Move most of
8883 xml-parse-region here.
8884 (xml-parse-region): Copy region into a temporary buffer, since
8885 parameter entity substitution requires changing buffer contents.
8886 Use xml--parse-buffer.
8887 (xml-parse-file): Use xml--parse-buffer.
8888 (xml-parse-dtd): Make parameter entity substitution work right.
8889 Use proper regexps for ELEMENT declarations (Bug#7172).
8890
8891 2012-06-30 Glenn Morris <rgm@gnu.org>
8892
8893 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8894
8895 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8896 Remove outdated and unnecessary dbus declarations.
8897
8898 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8899
8900 * emacs-lisp/timer.el (timer-until): Subtract results of
8901 float-time, instead of taking float-time of the result of
8902 time-subtract, since float-time signals an error for negative time
8903 arguments.
8904
8905 2012-06-30 Chong Yidong <cyd@gnu.org>
8906
8907 * xml.el (xml-*-re): Convert defvars into defconsts, and
8908 eval-and-compile them so eval-and-compile works on derivatives.
8909 (xml--entity-replacement-text): Use eval-and-comple.
8910
8911 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8912
8913 * vc/vc-git.el (vc-git-registered): Use cache property
8914 `git-registered'.
8915 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8916 `vc-git-working-revision' in order to benefit from the cache.
8917 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8918
8919 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8920
8921 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8922 removed (likely outside Emacs). (Bug#11757)
8923
8924 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * emacs-lisp/cl-lib.el: Require macroexp.
8927
8928 2012-06-30 Chong Yidong <cyd@gnu.org>
8929
8930 * xml.el: Implement XML parameter entities.
8931 (xml-parameter-entity-alist): New variable.
8932 (xml-parse-region, xml-parse-fragment): Preserve previous values
8933 of xml-entity-alist and xml-parameter-entity-alist, so that
8934 repeated calls on different documents do not change them.
8935 (xml-parse-tag): Fix doctype regexp.
8936 (xml--entity-replacement-text): New function.
8937 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8938 properly requires url retrieval which is unimplemented.
8939 (xml-escape-string): Doc fix.
8940
8941 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8942
8943 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8944
8945 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8946
8947 * fringe.el (fringe-mode): Doc fix.
8948
8949 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8950
8951 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8952 is non-nil.
8953 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8954 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8955
8956 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8957
8958 * calendar/cal-dst.el (calendar-current-time-zone):
8959 Return calendar-current-time-zone-cache if non-nil.
8960
8961 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8962
8963 * progmodes/which-func.el (which-func-format):
8964 Add mouse-face. (Bug#11698)
8965
8966 2012-06-29 Leo Liu <sdl.web@gmail.com>
8967
8968 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8969
8970 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8971
8972 * minibuffer.el (minibuffer-confirm-exit-commands):
8973 Add completion-at-point (bug#11725).
8974
8975 2012-06-29 Glenn Morris <rgm@gnu.org>
8976
8977 * progmodes/f90.el (f90-font-lock-keywords-2):
8978 Add some preprocessor elements. (Bug#10499)
8979
8980 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8983 Use syntax-propertize (bug#11739).
8984
8985 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8986
8987 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8988
8989 2012-06-28 Julien Danjou <julien@danjou.info>
8990
8991 * term.el (term-handle-colors-array): Use a set of new faces to
8992 color the terminal. Also uses :inverse-video property.
8993 (term-default-fg-color): Set to nil by default, deprecate in favor
8994 of `term-face'.
8995 (term-default-bg-color): Set to nil by default, deprecate in favor
8996 of `term-face'.
8997 (term-current-face): Use `term-face' by default.
8998 (term-bold-attribute): Variable deleted.
8999
9000 2012-06-28 Glenn Morris <rgm@gnu.org>
9001
9002 * simple.el (completion-list-mode-finish):
9003 Don't use toggle-read-only. (Since completion-list-mode has
9004 a special mode-class, it wasn't doing anything extra anyway.)
9005
9006 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9007
9008 Make inlining of other-mode interpreted functions work (bug#11799).
9009 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9010 (byte-compile): Use it to fix compilation of lexical-binding closures.
9011 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9012 function, if needed.
9013
9014 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9015
9016 * help-mode.el (help-make-xrefs): Don't just withstand
9017 cyclic-variable-indirection but any error in documentation-property.
9018
9019 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9020 memory use.
9021 * bindings.el (bindings--define-key): New function.
9022 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9023 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9024 * bindings.el: Use it to purecopy define-key bindings.
9025
9026 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9027
9028 * emacs-lisp/cl.el (flet): Mark obsolete.
9029 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9030 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9031 * progmodes/js.el (js-c-fill-paragraph):
9032 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9033 (ebrowse-switch-member-buffer-to-derived-class):
9034 * play/5x5.el (5x5-solver): Use cl-flet.
9035
9036 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9037 (cl--symbol-function): New macro.
9038 (cl--letf, cl--letf*): Use it.
9039
9040 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9041 Strip "toggle-" if any.
9042
9043 2012-06-27 Glenn Morris <rgm@gnu.org>
9044
9045 * info.el (Info-default-directory-list): Move here from paths.el.
9046 * paths.el: Remove file, which is now empty.
9047 * loadup.el: No longer load "paths".
9048
9049 * custom.el (custom-initialize-delay): Doc fix.
9050
9051 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9052 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9053 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9054 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9055 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9056 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9057 * eshell/eshell.el (eshell-defgroup): Remove alias.
9058
9059 2012-06-27 Chong Yidong <cyd@gnu.org>
9060
9061 * help.el (help-enable-auto-load): New variable.
9062
9063 * help-fns.el (help-fns--autoloaded-p): New function.
9064 (describe-function-1): Refer to a function as "autoloaded" if it
9065 was autoloaded at any time in the past. Perform autoloading if
9066 help-enable-auto-load is non-nil.
9067
9068 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9069
9070 * makefile.w32-in (compile, compile-always): Depend on
9071 update-subdirs, not on subdirs.el. Otherwise, several different
9072 sub-targets of 'bootstrap' running in parallel could
9073 simultaneously write to subdirs.el, producing a garbled file.
9074
9075 2012-06-26 Sam Steingold <sds@gnu.org>
9076
9077 * files.el (file-name-base): New convenience function.
9078 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9079 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9080 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9081 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9082 * textmodes/ispell.el, textmodes/reftex-ref.el:
9083 * textmodes/tex-mode.el: Use it.
9084 Did not touch cedet and org because they are maintained elsewhere.
9085
9086 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9087
9088 * calendar/calendar.el (calendar-exit): Don't try to delete or
9089 iconify last frame. See:
9090 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9091
9092 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9093
9094 * server.el (server-process-filter): Remember dir in the
9095 process's `server-client-directory' properties.
9096
9097 2012-06-24 Chong Yidong <cyd@gnu.org>
9098
9099 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9100 non-tag text.
9101
9102 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9103
9104 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9105
9106 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9107
9108 * help-fns.el (describe-variable): Don't croak when doc is not found.
9109 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9110 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9111 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9112 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9113 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9114 ((lambda ..) ..).
9115 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9116
9117 2012-06-23 Chong Yidong <cyd@gnu.org>
9118
9119 * info.el (Info-mouse-follow-link): Accept symbol values of
9120 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9121 (Info-fontify-node): Use Info-link-keymap for all navigation
9122 buttons, with link-args property to perform the desired action.
9123 (Info-link-keymap): Doc fix.
9124 (Info-next-link-keymap, Info-prev-link-keymap)
9125 (Info-up-link-keymap): Delete now-unused keymaps.
9126
9127 2012-06-23 Chong Yidong <cyd@gnu.org>
9128
9129 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9130
9131 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9132 system abbrevs.
9133
9134 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9135
9136 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9137
9138 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9139 (bug#11719).
9140
9141 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9142 the requote function doesn't work properly (bug#11714).
9143
9144 2012-06-23 Glenn Morris <rgm@gnu.org>
9145
9146 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9147
9148 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9149
9150 Further GV/CL cleanups.
9151 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9152 gv-expander.
9153 (gv--defun-declaration): New function.
9154 (defun-declarations-alist): Use it.
9155 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9156 (gv-place): Autoload.
9157 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9158 original definition of dotimes and dolist.
9159 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9160 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9161 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9162 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9163 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9164 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9165 to the function's definition.
9166 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9167 * window.el:
9168 * files.el:
9169 * faces.el:
9170 * env.el: Don't use CL.
9171
9172 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9173
9174 Support higher-resolution time stamps (Bug#9000).
9175
9176 * calendar/time-date.el (with-decoded-time-value): New arg
9177 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9178 (encode-time-value): New optional arg PICO. New type 3.
9179 (time-to-seconds) [!float-time]: Support the new picoseconds
9180 component if it's used.
9181 (seconds-to-time, time-subtract, time-add):
9182 Support ps-resolution time stamps as well.
9183
9184 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9185 (timerp): Timer vectors now have length 9, not 8.
9186 (timer--time): Support new-style (4-part) time stamps.
9187 (timer-next-integral-multiple-of-time): Time stamps now have
9188 picosecond resolution, so take a bit more care about rounding.
9189 (timer-relative-time, timer-inc-time): New optional arg psecs.
9190 (timer-set-time-with-usecs): Set psecs to 0.
9191 (timer--activate): Check psecs component, too.
9192
9193 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9194
9195 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9198 Move the non-essential binding to the post/pre-command-hook where it is
9199 more obviously correct.
9200
9201 * subr.el (read-passwd): Don't use a history at all.
9202 * savehist.el (savehist-save): Remove password saved accidentally
9203 because of the above bug.
9204
9205 2012-06-22 Bastien Guerry <bzg@gnu.org>
9206
9207 * files.el (toggle-read-only): Display a message telling whether
9208 the buffer is read-only or not (bug#11726).
9209
9210 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9211
9212 * emacs-lisp/gv.el: New file.
9213 * subr.el (push, pop): Extend to generalized variables.
9214 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9215 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9216 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9217 gv-define-simple-setter, and gv-define-expander.
9218 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9219 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9220 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9221 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9222 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9223 gv-letplace.
9224 (cl-defstruct): Don't define setf-method any more.
9225 * emacs-lisp/cl.el (flet): Don't autoload.
9226 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9227 (define-setf-expander, defsetf, define-modify-macro)
9228 (cl-struct-setf-expander): Move from cl-lib.el.
9229 * emacs-lisp/syntax.el:
9230 * emacs-lisp/ewoc.el:
9231 * emacs-lisp/smie.el:
9232 * emacs-lisp/cconv.el:
9233 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9234 (timer--time): Use gv-define-simple-setter.
9235 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9236 to avoid coding-system problems in subr.el. Adjust all users.
9237 (macroexp--maxsize, macroexp-small-p): New functions.
9238 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9239 * scroll-bar.el (scroll-bar-mode):
9240 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9241 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9242 * winner.el (winner-configuration, winner-make-point-alist)
9243 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9244 * files.el (locate-file-completion-table): Avoid list*.
9245
9246 2012-06-22 Chong Yidong <cyd@gnu.org>
9247
9248 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9249 (dired-create-files): Doc fix (Bug#11329).
9250 (dired-do-copy): Doc fix (Bug#11334).
9251 (dired-mark-read-string): Doc fix (Bug#11553).
9252
9253 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9254 Doc fix (Bug#11326).
9255 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9256 (dired-dwim-target): Doc fix.
9257
9258 * wdired.el (wdired-mode): Doc fix.
9259
9260 2012-06-22 Glenn Morris <rgm@gnu.org>
9261
9262 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9263 (pcmpl-rpm-cache-stamp-file): New constant.
9264 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9265 (pcmpl-rpm-packages): Optionally cache list of packages.
9266
9267 * pcmpl-rpm.el (pcmpl-rpm): New group.
9268 (pcmpl-rpm-query-options): New option.
9269 (pcmpl-rpm-packages): No need to inline it.
9270 Use pcmpl-rpm-query-options.
9271
9272 * calendar/calendar.el (calendar-in-read-only-buffer):
9273 Avoid some needless mode changes.
9274
9275 2012-06-21 Chong Yidong <cyd@gnu.org>
9276
9277 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9278 (desktop-path): Remove . from the default value (Bug#10977).
9279 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9280
9281 2012-06-20 Chong Yidong <cyd@gnu.org>
9282
9283 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9284
9285 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9286
9287 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9288 (bug#11201).
9289
9290 2012-06-20 Chong Yidong <cyd@gnu.org>
9291
9292 * term.el (term-window-width): Handle the case of a missing right
9293 fringe (Bug#8837).
9294 (term-check-size): Use window-text-height (Bug#5445).
9295 (term-mode): Use define-derived-mode. Minor cleanups.
9296 Set font-lock-defaults (Bug#7692).
9297 (term-move-columns, term-insert-char, term-emulate-terminal)
9298 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9299
9300 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9301
9302 * net/ange-ftp.el (ange-ftp-get-passwd):
9303 Bind `enable-recursive-minibuffers'.
9304 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9305
9306 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9307
9308 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9309
9310 2012-06-19 Glenn Morris <rgm@gnu.org>
9311
9312 * progmodes/python.el (python-mode): Derive from prog-mode.
9313
9314 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9315
9316 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9317 (edt-user-menu-bar-update-buffers): New functions.
9318 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9319
9320 2012-06-19 Chong Yidong <cyd@gnu.org>
9321
9322 * subr.el (with-selected-window): Preserve the selected window's
9323 terminal's top-frame (Bug#4702).
9324
9325 * window.el (save-selected-window): Likewise.
9326
9327 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9328
9329 * progmodes/python.el (python-rx-constituents): Move backquote.
9330 (python-skeleton-define, python-define-auxiliary-skeleton):
9331 Use `declare'.
9332
9333 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9334
9335 * minibuffer.el (read-file-name-default): Revert the patch from
9336 2012-06-17.
9337
9338 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9339
9340 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9341 (pcase--u1, pcase--q1): Don't use apply-partially.
9342
9343 2012-06-18 Glenn Morris <rgm@gnu.org>
9344
9345 * progmodes/python.el (python-proc, python-buffer)
9346 (python-send-receive, python-send-string): Fix obsolete versions.
9347
9348 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9349
9350 * window.el (special-display-p): Completely remove stringp
9351 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9352
9353 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9354
9355 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9356
9357 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9358
9359 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9360 * net/tramp-sh.el (tramp-maybe-open-connection):
9361 Throw if `non-essential' is non-nil.
9362
9363 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9364
9365 * window.el (special-display-p): Signal an error if BUFFER-NAME
9366 is not a string (Bug#11713).
9367
9368 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9369
9370 * progmodes/python.el (python-info-beginning-of-backslash):
9371 Rename from python-info-beginning-of-backlash, as a spelling fix.
9372
9373 2012-06-17 Chong Yidong <cyd@gnu.org>
9374
9375 * term.el (term-emulate-terminal): If term-check-size is called,
9376 move point to the process mark without resetting point (Bug#4635).
9377
9378 2012-06-17 Glenn Morris <rgm@gnu.org>
9379
9380 * international/mule-cmds.el (mule-menu-keymap)
9381 (set-language-environment, set-locale-environment): Doc tweaks.
9382
9383 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9384
9385 * cus-face.el (custom-face-attributes): Add wave-style underline
9386 attribute.
9387 * faces.el (set-face-attribute): Update docstring to describe
9388 wave-style underline attribute.
9389
9390 2012-06-16 Chong Yidong <cyd@gnu.org>
9391
9392 * term/xterm.el (terminal-init-xterm): Discard input before
9393 querying background mode (Bug#10959).
9394
9395 2012-06-16 Stefan Merten <smerten@oekonux.de>
9396
9397 * textmodes/rst.el: Added and corrected some comments.
9398 (rst-re-alist-def): Improve symbol syntax.
9399 (rst-mode-syntax-table): Correct syntax entries.
9400 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9401 (rst-official-version, rst-official-cvs-rev): Update version
9402 information.
9403
9404 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9405
9406 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9407 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9408
9409 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9410
9411 * progmodes/python.el: New python.el merge.
9412 (python-guess-indent): Obsolete var.
9413 (python-indent-guess-indent-offset): New defcustom.
9414 (python-indent): Obsolete var.
9415 (python-indent-offset): New defcustom.
9416 (python-python-command, python-jython-command): Delete var.
9417 (python-shell-interpreter): New defcustom.
9418 (python-pdbtrack-do-tracking-p): Delete var.
9419 (python-pdbtrack-activate): New defcustom.
9420 (python-use-skeletons): Obsolete var.
9421 (python-skeleton-autoinsert): New defcustom.
9422 (inferior-python-filter-regexp, python-continuation-offset)
9423 (python-honour-comment-indentation, python-indent-string-contents)
9424 (python-jython-packages, python-mode-hook)
9425 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9426 (python-shell-prompt-alist)
9427 (python-source-modes): Delete defcustoms.
9428 (python-check-buffer-name, python-eldoc-setup-code)
9429 (python-eldoc-string-code, python-ffap-setup-code)
9430 (python-ffap-string-code, python-fill-comment-function)
9431 (python-fill-decorator-function, python-fill-paren-function)
9432 (python-fill-string-function, python-imenu-include-defun-type)
9433 (python-imenu-make-tree, python-imenu-subtree-root-label)
9434 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9435 (python-shell-compilation-regexp-alist)
9436 (python-shell-completion-module-string-code)
9437 (python-shell-completion-pdb-string-code)
9438 (python-shell-completion-setup-code)
9439 (python-shell-completion-string-code)
9440 (python-shell-enable-font-lock, python-shell-exec-path)
9441 (python-shell-extra-pythonpaths)
9442 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9443 (python-shell-process-environment)
9444 (python-shell-prompt-block-regexp)
9445 (python-shell-prompt-output-regexp)
9446 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9447 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9448 (python-shell-virtualenv-path): New defcustoms.
9449 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9450 (inferior-python-mode-syntax-table, python--prompt-regexp)
9451 (python-buffer, python-command python-python-command)
9452 (python-default-template, python-imports, python-indent-index)
9453 (python-indent-list, python-indent-list-length)
9454 (python-mode-running, python-pdbtrack-is-tracking-p)
9455 (python-preoutput-continuation, python-preoutput-leftover)
9456 (python-preoutput-result, python-preoutput-skip-next-prompt)
9457 (python-prev-dir/file, python-recursing)
9458 (python-saved-check-command, python-version-checked)
9459 (python-which-func-length-limit)
9460 (view-return-to-alist): Delete vars.
9461 (python-check-custom-command, python-dotty-syntax-table)
9462 (python-imenu-index-alist, python-indent-current-level)
9463 (python-indent-dedenters, python-indent-levels)
9464 (python-nav-beginning-of-defun-regexp)
9465 (python-nav-list-defun-positions-cache)
9466 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9467 (python-shell-internal-buffer)
9468 (python-skeleton-available): New vars.
9469 (def-python-skeleton): Delete macro.
9470 (python-skeleton-define): New macro.
9471 (python-define-auxiliary-skeleton, python-rx): New macros.
9472 (python-insert-class): Delete command.
9473 (python-skeleton-class): New command.
9474 (python-insert-def): Delete command.
9475 (python-skeleton-def): New command.
9476 (python-insert-for): Delete command.
9477 (python-skeleton-for): New command.
9478 (python-insert-if): Delete command.
9479 (python-skeleton-if): New command.
9480 (python-insert-try/except, python-insert-try/finally): Delete commands.
9481 (python-skeleton-try): New command.
9482 (python-insert-while): Delete command.
9483 (python-skeleton-while): New command.
9484 (python-backspace): Delete command.
9485 (python-indent-dedent-line-backspace): New command.
9486 (python-electric-colon): Delete command.
9487 (python-indent-electric-colon): New command.
9488 (python-guess-indent): Delete command.
9489 (python-indent-guess-indent-offset): New command.
9490 (python-shift-left): Delete command.
9491 (python-indent-shift-left): New command.
9492 (python-shift-right): Delete command.
9493 (python-indent-shift-right): New command.
9494 (python-find-function): Delete command.
9495 (python-nav-jump-to-defun): New command.
9496 (python-next-statement): Delete command.
9497 (python-nav-forward-sentence): New command.
9498 (python-previous-statement): Delete command.
9499 (python-nav-backward-sentence): New command.
9500 (python-fill-paragraph): Delete command.
9501 (python-fill-paragraph-function): New command.
9502 (python-send-buffer): Delete command.
9503 (python-shell-send-buffer): New command.
9504 (python-send-defun): Delete command.
9505 (python-shell-send-defun): New command.
9506 (python-send-region, python-send-region-and-go): Delete commands.
9507 (python-shell-send-region)
9508 (python-shell-switch-to-shell): New commands.
9509 (python-send-string): Delete command.
9510 (python-shell-send-string): New command.
9511 (python-switch-to-python): Delete command.
9512 (python-shell-switch-to-shell): New command.
9513 (python-describe-symbol): Delete command.
9514 (python-eldoc-at-point): New command.
9515 (python--set-prompt-regexp, python-args-to-list)
9516 (python-after-info-look, python-check-version)
9517 (python-check-comint-prompt, python-find-imports)
9518 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9519 (python-unload-function, python-expand-template)
9520 (python-maybe-jython, python-preoutput-filter)
9521 (python-pdbtrack-get-source-buffer)
9522 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9523 (python-pdbtrack-toggle-stack-tracking)
9524 (python-pdbtrack-track-stack-file, python-initial-text)
9525 (python-first-word, python-comment-line-p, python-send-command)
9526 (python-setup-brm, python-sentinel, python-set-proc)
9527 (python-skip-out, python-input-filter, python-outdent-p)
9528 (python-outline-level, python-backslash-continuation-line-p)
9529 (python-end-of-block, python-end-of-statement, python-mark-block)
9530 (python-beginning-of-block, python-beginning-of-statement)
9531 (python-blank-line-p, python-beginning-of-string)
9532 (python-open-block-statement-p): Delete functions.
9533 (python-indent-line, python-indent-line-1): Delete functions.
9534 (python-indent-line): New function.
9535 (python-indentation-levels): Delete function.
9536 (python-indent-calculate-levels): New function.
9537 (python-proc): Delete function.
9538 (python-shell-get-process): New function.
9539 (python-send-receive): Delete function.
9540 (python-shell-send-string-no-output): New function.
9541 (python-module-path): Delete function.
9542 (python-ffap-module-path): New function.
9543 (python-completion-at-point)
9544 (python-symbol-completions): Delete functions.
9545 (python-completion-complete-at-point): New function.
9546 (python-load-file): Delete function.
9547 (python-shell-send-file): New function.
9548 (python-calculate-indentation): Delete function.
9549 (python-indent-calculate-indentation): New function.
9550 (python-skip-comments/blanks): Delete function.
9551 (python-util-forward-comment): New function.
9552 (python-continuation-line-p): Delete function.
9553 (python-info-continuation-line-p): New function.
9554 (python-which-func, python-current-defun): Delete function.
9555 (python-info-current-defun): New function.
9556 (python-beginning-of-defun): Delete function.
9557 (python-nav-beginning-of-defun): New function.
9558 (python-close-block-statement-p)
9559 (python-block-end-p): Delete function.
9560 (python-info-closing-block): New function.
9561 (python-comint-output-filter-function)
9562 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9563 (python-fill-comment, python-fill-decorator, python-fill-paren)
9564 (python-fill-string, python-imenu-make-element-tree)
9565 (python-imenu-make-tree, python-imenu-tree-assoc)
9566 (python-indent-context, python-indent-dedent-line)
9567 (python-indent-line-function)
9568 (python-indent-post-self-insert-function)
9569 (python-indent-toggle-levels)
9570 (python-info-assignment-continuation-line-p)
9571 (python-info-beginning-of-backlash)
9572 (python-info-block-continuation-line-p)
9573 (python-info-closing-block-message)
9574 (python-info-line-ends-backslash-p)
9575 (python-info-looking-at-beginning-of-defun)
9576 (python-info-ppss-context, python-info-ppss-context-type)
9577 (python-nav-list-defun-positions, python-nav-read-defun)
9578 (python-nav-sentence-end, python-nav-sentence-start)
9579 (python-pdbtrack-comint-output-filter-function)
9580 (python-pdbtrack-set-tracked-buffer)
9581 (python-shell-calculate-exec-path)
9582 (python-shell-calculate-process-environment)
9583 (python-shell-completion--do-completion-at-point)
9584 (python-shell-completion--get-completions)
9585 (python-shell-completion-complete-at-point)
9586 (python-shell-completion-complete-or-indent)
9587 (python-shell-get-or-create-process)
9588 (python-shell-get-process-name)
9589 (python-shell-internal-get-or-create-process)
9590 (python-shell-internal-get-process-name)
9591 (python-shell-internal-send-string, python-shell-make-comint)
9592 (python-shell-parse-command, python-shell-send-setup-code)
9593 (python-skeleton-add-menu-items)
9594 (python-util-clone-local-variables, python-util-position)
9595 (run-python-internal, python-indentation-levels)
9596 (python-nav-beginning-of-defun)
9597 (python-completion-complete-at-point): New functions.
9598 (run-python): Change arguments. New API requirements.
9599
9600 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9603 (bug#11649).
9604
9605 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9606 (macroexp--expand-all): Use it.
9607
9608 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9609 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9610 Use `cl-function' instead.
9611
9612 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9613
9614 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9615 Suggested by Stefan Monnier while discussing bug#11657.
9616
9617 2012-06-14 Sam Steingold <sds@gnu.org>
9618
9619 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9620
9621 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9622
9623 * play/doctor.el (doctor-doc): Remove parameter and use
9624 doctor-sent instead of sent.
9625 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9626
9627 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9628
9629 * files.el: Require cl-lib.
9630 (file-name-non-special): Replace case -> cl-case.
9631
9632 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9633
9634 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9635 mapping from #' to function*.
9636
9637 2012-06-13 Chong Yidong <cyd@gnu.org>
9638
9639 * mouse.el (mouse-drag-track): Do not set the mark if the user
9640 releases the mouse without selecting anything (Bug#11588).
9641
9642 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9643
9644 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9645 as well (bug#11646).
9646
9647 * loadup.el: Count byte-code functions as well.
9648
9649 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9650 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9651
9652 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9653 (bug#11649). Add cl-defun and cl-defmacro.
9654
9655 2012-06-13 Drew Adams <drew.adams@oracle.com>
9656
9657 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9658 Fix last change.
9659
9660 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9661
9662 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9663 Otherwise, it blocks in batch mode.
9664
9665 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9666
9667 * help-mode.el (bookmark-make-record-default): Declare.
9668
9669 2012-06-13 Chong Yidong <cyd@gnu.org>
9670
9671 * emacs-lisp/package.el (list-packages): Compute a list of
9672 packages that are newly-available since the last list-packages
9673 invocation.
9674 (package-menu--new-package-list): New var.
9675 (package-menu--generate, package-menu--print-info)
9676 (package-menu--status-predicate, package-menu-mark-install):
9677 Handle new status label "new".
9678
9679 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9680
9681 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9682 conversion to backquotes.
9683
9684 2012-06-12 Chong Yidong <cyd@gnu.org>
9685
9686 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9687 Rename from gud-inhibit-global-bindings.
9688
9689 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9690
9691 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9692 hook from nxml-glyph-set-hook.
9693
9694 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9695 declaration.
9696
9697 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9698
9699 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9700 Convert to defcustom.
9701
9702 2012-06-12 Drew Adams <drew.adams@oracle.com>
9703
9704 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9705 New functions.
9706 (help-mode): Use them.
9707
9708 2012-06-11 Glenn Morris <rgm@gnu.org>
9709
9710 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9711 Use preprocessor face for directives.
9712 (fortran-directive-re): Doc fix.
9713
9714 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9715
9716 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9717 conversion to backquotes (bug#11652).
9718
9719 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9720 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9721 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9722 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9723 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9724 (cl-ninth, cl-tenth): Mark them as inlinable.
9725 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9726 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9727 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9728 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9729 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9730 (cl-list*, cl-adjoin): Don't put an autoload manually.
9731 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9732 (cl--compiler-macro-list*): Add autoload cookie.
9733 (cl--compiler-macro-cXXr): New function.
9734
9735 * help-fns.el (help-fns--compiler-macro): New function extracted from
9736 describe-function-1; follow aliases and use `compiler-macro' property.
9737 (describe-function-1): Use it.
9738
9739 2012-06-11 Chong Yidong <cyd@gnu.org>
9740
9741 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9742 is uninstalled, if imagemagick is installed.
9743
9744 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9745
9746 * emacs-lisp/cl-lib.el: Use lexical-binding.
9747 (cl-map-extents, cl-maclisp-member): Remove.
9748 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9749 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9750 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9751 * emacs-lisp/cl-extra.el: Use lexical-binding.
9752 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9753 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9754 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9755 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9756 * emacs-lisp/cl-seq.el: Use lexical-binding.
9757 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9758 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9759 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9760 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9761 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9762 CL's internals.
9763
9764 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9765
9766 Sync with Tramp 2.2.6-pre.
9767
9768 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9769 `print-length' and `print-level' to nil, in order to avoid
9770 truncation. Reported by Christopher Schmidt
9771 <christopher@ristopher.com>.
9772
9773 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9774
9775 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9776 New defmacro.
9777 (tramp-compat-copy-directory): Add optional argument
9778 COPY-CONTENTS. It is not handled yet.
9779
9780 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9781 (tramp-ftp-file-name-p): Simplify.
9782
9783 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9784 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9785 connection vector.
9786
9787 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9788 (tramp-methods): Do not use `tramp-password-end-of-line'.
9789 (tramp-completion-function-alist-putty): Handle UNIX case.
9790 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9791 (tramp-do-file-attributes-with-stat)
9792 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9793 gid as real numbers. They could run out of integer range on cygwin.
9794 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9795 (tramp-sh-handle-expand-file-name): Handle hops.
9796 (tramp-open-connection-setup-interactive-shell):
9797 Use `tramp-cleanup'. Move check for busyboxes ...
9798 (tramp-find-shell): ... here. Simplify implementation.
9799 Set "remote-shell" property also for alternative shells.
9800 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9801 If failing, a regular file would be written otherwise.
9802 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9803 (tramp-find-inline-encoding): Cache the coding commands in the
9804 process cache. Apply test command on the remote side, if defined.
9805 (tramp-find-inline-compress): Cache the compress commands in the
9806 process cache.
9807 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9808 when requested. Handle hops.
9809 (tramp-current-connection): New defvar.
9810 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9811 Throw `suppress', if there was a failed connection shortly before.
9812 Handle user interrupt. (Bug#10187)
9813 (tramp-get-inline-compress, tramp-get-inline-coding):
9814 Read connection properties from the process cache.
9815
9816 * net/tramp-smb.el (tramp-smb-server-version)
9817 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9818 New defconsts.
9819 (tramp-smb-prompt): Extend for powershell prompt.
9820 (tramp-smb-file-name-handler-alist): Add handlers for
9821 `process-file', `shell-command' and `start-file-process'.
9822 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9823 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9824 (tramp-smb-file-name-p): Simplify.
9825 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9826 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9827 (tramp-smb-shell-quote-argument): New defuns.
9828 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9829 Implement using "tar". By this, time-stamps are preserved.
9830 (tramp-smb-handle-copy-file): Handle also the case of directories.
9831 (tramp-smb-do-file-attributes-with-stat)
9832 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9833 Use `tramp-get-connection-buffer').
9834 (tramp-smb-handle-rename-file): Use "rename", when source and
9835 target are on the same share.
9836 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9837 Use `tramp-smb-server-version'.
9838 (tramp-smb-wait-for-output): Remove prompt.
9839
9840 * net/tramp.el (top): Require 'cl.
9841 (tramp-methods, tramp-rsh-end-of-line):
9842 Remove `tramp-password-end-of-line' from docstring.
9843 (tramp-save-ad-hoc-proxies): New defcustom.
9844 (tramp-completion-function-alist): Adapt docstring.
9845 (tramp-default-password-end-of-line): Remove defcustom.
9846 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9847 (tramp-user-regexp, tramp-file-name-regexp-unified)
9848 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9849 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9850 (tramp-remote-file-name-spec-regexp): New defconst.
9851 (tramp-file-name-structure): Extend structure for hops.
9852 (tramp-get-method-parameter): Move up.
9853 (tramp-file-name-p, tramp-dissect-file-name)
9854 (with-parsed-tramp-file-name): Handle hops.
9855 (tramp-file-name-hop): New defun.
9856 (tramp-make-tramp-file-name): New optional arg HOP.
9857 (tramp-message-show-progress-reporter-message): New defvar.
9858 (tramp-with-progress-reporter): Use it. We cannot use
9859 `tramp-message-show-message' here, because this suppresses also
9860 error buffers.
9861 (tramp-error-with-buffer): Suppress buffer view, if
9862 `tramp-message-show-message' is nil.
9863 Use `tramp-get-connection-buffer'.
9864 (tramp-cleanup): New defun.
9865 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9866 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9867 an error unchanged.
9868 (tramp-completion-handle-file-name-all-completions): Handle hops.
9869 Fix an error when called from ido.
9870 (tramp-completion-dissect-file-name): Use better local variable
9871 name. Add hop to the vector.
9872 (tramp-handle-insert-file-contents): Use progress-reporter for the
9873 whole scenario.
9874 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9875 to `t'.
9876 (tramp-check-for-regexp): Simplify search.
9877 (tramp-enter-password): Remove it. Move implementation ...
9878 (tramp-action-password): ... here.
9879 (tramp-mode-string-to-int, tramp-local-host-p)
9880 (tramp-make-tramp-temp-file, tramp-read-passwd)
9881 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9882 Set tramp-autoload cookie.
9883
9884 * net/trampver.el: Update release number.
9885
9886 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9887 Michael Albinus <michael.albinus@gmx.de>
9888
9889 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9890 (tramp-parse-group, tramp-parse-file)
9891 (tramp-parse-shostkeys-sknownhosts): New defuns.
9892 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9893 (tramp-parse-shosts-group, tramp-parse-sconfig)
9894 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9895 (tramp-parse-sknownhosts, tramp-parse-hosts)
9896 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9897 Use them.
9898 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9899 (tramp-parse-putty-group): Don't narrow.
9900 (tramp-parse-putty): Make a loop.
9901 (tramp-file-name-handler): Catch the `suppress' signal.
9902
9903 2012-06-11 Chong Yidong <cyd@gnu.org>
9904
9905 * image.el (imagemagick-register-types): Put the ImageMagick entry
9906 at the end of image-type-file-name-regexps.
9907
9908 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9909
9910 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9911 (pcase, pcase-let*, pcase-dolist): Use them.
9912
9913 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9914
9915 * emacs-lisp/pcase.el (pcase--let*): New function.
9916 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9917 (pcase--expand): Use macroexp-let².
9918
9919 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9920
9921 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9922 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9923 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9924 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9925 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9926 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9927
9928 2012-06-10 Glenn Morris <rgm@gnu.org>
9929
9930 * mail/rmail.el (rmail-yank-current-message): Leave point at
9931 correct position. (Bug#11660)
9932
9933 2012-06-10 Chong Yidong <cyd@gnu.org>
9934
9935 * allout-widgets.el: Fix code header.
9936
9937 2012-06-10 Chong Yidong <cyd@gnu.org>
9938
9939 * cus-edit.el (customize-changed-options-previous-release):
9940 Bump to 24.1.
9941
9942 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9943
9944 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9945
9946 2012-06-09 Chong Yidong <cyd@gnu.org>
9947
9948 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9949
9950 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9951
9952 * window.el (special-display-popup-frame): Don't use
9953 window--display-buffer (Bug#11651).
9954
9955 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9956
9957 Fix parallel builds: make sure loaddefs.el is not being written
9958 while Lisp files are compiled.
9959 (compile): Don't depend on 'mh-autoloads'.
9960 (compile-CMD, compile-SH): Depend on 'autoloads'.
9961 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9962
9963 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9964
9965 2012-06-09 Chong Yidong <cyd@gnu.org>
9966
9967 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9968 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9969 Doc fixes (Bug#11225).
9970
9971 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9972
9973 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9974 a function if there's a clear indication that it has a compiler-macro.
9975 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9976 (macro-declarations-alist): Add arglist to declaration functions.
9977 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9978 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9979 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9980 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9981 Also add autoload to find the compiler macro.
9982 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9983 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9984 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9985 (cl--compiler-macro-get): New functions, replacing calls to
9986 cl-define-compiler-macro.
9987 (cl-typep) [compiler-macro]: Use macroexp-let².
9988
9989 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9990
9991 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9992 string properly, fixes Bug#11473.
9993
9994 2012-06-08 Chong Yidong <cyd@gnu.org>
9995
9996 * faces.el (set-face-attribute): Doc fix.
9997 (modify-face): Don't use :bold and :italic.
9998 (error, warning, success): Tweak definitions.
9999
10000 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10001 (custom-modified, custom-set, custom-changed, custom-themed)
10002 (custom-saved, custom-button, custom-button-mouse)
10003 (custom-button-pressed, custom-state, custom-comment-tag)
10004 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10005 (custom-group-subtitle): Use new-style face specs.
10006 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10007 (custom-set-face, custom-changed-face, custom-saved-face)
10008 (custom-button-face, custom-button-pressed-face)
10009 (custom-documentation-face, custom-state-face)
10010 (custom-comment-face, custom-comment-tag-face)
10011 (custom-variable-tag-face, custom-variable-button-face)
10012 (custom-face-tag-face, custom-group-tag-face-1)
10013 (custom-group-tag-face): Remove obsolete face alias.
10014
10015 * epa.el (epa-validity-high, epa-validity-medium)
10016 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10017 (epa-field-name, epa-field-body):
10018 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10019 (font-lock-keyword-face, font-lock-builtin-face)
10020 (font-lock-function-name-face, font-lock-variable-name-face)
10021 (font-lock-type-face, font-lock-constant-face):
10022 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10023 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10024 * speedbar.el (speedbar-button-face, speedbar-file-face)
10025 (speedbar-directory-face, speedbar-tag-face)
10026 (speedbar-selected-face, speedbar-highlight-face)
10027 (speedbar-separator-face):
10028 * whitespace.el (whitespace-newline, whitespace-space)
10029 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10030 (whitespace-line, whitespace-space-before-tab)
10031 (whitespace-space-after-tab, whitespace-indentation)
10032 (whitespace-empty):
10033 * emulation/cua-base.el (cua-global-mark):
10034 * eshell/em-prompt.el (eshell-prompt):
10035 * net/newst-plainview.el (newsticker-new-item-face)
10036 (newsticker-old-item-face, newsticker-immortal-item-face)
10037 (newsticker-obsolete-item-face, newsticker-date-face)
10038 (newsticker-statistics-face, newsticker-default-face):
10039 * net/newst-reader.el (newsticker-feed-face)
10040 (newsticker-extra-face, newsticker-enclosure-face):
10041 * net/newst-treeview.el (newsticker-treeview-face)
10042 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10043 (newsticker-treeview-immortal-face)
10044 (newsticker-treeview-obsolete-face)
10045 (newsticker-treeview-selection-face):
10046 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10047 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10048 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10049 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10050 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10051 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10052 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10053 (mpuz-text):
10054 * progmodes/vera-mode.el (vera-font-lock-number)
10055 (vera-font-lock-function, vera-font-lock-interface):
10056 * textmodes/table.el (table-cell): Use new-style face specs, and
10057 don't use the old :bold and :italic attributes.
10058
10059 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10060 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10061 (ebrowse-member-class, ebrowse-progress): Likewise.
10062 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10063 (ebrowse-file-name-face, ebrowse-default-face)
10064 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10065 (ebrowse-progress-face): Remove obsolete faces.
10066
10067 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10068 Inherit from error and warning faces respectively.
10069
10070 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10071 Likewise.
10072 (flyspell-incorrect-face, flyspell-duplicate-face):
10073 Remove obsolete aliases.
10074
10075 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10076
10077 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10078 Avoid infloop.
10079
10080 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10081
10082 * startup.el (argv, argi): Make lexically scoped.
10083 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10084 * emacs-lisp/cl-macs.el: Use lexical-binding.
10085 Rename cl-bind-* to cl--bind-*.
10086 * files.el: Don't require `cl' since it doesn't use it.
10087 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10088
10089 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10090
10091 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10092 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10093 instead of calling external sort utility.
10094 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10095
10096 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10097
10098 * descr-text.el (describe-char): Mention how to insert the
10099 character, if the current input method doesn't support it.
10100 See the discussion in this thread for the details:
10101 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10102
10103 2012-06-08 Sam Steingold <sds@gnu.org>
10104
10105 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10106 XF86Back to previous-buffer.
10107 (minibuffer-local-map): Bind them to next-history-element and
10108 previous-history-element respectively.
10109 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10110 help-go-back respectively.
10111 * info.el (Info-mode-map): Bind them to Info-history-forward and
10112 Info-history-back respectively.
10113 These are the keys next to Up on the ThinkPad keyboard.
10114
10115 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10116
10117 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10118 * emacs-lisp/cl-macs.el: Provide itself.
10119 (cl--labels-convert-cache): New var.
10120 (cl--labels-convert): New function.
10121 (cl-flet, cl-labels): New implementation with new semantics, relying on
10122 lexical-binding.
10123 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10124 (cl-closure-vars, cl--function-convert-cache)
10125 (cl--function-convert): Move from cl-macs.el.
10126 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10127 rename by removing the "cl-" prefix.
10128 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10129
10130 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10131
10132 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10133 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10134 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10135 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10136 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10137 (cl-hash-table-count): Add old compatibility aliases.
10138
10139 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10140 Use macroexpand-all-environment instead.
10141 (cl--old-macroexpand): New var.
10142 (cl--sm-macroexpand): New function.
10143 (cl-symbol-macrolet): Use it during macro expansion.
10144 (cl--function-convert-cache): New var.
10145 (cl--function-convert): New function, extracted from
10146 cl-macroexpand-all.
10147 (cl-lexical-let): Use it.
10148
10149 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10150 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10151 (cl-member): Remove old alias.
10152
10153 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10154 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10155 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10156 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10157 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10158 (cl-macroexpand-cmacs): Remove var.
10159 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10160 Use macroexpand-all instead.
10161
10162 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10163
10164 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10165 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10166 (macroexp-copyable-p): New functions and macros.
10167 * emacs-lisp/edebug.el (edebug-unwrap):
10168 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10169 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10170 (pcase--let*): Remove.
10171 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10172 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10173 macroexp-const-p instead.
10174 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10175
10176 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10177 instead of "cl-" for internal definitions. Use macroexp-const-p.
10178 (cl-old-bc-file-form): Remove var.
10179 (cl-const-exprs-p): Remove fun.
10180 (cl-labels, cl-macrolet): Use backquote.
10181 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10182 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10183 (cl-define-setf-expander): Rename from cl-define-setf-method.
10184 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10185
10186 * international/mule-cmds.el: Don't require CL.
10187 (view-hello-file): Don't use `letf'.
10188
10189 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10190
10191 * tmm.el (tmm-prompt): Use string-prefix-p.
10192 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10193 (tmm-add-prompt): Use minibuffer-completion-help.
10194 (tmm-delete-map): Remove.
10195
10196 * subr.el (kbd): Make it its own function.
10197
10198 2012-06-07 Stefan Merten <smerten@oekonux.de>
10199
10200 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10201 Silence compiler warnings. Fix versions.
10202 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10203 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10204 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10205 (rst-package-emacs-version-alist): Correct Emacs version to
10206 represent major merge with upstream.
10207 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10208
10209 2012-06-06 Glenn Morris <rgm@gnu.org>
10210
10211 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10212 Only print environment variables if set.
10213
10214 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10215
10216 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10217 (macroexp--cons): Rename from maybe-cons.
10218 (macroexp--accumulate): Rename from macroexp-accumulate.
10219 (macroexp--all-forms): Rename from macroexpand-all-forms.
10220 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10221 (macroexp--expand-all): Rename from macroexpand-all-1.
10222
10223 2012-06-06 Sam Steingold <sds@gnu.org>
10224
10225 * calendar/calendar.el (calendar-in-read-only-buffer):
10226 Call `special-mode' to enable the standard read-only keybindings.
10227
10228 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10231 with "loading" messages (bug#11635).
10232
10233 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10234
10235 * files.el (enable-remote-dir-locals): New option.
10236 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10237
10238 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10239 Ensure, that the temp directory is local.
10240
10241 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10242 `temporary-file-directory'.
10243
10244 * progmodes/python.el (python-send-region): Ensure, that the
10245 temporary file is created also in the remote case.
10246
10247 2012-06-06 Glenn Morris <rgm@gnu.org>
10248
10249 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10250 (vc-rcs-update-changelog): Use it.
10251
10252 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10253
10254 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10255 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10256 (vc-sccs-diff): Replace use of the external vcdiff script.
10257
10258 2012-06-05 Glenn Morris <rgm@gnu.org>
10259
10260 * ledit.el: Move to obsolete/.
10261
10262 2012-06-05 Sam Steingold <sds@gnu.org>
10263
10264 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10265 patch (Bug#11140).
10266
10267 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10268
10269 * emacs-lisp/cust-print.el: Move to obsolete.
10270
10271 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10272 compiler-macro expansion.
10273
10274 Add native compiler-macro support.
10275 * emacs-lisp/macroexp.el (macroexpand-all-1):
10276 Support compiler-macros directly. Properly follow aliases and apply
10277 the compiler macros more thoroughly.
10278 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10279 macroexpand now properly follows aliases.
10280 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10281 (cl-compiler-macroexpand): Use new prop.
10282 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10283
10284 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10285
10286 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10287
10288 * window.el (get-lru-window, get-mru-window, get-largest-window):
10289 New argument NOT-SELECTED to avoid picking the selected window.
10290 (window--display-buffer-1, window--display-buffer-2): Replace by
10291 new function window--display-buffer
10292 (display-buffer-same-window, display-buffer-reuse-window)
10293 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10294 Use window--display-buffer.
10295 (display-buffer-use-some-window): Remove temporary dedication
10296 hack by calling get-lru-window and get-largest-window with
10297 NOT-SELECTED argument non-nil. Call window--display-buffer.
10298
10299 2012-06-05 Glenn Morris <rgm@gnu.org>
10300
10301 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10302 Replace external vcdiff script.
10303
10304 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10305
10306 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10307
10308 2012-06-04 Chong Yidong <cyd@gnu.org>
10309
10310 * image.el (imagemagick-types-inhibit): Revert last change.
10311 Add INFO and M.
10312 (imagemagick-enabled-types): Remove CIN and EPS*.
10313
10314 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10315
10316 * emacs-lisp/cl-lib.el: Rename from cl.el.
10317 * emacs-lisp/cl.el: New compatibility file.
10318 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10319 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10320 to obey the "cl-" prefix.
10321 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10322
10323 2012-06-03 Glenn Morris <rgm@gnu.org>
10324
10325 * emacs-lisp/authors.el (authors-aliases): Addition.
10326
10327 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10328 Fix :version.
10329
10330 2012-06-03 Stefan Merten <smerten@oekonux.de>
10331
10332 * textmodes/rst.el: Add comments.
10333 (rst-transition, rst-adornment): New faces.
10334 (rst-adornment-faces-alist): Make default safe to reevaluate.
10335 Fixes
10336 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10337 Improve customization tags.
10338 (rst-define-level-faces): Clarify meaning.
10339
10340 2012-06-03 Chong Yidong <cyd@gnu.org>
10341
10342 * progmodes/compile.el (compilation-mode-line-fail)
10343 (compilation-mode-line-run, compilation-mode-line-exit):
10344 New faces.
10345 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10346
10347 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10348
10349 * progmodes/which-func.el (which-func-update-ediff-windows):
10350 New function. Use it in ediff-select-hook (Bug#11478).
10351
10352 2012-06-03 Chong Yidong <cyd@gnu.org>
10353
10354 * bindings.el: Remove explicit help text from format-mode-line.
10355 It is now supplied by mode-line-default-help-echo.
10356 (mode-line-front-space, mode-line-end-spaces)
10357 (mode-line-misc-info): New variables.
10358 (mode-line-modes, mode-line-position): Move the default value to
10359 the variable definition.
10360 (mode-line-default-help-echo): New defcustom.
10361 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10362 (mode-line-modified-help-echo): New functions.
10363 (mode-line-mule-info, mode-line-modified): Use them.
10364 (mode-line-eol-desc, propertized-buffer-identification):
10365 Consistency fixes for help text.
10366 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10367 set-buffer-file-coding-system (Bug#289).
10368 (mode-line-mule-info-help-echo): Update help text.
10369
10370 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10371
10372 * simple.el (execute-extended-command): Set real-this-command
10373 (bug#11506).
10374
10375 2012-06-02 Chong Yidong <cyd@gnu.org>
10376
10377 Remove incorrect uses of "modeline" in comments, docstrings, and
10378 function/variable names (Bug#10329).
10379
10380 * cus-edit.el (mode-line):
10381 * dframe.el (dframe-mouse-hscroll):
10382 * emacs-lisp/re-builder.el:
10383 * emacs-lisp/easy-mmode.el (define-minor-mode):
10384 * frame.el (set-frame-name):
10385 * help.el (lookup-minor-mode-from-indicator):
10386 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10387 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10388 (c-toggle-hungry-state):
10389 * progmodes/antlr-mode.el (antlr-language-alist):
10390 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10391 * progmodes/vhdl-mode.el (vhdl-mode):
10392 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10393 * term/ns-win.el (ns-face-at-pos):
10394 * term/sup-mouse.el (sup-mouse-report):
10395 * textmodes/flyspell.el (flyspell-mode-line-string):
10396 * textmodes/ispell.el (ispell-highlight-face):
10397 * textmodes/reftex-global.el:
10398 * vc/vc-arch.el (vc-arch-mode-line-string):
10399 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10400 * vc/vc-git.el (vc-git-mode-line-string):
10401 * vc/vc-hooks.el (vc-display-status)
10402 (vc-default-mode-line-string):
10403 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10404
10405 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10406
10407 * dired.el (dired-sort-set-mode-line): Rename from
10408 dired-sort-set-modeline. All callers changed.
10409
10410 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10411 eshell-status-in-modeline.
10412
10413 * foldout.el (foldout-mode-line-string): Rename from
10414 foldout-modeline-string. All callers changed.
10415 (foldout-update-mode-line): Rename from foldout-update-modeline.
10416
10417 * subr.el (redraw-modeline): Make into obsolete alias.
10418
10419 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10420 timeclock-modeline-display. Make old name an alias.
10421 (timeclock-update-mode-line): Likewise. All callers changed.
10422 (timeclock-mode-line-display): No need to check before using
10423 add-hook.
10424 (timeclock-relative, timeclock-day-over-hook)
10425 (timeclock-use-elapsed, timeclock-mode-string)
10426 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10427
10428 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10429 crisp-mode-modeline-string.
10430
10431 * play/solitaire.el (solitaire-build-mode-line): Rename from
10432 solitaire-build-modeline. All callers changed.
10433
10434 * play/zone.el (zone-hiding-mode-line): Rename from
10435 zone-hiding-modeline. All callers changed.
10436 (zone): Remove unusued `modeline-hidden-level' property.
10437
10438 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10439 xscheme-modeline-initialize. All callers changed.
10440
10441 * strokes.el (strokes-lighter): Rename from
10442 strokes-modeline-string.
10443
10444 * textmodes/sgml-mode.el (html-face-tag-alist)
10445 (html-tag-face-alist): Use mode-line face instead of obsolete
10446 alias modeline.
10447
10448 2012-06-02 Stefan Merten <smerten@oekonux.de>
10449
10450 * textmodes/rst.el: Always require `cl'.
10451 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10452
10453 2012-06-02 Chong Yidong <cyd@gnu.org>
10454
10455 * image.el (imagemagick-enabled-types): Rename from
10456 imagemagick-types-enable. Add many more types.
10457 (imagemagick-types-inhibit): Change default to nil.
10458 (imagemagick-filter-types): Caller changed.
10459
10460 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10461
10462 * emacs-lisp/cl-macs.el: Use backquotes.
10463 (cl-transform-function-property): Use eval-and-compile rather than
10464 abusing `require'.
10465 (defstruct): Use declare-function instead of with-no-warnings.
10466
10467 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10468 (byte-compile-output-docform): Re-add the print-circle bindings.
10469 (byte-compile-fix-header): Use #$ just because it's shorter.
10470 (byte-compile-output-file-form): Remove defun/defmacro.
10471
10472 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10473
10474 * simple.el (choose-completion): Remove now obsolete binding for
10475 owindow.
10476
10477 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10478
10479 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10480 in order to avoid "Stack overflow in regexp matcher".
10481
10482 2012-05-31 Glenn Morris <rgm@gnu.org>
10483
10484 * image.el: For clarity, call imagemagick-register-types at
10485 top-level, rather than relying on a custom :initialize.
10486 (imagemagick-types-enable): New option. (Bug#11557)
10487 (imagemagick-filter-types): New function. (Bug#7406)
10488 (imagemagick-register-types): Use imagemagick-filter-types.
10489 If disabling support, remove elements altogether rather
10490 than using an impossible regexp.
10491 (imagemagick-types-inhibit): Give it the default init function.
10492
10493 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10494
10495 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10496 Handle arbitrary file name lengths (Bug#11585).
10497
10498 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10499
10500 * desktop.el (desktop-read): Clear previous and next buffers for
10501 all windows and bury *Messages* buffer (bug#11556).
10502
10503 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10504
10505 Add `declare' for `defun'. Align `defmacro's with it.
10506 * emacs-lisp/easy-mmode.el (define-minor-mode)
10507 (define-globalized-minor-mode): Don't autoload the var definitions.
10508 * emacs-lisp/byte-run.el: Use lexical-binding.
10509 (defun-declarations-alist, macro-declarations-alist): New vars.
10510 (defmacro, defun): Use them.
10511 (make-obsolete, define-obsolete-function-alias)
10512 (make-obsolete-variable, define-obsolete-variable-alias):
10513 Use `declare'.
10514 (macro-declaration-function): Mark obsolete.
10515 * emacs-lisp/autoload.el: Use lexical-binding.
10516 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10517
10518 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10519
10520 * textmodes/ispell.el (ispell-with-no-warnings):
10521 Define as a macro.
10522 (ispell-kill-ispell, ispell-change-dictionary):
10523 Use `called-interactively-p' for Emacs instead of obsolete
10524 `interactive-p'.
10525
10526 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10527
10528 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10529 (macro-declaration-function): Move var from C code.
10530 (macro-declaration-function): Define function with defalias.
10531 * emacs-lisp/macroexp.el (macroexpand-all-1):
10532 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10533 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10534 defun/defmacro any more.
10535 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10536 Provide fallback for unknown arglist.
10537 (byte-compile-arglist-warn): Change calling convention.
10538 (byte-compile-output-file-form): Move print-vars binding.
10539 (byte-compile-output-docform): Simplify accordingly.
10540 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10541 (byte-compile-defmacro-declaration): Remove.
10542 (byte-compile-file-form-defmumble): Generalize to defalias.
10543 (byte-compile-output-as-comment): Return byte-positions.
10544 Simplify callers accordingly.
10545 (byte-compile-lambda): Use `assert'.
10546 (byte-compile-defun, byte-compile-defmacro): Remove.
10547 (byte-compile-file-form-defalias):
10548 Use byte-compile-file-form-defmumble.
10549 (byte-compile-defalias-warn): Remove.
10550
10551 2012-05-29 Stefan Merten <smerten@oekonux.de>
10552
10553 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10554 possible. Fix authors. Improve comments. Improve loading of `cl'.
10555
10556 (rst-mode-abbrev-table): Merge definition.
10557 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10558 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10559
10560 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10561
10562 * calendar/icalendar.el
10563 (icalendar-export-region): Export UID properly.
10564
10565 2012-05-29 Leo Liu <sdl.web@gmail.com>
10566 * calendar/icalendar.el (icalendar-import-format):
10567 Add `icalendar-import-format-uid' (Bug#11525).
10568 (icalendar-import-format-uid): New.
10569 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10570 Export UID.
10571
10572 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10573
10574 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10575 different alternative patterns.
10576 (pcase-codegen): Be more careful to preserve identity.
10577 (pcase--u1): Don't forget to mark vars as used.
10578
10579 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10580 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10581 (byte-compile-from-buffer): ...rather than here.
10582
10583 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10584 functions from byte-compile-function-environment.
10585
10586 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10587
10588 * window.el (window-deletable-p): Avoid deleting the root window
10589 of a frame with an active minibuffer.
10590
10591 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10592
10593 * simple.el (choose-completion): Use quit-window (Bug#11567).
10594
10595 2012-05-29 Chong Yidong <cyd@gnu.org>
10596
10597 * whitespace.el (whitespace-cleanup): Fix usage of
10598 whitespace-empty-at-bob-regexp (Bug#11492).
10599
10600 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10601
10602 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10603 revert (Bug#11488).
10604
10605 2012-05-29 Juri Linkov <juri@jurta.org>
10606
10607 * isearch.el (isearch-mode-map): Bind `M-s _' to
10608 `isearch-toggle-symbol'. Bind `M-s c' to
10609 `isearch-toggle-case-fold'.
10610 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10611 (isearch-forward): Add `M-s _' to the docstring.
10612 (isearch-forward-symbol, isearch-toggle-case-fold)
10613 (isearch-symbol-regexp): New functions. (Bug#11381)
10614
10615 2012-05-29 Juri Linkov <juri@jurta.org>
10616
10617 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10618 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10619 a function, call it to get the regexp.
10620 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10621 property `isearch-message-prefix' instead of the string "word ".
10622 (isearch-search-fun-default): For the case of `isearch-word',
10623 return a lambda that calls re-search-forward/re-search-backward
10624 with a regexp returned by `word-search-regexp' or by the function
10625 in `isearch-word'.
10626
10627 2012-05-29 Juri Linkov <juri@jurta.org>
10628
10629 * isearch.el (isearch-search-fun-default): New function.
10630 (isearch-search-fun): Move default part to the new function
10631 `isearch-search-fun-default'.
10632 (isearch-search-fun-function): Set the default value to
10633 `isearch-search-fun-default'. (Bug#11381)
10634
10635 * comint.el (comint-history-isearch-end):
10636 Use `isearch-search-fun-default'.
10637 (comint-history-isearch-search): Use `isearch-search-fun-default'
10638 and remove spacial case for `isearch-word'.
10639 (comint-history-isearch-wrap): Remove spacial case for
10640 `isearch-word'.
10641
10642 * hexl.el (hexl-isearch-search-function):
10643 Use `isearch-search-fun-default'.
10644
10645 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10646 Use `word-search-regexp' for `isearch-word'.
10647
10648 * misearch.el (multi-isearch-search-fun):
10649 Use `isearch-search-fun-default'.
10650
10651 * simple.el (minibuffer-history-isearch-search):
10652 Use `isearch-search-fun-default' and remove spacial case for
10653 `isearch-word'.
10654 (minibuffer-history-isearch-wrap): Remove spacial case for
10655 `isearch-word'.
10656
10657 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10658 Remove spacial case for `isearch-word'.
10659 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10660
10661 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10662
10663 Decrease XEmacs incompatibilities.
10664 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10665 Use `string-match'.
10666 (flyspell-delete-region-overlays): Use alternative definition for
10667 XEmacs.
10668 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10669 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10670 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10671 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10672 `define-obsolete-face-alias' under XEmacs, but old method.
10673
10674 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10675 `with-no-warnings' definition or Emacs alias.
10676 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10677 (ispell-word): Do not use `region-p' if XEmacs.
10678
10679 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10680
10681 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10682 Check for `ispell-dictionary-base-alist' instead of full
10683 `ispell-dictionary-alist'.
10684 (ispell-init-process): Show spellchecker when starting new Ispell
10685 process.
10686
10687 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10688
10689 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10690 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10691
10692 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10693
10694 * version.el (motif-version-string, gtk-version-string)
10695 (ns-version-string): Declare.
10696
10697 2012-05-27 Juri Linkov <juri@jurta.org>
10698
10699 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10700 after the `eval-defun-1' specialcaseing
10701 like in `edebug-eval-defun' (bug#10181).
10702
10703 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10704 like in `eval-defun-1'.
10705
10706 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10707
10708 * mail/sendmail.el (mail-yank-region):
10709 Recognize rmail-yank-current-message in addition to insert-buffer.
10710 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10711 a *mail* buffer created through rmail-start-mail with sendmail as
10712 mail-user-agent.
10713
10714 2012-05-27 Chong Yidong <cyd@gnu.org>
10715
10716 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10717 Default to 256 (Bug#11267).
10718
10719 * help.el (describe-mode): Doc fix.
10720
10721 2012-05-26 Glenn Morris <rgm@gnu.org>
10722
10723 * w32-fns.el (w32-init-info): Remove.
10724 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10725
10726 * info.el (info-initialize): For self-contained NS builds, put the
10727 included info/ directory at the front. (Bug#2791)
10728
10729 * paths.el (Info-default-directory-list): Make it a defcustom,
10730 mainly so that we can use custom-initialize-delay.
10731
10732 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10733
10734 * subr.el (buffer-has-markers-at): Mark obsolete.
10735
10736 * subr.el (lambda): Use declare.
10737
10738 * emacs-lisp/lisp-mode.el (lambda):
10739 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10740
10741 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10742
10743 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10744
10745 2012-05-26 Glenn Morris <rgm@gnu.org>
10746
10747 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10748
10749 2012-05-25 Glenn Morris <rgm@gnu.org>
10750
10751 * paths.el: Remove no-byte-compile.
10752 * loadup.el: No need to load paths.el uncompiled.
10753
10754 * image.el (imagemagick-types-inhibit): Doc fix.
10755
10756 * version.el: Remove no-byte-compile and associated formatting.
10757 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10758 is ancient code from when there was an "inc-vers.el".
10759
10760 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10761
10762 * progmodes/gdb-mi.el: Minor style changes.
10763 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10764 Turn into minor modes.
10765 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10766 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10767 (gdb-shell): Remove unneeded let-binding.
10768 (gdb-get-many-fields): Eliminate O(n²) behavior.
10769
10770 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10771
10772 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10773 platforms that don't link in fontset.c.
10774
10775 2012-05-25 Juri Linkov <juri@jurta.org>
10776
10777 Use the same diff color scheme as in modern VCSes (bug#10181).
10778
10779 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10780 to avoid confusion with `diff-added' that now uses green colors.
10781 (diff-removed): Use shades of red.
10782 (diff-added): Use shades of green.
10783 (diff-changed): Leave just the yellow color.
10784 (diff-use-changed-face): New variable.
10785 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10786 how to highlight context diff changes.
10787 (diff-refine-change): Use shades of yellow.
10788 (diff-refine-removed): New face that uses shades of red.
10789 (diff-refine-added): New face that uses shades of green.
10790 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10791 `diff-refine-removed' in the call to `smerge-refine-subst'
10792 depending on the value of `diff-use-changed-face'.
10793
10794 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10795 (smerge-other): Use shades of green.
10796 (smerge-base): Use shades of yellow.
10797 (smerge-refined-change): Empty face.
10798 (smerge-refined-removed): New face that uses shades of red.
10799 (smerge-refined-added): New face that uses shades of green.
10800 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10801 args `props-r' and `props-a', and use them. Doc fix.
10802 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10803 on its value use different faces `smerge-refined-change',
10804 `smerge-refined-removed', `smerge-refined-added' in the call to
10805 `smerge-refine-subst'.
10806
10807 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10808 Add face condition `min-colors 88' with shades of red.
10809 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10810 `min-colors 88' with shades of green.
10811 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10812 `min-colors 88' with shades of yellow.
10813
10814 2012-05-24 Glenn Morris <rgm@gnu.org>
10815
10816 * paths.el (prune-directory-list, remote-shell-program): Move to...
10817 * files.el (prune-directory-list, remote-shell-program): ...here.
10818 For the latter, delay initialization, prefer ssh, just search PATH.
10819
10820 * paths.el (term-file-prefix): Move to faces.el (the only user).
10821 * faces.el (term-file-prefix): Move here, make it a defcustom.
10822
10823 * paths.el (news-directory, news-path, news-inews-program):
10824 Move to gnus/nnspool.el.
10825
10826 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10827
10828 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10829 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10830 Make the latter a defcustom, with a delayed initialization.
10831
10832 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10833 These were deleted from Gnus itself late 2010.
10834
10835 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10836
10837 * progmodes/which-func.el (which-func-ff-hook):
10838 Check against user-error, not error.
10839
10840 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10841 cl-specs.el, which no longer exists.
10842
10843 2012-05-22 Glenn Morris <rgm@gnu.org>
10844
10845 * info.el (info-emacs-bug): New command.
10846 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10847 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10848
10849 2012-05-21 Glenn Morris <rgm@gnu.org>
10850
10851 * makefile.w32-in (update-subdirs-SH):
10852 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10853
10854 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10855
10856 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10857
10858 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10859 Simplify Maven regexp, and make sure the file can't start with a space
10860 (bug#11517).
10861
10862 2012-05-21 Glenn Morris <rgm@gnu.org>
10863
10864 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10865 Scrap superfluous subshells.
10866
10867 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10868
10869 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10870 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10871
10872 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10873
10874 * calc/calc.el (calc-ensure-consistent-units): New variable.
10875
10876 * calc/calc-units.el (math-consistent-units-p)
10877 (math-check-unit-consistency): New functions.
10878 (calc-quick-units, calc-convert-units):
10879 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10880 is non-nil.
10881 (calc-extract-units): Fix typo.
10882
10883 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10884
10885 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10886
10887 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10888 (flyspell-default-deplacement-commands): Don't spell check after
10889 repeated window/frame switches (e.g. triggered by mouse-movement).
10890 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10891 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10892 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10893 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10894 Remove unused vars.
10895 (flyspell-get-casechars, flyspell-get-not-casechars):
10896 Simplify; Don't bother removing a ] just to add it back.
10897 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10898
10899 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10900
10901 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10902 New functions.
10903 (math-function-table): Add support for more C functions.
10904
10905 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10906
10907 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10908 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10909 Protect delay handling for otherchars against empty otherchars.
10910
10911 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10912
10913 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10914 their respective macro declarations.
10915 * skeleton.el (define-skeleton):
10916 * progmodes/compile.el (define-compilation-mode):
10917 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10918 (define-ibuffer-filter):
10919 * emacs-lisp/generic.el (define-generic-mode):
10920 * emacs-lisp/easy-mmode.el (define-minor-mode)
10921 (define-globalized-minor-mode):
10922 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10923 * emacs-lisp/byte-run.el (defsubst):
10924 * custom.el (deftheme): Add doc-string metadata.
10925
10926 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10927
10928 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10929
10930 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10931
10932 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10933
10934 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10935 * emacs-lisp/cl-macs.el: Idem.
10936 * emacs-lisp/cl-specs.el: Remove.
10937
10938 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10939
10940 Minor renaming of internal CL functions and variables.
10941 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10942 (cl--position): Rename from cl-position.
10943 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10944 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10945 (cl--random-state): Rename from *random-state*.
10946
10947 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10948
10949 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10950 parens around the arg list (bug#11499).
10951
10952 2012-05-17 Juri Linkov <juri@jurta.org>
10953
10954 * isearch.el (word-search-regexp, word-search-backward)
10955 (word-search-forward, word-search-backward-lax)
10956 (word-search-forward-lax): Move functions from search.c
10957 (bug#10145, bug#11381).
10958
10959 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10960
10961 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10962 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10963 Delay for otherchars as for normal word components.
10964
10965 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10966
10967 * minibuffer.el (completion--sifn-requote): Fix last change.
10968 (minibuffer-local-must-match-filename-map):
10969 Move define-obsolete-variable-alias before its var.
10970
10971 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10972
10973 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10974
10975 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10976 behavior.
10977 (completion--string-equal-p): New function.
10978 (completion--twq-all): Use it to get better assertion failure data.
10979
10980 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10981 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10982 (shell--requote-argument): New functions.
10983 (shell-completion-vars): Use them.
10984 (shell--parse-pcomplete-arguments): Rename from
10985 shell-parse-pcomplete-arguments.
10986 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10987 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10988 Obey comint-file-name-quote-list.
10989
10990 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10991 (smie-indent-keyword): Use it.
10992
10993 2012-05-14 Stefan Merten <smerten@oekonux.de>
10994
10995 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10996
10997 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10998
10999 * net/rlogin.el (rlogin-mode-map): Fix last change.
11000
11001 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11002
11003 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11004 the following \r\n using a single `process-send-string', since the
11005 Lotus SMTP server refuses to accept any commands if they are sent
11006 with two `process-send-string's (Bug#11444).
11007
11008 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11009
11010 * shell.el (shell-parse-pcomplete-arguments):
11011 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11012
11013 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11014
11015 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11016 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11017 (image-transform-width, image-transform-fit-width): New functions.
11018 (image-transform-properties): Use them.
11019 (image-transform-check-size): New function.
11020 (image-toggle-display-image): Use it (for testing).
11021 (image-transform-set-rotation): Reduce angle mod 360.
11022 Delete obsolete comment.
11023
11024 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11025
11026 * image-mode.el: Fix scaling (bug#11399).
11027 (image-transform-resize): Doc fix.
11028 (image-transform-properties): Default scale is 1 and height should
11029 be an integer.
11030
11031 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11032
11033 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11034 than hard-coding `car', to fix misbehavior when moving forward.
11035
11036 2012-05-13 Chong Yidong <cyd@gnu.org>
11037
11038 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11039 (tabulated-list-entries, tabulated-list-padding)
11040 (tabulated-list-sort-key): Make permanent-local.
11041
11042 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11043 (electric-buffer-list): Put electric buffer menu
11044 command descriptions in this docstring, instead of the docstring
11045 of electric-buffer-menu-mode. Code cleanups.
11046 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11047 Electric-buffer-menu-mode.
11048 (electric-buffer-update-highlight): Minor code cleanup.
11049
11050 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11051
11052 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11053 (Bug#11447)
11054
11055 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11056
11057 Move define-obsolete-variable-alias before the var's definition.
11058 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11059 * tooltip.el (tooltip-hook):
11060 * textmodes/reftex-toc.el (reftex-toc-map):
11061 * textmodes/reftex-sel.el (reftex-select-label-map)
11062 (reftex-select-bib-map):
11063 * textmodes/reftex-index.el (reftex-index-map)
11064 (reftex-index-phrases-map):
11065 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11066 * progmodes/meta-mode.el (meta-mode-map):
11067 * novice.el (disabled-command-hook):
11068 * loadhist.el (unload-hook-features-list):
11069 * frame.el (blink-cursor):
11070 * files.el (find-file-not-found-hooks, write-file-hooks)
11071 (write-contents-hooks):
11072 * emulation/tpu-edt.el (GOLD-map):
11073 * emacs-lock.el (emacs-lock-from-exiting):
11074 * emacs-lisp/generic.el (generic-font-lock-defaults):
11075 * emacs-lisp/chart.el (chart-map):
11076 * dos-fns.el (register-name-alist):
11077 * dired-x.el (dired-omit-files-p):
11078 * desktop.el (desktop-enable):
11079 * cus-edit.el (custom-mode-hook):
11080 * buff-menu.el (buffer-menu-mode-hook):
11081 * bookmark.el (bookmark-read-annotation-text-func)
11082 (bookmark-exit-hooks):
11083 * allout.el (allout-mode-deactivate-hook)
11084 (allout-exposure-change-hook, allout-structure-added-hook)
11085 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11086 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11087 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11088 comes before the corresponding variable's definition.
11089
11090 2012-05-12 Chong Yidong <cyd@gnu.org>
11091
11092 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11093 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11094 (Buffer-menu-mode-map): Bind it.
11095 (Buffer-menu--pretty-name): Add a mouse-face property.
11096
11097 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11098
11099 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11100 (prolog-upper-case-string, prolog-lower-case-string)
11101 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11102 (prolog-use-smie, prolog-smie-grammar): New vars.
11103 (prolog-smie-forward-token, prolog-smie-backward-token)
11104 (prolog-smie-rules): New funs.
11105 (prolog-comment-indent): Remove.
11106 (prolog-mode-variables): Use default comment indentation instead.
11107 Setup SMIE.
11108 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11109 (prolog-mode): Don't call them any more.
11110 (prolog-electric-colon, prolog-electric-dash)
11111 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11112
11113 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11114
11115 * minibuffer.el (completion--twq-all): Again, allow case differences.
11116
11117 * term.el: Move keymap initialization code to be more idiomatic.
11118 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11119 (term-terminal-menu): Move initialization into declaration.
11120 (term-escape-char): Let the user set it in her .emacs.
11121
11122 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11123 Provide SMIE-based indentation (not enabled by default yet).
11124 (sh-mode-map): Don't bind electric keys.
11125 Use electric-pair-mode instead of skeleton-pair.
11126 (sh-assignment-regexp): Fit within 80 columns.
11127 (sh-indent-supported): Specify actual shell name instead of boolean.
11128 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11129 (sh-maybe-here-document): Use it. Make obsolete.
11130 (sh-electric-here-document-mode) New minor mode.
11131 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11132 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11133 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11134 (sh-smie-rc-grammar, sh-use-smie): New vars.
11135 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11136 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11137 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11138 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11139 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11140 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11141 (sh-set-shell): Use smie-setup if requested.
11142
11143 * term.el (term-set-escape-char): Properly set term-escape-char.
11144 See http://stackoverflow.com/questions/10524656.
11145
11146 2012-05-10 Chong Yidong <cyd@gnu.org>
11147
11148 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11149 Use url-generic-parse-url, and handle host names and Windows
11150 filenames properly.
11151 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11152 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11153 URL schemes to work on.
11154 (ffap--toggle-read-only): New function.
11155 (ffap-read-only, ffap-read-only-other-window)
11156 (ffap-read-only-other-frame): Use it.
11157 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11158 necessary for ffap-url-unwrap-remote.
11159
11160 2012-05-10 Dave Abrahams <dave@boostpro.com>
11161
11162 * cus-start.el (create-lockfiles): Add it.
11163
11164 2012-05-09 Chong Yidong <cyd@gnu.org>
11165
11166 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11167 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11168
11169 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11170
11171 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11172
11173 2012-05-09 Chong Yidong <cyd@gnu.org>
11174
11175 * ansi-color.el (ansi-color-process-output): Check for validity of
11176 comint-last-output-start before using it. This avoids a bad
11177 interaction with gdb-mi's input/output buffer.
11178
11179 2012-05-09 Glenn Morris <rgm@gnu.org>
11180
11181 * files.el (dir-locals-read-from-file):
11182 Mention dir-locals in any error message.
11183
11184 2012-05-09 Chong Yidong <cyd@gnu.org>
11185
11186 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11187 package (Bug#11410).
11188
11189 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11190 variables into description.
11191
11192 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11193
11194 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11195 shell-delimiter-argument-list (bug#11348).
11196 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11197
11198 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11199
11200 * textmodes/rst.el: Silence byte-compiler warnings.
11201 (rst-re-alist, rst-reset-section-caches): Move around.
11202 (rst-re): Use `characterp', not `char-valid-p'.
11203 (font-lock-beg, font-lock-end): Declare.
11204
11205 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11206 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11207
11208 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11209
11210 2012-05-08 Glenn Morris <rgm@gnu.org>
11211
11212 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11213
11214 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11215
11216 * vc/log-edit.el: Add GNU coding standards highlighting.
11217 (log-edit-font-lock-gnu-style)
11218 (log-edit-font-lock-gnu-keywords): New vars.
11219 (log-edit-font-lock-keywords): New fun.
11220 (log-edit-mode): Don't fold case in font-lock.
11221 (log-edit-font-lock-keywords): Do not assume case-folding.
11222
11223 * imenu.el: Misc cleanup. Make docstrings out of comments.
11224 Use lexical-binding.
11225 (imenu--index-alist, imenu--last-menubar-index-alist)
11226 (imenu-menubar-modified-tick): Use defvar-local.
11227 (imenu--split-menu): Remove unused var.
11228 (imenu--cleanup-seen): Declare as global.
11229 (imenu--cleanup): Use dolist.
11230
11231 * subr.el (defvar-local): Add debug spec and doc-string position.
11232
11233 2012-05-08 Glenn Morris <rgm@gnu.org>
11234
11235 * language/burmese.el, language/cham.el, language/czech.el:
11236 * language/english.el, language/georgian.el, language/greek.el:
11237 * language/japanese.el, language/khmer.el, language/korean.el:
11238 * language/lao.el, language/misc-lang.el, language/romanian.el:
11239 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11240 * language/thai.el, language/utf-8-lang.el:
11241 Remove no-byte-compile setting.
11242
11243 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11244
11245 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11246
11247 * progmodes/make-mode.el (makefile-browse):
11248 Remove unnecessary interactive. (Bug#11324)
11249
11250 2012-05-07 Glenn Morris <rgm@gnu.org>
11251
11252 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11253
11254 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11255
11256 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11257
11258 * loadup.el: Preload newcomment.el.
11259 * newcomment.el: Move autoload-only code to toplevel.
11260
11261 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11262 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11263 Handle new :right-align column property.
11264 (tabulated-list-print-col): Idem, plus use `display' text-property to
11265 try and preserve alignment for variable pitch fonts.
11266
11267 2012-05-07 Chong Yidong <cyd@gnu.org>
11268
11269 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11270 (tabulated-list-use-header-line): New var.
11271 (tabulated-list-init-header): Use it.
11272 (tabulated-list-print-fake-header): New function.
11273 (tabulated-list-print): Use it.
11274 (tabulated-list-sort-button-map): Add non-header-line commands.
11275 (tabulated-list-init-header): Add column name property to basic
11276 labels as well.
11277 (tabulated-list-col-sort): Handle non-header-line button case.
11278 (tabulated-list--sort-by-column-name): Fix a corner case.
11279
11280 * buff-menu.el (list-buffers--refresh):
11281 Handle Buffer-menu-use-header-line.
11282
11283 2012-05-06 Chong Yidong <cyd@gnu.org>
11284
11285 * buff-menu.el: Convert to Tabulated List mode.
11286 (Buffer-menu-buffer+size-width): Make obsolete.
11287 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11288 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11289 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11290 documentation into docstring of buffer-menu.
11291 (Buffer-menu-toggle-files-only): Add an informative message.
11292 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11293 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11294 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11295 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11296 (Buffer-menu-execute, Buffer-menu-select)
11297 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11298 (Buffer-menu-bury): Use Tabulated List machinery.
11299 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11300 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11301 Delete.
11302 (list-buffers--refresh): New function.
11303 (list-buffers-noselect): Use it.
11304 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11305 (Buffer-menu--pretty-file-name): New helper functions.
11306
11307 * loadup.el: Preload tabulated-list.
11308
11309 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11310 tabulated-list-sort-column.
11311 (tabulated-list-init-header): Add the initial aligning space even
11312 if tabulated-list-padding is zero.
11313
11314 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11315
11316 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11317 whose cdr is not a cons cell correctly (bug#11038).
11318
11319 2012-05-06 Chong Yidong <cyd@gnu.org>
11320
11321 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11322 Accept additional plist in column descriptors.
11323 (tabulated-list-init-header): Obey it.
11324 (tabulated-list-get-entry): New function.
11325 (tabulated-list-put-tag): Use it. Use string-width instead of
11326 length.
11327 (tabulated-list--column-number): New function.
11328 (tabulated-list-print): Use it.
11329 (tabulated-list-print-col): New function.
11330 Set `tabulated-list-column-name' property on each column's text.
11331 (tabulated-list-print-entry): Use it.
11332 (tabulated-list-delete-entry, tabulated-list-set-col):
11333 New functions.
11334 (tabulated-list-sort-column): New command (Bug#11337).
11335
11336 * buff-menu.el (list-buffers): Move C-x C-b binding from
11337 buff-menu.el to bindings.el.
11338
11339 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11340 :advertised-binding feature.
11341
11342 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11343
11344 * progmodes/compile.el (compilation-internal-error-properties):
11345 Calculate start position correctly when end-col is set but
11346 end-line is not (Bug#11382).
11347
11348 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11349
11350 * man.el (Man-unindent): Use text-property-default-nonsticky to
11351 prevent untabify from inheriting face properties (Bug#11408).
11352
11353 2012-05-05 Stefan Merten <smerten@oekonux.de>
11354
11355 * textmodes/rst.el: Major merge with upstream development up to
11356 Docutils SVN r7399 / rst.el V1.2.1.
11357
11358 Clarify maintainership and authors.
11359
11360 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11361 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11362 (rst-official-version, rst-official-cvs-rev, rst-version)
11363 (rst-package-emacs-version-alist): New functions and variables
11364 for version information.
11365
11366 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11367 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11368 (rst-mode-syntax-table, rst-mode): New and corrected functions
11369 and variables representing reStructuredText features.
11370
11371 (rst-re): New function for reStructuredText regexes. Use in
11372 many places.
11373
11374 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11375 (rst-mode-map): Rebind keys.
11376
11377 (rst-mode-lazy, rst-font-lock-keywords)
11378 (rst-font-lock-extend-region)
11379 (rst-font-lock-extend-region-internal)
11380 (rst-font-lock-extend-region-extend)
11381 (rst-font-lock-find-unindented-line-limit)
11382 (rst-font-lock-find-unindented-line-match)
11383 (rst-adornment-level, rst-font-lock-adornment-level)
11384 (rst-font-lock-adornment-match)
11385 (rst-font-lock-handle-adornment-pre-match-form)
11386 (rst-font-lock-handle-adornment-matcher): Major revision of
11387 font-locking. Integrate with other code. Use `jit-lock-mode'.
11388
11389 (rst-preferred-adornments, rst-adjust-hook)
11390 (rst-new-adornment-down, rst-preferred-bullets)
11391 (rst-preferred-bullets, rst-indent, rst-indent-width)
11392 (rst-indent-field, rst-indent-literal-normal)
11393 (rst-indent-literal-minimized, rst-indent-comment): Change,
11394 extend and improve customization.
11395
11396 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11397 (rst-normalize-cursor-position, rst-get-decoration)
11398 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11399 (rst-rstrip, rst-toc-insert-find-delete-contents)
11400 (rst-shift-fill-region, rst-compute-bullet-tabs)
11401 (rst-debug-print-tabs, rst-debug-mark-found)
11402 (rst-shift-region-guts, rst-shift-region-right)
11403 (rst-shift-region-left, rst-use-char-classes)
11404 (rst-font-lock-keywords-function)
11405 (rst-font-lock-indentation-point)
11406 (rst-font-lock-find-unindented-line-begin)
11407 (rst-font-lock-find-unindented-line-end)
11408 (rst-font-lock-find-unindented-line)
11409 (rst-font-lock-adornment-point, rst-font-lock-level)
11410 (rst-adornment-level-alist): Remove functions and variables.
11411
11412 (rst-compare-adornments, rst-get-adornment-match)
11413 (rst-suggest-new-adornment, rst-get-adornments-around)
11414 (rst-adornment-complete-p, rst-get-next-adornment)
11415 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11416 (rst-straighten-adornments): Standardize function names to
11417 use "adornment" instead of "decoration". Correct callers.
11418 Similar standardizing in many places.
11419
11420 (rst-update-section, rst-adjust, rst-promote-region)
11421 (rst-enumerate-region, rst-bullet-list-region)
11422 (rst-repeat-last-character): Correct use of `interactive'.
11423
11424 (rst-classify-adornment, rst-find-all-adornments)
11425 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11426 (rst-find-leftmost-column, rst-repeat-last-character):
11427 Refactor functions.
11428
11429 (rst-find-title-line, rst-reset-section-caches)
11430 (rst-get-adornments-around, rst-adjust-adornment-work)
11431 (rst-arabic-to-roman, rst-roman-to-arabic)
11432 (rst-insert-list-pos, rst-insert-list-new-item)
11433 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11434 New functions.
11435
11436 (rst-all-sections, rst-section-hierarchy)
11437 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11438 New variables.
11439
11440 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11441 configuration instead of only buffer. Change where necessary.
11442
11443 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11444 (rst-shift-region, rst-adaptive-fill): New functions for
11445 indentation and filling.
11446
11447 (rst-comment-line-break, rst-comment-indent)
11448 (rst-comment-insert-comment, rst-comment-region)
11449 (rst-uncomment-region): New functions for handling comments.
11450
11451 (rst-compile): Quote shell arguments.
11452
11453 (rst-compile-pdf-preview, rst-compile-slides-preview):
11454 Delete temporary files after use.
11455
11456 2012-05-05 Glenn Morris <rgm@gnu.org>
11457
11458 * calendar/cal-html.el: Optionally include holidays in the output.
11459 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11460 (cal-html-holidays): New option.
11461 (cal-html-css-default): Add holiday entry.
11462 (holiday-in-range): Autoload it.
11463 (cal-html-htmlify-entry): Add optional class argument.
11464 (cal-html-htmlify-list): Add optional holidays argument.
11465 (cal-html-insert-agenda-days): Include holidays in the output.
11466 (cal-html-one-month): Maybe include holidays.
11467
11468 * calendar/holidays.el (holiday-in-range):
11469 Move here from cal-tex-list-holidays.
11470 * calendar/cal-tex.el (cal-tex-list-holidays):
11471 Make it an obsolete alias for holiday-in-range. Update all callers.
11472
11473 2012-05-05 Chong Yidong <cyd@gnu.org>
11474
11475 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11476 Nextstep.
11477
11478 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11479
11480 * files.el (file-auto-mode-skip): New var.
11481 (set-auto-mode-1): Use it.
11482
11483 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11484
11485 * repeat.el: Use lexical-binding.
11486 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11487 (repeat-undo-count): Remove.
11488 (repeat):
11489 * progmodes/octave-mod.el (octave-abbrev-start):
11490 * progmodes/f90.el (f90-abbrev-start):
11491 * face-remap.el (text-scale-adjust):
11492 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11493
11494 * emacs-lisp/pcase.el (pcase--let*): New function.
11495 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11496 a bit more.
11497 (pcase--split-pred): Be more clever about ruling out overlap between
11498 a predicate and some constant pattern.
11499 (pcase--q1): Use `null' instead of (eq foo nil).
11500
11501 * subr.el (setq-local, defvar-local): New macros.
11502 (kbd): Redefine as an alias.
11503 (with-selected-window): Leave unrelated frames alone.
11504 (set-temporary-overlay-map): New function.
11505
11506 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11507
11508 * subr.el (user-error): New function.
11509 * window.el (switch-to-buffer):
11510 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11511 (smerge-match-conflict):
11512 * simple.el (previous-matching-history-element)
11513 (next-matching-history-element, goto-history-element, undo-more)
11514 (undo-start):
11515 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11516 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11517 (next-file, tags-loop-scan, list-tags, complete-tag):
11518 * progmodes/compile.el (compilation-loop):
11519 * mouse.el (mouse-minibuffer-check):
11520 * man.el (Man-bgproc-sentinel, Man-goto-page):
11521 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11522 (Info-history-forward, Info-follow-reference, Info-menu)
11523 (Info-extract-menu-item, Info-extract-menu-counting)
11524 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11525 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11526 (Info-next-reference, Info-prev-reference, Info-index)
11527 (Info-index-next, Info-follow-nearest-node)
11528 (Info-copy-current-node-name):
11529 * imenu.el (imenu--make-index-alist)
11530 (imenu-default-create-index-function, imenu-add-to-menubar):
11531 * files.el (basic-save-buffer, recover-file):
11532 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11533 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11534 (checkdoc-message-text, checkdoc-defun):
11535 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11536 * cus-edit.el (customize-changed-options, customize-rogue)
11537 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11538 (custom-variable-mark-to-reset-standard)
11539 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11540 (custom-file):
11541 * completion.el (check-completion-length):
11542 * comint.el (comint-search-arg)
11543 (comint-previous-matching-input-string-position)
11544 (comint-previous-matching-input)
11545 (comint-replace-by-expanded-history-before-point, comint-send-input)
11546 (comint-copy-old-input, comint-backward-matching-input)
11547 (comint-goto-process-mark, comint-set-process-mark):
11548 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11549 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11550
11551 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11552
11553 * dabbrev.el (dabbrev--ignore-case-p): New function.
11554 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11555 Use it.
11556
11557 * files.el (automount-dir-prefix): Mark as obsolete.
11558
11559 2012-05-04 Glenn Morris <rgm@gnu.org>
11560
11561 * patcomp.el, play/bruce.el: Move to obsolete/.
11562
11563 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11564
11565 Fix minor Y10k bugs.
11566 * arc-mode.el (archive-unixdate):
11567 * autoinsert.el (auto-insert-alist):
11568 * calc/calc-forms.el (math-this-year):
11569 * emacs-lisp/copyright.el (copyright-current-year)
11570 (copyright-update-year, copyright):
11571 * tar-mode.el (tar-clip-time-string):
11572 * time.el (display-time-update):
11573 Don't assume years have 4 digits.
11574
11575 2012-05-04 Chong Yidong <cyd@gnu.org>
11576
11577 * dos-w32.el (file-name-buffer-file-type-alist)
11578 (direct-print-region-use-command-dot-com):
11579 * ffap.el (ffap-menu-regexp):
11580 * find-file.el (ff-special-constructs):
11581 * follow.el (follow-debug):
11582 * forms.el (forms--debug):
11583 * iswitchb.el (iswitchb-all-frames):
11584 * ido.el (ido-all-frames):
11585 * emacs-lisp/timer.el (timer-max-repeats):
11586 * mail/feedmail.el (feedmail-mail-send-hook)
11587 (feedmail-mail-send-hook-queued):
11588 * mail/footnote.el (footnote-signature-separator):
11589 * mail/mailabbrev.el (mail-alias-separator-string)
11590 (mail-abbrev-mode-regexp):
11591 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11592 * progmodes/idlwave.el (idlwave-libinfo-file)
11593 (idlwave-default-completion-case-is-down)
11594 (idlwave-library-routines): Convert defvars to defcustoms.
11595
11596 * mail/rmail.el (rmail-decode-mime-charset):
11597 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11598 (idlwave-shell-fix-inserted-breaks)
11599 (idlwave-shell-activate-alt-keybindings)
11600 (idlwave-shell-use-breakpoint-glyph):
11601 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11602
11603 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11604
11605 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11606
11607 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11608
11609 * progmodes/verilog-mode.el (font-lock-keywords):
11610 Fix mis-highligting auto. Reported by Craig Barner.
11611 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11612 defines from global name space. Reported by Dan Dever.
11613 (verilog-auto-reset, verilog-auto-reset-widths)
11614 (verilog-auto-tieoff): Support using unbased numbers for
11615 AUTORESET and AUTOTIEOFF.
11616 (verilog-submit-bug-report): Update variable list.
11617 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11618 parenthesis from not matching. Reported by Michael Rytting.
11619 (verilog-auto-template-lint): Fix hash error when linting modules
11620 with no used templates.
11621 (verilog-warn, verilog-warn-error)
11622 (verilog-warn-fatal): When non-interactive report multiple
11623 warnings before exiting. Suggested by Brad Dobbie.
11624 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11625 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11626 to report unused template errors. Reported by Brad Dobbie.
11627 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11628 nets, bug438. Reported by Vns Blore.
11629 (verilog-auto-inout-module, verilog-auto-reg)
11630 (verilog-read-decls, verilog-read-sub-decls-sig)
11631 (verilog-signals-edit-wire-reg, verilog-signals-with):
11632 Fix passing of Verilog data types in ANSI input/output ports
11633 such as "output logic" into the AUTOs. Special case "wire" and
11634 "reg" for backwards compatibility presuming Verilog 2001.
11635 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11636 (verilog-preprocess): Fix replication of preprocess output.
11637 Reported by Brad Dobbie.
11638 (verilog-auto-inst-interfaced-ports):
11639 Create verilog-auto-inst-interfaced-ports, bug429.
11640 Reported by Julian Gorfajn.
11641 (verilog-after-save-font-hook)
11642 (verilog-before-save-font-hook): New variable.
11643 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11644 (verilog-save-font-mods): Wrap disabling fontification, reported
11645 by David Rogoff.
11646 (verilog-do-indent, verilog-pretty-declarations-auto)
11647 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11648 Reported by Pierre-David Pfister.
11649 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11650 of class declarations, bug292. Reported by Kevin Heilman.
11651 (verilog-read-decls): Fix 'parameter type' not appearing in
11652 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11653 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11654 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11655 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11656 Reported by David Kravitz.
11657
11658 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11659
11660 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11661 assignment with tests in ifs and for loops.
11662 (verilog-extended-complete-re, verilog-complete-reg): Change so
11663 that DPI inport functions don't look like fuction declarations.
11664 (verilog-pretty-expr): Don't line up assignment
11665 operations to the test and increment in if and for loops
11666 (verilog-extended-complete-re, verilog-complete-reg): Change so
11667 that DPI inport functions don't look like fuction declarations.
11668
11669 2012-05-03 Kenichi Handa <handa@m17n.org>
11670
11671 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11672 decoding, and show a warning message without signaling an error
11673 (Bug#11282).
11674
11675 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11676
11677 * emacs-lisp/bytecomp.el
11678 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11679 since cconv.el might have introduced :fun-body, internal-make-closure,
11680 and friends for bytecomp to handle (bug#11391).
11681 * custom.el (defcustom): Avoid ((λ ..) ..).
11682
11683 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11684
11685 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11686
11687 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11688
11689 * notifications.el (dbus-debug):
11690 * term/linux.el (gpm-mouse-enable):
11691 * term/screen.el (xterm-register-default-colors): Declare.
11692
11693 2012-05-02 Chong Yidong <cyd@gnu.org>
11694
11695 * cus-start.el (gc-cons-percentage, exec-suffixes)
11696 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11697 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11698 (make-cursor-line-fully-visible, void-text-area-pointer)
11699 (font-list-limit): Add customization data.
11700
11701 * allout.el (allout-exposure-change-functions)
11702 (allout-structure-added-functions)
11703 (allout-structure-deleted-functions)
11704 (allout-structure-shifted-functions): Rename abnormal hooks from
11705 *-hook, and convert to defcustoms.
11706 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11707 Convert to defcustoms.
11708 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11709
11710 * allout-widgets.el: Hook callers changed.
11711
11712 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11713
11714 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11715 the yanked message in preference to the default value of
11716 buffer-file-coding-system.
11717
11718 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11719
11720 * window.el (display-buffer--action-function-custom-type):
11721 Fix entry.
11722
11723 2012-05-02 Alan Mackenzie <acm@muc.de>
11724
11725 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11726
11727 2012-05-01 Glenn Morris <rgm@gnu.org>
11728
11729 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11730
11731 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11732
11733 * cus-edit.el (custom-variable-documentation): Simplify with format.
11734
11735 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11736 Stefan Monnier <monnier@iro.umontreal.ca>
11737
11738 * simple.el (suggest-key-bindings, execute-extended-command):
11739 Move from keyboard.c.
11740
11741 2012-05-01 Chong Yidong <cyd@gnu.org>
11742
11743 * follow.el: Eliminate advice.
11744 (set-process-filter, process-filter, sit-for): Advice deleted.
11745 (follow-mode-off-hook): Obsolete hook removed.
11746 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11747 Vars deleted.
11748 (follow-auto): Use a :set function.
11749 (follow-mode): Rewritten. Don't advise process filters.
11750 (follow-switch-to-current-buffer-all, follow-scroll-up)
11751 (follow-scroll-down): Assume follow-mode is bound.
11752 (follow-comint-scroll-to-bottom)
11753 (follow-align-compilation-windows): New functions.
11754 (follow--window-sorter): New function.
11755 (follow-all-followers): Use it to explicitly sort windows by their
11756 positions; don't make assumptions about next-window order.
11757 (follow-windows-start-end, follow-delete-other-windows-and-split)
11758 (follow-calc-win-start): Doc fix.
11759 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11760 vertical-motion unnecessarily.
11761 (follow-adjust-window): New function.
11762 (follow-post-command-hook): Use it.
11763 (follow-call-set-process-filter, follow-call-process-filter)
11764 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11765 (follow-stop-intercept-process-output, follow-generic-filter):
11766 Functions deleted.
11767 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11768 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11769 New functions, replacing advice on scroll-bar-* commands.
11770 (follow-mwheel-scroll): New function (Bug#4112).
11771
11772 * comint.el (comint-adjust-point): New function.
11773 (comint-postoutput-scroll-to-bottom): Use it.
11774 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11775
11776 2012-05-01 Glenn Morris <rgm@gnu.org>
11777
11778 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11779 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11780 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11781 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11782 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11783 Remove no-byte-compile setting.
11784
11785 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11786
11787 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11788 all-completions code to not return a number in the last cdr.
11789
11790 2012-04-30 Leo Liu <sdl.web@gmail.com>
11791
11792 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11793 read-only error.
11794
11795 2012-04-29 Chong Yidong <cyd@gnu.org>
11796
11797 * follow.el (follow-calc-win-end): Rewrite to handle partial
11798 screen lines correctly (Bug#8390).
11799 (follow-avoid-tail-recenter): Minor cleanup.
11800
11801 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11802
11803 Avoid the obsolete `assoc' package.
11804 * speedbar.el (speedbar-refresh): Avoid adelete.
11805 (speedbar-file-lists): Simplify and avoid aput.
11806 * man.el (Man--sections, Man--refpages): New vars, replacing
11807 Man-sections-alist and Man-refpages-alist.
11808 (Man-build-section-alist, Man-build-references-alist):
11809 Use them; avoid aput.
11810 (Man--last-section, Man--last-refpage): New vars.
11811 (Man-follow-manual-reference): Use them.
11812 Use the `default' arg of completing-read.
11813 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11814
11815 2012-04-27 Chong Yidong <cyd@gnu.org>
11816
11817 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11818
11819 * startup.el (x-apply-session-resources): New function.
11820
11821 * term/ns-win.el (ns-initialize-window-system):
11822 * term/w32-win.el (w32-initialize-window-system):
11823 * term/x-win.el (x-initialize-window-system): Use it to properly
11824 set menu-bar-mode and other vars from X resources, even if the
11825 initial frame is not a window-system frame (Bug#2299).
11826
11827 * subr.el (read-key): Avoid running filter function when setting
11828 up temporary tool bar entries (Bug#9922).
11829
11830 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11831
11832 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11833 (Bug#11344)
11834
11835 2012-04-27 Chong Yidong <cyd@gnu.org>
11836
11837 * select.el (xselect--encode-string): New function, split from
11838 xselect-convert-to-string.
11839 (xselect-convert-to-string): Use it.
11840 (xselect-convert-to-filename, xselect-convert-to-os)
11841 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11842 returned strings are properly encoded (Bug#11315).
11843
11844 2012-04-27 Chong Yidong <cyd@gnu.org>
11845
11846 * simple.el (delete-active-region): Move to killing custom group.
11847
11848 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11849
11850 * progmodes/which-func.el (which-func-current): Quote %
11851 characters for mode-line processing.
11852
11853 2012-04-27 Chong Yidong <cyd@gnu.org>
11854
11855 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11856 reaching eob (Bug#11286).
11857
11858 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11859
11860 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11861 (gdb): Make it buffer-local and init to zero.
11862 (gdb-control-commands-regexp): New variable.
11863 (gdb-send): Don't wrap in "-interpreter-exec console" if
11864 gdb-control-level is positive. Increment gdb-control-level
11865 whenever the command matches gdb-control-commands-regexp, and
11866 decrement it each time the command is "end". (Bug#11279)
11867
11868 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11869
11870 * window.el (adjust-window-trailing-edge, enlarge-window)
11871 (shrink-window, window-resize):
11872 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11873 windows (Bug#11276).
11874
11875 2012-04-27 Chong Yidong <cyd@gnu.org>
11876
11877 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11878 fix "missing prefix" warning. All callers changed.
11879
11880 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11881
11882 * emacs-lisp/assoc.el: Move to obsolete/.
11883
11884 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11885
11886 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11887
11888 * term/ns-win.el (ns-define-service):
11889 * progmodes/pascal.el (pascal-goto-defun):
11890 * progmodes/js.el (js--read-tab):
11891 * progmodes/etags.el (tags-lazy-completion-table):
11892 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11893 * emacs-lisp/ewoc.el (ewoc--wrap):
11894 * emacs-lisp/assoc.el (aput, adelete, amake):
11895 * doc-view.el (doc-view-convert-current-doc):
11896 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11897
11898 2012-04-26 Chong Yidong <cyd@gnu.org>
11899
11900 * image.el (image-type-from-buffer): Only return supported image
11901 type (Bug#9045).
11902
11903 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11904 value, for symmetry with diff-end-of-hunk.
11905 (diff-split-hunk, diff-find-source-location)
11906 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11907 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11908 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11909 compute the relevant hunk or file properly (Bug#6005).
11910 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11911
11912 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11913
11914 * vc/vc-mtn.el:
11915 * vc/vc-hg.el:
11916 * vc/vc-git.el:
11917 * vc/vc-dir.el:
11918 * vc/vc-cvs.el:
11919 * vc/vc-bzr.el:
11920 * vc/vc-arch.el:
11921 * vc/vc.el: Replace lexical-let by lexical-binding.
11922 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11923 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11924 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11925
11926 2012-04-26 Chong Yidong <cyd@gnu.org>
11927
11928 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11929 (diff-mode-shared-map): Bind it to / and [remap undo].
11930
11931 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11932 (ediff-window-setup-function): Use it as the default, to set up
11933 windows based on whether the current frame is graphical (Bug#2138).
11934 (ediff-choose-window-setup-function-automatically): Make obsolete.
11935
11936 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11937
11938 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11939
11940 * ffap.el: Remove old code for obsolete package.
11941 (ffap-complete-as-file-p): Remove.
11942
11943 Use completion-table-with-quoting for comint and pcomplete.
11944 * comint.el (comint--unquote&requote-argument)
11945 (comint--unquote-argument, comint--requote-argument): New functions.
11946 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11947 (comint-quote-filename): Use regexp-opt-charset.
11948 (comint--common-suffix, comint--common-quoted-suffix)
11949 (comint--table-subvert): Remove.
11950 (comint-unquote-function, comint-requote-function): New vars.
11951 (comint--complete-file-name-data): Use them with
11952 completion-table-with-quoting.
11953 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11954 * pcomplete.el (pcomplete-arg-quote-list)
11955 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11956 (pcomplete-unquote-argument-function): Default to non-nil.
11957 (pcomplete-unquote-argument): Simplify.
11958 (pcomplete--common-quoted-suffix): Remove.
11959 (pcomplete-requote-argument-function): New var.
11960 (pcomplete--common-suffix): New function.
11961 (pcomplete-completions-at-point): Use completion-table-with-quoting
11962 and completion-table-subvert.
11963
11964 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11965 (minibuffer--double-dollars): Preserve properties.
11966 (completion--sifn-requote): New function.
11967 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11968
11969 * minibuffer.el: Add support for completion of quoted/escaped data.
11970 (completion-table-with-quoting, completion-table-subvert): New funs.
11971 (completion--twq-try, completion--twq-all): New functions.
11972 (completion--nth-completion): New function.
11973 (completion-try-completion, completion-all-completions): Use it.
11974
11975 2012-04-25 Leo Liu <sdl.web@gmail.com>
11976
11977 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11978 Use compilation-message if available to find real filename.
11979
11980 2012-04-25 Chong Yidong <cyd@gnu.org>
11981
11982 * vc/diff-mode.el (diff-setup-whitespace): New function.
11983 (diff-mode): Use it.
11984
11985 * vc/diff.el (diff-sentinel):
11986 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11987 Whitespace mode variables based on diff style (Bug#8612).
11988
11989 2012-04-25 Leo Liu <sdl.web@gmail.com>
11990
11991 * progmodes/python.el (python-send-region): Add suffix .py to the
11992 temp file.
11993
11994 * files.el (auto-mode-alist): Use javascript-mode instead.
11995
11996 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11997
11998 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11999
12000 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12001 (soap-resolve-references-for-array-type): Hack to prevent self
12002 references, see Bug#9.
12003 (soap-parse-envelope): Report the contents of the 'detail' node
12004 when receiving a fault reply.
12005 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12006
12007 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12008 (soap-inspect-simple-type): New function.
12009
12010 * net/soap-client.el (soap-simple-type): New struct.
12011 (soap-default-xsd-types, soap-default-soapenc-types)
12012 (soap-decode-basic-type, soap-encode-basic-type):
12013 support unsignedInt and double basic types.
12014 (soap-resolve-references-for-simple-type)
12015 (soap-parse-simple-type, soap-encode-simple-type): New function.
12016 (soap-parse-schema): Parse xsd:simpleType declarations.
12017
12018 * net/soap-client.el (soap-default-xsd-types)
12019 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12020 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12021 the local name of "soapenc:Array".
12022 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12023 decoding integer, byte and anyURI xsd types.
12024
12025 2012-04-25 Chong Yidong <cyd@gnu.org>
12026
12027 * cus-edit.el (custom-buffer-create-internal): Update header text.
12028
12029 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12030
12031 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12032 settings on 'system-type', not on 'window-system'. On MS-Windows,
12033 set interactive-mode on in GDB.
12034
12035 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12036
12037 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12038 (ruby-syntax-propertize-regexp): Remove.
12039 (ruby-syntax-propertize-function): Split regexp into chunks.
12040 Match following code directly.
12041
12042 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12043
12044 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12045 (ruby-syntax-propertize-regexp): New function.
12046 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12047 by a special keyword.
12048
12049 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12050 (ruby-syntax-general-delimiters-goto-beg)
12051 (ruby-syntax-propertize-general-delimiters): New functions.
12052 (ruby-syntax-propertize-function): Use them to handle GDL.
12053 (ruby-font-lock-keywords): Move old handling of GDL...
12054 (ruby-font-lock-syntactic-keywords): .. to here.
12055 (ruby-calculate-indent): Adjust indentation for GDL.
12056
12057 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12058
12059 * notifications.el (top): Remove unneeded declarations.
12060 (notifications-specification-version): Change to "1.2".
12061 (notifications-interface, notifications-notify-method)
12062 (notifications-close-notification-method): Fix docstring.
12063 (notifications-get-capabilities-method): New defconst.
12064 (notifications-notify): Add :action-items, :resident and
12065 :transient hints. Change "image_data" to "image-data" and
12066 "image_path" to "image-path".
12067 (notifications-get-capabilities): New defun.
12068
12069 2012-04-24 Leo Liu <sdl.web@gmail.com>
12070
12071 * progmodes/python.el: Move hideshow setup to the end.
12072
12073 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12074
12075 * window.el (handle-select-window): Clear echo area since this is
12076 no more done by read_char (Bug#11304).
12077
12078 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12079
12080 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12081 and `/ M' to filter-derived-mode.
12082 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12083 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12084 (ibuffer-mark-by-mode): Use default rather than initial-input.
12085 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12086
12087 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12088
12089 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12090 (ibuffer-filter-by-derived-mode): New filter.
12091 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12092
12093 2012-04-23 Andreas Politz <politza@fh-trier.de>
12094
12095 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12096
12097 2012-04-23 Chong Yidong <cyd@gnu.org>
12098
12099 * cus-edit.el (customize-apropos, customize-apropos-options):
12100 Disable matching of non-option variables (Bug#11176).
12101 (customize-option, customize-option-other-window)
12102 (customize-changed-options): Doc fix.
12103 (customize-apropos-options, customize-apropos-faces)
12104 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12105
12106 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12107 Fix word list splitting (Bug#11132).
12108 (apropos-symbol, apropos-keybinding, apropos-label)
12109 (apropos-property, apropos-function-button)
12110 (apropos-variable-button, apropos-misc-button): New faces.
12111 (apropos-symbol-face, apropos-keybinding-face)
12112 (apropos-label-face, apropos-property-face, apropos-match-face):
12113 Variables removed (Bug#8396).
12114 (apropos-library-button, apropos-format-plist, apropos-print)
12115 (apropos-print-doc, apropos-describe-plist): Callers changed.
12116
12117 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12118
12119 * net/xesam.el (xesam-mode-map): Use let-bound map in
12120 initialization. (Bug#11292)
12121
12122 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12123
12124 Preserve ispell session localwords when switching back to
12125 original buffer.
12126
12127 * textmodes/ispell.el (ispell-buffer-session-localwords):
12128 New buffer-local variable to hold buffer session localwords.
12129 (ispell-kill-ispell): Add option 'clear to delete session
12130 localwords.
12131 (ispell-command-loop, ispell-change-dictionary)
12132 (ispell-buffer-local-words): Preserve session localwords when
12133 needed.
12134
12135 * textmodes/flyspell.el (flyspell-process-localwords)
12136 (flyspell-do-correct): Preserve session localwords when needed.
12137
12138 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12139
12140 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12141 using obsolete `translation-table-for-input'.
12142 (ispell-word, ispell-process-line, ispell-complete-word):
12143 Use plain `insert' instead of removed `ispell-insert-word'.
12144
12145 2012-04-22 Chong Yidong <cyd@gnu.org>
12146
12147 * cus-edit.el (custom-variable-menu)
12148 (custom-variable-reset-saved, custom-face-menu)
12149 (custom-face-reset-saved): If there is no saved value, make the
12150 "reset-saved" operation bring back the default (Bug#9509).
12151 (custom-face-state): Properly detect themed faces.
12152
12153 * faces.el (face-spec-set): Stop supporting deprecated form of
12154 third arg.
12155
12156 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12157
12158 Move functions from C to Lisp. Make non-blocking method calls
12159 the default. Implement further D-Bus standard interfaces.
12160
12161 * net/dbus.el (dbus-message-internal): Declare function.
12162 Remove unneeded function declarations.
12163 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12164 (dbus-message-type-method-return, dbus-message-type-error)
12165 (dbus-message-type-signal): Declare variables. Remove local
12166 definitions.
12167 (dbus-interface-dbus, dbus-interface-peer)
12168 (dbus-interface-introspectable, dbus-interface-properties)
12169 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12170 Adapt docstring.
12171 (dbus-interface-objectmanager): New defconst.
12172 (dbus-call-method, dbus-call-method-asynchronously)
12173 (dbus-send-signal, dbus-method-return-internal)
12174 (dbus-method-error-internal, dbus-register-service)
12175 (dbus-register-signal, dbus-register-method): New defuns, moved
12176 from dbusbind.c
12177 (dbus-call-method-handler, dbus-setenv)
12178 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12179 New defuns.
12180 (dbus-call-method-non-blocking): Make it an obsolete function.
12181 (dbus-unregister-object, dbus-unregister-service)
12182 (dbus-handle-event, dbus-register-property)
12183 (dbus-property-handler): Obey the new structure of
12184 `bus-registered-objects'.
12185 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12186 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12187 Use `dbus-call-method'.
12188
12189 2012-04-22 Chong Yidong <cyd@gnu.org>
12190
12191 * cus-edit.el (custom-commands, custom-reset-menu)
12192 (Custom-reset-standard): Tweak labels.
12193 (custom-reset-button-menu): Change default to t.
12194 (custom-buffer-create-internal): For the custom-reset-button-menu
12195 case, put the revert button first.
12196 (custom-group-subtitle): New face.
12197 (custom-group-value-create): Align docstring to a specific column.
12198
12199 * wid-edit.el (widget-documentation-link-add): Don't handle
12200 indentation in this function.
12201 (widget-documentation-string-indent-to): New function.
12202 (widget-documentation-string-value-create): Use it.
12203
12204 * autorevert.el (auto-revert):
12205 * epg-config.el (epg):
12206 * ibuffer.el (ibuffer):
12207 * mpc.el (mpc):
12208 * ses.el (ses):
12209 * eshell/eshell.el (eshell):
12210 * net/ange-ftp.el (ange-ftp):
12211 * progmodes/ebnf2ps.el (postscript):
12212 * progmodes/flymake.el (flymake):
12213 * progmodes/prolog.el (prolog):
12214 * progmodes/verilog-mode.el (verilog-mode):
12215 * progmodes/which-func.el (which-func):
12216 * term/xterm.el (xterm):
12217 * textmodes/picture.el (picture):
12218 * textmodes/tildify.el (tildify):
12219 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12220 customization buffers.
12221
12222 2012-04-22 Alan Mackenzie <acm@muc.de>
12223
12224 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12225 Adding a ) can hide the resulting (..) from searches. Fix it.
12226 Bound the backward search to the position of the existing (.
12227
12228 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12229
12230 * progmodes/verilog-mode.el (verilog-mode): Check whether
12231 which-func-modes is t before adding verilog-mode.
12232 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12233
12234 2012-04-21 Leo Liu <sdl.web@gmail.com>
12235
12236 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12237
12238 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12239
12240 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12241 filling of the last column of a table (Bug#5635).
12242 (woman-find-next-control-line): New arg, specifying an additional
12243 regexp component for the control line.
12244 (woman2-roff-buffer): Use it.
12245 (woman-break-table): New function.
12246 (woman2-TS): Use it.
12247
12248 2012-04-21 Chong Yidong <cyd@gnu.org>
12249
12250 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12251 (woman-horizontal-escapes, woman-negative-vertical-space)
12252 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12253 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12254
12255 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12256
12257 * minibuffer.el (completion-file-name-table): Complete user names.
12258
12259 2012-04-20 Leo Liu <sdl.web@gmail.com>
12260
12261 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12262 and pcase-let*.
12263
12264 2012-04-20 Chong Yidong <cyd@gnu.org>
12265
12266 * server.el (server-execute): Respect initial-buffer-choice if it
12267 is a string and there are no files to open (Bug#2825).
12268 (server-create-window-system-frame, server-create-tty-frame):
12269 Don't switch buffers here.
12270 (server-process-filter): Only try to open a window system frame if
12271 compiled with graphical support (Bug#8314).
12272
12273 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12274
12275 * battery.el (battery-echo-area-format): Display remaining time
12276 for sysfs backend too (Bug#11269).
12277 (battery-linux-sysfs): Fix conditional for the charge.
12278
12279 2012-04-20 Chong Yidong <cyd@gnu.org>
12280
12281 * progmodes/gdb-mi.el (gdb): Revert previous change.
12282 (gdb-inferior-io--init-proc): New function.
12283 (gdb-init-1): Use it.
12284 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12285 responsible for allocating a new pty and hooking it to gdb when
12286 the old pty gets an EIO due to process exit.
12287 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12288 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12289 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12290
12291 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12292
12293 * window.el (window-min-size, window-sizable, window-min-delta)
12294 (window-max-delta, window--resizable, window-resizable)
12295 (window-total-size, window-full-height-p, window-full-width-p)
12296 (window-in-direction, window--resize-mini-window, window-resize)
12297 (window--resize-child-windows-normal)
12298 (window--resize-child-windows, window--resize-siblings)
12299 (window--resize-this-window, adjust-window-trailing-edge)
12300 (enlarge-window, shrink-window): Doc fixes.
12301
12302 2012-04-20 Chong Yidong <cyd@gnu.org>
12303
12304 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12305 New function to call delete-process on the gdb-inferior buffer's pty.
12306 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12307 pty process (Bug#11273).
12308 (gdb-update): New arg to suppress talking to the gdb process.
12309 (gdb-done-or-error): Use it.
12310 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12311 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12312 sentinel not being called.
12313
12314 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12315
12316 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12317
12318 2012-04-20 Glenn Morris <rgm@gnu.org>
12319
12320 * net/network-stream.el (open-network-stream): Doc fix.
12321
12322 2012-04-20 Chong Yidong <cyd@gnu.org>
12323
12324 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12325
12326 2012-04-20 Alan Mackenzie <acm@muc.de>
12327
12328 Ensure searching for keywords is case sensitive.
12329
12330 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12331 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12332 (c-defun-name, c-mark-function, c-cpp-define-name)
12333 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12334 (c-context-line-break): Bind case-fold-search to nil.
12335
12336 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12337 Bind case-fold-search to nil.
12338
12339 2012-04-20 Chong Yidong <cyd@gnu.org>
12340
12341 * mail/sendmail.el (mail-bury): Call return action with the right
12342 Rmail buffer (Bug#11242).
12343
12344 * server.el (server-process-filter): Handle corner case where both
12345 tty and nowait options are present (Bug#11102).
12346
12347 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12348
12349 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12350 (top level): Put into the executable the ident-style '$Id:' tag on
12351 windows-nt as well.
12352
12353 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12354
12355 * electric.el (electric-indent-post-self-insert-function): Check that
12356 electric-indent-mode is enabled in current buffer.
12357
12358 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12359
12360 * imenu.el (imenu-progress-message): Restore; it is "used" in
12361 erc/erc-imenu.el and net/snmp-mode.el.
12362
12363 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12364
12365 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12366 (mouse-avoidance-nudge-mouse): Remove unused binding.
12367
12368 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12369
12370 * descr-text.el (describe-char):
12371 * progmodes/python.el (python-describe-symbol):
12372 Don't call `toggle-read-only', set `buffer-read-only'.
12373
12374 * imenu.el (imenu-default-goto-function): Mark unused args.
12375 (imenu-progress-message): Remove obsolete macro; all callers changed.
12376
12377 * subr.el (keymap-canonicalize): Remove unused binding.
12378 (read-passwd): Mark unused arg.
12379
12380 * tutorial.el (tutorial--display-changes): Remove unused binding.
12381 (tutorial--save-tutorial-to): Remove unused variable.
12382
12383 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12384 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12385 (package-generate-autoloads, package-menu--generate)
12386 (package-menu--find-upgrades): Remove unused bindings.
12387
12388 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12389 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12390 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12391 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12392 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12393 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12394 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12395 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12396 (cua-delete-char-rectangle): Mark unused args.
12397 (cua-align-rectangle): Remove unused binding.
12398
12399 * mail/rmail.el (compilation--message->loc)
12400 (epa--find-coding-system-for-mime-charset): Declare.
12401
12402 * net/dbus.el (dbus-register-service): Declare.
12403 (dbus-name-owner-changed-handler): Remove unused binding.
12404
12405 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12406 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12407 (nxml-scan-backward-within): Mark unused arg.
12408 (nxml-dynamic-markup-word): Remove unused binding.
12409
12410 * mouse.el (mouse-menu-major-mode-map):
12411 * emacs-lisp/authors.el (authors-scan-change-log)
12412 (authors-add-to-author-list):
12413 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12414 * emacs-lisp/smie.el (smie-auto-fill):
12415 * mail/sendmail.el (mail-bury):
12416 * mail/unrmail.el (unrmail):
12417 * net/tls.el (open-tls-stream):
12418 * textmodes/picture.el (picture-mouse-set-point):
12419 Remove unused bindings.
12420
12421 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12422
12423 * net/tramp.el (tramp-action-password): Let-bind
12424 `enable-recursive-minibuffers' to t.
12425
12426 2012-04-18 Sam Steingold <sds@gnu.org>
12427
12428 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12429 instead of 'string to accommodate values like [f11].
12430 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12431 * progmodes/gdb-mi.el: Likewise.
12432
12433 2012-04-18 Leo Liu <sdl.web@gmail.com>
12434
12435 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12436 current buffer.
12437 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12438 LOCAL is nil.
12439
12440 2012-04-18 Chong Yidong <cyd@gnu.org>
12441
12442 * simple.el (line-move): Use forward-line if in batch mode
12443 (Bug#11053).
12444
12445 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12446
12447 * files.el (after-find-file): Do not try to add a final newline if
12448 the buffer is read-only (Bug#11156).
12449
12450 2012-04-17 Richard Stallman <rms@gnu.org>
12451
12452 * mail/rmail.el (rmail-start-mail):
12453 Pass (rmail-mail-return...) for the return-action.
12454 Pass (rmail-yank-current-message...) for the yank-action.
12455 (rmail-yank-current-message): New function.
12456 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12457 (rmail-reply): Likewise.
12458 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12459
12460 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12461 buffer, not the last. Reject temp buffers. Use the rmail-mode
12462 buffer, not newbuf.
12463
12464 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12465
12466 * server.el (server-ensure-safe-dir): Simplify.
12467
12468 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12469
12470 * emacs-lisp/smie.el: Provide smarter auto-filling.
12471 (smie-auto-fill): New function.
12472 (smie-setup): Use it.
12473
12474 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12475
12476 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12477
12478 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12479 (comment-indent): Use it.
12480
12481 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12482
12483 * ses.el: The overall change is to add cell renaming, that is
12484 setting fancy names for cell symbols other than name matching
12485 "\\`[A-Z]+[0-9]+\\'" regexp .
12486 (ses-localvars): Add ses--renamed-cell-symb-list.
12487 (ses-create-cell-variable): New defun.
12488 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12489 (ses-relocate-formula): Relocate formulas only for cells the
12490 symbols of which are not renamed, i.e. symbols whose names do not
12491 match regexp "\\`[A-Z]+[0-9]+\\'".
12492 (ses-relocate-all): Relocate values only for cells the symbols of
12493 which are not renamed.
12494 (ses-load): Create cells variables as the (ses-cell ...) are read,
12495 in order to check row col consistency with cell symbol name only
12496 for cells that are not renamed.
12497 (ses-replace-name-in-formula): New defun.
12498 (ses-rename-cell): New defun.
12499
12500 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12501
12502 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12503 New option (bug#11118).
12504 (perl-calculate-indent): Respect it.
12505
12506 2012-04-17 Glenn Morris <rgm@gnu.org>
12507
12508 * dired-aux.el (dired-mark-read-string): Doc fix.
12509
12510 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12511
12512 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12513 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12514
12515 2012-04-17 Glenn Morris <rgm@gnu.org>
12516
12517 * mouse.el (mouse-drag-track):
12518 * speedbar.el (speedbar-frame-mode):
12519 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12520
12521 2012-04-16 Leo Liu <sdl.web@gmail.com>
12522
12523 * progmodes/python.el: Trivial cleanup.
12524
12525 2012-04-16 Glenn Morris <rgm@gnu.org>
12526
12527 * vc/vc.el (vc-string-prefix-p):
12528 * vc/pcvs-util.el (cvs-string-prefix-p):
12529 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12530 * mpc.el (mpc-string-prefix-p):
12531 Make all of these into obsolete aliases for string-prefix-p.
12532 Update callers.
12533 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12534
12535 * textmodes/two-column.el: Move custom options to the start.
12536 (frame-width): Remove compat definition.
12537 (2C-associate-buffer, 2C-dissociate):
12538 Use with-current-buffer rather than save-excursion.
12539 (2C-dissociate): Force a mode-line update.
12540 (2C-autoscroll): Use ignore-errors.
12541
12542 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12543 Autoload trivia.
12544
12545 * emacs-lisp/cl-extra.el (*random-state*):
12546 Remove unnecessary declaration.
12547
12548 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12549
12550 * play/cookie1.el (cookie-snarf):
12551 Give an explicit error if input file cannot be read.
12552
12553 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12554
12555 * progmodes/perl-mode.el (c-macro-expand):
12556 Remove unnecessary autoload (it is in loaddefs.el).
12557
12558 * textmodes/picture.el (picture-desired-column)
12559 (picture-update-desired-column): Convert comments to doc-strings.
12560 (picture-substitute): Remove function.
12561 (picture-mode-map): Initialize in the defvar.
12562
12563 * woman.el: Remove eval-after-load for tar-mode.
12564 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12565 (woman-tar-extract-file): Autoload it.
12566
12567 * frame.el (automatic-hscrolling): Make this alias obsolete.
12568
12569 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12570
12571 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12572 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12573 (ispell-dictionary-base-alist): Revert to original XEmacs
12574 friendly version for default. [:alpha:] will be added in
12575 `ispell-set-spellchecker-params' if needed.
12576
12577 2012-04-16 Chong Yidong <cyd@gnu.org>
12578
12579 * image.el (imagemagick--file-regexp): New variable.
12580 (imagemagick-register-types): Use it.
12581 (imagemagick-types-inhibit): Add :set function. Allow new value
12582 of t to inhibit all types.
12583
12584 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12585 so we can preload it.
12586
12587 * loadup.el (fboundp): Preload regexp-opt, needed by
12588 imagemagick-register-types.
12589
12590 2012-04-15 Chong Yidong <cyd@gnu.org>
12591
12592 * frame.el (scrolling): Remove nearly unused customization group.
12593
12594 * scroll-all.el (scroll-all-mode): Move to windows group.
12595
12596 2012-04-15 Chong Yidong <cyd@gnu.org>
12597
12598 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12599
12600 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12601
12602 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12603 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12604
12605 2012-04-15 Glenn Morris <rgm@gnu.org>
12606
12607 * simple.el (process-file-side-effects): Doc fix.
12608
12609 2012-04-15 Glenn Morris <rgm@gnu.org>
12610
12611 * international/mule-cmds.el (set-language-environment): Doc fix.
12612
12613 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12614
12615 * server.el (server-auth-key, server-generate-key): Doc fixes.
12616 (server-get-auth-key): Doc fix. Use `string-match-p'.
12617 (server-start): Reflow docstring.
12618
12619 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12620
12621 * server.el (server-generate-key): `called-interactively-p'
12622 requires a parameter.
12623
12624 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12625
12626 * server.el (server-auth-key): New variable.
12627 (server-generate-key, server-get-auth-key): New function.
12628 (server-start): Use the new variable and functions to allow
12629 setting a permanent server key (bug#9423).
12630
12631 2012-04-14 Leo Liu <sdl.web@gmail.com>
12632
12633 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12634
12635 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12636
12637 Spelling fixes.
12638 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12639 Emacs uses American spelling.
12640
12641 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12642
12643 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12644 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12645 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12646 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12647
12648 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12649
12650 * progmodes/which-func.el (which-func-modes): Change default.
12651
12652 2012-04-14 Kim F. Storm <storm@cua.dk>
12653
12654 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12655 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12656
12657 2012-04-14 Chong Yidong <cyd@gnu.org>
12658
12659 * custom.el (custom-theme-set-variables): Doc fix.
12660
12661 2012-04-14 Glenn Morris <rgm@gnu.org>
12662
12663 * international/mule.el (set-auto-coding-for-load): Doc fix.
12664
12665 2012-04-14 Alan Mackenzie <acm@muc.de>
12666
12667 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12668 imenu work again for Objective C Mode. Correct the *-index values,
12669 these having been disturbed by a previous change in 2011-08.
12670
12671 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12672 Correct two search limits.
12673
12674 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12675
12676 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12677
12678 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12679
12680 * international/characters.el: Fix sorting.
12681
12682 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12683
12684 * international/characters.el: Add more missing Latin case pairs.
12685
12686 2012-04-14 Glenn Morris <rgm@gnu.org>
12687
12688 * files.el (dir-locals-set-class-variables): Doc fix.
12689
12690 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12691
12692 * international/characters.el: Add set-case-syntax-pair call for
12693 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12694 counterpart. (Bug#11209)
12695
12696 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12697
12698 2012-04-14 Glenn Morris <rgm@gnu.org>
12699
12700 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12701
12702 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12703
12704 * textmodes/ispell.el (ispell-dictionary-base-alist):
12705 Add data for Hebrew.
12706
12707 2012-04-14 Chong Yidong <cyd@gnu.org>
12708
12709 * net/rcirc.el (rcirc-cmd-quit):
12710 Revert 2012-03-18 change (Bug#11192).
12711
12712 2012-04-14 Glenn Morris <rgm@gnu.org>
12713
12714 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12715
12716 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12717
12718 * minibuffer.el (completion-in-region-mode-map):
12719 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12720
12721 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12722
12723 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12724
12725 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12726
12727 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12728 to allow `C-M-f' and `C-M-b' to move to the nearest path
12729 separator (bug#9511).
12730
12731 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12732
12733 * avoid.el: Require cl when compiling. And also move the
12734 `provide' to the end.
12735
12736 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12737
12738 * avoid.el (mouse-avoidance-banish-position): New variable.
12739 (mouse-avoidance-banish-destination): Use it (bug#10165).
12740
12741 2012-04-13 Leo Liu <sdl.web@gmail.com>
12742
12743 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12744
12745 2012-04-13 Ken Brown <kbrown@cornell.edu>
12746
12747 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12748 this is no longer needed now that cygstart understands file:// URLs.
12749 (browse-url-filename-alist): For the same reason, don't modify
12750 file:// URLs on Cygwin.
12751
12752 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12753
12754 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12755 the region on shift if the binding is already shifted (bug#11221).
12756
12757 2012-04-12 Glenn Morris <rgm@gnu.org>
12758
12759 * mail/mailpost.el: Move to obsolete/.
12760
12761 2012-04-12 Drew Adams <drew.adams@oracle.com>
12762
12763 * imenu.el (imenu--generic-function): Ignore invisible definitions
12764 (bug#10123).
12765
12766 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12767
12768 * hexl.el (hexl-bits): New variable.
12769 (hexl-options): Mention the variable in the doc string.
12770 (hexl-rulerise, hexl-line-displen): New functions.
12771 (hexl-mode): Mention the new variable.
12772 (hexl-mode, hexl-current-address, hexl-current-address):
12773 Use the displen.
12774 (hexl-ascii-start-column): New function.
12775 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12776 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12777
12778 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12779
12780 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12781 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12782 the encoding, as expected by hunspell.
12783
12784 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12785
12786 * battery.el (battery--linux-sysfs-regexp): New const.
12787 (battery-status-function): Use it. Remove yeeloong special case.
12788 (battery-yeeloong-sysfs): Remove.
12789 (battery-echo-area-format): Remove yeeloong special case.
12790
12791 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12792
12793 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12794 Reported by Noah Friedman.
12795
12796 * subr.el (read-passwd): Use read-string.
12797
12798 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12799
12800 * vcursor.el (vcursor-move): Increase the priority of the overlay
12801 (bug#9663).
12802
12803 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12804
12805 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12806 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12807
12808 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12809
12810 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12811 define-minor-mode (bug#10760).
12812
12813 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12814
12815 * progmodes/grep.el (rgrep): Tweak the find command line so
12816 that directories matching `grep-find-ignored-files' won't be
12817 pruned (bug#10351).
12818
12819 2012-04-11 Chong Yidong <cyd@gnu.org>
12820
12821 * startup.el (command-line): Remove support for long-obsolete
12822 variable font-lock-face-attributes.
12823
12824 2012-04-11 Glenn Morris <rgm@gnu.org>
12825
12826 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12827
12828 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12829
12830 * window.el (window--state-get-1): Obey window-point-insertion-type.
12831
12832 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12833
12834 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12835 to previous function when point is on the first character of a
12836 function. Take care of that in `narrow-to-defun' (bug#6157).
12837
12838 2012-04-11 Glenn Morris <rgm@gnu.org>
12839
12840 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12841 not just file-errors.
12842
12843 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12844 (vc-bzr-sha1): Use internal sha1.
12845
12846 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12847
12848 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12849
12850 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12851
12852 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12853 that start in the middle of the line (bug#10496).
12854
12855 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12856
12857 * battery.el (battery-linux-proc-acpi): Only one battery is
12858 discharged at a time, but that seems to confuse battery.el when
12859 computing `rate-type' for the battery not being discharged
12860 (bug#10332).
12861
12862 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12863
12864 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12865
12866 * international/quail.el: Use dolist and simplify.
12867 (quail-define-package, quail-update-keyboard-layout)
12868 (quail-define-rules): Use dolist.
12869 (quail-insert-kbd-layout, quail-get-translation): CSE.
12870
12871 * tmm.el: Use dolist, remove left over hook.
12872 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12873 Use dolist.
12874 (calendar-load-hook): Don't mess with it.
12875
12876 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12877 Use derived-mode-p. Run the diff asynchronously.
12878
12879 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12880
12881 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12882
12883 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12884
12885 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12886 (list-dynamic-libraries--loaded): New function.
12887 (list-dynamic-libraries--refresh): Use it.
12888
12889 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12890
12891 * progmodes/python.el (python-fill-paragraph):
12892 Make python-fill-region in a multiline string work when font-lock is
12893 disabled (bug#7018).
12894
12895 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12896
12897 * language/european.el (cp775): Add oem/legacy (en)coding on
12898 DOS/MS Windows for the Baltic languages. There are still plenty
12899 of texts written in this encoding/codepage (bug#6519).
12900
12901 2012-04-10 Glenn Morris <rgm@gnu.org>
12902
12903 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12904 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12905
12906 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12907
12908 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12909 next-line "n" and previous-line "p" in order to make recentf more
12910 consistent with ibuffer, dired or org-mode (bug#9387).
12911
12912 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12913
12914 * image.el (put-image): Return the overlay created instead of the
12915 optional input string (bug#7834). Note that this may break code
12916 that is (for some reason or other) depending on `put-image'
12917 returning the string.
12918
12919 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12920
12921 * simple.el (zap-to-char): Allow zapping using input methods
12922 (bug#1580).
12923
12924 * textmodes/fill.el (fill-region): Leave point and mark where they
12925 were before filling (bug#5399).
12926
12927 2012-04-09 Glenn Morris <rgm@gnu.org>
12928
12929 * version.el (emacs-bzr-get-version):
12930 Handle lightweight checkouts of local branches.
12931
12932 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12933
12934 * international/characters.el: Recover lost case pairs. (Bug#11209)
12935
12936 2012-04-09 Chong Yidong <cyd@gnu.org>
12937
12938 * custom.el (custom-variable-p): Return nil for non-symbol
12939 arguments instead of signaling an error.
12940 (user-variable-p): Obsolete alias for custom-variable-p.
12941
12942 * apropos.el (apropos-variable):
12943 * files-x.el (read-file-local-variable):
12944 * simple.el (set-variable):
12945 * woman.el (woman-mini-help):
12946 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12947
12948 2012-04-09 Glenn Morris <rgm@gnu.org>
12949
12950 * startup.el (normal-top-level): Don't look for leim-list.el
12951 in places where it will not be found. (Bug#910)
12952
12953 * international/mule-cmds.el (set-default-coding-systems):
12954 * files.el (normal-mode):
12955 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12956 This function was removed with ucs-tables.el in 2008.
12957
12958 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12959
12960 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12961 ispell-encoding8-command to "-i", without a trailing space.
12962 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12963 separate command-line arguments, to specify the encoding, since
12964 that's how hunspell expects it.
12965
12966 2012-04-08 Glenn Morris <rgm@gnu.org>
12967
12968 * loadup.el: Load bindings before cus-start.
12969 This reduces somewhat the number of "rogue" settings in emacs -Q.
12970
12971 2012-04-07 Glenn Morris <rgm@gnu.org>
12972
12973 * version.el (emacs-bzr-get-version): New function.
12974 (emacs-bzr-version): New variable.
12975 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12976 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12977
12978 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12979
12980 * international/uni-bidi.el, international/uni-category.el:
12981 * international/uni-combining.el, international/uni-decimal.el:
12982 * international/uni-decomposition.el, international/uni-digit.el:
12983 * international/uni-lowercase.el, international/uni-mirrored.el:
12984 * international/uni-name.el, international/uni-numeric.el:
12985 * international/uni-titlecase.el, international/uni-uppercase.el:
12986 Update for Unicode 6.1.
12987
12988 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12989
12990 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12991
12992 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12993
12994 * window.el (shrink-window): Mention the `window-min-height'
12995 variable in the doc string.
12996
12997 2012-04-05 Bastien Guerry <bzg@altern.org>
12998
12999 * color.el (color-lighten-name): Fix typo.
13000
13001 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13002
13003 * server.el (server--on-display-p): New function.
13004 (server--on-display-p): Use it.
13005
13006 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13007
13008 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13009 (bug#11145).
13010
13011 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13012
13013 * comint.el (comint--common-quoted-suffix): Check string boundary
13014 before comparing (bug#11158).
13015 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13016
13017 2012-04-04 Chong Yidong <cyd@gnu.org>
13018
13019 * minibuffer.el (completion-extra-properties): Doc fix.
13020
13021 * subr.el (delayed-warnings-hook): Doc fix.
13022
13023 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13024
13025 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13026 selection (Bug#11159).
13027 (epa-insert-keys): Inform that the default public key will be
13028 exported if no key is selected.
13029
13030 2012-04-04 Richard Stallman <rms@gnu.org>
13031
13032 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13033
13034 2012-04-03 Chong Yidong <cyd@gnu.org>
13035
13036 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13037 mail-insert-file, not its obsolete alias mail-attach-file.
13038
13039 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13040
13041 * notifications.el (notifications-notify): Fix docstring.
13042
13043 2012-04-02 Glenn Morris <rgm@gnu.org>
13044
13045 * emacs-lisp/authors.el (authors-aliases): Another addition.
13046
13047 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13048
13049 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13050 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13051 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13052
13053 2012-04-01 Chong Yidong <cyd@gnu.org>
13054
13055 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13056 Handle root directory properly.
13057 (copy-directory): Caller changed.
13058
13059 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13060 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13061
13062 2012-03-31 Glenn Morris <rgm@gnu.org>
13063
13064 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13065
13066 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13067
13068 * calendar/calendar.el (calendar-window-list)
13069 (calendar-hide-window): Restore. (Bug#11140)
13070 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13071
13072 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13073
13074 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13075
13076 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13077 Check if file is a symlink (Bug#10489).
13078
13079 * files.el (copy-directory): Likewise.
13080
13081 2012-03-30 Chong Yidong <cyd@gnu.org>
13082
13083 * image.el (imagemagick-types-inhibit)
13084 (imagemagick-register-types): Doc fix.
13085
13086 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13087
13088 * textmodes/ispell.el (ispell-get-extended-character-mode):
13089 Disable extended-char-mode for hunspell. hunspell does not support it
13090 and treats ~word as ordinary words in pipe mode.
13091
13092 2012-03-30 Glenn Morris <rgm@gnu.org>
13093
13094 * tutorial.el (help-with-tutorial): Ensure local variables don't
13095 happen to make the buffer read-only. (Bug#11127)
13096
13097 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13098
13099 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13100 (perl-calculate-indent): Return `noindent' in strings.
13101
13102 2012-03-28 Sam Steingold <sds@gnu.org>
13103
13104 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13105 instead of the broken adhockery which does not prevent calendar
13106 buffers from being displayed at random after exit.
13107 (calendar-window-list, calendar-hide-window): Remove the broken
13108 adhockery.
13109
13110 2012-03-28 Glenn Morris <rgm@gnu.org>
13111
13112 * replace.el (query-replace-map): Doc fix.
13113
13114 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13115
13116 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13117 contents. (Bug#11109)
13118
13119 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13120
13121 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13122 (bug#11077).
13123 (avl-tree--check, avl-tree--check-node): New funs.
13124
13125 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13126
13127 * window.el (switch-to-visible-buffer): New option.
13128 (switch-to-prev-buffer, switch-to-next-buffer):
13129 Observe switch-to-visible-buffer. Make sure that checking for a window
13130 showing a buffer already is done on the same frame.
13131
13132 2012-03-27 Glenn Morris <rgm@gnu.org>
13133
13134 * startup.el (mail-host-address): Doc fix.
13135
13136 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13137
13138 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13139 than 197 variables.
13140
13141 2012-03-26 Ami Fischman <ami@fischman.org>
13142
13143 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13144
13145 2012-03-26 Glenn Morris <rgm@gnu.org>
13146
13147 * files.el (save-buffers-kill-emacs): Doc fix.
13148
13149 * startup.el (normal-top-level, command-line, command-line-1):
13150 Give them doc strings.
13151
13152 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13153
13154 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13155 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13156
13157 2012-03-25 Chong Yidong <cyd@gnu.org>
13158
13159 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13160 theme if it was previously enabled before (Bug#11031).
13161
13162 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13163 spec with custom-face-get-current-spec if its :shown-value is not
13164 determined yet (Bug#9337).
13165 (customize-create-theme, custom-theme-revert): Doc fixes.
13166
13167 * button.el (button-at): Minor addition to docstring.
13168
13169 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13170
13171 * vc/vc.el (vc-merge): Fix a prompt.
13172
13173 2012-03-24 Chong Yidong <cyd@gnu.org>
13174
13175 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13176 point (Bug#9623).
13177
13178 * button.el (button-at): Minor addition to docstring.
13179
13180 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13181
13182 * newcomment.el (comment-choose-indent): No space after BOL.
13183
13184 2012-03-22 Sam Steingold <sds@gnu.org>
13185
13186 * window.el (switch-to-prev-buffer): Revert last patch because the
13187 bug turned out to be an advertised feature (Elisp manual 28.14).
13188
13189 2012-03-22 Glenn Morris <rgm@gnu.org>
13190
13191 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13192 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13193
13194 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13195
13196 * net/network-stream.el (network-stream-open-starttls): Make error
13197 message under Windows be less misleading.
13198
13199 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13200
13201 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13202 understands (bug#9942).
13203
13204 2012-03-22 Chong Yidong <cyd@gnu.org>
13205
13206 * simple.el (end-of-visible-line): Handle return value of
13207 next-single-property-change properly (Bug#9371).
13208
13209 2012-03-22 Kenichi Handa <handa@m17n.org>
13210
13211 * international/quail.el (quail-insert-kbd-layout): Fix previous
13212 change. To avoid unwanted bidi reordering, use
13213 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13214
13215 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13216
13217 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13218 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13219 (ruby-beginning-of-indent): Be more careful with the difference
13220 between word-boundary and symbol boundary.
13221 (ruby-mode-syntax-table): Make : a symbol constituent.
13222
13223 2012-03-21 Andreas Politz <politza@fh-trier.de>
13224
13225 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13226
13227 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13228
13229 * progmodes/etags.el (tags-completion-at-point-function):
13230 Improve last fix.
13231
13232 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13233
13234 2012-03-21 Sam Steingold <sds@gnu.org>
13235
13236 * progmodes/etags.el (tags-completion-at-point-function):
13237 Avoid the error when point is inside the pattern.
13238
13239 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13240
13241 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13242 line (Bug#10855).
13243
13244 2012-03-21 Drew Adams <drew.adams@oracle.com>
13245
13246 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13247
13248 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13249
13250 * ido.el (ido-set-current-directory, ido-read-internal)
13251 (ido-choose-completion-string, ido-completion-help): Handle nil
13252 value of ido-completion-buffer (Bug#11008).
13253
13254 2012-03-21 Sam Steingold <sds@gnu.org>
13255
13256 * window.el (switch-to-prev-buffer): Do not switch to a visible
13257 window previous buffer, just like with the frame previous buffers.
13258
13259 2012-03-21 Chong Yidong <cyd@gnu.org>
13260
13261 * faces.el (make-face, make-empty-face, copy-face):
13262 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13263 Doc fixes.
13264
13265 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13266
13267 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13268 (widget-complete): Remove broken use of it.
13269
13270 2012-03-20 Chong Yidong <cyd@gnu.org>
13271
13272 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13273 Use string-width and truncate-string-width to handle arbitrary
13274 characters.
13275
13276 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13277
13278 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13279 to draw rectangles, not squares. (Regression introduced by revno
13280 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13281
13282 2012-03-18 Chong Yidong <cyd@gnu.org>
13283
13284 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13285 it is not yet defined (for temacs).
13286
13287 2012-03-18 Leo Liu <sdl.web@gmail.com>
13288
13289 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13290 prefix.
13291
13292 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13293
13294 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13295 (ispell-choices-win-default-height, ispell-silently-savep)
13296 (ispell-dictionary-alist, ispell-encoding8-command)
13297 (ispell-check-version, ispell-aspell-find-dictionary)
13298 (ispell-valid-dictionary-list, ispell-words-keyword)
13299 (ispell-get-word, ispell-internal-change-dictionary)
13300 (ispell-region, ispell-skip-region-list)
13301 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13302 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13303 (ispell-message-text-end, ispell-message)
13304 (ispell-buffer-local-parsing): Doc fix.
13305
13306 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13307
13308 * htmlfontify.el: Add support for code block fontification for ODT
13309 export (Bug #9914).
13310 (hfy-optimisations): Define new option
13311 `body-text-only'
13312 (hfy-fontify-buffer): Honor above setting.
13313 (hfy-begin-span, hfy-end-span): New routines factored out form
13314 `hfy-fontify-buffer'.
13315 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13316 that permit insertion of custom tags.
13317 (hfy-fontify-buffer): Use above handlers.
13318 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13319 (hfy-face-to-css): Re-defined to be a variable.
13320 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13321 over multiple runs. This is made possible by having the caller let
13322 bind a special variable `hfy-user-sheet-assoc'.
13323 (htmlfontify-string): New defun.
13324 (hfy-compile-face-map): Make sure that the last char in the
13325 buffer is correctly fontified.
13326 (hfy-face-resolve-face): Whitespace only change.
13327
13328 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13329
13330 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13331 message more clear.
13332
13333 2012-03-16 Leo Liu <sdl.web@gmail.com>
13334
13335 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13336
13337 2012-03-16 Alan Mackenzie <acm@muc.de>
13338
13339 Further optimize the handling of large macros.
13340
13341 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13342 limit to a call of `c-literal-limits'.
13343 (c-determine-+ve-limit): New function.
13344 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13345 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13346 In CASE 5B, restrict a search limit to 500.
13347 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13348
13349 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13350 Restrict macro bounds to +-500 from after-change's BEG END.
13351
13352 2012-03-16 Leo Liu <sdl.web@gmail.com>
13353
13354 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13355
13356 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13357
13358 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13359 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13360
13361 2012-03-16 Glenn Morris <rgm@gnu.org>
13362
13363 * view.el (view-buffer, view-buffer-other-window)
13364 (view-buffer-other-frame): Doc fixes re special mode-class.
13365
13366 * subr.el (eval-after-load): If named feature is provided not from
13367 a file, run after-load forms. (Bug#10946)
13368
13369 * calendar/calendar.el (calendar-insert-at-column):
13370 Handle non-unit-width characters a bit better. (Bug#10978)
13371
13372 2012-03-15 Chong Yidong <cyd@gnu.org>
13373
13374 * emacs-lisp/ring.el (ring-extend): New function.
13375 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13376
13377 * comint.el (comint-read-input-ring)
13378 (comint-add-to-input-history): Grow comint-input-ring lazily.
13379
13380 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13381
13382 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13383 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13384
13385 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13386 (imenu-add-to-menubar): Don't add a redundant index.
13387 (imenu-update-menubar): Handle a dynamically composed keymap.
13388
13389 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13390
13391 * mail/sendmail.el (mail-encode-header):
13392 Bind rfc2047-encode-encoded-words to nil.
13393
13394 2012-03-13 Glenn Morris <rgm@gnu.org>
13395
13396 * calendar/calendar.el (calendar-string-spread):
13397 Handle non-unit-width characters a bit better. (Bug#10978)
13398
13399 2012-03-13 Leo Liu <sdl.web@gmail.com>
13400
13401 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13402 directory and file as argument (Bug#10822).
13403
13404 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13405
13406 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13407 For dynamically generated code, follow $PC.
13408 (gdb-disassembly-handler-custom): Handle no function name case.
13409
13410 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13411
13412 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13413 * emulation/ws-mode.el (ws-query-replace):
13414 * sort.el (sort-regexp-fields):
13415 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13416
13417 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13418
13419 * dabbrev.el: Fix cycle completion order (bug#10963).
13420 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13421 (dabbrev-completion): Don't use an obarray; provide
13422 a cycle-sort-function.
13423
13424 2012-03-12 Leo Liu <sdl.web@gmail.com>
13425
13426 * simple.el (kill-new): Use equal-including-properties for comparison.
13427 (kill-do-not-save-duplicates): Doc fix.
13428
13429 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13430
13431 * dabbrev.el: Fix cycle completion (bug#10963).
13432 Use lexical binding and wrap to 80 columns.
13433 (dabbrev-completion): Delay computing the list of completions.
13434
13435 2012-03-12 Kenichi Handa <handa@m17n.org>
13436
13437 * international/quail.el (quail-insert-kbd-layout): Surround each
13438 row by LRO and PDF instead of inserting many LRMs. Pad the left
13439 and right of each non-spacing marks. Insert invisible space
13440 between lower and upper characters to prevent composition.
13441
13442 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13443
13444 * minibuffer.el (minibuffer-complete): Don't get confused when the
13445 function is run twice via different commands (bug#10958).
13446 (complete-with-action): Fix docstring.
13447
13448 2012-03-12 Chong Yidong <cyd@gnu.org>
13449
13450 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13451 (nxml-completion-at-point-function): New function.
13452 (nxml-mode): Use it.
13453 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13454
13455 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13456 Load generated autoloads file before byte compiling (Bug#10970).
13457 (package--make-autoloads-and-compile): New helper fun.
13458
13459 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13460
13461 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13462
13463 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13464
13465 * autorevert.el (auto-revert-handler): Ensure, that
13466 file-readable-p is applied only for local files or in
13467 auto-revert-tail-mode.
13468
13469 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13470
13471 * server.el (server-eval-at): Handle non-tcp connections.
13472 Decode result string.
13473
13474 * server.el (server-msg-size): New constant.
13475 (server-reply-print): New function.
13476 (server-eval-and-print): Use it.
13477 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13478 Handle -print-nonl.
13479
13480 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13481
13482 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13483 (Bug#10987).
13484
13485 2012-03-11 Chong Yidong <cyd@gnu.org>
13486
13487 * simple.el (goto-line): Doc fix (Bug#9938).
13488
13489 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13490
13491 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13492 when finished (Bug#10963).
13493
13494 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13495
13496 * window.el (split-window-below): Fix bug in case where
13497 split-window-keep-point is nil (Bug#10971).
13498
13499 2012-03-11 Juri Linkov <juri@jurta.org>
13500
13501 * replace.el (replace-highlight): Set isearch-word to nil
13502 unconditionally. (Bug#10887)
13503
13504 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13505
13506 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13507 mairix-replace-illegal-chars; all callers changed. Don't remove
13508 ^, ~, and = characters: they are meaningful in mairix search specs.
13509 (mairix-widget-create-query): Add usage information about mairix
13510 search forms: negating words, searching for substrings, etc.
13511
13512 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13513
13514 * international/fontset.el (font-encoding-alist): Add an entry for
13515 ksx1001 (Bug#5667).
13516
13517 2012-03-10 Richard Stallman <rms@gnu.org>
13518
13519 * mail/sendmail.el (mail-encode-header):
13520 Set rfc2047-encode-encoded-words.
13521
13522 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13523
13524 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13525 view buffer means not swapped.
13526 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13527 (rmail-write-region-annotate): Error if real text has disappeared.
13528
13529 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13530
13531 2012-03-10 Chong Yidong <cyd@gnu.org>
13532
13533 * emulation/cua-rect.el (cua--init-rectangles):
13534 * emulation/cua-base.el (cua--init-keymaps):
13535 Add delete-forward-char to remappings (Bug#9666).
13536
13537 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13538
13539 * speedbar.el (speedbar-unhighlight-one-tag-line):
13540 Avoid unhighlighting due to frame switching (Bug#10275).
13541
13542 2012-03-10 Chong Yidong <cyd@gnu.org>
13543
13544 * minibuffer.el (completion-in-region, completion-help-at-point):
13545 Give the completion field overlay a high priority (Bug#6830).
13546
13547 * dired.el (dired-goto-file): Recognize absolute file name
13548 listings (Bug#7126).
13549 (dired-goto-file-1): New helper function.
13550 (dired-toggle-read-only): Inhibit warnings.
13551
13552 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13553
13554 * net/dbus.el (dbus-property-handler): Return empty array if
13555 there are no properties.
13556
13557 2012-03-09 Leo Liu <sdl.web@gmail.com>
13558
13559 * savehist.el (savehist-printable): Stricter check for string
13560 value (Bug#10937).
13561
13562 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13563
13564 * mail/smtpmail.el (smtpmail-send-it):
13565 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13566 valid mbox format.
13567
13568 2012-03-09 Glenn Morris <rgm@gnu.org>
13569
13570 * files.el (dir-locals-find-file):
13571 Don't check result is regular, readable.
13572 (dir-locals-read-from-file): Demote errors.
13573
13574 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13575
13576 * international/quail.el (quail-insert-kbd-layout):
13577 Insert invisible LRM characters before each character in a keyboard
13578 layout cell, to prevent their reordering by bidi display engine.
13579 For details, see the discussion in
13580 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13581
13582 2012-03-08 Alan Mackenzie <acm@muc.de>
13583
13584 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13585 the starting position; make it extend the marked region when
13586 invoked repeatedly - all under appropriate circumstances.
13587 Fixes bugs #5525, #10906.
13588
13589 2012-03-08 Glenn Morris <rgm@gnu.org>
13590
13591 * files.el (locate-dominating-file, dir-locals-find-file):
13592 Undo 2012-03-06 change.
13593
13594 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13595
13596 * international/quail.el (quail-help):
13597 Force bidi-paragraph-direction be left-to-right. See discussion in
13598 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13599 for the reason.
13600
13601 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13602
13603 Avoid superfluous registering of signals. (Bug#10807)
13604
13605 * notifications.el (notifications-on-action-object)
13606 (notifications-on-close-object): New defvars.
13607 (notifications-on-action-signal, notifications-on-closed-signal):
13608 Unregister the signal if not needed any longer.
13609 (notifications-notify): Register `notifications-action-signal' or
13610 `notifications-closed-signal', if :on-action or :on-close has been
13611 passed as argument.
13612
13613 2012-03-07 Chong Yidong <cyd@gnu.org>
13614
13615 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13616 non-X platforms.
13617
13618 2012-03-06 Glenn Morris <rgm@gnu.org>
13619
13620 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13621 (x-disown-selection-internal, x-get-selection-internal):
13622 Doc fix (add arglist signatures). (Bug#10783)
13623
13624 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13625
13626 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13627 Handle breakpoints with no "type".
13628
13629 2012-03-06 Glenn Morris <rgm@gnu.org>
13630
13631 * files.el (locate-dominating-file): Add optional predicate argument.
13632 (dir-locals-find-file): Make use of above change.
13633
13634 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13635
13636 * info.el (Info-insert-dir): Also try "dir.gz".
13637
13638 2012-03-06 Glenn Morris <rgm@gnu.org>
13639
13640 * files.el (dir-locals-find-file):
13641 Ignore non-readable or non-regular files. (Bug#10928)
13642
13643 * files.el (locate-dominating-file): Doc fix.
13644
13645 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13646
13647 * calendar/calendar.el (calendar-set-mode-line):
13648 `getenv' returns a string. (Bug#10951)
13649
13650 2012-03-05 Leo Liu <sdl.web@gmail.com>
13651
13652 * simple.el (backward-delete-char-untabify): Constrain point to
13653 field (Bug#10939).
13654
13655 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13656
13657 2012-03-05 Chong Yidong <cyd@gnu.org>
13658
13659 * simple.el (count-words): If called from Lisp, return the word
13660 count, for symmetry with `count-lines'. Arglist changed.
13661 (count-words--message): Args changed. Consolidate counting code
13662 from count-words and count-words-region.
13663 (count-words-region): Caller changed.
13664 (count-lines-region): Make it an obsolete alias.
13665
13666 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13667
13668 * saveplace.el (save-place-to-alist)
13669 (save-place-ignore-files-regexp): Allow value nil to disable this
13670 feature.
13671
13672 2012-03-04 Chong Yidong <cyd@gnu.org>
13673
13674 * faces.el (face-spec-reset-face): For the default face, reset the
13675 attributes to default values (Bug#10748).
13676
13677 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13678
13679 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13680 previous patch: Check `message-send-mail-function', and not the
13681 default function (bug#10897).
13682
13683 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13684
13685 * notifications.el (notifications-on-action-signal)
13686 (notifications-on-closed-signal): Check for unique service name of
13687 incoming event. Fix error in removing entry.
13688 (top): Register for signals with wildcard service name.
13689 (notifications-notify): Use daemon unique service name for map entries.
13690
13691 2012-03-04 Chong Yidong <cyd@gnu.org>
13692
13693 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13694
13695 2012-03-04 Glenn Morris <rgm@gnu.org>
13696
13697 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13698 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13699 (expand-abbrev, define-abbrev-table): Doc fixes.
13700
13701 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13702
13703 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13704 `message-default-send-mail-function' and not `send-mail-function'
13705 when doing the prompting for `sendmail-query-once' before sending
13706 in Message buffers (bug#10897).
13707
13708 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13709 This is inconsistent with all the other stream functions, which leave
13710 the setting up to the higher levels (if so wanted) (bug#10931).
13711
13712 2012-03-02 Alan Mackenzie <acm@muc.de>
13713
13714 Depessimize the handling of very large macros.
13715
13716 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13717 (c-macro-cache-syntactic): New variables to implement a one
13718 element macro cache.
13719 (c-invalidate-macro-cache): New function.
13720 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13721 Adapt to use the new cache.
13722 (c-state-safe-place): Use better the cache of safe positions.
13723 (c-state-semi-nonlit-pos-cache)
13724 (c-state-semi-nonlit-pos-cache-limit):
13725 New variables for...
13726 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13727 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13728 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13729 Use c-state-semi-safe-place.
13730
13731 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13732 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13733
13734 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13735
13736 * jka-compr.el (jka-compr-call-process):
13737 Apply `file-accessible-directory-p' only when the default directory is
13738 not remote.
13739
13740 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13741
13742 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13743 access of FILE2, if FILE1 does not exist.
13744
13745 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13746 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13747
13748 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13749 Add "PAGER=" to `process-environment'.
13750
13751 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13752
13753 * progmodes/sql.el: Bug fix
13754 (sql-get-login-ext): Save login values in globals.
13755 (sql-get-login): Use new version of `sql-get-login-ext'.
13756 (sql-interactive-mode): Set global `sql-connection' to nil.
13757 (sql-connect): Set global values for connection.
13758 (sql-product-interactive): Save global values as buffer local.
13759
13760 2012-02-29 Leo Liu <sdl.web@gmail.com>
13761
13762 * abbrev.el (define-abbrevs): Reset sys to nil.
13763
13764 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13765
13766 * files.el (file-equal-p): Rename from `files-equal-p'.
13767 Return nil when one or both files don't exist.
13768 (file-subdir-of-p): Now only top directory must exists,
13769 return nil if it doesn't.
13770 (copy-directory): No need to test with `file-subdir-of-p' after
13771 creating dir.
13772 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13773 to `file-equal-p'.
13774
13775 2012-02-28 Glenn Morris <rgm@gnu.org>
13776
13777 * shell.el (shell-mode):
13778 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13779 * play/landmark.el (landmark-font-lock-face-O):
13780 * play/handwrite.el (handwrite):
13781 * play/gomoku.el (gomoku-O):
13782 * net/browse-url.el (browse-url-browser-display):
13783 * international/mule.el (define-charset):
13784 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13785 * filesets.el (filesets-find-file-delay):
13786 * eshell/em-xtra.el (eshell-xtra):
13787 * eshell/em-unix.el (eshell-grep):
13788 * emulation/viper.el (viper-mode):
13789 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13790 * emacs-lisp/easymenu.el (easy-menu-define):
13791 * calendar/timeclock.el (timeclock-use-display-time):
13792 * bs.el (bs-mode):
13793 * bookmark.el (bookmark-save-flag):
13794 Doc fix (standardize possessive apostrophe usage).
13795
13796 2012-02-27 Chong Yidong <cyd@gnu.org>
13797
13798 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13799 Fix key-binding lookup for ESC key (Bug#9146).
13800
13801 * font-lock.el (font-lock-specified-p): Rename from
13802 font-lock-spec-present. Callers changed.
13803
13804 2012-02-27 Daniel Hackney <dan@haxney.org>
13805
13806 * emacs-lisp/package.el (package-compute-transaction):
13807 Handle holding a package version to t in package-load-list.
13808
13809 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13810
13811 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13812 (tramp-get-inode, tramp-get-device): Use cached values.
13813
13814 2012-02-26 Alan Mackenzie <acm@muc.de>
13815
13816 Check there is a font-lock specification before doing initial
13817 fontification.
13818
13819 * font-core.el (font-lock-mode): Move the conditional from
13820 :after-hook to font-lock-initial-fontify.
13821 (font-lock-default-function): Move the check for a specification
13822 to font-lock-spec-present.
13823
13824 * font-lock.el (font-lock-initial-fontify): Call ...
13825 (font-lock-spec-present): New function.
13826
13827 2012-02-26 Jim Blandy <jimb@red-bean.com>
13828
13829 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13830 (gdb-send): Apply it to the operand of the '-interpreter-exec
13831 console' command, so that we can pass arguments with (say) quotes
13832 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13833
13834 2012-02-26 Chong Yidong <cyd@gnu.org>
13835
13836 * help-fns.el (describe-function-1): Clarify description of
13837 remapping (Bug#10844).
13838
13839 * files.el (files-equal-p): Doc fix.
13840 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13841 and quit the loop once a mismatch is found.
13842
13843 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13844
13845 * bs.el (bs--show-with-configuration): Don't throw an error
13846 if the window cannot be split; otherwise, subsequent calls to
13847 bs-show fail, restoring a stale window config. (Bug#10882)
13848
13849 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13850
13851 * term/ns-win.el (global-map): Bind ns-drag-file to
13852 ns-find-file (Bug#5855, Bug#10050).
13853
13854 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13855
13856 * calendar/parse-time.el (parse-time-string): Allow extractor to
13857 return nil.
13858
13859 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13860
13861 * net/tramp.el (tramp-file-name-for-operation):
13862 Add `files-equal-p' and `file-subdir-of-p'.
13863
13864 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13865 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13866 Add COPY-CONTENTS argument.
13867
13868 2012-02-25 Chong Yidong <cyd@gnu.org>
13869
13870 Add custom groups for VC backends, for consistency with vc-bzr.
13871
13872 * vc/vc-arch.el (vc-arch):
13873 * vc/vc-cvs.el (vc-cvs):
13874 * vc/vc-git.el (vc-git):
13875 * vc/vc-hg.el (vc-hg):
13876 * vc/vc-mtn.el (vc-mtn):
13877 * vc/vc-rcs.el (vc-rcs):
13878 * vc/vc-sccs.el (vc-sccs):
13879 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13880 All relevant defcustoms reassigned.
13881
13882 2012-02-25 Chong Yidong <cyd@gnu.org>
13883
13884 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13885
13886 * term/x-win.el (x-initialize-window-system): Reduce default for
13887 x-selection-timeout to 5 seconds (Bug#8869).
13888
13889 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13890
13891 * files.el (files-equal-p, file-subdir-of-p): New functions.
13892 (copy-directory): Error when trying to copy a directory on itself.
13893 Add missing copy-contents arg to tramp handler.
13894 * dired-aux.el (dired-copy-file-recursive): Same.
13895 (dired-create-files): Modify destination when source is equal to
13896 dest when copying files.
13897 Return also when dest is a subdir of source. (Bug#10489)
13898
13899 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13900
13901 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13902 (Bug#10874)
13903
13904 2012-02-23 Alan Mackenzie <acm@muc.de>
13905
13906 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13907 parameter "after-hook:" to allow the expansion to run code after
13908 the execution of the mode hooks.
13909
13910 * font-lock.el (font-lock-initial-fontify): New function extracted
13911 from font-lock-mode-internal.
13912
13913 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13914 :after-hook.
13915
13916 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13917
13918 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13919 (completion--cache-all-sorted-completions): New function.
13920 (completion-all-sorted-completions): Use it.
13921 (completion--do-completion, minibuffer-force-complete):
13922 Use it to re-instate the flush hook.
13923
13924 * icomplete.el (icomplete-completions): Replace last fix with a better
13925 one (bug#10850).
13926
13927 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13928
13929 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13930 when it might call us back infinitely (bug#10797).
13931
13932 2012-02-23 Glenn Morris <rgm@gnu.org>
13933
13934 * minibuffer.el (completion-category-overrides): Doc fix.
13935
13936 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13937
13938 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13939 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13940
13941 2012-02-23 Glenn Morris <rgm@gnu.org>
13942
13943 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13944 (authors-obsolete-files-regexps, authors-ignored-files)
13945 (authors-ambiguous-files, authors-renamed-files-alist):
13946 Add more entries.
13947
13948 2012-02-23 Juri Linkov <juri@jurta.org>
13949
13950 * isearch.el (isearch-occur): Sync interactive spec with occur's
13951 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13952
13953 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13954
13955 2012-02-22 Juri Linkov <juri@jurta.org>
13956
13957 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13958 (ucs-insert): Doc fix. Check for hex digits in the string.
13959 Don't display `nil' in the error message. (Bug#10857)
13960
13961 2012-02-22 Alan Mackenzie <acm@muc.de>
13962
13963 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13964
13965 2012-02-22 Glenn Morris <rgm@gnu.org>
13966
13967 * ffap.el (ffap-c-path):
13968 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13969
13970 2012-02-22 Chong Yidong <cyd@gnu.org>
13971
13972 * custom.el (load-theme): Doc fix.
13973
13974 2012-02-22 Glenn Morris <rgm@gnu.org>
13975
13976 * dired-x.el (dired-guess-shell-alist-default):
13977 Remove escape sequences from nroff output. (Bug#172)
13978
13979 2012-02-21 Glenn Morris <rgm@gnu.org>
13980
13981 * vc/emerge.el (emerge-defvar-local):
13982 Set `permanent-local' property rather than unused `preserved'.
13983
13984 * textmodes/picture.el (picture-delete-char): New alias.
13985 (picture-mode-map): Use it. (Bug#10860)
13986 (picture-mode): Doc fix.
13987
13988 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13989
13990 * newcomment.el (uncomment-region-default): Remove unused binding.
13991
13992 2012-02-21 Glenn Morris <rgm@gnu.org>
13993
13994 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13995 (picture-self-insert, picture-tab-chars): Doc fix.
13996 (picture-mode-map): Fix C-a, C-e.
13997
13998 2012-02-20 Glenn Morris <rgm@gnu.org>
13999
14000 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14001
14002 2012-02-20 Leo Liu <sdl.web@gmail.com>
14003
14004 * icomplete.el (icomplete-completions): Check FROM arg before
14005 passing to substring (Bug#10850).
14006
14007 2012-02-19 Chong Yidong <cyd@gnu.org>
14008
14009 * comint.el: Require ansi-color.
14010 (comint-output-filter-functions): Add ansi-color-process-output.
14011
14012 * ansi-color.el: Don't set comint-output-filter-functions; it is
14013 now in the initial value defined in comint.el.
14014 (ansi-color-apply-face-function): New variable.
14015 (ansi-color-apply-on-region): Use it.
14016 (ansi-color-apply-overlay-face): New function.
14017
14018 * shell.el (shell): No need to require ansi-color.
14019 (shell-mode): Use ansi-color-apply-face-function to highlight
14020 color escapes using font-lock-face property (Bug#10835).
14021
14022 2012-02-19 Chong Yidong <cyd@gnu.org>
14023
14024 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14025 mode-line formats (Bug#10839).
14026
14027 2012-02-18 Glenn Morris <rgm@gnu.org>
14028
14029 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14030
14031 * mail/undigest.el (unforward-rmail-message): Doc fix.
14032
14033 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14034
14035 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14036
14037 * international/characters.el (script-list): Sync with the latest
14038 Unicode Character Database.
14039
14040 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14041
14042 * international/titdic-cnv.el: Remove duplicate coding tag.
14043 * language/cham.el: Likewise.
14044 * language/tai-viet.el: Likewise.
14045
14046 2012-02-18 Glenn Morris <rgm@gnu.org>
14047
14048 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14049 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14050 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14051 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14052 * calendar/holidays.el (holiday-bahai-holidays)
14053 (calendar-holidays, list-holidays):
14054 Use utf-8 Bahá'í in doc-strings, menus, etc.
14055
14056 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14057
14058 * saveplace.el (save-place-ignore-files-regexp): New variable
14059 allowing for excluding files from saving their location of point.
14060 The default value matches the temporary commit message editing
14061 files from Git, SVN, Bazaar, and Mercurial.
14062 (save-place-to-alist): Use it.
14063
14064 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14065 Stefan Monnier <monnier@iro.umontreal.ca>
14066
14067 * newcomment.el (uncomment-region-default): Don't leave extra space
14068 when an arg is provided (bug#8150).
14069
14070 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14071
14072 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14073
14074 2012-02-17 Glenn Morris <rgm@gnu.org>
14075
14076 * net/socks.el: Require network-stream. (Bug#10599)
14077
14078 2012-02-17 Kenichi Handa <handa@m17n.org>
14079
14080 * international/charprop.el:
14081 * international/uni-name.el:
14082 * international/uni-old-name.el:
14083 * international/uni-comment.el: Regenerate.
14084
14085 2012-02-16 Glenn Morris <rgm@gnu.org>
14086
14087 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14088 Interactively in calendar buffer, give an error if not on a date.
14089
14090 2012-02-15 Glenn Morris <rgm@gnu.org>
14091
14092 * shell.el (shell-delimiter-argument-list):
14093 Revert 2011-02-17 change. (Bug#8027)
14094
14095 2012-02-15 Chong Yidong <cyd@gnu.org>
14096
14097 * minibuffer.el (completion-at-point-functions): Doc fix.
14098
14099 * custom.el (defcustom): Doc fix; note use of defvar.
14100
14101 2012-02-15 Glenn Morris <rgm@gnu.org>
14102
14103 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14104 Doc fixes.
14105
14106 2012-02-14 Glenn Morris <rgm@gnu.org>
14107
14108 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14109
14110 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14111
14112 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14113 way the ports list is computed.
14114 (smtpmail-query-smtp-server): Prompt the user for a port number if
14115 we can't connect to any of the standard ports (bug#10810).
14116
14117 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14118
14119 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14120
14121 2012-02-13 Glenn Morris <rgm@gnu.org>
14122
14123 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14124
14125 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14126
14127 * net/gnutls.el (gnutls-trustfiles): New variable.
14128 (gnutls-negotiate): Use it.
14129
14130 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14131
14132 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14133 does its stuff if Gnus is running.
14134
14135 2012-02-13 Alan Mackenzie <acm@muc.de>
14136
14137 Fix a loop in c-set-fl-decl-start.
14138
14139 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14140 c-backward-syntactic-ws actually moves backwards.
14141
14142 2012-02-13 Leo Liu <sdl.web@gmail.com>
14143
14144 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14145 beginning so that all \C-o chars are removed.
14146
14147 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14148
14149 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14150
14151 2012-02-12 Alan Mackenzie <acm@muc.de>
14152
14153 Fix infinite loop with long macros.
14154 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14155
14156 2012-02-12 Chong Yidong <cyd@gnu.org>
14157
14158 * window.el (display-buffer): Doc fix (Bug#10785).
14159
14160 2012-02-12 Glenn Morris <rgm@gnu.org>
14161
14162 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14163 (x-disown-selection-internal, x-get-selection-internal):
14164 Sync docs with the xselect.c versions.
14165
14166 * allout-widgets.el: Add missing license notice.
14167
14168 2012-02-11 Glenn Morris <rgm@gnu.org>
14169
14170 * select.el (x-get-selection-internal, x-own-selection-internal)
14171 (x-disown-selection-internal):
14172 * x-dnd.el (x-get-selection-internal): Update declarations.
14173
14174 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14175
14176 * window.el (window-sides-slots):
14177 * tool-bar.el (tool-bar-position):
14178 * term/xterm.el (xterm-extra-capabilities):
14179 * ses.el (ses-self-reference-early-detection):
14180 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14181 (verilog-auto-wire-type)
14182 (verilog-auto-delete-trailing-whitespace)
14183 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14184 (verilog-auto-tieoff-declaration):
14185 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14186 (sql-oracle-statement-starters, sql-oracle-scan-on):
14187 * progmodes/prolog.el (prolog-align-comments-flag)
14188 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14189 (prolog-left-indent-regexp, prolog-paren-indent-p)
14190 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14191 (prolog-types, prolog-mode-specificators)
14192 (prolog-determinism-specificators, prolog-directives)
14193 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14194 (prolog-electric-dot-flag)
14195 (prolog-electric-dot-full-predicate-template)
14196 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14197 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14198 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14199 (prolog-program-switches, prolog-prompt-regexp)
14200 (prolog-debug-on-string, prolog-debug-off-string)
14201 (prolog-trace-on-string, prolog-trace-off-string)
14202 (prolog-zip-on-string, prolog-zip-off-string)
14203 (prolog-use-standard-consult-compile-method-flag)
14204 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14205 (prolog-imenu-max-lines, prolog-info-predicate-index)
14206 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14207 (prolog-char-quote-workaround):
14208 * progmodes/cc-vars.el (c-defun-tactic):
14209 * net/tramp.el (tramp-encoding-command-interactive)
14210 (tramp-local-end-of-line):
14211 * net/soap-client.el (soap-client):
14212 * net/netrc.el (netrc-file):
14213 * net/gnutls.el (gnutls):
14214 * minibuffer.el (completion-category-overrides)
14215 (completion-cycle-threshold)
14216 (completion-pcm-complete-word-inserts-delimiters):
14217 * man.el (Man-name-local-regexp):
14218 * mail/feedmail.el (feedmail-display-full-frame):
14219 * international/characters.el (glyphless-char-display-control):
14220 * eshell/em-ls.el (eshell-ls-date-format):
14221 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14222 (lisp-lambda-list-keyword-parameter-indentation)
14223 (lisp-lambda-list-keyword-parameter-alignment):
14224 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14225 * dired-x.el (dired-omit-verbose):
14226 * cus-theme.el (custom-theme-allow-multiple-selections):
14227 * calc/calc.el (calc-highlight-selections-with-faces)
14228 (calc-lu-field-reference, calc-lu-power-reference)
14229 (calc-note-threshold):
14230 * battery.el (battery-mode-line-limit):
14231 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14232 (archive-7z-update):
14233 * allout.el (allout-prefixed-keybindings)
14234 (allout-unprefixed-keybindings)
14235 (allout-inhibit-auto-fill-on-headline)
14236 (allout-flattened-numbering-abbreviation):
14237 * allout-widgets.el (allout-widgets-auto-activation)
14238 (allout-widgets-icons-dark-subdir)
14239 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14240 (allout-widgets-theme-dark-background)
14241 (allout-widgets-theme-light-background)
14242 (allout-widgets-item-image-properties-emacs)
14243 (allout-widgets-item-image-properties-xemacs)
14244 (allout-widgets-run-unit-tests-on-load)
14245 (allout-widgets-time-decoration-activity)
14246 (allout-widgets-hook-error-post-time)
14247 (allout-widgets-track-decoration):
14248 Add missing :version tags to new defcustoms and defgroups.
14249
14250 * progmodes/sql.el (sql-ansi-statement-starters)
14251 (sql-oracle-statement-starters): Add custom type.
14252
14253 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14254 (prolog-system-version): Give it a type.
14255
14256 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14257
14258 * term/pc-win.el (x-select-text, x-selection-owner-p)
14259 (x-own-selection-internal, x-disown-selection-internal)
14260 (x-get-selection-internal): Sync doc strings and argument lists
14261 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14262
14263 2012-02-11 Leo Liu <sdl.web@gmail.com>
14264
14265 * progmodes/python.el (python-end-of-statement): Fix infinite
14266 loop. (Bug#10788)
14267
14268 2012-02-10 Glenn Morris <rgm@gnu.org>
14269
14270 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14271 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14272
14273 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14274
14275 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14276 about SMTP before checking the From header.
14277
14278 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14279 into own function for reuse by emacsbug.el.
14280
14281 2012-02-10 Leo Liu <sdl.web@gmail.com>
14282
14283 * subr.el (condition-case-unless-debug): Rename from
14284 condition-case-no-debug. All callers changed.
14285 (with-demoted-errors): Fix caller.
14286
14287 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14288 * nxml/rng-valid.el (rng-do-some-validation):
14289 * emacs-lisp/package.el (package-refresh-contents)
14290 (package-menu-execute):
14291 * desktop.el (desktop-create-buffer):
14292 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14293
14294 2012-02-10 Glenn Morris <rgm@gnu.org>
14295
14296 * textmodes/bibtex.el:
14297 Add missing :version tags for new/changed defcustoms.
14298
14299 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14300
14301 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14302
14303 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14304 (smtpmail-via-smtp): Use it, or fall back on the From address.
14305 (smtpmail-send-it): Ditto.
14306
14307 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14308
14309 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14310 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14311 (byte-compile-tmp-var): New const.
14312 (byte-compile-defvar): Use it to minimize .elc size.
14313 Just use `defvar' rather than simulate it (bug#10761).
14314
14315 2012-02-09 Glenn Morris <rgm@gnu.org>
14316
14317 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14318
14319 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14320 Add :version tags.
14321
14322 * progmodes/compile.el (compilation-error-screen-columns)
14323 (compilation-first-column, compilation-filter-start): Doc fixes.
14324
14325 * vc/log-view.el (log-view-toggle-entry-display):
14326 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14327
14328 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14329 (report-emacs-bug-can-use-xdg-email):
14330 (report-emacs-bug-insert-to-mailer): Doc fixes.
14331 (report-emacs-bug): Message fix.
14332
14333 * net/browse-url.el (browse-url-can-use-xdg-open)
14334 (browse-url-xdg-open): Doc fixes.
14335
14336 * electric.el (electric-indent-mode, electric-pair-mode)
14337 (electric-layout-rules, electric-layout-mode): Doc fixes.
14338 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14339
14340 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14341
14342 * server.el (server-unselect-display): Don't inadvertently kill
14343 the current buffer. (Bug#10729)
14344
14345 2012-02-08 Glenn Morris <rgm@gnu.org>
14346
14347 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14348 (sql-list-table): Doc fixes.
14349
14350 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14351 Comment out (does nothing).
14352
14353 * completion.el (dynamic-completion-mode):
14354 * dirtrack.el (dirtrack-debug-mode):
14355 * electric.el (electric-layout-mode):
14356 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14357 * face-remap.el (text-scale-mode, buffer-face-mode):
14358 * iimage.el (iimage-mode):
14359 * image-mode.el (image-transform-mode):
14360 * minibuffer.el (completion-in-region-mode):
14361 * scroll-lock.el (scroll-lock-mode):
14362 * simple.el (next-error-follow-minor-mode):
14363 * tar-mode.el (tar-subfile-mode):
14364 * tooltip.el (tooltip-mode):
14365 * vcursor.el (vcursor-use-vcursor-map):
14366 * wid-browse.el (widget-minor-mode):
14367 * emulation/tpu-edt.el (tpu-edt-mode):
14368 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14369 * international/iso-ascii.el (iso-ascii-mode):
14370 * language/thai-util.el (thai-word-mode):
14371 * mail/supercite.el (sc-minor-mode):
14372 * net/goto-addr.el (goto-address-mode):
14373 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14374 * progmodes/cwarn.el (cwarn-mode):
14375 * progmodes/flymake.el (flymake-mode):
14376 * progmodes/glasses.el (glasses-mode):
14377 * progmodes/hideshow.el (hs-minor-mode):
14378 * progmodes/pascal.el (pascal-outline-mode):
14379 * textmodes/enriched.el (enriched-mode):
14380 * vc/smerge-mode.el (smerge-mode):
14381 Doc fixes (minor mode argument).
14382
14383 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14384
14385 * ls-lisp.el (ls-lisp-sanitize): New function.
14386 (ls-lisp-insert-directory): Use it to fix or remove any elements
14387 in file-alist with missing attributes. (Bug#4673)
14388
14389 2012-02-07 Alan Mackenzie <acm@muc.de>
14390
14391 Fix spurious recognition of c-in-knr-argdecl.
14392
14393 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14394 putative K&R region.
14395
14396 2012-02-07 Alan Mackenzie <acm@muc.de>
14397
14398 * progmodes/cc-engine.el (c-forward-objc-directive):
14399 Prevent looping in "#pragma mark @implementation".
14400
14401 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14402
14403 * notifications.el (notifications-on-closed-signal): Make `reason'
14404 optional. (Bug#10744)
14405
14406 2012-02-07 Glenn Morris <rgm@gnu.org>
14407
14408 * emacs-lisp/easy-mmode.el (define-minor-mode):
14409 Doc fixes for the macro and the mode it defines.
14410
14411 * image.el (imagemagick-types-inhibit): Doc fix.
14412
14413 * cus-start.el (imagemagick-render-type): Add it.
14414
14415 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14416
14417 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14418 Set the default at load time, too, so that `font-lock-fontify-buffer'
14419 can be called without setting up the entire mode first. This fixes
14420 a bug in `mm-inline-text' with C MIME parts.
14421
14422 2012-02-06 Chong Yidong <cyd@gnu.org>
14423
14424 * simple.el (list-processes--refresh): Delete exited processes
14425 (Bug#8094).
14426
14427 * comint.el (comint-next-prompt): next-single-char-property-change
14428 and prev-single-char-property-change never return nil (Bug#8657).
14429
14430 * custom.el (defcustom): Doc fix (Bug#9711).
14431
14432 2012-02-05 Chong Yidong <cyd@gnu.org>
14433
14434 * cus-edit.el (custom-variable-reset-backup): Quote the value
14435 before storing it in the customized-value property (Bug#6712).
14436 (custom-display): Add a customization type tag.
14437 (custom-buffer-create-internal): Improve tooltip message.
14438
14439 * wid-edit.el (widget-field-value-get): New optional arg to
14440 suppress trailing whitespace truncation.
14441 (character): Use it (Bug#2689).
14442
14443 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14444
14445 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14446 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14447
14448 2012-02-05 Chong Yidong <cyd@gnu.org>
14449
14450 * cus-edit.el (custom-variable-value-create): For mismatched
14451 types, show the current value (Bug#7600).
14452
14453 * custom.el (defcustom): Doc fix.
14454
14455 2012-02-05 Glenn Morris <rgm@gnu.org>
14456
14457 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14458
14459 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14460
14461 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14462 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14463 (pp-last-sexp): Use `looking-at-p'.
14464
14465 2012-02-04 Glenn Morris <rgm@gnu.org>
14466
14467 * files.el (revert-buffer):
14468 Doc fix (mention revert-buffer-in-progress-p).
14469
14470 * emacs-lisp/ert-x.el (ert-simulate-command):
14471 Check deferred-action-list (which is obsolete) is bound.
14472
14473 * subr.el (with-wrapper-hook): Doc fixes.
14474
14475 * simple.el (filter-buffer-substring-functions)
14476 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14477
14478 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14479
14480 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14481 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14482
14483 2012-02-04 Leo Liu <sdl.web@gmail.com>
14484
14485 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14486
14487 2012-02-04 Glenn Morris <rgm@gnu.org>
14488
14489 * image.el (image-extension-data): Add obsolete alias.
14490
14491 * isearch.el (isearch-update): Doc fix.
14492
14493 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14494
14495 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14496
14497 2012-02-03 Glenn Morris <rgm@gnu.org>
14498
14499 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14500 (image-animate-timeout): Doc fix.
14501
14502 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14503
14504 2012-02-02 Glenn Morris <rgm@gnu.org>
14505
14506 * server.el (server-auth-dir): Doc fix.
14507 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14508
14509 * subr.el (run-mode-hooks): Doc fix.
14510
14511 2012-02-02 Juri Linkov <juri@jurta.org>
14512
14513 * image-mode.el (image-toggle-display-image): Remove tautological
14514 `major-mode' from the `derived-mode-p' test.
14515
14516 2012-02-02 Kenichi Handa <handa@m17n.org>
14517
14518 * composite.el (compose-region): Cancel previous change.
14519
14520 2012-02-02 Kenichi Handa <handa@m17n.org>
14521
14522 * composite.el (compose-region, compose-string): Signal error for
14523 a null string component (Bug#6988).
14524
14525 2012-02-01 Chong Yidong <cyd@gnu.org>
14526
14527 * view.el (view-buffer-other-window, view-buffer-other-frame):
14528 Handle special modes like view-buffer (Bug#10650).
14529 (view-buffer): Simplify.
14530
14531 * frame.el (set-frame-font): Tweak meaning of third argument.
14532
14533 * dynamic-setting.el (font-setting-change-default-font):
14534 Use set-frame-font (Bug#9982).
14535
14536 2012-02-01 Glenn Morris <rgm@gnu.org>
14537
14538 * progmodes/compile.el (compilation-internal-error-properties):
14539 Respect compilation-first-column in the "*compilation*" buffer.
14540
14541 * emacs-lisp/easy-mmode.el (define-minor-mode):
14542 Relax :variable's test for a named function.
14543
14544 2012-01-31 Alan Mackenzie <acm@muc.de>
14545
14546 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14547 off by one error.
14548
14549 2012-01-31 Chong Yidong <cyd@gnu.org>
14550
14551 * frame.el (set-frame-font): New arg ALL-FRAMES.
14552
14553 * menu-bar.el (menu-set-font): Use set-frame-font.
14554
14555 * faces.el (face-spec-reset-face): Don't apply unspecified
14556 attribute values to the default face.
14557
14558 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14559
14560 * progmodes/cwarn.el (cwarn): Remove dead link.
14561 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14562 Remove * from defcustom docstrings.
14563 (turn-on-cwarn-mode): Make obsolete.
14564 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14565 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14566
14567 2012-01-31 Glenn Morris <rgm@gnu.org>
14568
14569 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14570 Fix :variable handling of mode a symbol not equal to modefun.
14571 Allow named functions to be used as the cdr of :variable.
14572
14573 2012-01-30 Glenn Morris <rgm@gnu.org>
14574
14575 * emacs-lisp/authors.el (authors-fixed-entries):
14576 Remove reference to deleted file rnewspost.el.
14577
14578 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14579
14580 * window.el (window-with-parameter): Remove unused variable `windows'.
14581 (window--side-check): Remove unused variable `code'.
14582 (window--resize-siblings): Remove unused variable `first'.
14583 (adjust-window-trailing-edge): Remove unused variable `failed'.
14584 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14585 Use `let', not `let*'.
14586 (balance-windows-2): Remove unused variable `found'.
14587 (window--state-put-2): Remove unused variable `splits'.
14588 (window-state-put): Remove unused variable `selected'.
14589 (same-window-p): Use `string-match-p'.
14590 (display-buffer-assq-regexp): Remove unused variable `value'.
14591 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14592 Mark argument ALIST as ignored.
14593 (pop-to-buffer): Remove unused variable `old-window'.
14594
14595 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14596
14597 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14598 and .lzma compressed files.
14599
14600 2012-01-29 Chong Yidong <cyd@gnu.org>
14601
14602 * frame.el (window-system-default-frame-alist): Doc fix.
14603
14604 * dynamic-setting.el (font-setting-change-default-font): Don't
14605 change the default face if SET-FONT argument is non-nil (Bug#9982).
14606
14607 2012-01-29 Samuel Bronson <naesten@gmail.com>
14608
14609 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14610
14611 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14612
14613 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14614 breakpoints in files outside current directory (Bug#6098).
14615
14616 2012-01-29 Chong Yidong <cyd@gnu.org>
14617
14618 * progmodes/python.el: Require ansi-color at top-level.
14619
14620 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14621 Define and use in Emacs Lisp mode (Bug#9360).
14622 (lisp-mode-abbrev-table): Add doc.
14623 (lisp-mode-variables): Don't set local-abbrev-table.
14624 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14625
14626 2012-01-28 Roland Winkler <winkler@gnu.org>
14627
14628 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14629
14630 2012-01-28 Roland Winkler <winkler@gnu.org>
14631
14632 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14633 (bibtex-set-dialect): Use it. Either set global values of
14634 dialect-dependent variables or bind these variables buffer-locally
14635 (Bug#10254).
14636 (bibtex-mode): Call bibtex-set-dialect via
14637 hack-local-variables-hook.
14638 (bibtex-dialect): Update docstring.
14639 Add safe-local-variable predicate.
14640 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14641 bibtex-set-dialect.
14642 (bibtex-mode-map): Define menu for each dialect.
14643 (bibtex-entry): Fix docstring.
14644
14645 2012-01-28 Chong Yidong <cyd@gnu.org>
14646
14647 * eshell/esh-arg.el (eshell-quote-argument): New function.
14648
14649 * eshell/esh-ext.el (eshell-invoke-batch-file):
14650 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14651 first arg to eshell-parse-command (Bug#10523).
14652
14653 2012-01-28 Drew Adams <drew.adams@oracle.com>
14654
14655 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14656 `default-directory' is non-nil.
14657
14658 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14659
14660 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14661 line that displays system-configuration-options. (Bug#9924)
14662
14663 2012-01-28 Drew Adams <drew.adams@oracle.com>
14664
14665 * descr-text.el (describe-char): Show information about POS, in
14666 addition to information about the character at POS. Improve and
14667 update the doc string. Change "code point" to "code point in
14668 charset", to avoid confusion with the character's Unicode code
14669 point shown above that. (Bug#10129)
14670
14671 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14672
14673 * descr-text.el (describe-char): Show the raw character, not only
14674 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14675 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14676 for the reasons.
14677
14678 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14679
14680 * emacs-lisp/package.el (package-install):
14681 Run package-refresh-contents if there is no archive yet (Bug#9798).
14682
14683 2012-01-28 Chong Yidong <cyd@gnu.org>
14684
14685 * emacs-lisp/package.el (package-maybe-load-descriptor):
14686 New function, split from package-maybe-load-descriptor.
14687 (package-maybe-load-descriptor): Use it.
14688 (package-download-transaction): Fully load required packages
14689 inside the loop, so that `require' calls work (Bug#10593).
14690 (package-install): No need to call package-initialize now.
14691
14692 2012-01-28 Chong Yidong <cyd@gnu.org>
14693
14694 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14695
14696 * tooltip.el (tooltip-mode): Doc fix.
14697 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14698
14699 * frame.el (set-cursor-color): Doc fix (Bug#352).
14700
14701 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14702 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14703
14704 * cus-edit.el (custom-buffer-create-internal): Fix search button
14705 action (Bug#10542).
14706 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14707
14708 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14709
14710 * dired.el (dired-mark-files-regexp):
14711 Include any subdirectory components. (Bug#10445)
14712
14713 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14714
14715 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14716 Handle [host]:port syntax. (Bug#10533)
14717
14718 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14719
14720 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14721
14722 2012-01-26 Glenn Morris <rgm@gnu.org>
14723
14724 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14725 * term.el (term-raw-escape-map): Use Control-X-prefix.
14726 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14727
14728 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14729
14730 * window.el (window-state-get, window--state-get-1): Don't deal
14731 with fixed-sizeness of windows. Simplify code.
14732
14733 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14734
14735 * window.el (window--state-get-1, window--state-put-2):
14736 Don't save and restore the mark.
14737
14738 2012-01-25 Chong Yidong <cyd@gnu.org>
14739
14740 * custom.el (custom-variable-p): Doc fix.
14741
14742 2012-01-25 Glenn Morris <rgm@gnu.org>
14743
14744 * dired.el (dired-goto-file): Handle some of the more common
14745 characters that `ls -b' escapes. (Bug#10596)
14746
14747 * progmodes/compile.el (compilation-next-error-function):
14748 Respect compilation-first-column in the "*compilation*" buffer.
14749 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14750
14751 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14752
14753 2012-01-24 Glenn Morris <rgm@gnu.org>
14754
14755 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14756
14757 2012-01-24 Julien Danjou <julien@danjou.info>
14758
14759 * color.el (color-rgb-to-hsl): Fix value computing.
14760 (color-hue-to-rgb): New function.
14761 (color-hsl-to-rgb): New function.
14762 (color-clamp, color-saturate-hsl, color-saturate-name)
14763 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14764 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14765
14766 2012-01-24 Glenn Morris <rgm@gnu.org>
14767
14768 * vc/vc-rcs.el (vc-rcs-create-tag):
14769 * vc/vc-sccs.el (vc-sccs-create-tag):
14770 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14771
14772 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14773
14774 * eshell/esh-util.el (eshell-read-hosts-file):
14775 Skip comment lines. (Bug#10549)
14776
14777 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14778
14779 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14780
14781 * subr.el (display-delayed-warnings): Doc fix.
14782 (collapse-delayed-warnings): New function to collapse identical
14783 adjacent warnings.
14784 (delayed-warnings-hook): Add it.
14785
14786 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14787
14788 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14789
14790 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14791 (tramp-default-user-alist): Don't add "pscp".
14792 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14793 property "login-as", if set. (Bug#10530)
14794
14795 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14796
14797 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14798 "plink1" and "psftp". (Bug#10530)
14799
14800 2012-01-21 Kenichi Handa <handa@m17n.org>
14801
14802 * international/mule-cmds.el (prefer-coding-system): Show a
14803 warning message if the default value of file-name-coding-system
14804 was not changed.
14805
14806 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14807
14808 * windmove.el (windmove-reference-loc):
14809 Fix windmove-reference-loc miscalculation.
14810
14811 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14812
14813 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14814 default unit.
14815
14816 2012-01-21 Glenn Morris <rgm@gnu.org>
14817
14818 * international/mule.el (auto-coding-alist): Add .tbz.
14819
14820 * files.el (local-enable-local-variables): Doc fix.
14821 (inhibit-local-variables-regexps): Rename from
14822 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14823 Doc fix. Add some extensions from auto-coding-alist.
14824 (inhibit-local-variables-suffixes):
14825 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14826 (inhibit-local-variables-p):
14827 New function, extracted from set-auto-mode-1.
14828 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14829 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14830 (hack-local-variables): Doc fix. Make the mode-only case
14831 respect enable-local-variables and friends.
14832 Respect inhibit-local-variables-regexps for file-locals, but
14833 not for directory-locals.
14834 (set-visited-file-name):
14835 Take account of inhibit-local-variables-regexps.
14836 Whether it applies may change as the file name is changed.
14837 * jka-cmpr-hook.el (jka-compr-install):
14838 * jka-compr.el (jka-compr-uninstall):
14839 Update for inhibit-first-line-modes-suffixes name change.
14840
14841 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14842
14843 * help-macro.el (make-help-screen): Temporarily restore original
14844 binding for minor-mode-map-alist (Bug#10454).
14845
14846 2012-01-19 Julien Danjou <julien@danjou.info>
14847
14848 * color.el (color-name-to-rgb): Use the white color to find the max
14849 color component value and return correctly computed values.
14850 (color-name-to-rgb): Add missing float conversion for max value.
14851
14852 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14853
14854 * window.el (window--state-get-1, window-state-get): Do not use
14855 special state value for window-persistent-parameters.
14856 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14857 (window--state-put-2): Reset all window parameters to nil before
14858 assigning values of persistent parameters.
14859
14860 2012-01-18 Alan Mackenzie <acm@muc.de>
14861
14862 Eliminate sluggishness and hangs in fontification of "semicolon
14863 deserts".
14864
14865 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14866 Change value 10000 -> 3000.
14867 (c-state-safe-place): Reformulate so it doesn't stack up an
14868 infinite number of wrong entries in c-state-nonlit-pos-cache.
14869 (c-determine-limit-get-base, c-determine-limit): New functions to
14870 determine backward search limits disregarding literals.
14871 (c-find-decl-spots): Amend commenting.
14872 (c-cheap-inside-bracelist-p): New function which detects "={".
14873
14874 * progmodes/cc-fonts.el
14875 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14876 backward search.
14877 (c-font-lock-declarations): Fix an occurrence of point being
14878 undefined. Check additionally for point being in a bracelist or
14879 near a macro invocation without a semicolon so as to avoid a
14880 fruitless time consuming search for a declarator. Give a more
14881 precise search limit for declarators using the new
14882 c-determine-limit.
14883
14884 2012-01-18 Glenn Morris <rgm@gnu.org>
14885
14886 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14887 (set-auto-mode): Doc fixes.
14888
14889 2012-01-17 Glenn Morris <rgm@gnu.org>
14890
14891 * isearch.el (search-nonincremental-instead): Fix doc typo.
14892
14893 * dired.el (dired-insert-directory): Handle newlines in directory name.
14894 (dired-build-subdir-alist): Unescape newlines in directory name.
14895
14896 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14897
14898 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14899 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14900 (tramp-action-terminal): Use it. (Bug#10530)
14901
14902 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14903
14904 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14905
14906 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14907
14908 * window.el (window-state-ignored-parameters): Remove variable.
14909 (window--state-get-1): Rename argument MARKERS to IGNORE.
14910 Handle persistent window parameters. Make copy of clone-of
14911 parameter only if requested. (Bug#10348)
14912 (window--state-put-2): Install a window parameter only if it has
14913 a non-nil value or an existing parameter shall be overwritten.
14914
14915 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14916
14917 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14918
14919 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14920
14921 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14922 don't pass the (nil) value of `upnode' to string-match.
14923
14924 2012-01-14 Chong Yidong <cyd@gnu.org>
14925
14926 * startup.el (command-line): Fix X resource class for cursorColor.
14927 Fix values recognized by the cursorBlink resource.
14928
14929 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14930
14931 * epg.el (epg--make-temp-file): Avoid permission race condition
14932 when running on old Emacs versions (bug#10403).
14933
14934 2012-01-14 Glenn Morris <rgm@gnu.org>
14935
14936 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14937
14938 2012-01-13 Alan Mackenzie <acm@muc.de>
14939
14940 Fix filling for when filladapt mode is enabled.
14941
14942 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14943 c-mask-paragraph, pass in `fill-paragraph' rather than
14944 `fill-region-as-paragraph'. (This is a reversion of a previous
14945 change.)
14946 * progmodes/cc-mode.el (c-basic-common-init):
14947 Make fill-paragraph-handle-comment buffer local and set it to nil.
14948
14949 2012-01-13 Glenn Morris <rgm@gnu.org>
14950
14951 * dired.el (dired-switches-escape-p): New function.
14952 (dired-insert-directory): Use dired-switches-escape-p.
14953 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14954
14955 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14956
14957 2012-01-12 Glenn Morris <rgm@gnu.org>
14958
14959 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14960 changes in adaptive-fill-regexp. (Bug#10276)
14961
14962 2012-01-11 Alan Mackenzie <acm@muc.de>
14963
14964 Fix Emacs bug #10463 - put `widen's around the critical spots.
14965
14966 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14967 widen around each invocation of c-state-pp-to-literal. Remove an
14968 unused let variable.
14969
14970 2012-01-11 Glenn Morris <rgm@gnu.org>
14971
14972 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14973 Doc fix.
14974
14975 2012-01-10 Chong Yidong <cyd@gnu.org>
14976
14977 * net/network-stream.el (network-stream-open-starttls):
14978 Avoid emitting a confusing error message when the server gives a bad
14979 response to the capability command.
14980
14981 2012-01-10 Glenn Morris <rgm@gnu.org>
14982
14983 * mail/unrmail.el (unrmail): Tweak previous change.
14984
14985 2012-01-09 Chong Yidong <cyd@gnu.org>
14986
14987 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14988
14989 2012-01-08 Alan Mackenzie <acm@muc.de>
14990
14991 Optimize font locking in long enum definitions.
14992
14993 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14994 arm to a cond form to handle enums.
14995 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14996 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14997
14998 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14999
15000 * files.el (move-file-to-trash): Preserve default file modes on error.
15001 (Bug#10401)
15002
15003 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15004
15005 * faces.el (set-face-attribute): Clarify the meaning of the nil
15006 frame (bug#10294).
15007
15008 * subr.el (with-selected-frame): Mention that the selected frame
15009 is restored (bug#9980).
15010
15011 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15012 (bug#9759).
15013
15014 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15015 (password-read): Don't autoload unused function.
15016
15017 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15018
15019 * progmodes/which-func.el (which-func-mode): Turn into a
15020 non-interactive function and mark as obsolete (bug#10428).
15021
15022 2012-01-06 Chong Yidong <cyd@gnu.org>
15023
15024 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15025 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15026 functions, along with 1 and -1.
15027
15028 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15029
15030 * time.el (display-time-load-average)
15031 (display-time-default-load-average): Doc fixes. See the thread
15032 starting at
15033 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15034 for the details.
15035
15036 2012-01-06 Glenn Morris <rgm@gnu.org>
15037
15038 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15039 has no messages. (Bug#10377)
15040
15041 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15042 than Info-edit. (Bug#10385)
15043
15044 * time.el (display-time-load-average, display-time-next-load-average):
15045 Doc fixes.
15046
15047 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15048 local setting of buffer-read-only to the input buffer. (Bug#10419)
15049
15050 * calendar/calendar.el (calendar-mode):
15051 Locally set scroll-margin to 0. (Bug#10379)
15052
15053 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15054
15055 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15056
15057 2012-01-05 Glenn Morris <rgm@gnu.org>
15058
15059 * eshell/em-unix.el (diff-no-select): Autoload it.
15060 (eshell/diff): Use diff-no-select. (Bug#10420)
15061
15062 2012-01-05 Chong Yidong <cyd@gnu.org>
15063
15064 * shell.el (shell-dynamic-complete-functions): Revert last change.
15065 (shell-command-completion-function): New function.
15066 (shell-completion-vars): Use it to implement
15067 shell-completion-execonly (Bug#10417).
15068
15069 * custom.el (enable-theme): Don't set custom-safe-themes.
15070
15071 * cus-theme.el (custom-theme-merge-theme):
15072 Ignore custom-enabled-themes and custom-safe-themes.
15073
15074 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15075
15076 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15077 first prompt in `sql-interacive-mode'.
15078 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15079 keywords.
15080 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15081 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15082 context of original buffer. Invoke `sql-login-hook'.
15083
15084 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15085
15086 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15087 letters in cite-prefix.
15088
15089 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15090
15091 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15092
15093 2012-01-03 Chong Yidong <cyd@gnu.org>
15094
15095 * shell.el (shell-dynamic-complete-functions):
15096 Put pcomplete-completions-at-point, so as to try
15097 comint-filename-completion first (Bug#10417).
15098
15099 2012-01-02 Richard Stallman <rms@gnu.org>
15100
15101 * battery.el (battery-status-function):
15102 Detect when to use battery-yeeloong-sysfs.
15103 (battery-echo-area-format): Add string for Yeeloong.
15104 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15105 (battery-yeeloong-sysfs): New function.
15106
15107 2012-01-02 Chong Yidong <cyd@gnu.org>
15108
15109 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15110 (dirtrack): Merge code for handling relative filenames in prompt
15111 from shell-dir-cookie-watcher.
15112 (dirtrack-debug-message): New arg to avoid excess format calls.
15113
15114 * shell.el (shell-dir-cookie-re): Variable deleted.
15115 (shell-dir-cookie-watcher): Function deleted.
15116 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15117 with dirtrack-mode.
15118
15119 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15120
15121 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15122 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15123 libgnutls-26.dll.
15124
15125 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15126
15127 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15128
15129 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15130
15131 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15132 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15133
15134 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15135
15136 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15137 also for alternative shells.
15138 (tramp-open-connection-setup-interactive-shell): Check, whether
15139 the shell is a busybox.
15140 (tramp-send-command): Don't suppress multiple prompts for
15141 busyboxes, it hurts.
15142
15143 2011-12-28 Chong Yidong <cyd@gnu.org>
15144
15145 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15146 (gdb-get-source-file): Move mode line update to
15147 gdb-get-source-file (Bug#10087).
15148
15149 2011-12-25 Chong Yidong <cyd@gnu.org>
15150
15151 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15152 gud-gdb-marker-filter without taking it as an argument.
15153 (gud-gdb-run-command-fetch-lines): Caller changed.
15154 (gud-gdb-completion-function): New variable.
15155 (gud-gdb-completion-at-point): Use it.
15156 (gud-gdb-completions-1): Split from gud-gdb-completions.
15157
15158 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15159 function as separate arguments.
15160 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15161 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15162 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15163 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15164 (gdb-stopped, def-gdb-auto-update-trigger)
15165 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15166 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15167 Callers changed.
15168 (gud-gdbmi-completions): New function.
15169 (gdb): Use it for generating the completion table.
15170
15171 2011-12-24 Alan Mackenzie <acm@muc.de>
15172
15173 Introduce a mechanism to widen the region used in context font
15174 locking. Use this to protect declarations from losing their contexts.
15175
15176 * progmodes/cc-langs.el (c-before-font-lock-functions):
15177 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15178 (c-before-context-fontification-functions): New defvar, a list of
15179 functions to be run just before context (etc.) font locking.
15180
15181 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15182 New, functionality extracted from
15183 c-neutralize-syntax-in-and-mark-CPP.
15184 (c-in-after-change-fontification): New variable.
15185 (c-after-change): Set c-in-after-change-fontification.
15186 (c-set-fl-decl-start): Rejig its interface, so it can be called
15187 from both after-change and context fontifying.
15188 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15189 New functions.
15190 (c-standard-font-lock-fontify-region-function): New variable.
15191 (c-font-lock-fontify-region): New function.
15192
15193 2011-12-24 Juri Linkov <juri@jurta.org>
15194
15195 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15196 (Bug#10348)
15197
15198 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15199
15200 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15201 existence of source file. (Bug#10325)
15202
15203 2011-12-23 Alan Mackenzie <acm@muc.de>
15204
15205 Fix unstable fontification inside templates.
15206
15207 * progmodes/cc-langs.el (c-before-font-lock-functions):
15208 Newly created from the singular version. The (c c++ objc) entry now
15209 additionally has c-set-fl-decl-start. The other languages (apart
15210 from AWK) have that as a single entry.
15211
15212 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15213 The functionality for "local" declarations has been extracted to
15214 c-set-fl-decl-start.
15215
15216 * progmodes/cc-mode.el (c-common-init, c-after-change):
15217 Changes due to pluralisation of c-before-font-lock-functions.
15218 (c-set-fl-decl-start): New function, extracted from
15219 c-font-lock-enclosing-decls and enhanced.
15220
15221 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15222
15223 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15224
15225 2011-12-22 Juri Linkov <juri@jurta.org>
15226
15227 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15228
15229 2011-12-22 Chong Yidong <cyd@gnu.org>
15230
15231 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15232
15233 2011-12-21 Drew Adams <drew.adams@oracle.com>
15234
15235 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15236
15237 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15238
15239 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15240
15241 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15242
15243 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15244 highlighting and support. Fix up comments for capitalization.
15245 (cfengine-mode-debug): New var.
15246 (cfengine3-mode): Change the modeline indicator to "CFE3".
15247 (cfengine3-font-lock-keywords): Improve defun highlighting.
15248 (cfengine2-actions): Rename from `cfengine-actions'.
15249 (cfengine2-font-lock-keywords): Rename from
15250 `cfengine-font-lock-keywords'.
15251 (cfengine2-imenu-expression): Rename from
15252 `cfengine-imenu-expression'.
15253 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15254 (cfengine2-beginning-of-defun): Rename from
15255 `cfengine-beginning-of-defun'.
15256 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15257 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15258 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15259 modeline indicator to "CFE2".
15260 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15261 (cfengine-mode-abbrevs): Mark obsolete.
15262
15263 2011-12-21 Chong Yidong <cyd@gnu.org>
15264
15265 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15266 filename argument.
15267
15268 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15269
15270 * window.el (window-normalize-buffer-to-display): Remove.
15271 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15272
15273 2011-12-19 Chong Yidong <cyd@gnu.org>
15274
15275 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15276 Don't signal an error in a predicate function; return non-nil.
15277 (vc-dir-mark-file): Move the error here.
15278 (vc-dir-mark-unmark): If acting on the region, keep going if one
15279 of the entries cannot be marked/unmarked.
15280 (vc-dir-mark-all-files): If current entry is a directory, mark
15281 only child files, as documented.
15282
15283 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15284
15285 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15286 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15287 addition.
15288
15289 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15290
15291 * term/ns-win.el (ns-get-selection-internal)
15292 (ns-store-selection-internal): Declare.
15293 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15294 Declare as obsolete.
15295 (ns-get-pasteboard, ns-paste-secondary):
15296 Use ns-get-selection-internal.
15297 (ns-set-pasteboard, ns-copy-including-secondary):
15298 Use ns-store-selection-internal.
15299
15300 2011-12-17 Chong Yidong <cyd@gnu.org>
15301
15302 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15303 (vc-deduce-fileset): Doc fix.
15304
15305 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15306
15307 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15308
15309 2011-12-13 Sam Steingold <sds@gnu.org>
15310
15311 * man.el (Man-getpage-in-background): When running under a
15312 window-system, ignore $MANWIDTH and $COLUMNS.
15313
15314 2011-12-15 Kenichi Handa <handa@m17n.org>
15315
15316 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15317 (setup-ethiopic-environment-internal): Comment out key-binding for
15318 ethio-toggle-punctuation.
15319
15320 2011-12-13 Alan Mackenzie <acm@muc.de>
15321
15322 Add the switch statement to AWK Mode.
15323
15324 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15325 "default" to the keywords regexp.
15326
15327 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15328 expression as the rest.
15329 (c-nonlabel-token-key): Allow string literals for AWK.
15330 Refactor for the other modes.
15331
15332 Large brace-block initialisation makes CC Mode slow: Fix.
15333 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15334 routines. Limit backward searching in c-font-lock-enclosing.decl.
15335
15336 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15337 pp-state and literal type in addition to the limits.
15338 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15339 (c-state-literal-at): Use the above new defun.
15340 (c-slow-in-literal, c-fast-in-literal): Remove.
15341 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15342
15343 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15344 being in a literal. Add a limit for backward searching.
15345
15346 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15347 c-slow-in-literal.
15348
15349 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15350
15351 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15352
15353 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15354
15355 * window.el (delete-other-windows): Use correct frame in call to
15356 window-with-parameter.
15357
15358 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15359
15360 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15361 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15362 (makefile-gmake-statements, makefile-makepp-statements):
15363 Use it and add new makepp keywords.
15364 (makefile-makepp-font-lock-keywords): Add new patterns.
15365 (makefile-match-function-end): Match new [...] and [[...]].
15366
15367 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15368
15369 * ses.el (ses-call-printer-return, ses-cell-property-get)
15370 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15371 (ses-create-cell-variable, ses-reset-header-string)
15372 (ses-cell-set-formula, ses-repair-cell-reference-all)
15373 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15374 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15375 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15376 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15377 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15378 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15379 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15380 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15381 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15382 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15383 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15384 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15385
15386 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15387
15388 * ses.el: The overall change is to add cell renaming, that is
15389 setting fancy names for cell symbols other than name matching
15390 "\\`[A-Z]+[0-9]+\\'" regexp .
15391 (ses-create-cell-variable): New defun.
15392 (ses-relocate-formula): Relocate formulas only for cells the
15393 symbols of which are not renamed, i.e. symbols whose names do not
15394 match regexp "\\`[A-Z]+[0-9]+\\'".
15395 (ses-relocate-all): Relocate values only for cells the symbols of
15396 which are not renamed.
15397 (ses-load): Create cells variables as the (ses-cell ...) are read,
15398 in order to check row col consistency with cell symbol name only
15399 for cells that are not renamed.
15400 (ses-replace-name-in-formula): New defun.
15401 (ses-rename-cell): New defun.
15402
15403 2011-12-11 Chong Yidong <cyd@gnu.org>
15404
15405 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15406 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15407
15408 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15409
15410 * window.el (other-window): Fix docstring.
15411
15412 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15413
15414 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15415 `from' or `to' address before taking its substring.
15416 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15417 encoded name is chopped in the middle of the encoded string, and
15418 thus displayed encoded.
15419
15420 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15421
15422 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15423
15424 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15425
15426 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15427 to use texinfo-update-node and commands that call it if the
15428 Texinfo file uses @node lines without next/prev/up pointers.
15429 Correct outdated description about texinfo-master-menu.
15430 (texinfo-all-menus-update, texinfo-master-menu)
15431 (texinfo-update-node, texinfo-every-node-update)
15432 (texinfo-multiple-files-update): Doc fix. Warn against updating
15433 all the @node lines.
15434 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15435 argument is numeric. Explain better in the doc string what the
15436 function really does.
15437 (texinfo-insert-master-menu-list): Improve the error message
15438 displayed if there's no menu in the Top node.
15439 (Bug#2975) See also this thread:
15440 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15441
15442 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15443
15444 * speedbar.el (speedbar-supported-extension-expressions):
15445 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15446
15447 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15448
15449 * printing.el (pr-mode-alist):
15450 * simple.el (filter-buffer-substring-functions)
15451 (completion-list-insert-choice-function):
15452 * window.el (window-with-parameter, window-atom-root)
15453 (window-sides-slots, window-size-fixed, window-min-delta)
15454 (window-max-delta, window--resize-mini-window)
15455 (window--resize-child-windows-normal, window-tree)
15456 (delete-other-windows, quit-window, split-window)
15457 (display-buffer-record-window, special-display-buffer-names)
15458 (special-display-regexps, special-display-popup-frame)
15459 (same-window-p, split-window-sensibly)
15460 (display-buffer-overriding-action, display-buffer-alist)
15461 (display-buffer-base-action, display-buffer, switch-to-buffer)
15462 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15463 (fit-window-to-buffer, recenter-positions)
15464 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15465 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15466 and remove unneeded backslashes in docstrings.
15467
15468 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15469
15470 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15471
15472 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15473 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15474 end in ".mk".
15475 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15476 when reading the makefile (bug#10116).
15477
15478 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15479
15480 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15481 (bug#10116).
15482
15483 2011-12-06 Glenn Morris <rgm@gnu.org>
15484
15485 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15486
15487 2011-12-06 Chong Yidong <cyd@gnu.org>
15488
15489 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15490
15491 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15492
15493 * textmodes/table.el (table-shorten-cell): Fix typo.
15494
15495 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15496
15497 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15498
15499 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15500
15501 * descr-text.el (describe-char): Fix display of strong
15502 right-to-left characters and directional embeddings and overrides.
15503
15504 * simple.el (what-cursor-position): Fix display of codepoints of
15505 strong right-to-left characters.
15506
15507 2011-12-05 Chong Yidong <cyd@gnu.org>
15508
15509 * faces.el (read-color): Doc fix.
15510
15511 2011-12-05 Glenn Morris <rgm@gnu.org>
15512
15513 * align.el (align--set-marker): Add doc-string.
15514 Don't try to move something that is not a marker. (Bug#10216)
15515
15516 2011-12-04 Glenn Morris <rgm@gnu.org>
15517
15518 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15519 overly zealous deletion of trailing whitespace.
15520
15521 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15522
15523 * server.el (server-delete-client): On Windows, do not try to delete
15524 the only terminal.
15525 (server-process-filter): On Windows, treat requests for a tty frame as
15526 if they were for a GUI frame if the running server is in GUI mode.
15527
15528 2011-12-03 Glenn Morris <rgm@gnu.org>
15529
15530 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15531
15532 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15533
15534 * electric.el: Streamline electric-indent's hook.
15535 (electric-indent-chars): Revert to simple list.
15536 (electric-indent-functions): New var.
15537 (electric-indent-post-self-insert-function): Use it.
15538
15539 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15540 there's no inferior buffer (bug#10196).
15541 (prolog-consult-compile): Don't use toggle-read-only.
15542
15543 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15544
15545 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15546 interrupt. (Bug#10187)
15547
15548 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15549
15550 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15551 (bug#9160).
15552
15553 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15554 (bug#10191).
15555
15556 2011-12-02 Juri Linkov <juri@jurta.org>
15557
15558 * info.el (Info-search): Display "end of manual" when Isearch
15559 reaches the end of single-file Info manual. (Bug#9918)
15560
15561 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15562
15563 * isearch.el (isearch-message-prefix): Run the input method part
15564 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15565
15566 2011-12-02 Juri Linkov <juri@jurta.org>
15567
15568 * isearch.el (isearch-occur): Use `word-search-regexp' for
15569 `isearch-word'.
15570 (isearch-search-and-update): Add condition for `isearch-word' and
15571 call `word-search-regexp'. (Bug#10145)
15572
15573 2011-12-01 Glenn Morris <rgm@gnu.org>
15574
15575 * eshell/em-hist.el (eshell-hist-initialize):
15576 Handle eshell-history-size nil and HISTSIZE set or unset.
15577 (eshell-history-file-name, eshell-history-size): Fix custom type.
15578
15579 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15580
15581 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15582
15583 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15584
15585 * progmodes/verilog-mode.el (verilog-pretty-expr):
15586 Rework verilog-pretty-expr to handle new assignment operators in system
15587 verilog, such as += *= and the like.
15588 (verilog-assignment-operator-re): Regular expression to find the
15589 assigment operator in a verilog assignment.
15590 (verilog-assignment-operation-re): Regular expression to find an
15591 assignment statement for pretty-expr.
15592 (verilog-in-attribute-p): Query returns true if point is in an
15593 attribute context; used to skip these for expression line up from
15594 pretty-expr.
15595 (verilog-in-parameter-p): Query returns true if point is in an
15596 parameter definition context; used to skip these for expression
15597 line up from pretty-expr.
15598 (verilog-in-parenthesis-p): Query returns true if point is in a
15599 parenthetical expression, specifically ( ) but not [ ] or { };
15600 used by pretty-expr.
15601 (verilog-just-one-space): If there is no space, don't add one.
15602 (verilog-get-lineup-indent-2): Specifically skip just attribute
15603 contexts for expression lineup, rather than skipping all
15604 parenthetical expressions.
15605 (verilog-calculate-indent): Fix comment, and fix indent.
15606 (verilog-do-indent): Indent declarations in lists (suggested by
15607 Joachim Lechner).
15608 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15609 skeleton items.
15610 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15611 by Alain Mellan).
15612
15613 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15614
15615 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15616 parameters with embedded comments. Reported by Ray Stevens.
15617 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15618 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15619 Reported by Tim Holt.
15620 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15621 instantiated by upper module causing wrong expansion until AUTOed a
15622 second time. Reported by K C Buckenmaier.
15623 (verilog-diff-auto): Fix showing .* as a difference when
15624 `verilog-auto-star-save' off. Reported by Dan Dever.
15625 (verilog-auto-reset, verilog-read-always-signals)
15626 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15627 temporary signals in reset list if
15628 verilog-auto-reset-blocking-in-non is nil, and match assignment
15629 style to each signal's assignment type, bug381.
15630 Reported by Thomas Esposito.
15631 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15632 (verilog-uvm-statement-re): Support UVM indentation and
15633 highlighting, with old OVM keywords only.
15634 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15635 Support AUTOTIEOFF creating non-wire data types.
15636 Suggested by Jonathan Greenlaw.
15637 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15638 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15639 (verilog-inject-sense, verilog-read-inst-pins)
15640 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15641 Fix mismatching parenthesis inside commented out code when deleting
15642 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15643 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15644 non-numeric vector width. Reported by Alex Reed.
15645 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15646 detecting signals with parameter widths. Reported by Alex Reed.
15647 (verilog-auto-delete-trailing-whitespace):
15648 With `verilog-auto-delete-trailing-whitespace' remove trailing
15649 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15650 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15651 Fix verilog-scan-cache corruption when running user AUTO expansion
15652 hooks that call indentation routines.
15653 (verilog-simplify-range-expression): Fix typo ignoring lower case
15654 identifiers.
15655 (verilog-delete-auto): Fix delete-autos to also remove user created
15656 automatics, as long as they start with AUTO.
15657 (verilog-batch-diff-auto, verilog-diff-auto)
15658 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15659 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15660 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15661 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15662 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15663 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15664 is disabled and its cache will get corrupt, causing AUTOS not to
15665 expand. Instead use only -quick functions.
15666 (verilog-scan-region): Fix scanning over escaped quotes.
15667 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15668 (verilog-re-search-backward-quick)
15669 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15670 related functions now ignore strings, to fix misparsing of strings
15671 with magic comments embedded in them.
15672 (verilog-read-auto-template):
15673 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15674 Reported by Brad Dobbie.
15675 (verilog-read-auto-template):
15676 Fix 'verilog-auto-inst-template-numbers' with comments.
15677 Reported by Brad Dobbie.
15678 (verilog-auto-inst, verilog-auto-inst-param)
15679 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15680 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15681 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15682 debugging templates without merge conflicts, bug357.
15683 Reported by Brad Dobbie.
15684 (verilog-read-auto-template):
15685 Fix verilog-auto-inst-template-numbers with multiple templates.
15686 Reported by Brad Dobbie.
15687 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15688 abbrevs so user won't be asked to save.
15689 (verilog-read-auto-lisp-present): Fix to start at beginning of
15690 buffer in case called outside of verilog-auto.
15691 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15692 to "X-2". Reported by Matthew Myers.
15693 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15694 all inputs from module templates. Reported by Leith Johnson.
15695 (verilog-module-inside-filename-p): Fix locating programs as with
15696 modules.
15697 (verilog-auto-inst-port): Fix vl-width expressions when using
15698 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15699 (verilog-decls-get-regs, verilog-decls-get-signals,
15700 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15701 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15702 verilog-read-decls): Combine reg and wire structures into one var
15703 structure to represent SystemVerilog concepts.
15704 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15705 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15706 (verilog-auto-wire-type, verilog-insert-definition):
15707 Add verilog-auto-wire-type and AUTOLOGIC to support using
15708 SystemVerilog "logic" keyword instead of "wire"/"reg".
15709 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15710 to declares outputs that also have assignments (presumably in an
15711 ifdef or generate if so there's not a driver conflict).
15712 Reported by Matthew Myers.
15713 (verilog-auto-declare-nettype, verilog-insert-definition):
15714 Add verilog-auto-declare-nettype to fix declarations using
15715 `default_nettype none. Reported by Julian Gorfajn.
15716 (verilog-read-always-signals-recurse, verilog-read-decls)
15717 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15718 malformed end statement, bug325. Reported by Joshua Wise and
15719 Andrew Drake.
15720 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15721 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15722 when expanding .* in interfaces, bug320.
15723 Reported by Pierre-David Pfister.
15724 (verilog-read-module-name): Fix import statements between module
15725 name and open parenthesis, bug317.
15726 Reported by Pierre-David Pfister.
15727 (verilog-simplify-range-expression): Fix simplification of
15728 multiplications inside AUTOWIRE connections, bug303.
15729 (verilog-auto-inst-port): Support parameter expansion in
15730 multidimensional arrays.
15731 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15732 after "assert property". Reported by Julian Gorfajn.
15733 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15734 with multiplication, bug303.
15735 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15736 Reported by Jan Frode Lonnum.
15737
15738 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15739
15740 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15741 (hfy-shell-file-name, hfy-shell):
15742 * international/fontset.el (x-decompose-font-name): Fix typos.
15743
15744 2011-11-29 Ken Brown <kbrown@cornell.edu>
15745
15746 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15747 (gdb-version): Remove defvar.
15748 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15749 (gdb-gud-context-command, gdb-non-stop-handler)
15750 (gdb-current-context-command, gdb-stopped): Use it.
15751 (gdb-init-1): Enable pretty printing here.
15752 (gdb-non-stop-handler): Don't enable pretty-printing here.
15753 Check to see if the target supports non-stop mode; if not, turn off
15754 non-stop mode. Use the following.
15755 (gdb-check-target-async): New defun.
15756 (gud-watch, gdb-stopped): Fix whitespace.
15757 (gdb-get-source-file): Don't try to display the source file if
15758 `gdb-main-file' is nil.
15759
15760 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15761
15762 * align.el: Try to generate fewer markers (bug#10047).
15763 (align--set-marker): New macro.
15764 (align-region): Use it.
15765
15766 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15767
15768 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15769
15770 2011-11-29 Chong Yidong <cyd@gnu.org>
15771
15772 * indent.el (indent-for-tab-command, indent-according-to-mode):
15773 Doc fix.
15774 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15775
15776 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15777
15778 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15779 aware of remote file names. (Bug#10124)
15780
15781 2011-11-29 Chong Yidong <cyd@gnu.org>
15782
15783 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15784
15785 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15786
15787 * files.el (find-file): Don't use force-same-window (bug#10144).
15788 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15789 use pop-to-buffer if the selected window can't be used.
15790 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15791
15792 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15793
15794 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15795 special-mode-map.
15796
15797 2011-11-28 Chong Yidong <cyd@gnu.org>
15798
15799 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15800
15801 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15802
15803 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15804 gdb-get-source-file-list on gdb-create-source-file-list.
15805
15806 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15807
15808 * whitespace.el (whitespace-newline): Use a different foreground
15809 color for 16-color light-background displays.
15810
15811 2011-11-24 Chong Yidong <cyd@gnu.org>
15812
15813 * window.el (display-buffer--special-action): Doc fix.
15814
15815 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15816
15817 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15818 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15819 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15820 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15821 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15822 (avl-tree-stack-first):
15823 * emacs-lisp/cconv.el (cconv--analyse-use):
15824 * net/gnutls.el (gnutls-negotiate): Fix typos.
15825
15826 2011-11-24 Glenn Morris <rgm@gnu.org>
15827
15828 * lpr.el (lpr-windows-system, lpr-lp-system):
15829 * mail/binhex.el (binhex-begin-line):
15830 * progmodes/grep.el (grep-history, grep-find-history):
15831 * textmodes/flyspell.el:
15832 * vc/pcvs-defs.el (cvs-global-menu):
15833 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15834 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15835 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15836
15837 * net/tls.el: Fix case of "GnuTLS".
15838
15839 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15840
15841 * version.el (emacs-build-system): Give it a doc-string.
15842
15843 2011-11-24 Juri Linkov <juri@jurta.org>
15844
15845 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15846
15847 2011-11-24 Glenn Morris <rgm@gnu.org>
15848
15849 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15850 if called on a non-mime message just toggle the headers. (Bug#8006)
15851
15852 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15853
15854 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15855 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15856 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15857 (allout-rebullet-heading, allout-open-sibtopic)
15858 (allout-toggle-current-subtree-encryption)
15859 (allout-toggle-subtree-encryption, allout-encrypt-string)
15860 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15861 (allout-distinctive-bullets-string, allout-auto-activation):
15862 * window.el (window-normalize-buffer-to-display):
15863 * progmodes/verilog-mode.el (verilog-batch-indent):
15864 * textmodes/bibtex.el (bibtex-field-braces-opt)
15865 (bibtex-field-strings-opt):
15866 * vc/cvs-status.el (cvs-tree-merge):
15867 Fix typos.
15868
15869 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15870
15871 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15872 `non-essential' to t, in order to avoid remote connections.
15873
15874 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15875
15876 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15877 On MS-DOS and MS-Windows, compare with loaddefs.el
15878 case-insensitively.
15879
15880 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15881
15882 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15883
15884 2011-11-23 Glenn Morris <rgm@gnu.org>
15885
15886 * paths.el (rmail-file-name): Reformat the doc-string so that it
15887 is picked up.
15888
15889 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15890 (rmail-auto-file): Ignore case in the "special" field names,
15891 as mail-fetch-field does for all others.
15892
15893 * mail/rmail.el (rmail-forward):
15894 * mail/rmailkwd.el (rmail-set-label):
15895 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15896 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15897
15898 * mail/rmail.el (rmail-current-message): Doc fix.
15899
15900 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15901
15902 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15903
15904 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15905
15906 2011-11-22 Glenn Morris <rgm@gnu.org>
15907
15908 * mail/rmailmm.el (test-rmail-mime-handler)
15909 (test-rmail-mime-bulk-handler)
15910 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15911
15912 2011-11-21 Juri Linkov <juri@jurta.org>
15913
15914 * calc/calc.el (calc-read-key-sequence):
15915 Let-bind `input-method-function' to nil. (Bug#10018)
15916
15917 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15918
15919 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15920 Tell the caller that the next line needs recomputation, even
15921 though it doesn't start a sexp (bug#10094).
15922
15923 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15924
15925 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15926
15927 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15928
15929 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15930 Use force-same-window.
15931
15932 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15933
15934 * descr-text.el (describe-char-unicode-data):
15935 * json.el (json-string-escape):
15936 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15937 (Footnote-unicode, Footnote-style-p):
15938 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15939
15940 2011-11-20 Chong Yidong <cyd@gnu.org>
15941
15942 * window.el (replace-buffer-in-windows): Restore interactive spec.
15943
15944 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15945
15946 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15947
15948 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15949 (byte-compile-global-not-obsolete-vars): New var.
15950 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15951 Use it.
15952 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15953
15954 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15955
15956 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15957 * progmodes/pascal.el (electric-pascal-equal):
15958 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15959 * xml.el (xml-substitute-special): Fix typos.
15960
15961 2011-11-20 Glenn Morris <rgm@gnu.org>
15962
15963 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15964 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15965 Doc fixes.
15966 (rmail-decode-mime-charset): Mark as obsolete.
15967
15968 * mail/rmailsum.el (rmail-message-regexp-p-1):
15969 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15970 Before using mime functions, check they are set. (Bug#10077)
15971
15972 2011-11-19 Juri Linkov <juri@jurta.org>
15973
15974 * info.el (Info-finder-find-node): Use `package--builtins' instead
15975 of `package-alist'. Use node names formed by the pattern "Keyword "
15976 and the keyword name.
15977
15978 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15979
15980 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15981
15982 2011-11-19 Juri Linkov <juri@jurta.org>
15983
15984 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15985 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15986 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15987 `old-history', `old-history-forward'. Add let-binding
15988 `window-selected'. Remove calls to `kill-buffer',
15989 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15990 before calling `Info-find-node', so `Info-find-node-2' will reread
15991 the Info file. Restore window positions only when `window-selected'
15992 is non-nil.
15993
15994 2011-11-19 Juri Linkov <juri@jurta.org>
15995
15996 * isearch.el (isearch-lazy-highlight-new-loop):
15997 Remove condition `(not isearch-error)'. (Bug#9918)
15998
15999 * misearch.el (multi-isearch-search-fun): Add condition
16000 `(not bound)' to ignore lazy-highlighting search.
16001 Add the search-failed message "end of multi" when the end of
16002 multi-sequence is reached. Uncapitalize the search-failed
16003 message "Repeat for next buffer".
16004
16005 * info.el (Info-search): Add the search-failed message
16006 "end of the manual" when the end of the manual is reached
16007 in Isearch mode.
16008
16009 2011-11-19 Juri Linkov <juri@jurta.org>
16010
16011 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16012 Use non-destructive `remove' instead of `delete' because
16013 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16014 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16015
16016 2011-11-19 Juri Linkov <juri@jurta.org>
16017
16018 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16019 to nil instead of binding `search-ring' and `regexp-search-ring'.
16020 (Bug#9185)
16021
16022 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16023
16024 * simple.el (line-move): Force movement by logical lines for any
16025 hscrolled window, not only when auto-hscroll-mode is on.
16026 (line-move-visual): Update doc string to that effect. (Bug#10076)
16027
16028 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16029
16030 * language/european.el (macintosh): Define as alias for mac-roman.
16031
16032 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16033
16034 * mail/rmailmm.el (rmail-mime-display-header)
16035 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16036 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16037 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16038 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16039 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16040 of a raw aref.
16041 (rmail-mime-entity-segment): To get past the tagline, move forward
16042 2 more lines, to account for the 2 empty lines that precede and
16043 follow the line with the buttons.
16044 (rmail-mime-update-tagline): Move one more line, to get past the
16045 empty line that follows the buttons in the tagline. (Bug#9520)
16046
16047 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16048
16049 * window.el (window-max-delta-1, window-min-delta-1)
16050 (window-min-size-1, window-state-get-1, window-state-put-1)
16051 (window-state-put-2): Use "window--" prefix.
16052
16053 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16054
16055 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16056 (smie-warning-count): New var.
16057 (smie-set-prec2tab): Use it.
16058 (smie-bnf->prec2): Improve warnings. Add docstring.
16059 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16060 (smie-bnf--set-class): New function.
16061 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16062 corner case.
16063
16064 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16065 (compilation-error-properties, compilation-move-to-column):
16066 Handle compilation-first-column while in the target buffer.
16067
16068 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16069 Don't hardcode point-min==1.
16070
16071 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16072 (eshell-rewrite-for-command): Remove workaround.
16073 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16074 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16075 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16076
16077 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16078
16079 2011-11-17 Glenn Morris <rgm@gnu.org>
16080
16081 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16082 Ignore buffer-local generated-autoload-file if it is the same
16083 as the global value. (Bug#10049)
16084
16085 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16086
16087 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16088 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16089 (reftex-toc-previous-heading, reftex-toc-max-level)
16090 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16091 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16092 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16093 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16094 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16095 (reftex-toc-rename-label, reftex-toc-visit-location)
16096 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16097 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16098 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16099 leaving "*toc*" only for references to the buffer.
16100
16101 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16102
16103 * window.el (window-resize, delete-window, split-window):
16104 Replace window-splits by window-combination-resize.
16105 * cus-start.el (window-splits): Replace by window-combination-resize.
16106
16107 2011-11-17 Glenn Morris <rgm@gnu.org>
16108
16109 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16110 Make bash entry derive from sh entry, not shell entry.
16111
16112 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16113
16114 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16115 local file name.
16116
16117 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16118
16119 * menu-bar.el (menu-bar-file-menu):
16120 * printing.el (pr-ps-utility):
16121 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16122 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16123 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16124 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16125 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16126 (icalendar--convert-cyclic-to-ical)
16127 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16128 (icalendar--convert-ical-to-diary)
16129 (icalendar--convert-recurring-to-diary)
16130 (icalendar--convert-non-recurring-all-day-to-diary)
16131 (icalendar-import-format-sample):
16132 * progmodes/idlw-shell.el (idlwave-shell-mode):
16133 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16134 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16135 (vhdl-ps-print-init): Fix typos.
16136
16137 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16138
16139 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16140 FSF and collapse date sequence, obscure author/maintainer email address
16141 better, remove extra version line, track relocation of author's webpage.
16142
16143 * progmodes/python.el (python-pdbtrack-input-prompt)
16144 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16145 regular python pdb prompts. Adjustments shamelessly taken exactly as
16146 suggested in EmacsWiki page (tiny change):
16147 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16148
16149 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16150
16151 * expand.el (expand-pos, expand-index, expand-point):
16152 Remove redundant info from docstring.
16153 (expand-add-abbrevs): Doc fix.
16154 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16155 (expand-sample-perl-mode-expand-list): Fix typos.
16156
16157 * net/dbus.el (dbus-event-member-name):
16158 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16159 * term/pc-win.el (msdos-create-frame-with-faces):
16160 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16161
16162 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16163
16164 * window.el (split-window, window-state-get-1)
16165 (window-state-put-1, window-state-put-2): Rename occurrences of
16166 window-nest to window-combination-limit.
16167 * cus-start.el (window-nest): Rename to window-combination-limit.
16168
16169 2011-11-16 Chong Yidong <cyd@gnu.org>
16170
16171 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16172 regexp (Bug#10033).
16173
16174 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16175
16176 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16177 `completing-read' will remove *Completions* and will preserve
16178 current-buffer for us.
16179 (tmm-add-prompt): Users of *Completions* will always (re)set its
16180 major mode.
16181 (tmm-old-comp-map): Remove.
16182
16183 2011-11-16 Glenn Morris <rgm@gnu.org>
16184
16185 * mail/rmailedit.el: Require rmailmm when compiling.
16186 (rmail-old-mime-state): New declaration.
16187 (rmail-edit-current-message): If editing a mime message,
16188 edit the "raw" message from the mbox buffer.
16189 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16190
16191 2011-11-15 Glenn Morris <rgm@gnu.org>
16192
16193 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16194 which wasn't being used. Add optional arg to force given state.
16195 (rmail-mime): Add optional arg to force given state.
16196
16197 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16198
16199 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16200 * frame.el (display-mm-dimensions-alist):
16201 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16202 (outline-move-subtree-down):
16203 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16204 (newsticker--treeview-do-get-node):
16205 * net/quickurl.el (quickurl-list-buffer-name):
16206 * progmodes/dcl-mode.el (dcl-mode):
16207 * progmodes/gdb-mi.el (gdb-mapcar*):
16208 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16209
16210 2011-11-15 Glenn Morris <rgm@gnu.org>
16211
16212 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16213 in a boolean sense, so just make it a boolean, and fix the doc.
16214 (rmail-show-mime-function, rmail-mime-feature)
16215 (rmail-require-mime-maybe): Doc fixes.
16216 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16217
16218 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16219
16220 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16221
16222 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16223 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16224 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16225 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16226
16227 2011-11-15 Glenn Morris <rgm@gnu.org>
16228
16229 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16230 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16231 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16232 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16233 (rmail-mime, rmail-show-mime): Doc fixes.
16234
16235 * term/ns-win.el (mode-line-frame-identification):
16236 Leave it alone. (Bug#10051)
16237
16238 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16239
16240 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16241 Handle empty buffers. (Bug#9978)
16242
16243 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16244
16245 * international/mule.el (define-charset):
16246 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16247 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16248 * progmodes/verilog-mode.el (verilog-backward-token):
16249 * textmodes/ispell.el (lookup-words):
16250 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16251
16252 2011-11-14 Glenn Morris <rgm@gnu.org>
16253
16254 * progmodes/executable.el
16255 (executable-make-buffer-file-executable-if-script-p):
16256 Handle file-modes returning nil.
16257
16258 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16259 message - not necessary, and causes problems. (Bug#9831)
16260
16261 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16262
16263 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16264
16265 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16266 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16267 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16268
16269 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16270
16271 * window.el (window-resize, delete-window): Use window-splits
16272 variable instead of function.
16273 (window-state-get-1, window-state-put-2, window-state-put):
16274 Don't deal with windows' splits status.
16275
16276 2011-11-12 Glenn Morris <rgm@gnu.org>
16277
16278 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16279 (apropos-documentation): Doc fixes.
16280
16281 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16282
16283 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16284 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16285
16286 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16287
16288 * electric.el (electric-indent-post-self-insert-function): Make it
16289 possible for a char to only indent in some circumstances.
16290 (electric-indent-mode): Simplify.
16291
16292 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16293
16294 * window.el (windows-with-parameter): Remove unused function.
16295 (windows-at-side): Rename to window-at-side-list.
16296 (window-check, window-atom-check, window-atom-check-1)
16297 (window-side-check, window-size-ignore, window-size-fixed-1)
16298 (window-in-direction-2): Prefix with "window--".
16299 (window-tree-1): Rename to window--subtree, fix doc-string.
16300
16301 2011-11-11 Glenn Morris <rgm@gnu.org>
16302
16303 * subr.el (eval-after-load): If FILE is already loaded,
16304 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16305
16306 2011-11-10 Glenn Morris <rgm@gnu.org>
16307
16308 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16309 Call svn via vc-svn-command rather than vc-do-command.
16310 (vc-svn-command): Add --non-interactive. (Bug#9993)
16311 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16312
16313 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16314 Add toggle-read-only. (Bug#7292)
16315 * files.el (toggle-read-only): Mention that it should only
16316 be used interactively. (Bug#10006)
16317
16318 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16319
16320 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16321 Adjust regexp for OCaml warnings.
16322
16323 * electric.el (electric-pair-post-self-insert-function): Let user
16324 turn it off buffer-locally (bug#9932).
16325
16326 * progmodes/python.el (python-beginning-of-statement):
16327 Rewrite (bug#2703).
16328
16329 * progmodes/compile.el: Better handle TABs (bug#9749).
16330 (compilation-internal-error-properties)
16331 (compilation-next-error-function): Obey the target buffer's
16332 compilation-error-screen-columns.
16333
16334 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16335
16336 * progmodes/meta-mode.el: Remove obsolete comments.
16337 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16338 Fix typos in docstrings.
16339
16340 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16341
16342 * window.el (window-size-fixed-p): Rewrite doc-string.
16343 (window-resizable-p): Rename to window--resizable-p. Update callers.
16344 (window--resizable): New function. Make all callers of
16345 window-resizable call window--resizable instead.
16346 (window-resizable): Rewrite in terms of window--resizable.
16347
16348 2011-11-08 Glenn Morris <rgm@gnu.org>
16349
16350 * progmodes/delphi.el (delphi-mode-syntax-table):
16351 Let define-derived-mode define a proper syntax table. (Bug#9994)
16352
16353 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16354
16355 * window.el: Stay away from defsubst.
16356 (window-list-no-nils): Remove.
16357 (window-state-get-1, window-state-get): Use backquote instead.
16358
16359 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16360
16361 * emacs-lisp/find-func.el (find-function-read):
16362 Fix incorrect use of default argument in `completing-read'.
16363
16364 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16365
16366 * window.el (display-buffer-function, special-display-function):
16367 Mention display-buffer-record-window but do not mention
16368 help-setup parameter in doc-strings.
16369 (window-min-delta): Fix doc-string typo.
16370
16371 2011-11-08 Chong Yidong <cyd@gnu.org>
16372
16373 * window.el (window-total-height, window-total-width): Doc fix.
16374 (window-body-size): Move from C.
16375 (window-body-height, window-body-width): Move to C.
16376
16377 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16378
16379 * window.el: Make special-display like display-buffer-alist (bug#9532).
16380 (display-buffer--special-action): New function, morphed
16381 from display-buffer--special.
16382 (display-buffer): Use it to handle special-display-buffers at higher
16383 priority (just after display-buffer-alist).
16384 (display-buffer-fallback-action, display-buffer--other-frame-action)
16385 (pop-to-buffer-same-window): Remove display-buffer--special.
16386
16387 2011-11-07 Glenn Morris <rgm@gnu.org>
16388
16389 * calendar/cal-menu.el (cal-menu-set-date-title):
16390 Do nothing if not in a calendar. (Bug#9976)
16391
16392 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16393
16394 * files.el (find-file): Always use selected-window.
16395
16396 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16397
16398 * window.el (window-combinations): Make WINDOW argument
16399 mandatory. Rewrite doc-string.
16400 (walk-window-subtree, window-atom-check, window-min-delta)
16401 (window-max-delta, window--resize-this-window)
16402 (window--resize-root-window-vertically, window-tree)
16403 (balance-windows, window-state-put): Rewrite doc-strings as to
16404 not mention the term "subwindow".
16405 (window--resize-subwindows-skip-p): Rename to
16406 window--resize-child-windows-skip-p.
16407 (window--resize-subwindows-normal): Rename to
16408 window--resize-child-windows-normal.
16409 (window--resize-subwindows): Rename to
16410 window--resize-child-windows.
16411 (window-or-subwindow-p): Rename to window--in-subtree-p.
16412
16413 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16414
16415 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16416 Ensure that mbox format messages end in two newlines (Bug#9974).
16417
16418 2011-11-06 Chong Yidong <cyd@gnu.org>
16419
16420 * window.el (window-combination-p): Function deleted; its
16421 side-effect is not used in any existing code.
16422 (window-combinations, window-combined-p): Call window-*-child
16423 directly.
16424
16425 2011-11-05 Chong Yidong <cyd@gnu.org>
16426
16427 * window.el (window-valid-p): Rename from window-any-p.
16428 (window-size-ignore, window-state-get): Callers changed.
16429 (window-normalize-window): Rename from window-normalize-any-window.
16430 New arg LIVE-ONLY, replacing window-normalize-live-window.
16431 (window-normalize-live-window): Delete.
16432 (window-combination-p, window-combined-p, window-combinations)
16433 (walk-window-subtree, window-atom-root, window-min-size)
16434 (window-sizable, window-sizable-p, window-size-fixed-p)
16435 (window-min-delta, window-max-delta, window-resizable)
16436 (window-resizable-p, window-full-height-p, window-full-width-p)
16437 (window-current-scroll-bars, window-point-1, set-window-point-1)
16438 (window-at-side-p, window-in-direction, window-resize)
16439 (adjust-window-trailing-edge, maximize-window, minimize-window)
16440 (window-deletable-p, delete-window, delete-other-windows)
16441 (record-window-buffer, unrecord-window-buffer)
16442 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16443 (quit-window, split-window, window-state-put)
16444 (set-window-text-height, fit-window-to-buffer)
16445 (shrink-window-if-larger-than-buffer): Callers changed.
16446
16447 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16448
16449 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16450 rfc2047-decode-string.
16451 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16452 warnings.
16453
16454 * window.el (window-body-height, window-body-width): Mention in
16455 the doc string that the return values are in frame's canonical
16456 units. (Bug#9949)
16457
16458 2011-11-03 Alan Mackenzie <acm@muc.de>
16459
16460 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16461 change in cc-engine.el.
16462
16463 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16464
16465 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16466
16467 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16468
16469 * window.el (quit-window): Call unrecord-window-buffer after
16470 showing another buffer in the window. (Bug#9937)
16471 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16472
16473 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16474
16475 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16476 Accept status with more than 9 shelves. (Bug#9935)
16477 Reported by Colin D Bennett <colin@gibibit.com>.
16478
16479 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16480
16481 * help.el (with-help-window): Don't reference
16482 temp-buffer-show-specifiers in doc-string.
16483
16484 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16485
16486 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16487 menu-item.
16488
16489 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16490
16491 * whitespace.el: New version 13.2.2.
16492 (whitespace-newline-mode): Disable properly. Reported by Sarah
16493 <EmacsWiki>.
16494
16495 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16496
16497 * net/newst-treeview.el: Remove "Time-stamp".
16498 (newsticker--group-manage-orphan-feeds): Do not call
16499 newsticker--treeview-tree-update.
16500 (newsticker-treeview-update, newsticker-treeview):
16501 Call newsticker--treeview-tree-update if necessary.
16502
16503 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16504
16505 * window.el (window-iso-combination-p, window-iso-combined-p)
16506 (window-iso-combinations): Remove "iso-" infix.
16507 Suggested by Chong Yidong.
16508 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16509 (window-max-delta-1, window-resize, window--resize-siblings)
16510 (window--resize-this-window, adjust-window-trailing-edge)
16511 (split-window, balance-windows-1)
16512 (shrink-window-if-larger-than-buffer):
16513 * calendar/calendar.el (calendar-generate-window):
16514 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16515
16516 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16517
16518 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16519 in place (bug#9907).
16520 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16521 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16522 (eshell-structure-basic-command, eshell-rewrite-while-command)
16523 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16524 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16525 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16526 (eshell-do-pipelines-synchronously, eshell-eval-command):
16527 Use backquotes and prefer setq to set.
16528 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16529 (eshell-macrop): Use functionp.
16530 (eshell-do-eval): Handle multiple expressions in `while' body.
16531
16532 2011-10-30 Chong Yidong <cyd@gnu.org>
16533
16534 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16535 instead of set-mark (Bug#9810).
16536
16537 2011-10-30 Chong Yidong <cyd@gnu.org>
16538
16539 * window.el (split-window-below, split-window-right): Rename from
16540 split-window-above-each-other and split-window-side-by-side
16541 respectively. All callers changed.
16542 (split-window-sensibly, split-window-sensibly): Use them.
16543 (split-window-keep-point): Doc fix.
16544
16545 * isearch.el: Add isearch-scroll property to split-window-below
16546 and split-window-right.
16547
16548 * follow.el (follow-mode):
16549 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16550 * progmodes/ada-xref.el (ada-gdb-application):
16551 * emulation/vip.el (vip-buffer-in-two-windows):
16552 * image-dired.el (image-dired-dired-with-window-configuration):
16553 * dired-x.el (dired-do-find-marked-files):
16554 * dired.el (dired-pop-to-buffer):
16555 * bs.el (bs--show-with-configuration):
16556 * vc/emerge.el (emerge-setup-windows):
16557 * textmodes/two-column.el (2C-two-columns):
16558 * textmodes/reftex-toc.el (reftex-toc):
16559 * progmodes/gdb-mi.el (gdb-setup-windows):
16560 * progmodes/fortran.el (fortran-window-create):
16561 * net/newst-treeview.el (newsticker--treeview-window-init):
16562 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16563 * emulation/tpu-edt.el (tpu-gold-map):
16564 * emulation/crisp.el (crisp-mode-map):
16565 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16566
16567 2011-10-29 Chong Yidong <cyd@gnu.org>
16568
16569 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16570
16571 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16572
16573 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16574 forged Ispell output (Bug#7904).
16575
16576 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16577
16578 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16579
16580 * doc-view.el: Avoid ugly errors about not finding nil.
16581 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16582 (doc-view-dvipdf-program, doc-view-unoconv-program)
16583 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16584 Avoid nil or absolute file name as default value.
16585 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16586
16587 2011-10-28 Alan Mackenzie <acm@muc.de>
16588
16589 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16590
16591 2011-10-28 Alan Mackenzie <acm@muc.de>
16592
16593 Amend the handling of c-beginning/end-of-defun in nested declaration
16594 scopes.
16595
16596 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16597 cc-langs.el. Change it to a defcustom.
16598
16599 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16600 cc-vars.el.
16601
16602 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16603 Prevent "class foo : bar" being spuriously recognized as a label.
16604
16605 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16606 Add parameter `inclusive' (to include enclosing braces in the region).
16607 (c-widen-to-enclosing-decl-scope): New function.
16608 (c-while-widening-to-decl-block): New macro.
16609 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16610 outward for defun boundaries, and correspondingly change symbol
16611 `respect-enclosure' to `go-outward'.
16612 (c-declaration-limits): Change algorithm to report only the "innermost"
16613 defun's boundaries.
16614
16615 2011-10-28 Deniz Dogan <deniz@dogan.se>
16616
16617 * net/rcirc.el (rcirc-mode): Use hard newlines.
16618
16619 2011-10-28 Alan Mackenzie <acm@muc.de>
16620
16621 Amend to indent and fontify macros "which include their own semicolon"
16622 correctly, using the "virtual semicolon" mechanism.
16623
16624 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16625
16626 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16627 Recode to scan one line at a time rather than having \n and \r
16628 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16629 (c-forward-label): Amend for virtual semicolons.
16630 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16631
16632 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16633 of the new C macros.
16634
16635 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16636 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16637 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16638 (c-opt-cpp-macro-define): Make into a full language variable.
16639 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16640 AWK Mode (including \n, \r) removed, no longer needed.
16641
16642 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16643 Invoke c-make-macro-with-semi-re.
16644
16645 * progmodes/cc-vars.el (c-macro-with-semi-re):
16646 (c-macro-names-with-semicolon): New variables.
16647 (c-make-macro-with-semi-re): New function.
16648
16649 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16650
16651 * vc/log-edit.el: Fill empty field rather than adding new one.
16652 (log-edit-add-field): New function.
16653 (log-edit-insert-changelog): Use it.
16654
16655 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16656
16657 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16658
16659 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16660
16661 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16662 (gdb--check-interpreter): New function.
16663 (gdb): Use it.
16664
16665 2011-10-27 Glenn Morris <rgm@gnu.org>
16666
16667 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16668 (least-positive-float, least-negative-float)
16669 (least-positive-normalized-float, least-negative-normalized-float)
16670 (float-epsilon, float-negative-epsilon):
16671 Remove unnecessary declarations.
16672
16673 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16674 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16675 (least-positive-float, least-negative-float)
16676 (least-positive-normalized-float, least-negative-normalized-float)
16677 (float-epsilon, float-negative-epsilon): Add doc-strings,
16678 based on those in cl.texi.
16679
16680 * files.el (set-visited-file-name): If the major-mode changed,
16681 reload the local variables. (Bug#9796)
16682
16683 2011-10-27 Chong Yidong <cyd@gnu.org>
16684
16685 * subr.el (change-major-mode-after-body-hook): New hook.
16686 (run-mode-hooks): Run it.
16687
16688 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16689 Use change-major-mode-before-body-hook.
16690
16691 * simple.el (fundamental-mode):
16692 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16693 change introducing fundamental-mode-hook.
16694
16695 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16696
16697 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16698
16699 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16700
16701 * ido.el (ido-file-name-all-completions-1): Do not require
16702 tramp.el explicitly. (Bug#7583)
16703
16704 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16705
16706 * progmodes/octave-mod.el:
16707 * progmodes/octave-inf.el: Update maintainer.
16708
16709 2011-10-26 Chong Yidong <cyd@gnu.org>
16710
16711 * subr.el (with-wrapper-hook): Rewrite doc.
16712
16713 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16714
16715 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16716 filenames "/method:foo:". (Bug#9793)
16717
16718 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16719
16720 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16721 (bug#9865).
16722
16723 2011-10-24 Glenn Morris <rgm@gnu.org>
16724
16725 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16726
16727 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16728
16729 * notifications.el: Add the requirement of a running D-Bus session
16730 bus to the Commentary.
16731
16732 2011-10-24 Juri Linkov <juri@jurta.org>
16733
16734 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16735 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16736 (Bug#9364)
16737
16738 2011-10-24 Juri Linkov <juri@jurta.org>
16739
16740 * info.el (Info-following-node-name-re): Add newline to the list
16741 of allowed characters for leading space. (Bug#9824)
16742
16743 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16744
16745 * progmodes/octave-inf.el (inferior-octave-mode-map):
16746 Fix C-c C-h binding.
16747 * progmodes/octave-mod.el (octave-help): Remove.
16748
16749 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16750
16751 Sync with Tramp 2.2.3.
16752
16753 * net/tramp-cache.el (top): Pacify byte-compiler using
16754 `init-file-user' and `site-run-file'.
16755
16756 * net/trampver.el: Update release number.
16757
16758 2011-10-23 Chong Yidong <cyd@gnu.org>
16759
16760 * files.el (toggle-read-only): Remove obsolete comment about
16761 version control.
16762
16763 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16764 for toggle-read-only. Note that this hasn't called vc-next-action
16765 since 2008-05-02, though it wasn't documented at the time.
16766
16767 * vc/ediff-init.el (ediff-toggle-read-only-function):
16768 Use toggle-read-only.
16769
16770 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16771
16772 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16773 of c-parse-state.
16774
16775 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16776 correct faulty logical expression.
16777 (c-parse-state-state, c-record-parse-state-state):
16778 (c-replay-parse-state-state): New defvar/defuns.
16779 (c-debug-parse-state): Use new functions.
16780
16781 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16782
16783 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16784 last fix. Use window-in-direction correctly.
16785
16786 2011-10-21 Chong Yidong <cyd@gnu.org>
16787
16788 * progmodes/idlwave.el (idlwave-mode):
16789 * progmodes/vera-mode.el (vera-mode): No need to set
16790 require-final-newline; that's done in prog-mode.
16791 Suggested by Stefan Monnier.
16792
16793 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16794
16795 * mouse.el (mouse-drag-window-above)
16796 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16797 (mouse-drag-mode-line-1, mouse-drag-header-line)
16798 (mouse-drag-vertical-line-rightward-window): Remove.
16799 (mouse-drag-line): New function.
16800 (mouse-drag-mode-line, mouse-drag-header-line)
16801 (mouse-drag-vertical-line): Call mouse-drag-line.
16802 * window.el (window-at-side-p, windows-at-side): New functions.
16803
16804 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16805
16806 * tar-mode.el (tar-grind-file-mode):
16807 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16808
16809 2011-10-21 Chong Yidong <cyd@gnu.org>
16810
16811 * progmodes/idlwave.el (idlwave-mode):
16812 * progmodes/vera-mode.el (vera-mode):
16813 Use mode-require-final-newline.
16814
16815 2011-10-20 Glenn Morris <rgm@gnu.org>
16816
16817 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16818
16819 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16820
16821 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16822
16823 2011-10-20 Chong Yidong <cyd@gnu.org>
16824
16825 * emulation/cua-base.el (cua-mode):
16826 * mail/footnote.el (footnote-mode):
16827 * mail/mailabbrev.el (mail-abbrevs-mode):
16828 * net/xesam.el (xesam-minor-mode):
16829 * progmodes/bug-reference.el (bug-reference-mode):
16830 * progmodes/cap-words.el (capitalized-words-mode):
16831 * progmodes/compile.el (compilation-minor-mode)
16832 (compilation-shell-minor-mode):
16833 * progmodes/gud.el (gud-tooltip-mode):
16834 * progmodes/hideif.el (hide-ifdef-mode):
16835 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16836 * progmodes/subword.el (subword-mode):
16837 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16838 * progmodes/which-func.el (which-function-mode):
16839 * term/tvi970.el (tvi970-set-keypad-mode):
16840 * term/vt100.el (vt100-wide-mode):
16841 * textmodes/flyspell.el (flyspell-mode):
16842 * textmodes/ispell.el (ispell-minor-mode):
16843 * textmodes/nroff-mode.el (nroff-electric-mode):
16844 * textmodes/paragraphs.el (use-hard-newlines):
16845 * textmodes/refill.el (refill-mode):
16846 * textmodes/reftex.el (reftex-mode):
16847 * textmodes/rst.el (rst-minor-mode):
16848 * textmodes/sgml-mode.el (html-autoview-mode)
16849 (sgml-electric-tag-pair-mode):
16850 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16851 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16852 * emulation/crisp.el (crisp-mode):
16853 * emacs-lisp/eldoc.el (eldoc-mode):
16854 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16855 minor mode behavior.
16856
16857 2011-10-19 Juri Linkov <juri@jurta.org>
16858
16859 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16860 the list of hard-coded chars with escape-glyph face.
16861
16862 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16863
16864 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16865
16866 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16867
16868 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16869 running process.
16870
16871 2011-10-19 Glenn Morris <rgm@gnu.org>
16872
16873 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16874 Ignore ignored files. (Bug#9726)
16875
16876 2011-10-19 Chong Yidong <cyd@gnu.org>
16877
16878 Doc fix for minor modes, stating that an omitted argument enables
16879 the mode unconditionally when called from Lisp.
16880
16881 * abbrev.el (abbrev-mode):
16882 * allout.el (allout-mode):
16883 * autoinsert.el (auto-insert-mode):
16884 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16885 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16886 (global-auto-revert-mode):
16887 * battery.el (display-battery-mode):
16888 * composite.el (global-auto-composition-mode)
16889 (auto-composition-mode):
16890 * delsel.el (delete-selection-mode):
16891 * desktop.el (desktop-save-mode):
16892 * dired-x.el (dired-omit-mode):
16893 * dirtrack.el (dirtrack-mode):
16894 * doc-view.el (doc-view-minor-mode):
16895 * double.el (double-mode):
16896 * electric.el (electric-indent-mode, electric-pair-mode):
16897 * emacs-lock.el (emacs-lock-mode):
16898 * epa-hook.el (auto-encryption-mode):
16899 * follow.el (follow-mode):
16900 * font-core.el (font-lock-mode):
16901 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16902 * help.el (temp-buffer-resize-mode):
16903 * hilit-chg.el (highlight-changes-mode)
16904 (highlight-changes-visible-mode):
16905 * hi-lock.el (hi-lock-mode):
16906 * hl-line.el (hl-line-mode, global-hl-line-mode):
16907 * icomplete.el (icomplete-mode):
16908 * ido.el (ido-everywhere):
16909 * image-file.el (auto-image-file-mode):
16910 * image-mode.el (image-minor-mode):
16911 * iswitchb.el (iswitchb-mode):
16912 * jka-cmpr-hook.el (auto-compression-mode):
16913 * linum.el (linum-mode):
16914 * longlines.el (longlines-mode):
16915 * master.el (master-mode):
16916 * mb-depth.el (minibuffer-depth-indicate-mode):
16917 * menu-bar.el (menu-bar-mode):
16918 * minibuf-eldef.el (minibuffer-electric-default-mode):
16919 * mouse-sel.el (mouse-sel-mode):
16920 * msb.el (msb-mode):
16921 * mwheel.el (mouse-wheel-mode):
16922 * outline.el (outline-minor-mode):
16923 * paren.el (show-paren-mode):
16924 * recentf.el (recentf-mode):
16925 * reveal.el (reveal-mode, global-reveal-mode):
16926 * rfn-eshadow.el (file-name-shadow-mode):
16927 * ruler-mode.el (ruler-mode):
16928 * savehist.el (savehist-mode):
16929 * scroll-all.el (scroll-all-mode):
16930 * scroll-bar.el (scroll-bar-mode):
16931 * server.el (server-mode):
16932 * shell.el (shell-dirtrack-mode):
16933 * simple.el (auto-fill-mode, transient-mark-mode)
16934 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16935 (line-number-mode, column-number-mode, size-indication-mode)
16936 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16937 * strokes.el (strokes-mode):
16938 * time.el (display-time-mode):
16939 * t-mouse.el (gpm-mouse-mode):
16940 * tool-bar.el (tool-bar-mode):
16941 * tooltip.el (tooltip-mode):
16942 * type-break.el (type-break-mode-line-message-mode)
16943 (type-break-query-mode):
16944 * view.el (view-mode):
16945 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16946 (global-whitespace-mode, global-whitespace-newline-mode):
16947 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16948
16949 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16950 Fix autogenerated docstring.
16951
16952 2011-10-19 Juri Linkov <juri@jurta.org>
16953
16954 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16955 by checking environment variables "DESKTOP_SESSION" and
16956 "XDG_CURRENT_DESKTOP". (Bug#9779)
16957
16958 2011-10-19 Juri Linkov <juri@jurta.org>
16959
16960 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16961 (browse-url-chromium-program, browse-url-chromium-arguments):
16962 New defcustoms.
16963 (browse-url-default-browser): Check for `browse-url-chromium' and
16964 call `browse-url-chromium-program'.
16965 (browse-url-chromium): New command. (Bug#9779)
16966
16967 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16968
16969 * facemenu.el (list-colors-duplicates): On Windows, detect more
16970 duplicates by assuming that only colors matching "^System" are
16971 special "system colors". (Bug#9722)
16972
16973 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16974
16975 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16976 to distinguish the author from the committer.
16977
16978 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16979
16980 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16981
16982 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16983
16984 * international/mule.el (sgml-html-meta-auto-coding-function):
16985 Add support for detecting encoding in HTML5 specified only as
16986 <meta charset="UTF-8">. Implementation just makes http-equiv and
16987 content-type parts from HTML4 encoding string optional. (Bug#9716)
16988
16989 2011-10-18 Glenn Morris <rgm@gnu.org>
16990
16991 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16992
16993 2011-10-18 Chong Yidong <cyd@gnu.org>
16994
16995 * faces.el (cursor): Doc fix.
16996
16997 2011-10-17 Chong Yidong <cyd@gnu.org>
16998
16999 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17000
17001 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17002
17003 * dirtrack.el (dirtrack): Support shell buffers with path
17004 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17005
17006 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17007
17008 * json.el: Bump version to 1.3 and note change in History.
17009 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17010
17011 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17012
17013 * comint.el (comint-insert-input, comint-send-input)
17014 (comint-get-old-input-default, comint-backward-matching-input)
17015 (comint-next-prompt): Use nil instead of `input' for field property of
17016 past user input (bug#114).
17017
17018 * minibuffer.el (completion--replace): Inherit surrounding properties
17019 (bug#114).
17020 (minibuffer-complete-and-exit): Use it.
17021
17022 * comint.el (comint--table-subvert): Quote the all-completions output
17023 (bug#9160).
17024
17025 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17026
17027 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17028
17029 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17030 window on right of selected. (Bug#9350) Reword other window
17031 entries and separate them from frame entries.
17032
17033 2011-10-15 Glenn Morris <rgm@gnu.org>
17034
17035 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17036 Doc fixes.
17037
17038 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17039
17040 * net/network-stream.el (network-stream-open-starttls):
17041 Improve detection of failure due to lack of TLS support.
17042
17043 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17044 putting the input text in front and in bold.
17045
17046 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17047
17048 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17049
17050 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17051 empty buffer.
17052
17053 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17054 unread-command-events rather than pushing yet-another event.
17055
17056 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17057
17058 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17059 the explanation of the possible choices. Make the options passed
17060 to completing-read shorter.
17061
17062 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17063
17064 * textmodes/flyspell.el (flyspell-large-region): Make sure
17065 extended character mode is used if defined (Bug#1339).
17066
17067 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17068
17069 * simple.el (what-cursor-position): Fix the display of the
17070 character info for LRE, LRO, RLE, and RLO characters by appending
17071 an invisible PDF.
17072
17073 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17074
17075 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17076 even in case of error; add debug spec; simplify data flow.
17077 (with-timeout-handler): Remove.
17078
17079 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17080
17081 Fix Bug#6019, Bug#9315.
17082
17083 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17084 complete `buffer-file-name', the local file name part could look
17085 remotely (for example on VMS).
17086
17087 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17088 `tramp-run-real-handler'.
17089 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17090 already quoted by '"'.
17091
17092 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17093 Let `file-name-handler-alist' be nil, the local file name part
17094 could look remotely (for example on VMS).
17095
17096 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17097
17098 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17099 from here...
17100 (flyspell-post-command-hook): ...to here.
17101
17102 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17103
17104 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17105 if not needed.
17106 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17107 using completion. Protect against "slow" callers.
17108 Remove the "message hack".
17109
17110 2011-10-11 Juri Linkov <juri@jurta.org>
17111
17112 * isearch.el (isearch-lazy-highlight-word): New variable.
17113 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17114 Use it. (Bug#9727)
17115
17116 2011-10-11 Glenn Morris <rgm@gnu.org>
17117
17118 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17119 like f90-previous-statement does.
17120
17121 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17122
17123 * eshell/eshell.el (eshell-command): History should be saved
17124 only in interactive use, to avoid error.
17125
17126 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17127
17128 * minibuffer.el (completion-file-name-table): Fix last change,
17129 i.e. ignore normal errors but not the other ones.
17130
17131 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17132
17133 * window.el (special-display-buffer-names)
17134 (special-display-regexps): Remove some remnants of earlier
17135 changes from doc-strings.
17136 (quit-windows-on): New function.
17137
17138 * vc/vc.el (vc-revert, vc-rollback):
17139 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17140 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17141 (Bug#6183) (Bug#7074) (Bug#7447)
17142
17143 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17144
17145 * window.el (frame-auto-hide-function): Add version tag.
17146 (Bug#9699)
17147
17148 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17149
17150 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17151 condition.
17152
17153 2011-10-09 Leo Liu <sdl.web@gmail.com>
17154
17155 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17156 (Bug#9701)
17157
17158 2011-10-08 Glenn Morris <rgm@gnu.org>
17159
17160 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17161 before the first code statement zero indent. (Bug#9690)
17162
17163 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17164
17165 * simple.el (count-words-region): Always count in the region.
17166 Report the number of lines and characters too.
17167 (count-words): New command, which counts in the buffer if the
17168 region is inactive, as count-words-region used to.
17169 (count-words--message): New function. Handle plurals.
17170 (count-lines-region): Make it an alias for count-words-region.
17171
17172 * bindings.el (esc-map): Replace count-lines-region with
17173 count-words-region.
17174
17175 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17176
17177 * window.el (window--delete): Delete dedicated frame
17178 unconditionally when argument KILL is non-nil. (Bug#9699)
17179 (switch-to-buffer): Fix doc-string typo.
17180
17181 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17182
17183 * eshell/eshell.el (eshell-command): Avoid using hooks.
17184
17185 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17186
17187 * bindings.el ([M-left],[M-right]): Bind to left-word and
17188 right-word respectively.
17189
17190 2011-10-07 Glenn Morris <rgm@gnu.org>
17191
17192 * cus-start.el (debug-on-quit): Fix custom type.
17193
17194 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17195
17196 * subr.el (define-key-after): Clarify that the function is not
17197 useful for non-menu keymaps.
17198
17199 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17200
17201 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17202
17203 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17204 in current minibuffer (Fix bug with recursive minibuffers).
17205
17206 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17207
17208 * progmodes/gdb-mi.el (gdb): Doc fix.
17209
17210 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17211
17212 * window.el (frame-auto-hide-function): New option replacing
17213 frame-auto-delete. Suggested by Stefan Monnier.
17214 (window--delete): Call frame-auto-hide-function instead of
17215 investigating frame-auto-delete.
17216 (window-point-1, set-window-point-1): New functions.
17217 (window-in-direction, record-window-buffer, window-state-get-1)
17218 (display-buffer-record-window): Use window-point-1 instead of
17219 window-point.
17220 (set-window-buffer-start-and-point): Use set-window-point-1.
17221
17222 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17223
17224 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17225
17226 2011-10-05 Glenn Morris <rgm@gnu.org>
17227
17228 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17229 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17230
17231 2011-10-05 Leo Liu <sdl.web@gmail.com>
17232
17233 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17234 works with buffer object.
17235
17236 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17237
17238 * mpc.el (mpc-tool-bar-map): Add labels.
17239
17240 2011-10-04 Glenn Morris <rgm@gnu.org>
17241
17242 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17243
17244 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17245
17246 * window.el (window--delete): New function.
17247 (frame-auto-delete): Resuscitate option.
17248 (bury-buffer, replace-buffer-in-windows)
17249 (quit-window): Rewrite using window--delete.
17250 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17251 Pass display-buffer-mark-dedicated to window--display-buffer-2
17252 (Bug#9639).
17253
17254 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17255
17256 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17257 returns a list (bug#9554). Add remote file name completion.
17258 * comint.el (comint--table-subvert): Curry and get quote&unquote
17259 functions as arguments.
17260 (comint--complete-file-name-data): Adjust call accordingly.
17261 * pcomplete.el (pcomplete--table-subvert): Remove.
17262 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17263
17264 * minibuffer.el (completion-table-case-fold): Use currying.
17265 (completion--styles-type, completion--cycling-threshold-type):
17266 New constants.
17267 (completion-styles, completion-category-overrides)
17268 (completion-cycle-threshold): Use them.
17269 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17270 completion-table-case-fold.
17271
17272 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17273
17274 * minibuffer.el (completion-category-overrides): Fix type of styles
17275 and add more user friendly tags (bug#9660).
17276
17277 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17278
17279 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17280 (mule-input-method-string): New widget.
17281 (default-input-method, language-info-custom-alist): Use it.
17282
17283 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17284
17285 * pcomplete.el: Require comint.
17286 (pcomplete--common-suffix): Remove.
17287 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17288 (pcomplete--table-subvert): Sync with comint--table-subvert.
17289 (pcomplete--entries): Use comint-completion-file-name-table.
17290 * comint.el (comint-unquote-filename): Simplify.
17291 (comint-completion-file-name-table): New function (bug#9616).
17292 (comint--complete-file-name-data): Use it.
17293
17294 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17295 (pcmpl-gnu-tar-buffer): Remove.
17296 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17297 around. Make sure pcomplete-suffix-list is only changed temporarily.
17298 Don't look inside the tar's file if it's too large.
17299
17300 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17301
17302 * cus-edit.el (custom-mode-map):
17303 * epa.el (epa-key-list-mode-map):
17304 * man.el (Man-mode-map):
17305 * startup.el (splash-screen-keymap):
17306 * simple.el (special-mode-map): Use scroll-up-command and
17307 scroll-down-command.
17308
17309 * progmodes/idlw-help.el (idlwave-help-mode-map):
17310 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17311 * net/newst-plainview.el (newsticker-mode-map):
17312 * emulation/ws-mode.el (wordstar-mode-map):
17313 * emulation/vi.el (vi-com-map):
17314 * calc/calc-graph.el (calc-graph-show-dumb):
17315 * term/sun.el (terminal-init-sun):
17316 * term/ns-win.el (global-map):
17317 * progmodes/grep.el (grep-mode-map):
17318 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17319 * mail/rmail.el (rmail-mode-map):
17320 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17321
17322 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17323 custom-safe-themes as special.
17324
17325 2011-10-01 Julien Danjou <julien@danjou.info>
17326
17327 * notifications.el (notifications-notify): Fix docstring.
17328
17329 2011-10-01 Per Starbäck <per@starback.se>
17330
17331 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17332
17333 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17334
17335 * startup.el (command-line-1): Fix last fix by inserting
17336 initial-scratch-message into *scratch* before displaying it.
17337 (Bug#9605) and (Bug#9636)
17338
17339 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17340
17341 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17342 window is hscrolled, move by logical lines. (Bug#9607)
17343 (line-move-visual): Update the doc string to the above effect.
17344
17345 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17346
17347 * window.el (display-buffer-record-window): When WINDOW is the
17348 selected window use `point' instead of `window-point'. (Bug#9626)
17349
17350 * startup.el (command-line-1): Use insert-before-markers when
17351 inserting initial-scratch-message. (Bug#9605)
17352
17353 * help.el (help-window): Remove variable.
17354
17355 2011-09-29 Glenn Morris <rgm@gnu.org>
17356
17357 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17358
17359 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17360
17361 * descr-text.el (describe-char-categories): Accept category
17362 descriptions more than one line long.
17363
17364 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17365
17366 * simple.el (delete-trailing-whitespace): Fix last change.
17367
17368 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17369 Don't confuse "y => 3" as the beginning of a `y' operation.
17370
17371 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17372 object has more than 4 slots (bug#9613).
17373
17374 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17375
17376 * subr.el (with-output-to-temp-buffer):
17377 * net/quickurl.el (quickurl, quickurl-browse-url):
17378 Fix typos in docstrings.
17379
17380 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17381
17382 * minibuffer.el (completion-styles)
17383 (completion-category-overrides): Cross reference each other in doc
17384 strings.
17385
17386 2011-09-27 Glenn Morris <rgm@gnu.org>
17387
17388 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17389 to split-string. (Bug#9606)
17390
17391 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17392
17393 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17394 (bug#9615).
17395
17396 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17397
17398 * emacs-lisp/package.el (list-packages): Fix echo area message.
17399
17400 2011-09-27 Leo Liu <sdl.web@gmail.com>
17401
17402 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17403
17404 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17405
17406 * net/dbus.el (dbus-unregister-object): Don't release services for
17407 registered signals. (Bug#9581)
17408
17409 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17410
17411 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17412 function that picks between cfengine 2 and 3 support
17413 automatically. Update docs accordingly.
17414
17415 2011-09-22 Kenichi Handa <handa@m17n.org>
17416
17417 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17418 ZERO.
17419 (indian-itrans-v5-table-for-tamil): New variable.
17420 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17421
17422 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17423
17424 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17425 that's true if the current command involved collapsing of text.
17426 It's reset to false at the beginning of the next command.
17427 (allout-post-command-business): Move the cursor to the beginning
17428 of entry if the cursor is hidden and collapsing activity just
17429 happened.
17430
17431 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17432
17433 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17434 tracking (Bug#9541).
17435
17436 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17437
17438 * net/newst-reader.el (newsticker-html-renderer)
17439 (newsticker-show-news): Automatically load html rendering package
17440 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17441 because w3m-fill-column is let-bound" and the error "Symbol's value
17442 as variable is void: w3m-fill-column".
17443
17444 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17445
17446 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17447 Release services only if they are defined. (Bug#9581)
17448
17449 2011-09-23 Richard Stallman <rms@gnu.org>
17450
17451 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17452 distinguish start of paragraph from start of its text.
17453
17454 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17455
17456 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17457 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17458 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17459
17460 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17461
17462 * international/mule-diag.el (mule-diag): Insert a newline after
17463 each fontset description.
17464
17465 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17466
17467 * simple.el (delete-trailing-whitespace):
17468 Document last change; simplify.
17469
17470 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17471
17472 * simple.el (delete-trailing-whitespace): Also delete
17473 extra newlines at the end of the buffer.
17474
17475 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17476 (picture-newline): Use forward-line so as to ignore fields.
17477
17478 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17479
17480 * subr.el (with-wrapper-hook): Fix edebug spec.
17481
17482 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17483
17484 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17485 (bug#4538).
17486
17487 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17488
17489 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17490 Fix nasty bug using wrong cached values.
17491
17492 2011-09-23 Alan Mackenzie <acm@muc.de>
17493
17494 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17495
17496 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17497
17498 * window.el (pop-to-buffer): Ensure right window is selected if we
17499 chose another frame.
17500
17501 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17502
17503 * simple.el (what-cursor-position): Use get-char-property-change
17504 and next-single-char-property-change, to be able to show display
17505 properties that come from overlays as well as text properties.
17506
17507 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17508
17509 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17510
17511 * cmuscheme.el (run-scheme, switch-to-scheme):
17512 * cus-edit.el (customize-group, custom-buffer-create)
17513 (customize-browse):
17514 * info.el (info):
17515 * shell.el (shell):
17516 * mail/sendmail.el (mail):
17517 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17518
17519 2011-09-22 Richard Stallman <rms@gnu.org>
17520
17521 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17522 move back only to line beg, don't move back over blank lines.
17523
17524 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17525
17526 * files.el (copy-directory): Set directory attributes only in case
17527 they could be retrieved from the source directory. (Bug#9565)
17528
17529 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17530
17531 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17532 (hs-find-block-beginning, hs-hide-level-recursive):
17533 Ignore strings as well as comments. (Bug#9502)
17534
17535 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17536
17537 * progmodes/sql.el (sql-comint-postgres):
17538 Convert port number to a string. (Bug#9566)
17539
17540 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17541
17542 * window.el (quit-window): Undedicate window when switching to
17543 previous buffer. Reported by Thierry Volpiatto
17544 <thierry.volpiatto@gmail.com>.
17545 (special-display-popup-frame): When popping up a new frame reset
17546 its previous buffers to nil. Simplify code.
17547
17548 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17549
17550 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17551 and process filter, as done also in `shell-command'.
17552
17553 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17554
17555 * window.el (set-window-buffer-start-and-point):
17556 Call set-window-start with NOFORCE argument t.
17557 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17558 (quit-window): Reword doc-string. Handle new format of
17559 quit-restore parameter. Don't delete window if it has a
17560 previous buffer we can show instead of the present one.
17561 (display-buffer-record-window): Rewrite using a new format for
17562 the quit-restore window parameter
17563 (special-display-popup-frame, display-buffer-same-window)
17564 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17565 (display-buffer-pop-up-window, display-buffer-use-some-window):
17566 Adapt symbol passed to display-buffer-record-window.
17567 * help.el (help-window-setup): Handle new format of quit-restore
17568 parameter.
17569
17570 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17571
17572 * faces.el (face-list): Fix docstring (bug#9564).
17573
17574 * window.el (display-buffer--action-function-custom-type):
17575 Don't include internal functions in the Custom interface.
17576
17577 2011-09-20 Juri Linkov <juri@jurta.org>
17578
17579 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17580 (Info-forward-node, Info-backward-node, Info-next-preorder)
17581 (Info-last-preorder): Use it. (Bug#9528)
17582
17583 2011-09-20 Juri Linkov <juri@jurta.org>
17584
17585 * info.el (Info-last-preorder): Visit last menu item only when
17586 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17587
17588 2011-09-20 Julien Danjou <julien@danjou.info>
17589
17590 * password-cache.el (password-cache-remove): Remove entries even if the
17591 value is nil, so that password with a nil value (negative caching) is
17592 possible to invalidate.
17593
17594 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17595
17596 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17597 all whitespace around breakpoint. (Bug#9553)
17598 (f90-find-breakpoint): Only break at whitespace inside a comment.
17599
17600 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17601
17602 * minibuffer.el (completion-file-name-table): Keep track of errors.
17603 (completion-table-with-predicate): Handle the case where pred1 is nil.
17604 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17605
17606 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17607
17608 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17609 (debugger-return-value): Signal an error if the debugging context does
17610 not await any return value.
17611
17612 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17613 * image-mode.el (image-toggle-display-text)
17614 (image-toggle-display-image): Stay away from evil `intangible'.
17615
17616 2011-09-19 Leo Liu <sdl.web@gmail.com>
17617
17618 * replace.el (occur-revert-arguments): Make it permanent-local.
17619 (occur-mode): Don't call font-lock-defontify.
17620
17621 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17622
17623 * net/ldap.el (ldap-search-internal): Don't push empty search
17624 result (Bug#9508).
17625
17626 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17627
17628 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17629
17630 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17631
17632 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17633 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17634
17635 2011-09-18 Juri Linkov <juri@jurta.org>
17636
17637 * buff-menu.el (Buffer-menu-mode-map):
17638 * dired.el (dired-mode-map):
17639 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17640 (lisp-interaction-mode-map):
17641 * emacs-lisp/package.el (package-menu-mode-map):
17642 * epa.el (epa-key-list-mode-map):
17643 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17644 (menu-bar-options-menu):
17645 * outline.el (outline-mode-menu-bar-map):
17646 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17647 * vc/vc-dir.el (vc-dir-menu-map):
17648 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17649 Capitalize non-function content words in menu item strings.
17650
17651 * dired.el (dired-mode-map): Add menu item for
17652 `image-dired-dired-toggle-marked-thumbs'.
17653
17654 2011-09-18 Juri Linkov <juri@jurta.org>
17655
17656 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17657 to `isearch-case-fold-search' and restore its original value
17658 after the `isearch-mode' call.
17659
17660 2011-09-18 Juri Linkov <juri@jurta.org>
17661
17662 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17663 because `zgrep' returns 1 for successful matches (bug#9226).
17664
17665 2011-09-18 Juri Linkov <juri@jurta.org>
17666
17667 * info.el (Info-extract-menu-node-name): Check the second match
17668 for empty string (second test-case of bug#9528).
17669 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17670 intermediate nodes to the history (first test-case of bug#9528).
17671
17672 2011-09-18 Juri Linkov <juri@jurta.org>
17673
17674 * info.el (Info-mode-syntax-table): New variable.
17675 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17676
17677 2011-09-18 Juri Linkov <juri@jurta.org>
17678
17679 * info.el (Info-file-supports-index-cookies):
17680 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17681 outputs one more line for long file names (bug#4142).
17682
17683 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17684
17685 * newcomment.el (comment-normalize-vars): If prompting for
17686 comment-start, set comment-start-skip too (Bug#8424).
17687
17688 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17689
17690 * icomplete.el: Fix previous fix of Bug#5849.
17691 (icomplete-mode): Don't set completion-show-inline-help.
17692 (icomplete-minibuffer-setup): Set completion-show-inline-help
17693 locally during icompletion.
17694
17695 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17696
17697 * woman.el (woman2-process-escapes): Don't delete unrecognized
17698 escapes (Bug#7843).
17699
17700 * files.el (inhibit-first-line-modes-regexps): Add image files.
17701 (hack-local-variables-prop-line): Return nil for malformed
17702 prop-lines (Bug#9044).
17703
17704 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17705
17706 * net/tramp.el (top): Don't require 'shell.
17707 (tramp-methods): Fix docstring.
17708 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17709 Return complete remote file name. Handle "smb" case.
17710 Use `tramp-tmpdir', if defined for the respective method.
17711 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17712
17713 * net/tramp-compat.el (top): Require 'shell.
17714
17715 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17716 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17717 `tramp-current-host'.
17718 (tramp-get-remote-tmpdir): Remove.
17719
17720 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17721 `tramp-tmpdir' entries.
17722 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17723 (tramp-smb-handle-file-attributes): Ignore errors.
17724 (tramp-smb-wait-for-output): Check also for process end.
17725
17726 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17727
17728 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17729 when sending QUIT (bug#9312).
17730
17731 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17732
17733 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17734 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17735 occur-mode-display-occurrence.
17736 (occur-edit-mode): Add usage message.
17737 (occur-cease-edit): New command.
17738 (occur-after-change-function): Use text properties to find the
17739 position of the prefix text.
17740 (occur-engine): Set stickiness of prefix text properties.
17741
17742 2011-09-17 Glenn Morris <rgm@gnu.org>
17743
17744 * progmodes/etags.el (complete-tag):
17745 Fix call to completion-in-region. (Bug#9526)
17746
17747 2011-09-17 Juri Linkov <juri@jurta.org>
17748
17749 * textmodes/ispell.el (ispell-word): Add to the error message
17750 the word, ispell program name and current dictionary (bug#9121).
17751 (ispell-tex-arg-end): Capitalize "error" in the error message.
17752
17753 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17754
17755 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17756 check. (Bug#4251)
17757
17758 2011-09-17 Juri Linkov <juri@jurta.org>
17759
17760 * window.el (window-safe-min-height, window-safe-min-width):
17761 Fix typos (followup to bug#9522).
17762
17763 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17764
17765 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17766
17767 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17768
17769 * simple.el (line-move): If goal-column is set, move by logical
17770 lines, not by display lines. (Bug#971)
17771 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17772 to reflect the above change.
17773
17774 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17775
17776 * image.el (imagemagick-register-types): Use regexp-opt.
17777
17778 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17779
17780 * window.el (display-buffer-base-action): Rename from
17781 display-buffer-default-action. Make default value empty.
17782 (display-buffer-overriding-action): Convert to defvar.
17783 (display-buffer-fallback-action): New var.
17784
17785 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17786
17787 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17788 declaration.
17789 (package--add-to-archive-contents): If there is a duplicate entry
17790 with an older version, remove it.
17791 (package-menu-mark-delete, package-menu-mark-install)
17792 (package-menu-mark-unmark): Make unused args optional.
17793 (package-menu-mark-obsolete-for-deletion):
17794 Use package-menu-get-status instead of a regexp search.
17795 (package-menu-get-status): Use tabulated-list-entry.
17796 (package-menu-mark-upgrades): New command.
17797 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17798 (package-menu-execute): Do installation before deletion.
17799 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17800 instead of checking major-mode.
17801 (package-menu--find-upgrades): New function.
17802
17803 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17804
17805 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17806 passwords in the log buffer.
17807 (smtpmail-process-filter): Update the process marker so that the
17808 "broken by peer" status message is inserted in the right place.
17809
17810 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17811
17812 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17813 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17814 bibtex-completion-at-point-function.
17815 (bibtex-completion-at-point-function): Use them.
17816
17817 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17818
17819 * mpc.el (mpc-constraints-tag-lookup): New function.
17820 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17821 also to browser "album|playlist".
17822
17823 2011-09-14 Juri Linkov <juri@jurta.org>
17824
17825 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17826 (isearch-edit-string): Use length of `isearch-string' when
17827 `isearch-fail-pos' returns nil.
17828 (isearch-message): Remove duplicate code and call
17829 `isearch-fail-pos' with arg `t'.
17830
17831 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17832
17833 * replace.el (occur-mode-goto-occurrence): Don't force using other
17834 window (Bug#9499).
17835
17836 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17837
17838 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17839
17840 * window.el (display-buffer-window): Remove.
17841 (display-buffer-record-window): Use help-setup window parameter
17842 instead of variable display-buffer-window.
17843 (display-buffer-function, special-display-buffer-names)
17844 (special-display-function): Mention help-setup parameter instead
17845 of display-buffer-window in doc-string.
17846 * help.el (help-window-setup): New argument help-window.
17847 Use help-window-setup parameter instead of display-buffer-window.
17848 Reword some messages.
17849 (with-help-window): Pass window used for displaying the buffer
17850 to help-window-setup. Don't set display-buffer-window.
17851
17852 2011-09-13 Glenn Morris <rgm@gnu.org>
17853
17854 * emacs-lisp/debug.el (debugger-make-xrefs):
17855 Preserve point. (Bug#9462)
17856
17857 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17858
17859 * window.el (window-deletable-p): Use next-frame.
17860
17861 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17862
17863 * window.el (window-auto-delete): Remove.
17864 (window-deletable-p): Remove argument FORCE. Don't deal with
17865 dedication and previous buffers.
17866 (switch-to-prev-buffer): Don't delete window.
17867 (delete-windows-on): Delete a window's frame if and only if the
17868 window is dedicated.
17869 (replace-buffer-in-windows): Delete buffer's window or frame if
17870 and only if window is dedicated.
17871 (quit-window): Handle quit-restore as before last change.
17872 (bury-buffer): Delete window only if window-deletable-p returns t.
17873
17874 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17875
17876 * window.el (window-deletable-p): Never delete the last frame on a
17877 given terminal.
17878
17879 2011-09-13 Glenn Morris <rgm@gnu.org>
17880
17881 * help.el (describe-key-briefly): Copy previous standard-output change.
17882
17883 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17884
17885 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17886
17887 2011-09-13 Glenn Morris <rgm@gnu.org>
17888
17889 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17890 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17891
17892 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17893
17894 * dired-aux.el (dired-mark-read-string): Don't return default
17895 value on empty input (Bug#9361).
17896 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17897 Omit initial minibuffer contents.
17898 (dired-do-chmod): Signal an error on empty input.
17899 (dired-mark-read-string): Don't return default on empty input.
17900
17901 * files.el (file-modes-symbolic-to-number): Doc fix.
17902
17903 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17904
17905 * international/mule-cmds.el (ucs-completions): Remove.
17906 (read-char-by-name): Use complete-with-action instead; add metadata.
17907
17908 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17909
17910 * window.el (display-buffer--action-function-custom-type)
17911 (display-buffer--action-custom-type): New vars.
17912 (display-buffer-alist, display-buffer-default-action)
17913 (display-buffer-overriding-action): Add defcustom types.
17914
17915 * frame.el (delete-other-frames): Doc fix (Bug#276).
17916
17917 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17918
17919 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17920
17921 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17922
17923 Change modes that used same-window-* vars to use switch-to-buffer.
17924
17925 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17926 Use switch-to-buffer.
17927
17928 * cus-edit.el (customize-group, custom-buffer-create)
17929 (customize-browse, custom-buffer-create-other-window):
17930 Use switch-to-buffer or switch-to-buffer-other-window.
17931
17932 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17933 (Info-prev, Info-up, Info-speedbar-goto-node)
17934 (info-display-manual): Use switch-to-buffer.
17935 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17936
17937 * mail/sendmail.el (mail): Use switch-to-buffer.
17938 (mail-recover): Use switch-to-buffer-other-window.
17939
17940 * cmuscheme.el (run-scheme, switch-to-scheme):
17941 * ielm.el (ielm):
17942 * shell.el (shell):
17943 * net/rlogin.el (rlogin):
17944 * net/telnet.el (telnet, rsh):
17945 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17946
17947 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17948
17949 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17950
17951 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17952
17953 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17954 so don't mention it (bug#9301).
17955 (dired-sort-toggle-or-edit): Clarify string further.
17956
17957 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17958 match `x', `w32' and `ns', like the manual says (bug#9029).
17959
17960 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17961 (process-kill-buffer-query-function): Mention the buffer name in
17962 the query.
17963
17964 * image-mode.el (image-next-line): The line parameter is mandatory
17965 (bug#9258).
17966
17967 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17968 which can be useful (bug#9301).
17969
17970 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17971
17972 * subr.el (match-string): Mention that the current buffer should
17973 be the same as the search was done in (bug#9282).
17974
17975 * facemenu.el: Disable the remove-* commands if the mark isn't
17976 active (bug#9162).
17977
17978 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17979
17980 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17981 of display-buffer.
17982 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17983
17984 * replace.el (occur-mode-goto-occurrence)
17985 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17986 and display-buffer.
17987
17988 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17989 display-buffer.
17990
17991 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17992 special-display and same-window variables.
17993 (mail-other-window): Use switch-to-buffer-other-window.
17994 (mail-other-frame): USe switch-to-buffer-other-frame.
17995
17996 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17997 Use display-buffer-other-frame.
17998 (gdb-display-gdb-buffer): Use pop-to-buffer.
17999
18000 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18001
18002 * progmodes/python.el: Don't set same-window-buffer-names.
18003
18004 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18005
18006 * window.el (display-buffer-alist): Add *Python*.
18007
18008 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18009
18010 * window.el (display-buffer-alist): Add entry for buffers
18011 previously handled same-window-*.
18012 (display-buffer-alist, display-buffer-default-action)
18013 (display-buffer-overriding-action): Mark as risky.
18014 (display-buffer-alist): Document action function changes.
18015 (display-buffer--same-window-action)
18016 (display-buffer--other-frame-action): New variables.
18017 (switch-to-buffer, display-buffer-other-frame): Use them.
18018 (display-buffer): Rename reuse-frame entry to reusable-frames.
18019 (display-buffer-reuse-selected-window): Function deleted.
18020 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18021 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18022 (display-buffer-special): New function.
18023 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18024 display-buffer-reuse-or-pop-window. Split off special-display
18025 part into display-buffer-special.
18026 (display-buffer-use-some-window): Don't perform any special
18027 pop-up-frames handling.
18028 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18029 (display-buffer--maybe-same-window): Rename from
18030 display-buffer-maybe-same-window.
18031
18032 * info.el: Don't set same-window-regexps.
18033 (info-setup): New function.
18034 (info-other-window, info): Call it.
18035
18036 * cus-edit.el: Don't set same-window-regexps.
18037 (customize-group): New argument.
18038 (customize-group-other-window): Use it.
18039 (customize-face, customize-face-other-window): Likewise.
18040 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18041
18042 * net/rlogin.el:
18043 * net/telnet.el:
18044 * progmodes/gud.el: Don't set same-window-regexps.
18045
18046 * cmuscheme.el:
18047 * ielm.el:
18048 * shell.el:
18049 * mail/sendmail.el:
18050 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18051
18052 2011-09-10 Juri Linkov <juri@jurta.org>
18053
18054 * isearch.el (isearch-edit-string): Remove obsolete mention of
18055 `C-w' (`isearch-yank-word-or-char') from docstring.
18056 (isearch-query-replace): Fix typo in docstring (bug#9466).
18057
18058 2011-09-10 Juri Linkov <juri@jurta.org>
18059
18060 * paren.el (show-paren-function): Don't show escaped parens.
18061 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18062
18063 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18064
18065 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18066 (mm-default-file-encoding): Remove autoload forms, they are
18067 replaced with autoload cookies in mml.el and mm-encode.el.
18068 (mail-add-attachment): New command.
18069 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18070 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18071 the doc string.
18072 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18073
18074 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18075
18076 * simple.el (count-words-region): Use buffer if there's no region
18077 (bug#9429).
18078
18079 2011-09-09 Juri Linkov <juri@jurta.org>
18080
18081 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18082 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18083 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18084
18085 2011-09-09 Alan Mackenzie <acm@muc.de>
18086
18087 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18088 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18089
18090 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18091
18092 Fix for Savannah bug#9392.
18093 * simple.el (mail-encode-mml): New defvar.
18094
18095 * mail/rmail.el (mail-encode-mml): Add a defvar.
18096 (rmail-enable-mime-composing): Default to t.
18097 (rmail-forward): Use MIME method of forwarding only if both
18098 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18099 Set mail-encode-mml non-nil if the MIME method was used.
18100
18101 * mail/sendmail.el (mml-to-mime): Add autoload form.
18102 (mail-encode-mml): Add a defvar.
18103 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18104 to nil.
18105 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18106 message through mml-to-mime, and reset mail-encode-mml to nil.
18107
18108 2011-09-09 Glenn Morris <rgm@gnu.org>
18109
18110 * woman.el (woman-if-body): When processing an .el block,
18111 do not delete the next .el block as well. (Bug#9447)
18112 (woman-special-characters): Add oq, cq, and hy characters.
18113
18114 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18115
18116 * window.el (window-deletable-p): Make sure window is live before
18117 invoking window-prev-buffers.
18118
18119 2011-09-08 Leo Liu <sdl.web@gmail.com>
18120
18121 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18122
18123 2011-09-08 Juri Linkov <juri@jurta.org>
18124
18125 * progmodes/compile.el (compilation-environment): Make it
18126 a defcustom (bug#8340).
18127
18128 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18129
18130 * window.el (frame-auto-delete): Rename to window-auto-delete.
18131 Make it control auto-deletion of windows and/or frames.
18132 (window-deletable-p): New argument FORCE. Rewrite conditions
18133 for deleting window/frame. (Bug#9419)
18134 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18135 Rewrite handling of case when window/frame can be deleted.
18136 (delete-windows-on): Call window-deletable-p with new FORCE
18137 argument t. (Bug#9456)
18138
18139 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18140
18141 * help-mode.el (help-mode): Restore autoload.
18142
18143 2011-09-07 Juri Linkov <juri@jurta.org>
18144
18145 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18146 `compilation-environment'. Set buffer-local
18147 `compilation-environment' to `thisenv' later after (funcall mode).
18148 (Bug#8340)
18149
18150 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18151 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18152 instead of replacing its value. (Bug#8340)
18153
18154 2011-09-07 Juri Linkov <juri@jurta.org>
18155
18156 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18157 based on text properties put by `grep-filter' instead of matching
18158 escape sequences.
18159 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18160 to the value of `grep-error-screen-columns' (bug#9438).
18161
18162 2011-09-07 Juri Linkov <juri@jurta.org>
18163
18164 * simple.el (next-error-highlight, next-error-highlight-no-select):
18165 Doc fix (bug#9432).
18166
18167 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18168
18169 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18170 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18171
18172 2011-09-07 Leo Liu <sdl.web@gmail.com>
18173
18174 * net/rcirc.el (rcirc-mode): Conditionally initialize
18175 rcirc-input-ring.
18176
18177 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18178
18179 * emacs-lisp/find-func.el (find-function-C-source): Only set
18180 find-function-C-source-directory after checking that we found a source
18181 file there (bug#9440).
18182
18183 2011-09-06 Alan Mackenzie <acm@muc.de>
18184
18185 * isearch.el (isearch-other-meta-char): Wherever a key list is
18186 unread, "unread" the prefix arg, too. This fixes bug #8901.
18187
18188 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18189
18190 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18191
18192 2011-09-05 Juri Linkov <juri@jurta.org>
18193
18194 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18195
18196 2011-09-05 Juri Linkov <juri@jurta.org>
18197
18198 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18199 keeping point where processing of grep matches begins, and
18200 continue to delete remaining escape sequences from the same point.
18201 (grep-filter): Make leading zero optional in "0?1;31m" because
18202 git-grep emits "\033[1;31m" escape sequences unlike expected
18203 "\033[01;31m" as GNU Grep does (bug#9408).
18204 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18205
18206 2011-09-05 Juri Linkov <juri@jurta.org>
18207
18208 * subr.el (y-or-n-p): Capitalize "yes".
18209
18210 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18211
18212 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18213 `tramp-cache-unload-hook' where appropriate.
18214 (tramp-methods): Rename `tramp-remote-sh' to
18215 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18216 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18217
18218 * net/tramp-sh.el (top): Don't require 'shell.
18219 (tramp-methods): Add `tramp-remote-shell' and
18220 `tramp-remote-shell-args' entries.
18221 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18222 (tramp-sh-handle-shell-command): Remove.
18223 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18224 Use `tramp-remote-shell'.
18225
18226 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18227
18228 * mail/sendmail.el (sendmail-query-once-function): Delete.
18229 (sendmail-query-once): Save directly to send-mail-function.
18230 Update message-send-mail-function too.
18231
18232 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18233
18234 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18235
18236 * progmodes/python.el (python-mode-map): Use correct function to
18237 start python interpreter from menu-bar (as reported by Geert
18238 Kloosterman).
18239 (inferior-python-mode-map): Fix typo.
18240 (python-shell-map): Remove.
18241
18242 2011-09-03 Deniz Dogan <deniz@dogan.se>
18243
18244 * net/rcirc.el (rcirc-print): Simplify code for
18245 rcirc-scroll-show-maximum-output. There is no need to walk
18246 through all windows to find the right one.
18247
18248 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18249
18250 * help.el (help-return-method): Doc fix.
18251
18252 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18253
18254 * window.el (window-deletable-p): Don't return a non-nil value
18255 when there's a buffer that was shown in the window before.
18256 (Bug#9419)
18257 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18258 Set window's previous buffers to nil.
18259
18260 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18261
18262 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18263 newline before and after the tag line, so it doesn't interfere
18264 with determining the paragraph direction of bidirectional text.
18265
18266 2011-09-03 Leo Liu <sdl.web@gmail.com>
18267
18268 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18269
18270 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18271
18272 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18273 (pop-to-buffer): Change interactive spec. Pass second argument
18274 directly to display-buffer.
18275 (display-buffer): Fix interactive spec. Use functionp to
18276 distinguish between a function and a list of functions.
18277
18278 * abbrev.el (edit-abbrevs):
18279 * arc-mode.el (archive-extract):
18280 * autoinsert.el (auto-insert):
18281 * bookmark.el (bookmark-bmenu-list):
18282 * files.el (find-file):
18283 * view.el (view-buffer):
18284 * progmodes/compile.el (compilation-goto-locus):
18285 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18286
18287 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18288
18289 * window.el (display-buffer-alist): Doc fix.
18290 (display-buffer): Add docstring. Don't treat
18291 display-buffer-default specially.
18292 (display-buffer-reuse-selected-window)
18293 (display-buffer-same-window, display-buffer-maybe-same-window)
18294 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18295 (display-buffer-pop-up-window)
18296 (display-buffer-reuse-or-pop-window)
18297 (display-buffer-use-some-window): New functions.
18298 (display-buffer-default-action): Use them.
18299 (display-buffer-default): Delete.
18300 (pop-to-buffer-1): Fix choice of actions.
18301
18302 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18303
18304 * minibuffer.el (completion--insert-strings): Don't get confused by
18305 completion entries that end with an LF char.
18306
18307 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18308
18309 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18310
18311 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18312
18313 * window.el (display-buffer): Restore interactive spec.
18314 (display-buffer-same-window, display-buffer-other-window):
18315 New functions.
18316 (pop-to-buffer-1): New function. Use the above.
18317 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18318 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18319
18320 * view.el (view-buffer-other-window, view-buffer-other-frame):
18321 Just use pop-to-buffer.
18322
18323 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18324
18325 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18326
18327 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18328
18329 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18330
18331 2011-08-31 Richard Stallman <rms@gnu.org>
18332
18333 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18334 of the separation of rmail-view-buffer from rmail-buffer.
18335 If you say no to "replace original", the decrypt is in the
18336 view buffer. If you say yes, the decrypt goes into the
18337 rmail buffer also.
18338
18339 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18340
18341 * window.el (display-buffer-window): Rewrite doc-string.
18342 (display-buffer-record-window): New function.
18343 (display-buffer-macro-specifiers)
18344 (display-buffer-even-window-sizes, display-buffer-set-height)
18345 (display-buffer-set-width, display-buffer-in-window)
18346 (display-buffer-reuse-window, display-buffer-split-specifiers)
18347 (display-buffer-side-specifiers, display-buffer-split-window-1)
18348 (display-buffer-split-window, display-buffer-split-atom-window)
18349 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18350 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18351 (display-buffer-other-window-means-other-frame)
18352 (display-buffer-normalize-special)
18353 (display-buffer-normalize-default)
18354 (display-buffer-normalize-argument)
18355 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18356 (display-buffer-normalize-specifiers, display-buffer-frame)
18357 (display-buffer-same-window, display-buffer-same-frame)
18358 (display-buffer-other-window)
18359 (display-buffer-same-frame-other-window)
18360 (display-buffer-other-frame, pop-to-buffer-same-window)
18361 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18362 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18363 (switch-to-buffer-same-frame)
18364 (switch-to-buffer-other-window-same-frame)
18365 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18366 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18367 (display-buffer-alist-set): Remove.
18368 (display-buffer-function, special-display-buffer-names)
18369 (special-display-regexps, special-display-function):
18370 In doc-string refer to display-buffer-window and quit-restore
18371 parameter.
18372 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18373 (special-display-frame-alist, special-display-popup-frame)
18374 (same-window-buffer-names, same-window-regexps, same-window-p)
18375 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18376 (split-window-preferred-function, split-height-threshold)
18377 (split-width-threshold, window-splittable-p)
18378 (split-window-sensibly, window--try-to-split-window)
18379 (window--frame-usable-p, even-window-heights)
18380 (window--even-window-heights, window--display-buffer-1)
18381 (window--display-buffer-2, display-buffer-other-frame):
18382 Restore old Emacs 23 code, order and doc-strings where applicable.
18383 (display-buffer-default, display-buffer-assq-regexp): New functions.
18384 (display-buffer-alist): Rewrite doc-string.
18385 (display-buffer-default-action)
18386 (display-buffer-overriding-action): New variables.
18387 (display-buffer, switch-to-buffer): Rewrite.
18388 (pop-to-buffer): Restore Emacs 23 behavior but use
18389 window-normalize-buffer-to-display.
18390 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18391 Restore Emacs 23 behavior but use
18392 window-normalize-buffer-to-switch-to.
18393 (pop-to-buffer-same-window): Rewrite.
18394 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18395 Rewrite using Emacs 23 options.
18396
18397 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18398
18399 * net/tramp.el (tramp-root-regexp): Remove.
18400 (tramp-completion-file-name-regexp-unified)
18401 (tramp-completion-file-name-regexp-separate)
18402 (tramp-completion-file-name-regexp-url): Don't use leading volume
18403 letter on w32 systems. (Bug#5303, Bug#9311)
18404 (tramp-drop-volume-letter): Simplify definition.
18405 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18406
18407 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18408
18409 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18410 (bug#9356).
18411
18412 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18413
18414 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18415
18416 2011-08-29 Juri Linkov <juri@jurta.org>
18417
18418 * isearch.el (isearch-done): Don't display message "Mark saved"
18419 when arg `edit' is non-nil to prevent its flicker in the echo area.
18420
18421 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18422
18423 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18424 obsolete packages for deletion.
18425
18426 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18427
18428 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18429 (help-mode): Derive help-mode from special-mode. Don't invoke
18430 view-mode from help-mode.
18431 (help-xref-override-view-map): Remove.
18432 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18433 view-mode is not used anymore.
18434
18435 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18436
18437 * server.el (server-port): Doc fix.
18438
18439 * cus-theme.el (custom-theme-choose-mode): Inherit from
18440 special-mode (Bug#9124).
18441 (custom-theme-choose-mode-map): Add special-mode to parent.
18442
18443 2011-08-28 Alan Mackenzie <acm@muc.de>
18444
18445 * progmodes/cc-fonts.el
18446 (c-make-font-lock-BO-decl-search-function): New function.
18447 (c-basic-matchers-after - "Fontify the clauses after various
18448 keywords"): Extract the three keyword lists for the 3 erroneous
18449 constructs from the list of four, and use the new function above
18450 in place of an old one.
18451
18452 2011-08-28 Deniz Dogan <deniz@dogan.se>
18453
18454 * net/rcirc.el (rcirc-insert-prev-input)
18455 (rcirc-insert-next-input): Remove unused argument.
18456
18457 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18458
18459 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18460
18461 2011-08-27 Alan Mackenzie <acm@muc.de>
18462
18463 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18464 handle function pointer parameters properly.
18465
18466 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18467
18468 * window.el (display-buffer-reuse-window): Fix case where
18469 selected window was reused with non-nil OTHER-WINDOW argument.
18470 (Bug#9381)
18471
18472 2011-08-27 Deniz Dogan <deniz@dogan.se>
18473
18474 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18475 oftc's NickServ messages.
18476
18477 2011-08-27 Glenn Morris <rgm@gnu.org>
18478
18479 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18480
18481 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18482
18483 * emacs-lisp/package.el (package-install): Call package-initialize
18484 if called interactively.
18485
18486 2011-08-26 Leo Liu <sdl.web@gmail.com>
18487
18488 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18489
18490 2011-08-25 Juri Linkov <juri@jurta.org>
18491
18492 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18493 `search-whitespace-regexp' (bug#9364).
18494
18495 2011-08-25 Juri Linkov <juri@jurta.org>
18496
18497 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18498 `regexp-search-ring' to their global values to protect from
18499 updating by `read-from-minibuffer' (bug#9185).
18500
18501 2011-08-25 Juri Linkov <juri@jurta.org>
18502
18503 * textmodes/ispell.el (ispell-command-loop): Add newline
18504 at the end of the "Use option `i'..." line.
18505
18506 2011-08-25 Juri Linkov <juri@jurta.org>
18507
18508 * battery.el (display-battery-mode): If `battery-status-function'
18509 or `battery-mode-line-format' is nil, display the message and set
18510 `display-battery-mode' to nil (bug#9363).
18511
18512 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18513
18514 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18515 bidi-string-mark-left-to-right; they are unnecessary now.
18516
18517 2011-08-25 Deniz Dogan <deniz@dogan.se>
18518
18519 * net/quickurl.el: Documentation typo fixes.
18520
18521 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18522
18523 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18524
18525 2011-08-25 Glenn Morris <rgm@gnu.org>
18526
18527 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18528
18529 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18530 (smtpmail-via-smtp): Handle nil response from smtp.
18531
18532 2011-08-24 Juri Linkov <juri@jurta.org>
18533
18534 * proced.el (proced-marked): Inherit from `error' instead of
18535 `font-lock-warning-face'.
18536
18537 * ibuffer.el (ibuffer-marked-face): Change default face from
18538 `font-lock-warning-face' to `warning'.
18539 (ibuffer-deletion-face): Change default face from
18540 `font-lock-type-face' to `error'.
18541
18542 * battery.el (battery-update): Use the face `error' instead of
18543 `font-lock-warning-face' (bug#6117).
18544
18545 2011-08-24 Juri Linkov <juri@jurta.org>
18546
18547 * faces.el (success): Change face color from "Green3" to
18548 "ForestGreen" on light background (bug#9353).
18549
18550 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18551
18552 * window.el (quit-window): Rename from quit-restore-window.
18553 Use same arglist as old quit-window.
18554 (frame-auto-delete): Doc fix.
18555
18556 * view.el (view-mode-exit): Use quit-window.
18557
18558 2011-08-24 Juri Linkov <juri@jurta.org>
18559
18560 * isearch.el (isearch-ring-adjust1): Start visiting previous
18561 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18562 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18563 for empty search string (when the last search string is reused
18564 automatically) to adjust the isearch ring to the last element and
18565 prepare the correct index for further M-p commands (bug#9185).
18566
18567 2011-08-24 Kenichi Handa <handa@m17n.org>
18568
18569 * international/ucs-normalize.el: If decomposition property of
18570 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18571 nil.
18572 (nfd, nfkd): Likewise.
18573
18574 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18575
18576 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18577 from process filters aren't reliably transmitted to the surrounding
18578 accept-process-output.
18579 (mpc-proc-check): New function.
18580 (mpc-proc-sync): Use it (bug#8293)
18581
18582 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18583
18584 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18585 Add compatibility functions (bug#9313).
18586
18587 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18588
18589 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18590
18591 * international/uni-bidi.el: Regenerate.
18592
18593 2011-08-23 Kenichi Handa <handa@m17n.org>
18594
18595 * international/charprop.el:
18596 * international/uni-bidi.el:
18597 * international/uni-category.el:
18598 * international/uni-combining.el:
18599 * international/uni-comment.el:
18600 * international/uni-decimal.el:
18601 * international/uni-decomposition.el:
18602 * international/uni-digit.el:
18603 * international/uni-lowercase.el:
18604 * international/uni-mirrored.el:
18605 * international/uni-name.el:
18606 * international/uni-numeric.el:
18607 * international/uni-old-name.el:
18608 * international/uni-titlecase.el:
18609 * international/uni-uppercase.el: Regenerate.
18610
18611 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18612
18613 * help.el (help-window-setup): Fix message displayed when other
18614 window is reused. (Bug#9341)
18615
18616 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18617
18618 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18619 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18620
18621 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18622 Mark obsolete.
18623 * shell.el (shell-parse-pcomplete-arguments): New function.
18624 (shell-completion-vars): Use it instead (bug#9160).
18625
18626 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18627
18628 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18629 strings and comments (bug#9333).
18630
18631 * emacs-lisp/debug.el (debug-arglist): New function.
18632 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18633 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18634
18635 2011-08-22 Juri Linkov <juri@jurta.org>
18636
18637 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18638 Revert regexp that highlights output switches to its old
18639 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18640
18641 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18642 to check for empty output (bug#9226).
18643
18644 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18645
18646 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18647 symbol-constituent as the default, as that stops font-lock from
18648 working properly (Bug#8843).
18649
18650 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18651
18652 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18653 `coding-system-for-*' around the process open call to avoid
18654 auth-source side effects.
18655 (smtpmail-try-auth-methods): Expand the secret password.
18656 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18657 probe hangs.
18658
18659 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18660
18661 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18662
18663 * emacs-lisp/find-func.el (find-function-noselect): New arg
18664 lisp-only.
18665
18666 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18667 signal an error for built-in functions (Bug#6664).
18668
18669 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18670
18671 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18672 (smtpmail-try-auth-methods): Use it.
18673
18674 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18675
18676 * font-lock.el (font-lock-fontify-region)
18677 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18678 (font-lock-default-unfontify-buffer)
18679 (font-lock-default-fontify-region)
18680 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18681
18682 * progmodes/compile.el (compilation-error-properties):
18683 Fix confusion between file struct and message struct (Bug#9319).
18684 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18685 `ant' regexp.
18686
18687 * net/browse-url.el (browse-url-firefox): Don't call
18688 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18689
18690 2011-08-20 Glenn Morris <rgm@gnu.org>
18691
18692 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18693
18694 * tutorial.el (tutorial--default-keys): Update some default bindings.
18695
18696 * files.el (hack-local-variables): Fully ignore case for "mode:".
18697
18698 2011-08-20 Alan Mackenzie <acm@muc.de>
18699
18700 Resolve invalid use of a regexp in regexp-opt.
18701
18702 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18703 detection for a java annotation.
18704
18705 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18706 detection for a java annotation.
18707
18708 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18709 handling for java.
18710 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18711
18712 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18713
18714 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18715 (Bug#9274).
18716
18717 2011-08-20 Alan Mackenzie <acm@muc.de>
18718
18719 Fontify CPP expressions correctly when starting in the middle of
18720 such a construct. Mainly for when jit-lock etc. starts a chunk
18721 here.
18722
18723 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18724 variable.
18725 (c-make-font-lock-search-form): New function, extracted from
18726 c-make-font-lock-search-function.
18727 (c-make-font-lock-search-function): Use the above function.
18728 (c-make-font-lock-context-search-function): New function.
18729 (c-cpp-matchers): Enhance the preprocessor expression case with
18730 the above function
18731 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18732 which takes an expression.
18733
18734 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18735
18736 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18737
18738 * window.el (display-buffer-reuse-window)
18739 (display-buffer-pop-up-window): Don't reuse or split a side
18740 window.
18741
18742 2011-08-19 Glenn Morris <rgm@gnu.org>
18743
18744 * files.el (hack-local-variables-prop-line, hack-local-variables):
18745 Downcase "Mode:". (Bug#9331)
18746
18747 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18748
18749 * international/characters.el: Add L and R categories.
18750
18751 * subr.el (bidi-string-mark-left-to-right): Rename from
18752 string-mark-left-to-right. Use category search.
18753
18754 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18755
18756 2011-08-18 Juri Linkov <juri@jurta.org>
18757
18758 * faces.el (error, warning, success): New faces with definitions
18759 copied from old default values of `font-lock-warning-face',
18760 `compilation-warning', `compilation-info' (bug#6117).
18761
18762 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18763
18764 * progmodes/compile.el (compilation-error): Inherit from `error'.
18765 (compilation-warning): Inherit from `warning'.
18766 (compilation-info): Inherit from `success'.
18767
18768 * dired.el (dired-marked): Inherit from `warning'.
18769 (dired-flagged): Inherit from `error'.
18770
18771 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18772
18773 * mail/smtpmail.el (auth-source): Require to avoid problems with
18774 binding variables (bug#9298). Also clean up some unused
18775 autoloads.
18776
18777 * net/network-stream.el (network-stream-open-starttls):
18778 Support using starttls.el without using gnutls-cli.
18779
18780 2011-08-17 Juri Linkov <juri@jurta.org>
18781
18782 * progmodes/grep.el (rgrep): Handle the case when
18783 `grep-find-command' is a cons cell (bug#9278).
18784
18785 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18786
18787 * window.el (display-buffer-pop-up-frame): Run frame creation
18788 function with BUFFER current (as special-display-popup-frame
18789 does). Reported by Drew Adams.
18790
18791 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18792
18793 * epa-mail.el: Simplify GnuPG group expansion using
18794 epg-expand-group.
18795 (epa-mail-group-alist, epa-mail-group-modtime)
18796 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18797 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18798 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18799 Remove.
18800
18801 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18802
18803 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18804
18805 2011-08-16 Alan Mackenzie <acm@muc.de>
18806
18807 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18808 Correct, to avoid the inside of macros.
18809
18810 2011-08-16 Richard Stallman <rms@gnu.org>
18811
18812 * epa-mail.el: Handle GnuPG group definitions.
18813 (epa-mail-group-alist, epa-mail-group-modtime)
18814 (epa-mail-gnupg-conf-file): New variables.
18815 (epa-mail-parse-groups, epa-mail-sync-groups)
18816 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18817 (epa-mail-expand-recipients): New functions.
18818 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18819
18820 * mail/rmail.el (rmail-epa-decrypt): New command.
18821
18822 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18823 Don't bind buffer-read-only, just inhibit-read-only.
18824 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18825 (epa-decrypt-armor-in-region): Make error message clearer.
18826
18827 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18828
18829 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18830 and "a2b" to "ab" for `prefix'.
18831
18832 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18833
18834 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18835 filter groups.
18836 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18837 Fourquet (Bug#8804).
18838
18839 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18840
18841 * startup.el (argi): Declare as global variable (bug#9275).
18842
18843 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18844
18845 * subr.el (string-mark-left-to-right): Search the entire string
18846 for RTL script, not just the terminating character. Doc fix.
18847
18848 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18849
18850 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18851 New function.
18852 (js--regexp-literal, js-syntax-propertize-function): Remove.
18853 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18854 (js-mode-map): Don't rebind electric keys.
18855 (js-insert-and-indent): Remove.
18856 (js-mode): Setup electric-layout and electric-indent instead.
18857
18858 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18859
18860 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18861
18862 * epa.el (epa-progress-callback-function): Fix the logic of
18863 displaying progress.
18864 * epa-file.el (epa-file-insert-file-contents): Make progress
18865 display more user-friendly.
18866 (epa-file-write-region): Ditto.
18867
18868 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18869
18870 * subr.el (string-mark-left-to-right): New function.
18871
18872 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18873 Use string-mark-left-to-right.
18874 (list-buffers-noselect): Caller changed.
18875
18876 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18877 Use string-mark-left-to-right.
18878 (tabulated-list-print): Recenter after moving point.
18879
18880 2011-08-10 Juri Linkov <juri@jurta.org>
18881
18882 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18883 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18884 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18885
18886 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18887
18888 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18889 (Bug#7554).
18890
18891 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18892
18893 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18894 character. (Bug#6594)
18895
18896 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18897
18898 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18899 (image-dired--with-db-file): New macro.
18900 (image-dired-write-tags, image-dired-remove-tag)
18901 (image-dired-create-gallery-lists, image-dired-write-comments)
18902 (image-dired-get-comment, image-dired-mark-tagged-files)
18903 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18904 (image-dired-gallery-generate): Use insert-file-contents.
18905
18906 * time.el (display-time-world-list, display-time-world-display):
18907 * time-stamp.el (time-stamp-string):
18908 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18909 set-time-zone-rule (Bug#7337).
18910
18911 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18912
18913 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18914 (epg-error-to-string, epg-errors-to-string): New function.
18915 (epg-wait-for-completion): Reverse errors list.
18916 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18917 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18918 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18919 (epg-sign-keys, epg-generate-key-from-file)
18920 (epg-generate-key-from-string): Format errors by using
18921 epg-errors-to-string (bug#9255).
18922 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18923
18924 2011-08-07 Juri Linkov <juri@jurta.org>
18925
18926 * faces.el (list-faces-display): Remove extra angle bracket
18927 from `help-mode-map'.
18928
18929 * info.el (Info-history-toc-nodes): Doc fix.
18930
18931 * longlines.el (longlines-mode): Doc fix.
18932
18933 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18934
18935 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18936 of statements and in a few more cases (bug#9183).
18937
18938 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18939 New functions.
18940 (cl-transform-lambda): Use them (bug#9239).
18941
18942 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18943
18944 * window.el (display-buffer-same-window)
18945 (display-buffer-same-frame, display-buffer-other-window)
18946 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18947 (pop-to-buffer-other-window)
18948 (pop-to-buffer-same-frame-other-window)
18949 (pop-to-buffer-other-frame): Make them defuns.
18950 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18951
18952 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18953
18954 * subr.el (make-composed-keymap): Move from C. Change calling
18955 convention, and improve docstring to bring attention to a subtle point.
18956 * minibuffer.el (completing-read-default): Adjust accordingly.
18957
18958 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18959
18960 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18961 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18962
18963 * net/trampver.el: Update release number.
18964
18965 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18966
18967 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18968 "in" (bug#9190).
18969
18970 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18971
18972 * mail/sendmail.el (sendmail-query-once): Restore the current
18973 buffer after querying (bug#9074).
18974
18975 * dired.el (dired-flagged): Use different faces for marked and
18976 flagged files (bug#6117).
18977
18978 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18979 (bug#4433).
18980
18981 * ido.el (ido-mode): Switch off the message if called
18982 non-interactively.
18983
18984 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18985 before 587, since it appears that that's more likely to work for
18986 more people.
18987
18988 * cus-edit.el (custom-file): When running under emacs -q, always
18989 refuse to save the customizations, even if the .emacs file doesn't
18990 exist.
18991
18992 * info.el: Remove the `Info-beginning-of-buffer' function
18993 (bug#8325).
18994
18995 * net/network-stream.el (network-stream-open-starttls):
18996 Use `starttls-available-p' to see whether starttls.el can be used.
18997
18998 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18999
19000 * window.el (display-buffer-in-window): Don't set dedicated status
19001 of window here (Bug#9215).
19002 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19003 (display-buffer-pop-up-side-window)
19004 (display-buffer-in-side-window): Set dedicated status of window here.
19005
19006 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19007
19008 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19009 before binding generated-autoload-file.
19010
19011 2011-08-01 Deniz Dogan <deniz@dogan.se>
19012
19013 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19014
19015 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19016
19017 Sync with Tramp 2.2.2.
19018
19019 * net/trampver.el: Update release number.
19020
19021 2011-07-30 Juri Linkov <juri@jurta.org>
19022
19023 * dired-aux.el (dired-touch-initial): Remove function.
19024 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19025 current time, and `default' to the last modification time of the
19026 current marked file (bug#6887).
19027
19028 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19029
19030 * simple.el (goto-line): Use string-to-number to provide a
19031 numeric argument to read-number (bug#9163).
19032
19033 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19034
19035 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19036 connection process, it could be nil.
19037
19038 2011-07-27 Leo Liu <sdl.web@gmail.com>
19039
19040 Simplify url handling in rcirc-mode.
19041
19042 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19043 (rcirc-browse-url-at-mouse): Remove.
19044 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19045
19046 2011-07-26 Alan Mackenzie <acm@muc.de>
19047
19048 Fontify bitfield declarations properly.
19049
19050 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19051 (c-symbol-chars): Now exported as a lang variable.
19052 (c-not-primitive-type-keywords): New lang variable.
19053
19054 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19055 QT keyword "more" to prevent "more slots: ...." being spuriously
19056 parsed as a bitfield declaration.
19057
19058 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19059 Refactor and enhance to handle bitfield declarations.
19060 (c-punctuation-in): New function.
19061 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19062 declarations properly.
19063
19064 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19065
19066 * calendar/icalendar.el (icalendar--all-events): Take care of
19067 multiple vcalendars in a single file.
19068 (icalendar--convert-float-to-ical): Checkdoc fixes.
19069
19070 2011-07-25 Deniz Dogan <deniz@dogan.se>
19071
19072 * image.el (insert-image): Clarifying docstring.
19073
19074 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19075
19076 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19077 `tramp-send-command-and-check' if there is no error.
19078 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19079
19080 2011-07-22 Alan Mackenzie <acm@muc.de>
19081
19082 Prevent cc-langs.elc being loaded at run time.
19083
19084 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19085 cc-langs.
19086
19087 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19088 "(require 'cc-langs)". Quote a form so it will evaluate at
19089 (cc-mode's) compilation time.
19090
19091 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19092
19093 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19094 loading. (Bug#9114)
19095
19096 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19097
19098 * window.el (display-buffer-pop-up-window)
19099 (display-buffer-pop-up-side-window)
19100 (display-buffer-in-side-window): Call display-buffer-set-height
19101 and display-buffer-set-width after setting the new window's
19102 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19103
19104 2011-07-20 Sam Steingold <sds@gnu.org>
19105
19106 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19107 (etags-tags-included-tables): Call `convert-standard-filename' on
19108 the file names contained in TAGS so that windows Emacs can handle
19109 TAGS files created by cygwin ctags.
19110
19111 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19112
19113 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19114 which apparently didn't work.
19115
19116 2011-07-19 Roland Winkler <winkler@gnu.org>
19117
19118 * proced.el (proced-send-signal): For *Marked Processes* buffer
19119 put point at beginning of buffer.
19120
19121 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19122
19123 * proced.el (proced-format): Make header lines align with the text
19124 (bug#1779).
19125
19126 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19127
19128 * view.el (view-buffer): Allow running in `special' modes if we're
19129 visiting a file (bug#8615).
19130
19131 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19132
19133 * window.el (display-buffer-alist-of-strings-p)
19134 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19135 New functions.
19136 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19137 more accurately.
19138
19139 2011-07-18 Alan Mackenzie <acm@muc.de>
19140
19141 Fontify declarators properly when, e.g., a jit-lock chunk begins
19142 inside a declaration.
19143
19144 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19145
19146 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19147 New function.
19148 (c-complex-decl-matchers): Insert reference to
19149 c-font-lock-enclosing-decls.
19150
19151 * progmodes/cc-engine.el (c-backward-single-comment):
19152 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19153 to nil around calls to (forward-comment -1).
19154
19155 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19156
19157 * image.el (put-image): Doc typo fix.
19158
19159 * progmodes/etags.el (tags-search): Doc typo fix.
19160
19161 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19162 password if we get errors 550 to 554.
19163
19164 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19165
19166 * net/gnutls.el (gnutls-log-level): Remove.
19167
19168 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19169 indentation character (bug#6380).
19170
19171 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19172
19173 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19174 to clarify what the problem is (bug#4291).
19175
19176 * simple.el (current-kill): Clarify what
19177 `interprogram-paste-function' does (bug#7500).
19178 (auto-fill-mode): Document `auto-fill-function' in relation to
19179 `auto-fill-mode' (bug#2470).
19180
19181 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19182
19183 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19184 method if slot is read-only (bug#9035).
19185
19186 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19187
19188 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19189 * window.el (pop-to-buffer): Select window used even if it was
19190 selected before, see discussion of (Bug#8615), (Bug#6954).
19191 Pass argument NORECORD on to select-frame-set-input-focus.
19192
19193 2011-07-15 Glenn Morris <rgm@gnu.org>
19194
19195 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19196 Respect help-form.
19197
19198 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19199
19200 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19201 (gnutls-negotiate): Use it.
19202
19203 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19204
19205 * net/gnutls.el (gnutls-negotiate):
19206 Upcase `gnutls-algorithm-priority'.
19207
19208 2011-07-15 Glenn Morris <rgm@gnu.org>
19209
19210 * jka-compr.el (jka-compr-verbose): Move from here...
19211 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19212 Add missing :version tag.
19213 * info.el: No need to require jka-compr when compiling.
19214
19215 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19216
19217 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19218 (gnutls-negotiate): Use it.
19219
19220 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19221
19222 * info.el (Info-beginning-of-buffer): New command.
19223 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19224 announcing `b' as the key (bug#8325).
19225 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19226
19227 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19228
19229 * international/mule-cmds.el
19230 (describe-specified-language-support): Make the error message
19231 clearer (bug#8905).
19232
19233 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19234
19235 * isearch.el (isearch-barrier): Add a doc string, since it's
19236 mentioned in a function doc string (bug#8678).
19237
19238 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19239
19240 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19241 buffer argument (Bug#9083) and self-identifying label argument.
19242
19243 2011-07-15 Glenn Morris <rgm@gnu.org>
19244
19245 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19246
19247 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19248
19249 * man.el (Man-fontify-manpage): Fix message when formatting the
19250 man page (bug#7929).
19251
19252 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19253
19254 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19255 argument LRM; if non-nil, append an invisible LRM character to the
19256 buffer name.
19257 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19258 last argument non-nil, when formatting buffer names.
19259 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19260 paragraph direction.
19261
19262 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19263
19264 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19265 the man page name (bug#7929).
19266
19267 * image.el (put-image): Mention the `put-image' overlay property
19268 (bug#7834).
19269
19270 * scroll-bar.el (set-scroll-bar-mode): Mention that
19271 `scroll-bar-mode' lists the values (bug#7772).
19272
19273 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19274 command (bug#7729).
19275
19276 * rect.el (apply-on-rectangle): Return the point after the last
19277 operation.
19278 (string-rectangle): Go to the point after the last operation
19279 (bug#7522).
19280
19281 * printing.el (pr-toggle-region): Clarify the documentation
19282 slightly (bug#7493).
19283
19284 * time.el (display-time-update):
19285 Allow `display-time-mail-function' to return nil (bug#7158).
19286 Fix suggested by Detlev Zundel.
19287
19288 * vc/diff.el (diff): Clarify the order the file names are read
19289 (bug#7111).
19290
19291 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19292 the doc string (bug#7015).
19293
19294 * font-lock.el (font-lock-maximum-decoration): Mention what
19295 numeric levels mean (bug#6935).
19296
19297 * startup.el (initial-buffer-choice): Don't mention the `none'
19298 selection, which is against policy.
19299
19300 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19301
19302 * window.el (display-buffer-normalize-special):
19303 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19304
19305 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19306
19307 * subr.el (version<, version<=, version=): Mention "-CVS" and
19308 "-12345" alpha version numbers.
19309
19310 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19311
19312 * bindings.el: Add advertised binding for set-mark-command
19313 (Bug#5772).
19314
19315 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19316
19317 * bindings.el (mode-line-other-buffer):
19318 * bookmark.el (bookmark-bmenu-2-window):
19319 * bs.el (bs-cycle-next, bs-cycle-previous):
19320 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19321 switch-to-buffer.
19322
19323 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19324 Delete.
19325
19326 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19327
19328 * follow.el (follow-debug-message, follow-redisplay):
19329 * jka-cmpr-hook.el (with-auto-compression-mode):
19330 Fix typos in docstrings.
19331
19332 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19333
19334 * subr.el (with-silent-modifications): Clarify somewhat what the
19335 macro inhibits (bug#6525).
19336
19337 * simple.el (eval-expression): Note what it does if called
19338 interactively (bug#6495).
19339
19340 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19341
19342 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19343 Use pop-to-buffer buffer-or-name if it is nil.
19344
19345 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19346 Remove switch-to-buffer.
19347
19348 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19349
19350 * files.el (make-directory): Clarify that an error will be raised
19351 if there's an error (bug#6397).
19352
19353 * startup.el (initial-buffer-choice): Add `none' as a choice
19354 (bug#6234).
19355
19356 * subr.el (add-hook): Clarify section about buffer-local hooks
19357 (bug#6218).
19358
19359 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19360
19361 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19362
19363 * tabify.el (untabify): Preserve the current column so that point
19364 doesn't move (bug#6032).
19365
19366 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19367
19368 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19369 Rewrite to avoid awkward possessive "s" (bug#5986).
19370
19371 2011-07-13 Glenn Morris <rgm@gnu.org>
19372
19373 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19374 (dired-insert-directory): Give a message the first time
19375 if ls is found not to support --dired.
19376
19377 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19378
19379 * simple.el (toggle-truncate-lines): Clarify what is toggled
19380 (bug#5580). Text by Drew Adams.
19381
19382 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19383
19384 * simple.el (blink-matching-open): Make the error message from the
19385 last change less verbose.
19386
19387 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19388
19389 * font-lock.el (font-lock-comment-face): Use the high contrast
19390 "yellow" color for font-lock-comment-face on low color terminals
19391 using a dark background color (bug#4221).
19392
19393 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19394
19395 * dired.el (dired-insert-set-properties): Make the doc string
19396 reflect what it does now (bug#5325).
19397
19398 * simple.el (blink-matching-open): Say that we were unable to find
19399 the match within the limit, if we're limited (bug#5122).
19400
19401 * international/mule-cmds.el (prefer-coding-system): Add an
19402 example (bug#4869).
19403
19404 * progmodes/etags.el (tags-search): Document `file-list-form'
19405 (bug#4731).
19406
19407 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19408
19409 * net/browse-url.el (browse-url-default-browser)
19410 (browse-url-browser-function): Make the default browser choice a
19411 bit more logical (bug#4300). Also clean up the doc string.
19412
19413 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19414
19415 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19416 binary endings (bug#4440).
19417
19418 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19419
19420 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19421 which can be pretty annoying (bug#8971).
19422
19423 * jka-compr.el (jka-compr-verbose): New variable, and use
19424 throughout (bug#8971).
19425
19426 * info.el (Info-find-file): Fall back on the installation
19427 directory if we can't find the info node anywhere else.
19428
19429 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19430
19431 * vc/vc.el (vc-revert-file):
19432 Don't set file time-stamp in the past. (Bug#5181)
19433
19434 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19435
19436 * files.el (after-find-file): Give a better error message when
19437 trying to find a symlink that points to a file that doesn't exist
19438 (bug#4398).
19439
19440 * progmodes/cc-vars.el: Remove (probably) misleading comment
19441 (bug#4396).
19442
19443 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19444
19445 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19446
19447 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19448
19449 * mouse-sel.el: Hack restoring functionality, while keeping
19450 compatibility with 2010-07-03 changes to mouse selection.
19451 (mouse-sel-primary-overlay): New var.
19452 (mouse-sel-selection-alist): Use it.
19453 (mouse-sel-mode): Doc fix; remove points that are default features
19454 of mouse.el.
19455
19456 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19457
19458 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19459 Fix previous fix (bug#2490).
19460
19461 2011-07-12 Roland Winkler <winkler@gnu.org>
19462
19463 * textmodes/bibtex.el (bibtex-initialize):
19464 Use pop-to-buffer-same-window.
19465 (bibtex-search-entries): Fix interactive call.
19466
19467 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19468
19469 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19470 Fontise bytecomp Error lines more correctly (bug#2490).
19471 Fix suggested by Johan Bockgård.
19472
19473 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19474
19475 * dired-x.el (dired-guess-default): Use `delete-dups'.
19476
19477 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19478
19479 * dired.el (dired-mark-prompt):
19480 * dired-aux.el (dired-read-shell-command): Doc fix.
19481
19482 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19483
19484 * mail/sendmail.el (sendmail-query-once):
19485 Use `customize-save-variable' unconditionally, now that it works under
19486 emacs -Q.
19487
19488 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19489
19490 * cus-edit.el (custom-file): Take an optional no-error variable.
19491 (customize-save-variable): Set the variable, and give a warning if
19492 running under "emacs -q".
19493
19494 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19495
19496 * loadhist.el (unload-feature-special-hooks):
19497 Add `auto-coding-functions', `fill-nobreak-predicate' and
19498 `find-directory-functions' (bug#5327).
19499
19500 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19501
19502 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19503
19504 * cus-edit.el (custom-guess-name-alist): -alist variables should
19505 use the `alist' type (bug#3120). Suggested by Drew Adams.
19506
19507 * printing.el: Add documentation to all the `pr-toggle-' commands.
19508
19509 2011-07-11 Leo Liu <sdl.web@gmail.com>
19510
19511 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19512 backends where it makes sense (bug#2623).
19513
19514 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19515
19516 * dired-x.el (dired-guess-default): Remove duplicate shell command
19517 entries (bug#2028).
19518 (dired-guess-default): Fix grammar in doc string (bug#2028).
19519 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19520
19521 * subr.el (remove-duplicates): New conveniency function.
19522
19523 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19524
19525 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19526 (bug#1526).
19527
19528 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19529
19530 * window.el (display-buffer-normalize-default): Don't invert
19531 meaning of even-window-heights. Reported by Eli Zaretskii
19532 <eliz@gnu.org>.
19533
19534 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19535
19536 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19537
19538 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19539
19540 * window.el (display-buffer): Fix arguments to
19541 display-buffer-reuse-window in last change.
19542
19543 * faces.el (link): Use a less saturated blue on light backgrounds.
19544
19545 * startup.el (fancy-startup-text, fancy-about-text)
19546 (fancy-startup-tail): Use font-lock faces, for background safety.
19547
19548 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19549
19550 * emulation/viper-cmd.el (viper-change-state-to-vi):
19551 Limit triggering of abbrev expansion (Bug#9038).
19552
19553 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19554
19555 * window.el (display-buffer-default-specifiers): Remove.
19556 (display-buffer-macro-specifiers): Remove default specifiers.
19557 (display-buffer-alist): Default to nil.
19558 (display-buffer-reuse-window): New optional argument other-window.
19559 (display-buffer-pop-up-window): Allow splitting internal
19560 windows. Check whether a live window was created.
19561 (display-buffer-other-window-means-other-frame)
19562 (display-buffer-normalize-arguments): Rename to
19563 display-buffer-normalize-argument and rewrite. Set the
19564 other-window specifier.
19565 (display-buffer-normalize-special): New function.
19566 (display-buffer-normalize-options): Rename to
19567 display-buffer-normalize-default and rewrite.
19568 (display-buffer-normalize-options-inhibit): Remove.
19569 (display-buffer-normalize-specifiers): Rewrite.
19570 (display-buffer): Process other-window specifier and call
19571 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19572 more faithfully.
19573 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19574 (display-buffer-alist-set): Don't handle 'unset default values.
19575 (display-buffer-in-window, display-buffer-alist-set):
19576 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19577 <tassilo@member.fsf.org>.
19578
19579 2011-07-09 Leo Liu <sdl.web@gmail.com>
19580
19581 * register.el (insert-register): Restore accidental change on
19582 2011-06-26. (Bug#9028)
19583
19584 2011-07-09 Glenn Morris <rgm@gnu.org>
19585
19586 * subr.el (remq): Handle the empty list. (Bug#9024)
19587
19588 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19589
19590 * mail/sendmail.el (send-mail-function): No longer delay custom
19591 initialization.
19592 * custom.el (custom-initialize-delay): Doc fix.
19593
19594 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19595
19596 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19597
19598 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19599
19600 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19601 human-friendly prompt.
19602
19603 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19604
19605 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19606 provided by a particular plugin.
19607
19608 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19609
19610 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19611 save customizations (with "emacs -Q"), just set the variable
19612 instead of erroring out.
19613
19614 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19615
19616 2011-07-08 Juri Linkov <juri@jurta.org>
19617
19618 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19619 (archive-zip-update-case): Use 7z if found by `executable-find'.
19620 The order of searching the available programs is the same as in
19621 `archive-zip-extract' (bug#8968).
19622
19623 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19624
19625 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19626 (menu-bar-options-menu): Tweak descriptions.
19627
19628 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19629
19630 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19631 menu items into verb phrases (bug#1421). Also refill to fit under
19632 80 columns.
19633
19634 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19635
19636 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19637 (Info-read-node-name): Doc fix (Bug#1084).
19638
19639 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19640 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19641 (end-of-sexp, beginning-of-sexp)
19642 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19643 (forward-symbol, forward-same-syntax, word-at-point)
19644 (sentence-at-point): Doc fix (Bug#1144).
19645
19646 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19647
19648 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19649 should cover it (bug#1281).
19650
19651 * cus-edit.el (custom-show): Mark as obsolete.
19652
19653 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19654 negotiation fails, then possibly try again with a non-encrypted
19655 connection (bug#9017).
19656
19657 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19658 be used.
19659
19660 2011-07-07 Richard Stallman <rms@gnu.org>
19661
19662 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19663 property, and handle its changed format.
19664 Look for the correct line number.
19665 Use file's line contents (but not past first =) to find
19666 correct line in message.
19667
19668 2011-07-07 Kenichi Handa <handa@m17n.org>
19669
19670 * international/characters.el (build-unicode-category-table):
19671 Delete it.
19672 (unicode-category-table): Set it by unicode-property-table-internal.
19673
19674 * international/mule-cmds.el (char-code-property-alist): Move to
19675 to src/chartab.c.
19676 (get-char-code-property): Call unicode-property-table-internal to
19677 load a file. Call get-unicode-property-internal where necessary.
19678 (put-char-code-property): Call unicode-property-table-internal to
19679 load a file. Call put-unicode-property-internal where necessary.
19680 put-unicode-property-internal where necessary.
19681 (char-code-property-description):
19682 Call unicode-property-table-internal to load a file.
19683
19684 * international/charprop.el:
19685 * international/uni-bidi.el:
19686 * international/uni-category.el:
19687 * international/uni-combining.el:
19688 * international/uni-comment.el:
19689 * international/uni-decimal.el:
19690 * international/uni-decomposition.el:
19691 * international/uni-digit.el:
19692 * international/uni-lowercase.el:
19693 * international/uni-mirrored.el:
19694 * international/uni-name.el:
19695 * international/uni-numeric.el:
19696 * international/uni-old-name.el:
19697 * international/uni-titlecase.el:
19698 * international/uni-uppercase.el: Regenerate.
19699
19700 * loadup.el: Load international/charprop.el before
19701 international/characters.
19702
19703 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19704
19705 * window.el (next-buffer, previous-buffer): Signal an error if
19706 called from a minibuffer window.
19707
19708 * bindings.el: Revert 2011-07-04 change.
19709
19710 2011-07-06 Richard Stallman <rms@gnu.org>
19711
19712 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19713 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19714 Treat markers like ints.
19715 (rmail-mime-entity): Doc fix.
19716
19717 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19718
19719 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19720 defcustom again for backwards compatibility.
19721
19722 * simple.el (shell-command-on-region): Fill.
19723
19724 * dired-aux.el (dired-kill-line): Add a doc string.
19725
19726 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19727 to "\\sw\\|\\s_" (bug#358).
19728
19729 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19730 (dired-unmark-backward): Ditto.
19731 (dired-flag-backup-files): Ditto.
19732
19733 * dired-x.el (dired-mark-sexp): Ditto.
19734
19735 2011-07-06 Richard Stallman <rms@gnu.org>
19736
19737 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19738 (rmail-mime-entity): New arg TRUNCATED.
19739 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19740 New functions.
19741 (rmail-mime-save): Warn if entity is truncated.
19742 (rmail-mime-toggle-hidden): Likewise, for showing.
19743 (rmail-mime-process-multipart): Record when an entity is truncated.
19744
19745 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19746 if ENTITY is a string.
19747
19748 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19749
19750 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19751 of faces when `M-C-x'-ing their definitions (bug#8378).
19752 Also clean up the code slightly.
19753
19754 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19755 because that makes the colors go away.
19756
19757 * mail/sendmail.el (send-mail-function): Change the default to
19758 `sendmail-query-once'.
19759 (sendmail-query-once): Add an autoload cookie.
19760
19761 * net/network-stream.el (network-stream-open-starttls): Try using
19762 a plain connection even if the server offered STARTTLS, and we
19763 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19764 capability. This should make smtpmail.el work in slightly more
19765 configurations.
19766
19767 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19768
19769 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19770 New defun.
19771 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19772
19773 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19774
19775 * progmodes/sql.el: Version 3.0
19776 (sql-product-alist): Add product :completion-object,
19777 :completion-column, and :statement attributes.
19778 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19779 (sql-mode-syntax-table): Mark all punctuation.
19780 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19781 ansi keywords.
19782 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19783 (sql-mode-oracle-font-lock-keywords): Improve.
19784 (sql-oracle-show-reserved-words): New function for development.
19785 (sql-product-font-lock): Simplify for source code buffers.
19786 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19787 New functions.
19788 (sql-highlight-product): Set product specific syntax table.
19789 (sql-mode-map): Add statement movement functions.
19790 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19791 New variable.
19792 (sql-statement-regexp, sql-beginning-of-statement)
19793 (sql-end-of-statement, sql-signum): New functions.
19794 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19795 (sql-show-sqli-buffer): Bug fix.
19796 (sql-interactive-mode): Store connection data as buffer local.
19797 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19798 with sql-interactive-mode.
19799 (sql-save-connection): Save buffer local settings.
19800 (sql-connection-menu-filter): Change menu entry name.
19801 (sql-product-interactive): Bug fix.
19802 (sql-preoutput-hold): New variable.
19803 (sql-interactive-remove-continuation-prompt): Bug fixes.
19804 (sql-debug-redirect): New variable.
19805 (sql-str-literal): New function.
19806 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19807 Redesign.
19808 (sql-oracle-save-settings, sql-oracle-restore-settings)
19809 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19810 (sql-completion-object, sql-completion-column)
19811 (sql-completion-sqlbuf): New variables.
19812 (sql-build-completions-1, sql-build-completions)
19813 (sql-try-completion): New functions.
19814 (sql-read-table-name): Use them.
19815 (sql-contains-names): New buffer local variable.
19816 (sql-list-all, sql-list-table): Use it.
19817 (sql-oracle-completion-types): New variable.
19818 (sql-oracle-completion-object, sql-sqlite-completion-object)
19819 (sql-postgres-completion-object): New functions.
19820
19821 2011-07-06 Glenn Morris <rgm@gnu.org>
19822
19823 * window.el (pop-to-buffer): Doc fix.
19824
19825 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19826
19827 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19828
19829 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19830
19831 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19832
19833 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19834
19835 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19836
19837 * button.el (button): Inherit from link face. Suggested by Dan
19838 Nicolaescu.
19839
19840 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19841
19842 * progmodes/gdb-mi.el: Fit in 80 columns.
19843 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19844 switch-to-buffer.
19845
19846 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19847 if imenu is simply not configured (bug#8941).
19848
19849 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19850
19851 * allout.el (allout-post-undo-hook): New allout outline-change
19852 event hook to signal undo activity.
19853 (allout-post-command-business): Run allout-post-undo-hook if an
19854 undo just occurred.
19855 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19856 * allout-widgets.el (allout-widgets-after-undo-function):
19857 Ensure the integrity of the current item's decoration after it has been
19858 in the vicinity of an undo.
19859 (allout-widgets-mode): Include allout-widgets-after-undo-function
19860 on the new allout-post-undo-hook.
19861
19862 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19863
19864 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19865 Let define-derived-mode define it.
19866 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19867 cycles of abbrev-table inheritance (bug#8998).
19868
19869 2011-07-05 Roland Winkler <winkler@gnu.org>
19870
19871 * textmodes/bibtex.el: Add support for biblatex.
19872 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19873 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19874 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19875 (bibtex-entry-alist, bibtex-field-alist): New variables.
19876 (bibtex-entry-field-alist): Obsolete alias for
19877 bibtex-BibTeX-entry-alist.
19878 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19879 (bibtex-set-dialect): New command.
19880 (bibtex-entry-type, bibtex-entry-head)
19881 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19882 Bind via bibtex-set-dialect.
19883 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19884 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19885 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19886 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19887 Define via bibtex-set-dialect.
19888 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19889 Obey bibtex-no-opt-remove-re.
19890 (bibtex-vec-push, bibtex-vec-incr): New functions.
19891 (bibtex-format-entry, bibtex-field-list)
19892 (bibtex-print-help-message, bibtex-validate)
19893 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19894
19895 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19896
19897 * progmodes/compile.el (compilation-goto-locus):
19898 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19899 * bs.el (bs-cycle-next, bs-cycle-previous):
19900 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19901 * bindings.el (mode-line-other-buffer):
19902 * autoinsert.el (auto-insert):
19903 * arc-mode.el (archive-extract):
19904 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19905
19906 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19907
19908 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19909 Fix check of `emacs-lock-unlockable-modes'.
19910 Coerce true values of `emacs-lock--try-unlocking' to t.
19911
19912 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19913
19914 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19915 * emacs-lock.el: New file.
19916
19917 2011-07-05 Julien Danjou <julien@danjou.info>
19918
19919 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19920 than `boundp' to check if face is set.
19921
19922 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19923
19924 * register.el (registerv-make):
19925 * window.el (window-min-height): Fix typos in docstrings.
19926
19927 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19928
19929 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19930 Update doc string.
19931
19932 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19933
19934 * server.el (server-execute): Catch quit and call
19935 `server-return-error' to pass the error back to emacsclient and
19936 close the connection (bug#8942).
19937
19938 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19939
19940 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19941 insecure exception for current topic. Also note that auto-saves
19942 are handled differently.
19943
19944 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19945 State variables for tracking auto-save inhibition situation.
19946
19947 (allout-write-contents-hook-handler): Rename from
19948 'allout-write-file-hook-handler', and describe how it depends on
19949 write-contents-functions sensitivity to non-nil value to prevent
19950 file write.
19951
19952 (allout-auto-save-hook-handler): Remove. auto-save does not check
19953 this in individual buffers, only in the starting buffer, so this
19954 is not the right way for us to inhibit auto-save in a buffer
19955 according to its condition.
19956
19957 (allout-mode): Use new allout-write-contents-hook-handler, and
19958 only with write-contents-functions. Remove auto-save provisions -
19959 they're implemented elsewhere.
19960
19961 (allout-before-change-handler): If undo is in progress, note that
19962 for attention of allout-post-command-business.
19963
19964 (allout-post-command-business): If the command we're following was
19965 an undo, check for change in the status of encrypted items and
19966 adjust auto-save inhibitions accordingly.
19967
19968 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19969 according to whether there are or aren't any plain-text topics
19970 pending encryption.
19971
19972 (allout-inhibit-auto-save-info-for-decryption):
19973 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19974 if there are plain-text topics pending encryption.
19975
19976 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19977 buffer-saved-size and some allout state to not inhibit auto-saves
19978 if there are no longer any plain-text topics pending encryption.
19979
19980 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19981 No longer provide for exemption of the current topic.
19982
19983 2011-07-04 Juri Linkov <juri@jurta.org>
19984
19985 Add 7z operations to delete and save changed members (bug#8968).
19986 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19987 New defcustoms.
19988 (archive-7z-write-file-member): New function.
19989 (archive-7z-summarize): Fix the number of dashes in the
19990 listing output.
19991
19992 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19993
19994 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19995 (bug#8958).
19996
19997 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19998
19999 * bindings.el: Ignore next-buffer and previous-buffer in
20000 minibuffer-local-map.
20001
20002 * font-lock.el (font-lock-builtin-face): Change light background
20003 color to dark slate blue (Bug#6693).
20004
20005 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20006
20007 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20008
20009 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20010
20011 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20012 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20013 Add switch-to-buffer.
20014
20015 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20016
20017 * isearch.el (isearch-search-fun-function): Clarify further the
20018 meaning of the function returned.
20019
20020 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20021
20022 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20023
20024 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20025 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20026 Use it.
20027 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20028 `tramp-default-remote-path' does not exist.
20029 (tramp-send-command-and-read): New optional argument NOERROR.
20030 (tramp-open-connection-setup-interactive-shell)
20031 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20032 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20033 (tramp-process-sentinel): Flush also process' connection property.
20034 (tramp-sh-handle-start-file-process): Do not set process
20035 sentinel. It is done now ...
20036 (tramp-maybe-open-connection): ... here. (Bug#8929)
20037
20038 2011-07-04 MON KEY <monkey@sandpframing.com>
20039
20040 * play/animate.el (animate-string): Doc fixes and allow changing
20041 the buffer name (bug#5417).
20042
20043 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20044
20045 * play/animate.el (animation-buffer-name): Rename from *animate*.
20046
20047 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20048
20049 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20050 This is simpler and helps future-proof the code.
20051 (timer-until): Use time-subtract and float-time.
20052 (timer--time-less-p): Use time-less-p.
20053
20054 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20055
20056 * type-break.el (timep): Use the value of `float-time' to avoid a
20057 byte-compiler warning.
20058
20059 * server.el (server-eval-and-print): Return any result, even nil.
20060
20061 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20062
20063 * type-break.el: Accept time formats that the builtins accept.
20064 (timep, type-break-time-difference): Accept any format that
20065 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20066 This is simpler and helps future-proof the code.
20067 (type-break-time-difference): Round rather than ignoring
20068 subseconds components.
20069
20070 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20071
20072 * info.el (Info-apropos-matches): Make non-interactive, since it
20073 doesn't seem to do anything useful as a command (bug#8829).
20074
20075 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20076
20077 * frame.el (frame-background-mode, frame-set-background-mode):
20078 Move from faces.el.
20079 (frame-default-terminal-background): New function.
20080
20081 * custom.el (custom-push-theme): Don't record faces in `changed'
20082 theme; this doesn't work correctly for per-frame face settings.
20083 (disable-theme): Use face-set-after-frame-default to reset faces.
20084 (custom--frame-color-default): New function.
20085
20086 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20087
20088 * dired.el (dired-flagging-regexp): Remove unused variable
20089 (bug#8769).
20090
20091 2011-03-29 Kevin Ryde <user42@zip.com.au>
20092
20093 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20094 `perl-Test2' extend to match possible "fail #N" rep count
20095 (bug#8377).
20096
20097 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20098
20099 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20100 `smtpmail-via-smtp' now returns the error instead of nil.
20101
20102 * isearch.el (isearch-search-fun-function): Clarify the doc string
20103 (bug#8101).
20104
20105 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20106
20107 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20108 unnecessary spaces (bug#8987).
20109
20110 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20111
20112 * net/network-stream.el (open-network-stream): Use the
20113 :end-of-capability command thoughout.
20114
20115 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20116
20117 * net/network-stream.el (open-network-stream): Add the
20118 :end-of-capability command parameter, used by pop3.el.
20119
20120 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20121
20122 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20123
20124 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20125 for list)" (bug#6475).
20126
20127 * files.el (file-expand-wildcards): Ignore non-readable
20128 sub-directories while trying to find matches instead of signaling
20129 an error (bug#6297).
20130
20131 * man.el (Man-reference-regexp): Allow matching possible
20132 word-wrapped references (bug#6289).
20133
20134 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20135 for consistency with the other vc buffers (bug#6197).
20136 (vc-checkin): Ditto.
20137
20138 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20139
20140 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20141
20142 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20143
20144 * custom.el (defcustom): Clarify that :set is only used in the
20145 Customize user interface (bug#6089).
20146
20147 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20148 associated with a file, refuse to run instead of erroring out
20149 (bug#6084).
20150
20151 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20152 the doc string, since it appears that using `fill-column' always
20153 controls the width (bug#7845).
20154
20155 * simple.el (shell-command-on-region): Say where the error output
20156 went if `shell-command-default-error-buffer' is set (bug#6857).
20157
20158 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20159
20160 * allout.el (allout-yank-processing): Adjust cursor position for
20161 backwards-deleted space.
20162
20163 (allout-rebullet-heading): Register changes with
20164 allout-exposure-changed-hook, so the modified topic is properly
20165 decorated.
20166
20167 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20168
20169 * minibuffer.el (completion-in-region): Document PREDICATE
20170 (bug#7136).
20171
20172 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20173 of keyword/argument pairs (bug#6904).
20174
20175 * replace.el (multi-occur):
20176 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20177
20178 2011-07-02 Drew Adams <drew.adams@oracle.com>
20179
20180 * dired.el (dired-mark-if): Make the message about whether it's
20181 marking or unmarking clearer (bug#8523).
20182
20183 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20184
20185 * disp-table.el (display-table-print-array): New function.
20186 (describe-display-table): Use it to print the vectors more pretty
20187 (Bug#8859).
20188
20189 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20190
20191 * window.el (window-state-get-1): Don't assign clone numbers.
20192 Add clone-of item to list of window parameters.
20193 (window-state-put-2): Don't process clone numbers.
20194 (display-buffer-alist): Fix doc-string.
20195
20196 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20197
20198 * subr.el (remq): Don't allocate if it's not needed.
20199 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20200 (keymap--merge-bindings): New functions.
20201 (keymap-canonicalize): Use them to refine the canonicalization.
20202 * minibuffer.el (minibuffer-local-completion-map)
20203 (minibuffer-local-must-match-map): Move initialization from C.
20204 (minibuffer-local-filename-completion-map): Move initialization from C;
20205 don't inherit from anything here.
20206 (minibuffer-local-filename-must-match-map): Make obsolete.
20207 (completing-read-default): Use make-composed-keymap to combine
20208 minibuffer-local-filename-completion-map with either
20209 minibuffer-local-must-match-map or
20210 minibuffer-local-filename-completion-map.
20211
20212 2011-07-01 Glenn Morris <rgm@gnu.org>
20213
20214 * type-break.el (type-break-time-sum): Use dolist.
20215
20216 * textmodes/flyspell.el (flyspell-word-search-backward):
20217 Replace CL function.
20218
20219 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20220
20221 * mouse.el (mouse--strip-first-event): New function.
20222 (function-key-map): Use it to map fringe clicks to normal clicks
20223 by default.
20224
20225 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20226 (vc-bzr-revision-completion-table): Add support for annotate and date.
20227
20228 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20229 inherit from parent.
20230
20231 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20232
20233 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20234 (dired-show-file-type): Doc fixup (bug#8818).
20235
20236 * dired.el (dired-mode): Fix up the doc string as suggested by
20237 Drew Adams (bug#8817).
20238
20239 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20240 cookie, since the manual says that it should be possible to add
20241 this function to `find-file-hook' (bug#8709).
20242
20243 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20244
20245 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20246 here. Noted Ted Zlatanov as the maintainer.
20247 (cfengine-common-settings, cfengine-common-syntax): New functions
20248 to set up common things between `cfengine-mode' and
20249 `cfengine3-mode'.
20250 (cfengine3-mode): New mode.
20251 (cfengine3-defuns cfengine3-defuns-regex
20252 (cfengine3-class-selector-regex cfengine3-category-regex)
20253 (cfengine3-vartypes cfengine3-font-lock-keywords)
20254 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20255 (cfengine3-indent-line): Add from cfengine3.el.
20256
20257 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20258
20259 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20260
20261 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20262
20263 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20264
20265 * window.el (same-window-buffer-names, same-window-regexps)
20266 (same-window-p, special-display-frame-alist)
20267 (special-display-popup-frame, special-display-function)
20268 (special-display-buffer-names, special-display-regexps)
20269 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20270 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20271 (split-window-preferred-function, split-height-threshold)
20272 (split-width-threshold, even-window-heights)
20273 (display-buffer-mark-dedicated, window-splittable-p)
20274 (split-window-sensibly, window-safely-shrinkable-p):
20275 Un-obsolete.
20276 (display-buffer): Don't spread args with function specifier
20277 because special-display-popup-frame won't like it.
20278
20279 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20280
20281 Time-stamp simplifications and fixes.
20282 These improve accuracy slightly, and future-proof the code
20283 against some potential changes to current-time format.
20284
20285 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20286 by using time-since and float-time.
20287
20288 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20289 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20290 + NNN microseconds".
20291
20292 * type-break.el (type-break-time-sum): Rewrite using time-add.
20293
20294 * play/hanoi.el (hanoi-current-time-float): Remove.
20295 All uses replaced by float-time.
20296
20297 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20298 This yields a more-accurate answer.
20299 (rng-time-to-float): Remove; no longer needed.
20300
20301 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20302
20303 * calendar/timeclock.el (timeclock-seconds-to-time):
20304 Defalias to seconds-to-time, since they're the same thing.
20305
20306 * emacs-lisp/elp.el (elp-elapsed-time):
20307 * emacs-lisp/benchmark.el (benchmark-elapse):
20308 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20309
20310 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20311
20312 * window.el (bury-buffer): Don't iconify the only frame.
20313 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20314 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20315
20316 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20317
20318 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20319 Add mouse-yank-primary.
20320
20321 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20322
20323 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20324
20325 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20326
20327 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20328 (find-library-name): Use it to find relative load names when provided
20329 absolute file name (bug#8803).
20330
20331 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20332
20333 * textmodes/flyspell.el (flyspell-word): Consider words that
20334 differ only in case as potential doublons (bug#5687).
20335
20336 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20337 Remove two rather uninteresting debugging-like messages to make
20338 debbugs.el more silent.
20339
20340 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20341 a password-like phrase.
20342
20343 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20344
20345 * progmodes/cc-guess.el: New file.
20346
20347 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20348
20349 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20350 derived from `c-basic-common-init'.
20351
20352 * progmodes/cc-mode.el (top-level): Require cc-guess.
20353 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20354
20355 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20356
20357 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20358
20359 2011-06-30 Alan Mackenzie <acm@muc.de>
20360
20361 * progmodes/cc-engine.el (c-guess-continued-construct):
20362 Correct the handling of template-args-cont, particularly for when font
20363 lock is disabled. Name this case as "CASE G".
20364
20365 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20366
20367 * allout.el (allout-yank-processing): Fix injection of extra space
20368 between bullet and non-whitespace character in first topic when
20369 pasting, ensuring that the actual spacing in the pasted topic
20370 following the bullet char is preserved. This extra space was
20371 causing pasted encrypted topics to get a decrypted status even
20372 when the content was actually still encrypted. Now the decryption
20373 status from before the paste is preserved.
20374
20375 (allout-flag-region): Set all allout overlays so they evaporate
20376 when reduced to zero length (evanescent), to prevent overlay
20377 leakage.
20378
20379 2011-06-30 Glenn Morris <rgm@gnu.org>
20380
20381 * w32-fns.el (w32-charset-info-alist): Declare.
20382
20383 * find-dired.el (find-grep-options): Simplify.
20384
20385 * term/ns-win.el (ns-set-resource): Declare.
20386
20387 * ses.el (row, col): Declare dynamic variables honestly.
20388
20389 * textmodes/reftex-parse.el (index-tags): Declare.
20390
20391 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20392
20393 * cus-edit.el (customize-push-and-save): New function.
20394
20395 * files.el (hack-local-variables-confirm): Use it.
20396
20397 * custom.el (load-theme): New arg NO-CONFIRM.
20398 Use customize-push-and-save (Bug#8720).
20399 (custom-enabled-themes): Doc fix.
20400
20401 * cus-theme.el (customize-create-theme)
20402 (custom-theme-merge-theme): Callers to load-theme changed.
20403
20404 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20405
20406 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20407 short URLs have at least one dot in them (bug #7614).
20408
20409 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20410 nil, because using a pty is apparently too slow (bug #895).
20411
20412 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20413
20414 * mail/sendmail.el (sendmail-query-once): New function.
20415 (sendmail-query-once-function): New variable.
20416
20417 2011-06-29 Glenn Morris <rgm@gnu.org>
20418
20419 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20420
20421 * ses.el (top-level): Require cl when compiling.
20422 (ses-set-localvars): Fix error statement.
20423 Call it at compile time to silence a storm of warnings.
20424
20425 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20426
20427 * window.el (normalize-live-buffer): Rename to
20428 window-normalize-buffer.
20429 (normalize-live-frame): Rename to window-normalize-frame.
20430 (normalize-any-window): Rename to window-normalize-any-window.
20431 (normalize-live-window): Rename to window-normalize-live-window.
20432 (make-window-atom): Rename to window-make-atom.
20433 (window-resize-reset): Rename to window--resize-reset.
20434 (window-resize-reset-1): Rename to window--resize-reset-1.
20435 (resize-mini-window): Rename to window--resize-mini-window.
20436 (resize-subwindows-skip-p): Rename to
20437 window--resize-subwindows-skip-p.
20438 (resize-subwindows-normal): Rename to
20439 window--resize-subwindows-normal.
20440 (resize-subwindows): Rename to window--resize-subwindows.
20441 (resize-other-windows): Rename to window--resize-siblings.
20442 (resize-this-window): Rename to window--resize-this-window.
20443 (resize-root-window): Rename to window--resize-root-window.
20444 (resize-root-window-vertically): Rename to
20445 window--resize-root-window-vertically.
20446 (normalize-buffer-to-display): Rename to
20447 window-normalize-buffer-to-display.
20448 (normalize-buffer-to-switch-to): Rename to
20449 window-normalize-buffer-to-switch-to.
20450 Correspondingly update all callers of the functions listed
20451 above.
20452 (display-buffer-alist, display-buffer-normalize-arguments)
20453 (display-buffer-normalize-options, display-buffer)
20454 (display-buffer-alist-set): Use "function" instead of
20455 "fun-with-args".
20456
20457 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20458
20459 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20460 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20461 debbugs.gnu.org. Mention acknowledgment email.
20462
20463 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20464
20465 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20466 buffer multibyteness, since it shouldn't matter.
20467
20468 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20469
20470 * window.el (display-buffer-in-side-window): Handle dedicated
20471 windows as in display-buffer-reuse-window.
20472 (display-buffer-normalize-alist): Use value of override
20473 specifier.
20474 (display-buffer-normalize-specifiers): Use value of
20475 other-window-means-other-frame specifier.
20476 (display-buffer-alist): Rewrite some texts in widgets.
20477 (display-buffer): Spread arguments when calling function
20478 specified by fun-with-args.
20479
20480 2011-06-28 Deniz Dogan <deniz@dogan.se>
20481
20482 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20483 Unnest `let'.
20484
20485 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20486 selectors (Bug#5732).
20487 (css-proprietary-nmstart-re): Use `regexp-opt'.
20488
20489 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20490
20491 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20492 (eshell-ls-date-format): New defcustom.
20493 (eshell-ls-file): Use it.
20494
20495 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20496
20497 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20498
20499 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20500
20501 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20502 (ange-ftp-make-tmp-name): New arg.
20503 (ange-ftp-file-local-copy): Use it.
20504
20505 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20506
20507 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20508 no-conversion (Bug#8870).
20509
20510 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20511
20512 * window.el (window-right, window-left, window-child)
20513 (window-child-count, window-last-child)
20514 (window-iso-combination-p, walk-window-tree-1)
20515 (window-atom-check-1, window-tree-1, delete-window)
20516 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20517 new naming conventions - window-vchild, window-hchild,
20518 window-next and window-prev are now called window-top-child,
20519 window-left-child, window-next-sibling and window-prev-sibling
20520 respectively.
20521 (resize-window-reset): Rename to window-resize-reset.
20522 (resize-window-reset-1): Rename to window-resize-reset-1.
20523 (resize-window): Rename to window-resize.
20524 (window-min-height, window-min-width)
20525 (resize-mini-window, resize-this-window, resize-root-window)
20526 (resize-root-window-vertically, adjust-window-trailing-edge)
20527 (enlarge-window, shrink-window, maximize-window)
20528 (minimize-window, delete-window, quit-restore-window)
20529 (split-window, balance-windows, balance-windows-area-adjust)
20530 (balance-windows-area, window-state-put-2)
20531 (display-buffer-even-window-sizes, display-buffer-set-height)
20532 (display-buffer-set-width, set-window-text-height)
20533 (fit-window-to-buffer): Rename all "resize-window" prefixed
20534 calls to use the "window-resize" prefix convention.
20535 (display-buffer-alist): Fix symbol for label specifier.
20536 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20537 corresponding specifier.
20538 Reported by Juanma Barranquero <lekktu@gmail.com>.
20539
20540 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20541
20542 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20543 convention.
20544 (ses-call-printer): Does not pass an empty string to formatter when the
20545 cell is empty to keep from barking printer Calc math-format-value.
20546
20547 2011-06-27 Richard Stallman <rms@gnu.org>
20548
20549 * battery.el (battery-mode-line-limit): New variable.
20550 (battery-update): Handle it.
20551
20552 * mail/rmailmm.el (rmail-mime-process-multipart):
20553 Handle truncated messages.
20554
20555 2011-06-27 Glenn Morris <rgm@gnu.org>
20556
20557 * progmodes/flymake.el (flymake-err-line-patterns):
20558 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20559
20560 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20561
20562 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20563 (ses--clean-!, ses--clean-_): New functions.
20564 (ses-range): Add configurability of readout order, and conversion
20565 to Calc vector.
20566
20567 * ses.el (ses-repair-cell-reference-all): New function.
20568 (ses-cell-symbol): Set macro as safe, so that it can be used in
20569 formulas.
20570
20571 * ses.el: Update cycle detection algorithm.
20572 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20573 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20574 (ses-set-localvars): New function.
20575 (ses-make-cell): Add property-list as a cell element.
20576 (ses-cell-property-get-fun, ses-cell-property-get)
20577 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20578 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20579 New functions.
20580 (ses-cell-property-set, ses-cell-property-pop)
20581 (ses-cell-property-get-handle): New macro.
20582 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20583 New aliases, used for code readability.
20584 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20585 cycle detection.
20586 (ses-self-reference-early-detection): New defcustom.
20587 (ses-formula-references): Robustify against self-referring cells.
20588 (ses-mode): Use ses-set-localvars.
20589 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20590 before lauching the update processing.
20591 (ses-initialize-Dijkstra-attempt): New function.
20592 (ses-recalculate-cell): Update for cycle detection based on
20593 Dijkstra algorithm.
20594
20595 * ses.el: Fix commenting and indenting convention.
20596
20597 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20598
20599 * bs.el (bs-cycle-next): Complete last change.
20600
20601 2011-06-27 Drew Adams <drew.adams@oracle.com>
20602
20603 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20604
20605 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20606
20607 * net/network-stream.el (network-stream-open-starttls):
20608 Don't re-get capabilities unless we've reestablished connection.
20609 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20610
20611 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20612 to binary to possibly avoid line encoding issues on Windows (among
20613 other things).
20614
20615 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20616
20617 * net/network-stream.el (open-network-stream): Return an :error
20618 saying what the problem was, if possible.
20619
20620 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20621 server.
20622
20623 * net/network-stream.el (network-stream-open-starttls): If we
20624 wanted to use STARTTLS, and the server offered it, but we weren't
20625 able to because we had no STARTTLS support, then close the connection.
20626 (open-network-stream): Return an :error element, if present.
20627
20628 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20629
20630 * hl-line.el (hl-line-sticky-flag): Doc fix.
20631 (global-hl-line-sticky-flag): New option (Bug#8323).
20632 (global-hl-line-highlight): Obey it.
20633
20634 * vc/vc.el (vc-revert-show-diff): Default to t.
20635
20636 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20637
20638 * allout-widgets.el (allout-widgets-post-command-business):
20639 Stop decorating intermediate isearch matches. They're not being
20640 undecorated when an isearch is continued past, and isearch
20641 automatically collapses them. This leads to "widget leaks", where
20642 decorated items accumulate in collapsed areas. Lines with lots of
20643 hidden widgets can slow down cursor travel, substantially.
20644 Too much complicated machinery would be needed to ensure undecoration,
20645 so we're doing without this nicety.
20646
20647 (allout-widgets-tally-string): Don't try to do a hash-table-count
20648 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20649 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20650 *Messages* when allout-widgets-maintain-tally is t.
20651
20652 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20653
20654 * window.el (display-buffer-normalize-argument): Rename to
20655 display-buffer-normalize-arguments. Handle special meaning of
20656 LABEL argument. Respect special-display-function when popping up
20657 a new frame. Fix code searching for a window showing the buffer
20658 on another frame.
20659 (display-buffer-normalize-specifiers):
20660 Call display-buffer-normalize-arguments.
20661 (display-buffer-in-window): Don't undedicate the window if its
20662 buffer remains the same.
20663 Reported by Drew Adams <drew.adams@oracle.com>.
20664 (display-buffer-alist): Add choice for same-window macro
20665 specfier.
20666 (display-buffer): Mention special meaning of LABEL argument in
20667 doc-string. Fix quoting. Don't pop up a new frame even as
20668 fallback.
20669
20670 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20671
20672 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20673 avoid deleting the current window in some cases (bug#8911).
20674
20675 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20676
20677 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20678 (Bug#8934)
20679
20680 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20681
20682 * net/network-stream.el (network-stream-open-starttls):
20683 Use built-in TLS support if `gnutls-available-p' is true.
20684 (network-stream-open-tls): Ditto.
20685
20686 2011-06-26 Leo Liu <sdl.web@gmail.com>
20687
20688 * register.el (registerv): New struct.
20689 (registerv-make): New function.
20690 (jump-to-register, describe-register-1, insert-register):
20691 Support the jump-func, print-func and insert-func slot of a registerv
20692 struct. (Bug#8415)
20693
20694 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20695
20696 * vc/vc.el (vc-revert-show-diff): New defcustom.
20697 (vc-diff-internal): New arg specifying diff buffer.
20698 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20699 reuse an existing *vc-diff* buffer (Bug#8927).
20700
20701 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20702
20703 2011-06-26 Glenn Morris <rgm@gnu.org>
20704
20705 * progmodes/f90.el (f90-critical-indent): New option.
20706 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20707 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20708 (f90-mode): Doc fix.
20709 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20710 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20711 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20712 (f90-match-end): Handle block, critical.
20713
20714 2011-06-25 Glenn Morris <rgm@gnu.org>
20715
20716 * calendar/diary-lib.el (diary-included-files): Doc fix.
20717 (diary-include-files): New function, extracted from
20718 diary-include-other-diary-files and diary-mark-included-diary-files.
20719 (diary-include-other-diary-files, diary-mark-included-diary-files):
20720 Just call diary-include-files.
20721 (diary-mark-entries): Reset diary-included-files on first call.
20722
20723 * calendar/diary-lib.el (diary-mark-entries)
20724 (diary-mark-included-diary-files):
20725 Visit included diary-files in temp buffers.
20726
20727 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20728 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20729 (f90-start-block-re, f90-imenu-generic-expression)
20730 (f90-looking-at-program-block-start, f90-no-block-limit):
20731 Add support for submodules.
20732
20733 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20734 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20735
20736 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20737
20738 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20739 buffer-file-type before setting its value, to avoid disastrous
20740 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20741
20742 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20743
20744 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20745
20746 * ses.el (ses-unload-function):
20747 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20748
20749 * proced.el (proced-unload-function):
20750 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20751
20752 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20753
20754 * server.el (server-create-window-system-frame): Add parameters arg.
20755 (server-process-filter): Doc fix. Handle frame-parameters.
20756
20757 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20758
20759 Fix bug#8730, bug#8781.
20760
20761 * loadhist.el (unload--set-major-mode): New function.
20762 (unload-feature): Use it.
20763
20764 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20765 (python-unload-function): New function.
20766
20767 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20768
20769 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20770
20771 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20772
20773 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20774 the candidates list.
20775
20776 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20777
20778 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20779
20780 2011-06-23 Richard Stallman <rms@gnu.org>
20781
20782 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20783 (rmail-variables): Set next-error-move-function.
20784 (rmail-what-message): Take argument POS.
20785 (rmail-next-error-move): New function.
20786
20787 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20788
20789 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20790 messages for adjacent non-terminals.
20791
20792 2011-06-23 Richard Stallman <rms@gnu.org>
20793
20794 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20795 (rmail-show-message-1): Preserve buffer modified flag.
20796 (rmail-start-mail): Don't specify use of rmail-mail-return;
20797 that's done by mail-bury now.
20798 (rmail-mail-return): Handle arg NEWBUF.
20799
20800 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20801
20802 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20803 SIZE is a number.
20804
20805 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20806
20807 * window.el (get-lru-window, get-mru-window)
20808 (get-largest-window): Never return a minibuffer window.
20809 (display-buffer-pop-up-window): Fix a bug that could lead to
20810 reusing the minibuffer window.
20811 (display-buffer): Pass original specifier argument to
20812 display-buffer-function instead of the normalized one.
20813 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20814
20815 2011-06-22 Leo Liu <sdl.web@gmail.com>
20816
20817 * minibuffer.el (completing-read-function)
20818 (completing-read-default): Move from minibuf.c.
20819
20820 2011-06-22 Richard Stallman <rms@gnu.org>
20821
20822 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20823 to Rmail even if not started by a special Rmail command.
20824
20825 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20826 Copy the buffer currently showing just one message.
20827
20828 2011-06-22 Roland Winkler <winkler@gnu.org>
20829
20830 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20831 (bibtex-clean-entry): First delete the old key so that a
20832 customized algorithm for generating the new key does not get
20833 confused by the old key.
20834 (bibtex-url): Obey regexp of first step.
20835 (bibtex-search-entries): Do not use add-to-list with local
20836 list-var.
20837
20838 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20839
20840 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20841 stored a user name, then query for the password first, instead of
20842 waiting for SMTP to give an error message and the trying again.
20843
20844 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20845
20846 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20847 BUFFER in call-process.
20848
20849 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20850
20851 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20852 QUIT twice.
20853 (smtpmail-try-auth-methods): Require user name and password from
20854 auth-source.
20855
20856 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20857
20858 * window.el (display-buffer-default-specifiers)
20859 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20860 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20861 (split-window): Normalize SIDE argument (Bug#8916).
20862
20863 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20864 (special-display-frame-alist, special-display-popup-frame):
20865 Remove duplicate declarations. These are now in window.el.
20866
20867 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20868
20869 * mail/smtpmail.el (smtpmail-via-smtp):
20870 Set :use-starttls-if-possible so that we always use STARTTLS if the
20871 server supports it. SMTP servers that support STARTTLS commonly
20872 require it.
20873
20874 * net/network-stream.el (network-stream-open-starttls): Support
20875 upgrading to STARTTLS always, even if we don't have built-in support.
20876 (open-network-stream): Add the :always-query-capabilities keyword.
20877
20878 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20879 upgrades with `open-network-stream', and rely solely on
20880 auth-source for all credentials. Big changes throughout the file,
20881 but in particular:
20882 (smtpmail-auth-credentials): Remove.
20883 (smtpmail-starttls-credentials): Remove.
20884 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20885 MAIL FROM, too.
20886
20887 * net/network-stream.el (network-stream-open-starttls):
20888 Provide support for client certificates both for external and built-in
20889 STARTTLS.
20890 (auth-source): Require.
20891 (open-network-stream): Document the :client-certificate keyword.
20892 (network-stream-certificate): Change cert-cert to cert and
20893 cert-key to key.
20894
20895 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20896
20897 * net/tramp-cache.el (top): Don't load the persistency file when
20898 "emacs -Q" has been called.
20899
20900 2011-06-21 Tim Harper <timcharper@gmail.com>
20901
20902 * term/ns-win.el (ns-initialize-window-system):
20903 Set application-specific `ApplePressAndHoldEnabled' system
20904 resource to NO as it is not yet supported by the NS port.
20905
20906 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20907
20908 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20909 (list-dynamic-libraries): ...not here.
20910
20911 2011-06-21 Leo Liu <sdl.web@gmail.com>
20912
20913 * subr.el (sha1): Implement sha1 using secure-hash.
20914
20915 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20916
20917 * window.el (display-buffer-alist): In default value do not
20918 enforce searching a window on any but the selected frame.
20919 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20920 (display-buffer-select-window): Remove function.
20921 (display-buffer-in-window): When a window on another frame gets
20922 reused, do not select it any more but just raise its frame if
20923 necessary (Bug#8851) and (Bug#8856).
20924 (display-buffer-normalize-options): Handle pop-up-frames related
20925 options more faithfully.
20926 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20927 window if it is on another frame.
20928 (display-buffer-alist, display-buffer-default-specifiers):
20929 Don't make new frame unsplittable by default.
20930 (display-buffer-normalize-argument): Fix doc-string typo and use
20931 'same-frame-other-window instead of 'other-window when associating
20932 with display-buffer-macro-specifiers.
20933
20934 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20935
20936 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20937 New functions.
20938 (5x5-mode-map, 5x5-mode-menu): Bind them.
20939 (5x5-draw-grid): Tweak the solver's rendering.
20940
20941 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20942
20943 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20944 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20945
20946 2011-06-21 Drew Adams <drew.adams@oracle.com>
20947
20948 * menu-bar.el: Use function variable instead of switch-to-buffer.
20949 (menu-bar-select-buffer-function): New variable.
20950 (menu-bar-update-buffers): Use it (bug#8876).
20951
20952 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20953
20954 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20955 variable's status.
20956
20957 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20958
20959 * x-dnd.el (x-dnd-version-from-flags)
20960 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20961 and long as number (Bug#8899).
20962 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20963
20964 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20965
20966 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20967 (completion-try-completion, completion-all-completions): Compute the
20968 metadata argument if it's missing; make it optional (bug#8795).
20969
20970 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20971 (widget-complete): Use new :completion-function property.
20972 (widget-completions-at-point): New function.
20973 (default): Use :completion-function instead of :complete.
20974 (widget-default-completions): Rename from widget-default-complete;
20975 Rewrite.
20976 (widget-string-complete, widget-file-complete, widget-color-complete):
20977 Remove functions.
20978 (file, symbol, function, variable, coding-system, color):
20979 * international/mule-cmds.el (default-input-method, charset)
20980 (language-info-custom-alist):
20981 * cus-edit.el (face): Use new property :completions.
20982
20983 * progmodes/pascal.el (pascal-completions-at-point): New function.
20984 (pascal-mode): Use it.
20985 (pascal-mode-map): Use completion-at-point.
20986 (pascal-toggle-completions): Make obsolete.
20987 (pascal-complete-word, pascal-show-completions):
20988 * progmodes/octave-mod.el (octave-complete-symbol):
20989 Redefine as obsolete alias.
20990 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20991 Signal absence of completion info for old Octave,
20992 (inferior-octave-complete): Redefine as obsolete alias.
20993 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20994 (meta-completions-at-point): Rename from meta-complete-symbol and
20995 adapt it for use on completion-at-point-functions.
20996 (meta-common-mode): Use it.
20997 (meta-looking-at-backward, meta-match-buffer): Remove.
20998 (meta-complete-symbol): Redefine as obsolete alias.
20999 (meta-common-mode-map): Use completion-at-point.
21000 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21001 (makefile-mode-map): Use completion-at-point.
21002 (makefile-completions-at-point): Rename from makefile-complete and
21003 adapt it for use on completion-at-point-functions.
21004 (makefile-mode): Use it.
21005 (makefile-complete): Redefine as obsolete alias.
21006
21007 2011-06-20 Deniz Dogan <deniz@dogan.se>
21008
21009 * net/rcirc.el: Delete trailing whitespaces once and for all.
21010
21011 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21012
21013 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21014
21015 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21016
21017 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21018
21019 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21020
21021 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21022
21023 * window.el (display-buffer-other-window-means-other-frame):
21024 Call display-buffer-normalize-alist.
21025 (display-buffer-normalize-specifiers-1): Rename to
21026 display-buffer-normalize-argument. New argument other-frame.
21027 Rewrite.
21028 (display-buffer-normalize-specifiers-2): Rename to
21029 display-buffer-normalize-options.
21030 (display-buffer-normalize-alist-1): New function.
21031 (display-buffer-normalize-specifiers-3): Rename to
21032 display-buffer-normalize-alist.
21033 Call display-buffer-normalize-alist-1.
21034 (display-buffer-normalize-options-inhibit): New variable.
21035 (display-buffer-normalize-specifiers): Rewrite calling
21036 display-buffer-normalize-alist,
21037 display-buffer-normalize-argument, and
21038 display-buffer-normalize-options. Don't call the latter if
21039 display-buffer-normalize-options-inhibit is non-nil.
21040 (frame-auto-delete): New option.
21041 (window-deletable-p): Use frame-auto-delete.
21042 (window-list-no-nils, window-state-ignored-parameters)
21043 (window-state-get-1, window-state-get, window-state-put-list)
21044 (window-state-put-1, window-state-put-2, window-state-put):
21045 New functions.
21046 (display-buffer-normalize-options): Move special-display-p group
21047 after pop-up-frame group (Bug#8851) and (Bug#8856).
21048
21049 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21050
21051 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21052 groups (Bug#8776).
21053 (rx-submatch-n): New function.
21054 (rx): Document it.
21055
21056 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21057 (Bug#8768).
21058
21059 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21060
21061 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21062
21063 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21064 anytime existing face settings are present (Bug#8889).
21065
21066 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21067 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21068 Remove unused argument.
21069
21070 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21071
21072 * window.el (display-buffer-default-specifiers):
21073 Remove pop-up-frame. Add pop-up-window-min-height,
21074 pop-up-window-min-width, and another reuse-window specifier
21075 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21076 (display-buffer-normalize-specifiers-2):
21077 Handle split-height-threshold and split-width-threshold also when
21078 pop-up-windows is unset. Add a reuse-window specifier for the
21079 case popping up a new window fails.
21080 (special-display-popup-frame): Remove double quoting.
21081 (display-buffer-normalize-specifiers-1): Fix thinko.
21082
21083 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21084
21085 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21086 according to comint-completion-addsuffix.
21087
21088 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21089 (pcomplete-suffix-list): Mark as obsolete.
21090 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21091 pcomplete-seen in the closure.
21092 (pcomplete-comint-setup): Setup completion-at-point as well.
21093 (pcomplete--entries): New function.
21094 (pcomplete--env-regexp): New var.
21095 (pcomplete-entries): Rewrite to work with partial-completion and
21096 without relying on pcomplete-suffix-list.
21097 (pcomplete-pare-list): Remove, unused.
21098
21099 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21100
21101 * window.el (display-buffer-alist): Set pop-up-window-min-height
21102 and pop-up-window-min-width in default value. Reported by
21103 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21104 other-window-means-other-frame.
21105 (display-buffer-macro-specifiers): Comment out entry for
21106 other-window specifier.
21107 (display-buffer-other-window-means-other-frame): New function.
21108 (display-buffer-normalize-specifiers-1): New arguments
21109 buffer-name and label. Treat other-window case specially.
21110 (display-buffer-normalize-specifiers-2): Treat other-window case
21111 specially.
21112 (display-buffer-normalize-specifiers-3): New function.
21113 (display-buffer-normalize-specifiers):
21114 Call display-buffer-normalize-specifiers-3.
21115
21116 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21117
21118 * window.el (same-window-p): Fix two typos introduced when
21119 adding with-no-warnings.
21120 (display-buffer-normalize-specifiers-1): Don't check
21121 pop-up-frames for 'unset initialization.
21122 (display-buffer-normalize-specifiers-2): Major rewrite using
21123 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21124 (pop-up-frames, display-buffer-reuse-frames)
21125 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21126 Suggested by David Engster <deng@randomsample.de>.
21127 (even-window-heights): Initialize to 'unset.
21128 (display-buffer-alist-set): Handle new 'unset initializations.
21129 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21130 other window case.
21131
21132 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21133
21134 * window.el (display-buffer-normalize-specifiers-1):
21135 Respect current value of pop-up-frames for most reasonable values of
21136 second argument of display-buffer (Bug#8865).
21137 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21138 (switch-to-buffer-other-window-same-frame)
21139 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21140 Adams (Bug#8875).
21141 (display-buffer): Don't check noninteractive when calling
21142 display-buffer-pop-up-frame.
21143 (display-buffer-pop-up-frame): Never pop up a frame in
21144 noninteractive mode (Bug#8857).
21145 (enlarge-window, shrink-window): Don't report an error when the
21146 window can't be resized as requested (Bug#8862).
21147
21148 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21149
21150 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21151
21152 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21153
21154 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21155
21156 2011-06-15 Alan Mackenzie <acm@muc.de>
21157
21158 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21159 for declarators, disable knr checking to speed up for normal files.
21160 2: Refactor, replacing a sequence of nested if forms by a cond form.
21161
21162 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21163
21164 * net/network-stream.el (open-network-stream): Add the keyword
21165 :always-query-capabilities for the case where you want to force a
21166 `plain' network connection, but the protocol still requires the
21167 capabilitiy command (i.e., SMTP and EHLO).
21168
21169 * subr.el (process-live-p): Rename from `process-alive-p' for
21170 consistency with other `-live-p' functions.
21171
21172 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21173
21174 * window.el (same-window-buffer-names, same-window-regexps)
21175 (special-display-frame-alist, special-display-popup-frame)
21176 (special-display-function, special-display-buffer-names)
21177 (special-display-regexps, pop-up-frame-alist)
21178 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21179 (pop-up-windows, split-window-preferred-function)
21180 (split-height-threshold, split-width-threshold, even-window-heights)
21181 (display-buffer-mark-dedicated): Don't encourage the use of
21182 display-buffer-alist from Elisp code.
21183
21184 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21185
21186 * progmodes/python.el (python-mode): Derive from prog-mode.
21187 * progmodes/ps-mode.el (ps-mode):
21188 * progmodes/mixal-mode.el (mixal-mode):
21189 * progmodes/cfengine.el (cfengine-mode):
21190 * progmodes/ld-script.el (ld-script-mode): Likewise.
21191
21192 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21193
21194 * window.el (display-buffer-alist): Trim default value to avoid
21195 popping up a new frame (Bug#8857) or reusing an arbitrary window
21196 on another frame.
21197 (display-buffer): Do not fall back on popping up a new frame in
21198 batch mode (Bug#8857).
21199
21200 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21201
21202 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21203 (custom-theme-summary): New function.
21204 (customize-themes): Use it.
21205
21206 2011-06-13 Glenn Morris <rgm@gnu.org>
21207
21208 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21209
21210 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21211
21212 * help.el (help-window): Remove variable.
21213 (help-window-point-marker, temp-buffer-max-height)
21214 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21215 (help-print-return-message): Don't set help-window.
21216 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21217 (help-window-setup-finish): Remove.
21218 (help-window-display-message, help-window-setup)
21219 (with-help-window): Major rewrite based on new
21220 display-buffer-window variable.
21221
21222 * help-mode.el (help-mode-finish): Remove help-window related
21223 code.
21224
21225 * view.el (view-exits-all-viewing-windows): Remove reference to
21226 view-return-to-alist in doc-string.
21227 (view-return-to-alist): Make obsolete.
21228 (view-buffer): Call pop-to-buffer-same-window and remove
21229 undo-window code.
21230 (view-buffer-other-window): Call pop-to-buffer-other-window and
21231 simplify code. Ignore second argument.
21232 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21233 simplify code. Ignore second argument.
21234 (view-return-to-alist-update): Make obsolete.
21235 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21236 Rewrite using quit-restore window parameters.
21237 (view-mode-exit): Rename second argument to EXIT-ONLY.
21238 Rewrite using quit-restore-window.
21239 (View-exit, View-exit-and-edit, View-leave, View-quit)
21240 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21241 appropriate arguments.
21242 (view-end-message): Use quit-restore window parameter.
21243
21244 * window.el (display-buffer-function): Rewrite doc-string.
21245 (display-buffer-window, display-buffer-alist): New variables.
21246 (display-buffer-split-specifiers)
21247 (display-buffer-side-specifiers)
21248 (display-buffer-macro-specifiers): New constants.
21249 (display-buffer-even-window-sizes, display-buffer-set-height)
21250 (display-buffer-set-width, display-buffer-select-window)
21251 (display-buffer-in-window, display-buffer-reuse-window)
21252 (display-buffer-split-window-1, display-buffer-split-window)
21253 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21254 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21255 (display-buffer-in-side-window, normalize-buffer-to-display)
21256 (display-buffer-normalize-specifiers-1)
21257 (display-buffer-normalize-specifiers-2)
21258 (display-buffer-normalize-specifiers, display-buffer-frame):
21259 New functions.
21260 (display-buffer): Major rewrite.
21261 (display-buffer-other-window, display-buffer-other-frame)
21262 (pop-to-buffer, switch-to-buffer-other-window)
21263 (switch-to-buffer-other-frame): Rewrite.
21264 (display-buffer-same-window, display-buffer-same-frame)
21265 (display-buffer-same-frame-other-window)
21266 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21267 (pop-to-buffer-other-window)
21268 (pop-to-buffer-same-frame-other-window)
21269 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21270 (switch-to-buffer-other-window-same-frame): New functions.
21271 (same-window-p, special-display-p): Rewrite disabling warnings.
21272 Make obsolete.
21273 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21274 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21275 Make obsolete
21276 (same-window-buffer-names, same-window-regexps)
21277 (special-display-frame-alist, special-display-popup-frame)
21278 (special-display-function, special-display-buffer-names)
21279 (special-display-regexps, pop-up-frame-alist)
21280 (pop-up-frame-function, split-window-preferred-function)
21281 (split-height-threshold, split-width-threshold)
21282 (even-window-heights): Make obsolete.
21283
21284 2011-06-12 Glenn Morris <rgm@gnu.org>
21285
21286 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21287 Misc simplifications.
21288
21289 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21290
21291 * window.el (window-safely-shrinkable-p): Restore function which
21292 was inadvertently removed in change from 2011-06-11. Declare as
21293 obsolete.
21294
21295 * calendar/calendar.el (calendar-generate-window):
21296 Use window-iso-combined-p instead of combination of one-window-p and
21297 window-safely-shrinkable-p.
21298
21299 2011-06-12 Glenn Morris <rgm@gnu.org>
21300
21301 * progmodes/fortran.el (fortran-mode-syntax-table):
21302 * progmodes/f90.el (f90-mode-syntax-table):
21303 Set % to punctuation. (Bug#8820)
21304 (f90-find-tag-default): Remove, no longer needed.
21305
21306 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21307
21308 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21309
21310 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21311
21312 * image.el (image-animated-p): Return animation delay in seconds.
21313 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21314 (image-animate-timeout): Remove DELAY argument. Don't assume
21315 every subimage has the same delay; get it from image-animated-p.
21316 (image-animate): Caller changed.
21317
21318 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21319
21320 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21321 to ignored backtrace functions.
21322
21323 2011-06-11 Glenn Morris <rgm@gnu.org>
21324
21325 * calendar/appt.el (appt-disp-window-function): Doc fix.
21326 (appt-check): Handle overlapping appointments. (Bug#8337)
21327
21328 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21329
21330 * window.el (window-tree-1, window-tree): New functions, moving
21331 the latter to window.el.
21332 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21333 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21334 (bw-refresh-edges): Remove.
21335 (balance-windows-1, balance-windows-2): New functions.
21336 (balance-windows): Rewrite in terms of window tree functions,
21337 balance-windows-1 and balance-windows-2.
21338 (bw-adjust-window): Remove.
21339 (balance-windows-area-adjust): New function with functionality of
21340 bw-adjust-window but using resize-window.
21341 (set-window-text-height): Rewrite doc-string.
21342 Use normalize-live-window and resize-window.
21343 (enlarge-window-horizontally, shrink-window-horizontally):
21344 Rename argument to DELTA.
21345 (window-buffer-height): New function.
21346 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21347 Rewrite using new window resize routines.
21348 (kill-buffer-and-window, mouse-autoselect-window-select):
21349 Use ignore-errors instead of condition-case.
21350 (quit-window): Call delete-frame instead of delete-windows-on
21351 for the only buffer on frame.
21352
21353 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21354
21355 * loadup.el (top-level): Load window before files for the sake
21356 of replace-buffer-in-windows.
21357
21358 * files.el (read-buffer-to-switch)
21359 (switch-to-buffer-other-window)
21360 (switch-to-buffer-other-frame, display-buffer-other-frame):
21361 Move to window.el.
21362
21363 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21364 (previous-buffer): Move to window.el.
21365
21366 * bindings.el (unbury-buffer): Move to window.el.
21367
21368 * window.el (delete-other-windows-vertically): Move after
21369 definition of delete-other-windows.
21370 (other-window, delete-windows-on, replace-buffer-in-windows):
21371 Move here from window.c.
21372 (record-window-buffer, unrecord-window-buffer)
21373 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21374 (switch-to-next-buffer): New functions.
21375 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21376 from simple.el. Call switch-to-next-buffer.
21377 (previous-buffer): Move here from simple.el.
21378 Call switch-to-prev-buffer.
21379 (bury-buffer): Move here from buffer.c. Switch to previous
21380 buffer when window cannot be deleted.
21381 (unbury-buffer): Move here from bindings.el.
21382 (ctl-x-map): Move binding for other-window from window.c to
21383 here.
21384 (read-buffer-to-switch, switch-to-buffer-other-window)
21385 (switch-to-buffer-other-frame): Move here from files.el.
21386 (normalize-buffer-to-switch-to): New functions.
21387 (switch-to-buffer): Move here from buffer.c.
21388 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21389
21390 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21391
21392 * window.el (window-min-height, window-min-width): Move here
21393 from window.c. Add defcustoms and rewrite doc-strings.
21394 (resize-mini-window, resize-window): New functions.
21395 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21396 Move here from window.c.
21397 (maximize-window, minimize-window): New functions.
21398 (delete-window, delete-other-windows, split-window): Move here
21399 from window.c.
21400 (window-split-min-size): New function.
21401 (split-window-keep-point): Mention split-window-above-each-other
21402 instead of split-window-vertically.
21403 (split-window-above-each-other, split-window-vertically):
21404 Rename split-window-vertically to split-window-above-each-other
21405 and provide defalias for old definition.
21406 (split-window-side-by-side, split-window-horizontally):
21407 Rename split-window-horizontally to split-window-side-by-side
21408 and provide defalias for the old definition.
21409 (ctl-x-map): Move bindings for delete-window,
21410 delete-other-windows and enlarge-window here from window.c.
21411 Replace bindings for split-window-vertically and
21412 split-window-horizontally by bindings for
21413 split-window-above-each-other and split-window-side-by-side.
21414
21415 * cus-start.el (all): Remove entries for window-min-height and
21416 window-min-width. Add entries for window-splits and
21417 window-nest.
21418
21419 2011-06-09 Glenn Morris <rgm@gnu.org>
21420
21421 * calendar/appt.el (appt-mode-line): New function.
21422 (appt-check, appt-disp-window): Use it.
21423
21424 * files.el (hack-one-local-variable-eval-safep):
21425 Allow minor-modes with explicit +/-1 arguments.
21426
21427 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21428
21429 * term/xterm.el (xterm): Add defgroup.
21430 (xterm-extra-capabilities): Add defcustom to supply known xterm
21431 capabilities, skip querying them, or query them (default).
21432 (terminal-init-xterm): Use it.
21433 (terminal-init-xterm-modify-other-keys): New function to set up
21434 modifyOtherKeys support to simplify `terminal-init-xterm'.
21435
21436 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21437
21438 * window.el (resize-window-reset, resize-window-reset-1)
21439 (resize-subwindows-skip-p, resize-subwindows-normal)
21440 (resize-subwindows, resize-other-windows, resize-this-window)
21441 (resize-root-window, resize-root-window-vertically)
21442 (window-deletable-p, window-or-subwindow-p)
21443 (frame-root-window-p): New functions.
21444
21445 2011-06-09 Glenn Morris <rgm@gnu.org>
21446
21447 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21448 (ange-ftp-get-files): Use it.
21449
21450 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21451
21452 * mail/sendmail.el (mail-recover-1, mail-recover):
21453 * files.el (recover-file, recover-session):
21454 Handle dired-listing-switches not being just a single short option.
21455
21456 2011-06-09 Glenn Morris <rgm@gnu.org>
21457
21458 * calendar/appt.el (appt-display-message, appt-disp-window):
21459 Handle lists of appointments.
21460
21461 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21462
21463 * window.el (one-window-p): Move down in code.
21464 Rewrite doc-string.
21465 (window-current-scroll-bars): Rewrite doc-string.
21466 Normalize live window argument.
21467 (walk-windows, get-window-with-predicate, count-windows):
21468 Rewrite doc-string. Use window-list-1.
21469 (window-in-direction-2, window-in-direction, get-mru-window):
21470 New functions.
21471
21472 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21473
21474 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21475 Doc fix (Bug#8713).
21476
21477 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21478
21479 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21480
21481 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21482
21483 * loadhist.el (unload-feature-special-hooks):
21484 Add `comint-output-filter-functions'.
21485
21486 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21487
21488 * calendar/appt.el (appt-check): Move some initializations into the let.
21489
21490 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21491
21492 * window.el (window-height): Defalias to window-total-height.
21493 (window-width): Defalias to window-body-width.
21494
21495 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21496
21497 * image-mode.el (image-toggle-animation): New command.
21498 (image-mode-map): Bind it to RET.
21499 (image-mode): Update message.
21500 (image-toggle-display-image): Avoid a spurious cache flush.
21501 (image-transform-rotation): Doc fix.
21502 (image-transform-properties): Return quickly in the normal case.
21503 (image-animate-loop): Rename from image-animate-max-time.
21504
21505 * image.el (image-animate-max-time): Move to image-mode.el.
21506 (create-animated-image): Remove unnecessary function.
21507 (image-animate): Rename from image-animate-start. New arg.
21508 (image-animate-stop): Remove; just use image-animate-timer.
21509 (image-animate-timer): Use car-safe.
21510 (image-animate-timeout): Rename argument.
21511
21512 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21513
21514 * window.el (get-lru-window, get-largest-window): Move here from
21515 window.c. Rename first argument to ALL-FRAMES.
21516 Rephrase doc-strings.
21517 (get-buffer-window-list): Rewrite using window-list-1.
21518 Rephrase doc-string.
21519 (window-safe-min-height, window-safe-min-width): New constants.
21520 (window-size-ignore, window-min-size, window-min-size-1)
21521 (window-sizable, window-sizable-p, window-size-fixed-1)
21522 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21523 (window-max-delta-1, window-max-delta, window-resizable)
21524 (window-resizable-p, window-total-height, window-total-width)
21525 (window-body-width): New functions.
21526 (window-full-height-p, window-full-width-p): Rewrite using
21527 window-total-size.
21528 (window-body-height): Rewrite using window-body-size.
21529
21530 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21531
21532 * window.el (window-right, window-left, window-child)
21533 (window-child-count, window-last-child, window-any-p)
21534 (normalize-live-buffer, normalize-live-frame)
21535 (normalize-any-window, normalize-live-window)
21536 (window-iso-combination-p, window-iso-combined-p)
21537 (window-iso-combinations)
21538 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21539 (windows-with-parameter, window-with-parameter)
21540 (window-atom-root, make-window-atom, window-atom-check-1)
21541 (window-atom-check, window-side-check, window-check):
21542 New functions.
21543 (ignore-window-parameters, window-sides, window-sides-vertical)
21544 (window-sides-slots): New variables.
21545 (window-size-fixed): Move down in code. Minor doc-string fix.
21546
21547 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21548
21549 * comint.el (comint-dynamic-complete-as-filename)
21550 (comint-dynamic-complete-filename): Correctly call
21551 completion-in-region.
21552
21553 2011-06-05 Deniz Dogan <deniz@dogan.se>
21554
21555 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21556 in last change.
21557
21558 2011-06-05 Deniz Dogan <deniz@dogan.se>
21559
21560 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21561 (rcirc): Use it to prompt for encryption.
21562
21563 2011-06-05 Roland Winkler <winkler@gnu.org>
21564
21565 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21566 (bibtex-search-entries): New command bound to C-c C-a.
21567 (bibtex-display-entries): New function.
21568
21569 2011-06-05 Roland Winkler <winkler@gnu.org>
21570
21571 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21572 (bibtex-insert-kill): After yanking insert newline if necessary.
21573 (bibtex-initialize): Call bibtex-string-files-init only once.
21574 (bibtex-mode): Do not call easy-menu-add.
21575 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21576 (bibtex-yank): Set arg properly if nil.
21577
21578 2011-06-05 Roland Winkler <winkler@gnu.org>
21579
21580 * textmodes/bibtex.el (bibtex-search-entry-globally):
21581 New variable.
21582 (bibtex-search-entry): Use it.
21583
21584 2011-06-05 Roland Winkler <winkler@gnu.org>
21585
21586 * textmodes/bibtex.el (bibtex-entry-format): New option
21587 sort-fields.
21588 (bibtex-format-entry, bibtex-reformat): Honor this option.
21589 (bibtex-parse-entry): Return fields in proper order.
21590
21591 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21592
21593 * doc-view.el (doc-view-remove-if): Move computation of result out
21594 of `dolist' to silence misleading lexical-binding warning.
21595
21596 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21597
21598 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21599 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21600
21601 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21602
21603 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21604 "SunOS 5.10".
21605
21606 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21607
21608 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21609 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21610 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21611 (tramp-parse-putty):
21612 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21613 (tramp-completion-function-alist-ssh)
21614 (tramp-completion-function-alist-telnet)
21615 (tramp-completion-function-alist-su)
21616 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21617 cookie.
21618
21619 * net/tramp-ftp.el:
21620 * net/tramp-sh.el:
21621 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21622 load "tramp.el" `tramp-set-completion-function'.
21623
21624 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21625
21626 * shell.el: Require and use pcomplete.
21627 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21628 (shell-completion-vars): Set pcomplete-default-completion-function.
21629
21630 2011-06-04 Deniz Dogan <deniz@dogan.se>
21631
21632 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21633 `memq' (Bug#8799).
21634
21635 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21636
21637 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21638
21639 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21640
21641 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21642 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21643 * vc/log-view.el (log-view-beginning-of-defun):
21644 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21645 (smerge-refine-forward, smerge-refine-chopup-region):
21646 Silence warning for unused `dotimes' counter variables.
21647
21648 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21649
21650 * net/tramp.el (tramp-with-progress-reporter): Rename from
21651 with-progress-reporter. Use `declare'.
21652 * net/tramp-smb.el:
21653 * net/tramp-sh.el:
21654 * net/tramp-gvfs.el: Update all uses.
21655
21656 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21657
21658 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21659 buffer isn't killed before making it current.
21660
21661 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21662
21663 Silence various byte-compiler warnings.
21664 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21665 `access-type' and new obsolescence format.
21666 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21667 new format.
21668 (byte-compile-check-variable): New `access-type' argument.
21669 Only warn if the access-type is obsolete.
21670 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21671 (byte-compile-variable-set): Adjust callers.
21672 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21673 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21674 setting it as obsolete.
21675 * simple.el (minibuffer-completing-symbol):
21676 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21677 access as obsolete.
21678 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21679 obsolete yet.
21680 * international/quail.el (quail-mouse-choose-completion): Remove unused
21681 code referring to obsolete var.
21682 (quail-choose-completion-string): Remove.
21683 * server.el (server-clients-with, server-kill-buffer-query-function)
21684 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21685 * proced.el (proced-send-signal):
21686 * emacs-lisp/lisp.el (lisp-complete-symbol):
21687 Replace completion-annotate-function with completion-extra-properties.
21688
21689 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21690
21691 * simple.el (goto-line): Use read-number.
21692 (overriding-map-is-bound): Remove.
21693 (saved-overriding-map): Change default.
21694 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21695 Take the map as argument.
21696 (universal-argument, negative-argument, digit-argument): Use it.
21697 (restore-overriding-map): Adjust.
21698 (do-auto-fill): Use fill-forward-paragraph.
21699 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21700
21701 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21702 (minibuffer-inactive-mode): New major mode.
21703 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21704 the *Messages* buffer" hack.
21705 (mouse-popup-menubar): Don't burp if the event is a normal key.
21706
21707 Miscellaneous tweaks.
21708 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21709 lexical scoping as in subr.el's dolist and dotimes.
21710 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21711 Silence compiler warning.
21712 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21713 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21714 * international/ccl.el (ccl-compile): Trivial simplification.
21715 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21716 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21717 `printflag' argument.
21718 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21719 Purecopy the whole obsolescence data.
21720
21721 2011-06-01 Leo Liu <sdl.web@gmail.com>
21722
21723 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21724 improve doc-string as suggested by Marco Pessotto
21725 <melmothx@gmail.com>.
21726 (rcirc-print): Fix last change.
21727
21728 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21729
21730 * minibuffer.el (complete-with-action): Return nil for the metadata and
21731 boundaries of non-functional tables.
21732 (completion-table-dynamic): Return nil for the metadata.
21733 (completion-table-with-terminator): Add default case, using
21734 complete-with-action.
21735 (completion--metadata): New function.
21736 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21737 to try and avoid pathological performance problems.
21738 (completion--embedded-envvar-table): Return `category' metadata.
21739
21740 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21741
21742 * subr.el (process-alive-p): New tiny convenience function.
21743
21744 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21745
21746 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21747 content but also its previous major mode.
21748
21749 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21750
21751 * emacs-lisp/debug.el (debug): Restore the previous content of the
21752 *Backtrace* buffer when we exit with C-M-c.
21753
21754 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21755
21756 * minibuffer.el: Add metadata method to completion tables.
21757 (completion-category-overrides): New defcustom.
21758 (completion-metadata, completion--field-metadata)
21759 (completion-metadata-get, completion--styles)
21760 (completion--cycle-threshold): New functions.
21761 (completion-try-completion, completion-all-completions):
21762 Add `metadata' argument to choose completion-styles.
21763 (completion--do-completion): Use metadata to choose cycling.
21764 (completion-all-sorted-completions): Use metadata for sorting.
21765 Remove :completion-cycle-penalty which is not needed any more.
21766 (completion--try-word-completion): Add `metadata' argument.
21767 (minibuffer-completion-help): Check metadata for annotation function
21768 and sorting.
21769 (completion-file-name-table): Return `category' metadata.
21770 (minibuffer-completing-file-name): Make obsolete.
21771 * simple.el (minibuffer-completing-symbol): Make obsolete.
21772 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21773 completion-try-completion.
21774
21775 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21776
21777 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21778
21779 2011-05-30 Leo Liu <sdl.web@gmail.com>
21780
21781 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21782 (rcirc-print): Decode all incoming messages (bug#8744).
21783 (rcirc-decode-coding-system): Allow value nil for automatic coding
21784 system detection.
21785
21786 2011-06-01 Glenn Morris <rgm@gnu.org>
21787
21788 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21789
21790 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21791
21792 * image.el (image-animate-max-time): Allow nil and t values.
21793 Default to nil.
21794 (create-animated-image): Doc fix.
21795 (image-animate-start): Remove second arg; just use
21796 image-animate-max-time.
21797 (image-animate-timeout): Doc fix. Args changed.
21798
21799 * image-mode.el (image-toggle-display-image): Ensure that the
21800 image spec passed to the animate timer is the same object as in
21801 the buffer's display property (Bug#6981).
21802 (image-transform-properties): Doc fix.
21803
21804 * image.el (image-animate-max-time): Default to nil.
21805
21806 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21807
21808 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21809 entire buffer list (Bug#8184).
21810
21811 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21812
21813 * image.el (imagemagick-types-inhibit)
21814 (imagemagick-register-types): Doc fix.
21815
21816 2011-05-29 Deniz Dogan <deniz@dogan.se>
21817
21818 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21819 default.
21820
21821 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21822
21823 * select.el: Don't perform clipboard-manager saving in hooks;
21824 leave the hooks empty.
21825
21826 2011-05-28 Leo Liu <sdl.web@gmail.com>
21827
21828 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21829 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21830 (occur-edit-mode): New major mode (Bug#8463).
21831 (occur-after-change-function): New function.
21832 (occur-engine): Give Occur tags a read-only property.
21833
21834 2011-05-28 Kevin Ryde <user42@zip.com.au>
21835
21836 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21837
21838 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21839
21840 * bindings.el (help-echo): Make the initial non-indicator dash
21841 empty on graphical terminals (Bug#7295).
21842
21843 * files.el (auto-mode-alist): Move config rule after the
21844 in-stripping one (Bug#8547).
21845
21846 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21847
21848 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21849 setting (Bug#8740).
21850
21851 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21852
21853 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21854 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21855 (Bug#8539).
21856
21857 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21858
21859 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21860
21861 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21862
21863 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21864 (hs-hide-block-at-point, hs-find-block-beginning)
21865 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21866 (Bug#8279).
21867
21868 2011-05-28 Glenn Morris <rgm@gnu.org>
21869
21870 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21871
21872 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21873
21874 * help-fns.el (describe-function-1): If the function is a derived
21875 major mode, print the parent mode.
21876
21877 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21878 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21879
21880 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21881
21882 * minibuffer.el (completion--capf-wrapper): Check applicability before
21883 returning non-nil for non-exclusive completion data.
21884 * progmodes/etags.el (tags-completion-at-point-function):
21885 * info-look.el (info-lookup-completions-at-point): Mark as
21886 non-exclusive.
21887 (info-complete): Adjust accordingly.
21888
21889 * info-look.el: Convert to lexical-binding and completion-at-point.
21890 (info-lookup-completions-at-point): New function.
21891 (info-complete): Use it and completion-in-region.
21892
21893 2011-05-28 Drew Adams <drew.adams@oracle.com>
21894
21895 * isearch.el: Let M-e start with point at the first mismatched char.
21896 (isearch-fail-pos): New function.
21897 (isearch-edit-string): Use it.
21898
21899 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21900
21901 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21902
21903 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21904
21905 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21906 traversal functions for avl-trees.
21907 (avl-tree--stack): New struct.
21908 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21909 (avl-tree-enter): Add optional `updatefun' arg.
21910 (avl-tree--do-enter): Add optional `updatefun' arg.
21911 Change return value.
21912 (avl-tree-delete): Add optional `test' and `nilflag' args.
21913 (avl-tree--do-delete): Add `test' and `nilflag' args.
21914 Change return value.
21915 (avl-tree-member): Add optional `nilflag'
21916 (avl-tree-member-p): New function.
21917 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21918 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21919 (avl-tree-stack-empty-p): New functions.
21920
21921 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21922 avl-tree--del-balance1 and make it work both ways.
21923 (avl-tree--del-balance2): Remove.
21924 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21925 make it work both ways.
21926 (avl-tree--enter-balance2): Remove.
21927 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21928 New macros.
21929 (avl-tree--mapc, avl-tree-map): Add direction argument.
21930
21931 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21932
21933 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21934
21935 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21936
21937 * select.el: Support clipboard managers with built-in function
21938 x-clipboard-manager-save, via delete-frame-functions and
21939 kill-emacs-hook.
21940 (xselect-convert-to-targets): Add MULTIPLE target to list.
21941 (xselect-convert-to-save-targets): New function.
21942
21943 2011-05-27 Kenichi Handa <handa@m17n.org>
21944
21945 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21946 let-binding rfc2047-encode-encoded-words to nil.
21947
21948 2011-05-27 Glenn Morris <rgm@gnu.org>
21949
21950 * mail/emacsbug.el: Don't require url-util.
21951
21952 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21953
21954 * files.el (set-auto-mode):
21955 Also respect mode: entries at the end of the file. (Bug#8586)
21956
21957 2011-05-26 Glenn Morris <rgm@gnu.org>
21958
21959 * files.el (hack-local-variables-prop-line, hack-local-variables):
21960 Downcase mode names, as seems to be traditional.
21961 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21962
21963 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21964 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21965
21966 2011-05-25 Julien Danjou <julien@danjou.info>
21967
21968 * textmodes/rst.el (rst-define-level-faces): Do not define face
21969 symbol if it is already defined.
21970
21971 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21972
21973 * play/5x5.el (5x5-new-game, 5x5-randomize):
21974 Reset 5x5-solver-output to nil when a new grid is cast.
21975 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21976 these debugging traces, as defmacro breaks the compiled code.
21977
21978 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21979
21980 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21981
21982 2011-05-24 Leo Liu <sdl.web@gmail.com>
21983
21984 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21985 (vc-bzr-sha1): Adapt.
21986
21987 * sha1.el: Remove. Function `sha1' is now builtin.
21988
21989 * bindings.el: Provide sha1 feature.
21990
21991 2011-05-24 Kenichi Handa <handa@m17n.org>
21992
21993 * mail/sendmail.el: Require `rfc2047'.
21994 (mail-insert-from-field): Do not perform RFC2047 encoding.
21995 (mail-encode-header): New function.
21996 (sendmail-send-it): Set buffer-file-coding-system of the work
21997 buffer to the return value of select-message-coding-system.
21998 Call mail-encode-header.
21999
22000 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22001
22002 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22003
22004 * mail/supercite.el (sc-default-cite-frame):
22005 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22006
22007 2011-05-24 Glenn Morris <rgm@gnu.org>
22008
22009 * progmodes/python.el (brm-menu): Declare.
22010
22011 * emulation/viper.el (viper-set-hooks): Declare.
22012
22013 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22014 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22015 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22016 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22017 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22018 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22019
22020 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22021
22022 Add an :exit-function for completion-at-point.
22023
22024 * minibuffer.el (completion--done): New fun.
22025 (completion--do-completion): Use it. New arg `expect-exact'.
22026 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22027 since completion--do-completion does it for us now.
22028 (minibuffer-force-complete): Use completion--done and
22029 completion--replace. Handle sole-completion case with more care.
22030 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22031 (completion-extra-properties): New var.
22032 (completion-annotate-function): Make obsolete.
22033 (minibuffer-completion-help): Adjust accordingly.
22034 Use completion-list-insert-choice-function.
22035 (completion-at-point, completion-help-at-point):
22036 Bind completion-extra-properties.
22037 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22038 * simple.el (completion-list-insert-choice-function): New var.
22039 (completion-setup-function): Preserve it.
22040 (choose-completion): Pay attention to it, shuffle the code a bit.
22041 (choose-completion-string): New arg `insert-function'.
22042
22043 * textmodes/bibtex.el: Convert to lexical binding.
22044 (bibtex-mode-map): Use completion-at-point.
22045 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22046 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22047 (bibtex-complete): Define as obsolete alias.
22048 (bibtex-complete-internal): Remove.
22049 (bibtex-format-entry): Remove unused sub-group in regexp.
22050 * shell.el (shell--command-completion-data)
22051 (shell-environment-variable-completion):
22052 * pcomplete.el (pcomplete-completions-at-point):
22053 * comint.el (comint--complete-file-name-data): Use :exit-function
22054 instead of completion-table-with-terminator so it also works for
22055 choose-completion.
22056
22057 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22058
22059 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22060
22061 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22062 (bug#8710).
22063
22064 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22065
22066 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22067
22068 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22069 customization variable and implement: If non-nil, auto-fill will
22070 be inhibited while on topic's header line.
22071
22072 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22073
22074 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22075 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22076 always have a solution in grid size = 5 cases.
22077 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22078 (5x5-solver-output, 5x5-log-buffer): New vars.
22079 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22080 Make these variables buffer local to achieve 5x5 multi-session-ness.
22081 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22082 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22083 (5x5-solve-suggest): New funs.
22084 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22085 randomize a grid so that we ensure that there is always a solution.
22086 (5x5-make-random-grid): Allow other movement than flipping.
22087
22088 2011-05-23 Kevin Ryde <user42@zip.com.au>
22089
22090 * emacs-lisp/advice.el (ad-read-advised-function):
22091 Use `function-called-at-point' as the default, if it has
22092 advice and passes PREDICATE.
22093
22094 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22095
22096 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22097 byte-compile-lambda if it's actually a lambda.
22098
22099 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22100 Fix function quoting. Use backquote better.
22101
22102 2011-05-22 Yuanle Song <sylecn@gmail.com>
22103
22104 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22105 matching (Bug#8516).
22106
22107 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22108
22109 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22110 different face (Bug#8178).
22111
22112 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22113
22114 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22115 defface (Bug#8144).
22116
22117 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22118
22119 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22120 funcall as well (bug#8712). Warn when performing those conversions.
22121 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22122
22123 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22124
22125 2011-05-22 Glenn Morris <rgm@gnu.org>
22126
22127 * files.el (hack-local-variables-prop-line): Small simplifications.
22128 (hack-local-variables, hack-local-variables-prop-line):
22129 If MODE-ONLY, return the mode, rather than just `t'.
22130
22131 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22132
22133 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22134
22135 2011-05-21 Glenn Morris <rgm@gnu.org>
22136
22137 * files.el (hack-local-variables-prop-line, hack-local-variables):
22138 If only interested in the mode, don't bother doing the other stuff.
22139
22140 * image-mode.el (image-after-revert-hook):
22141 Redraw all frames on which the image is visible. (Bug#8567)
22142
22143 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22144
22145 * wid-edit.el (widget-checklist-match-inline):
22146 Fix 2011-04-19 change. (Bug#8649)
22147
22148 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22149
22150 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22151 Also allow singlespace after single-letter capitals followed by a dot.
22152
22153 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22154 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22155
22156 2011-05-20 Nix <nix@esperi.org.uk>
22157
22158 * files.el (basic-save-buffer-2):
22159 Fix handling of break-hardlink-on-save with non-existent files.
22160
22161 2011-05-19 Deniz Dogan <deniz@dogan.se>
22162
22163 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22164 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22165
22166 2011-05-19 Glenn Morris <rgm@gnu.org>
22167
22168 * progmodes/f90.el (f90-type-def-re):
22169 Handle "type, bind(c)". (Bug#8691)
22170
22171 * emacs-lisp/autoload.el (batch-update-autoloads):
22172 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22173
22174 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22175
22176 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22177 property for the correct connection in case of multihops.
22178
22179 2011-05-18 Glenn Morris <rgm@gnu.org>
22180
22181 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22182 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22183
22184 Rationalize calendar handling of day and month abbrev-arrays.
22185 * calendar/calendar.el (calendar-customized-p): New function.
22186 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22187 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22188 Add :set function.
22189 (calendar-abbrev-length, calendar-day-abbrev-array)
22190 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22191 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22192 Elements may no longer be nil.
22193 (calendar-day-name, calendar-month-name):
22194 Update for changed nature of abbrev arrays.
22195 * calendar/diary-lib.el (diary-name-pattern):
22196 Update for changed nature of abbrev arrays.
22197 (diary-mark-entries-1): Update calendar-make-alist calls.
22198 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22199 * calendar/cal-html.el (cal-html-day-abbrev-array):
22200 Simply inherit from calendar-day-abbrev-array.
22201
22202 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22203
22204 * progmodes/grep.el (grep-mode): Disable default
22205 compilation-directory-matcher setting (bug#8684).
22206
22207 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22208
22209 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22210 instead of "head" and "tail". There were problems with SunOS 5.9,
22211 and it performs better.
22212
22213 2011-05-17 Glenn Morris <rgm@gnu.org>
22214
22215 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22216
22217 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22218 Replace obsolete function.
22219
22220 * shell.el (pcomplete-parse-arguments-function): Declare.
22221
22222 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22223 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22224 (appt-check): Doc fixes.
22225 (appt-disp-window-function, appt-delete-window-function):
22226 Remove needless special case in custom :type.
22227 (appt-display-count): Default to 0, not nil.
22228 (appt-check): Reset appt-display-count to 0, not nil.
22229
22230 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22231
22232 * progmodes/python.el (python-font-lock-keywords):
22233 Add the Python 3.X keyword "nonlocal" (bug#8639).
22234
22235 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22236
22237 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22238
22239 2011-05-16 Kevin Ryde <user42@zip.com.au>
22240
22241 * info-look.el (makefile-automake-mode): New setups, looking in
22242 automake manual, then makefile-mode.
22243 (makefile-mode): Remove automake manual, have it just in
22244 makefile-automake-mode since there's various things different or
22245 not relevant to plain make.
22246 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22247 believe a hypothetical automake-mode would go to makefile-mode,
22248 not the other way around.
22249
22250 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22251
22252 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22253 hunk-end tags (Bug#8672).
22254
22255 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22256 vc-annotate-show-diff-revision-at-line (Bug#8671).
22257
22258 2011-05-14 Glenn Morris <rgm@gnu.org>
22259
22260 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22261 in the middle of an existing one with multiple authors. (Bug#8645)
22262 (change-log-font-lock-keywords): Also handle multiple author lines
22263 with leading tabs. (Bug#8644)
22264
22265 * calendar/appt.el (appt-check): Rename some local variables.
22266 Some simplification/reordering.
22267
22268 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22269 (feedmail-sendmail-f-doesnt-sell-me-out)
22270 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22271 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22272 (feedmail-queue-runner-message-sender): Set :version.
22273 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22274 (bbdb-dwim-net-address, vm-mail): Declare.
22275 (feedmail-binmail-gnulinuxish-template):
22276 Rename from feedmail-binmail-linuxish-template.
22277 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22278 Use insert-buffer-substring.
22279
22280 2011-05-14 Bill Carpenter <bill@carpenter.org>
22281
22282 * mail/feedmail.el (feedmail-patch-level): Increase.
22283 (feedmail-debug): New custom group.
22284 (feedmail-confirm-outgoing-timeout)
22285 (feedmail-sendmail-f-doesnt-sell-me-out)
22286 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22287 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22288 (feedmail-sender-line, feedmail-from-line)
22289 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22290 (feedmail-spray-this-address)
22291 (feedmail-spray-address-fiddle-plex-list)
22292 (feedmail-queue-use-send-time-for-date)
22293 (feedmail-queue-use-send-time-for-message-id)
22294 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22295 (feedmail-buffer-eating-function):
22296 Doc fixes.
22297 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22298 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22299 (feedmail-message-action-scroll-down): New functions.
22300 (feedmail-queue-directory, feedmail-queue-draft-directory):
22301 Use expand-file-name.
22302 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22303 Remove C-v help entry.
22304 (feedmail-queue-buffer-file-name): New variable.
22305 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22306 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22307 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22308 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22309 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22310 (feedmail-message-action-toggle-spray)
22311 (feedmail-run-the-queue-no-prompts)
22312 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22313 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22314 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22315 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22316 (feedmail-envelope-deducer, feedmail-fiddle-from)
22317 (feedmail-fiddle-sender, feedmail-default-date-generator)
22318 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22319 (feedmail-fiddle-spray-address)
22320 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22321 (feedmail-fiddle-list-of-fiddle-plexes)
22322 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22323 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22324 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22325 Change default. Doc fix.
22326 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22327 (feedmail-binmail-linuxish-template): New constant.
22328 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22329 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22330 (feedmail-send-it): Add debug call.
22331 Use feedmail-queue-buffer-file-name, and
22332 feedmail-send-it-immediately-wrapper.
22333 (feedmail-message-action-send): Add debug call.
22334 Use feedmail-send-it-immediately-wrapper.
22335 (feedmail-queue-express-to-queue): Add debug call.
22336 Run feedmail-queue-express-hook.
22337 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22338 (feedmail-message-action-help-blat):
22339 Rename from feedmail-queue-send-edit-prompt-help-first.
22340 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22341 Check line-endings. Handle errors better.
22342 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22343 Doc fix. Add debug call.
22344 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22345 Use feedmail-queue-send-edit-prompt-inner.
22346 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22347 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22348 from feedmail-queue-send-edit-prompt.
22349 (feedmail-queue-send-edit-prompt-help)
22350 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22351 (feedmail-tidy-up-slug): Add debug call.
22352 Respect feedmail-queue-slug-suspect-regexp.
22353 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22354 (feedmail-dump-message-to-queue): Add debug call.
22355 Expand queue-directory.
22356 (feedmail-dump-message-to-queue): Change message slightly.
22357 Use feedmail-say-chatter.
22358 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22359 (feedmail-send-it-immediately-wrapper): New function.
22360 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22361 Insert empty string rather than newline. Handle full-frame case.
22362 Use catch/throw. Use feedmail-say-chatter.
22363 (feedmail-fiddle-from): Try mail-host-address.
22364 (feedmail-default-message-id-generator): Doc fix.
22365 Bind system-time-locale. Handle missing end.
22366 (feedmail-fiddle-x-mailer): Add debug call.
22367 Handle feedmail-x-mailer-line being nil.
22368 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22369 Add debug call. Use buffer-substring-no-properties.
22370 (feedmail-say-debug, feedmail-say-chatter): New functions.
22371 (feedmail-find-eoh): Give an explicit error.
22372
22373 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22374
22375 * net/newst-treeview.el (newsticker-treeview-face): Change default
22376 family from helvetica to sans.
22377 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22378 etc/images/newsticker.
22379
22380 * net/newst-reader.el (newsticker-feed-face): Change default
22381 family from helvetica to sans.
22382
22383 * net/newst-plainview.el (newsticker-new-item-face)
22384 (newsticker-old-item-face, newsticker-immortal-item-face)
22385 (newsticker-obsolete-item-face, newsticker-date-face)
22386 (newsticker-statistics-face): Change default family from
22387 helvetica to sans.
22388 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22389 etc/images/newsticker.
22390
22391 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22392 (newsticker--process-auto-mark-filter-match): Tell user about
22393 auto-marking.
22394
22395 2011-05-13 Didier Verna <didier@xemacs.org>
22396
22397 Common Lisp indentation improvements on defmethod and lambda-lists.
22398 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22399 TODO entries.
22400 (lisp-lambda-list-keyword-parameter-indentation)
22401 (lisp-lambda-list-keyword-parameter-alignment)
22402 (lisp-lambda-list-keyword-alignment): New customizable user options.
22403 (lisp-indent-defun-method): Improve docstring.
22404 (extended-loop-p): Fix comment.
22405 (lisp-indent-lambda-list-keywords-regexp): New variable.
22406 (lisp-indent-lambda-list): New function.
22407 (lisp-indent-259): Use it.
22408 (lisp-indent-defmethod): Support for more than one
22409 method qualifier and properly indent methods lambda-lists.
22410 (defgeneric): Provide a missing common-lisp-indent-function property.
22411
22412 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22413
22414 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22415 bounds for the empty string (bug#8667).
22416
22417 2011-05-13 Glenn Morris <rgm@gnu.org>
22418
22419 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22420
22421 * mail/sendmail.el (sendmail-program): Try executable-find first.
22422 (sendmail-send-it): `sendmail-program' cannot be unbound.
22423
22424 * calendar/appt.el (appt-make-list): Simplify.
22425 (appt-time-msg-list): Doc fix.
22426 (appt-check): Change mode-line message at the time of the appointment.
22427
22428 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22429
22430 * progmodes/ld-script.el (ld-script-keywords)
22431 (ld-script-builtins): Update keywords list.
22432
22433 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22434
22435 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22436
22437 * shell.el (shell-completion-vars): New function.
22438 (shell-mode):
22439 * simple.el (read-shell-command): Use it.
22440 (blink-matching-open): No need for " [...]" in minibuffer-message.
22441
22442 2011-05-12 Glenn Morris <rgm@gnu.org>
22443
22444 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22445 (appt-check): Simplify.
22446
22447 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22448
22449 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22450 literal "/dev/null".
22451
22452 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22453
22454 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22455 Fix typo.
22456
22457 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22458
22459 * progmodes/which-func.el (which-function):
22460 Use add-log-current-defun instead of add-log-current-defun-function,
22461 which might not be defined (Bug#8260).
22462
22463 2011-05-12 Glenn Morris <rgm@gnu.org>
22464
22465 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22466 Let byte-compile-initial-macro-environment always take precedence.
22467
22468 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22469
22470 * net/rcirc.el: Add support for SSL/TLS connections.
22471 (rcirc-server-alist): New field `encryption'.
22472 (rcirc): Check `encryption' settings.
22473 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22474 Merge make-local-variable into `set'.
22475 (rcirc--connection-open-p): New function.
22476 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22477 the process is not a network process (e.g. running gnutls-cli).
22478 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22479 Make rcirc-(en|de)code-coding-system local here.
22480 (rcirc-mode): Merge make-local-variable into `set'.
22481 (rcirc-parent-buffer): Make permanent buffer-local.
22482 (rcirc-multiline-minor-mode): Don't do it here.
22483 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22484 there's no server buffer.
22485
22486 2011-05-11 Glenn Morris <rgm@gnu.org>
22487
22488 * newcomment.el (comment-kill): Prefix "unused" local.
22489
22490 * term/w32console.el (get-screen-color): Declare.
22491
22492 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22493 Handle symbol elements of byte-compile-initial-macro-environment.
22494
22495 2011-05-10 Leo Liu <sdl.web@gmail.com>
22496
22497 * bookmark.el (bookmark-bmenu-mode-map):
22498 Bind bookmark-bmenu-search to `/'.
22499
22500 * mail/footnote.el: Convert to utf-8 encoding.
22501 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22502 (Footnote-unicode): New function.
22503 (footnote-style-alist): Add unicode style to the list.
22504 (footnote-style): Doc fix.
22505
22506 2011-05-10 Jim Meyering <meyering@redhat.com>
22507
22508 Fix doubled-word typos.
22509 * international/quail.el (quail-insert-kbd-layout): and and -> and
22510 * kermit.el: and and -> and
22511 * net/ldap.el (ldap-search-internal): to to -> to
22512 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22513 * progmodes/js.el (js-mode): and and -> and
22514 * textmodes/artist.el (artist-move-to-xy): at at -> at
22515 (artist-draw-region-trim-line-endings): if if -> if
22516 And Safetyc -> Safety.
22517 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22518
22519 2011-05-10 Glenn Morris <rgm@gnu.org>
22520 Stefan Monnier <monnier@iro.umontreal.ca>
22521
22522 * files.el (hack-one-local-variable-eval-safep):
22523 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22524
22525 2011-05-10 Glenn Morris <rgm@gnu.org>
22526
22527 * calendar/diary-lib.el (diary-list-entries-hook)
22528 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22529 (diary-nongregorian-marking-hook, diary-list-entries)
22530 (diary-include-other-diary-files, diary-mark-entries)
22531 (diary-mark-included-diary-files): Doc fixes.
22532
22533 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22534
22535 * misc.el: Require tabulated-list.el during compilation.
22536
22537 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22538
22539 * progmodes/compile.el (compilation-start):
22540 Run compilation-filter-hook for the async case too.
22541 (compilation-filter-hook): Doc fix.
22542
22543 2011-05-09 Deniz Dogan <deniz@dogan.se>
22544
22545 * wdired.el: Remove outdated installation comment. Fix usage
22546 comment.
22547
22548 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22549
22550 * misc.el: Implement new command `list-dynamic-libraries'.
22551 (list-dynamic-libraries--loaded-only-p): New variable.
22552 (list-dynamic-libraries--refresh): New function.
22553 (list-dynamic-libraries): New command.
22554
22555 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22556
22557 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22558 Fix the ant regexp to handle end-line and end-column info from jikes.
22559 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22560 higher priority to avoid clobbering by gnu.
22561
22562 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22563
22564 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22565 if the face has existing theme settings (Bug#8454).
22566
22567 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22568
22569 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22570 Only match variables declared via `my' or `our' (Bug#8261).
22571
22572 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22573 special file names `.' and `..' (Bug#8259).
22574
22575 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22576
22577 * progmodes/grep.el (grep-mode-font-lock-keywords):
22578 Remove buffer-changing entries.
22579 (grep-filter): New function.
22580 (grep-mode): Add it to compilation-filter-hook.
22581
22582 * progmodes/compile.el (compilation-filter-hook)
22583 (compilation-filter-start): New defvars.
22584 (compilation-filter): Call compilation-filter-hook prior to
22585 updating the process mark.
22586
22587 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22588
22589 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22590
22591 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22592
22593 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22594 mailclient-send-it even if window-system is nil. (Bug#8595)
22595
22596 * term/w32console.el (terminal-init-w32console):
22597 Call get-screen-color and use its output to set the frame
22598 background-mode. (Bug#8597)
22599
22600 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22601
22602 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22603 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22604 New functions.
22605 (defgeneric, eieio--defmethod): Use them.
22606 (eieio-defgeneric): Remove.
22607 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22608
22609 2011-05-07 Glenn Morris <rgm@gnu.org>
22610
22611 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22612 Use let rather than let*.
22613 (timeclock-find-discrep): Remove unused local.
22614
22615 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22616
22617 * calendar/appt.el (appt-time-msg-list): Doc fix.
22618
22619 2011-05-06 Noah Friedman <friedman@splode.com>
22620
22621 * apropos.el (apropos-print-doc): Only use
22622 emacs-lisp-docstring-fill-column when it is bound to an integer,
22623 per that variable's documentation.
22624
22625 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22626
22627 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22628 and warnings are not silently discarded (e.g. use -d instead of -P).
22629
22630 2011-05-06 Glenn Morris <rgm@gnu.org>
22631
22632 * calendar/appt.el (appt-message-warning-time): Doc fix.
22633 (appt-warning-time-regexp): New option.
22634 (appt-make-list): Respect appt-message-warning-time.
22635
22636 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22637 New options.
22638 (diary-add-to-list): Strip comments from the displayed string.
22639 (diary-mode): Set comment-start and comment-end.
22640
22641 * vc/diff-mode.el (smerge-refine-subst): Declare.
22642 (diff-refine-hunk): Don't require smerge-mode when compiling.
22643
22644 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22645
22646 * simple.el (list-processes): Return nil as the docstring says.
22647
22648 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22649
22650 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22651 to "".
22652 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22653 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22654 determining of binary transfer. (Bug#7383)
22655
22656 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22657
22658 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22659 Fix port computation bug. (Bug#8618)
22660
22661 2011-05-05 Glenn Morris <rgm@gnu.org>
22662
22663 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22664
22665 * simple.el (shell-dynamic-complete-functions)
22666 (comint-dynamic-complete-functions): Declare.
22667
22668 * net/network-stream.el (gnutls-negotiate):
22669 * simple.el (tabulated-list-print): Fix declarations.
22670
22671 * progmodes/gud.el (syntax-symbol, syntax-point):
22672 Remove unnecessary and incorrect declarations.
22673
22674 * emacs-lisp/check-declare.el (check-declare-scan):
22675 Handle byte-compile-initial-macro-environment in bytecomp.el.
22676
22677 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22678
22679 Fix earlier half-done eieio-defmethod change (bug#8338).
22680 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22681 Streamline and change calling convention.
22682 (defmethod): Adjust accordingly and simplify.
22683 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22684 new eieio--defmethod.
22685 (slot-boundp): Minor CSE simplification.
22686
22687 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22688
22689 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22690 (glasses-make-readable): Use glasses-separate-capital-groups.
22691
22692 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22693
22694 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22695 (warning-series): Doc fix.
22696 (display-warning): Don't try to create the buffer if we just found it.
22697
22698 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22699
22700 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22701 (autoload-find-generated-file): New function.
22702 (generate-file-autoloads): Bind generated-autoload-file to
22703 buffer-file-name.
22704 (update-file-autoloads, update-directory-autoloads):
22705 Use autoload-find-generated-file. If called interactively, prompt for
22706 output file (Bug#7989).
22707 (batch-update-autoloads): Doc fix.
22708
22709 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22710
22711 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22712
22713 2011-05-04 Glenn Morris <rgm@gnu.org>
22714
22715 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22716 function, so it follows changes in calendar-date-style.
22717 (diary-fancy-date-matcher): New function.
22718 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22719 (diary-fancy-font-lock-fontify-region-function):
22720 Use diary-fancy-date-pattern as a function.
22721
22722 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22723 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22724
22725 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22726
22727 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22728 instead of positional arguments. Allow :keylist and :crlfiles
22729 arguments.
22730 (open-gnutls-stream): Call it.
22731
22732 * net/network-stream.el (network-stream-open-starttls): Adjust to
22733 call `gnutls-negotiate' with :process and :hostname arguments.
22734
22735 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22736
22737 * minibuffer.el (completion--message): New function.
22738 (completion--do-completion, minibuffer-complete)
22739 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22740 (completion--do-completion): Don't ignore completion-auto-help when in
22741 icomplete-mode.
22742
22743 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22744 internal encoding (e.g. tibetan zero is not whitespace).
22745 (global-whitespace-mode): Prefer save-current-buffer.
22746 (whitespace-trailing-regexp): Remove useless save-match-data.
22747 (whitespace-empty-at-bob-regexp): Minor simplification.
22748
22749 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22750
22751 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22752
22753 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22754
22755 * textmodes/ispell.el (ispell-add-per-file-word-list):
22756 Use `concat' to create string for insertion.
22757
22758 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22759
22760 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22761 Avoid open-line which runs post-self-insert-hook.
22762 (bibtex-fill-entry): Remove unused `end' var.
22763
22764 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22765
22766 * textmodes/ispell.el (ispell-add-per-file-word-list):
22767 Protect against `nil' value of `comment-start' (Bug#8579).
22768
22769 2011-05-03 Leo Liu <sdl.web@gmail.com>
22770
22771 * isearch.el (isearch-yank-pop): New command.
22772 (isearch-mode-map): Bind it to `M-y'.
22773 (isearch-forward): Mention it.
22774
22775 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22776
22777 * simple.el (minibuffer-complete-shell-command): Remove.
22778 (minibuffer-local-shell-command-map): Use completion-at-point.
22779 (read-shell-command): Setup completion vars here instead.
22780 (read-expression-map): Bind TAB to symbol completion.
22781
22782 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22783 error directly rather via storing it into `results'.
22784
22785 2011-05-02 Leo Liu <sdl.web@gmail.com>
22786
22787 * vc/diff.el: Fix description.
22788
22789 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22790
22791 * server.el (server-eval-at): New function.
22792
22793 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22794
22795 * net/network-stream.el (open-network-stream): Take a :nowait
22796 parameter and pass it on to `make-network-process'.
22797 (network-stream-open-plain): Ditto.
22798
22799 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22800
22801 * faces.el (face-spec-set-match-display): Don't match toolkit
22802 options on terminal frames.
22803
22804 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22805
22806 * progmodes/pascal.el: Use lexical binding.
22807 (pascal-mode-map): Remove author preferences.
22808
22809 * pcomplete.el (pcomplete-std-complete): Don't abuse
22810 completion-at-point.
22811
22812 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22813
22814 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22815 removing code that has been dead since 1991 or so.
22816
22817 * startup.el (command-line): When warning about "_emacs", use a
22818 delayed warning to allow the user to filter it out.
22819
22820 2011-04-28 Deniz Dogan <deniz@dogan.se>
22821
22822 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22823 user has not joined.
22824
22825 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22826
22827 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22828 aren't any completions at point.
22829
22830 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22831
22832 * subr.el (display-delayed-warnings): New function.
22833 (delayed-warnings-hook): New variable.
22834
22835 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22836
22837 * minibuffer.el (completion-at-point, completion-help-at-point):
22838 Don't presume that a given completion-at-point-function will always
22839 use the same calling convention.
22840
22841 * pcomplete.el (pcomplete-completions-at-point):
22842 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22843 pcomplete-seen is non-nil.
22844 (pcomplete-comint-setup): Also recognize the new comint/shell
22845 completion functions.
22846 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22847 pcomplete-seen is non-nil.
22848
22849 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22850
22851 * calendar/icalendar.el (diary-lib): Add require statement.
22852 (icalendar--create-uid): Read out a uid from a text-property on
22853 the first character in the entry. This allows for code to add its
22854 own uid to the entry.
22855 (icalendar--convert-float-to-ical): Add export of
22856 `diary-float'-entries save for those with the optional DAY
22857 argument.
22858
22859 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22860
22861 * subr.el (shell-quote-argument): Use alternate escaping strategy
22862 when we spot a variable reference in a string.
22863
22864 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22865
22866 * cus-start.el (all): Define customization for debug-on-event.
22867
22868 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22869
22870 * subr.el (shell-quote-argument): Escape correctly under Windows.
22871
22872 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22873
22874 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22875
22876 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22877
22878 * net/tramp.el (tramp-process-actions): Add POS argument.
22879 Delete region between POS and (pos).
22880
22881 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22882 Use `nil' position in `tramp-process-actions' call.
22883 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22884
22885 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22886 position in `tramp-process-actions' call.
22887
22888 * net/trampver.el: Update release number.
22889
22890 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22891
22892 * custom.el (defcustom): Obey lexical-binding.
22893
22894 Fix octave-inf completion problems reported by Alexander Klimov.
22895 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22896 Inherit from octave-mode-syntax-table.
22897 (inferior-octave-mode): Set info-lookup-mode.
22898 (inferior-octave-completion-at-point): New function.
22899 (inferior-octave-complete): Use it and completion-in-region.
22900 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22901 comint-filename-completion.
22902 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22903 symbol elements which shouldn't be word elements.
22904 (octave-font-lock-keywords, octave-beginning-of-defun)
22905 (octave-function-header-regexp): Adjust regexps accordingly.
22906 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22907
22908 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22909
22910 * net/gnutls.el (gnutls-errorp): Declare before first use.
22911
22912 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22913
22914 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22915 verify-error, and verify-hostname-error parameters. Check whether
22916 default trustfile exists before going to use it. Add missing
22917 argument to gnutls-message-maybe call. Return value.
22918 Reported by Claudio Bley <claudio.bley@gmail.com>.
22919 (open-gnutls-stream): Add usage example.
22920
22921 * net/network-stream.el (network-stream-open-starttls): Give host
22922 parameter to `gnutls-negotiate'.
22923 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22924 * subr.el (shell-quote-argument): Escape correctly under Windows.
22925
22926 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22927
22928 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22929 Use correct match group (bug#8438).
22930
22931 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22932
22933 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22934 (package-menu--generate): New arg specifying packages to show.
22935 (package-menu-refresh, package-menu-execute, list-packages):
22936 Callers changed.
22937 (package-show-package-list): New function, replacing deleted
22938 package--list-packages (renamed because it is non-internal).
22939
22940 * finder.el (finder-list-matches): Use package-show-package-list
22941 instead of deleted package--list-packages.
22942
22943 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22944 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22945 (vc-annotate-mode-map): Bind it to RET.
22946
22947 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22948
22949 * progmodes/etags.el (next-file): Don't use set-buffer to change
22950 buffers (Bug#8478).
22951
22952 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22953
22954 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22955
22956 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22957 (apropos-accumulator): Doc fix.
22958 (apropos-function, apropos-macro, apropos-command)
22959 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22960 (apropos-plist): Add face property.
22961 (apropos-symbols-internal): Fix indentation.
22962 (apropos-print): Simplify help, and recognize apropos-multi-type.
22963 (apropos-print-doc): Use button-type-get to extract the button's
22964 face property. Fill docstring (Bug#8352).
22965
22966 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22967
22968 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22969
22970 * play/mpuz.el (mpuz-silent): Doc fix.
22971 (mpuz-mode-map): Use mapc.
22972 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22973 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22974 Fix typos in docstrings.
22975
22976 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22977 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22978
22979 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22980
22981 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22982
22983 * minibuffer.el (completion--do-completion): Avoid the "Next char
22984 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22985
22986 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22987 mouse-2 into unread-command-events, it is interpreted correctly.
22988
22989 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22990 (image-toggle-display): Doc fix.
22991
22992 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22993
22994 * textmodes/page.el (what-page): Use line-number-at-pos to
22995 calculate line number (Bug#6825).
22996
22997 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22998
22999 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23000 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23001 Pass argument NO-DEFAULT to `find-tag-interactive'.
23002
23003 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23004
23005 Lexical-binding cleanup.
23006
23007 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23008 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23009 * progmodes/ada-prj.el (ada-prj-initialize-values)
23010 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23011 (ada-prj-show-value):
23012 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23013 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23014 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23015 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23016 * progmodes/bug-reference.el (bug-reference-push-button):
23017 * progmodes/fortran.el (fortran-line-length):
23018 * progmodes/glasses.el (glasses-change):
23019 * progmodes/octave-mod.el (octave-fill-paragraph):
23020 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23021 (python-pdbtrack-grub-for-buffer, python-sentinel):
23022 * progmodes/sql.el (sql-save-connection):
23023 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23024 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23025 Mark unused parameters.
23026
23027 * progmodes/compile.el (compilation--flush-directory-cache)
23028 (compilation--flush-parse, compile-internal): Mark unused parameters.
23029 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23030 (compilation-next-error-function): Remove unused variable `timestamp'.
23031
23032 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23033 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23034
23035 * progmodes/dcl-mode.el (dcl-end-of-command):
23036 Remove unused variable `start'.
23037 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23038 (dcl-option-value-basic, dcl-option-value-offset)
23039 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23040 Mark unused parameters.
23041 (dcl-save-local-variable): Remove unused variable `val'.
23042 (mode): Declare.
23043
23044 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23045 Mark unused parameters.
23046 (delphi-ignore-changes): Move before first use.
23047 (delphi-charset-token-at): Remove unused variable `start'.
23048 (delphi-else-start): Remove unused variable `if-count'.
23049 (delphi-comment-block-start, delphi-comment-block-end):
23050 Remove unused variable `kind'.
23051 (delphi-indent-line): Remove unused variable `new-point'.
23052
23053 * progmodes/ebrowse.el (ebrowse-files-list)
23054 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23055 Mark unused parameters. Don't quote `lambda'.
23056 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23057 Don't quote `lambda'.
23058 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23059 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23060 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23061 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23062 Use `ignore-errors'.
23063 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23064 (ebrowse-view/find-file-and-search-pattern)
23065 (ebrowse-view/find-member-declaration/definition):
23066 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23067 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23068 Rename parameter PREFIX-ARG to PREFIX.
23069 (ebrowse-tags-read-name): Remove unused variables `start' and
23070 `member-info'.
23071 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23072 to `tags-file'.
23073
23074 * progmodes/etags.el (local-find-tag-hook): Declare.
23075 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23076 Mark unused parameters.
23077
23078 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23079 (executable-interpret): Mark unused parameter.
23080
23081 * progmodes/flymake.el (flymake-process-sentinel)
23082 (flymake-after-change-function)
23083 (flymake-create-temp-with-folder-structure)
23084 (flymake-get-include-dirs-dot): Mark unused parameters.
23085 (flymake-safe-delete-directory): Remove unused variable `err'.
23086
23087 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23088 (speedbar-timer-fn, speedbar-line-text)
23089 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23090 (speedbar-center-buffer-smartly): Declare functions.
23091 (gdb-find-watch-expression): Remove unused variable `array'.
23092 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23093 (gdb-starting): Mark unused parameters.
23094 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23095 (gdb-table-string): Remove unused variable `res'.
23096 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23097 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23098 (gdb-display-buffer): Remove unused variable `cur-size'.
23099
23100 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23101 allow lexical-binding compilation.
23102 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23103 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23104 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23105 Mark unused parameters.
23106 (gud-gdb-marker-filter): Remove unused variable `match'.
23107 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23108 lambda expressions and funcall them, instead of using `fset'.
23109
23110 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23111 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23112
23113 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23114 variable `header-beg'; use `let'.
23115
23116 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23117 `restart', `last-sexp' and `at-do'.
23118
23119 * progmodes/js.el (js--debug): Mark unused parameter.
23120 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23121 (js--splice-into-items): Remove unused variable `item'.
23122 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23123
23124 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23125 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23126 (makefile-complete): Remove unused variable `try'.
23127 (makefile-fill-paragraph, makefile-match-function-end):
23128 Mark unused parameters.
23129
23130 * progmodes/octave-inf.el (inferior-octave-complete):
23131 Remove unused variable `proc'.
23132 (inferior-octave-output-digest): Mark unused parameter.
23133
23134 * progmodes/perl-mode.el (perl-calculate-indent):
23135 Remove unused variable `err'.
23136
23137 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23138 (prolog-indent-line): Mark unused parameters.
23139 (prolog-indent-line): Remove unused variable `beg'.
23140
23141 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23142 (reporter-dont-compact-list): Declare.
23143
23144 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23145 Remove unused variable `char'.
23146 (sh-debug): Mark unused parameter.
23147 (sh-get-indent-info): Remove unused variable `start'.
23148 (sh-calculate-indent): Remove unused variable `var'.
23149
23150 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23151 (simula-electric-keyword): Remove unused variable `null'.
23152 (simula-search-backward, simula-search-forward): Remove unused
23153 variables `begin' and `end'.
23154
23155 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23156 Remove unused variable `pos'.
23157 (vera-electric-tab, vera-comment-uncomment-region):
23158 Mark unused parameters.
23159 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23160
23161 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23162
23163 * emacs-lisp/package.el (package--builtins, package-alist)
23164 (package-load-descriptor, package-built-in-p, package-activate)
23165 (define-package, package-installed-p)
23166 (package-compute-transaction, package-buffer-info)
23167 (package--push): Doc fix. Distinguish more clearly between
23168 version strings and version lists.
23169
23170 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23171
23172 Lexical-binding cleanup.
23173
23174 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23175 (5x5-make-mutate-best):
23176 * play/fortune.el (fortune-in-buffer):
23177 * play/gomoku.el (gomoku-init-display):
23178 * play/solitaire.el (solitaire, solitaire-do-check):
23179 * play/tetris.el (tetris-default-update-speed-function):
23180 Mark unused parameters.
23181
23182 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23183 (bubbles--shift): Remove unused variable `char-org'.
23184 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23185 (bubbles--show-images): Remove unused variable `char'.
23186
23187 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23188 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23189 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23190 (decipher-analyze-buffer): Use ?\s.
23191 (decipher-make-checkpoint): Remove unused variable `mapping'.
23192
23193 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23194
23195 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23196 Remove unused variable `result'; use `let'.
23197
23198 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23199 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23200 (gametree-children-shown-p, gametree-compute-reduced-score):
23201 Use `ignore-errors'.
23202
23203 * play/handwrite.el (ps-lpr-switches): Declare.
23204 (handwrite): Remove unused variables `pmin' and `lastp'.
23205
23206 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23207
23208 * play/landmark.el (landmark-init-display)
23209 (landmark-update-naught-weights): Mark unused parameters.
23210 (landmark-y): Remove unused variable `noise'. Simplify.
23211 (landmark-human-plays): Remove unused variable `score'.
23212
23213 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23214 (mpuz-try-proposal): Remove unused variable `game'.
23215
23216 * play/zone.el (life-patterns): Declare.
23217
23218 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23219
23220 * vc/vc.el (ediff-vc-internal): Declare function.
23221
23222 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23223
23224 * shell.el: Use lexical-binding and std completion UI.
23225 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23226 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23227 comint-preoutput-filter-functions rather than on
23228 comint-output-filter-functions.
23229 (shell-command-completion, shell--command-completion-data)
23230 (shell-filename-completion, shell-environment-variable-completion)
23231 (shell-c-a-p-replace-by-expanded-directory): New functions.
23232 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23233 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23234 (shell-dynamic-complete-environment-variable): Use them.
23235 (shell-dynamic-complete-as-environment-variable)
23236 (shell-dynamic-complete-as-command): Remove.
23237 (shell-match-partial-variable): Match past point.
23238 * comint.el: Clean up use of completion-at-point-functions.
23239 (comint-completion-at-point): New function.
23240 (comint-mode): Use it completion-at-point-functions.
23241 (comint-dynamic-complete): Make it obsolete.
23242 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23243 (comint-c-a-p-replace-by-expanded-history): New function.
23244 (comint-dynamic-complete-functions)
23245 (comint-replace-by-expanded-history): Use it.
23246 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23247 termination strings. Try harder to avoid second try-completion.
23248 (completion-in-region-mode-map): Disable bindings that don't work yet.
23249
23250 * comint.el: Use lexical-binding. Require CL.
23251 (comint-dynamic-complete-functions): Use comint-filename-completion.
23252 (comint-completion-addsuffix): Tweak custom type.
23253 (comint-filename-completion, comint--common-suffix)
23254 (comint--common-quoted-suffix, comint--table-subvert)
23255 (comint--complete-file-name-data): New functions.
23256 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23257 (comint-dynamic-list-filename-completions): Use them.
23258 (comint-dynamic-simple-complete): Make obsolete.
23259
23260 * minibuffer.el (completion-in-region-mode):
23261 Keep completion-in-region-mode--predicate global.
23262 (completion-in-region--postch):
23263 Assume completion-in-region-mode--predicate is not null.
23264
23265 * progmodes/flymake.el (flymake-start-syntax-check-process):
23266 Obey `dir'. Simplify.
23267
23268 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23269 we're in VC after all.
23270
23271 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23272
23273 * vc/vc.el (vc-diff-build-argument-list-internal)
23274 (vc-version-ediff, vc-ediff): New commands.
23275 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23276
23277 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23278
23279 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23280 add sanity check.
23281
23282 * obsolete/erc-hecomplete.el: Make obsolete.
23283 * obsolete/: Standardize obsolescence info in the header.
23284
23285 2011-04-20 Glenn Morris <rgm@gnu.org>
23286
23287 * calendar/solar.el (solar-horizontal-coordinates):
23288 Use the longitude argument rather than `calendar-longitude'.
23289 (solar-date-next-longitude): Remove unused locals.
23290
23291 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23292
23293 * whitespace.el: New version 13.2.1.
23294
23295 2011-04-20 felix <EmacsWiki> (tiny change)
23296
23297 * whitespace.el (global-whitespace-mode): Keep highlight when
23298 switching between major modes on a file.
23299
23300 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23301
23302 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23303 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23304 multi-line comments as well.
23305
23306 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23307
23308 Lexical-binding cleanup.
23309
23310 * arc-mode.el (archive-mode-revert):
23311 * cmuscheme.el (scheme-interactively-start-process):
23312 * custom.el (custom-initialize-delay):
23313 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23314 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23315 * emacs-lock.el (emacs-lock-clear-sentinel):
23316 * ezimage.el (defezimage):
23317 * follow.el (follow-avoid-tail-recenter):
23318 * fringe.el (set-fringe-mode-1):
23319 * generic-x.el (bat-generic-mode-compile):
23320 * help-mode.el (help-info-variable, help-do-xref)
23321 (help-mode-revert-buffer):
23322 * help.el (view-emacs-todo):
23323 * iswitchb.el (iswitchb-completion-help):
23324 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23325 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23326 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23327 * locate.el (locate-update):
23328 * longlines.el (longlines-encode-region)
23329 (longlines-after-change-function):
23330 * outline.el (outline-isearch-open-invisible):
23331 * ps-def.el (declare-function, charset-dimension, char-width)
23332 (encode-char):
23333 * ps-mule.el (ps-mule-plot-string):
23334 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23335 (recentf-edit-list-select, recentf-edit-list-validate)
23336 (recentf-open-files-action):
23337 * rect.el (delete-whitespace-rectangle-line)
23338 (rectangle-number-line-callback):
23339 * register.el (window-configuration-to-register)
23340 (frame-configuration-to-register):
23341 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23342 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23343 (xselect-convert-to-targets, xselect-convert-to-delete)
23344 (xselect-convert-to-filename, xselect-convert-to-charpos)
23345 (xselect-convert-to-lineno, xselect-convert-to-colno)
23346 (xselect-convert-to-os, xselect-convert-to-host)
23347 (xselect-convert-to-user, xselect-convert-to-class)
23348 (xselect-convert-to-name, xselect-convert-to-integer)
23349 (xselect-convert-to-atom, xselect-convert-to-identity):
23350 * subr.el (declare, ignore, process-kill-without-query)
23351 (text-clone-maintain):
23352 * terminal.el (te-get-char, te-tic-sentinel):
23353 * tool-bar.el (tool-bar-make-keymap):
23354 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23355 * type-break.el (type-break-mode, type-break-noninteractive-query):
23356 * view.el (View-back-to-mark):
23357 * wid-browse.el (widget-browse-action, widget-browse-widget)
23358 (widget-browse-widgets, widget-browse-sexp):
23359 * widget.el (define-widget-keywords):
23360 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23361 Mark unused parameters.
23362
23363 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23364 (align-areas): Remove unused variable `look'.
23365 (align-region): Remove unused variables `real-end' and `pos-list'.
23366
23367 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23368
23369 * bindings.el (mode-line-modified, mode-line-remote):
23370 Mark unused parameters.
23371 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23372
23373 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23374 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23375
23376 * comint.el (comint-history-isearch-pop-state)
23377 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23378 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23379 (comint-substitute-in-file-name): Doc fix.
23380
23381 * completion.el (cmpl-statistics-block): Mark unused parameter.
23382 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23383 (save-completions-to-file, load-completions-from-file):
23384 Remove unused local variable `e'.
23385
23386 * composite.el (compose-chars): Remove unused variable `len'.
23387 (lgstring-insert-glyph): Remove unused variable `g'.
23388 (compose-glyph-string): Remove unused variables `ascent',
23389 `descent', `lbearing' and `rbearing'.
23390 (compose-glyph-string-relative): Remove unused variables
23391 `lbearing', `rbearing' and `wadjust'.
23392 (compose-gstring-for-graphic): Remove unused variables `header',
23393 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23394 (compose-gstring-for-terminal): Remove unused variables `header'
23395 and `nchars'. Use `let', not `let*'.
23396
23397 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23398 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23399 (Custom-buffer-done, custom-buffer-create-internal)
23400 (custom-browse-visibility-action, custom-browse-group-tag-action)
23401 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23402 (widget-magic-mouse-down-action, custom-toggle-parent)
23403 (custom-add-parent-links, custom-toggle-hide-variable)
23404 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23405 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23406 (custom-face-menu-create, custom-variable-menu-create, get)
23407 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23408 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23409 (customize-apropos): Remove unused variable `tests'.
23410 (custom-group-value-create): Remove unused variable `hidden-p'.
23411 (sort-fold-case): Declare.
23412
23413 * cus-theme.el (custom-reset-standard-faces-list)
23414 (custom-reset-standard-variables-list): Declare.
23415 (customize-create-theme, custom-theme-revert, custom-theme-write)
23416 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23417 Mark unused parameters.
23418
23419 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23420
23421 * delim-col.el (delimit-columns-max): Move defvar before first use.
23422
23423 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23424 (describe-char): Don't quote `lambda'. Mark unused parameter.
23425
23426 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23427 (auto-insert): Declare.
23428 (desktop-restore-file-buffer): Rename desktop-* parameters;
23429 mark unused ones.
23430 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23431 (desktop-buffer): Rename desktop-* parameters.
23432
23433 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23434 (dframe-reposition-frame-xemacs, dframe-help-echo)
23435 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23436 Mark unused parameters.
23437
23438 * dired-aux.el (backup-extract-version-start, overwrite-query)
23439 (overwrite-backup-query, rename-regexp-query)
23440 (rename-non-directory-query): Declare.
23441 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23442 (dired-add-entry): Remove unused variable `orig-file-name'.
23443 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23444 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23445 `dired-copy-preserve-time' directly.
23446 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23447 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23448
23449 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23450 (dired-virtual-revert, dired-make-relative-symlink):
23451 Mark unused parameters.
23452 (manual-program): Declare.
23453 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23454 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23455 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23456
23457 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23458
23459 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23460
23461 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23462 Declare.
23463
23464 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23465
23466 * electric.el (Electric-command-loop): Rename parameter
23467 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23468
23469 * expand.el (expand-in-literal): Remove unused variable `here'.
23470
23471 * facemenu.el (facemenu-add-new-color):
23472 Remove unused variable `docstring'.
23473
23474 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23475 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23476 (face-attr-construct): Mark unused parameter. Doc fix.
23477 (read-color): Remove unused variable `hex-string'.
23478
23479 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23480 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23481 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23482 (display-buffer-other-frame): Remove unused variable `old-window'.
23483 (kill-buffer-hook): Declare.
23484 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23485 Mark unused parameters.
23486 (after-find-file): Pass 1 to `auto-save-mode', not t.
23487
23488 * files-x.el (auto-insert): Declare.
23489 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23490
23491 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23492 variable `buf'. Mark unused parameter.
23493 (find-lisp-insert-directory): Mark unused parameter.
23494
23495 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23496 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23497 (format-common-tail): Remove, unused.
23498 (format-deannotate-region): Remove unused variable `loc'.
23499 (format-annotate-region): Remove unused variable `p'.
23500 (format-annotate-single-property-change): Remove unused variables
23501 `default' and `tail'.
23502
23503 * forms.el (read-file-filter): Declare.
23504 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23505
23506 * frame.el (frame-creation-function-alist): Mark unused parameter.
23507 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23508
23509 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23510 Remove unused parameters.
23511 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23512 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23513
23514 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23515 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23516 (hfy-prepare-tag-map): Mark unused parameters.
23517 (htmlfontify-buffer): Use `called-interactively-p'.
23518
23519 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23520 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23521 (ibuffer-do-occur): Mark unused parameters.
23522 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23523 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23524
23525 * ibuffer.el: Don't quote `lambda'.
23526 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23527 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23528 Mark unused parameters.
23529
23530 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23531 (ido-completing-read): Mark unused parameters.
23532 (ido-copy-current-word): Mark unused parameters;
23533 remove unused variable `name'.
23534 (ido-sort-merged-list): Remove unused parameter `dirs'.
23535
23536 * ielm.el (ielm-input-sender): Mark unused parameter.
23537 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23538 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23539 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23540 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23541 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23542
23543 * image-dired.el (image-dired-display-thumbs): Remove unused
23544 variables `curr-file' and `count'.
23545 (image-dired-remove-tag): Remove unused variable `start'.
23546 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23547 variable `curr-file'
23548 (image-dired-rotate-original): Remove unused variable `temp-file'.
23549 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23550 Remove unused variable `file'.
23551 (image-dired-gallery-generate): Remove unused variable `curr'.
23552 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23553
23554 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23555
23556 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23557
23558 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23559
23560 * isearch.el (minibuffer-history-symbol): Declare.
23561 (isearch-edit-string): Remove unused variable `err'.
23562 (isearch-message-prefix, isearch-message-suffix):
23563 Mark unused parameters.
23564
23565 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23566
23567 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23568
23569 * makesum.el (double-column): Remove unused variable `cnt'.
23570
23571 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23572 (ido-ignore-item-temp-list): Declare.
23573
23574 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23575 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23576 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23577 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23578 `mouse-col-delta'.
23579
23580 * mouse-sel.el (mouse-extend-internal):
23581 Remove unused variable `orig-window-frame'.
23582
23583 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23584 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23585 Move declarations before first use.
23586 (pcomplete-opt): Mark unused parameters; doc fix.
23587
23588 * proced.el (proced-revert): Mark unused parameter.
23589 (proced-send-signal): Remove unused variable `err'.
23590
23591 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23592 Rename parameter PREFIX-ARG to ARG.
23593 (ps-basic-plot-string, ps-basic-plot-whitespace):
23594 Mark unused parameters.
23595
23596 * replace.el (replace-count): Define.
23597 (occur-revert-function): Mark unused parameters.
23598 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23599 (isearch-case-fold-search, isearch-string): Declare.
23600 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23601 bind `case-fold-search'. Remove unused variables `beg' and `end',
23602 and simplify.
23603 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23604 COUNT and bind `replace-count'.
23605 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23606 to COUNT.
23607
23608 * savehist.el (print-readably, print-string-length): Declare.
23609
23610 * shadowfile.el (shadow-expand-cluster-in-file-name):
23611 Remove unused variable `cluster'.
23612 (shadow-copy-file): Remove unused variable `i'.
23613 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23614 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23615 (shadow-define-literal-group, shadow-define-regexp-group)
23616 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23617
23618 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23619 (shell): Use `called-interactively-p'.
23620 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23621
23622 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23623 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23624 (delete-backward-char): Remove unused variable `ocol'.
23625 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23626 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23627 (event-apply-hyper-modifier, event-apply-shift-modifier)
23628 (event-apply-control-modifier, event-apply-meta-modifier):
23629 Mark unused parameters.
23630 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23631 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23632
23633 * speedbar.el (speedbar-ignored-directory-expressions)
23634 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23635 (speedbar-find-file, speedbar-dir-follow)
23636 (speedbar-directory-buttons-follow, speedbar-tag-find)
23637 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23638 (speedbar-buffers-line-directory, speedbar-buffer-click):
23639 Mark unused parameters.
23640 (speedbar-tag-file): Remove unused variable `mode'.
23641 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23642
23643 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23644
23645 * talk.el (talk): Remove unused variable `display'.
23646
23647 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23648 (tar-write-region-annotate): Mark unused parameter.
23649
23650 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23651 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23652 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23653 warning by another.
23654
23655 * time-stamp.el (time-stamp-string-preprocess):
23656 Remove unused variable `require-padding'.
23657
23658 * tree-widget.el (widget-glyph-enable): Declare.
23659 (tree-widget-action): Mark unused parameter.
23660
23661 * w32-fns.el (x-get-selection): Mark unused parameter.
23662 (autoload-make-program, generated-autoload-file): Declare.
23663
23664 * wdired.el (wdired-revert): Mark unused parameters.
23665 (wdired-xcase-word): Remove unused variable `err'.
23666
23667 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23668 (whitespace-help-scroll): Remove unused variable `data-help'.
23669
23670 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23671 (widget-image-insert, widget-after-change, default)
23672 (widget-default-format-handler, widget-default-notify)
23673 (widget-default-prompt-value, widget-info-link-action)
23674 (widget-url-link-action, widget-function-link-action)
23675 (widget-variable-link-action, widget-file-link-action)
23676 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23677 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23678 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23679 (widget-insert-button-action, widget-delete-button-action, visibility)
23680 (widget-documentation-link-action, widget-documentation-string-action)
23681 (widget-const-prompt-value, widget-regexp-match, symbol)
23682 (widget-coding-system-prompt-value)
23683 (widget-key-sequence-value-to-external, sexp)
23684 (widget-sexp-value-to-internal, character, vector, cons)
23685 (widget-choice-prompt-value, widget-boolean-prompt-value)
23686 (widget-color--choose-action): Mark unused parameters.
23687 (widget-item-match-inline, widget-choice-match-inline)
23688 (widget-checklist-match, widget-checklist-match-inline)
23689 (widget-group-match): Rename parameter VALUES to VALS.
23690 (widget-field-value-set): Remove unused variable `size'.
23691 (widget-color-action): Remove unused variables `value' and `start'.
23692
23693 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23694 variable `dir'. Doc fix.
23695 (windmove-find-other-window): Don't pass it.
23696
23697 * window.el (count-windows): Mark unused parameter.
23698 (bw-adjust-window): Remove unused variable `err'.
23699
23700 * woman.el (woman-file-name): Remove unused variable `default'.
23701 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23702 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23703 (global-font-lock-mode): Declare.
23704 (woman-decode-region): Mark unused parameter.
23705 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23706
23707 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23708 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23709 (x-dnd-handle-moz-url): Remove unused variable `title'.
23710 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23711
23712 * xml.el (xml-parse-tag, xml-parse-attlist):
23713 Remove unused variable `pos'.
23714
23715 2011-04-19 Glenn Morris <rgm@gnu.org>
23716
23717 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23718 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23719 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23720 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23721 * calendar/cal-html.el (cal-html-insert-minical):
23722 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23723 (calendar-mark-date-pattern):
23724 Prefix "unused" locals.
23725
23726 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23727 optional argument `style'.
23728
23729 * calendar/appt.el (appt-make-list):
23730 * calendar/cal-china.el (calendar-chinese-date-string):
23731 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23732 (diary-hebrew-yahrzeit):
23733 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23734 * calendar/calendar.el (calendar-generate-window):
23735 * calendar/time-date.el (time-to-days):
23736 Remove unused local variables.
23737
23738 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23739
23740 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23741 glyphless-char-display table.
23742 (tabulated-list-glyphless-char-display): New var.
23743
23744 2011-04-18 Sam Steingold <sds@gnu.org>
23745
23746 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23747 to acknowledgments.
23748
23749 2011-04-17 Glenn Morris <rgm@gnu.org>
23750
23751 * calendar/diary-lib.el (diary-sexp-entry):
23752 * calendar/holidays.el (holiday-sexp):
23753 Set debug-on-error rather than the removed stack-trace-on-error.
23754
23755 2011-04-16 Glenn Morris <rgm@gnu.org>
23756
23757 * progmodes/f90.el: Use lexical-binding.
23758 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23759
23760 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23761
23762 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23763 (mail-mode): Setup mailalias completion here instead.
23764 * mail/mailalias.el: Use lexical-binding.
23765 (pattern, mailalias-done): Declare dynamic.
23766 (mail-completion-at-point-function): New function, from mail-complete.
23767 (mail-complete): Use it.
23768 (mail-completion-expand): New function.
23769 (mail-get-names): Use it.
23770 (mail-directory, mail-directory-process, mail-directory-stream):
23771 Don't use `pattern' for lexically bound arg.
23772
23773 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23774
23775 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23776 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23777 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23778
23779 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23780 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23781 (byte-interactive-p): Define them again, for use when inlining
23782 old code.
23783
23784 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23785
23786 * loadup.el: Use `string-to-number', not `string-to-int'.
23787
23788 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23789
23790 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23791 gud-gdb-complete-command.
23792 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23793 (gud-gdb-completion-at-point): New function.
23794 (gud-gdb-completions): Remove.
23795
23796 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23797
23798 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23799 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23800 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23801 whether `executable-find' is bound.
23802
23803 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23804
23805 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23806
23807 * minibuffer.el (completion-in-region-mode-predicate)
23808 (completion-in-region-mode--predicate): New vars.
23809 (completion-in-region, completion-in-region--postch)
23810 (completion-in-region-mode): Use them.
23811 (completion--capf-wrapper): Also return the hook function.
23812 (completion-at-point, completion-help-at-point):
23813 Adjust and provide a predicate.
23814
23815 Preserve arg names for advice of subr and lexical functions (bug#8457).
23816 * help-fns.el (help-function-arglist): Consolidate the subr and
23817 new-byte-code cases. Add argument `preserve-names' to extract names
23818 from the docstring when needed.
23819 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23820 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23821 (ad-arglist): Use help-function-arglist's new arg.
23822 (ad-definition-type): Use cond.
23823
23824 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23825
23826 * autorevert.el (auto-revert-handler):
23827 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23828 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23829 Don't quote lambda.
23830
23831 * image-mode.el (image-transform-set-scale):
23832 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23833
23834 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23835
23836 * net/network-stream.el (network-stream-open-starttls): Only do
23837 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23838 Upgrades via gnutls-cli are too slow to be done opportunistically.
23839
23840 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23841
23842 * dframe.el (dframe-current-frame): Remove spurious quote.
23843
23844 2011-04-12 Glenn Morris <rgm@gnu.org>
23845
23846 * calendar/cal-tex.el (cal-tex-end-document):
23847 Try to automatically use latin1 input if needed.
23848
23849 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23850 Don't try to cons a mark onto an empty element.
23851
23852 2011-04-11 Leo Liu <sdl.web@gmail.com>
23853
23854 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23855 buffers.
23856 (ido-kill-buffer-at-head): Support killing virtual buffers.
23857
23858 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23859
23860 * minibuffer.el (completion-show-inline-help): New var.
23861 (completion--do-completion, minibuffer-complete)
23862 (minibuffer-force-complete, minibuffer-complete-word):
23863 Inhibit minibuffer messages if completion-show-inline-help is nil.
23864
23865 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23866 to avoid interference from inline help (Bug#5849).
23867
23868 2011-04-10 Leo Liu <sdl.web@gmail.com>
23869
23870 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23871 Fix typo.
23872
23873 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23874
23875 * image-mode.el (image-toggle-display-image): Signal an error if
23876 not in Image mode.
23877 (image-transform-mode, image-transform-resize)
23878 (image-transform-set-rotation): Doc fix.
23879 (image-transform-set-resize): Delete.
23880 (image-transform-set-scale, image-transform-fit-to-height)
23881 (image-transform-fit-to-width): Handle image-toggle-display-image
23882 and image-transform-resize directly.
23883
23884 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23885
23886 * doc-view.el (doc-view-fit-width-to-window)
23887 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23888 New functions for fitting the shown image to the Emacs window size.
23889 (doc-view-mode-map): Add bindings for the new functions.
23890
23891 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23892
23893 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23894 Fix typo in docstring.
23895
23896 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23897
23898 * files.el (file-size-human-readable): Produce one digit after
23899 decimal, like "ls -lh" does.
23900
23901 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23902 the file size representation.
23903
23904 * simple.el (list-processes): If async subprocesses are not
23905 available, error out with a clear error message.
23906
23907 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23908
23909 * help.el (help-form-show): New function, to be called from C.
23910 Put help-form output in a buffer named differently than *Help*.
23911
23912 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23913
23914 * files.el (file-size-human-readable): New function.
23915
23916 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23917 computing the representation inline. Don't require `cl'.
23918
23919 2011-04-08 Glenn Morris <rgm@gnu.org>
23920
23921 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23922
23923 * net/browse-url.el (browse-url-firefox):
23924 Test system-type, not system-configuration.
23925
23926 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23927 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23928 Use log-edit-empty-buffer-p. (Bug#7598)
23929
23930 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23931 (rlogin-mode-map): Initialize in the defvar.
23932 (rlogin): Use ignore-errors.
23933
23934 * replace.el (occur-mode-map): Some fixes for menu items.
23935
23936 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23937
23938 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23939
23940 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23941
23942 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23943 issuing unused warnings.
23944
23945 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23946 macro directly.
23947
23948 * simple.el: Lisp reimplement of list-processes. Based on an
23949 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23950 (process-menu-mode): New major mode.
23951 (list-processes--refresh, list-processes):
23952 (process-menu-visit-buffer): New functions.
23953
23954 * files.el (save-buffers-kill-emacs): Don't assume any return
23955 value of list-processes, which is undocumented anyway.
23956
23957 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23958
23959 * emacs-lisp/tabulated-list.el: New file.
23960
23961 * emacs-lisp/package.el: Use Tabulated List mode.
23962 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23963 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23964 table format using Tabulated List mode variables.
23965 (package--push): New macro, replacing package-list-maybe-add.
23966 (package-menu--generate): Use package--push. Renamed from
23967 package--generate-package-list.
23968 (package-menu-refresh, list-packages): Use it.
23969 (package-menu--print-info): Rename from package-print-package.
23970 Return insertion data instead of inserting it directly.
23971 (package-menu-describe-package, package-menu-execute):
23972 Use tabulated-list-get-id.
23973 (package-menu-mark-delete, package-menu-mark-install)
23974 (package-menu-mark-unmark, package-menu-backup-unmark)
23975 (package-menu-mark-obsolete-for-deletion):
23976 Use tabulated-list-put-tag.
23977 (package--list-packages, package-menu-revert)
23978 (package-menu-get-package, package-menu-get-version)
23979 (package-menu-sort-by-column): Functions deleted.
23980 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23981 (package-menu--status-predicate, package-menu--version-predicate)
23982 (package-menu--name-predicate)
23983 (package-menu--description-predicate): Handle arguments in the
23984 Tabulated List format.
23985 (package-list-packages-no-fetch): Call list-packages.
23986
23987 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23988
23989 * files.el (after-find-file-from-revert-buffer): Remove variable.
23990 (after-find-file): Don't bind it.
23991 (revert-buffer-in-progress-p): New variable.
23992 (revert-buffer): Bind it.
23993 Pass nil for `after-find-file-from-revert-buffer'.
23994
23995 * saveplace.el (save-place-find-file-hook): Use new variable
23996 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23997
23998 2011-04-06 Glenn Morris <rgm@gnu.org>
23999
24000 * Makefile.in (AUTOGEN_VCS): New variable.
24001 (autoloads): Use $AUTOGEN_VCS.
24002
24003 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24004 * calendar/calendar.el (calendar-mode-map):
24005 Check for toolkit scroll bars. (Bug#8305)
24006
24007 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24008
24009 * minibuffer.el (completion-in-region--postch)
24010 (completion-in-region-mode): Remove unnecessary messages.
24011
24012 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24013
24014 * font-lock.el (font-lock-refresh-defaults):
24015 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24016 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24017
24018 * info.el (Info-directory-list, Info-read-node-name-2)
24019 (Info-split-parameter-string): Doc fixes.
24020 (Info-virtual-nodes): Reflow docstring.
24021 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24022 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24023 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24024 Fix typos in docstrings.
24025 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24026 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24027 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24028 (Info-restore-desktop-buffer): Mark unused parameters.
24029 (Info-directory-find-file, Info-directory-find-node)
24030 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24031 (Info-virtual-index-find-node, Info-apropos-find-file)
24032 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24033 Mark unused parameters; fix typos in docstrings.
24034 (Info-virtual-index): Remove unused local variable `nodename'.
24035
24036 2011-04-05 Deniz Dogan <deniz@dogan.se>
24037
24038 * net/rcirc.el: Update my e-mail address.
24039 (rcirc-mode-map): Remove M-o binding.
24040
24041 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24042
24043 * startup.el (command-line): Save the cursor's theme-face
24044 directly, instead of using face-override-spec.
24045
24046 * custom.el (load-theme): Minor optimization in assigning faces.
24047
24048 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24049
24050 * help-fns.el (describe-variable): Complete all variables having
24051 documentation, including keywords.
24052 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24053
24054 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24055
24056 Convert to lexical-binding.
24057
24058 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24059 (bs--get-marked-string, bs--get-modified-string)
24060 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24061 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24062 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24063
24064 * ehelp.el (electric-help-execute-extended)
24065 (electric-help-ctrl-x-prefix):
24066 * hexl.el (hexl-revert-buffer-function):
24067 * linum.el (linum-after-change, linum-after-scroll):
24068 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24069
24070 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24071
24072 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24073
24074 * epa-dired.el:
24075 * epa-mail.el:
24076 * epa-hook.el:
24077 * epa-file.el:
24078 * epa.el:
24079 * epg.el: Use lexical binding.
24080
24081 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24082
24083 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24084
24085 * textmodes/flyspell.el (flyspell-word): Recognize default
24086 dictionary case for flyspell-mark-duplications-exceptions.
24087 Use regexp matching for languages.
24088 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24089 default dictionary (Bug#7926).
24090
24091 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24092
24093 * emacs-lisp/package.el (package--with-work-buffer):
24094 Recognize https URLs.
24095
24096 * net/network-stream.el: Move from gnus/proto-stream.el.
24097 Change prefix to network-stream throughout.
24098 (open-protocol-stream): Merge into open-network-stream, leaving
24099 open-protocol-stream as an alias. Handle nil BUFFER args.
24100
24101 * subr.el (open-network-stream): Move to net/network-stream.el.
24102
24103 2011-04-02 Glenn Morris <rgm@gnu.org>
24104
24105 * find-dired.el (find-exec-terminator): New option.
24106 (find-ls-option): Test for -ls support.
24107 (find-ls-subdir-switches): Test for -b in find-ls-option.
24108 (find-dired, find-grep-dired): Doc fixes.
24109 (find-dired): Use find-exec-terminator.
24110
24111 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24112 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24113 (find-name-arg): Remove purecopy.
24114
24115 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24116 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24117 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24118 accordingly. Don't add the null-device if not needed.
24119
24120 * files.el (save-some-buffers): Doc fix.
24121
24122 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24123
24124 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24125
24126 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24127
24128 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24129 Use `dolist' rather than `mapcar'.
24130
24131 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24132
24133 Add lexical binding.
24134
24135 * subr.el (apply-partially): Use new closures rather than CL.
24136 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24137 (dolist, dotimes): Use slightly different expansion for lexical code.
24138 (functionp): Move to C.
24139 (letrec): New macro.
24140 (with-wrapper-hook): Use it and apply-partially instead of CL.
24141 (eval-after-load): Preserve lexical-binding.
24142 (save-window-excursion, with-output-to-temp-buffer): Turn them
24143 into macros.
24144
24145 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24146
24147 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24148 than the arglist.
24149 (help-add-fundoc-usage): Don't add `Not documented'.
24150 (help-function-arglist): Handle closures, subroutines, and new
24151 byte-code-functions.
24152 (help-make-usage): Remove leading underscores.
24153 (describe-function-1): Handle closures.
24154 (describe-variable): Use special-variable-p for completion.
24155
24156 * files.el (lexical-binding): Declare safe.
24157
24158 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24159 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24160 (pcase): Add `let' pattern.
24161 Change memoization so it actually works.
24162 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24163 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24164 <let>: New case.
24165
24166 * emacs-lisp/macroexp.el: Use lexical binding.
24167 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24168 Don't convert ' to #' without checking that it's indeed quoting
24169 a lambda.
24170
24171 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24172 Use eval-sexp-add-defvars.
24173 (eval-sexp-add-defvars): New fun.
24174
24175 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24176
24177 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24178 Don't autoload.
24179 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24180 than the internal `byte-compile-lambda'.
24181 (defmethod): Don't hide code under quotes.
24182 (eieio-defmethod): New `code' argument.
24183
24184 * emacs-lisp/eieio-comp.el: Remove.
24185
24186 * emacs-lisp/edebug.el (edebug-eval-defun)
24187 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24188 (edebug-toggle): Avoid `eval'.
24189
24190 * emacs-lisp/disass.el (disassemble-internal): Handle new
24191 `closure' objects.
24192 (disassemble-1): Handle new byte codes.
24193
24194 * emacs-lisp/cl.el (pushnew): Silence warning.
24195
24196 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24197 (cl-byte-compile-throw): Remove.
24198 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24199
24200 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24201 closures.
24202
24203 * emacs-lisp/cconv.el: New file.
24204
24205 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24206 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24207 (byte-compile-initial-macro-environment):
24208 Handle declare-function here.
24209 (byte-compile--lexical-environment): New var.
24210 (byte-stack-ref, byte-stack-set, byte-discardN)
24211 (byte-discardN-preserve-tos): New lap codes.
24212 (byte-interactive-p): Don't use any more.
24213 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24214 New macros.
24215 (byte-compile-lapcode): Use them and handle new lap codes.
24216 (byte-compile-obsolete): Remove.
24217 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24218 (byte-compile-arglist-warn): Check late def of inlinable funs.
24219 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24220 since they should have been expanded by now.
24221 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24222 (byte-compile-from-buffer): Remove unused second arg.
24223 (byte-compile-preprocess): New function.
24224 (byte-compile-toplevel-file-form): New function to distinguish
24225 file-form calls from outside from file-form calls from hunk-handlers.
24226 (byte-compile-file-form): Simplify.
24227 (byte-compile-file-form-defsubst): Remove.
24228 (byte-compile-file-form-defmumble): Simplify now that
24229 byte-compile-lambda always returns a byte-code-function.
24230 (byte-compile): Preprocess.
24231 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24232 Remove, not used any more.
24233 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24234 (byte-compile-make-args-desc): New funs.
24235 (byte-compile-lambda): Handle lexical functions. Always return
24236 a byte-code-function.
24237 (byte-compile-reserved-constants): New var, to make up room for
24238 closed-over variables.
24239 (byte-compile-constants-vector): Obey it.
24240 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24241 (byte-compile-macroexpand-declare-function): New function.
24242 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24243 byte-code-functions.
24244 (byte-compile-form): Check obsolescence here.
24245 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24246 (byte-compile-variable-ref): Remove.
24247 (byte-compile-dynamic-variable-op): New fun.
24248 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24249 (byte-compile-variable-set): New funs.
24250 (byte-compile-discard): Add 2 args.
24251 (byte-compile-stack-ref, byte-compile-stack-set)
24252 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24253 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24254 macroexpand-all instead.
24255 (byte-compile-quote-form): Remove.
24256 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24257 (byte-compile-bind, byte-compile-unbind): New funs.
24258 (byte-compile-let): Handle let* and lexical binding.
24259 (byte-compile-let*): Remove.
24260 (byte-compile-catch, byte-compile-unwind-protect)
24261 (byte-compile-track-mouse, byte-compile-condition-case):
24262 Handle a new :fun-body form, used for lexical scoping.
24263 (byte-compile-save-window-excursion)
24264 (byte-compile-with-output-to-temp-buffer): Remove.
24265 (byte-compile-defun): Simplify.
24266 (byte-compile-stack-adjustment): New fun.
24267 (byte-compile-out): Use it.
24268 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24269
24270 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24271 handler any more.
24272
24273 * emacs-lisp/byte-opt.el: Use lexical binding.
24274 (byte-inline-lapcode): Remove (to bytecomp).
24275 (byte-compile-inline-expand): Pay attention to inlining to/from
24276 lexically bound code.
24277 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24278 any more.
24279 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24280 any more and don't call compiler-macros.
24281 (byte-compile-splice-in-already-compiled-code): Remove.
24282 (byte-code): Don't inline any more.
24283 (disassemble-offset): Receive `bytes' as argument rather than via
24284 dynamic scoping.
24285 (byte-compile-tag-number): Declare before first use.
24286 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24287 `return' even if make-spliceable.
24288 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24289 obsolete interactive-p.
24290 (byte-optimize-lapcode): Optimize new lap-codes.
24291 Don't trip up on new form of `byte-constant' lap code.
24292
24293 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24294
24295 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24296
24297 * custom.el (custom-initialize-default, custom-declare-variable):
24298 Use `defvar'.
24299
24300 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24301 New variables.
24302 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24303 (COMPILE_FIRST): Add macroexp and cconv.
24304 * makefile.w32-in: Mirror changes in Makefile.in.
24305
24306 * vc/cvs-status.el:
24307 * vc/diff-mode.el:
24308 * vc/log-edit.el:
24309 * vc/log-view.el:
24310 * vc/smerge-mode.el:
24311 * textmodes/bibtex-style.el:
24312 * textmodes/css-mode.el:
24313 * startup.el:
24314 * uniquify.el:
24315 * minibuffer.el:
24316 * newcomment.el:
24317 * reveal.el:
24318 * server.el:
24319 * mpc.el:
24320 * emacs-lisp/smie.el:
24321 * doc-view.el:
24322 * dired.el:
24323 * abbrev.el: Use lexical binding.
24324
24325 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24326
24327 * info.el (info-display-manual): New function.
24328
24329 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24330
24331 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24332
24333 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24334
24335 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24336 an entry for that server in rcirc-authinfo. (Bug#8385)
24337
24338 2011-03-31 Glenn Morris <rgm@gnu.org>
24339
24340 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24341
24342 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24343
24344 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24345
24346 * progmodes/python.el (python-default-interpreter)
24347 (python-python-command-args, python-jython-command-args)
24348 (python-which-shell, python-which-args, python-which-bufname)
24349 (python-file-queue, python-comint-output-filter-function)
24350 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24351 variables and functions.
24352
24353 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24354
24355 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24356 (completion-in-region-mode): New minor mode.
24357 (completion-in-region): Use it.
24358 (completion-in-region--data, completion-in-region-mode-map): New vars.
24359 (completion-in-region--postch): New function.
24360 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24361 New vars.
24362 (completion--capf-wrapper): New function.
24363 (completion-at-point): Use it to track well-behavedness of
24364 hook functions.
24365 (completion-help-at-point): New command.
24366
24367 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24368
24369 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24370 syntax class to search for whitespace on a single line
24371 (Message-ID: <4D938140.4030905@redhat.com>).
24372
24373 2011-03-30 Leo Liu <sdl.web@gmail.com>
24374
24375 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24376 New commands.
24377 (edit-abbrevs-map): Bind them here.
24378 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24379
24380 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24381
24382 * allout.el (allout-hide-by-annotation, allout-flag-region):
24383 Reduce possibility of overlay leakage by making them volatile.
24384
24385 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24386 hash is not shared between buffers. Mode initialization is
24387 responsible for giving it a useful starting value.
24388 (allout-item-span): Reduce possibility of overlay leakage by
24389 making them volatile.
24390 (allout-widgets-count-buttons-in-region): Add diagnostic function
24391 for tracking down button overlay leaks.
24392
24393 2011-03-29 Leo Liu <sdl.web@gmail.com>
24394
24395 * ido.el (ido-read-internal): Use the default history var
24396 minibuffer-history if no HISTORY is specified.
24397
24398 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24399
24400 * net/imap.el (imap-shell-open, imap-process-connection-type):
24401 Use imap-process-connection-type for 'shell' streams as well as
24402 Kerberos, SSL, other subprocesses.
24403
24404 2011-03-28 Leo Liu <sdl.web@gmail.com>
24405
24406 * abbrev.el (abbrev-table-empty-p): New function.
24407 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24408 nonempty ones. (Bug#5937)
24409
24410 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24411
24412 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24413
24414 2011-03-27 Leo Liu <sdl.web@gmail.com>
24415
24416 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24417 for foreground and background colors.
24418 (ansi-color-make-color-map): Adapt.
24419
24420 2011-03-25 Leo Liu <sdl.web@gmail.com>
24421
24422 * midnight.el (midnight-time-float): Remove. Note it calculates
24423 the microsecond component incorrectly and seconds-to-time does the
24424 same job.
24425 Remove redundant (require 'timer).
24426
24427 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24428 (ido-completions): Remove unused arguments. (Bug#8329)
24429
24430 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24431
24432 * minibuffer.el (completion--flush-all-sorted-completions):
24433 Remove itself from hook.
24434 (completion-at-point): Let the functions perform the completion
24435 immediately and return nil or t.
24436 * comint.el (comint-dynamic-complete-functions): Now identical to
24437 completion-at-point-functions.
24438 (comint-dynamic-list-input-ring): Remove unused var `index'.
24439 (comint--match-partial-filename, comint--unquote&expand-filename):
24440 New funs, split from comint-match-partial-filename.
24441 (comint-dynamic-complete): Use completion-at-point.
24442 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24443
24444 2011-03-24 Drew Adams <drew.adams@oracle.com>
24445
24446 * thingatpt.el: Support `defun'.
24447
24448 2011-03-23 Leo Liu <sdl.web@gmail.com>
24449
24450 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24451
24452 * help-mode.el (help-mode-finish): Tweak regexp.
24453
24454 2011-03-23 Glenn Morris <rgm@gnu.org>
24455
24456 * eshell/esh-opt.el (eshell-eval-using-options):
24457 Do not bind unused local variable `eshell-option-stub'.
24458
24459 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24460
24461 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24462
24463 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24464 keymap variable in `with-no-warnings' to avoid a warning when the
24465 keymap has been already `defconst'ed.
24466
24467 2011-03-22 Leo Liu <sdl.web@gmail.com>
24468
24469 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24470 encode all chars in abbrevs; otherwise use emacs-mule or
24471 utf-8-emacs. (Bug#8308)
24472
24473 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24474
24475 * simple.el (backward-delete-char-untabify):
24476 Avoid warning about using `delete-backward-char'.
24477
24478 * image.el (image-type-file-name-regexps): Make it variable.
24479 `imagemagick-register-types' modifies it, and the user may want
24480 to add new extensions for known image types.
24481 (imagemagick-register-types): Throw error if not using ImageMagick.
24482
24483 2011-03-22 Leo Liu <sdl.web@gmail.com>
24484
24485 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24486 located before rcirc-prompt-end-marker.
24487 (rcirc-complete): Error if point is not after rcirc prompt.
24488 Handle the case when table is nil.
24489 (rcirc-user-authenticated): Define to fix compiler warning.
24490
24491 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24492
24493 * custom.el (custom--inhibit-theme-enable): Make it affect only
24494 custom-theme-set-variables and custom-theme-set-faces.
24495 (provide-theme): Ignore custom--inhibit-theme-enable.
24496 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24497 (custom-enabling-themes): Delete variable.
24498 (enable-theme): Accept only loaded themes as arguments.
24499 Ignore the special custom-enabled-themes variable.
24500 (custom-enabled-themes): Forbid themes from setting this.
24501 Eliminate use of custom-enabling-themes.
24502 (custom-push-theme): Quote "changed" custom var entry.
24503
24504 2011-03-21 Leo Liu <sdl.web@gmail.com>
24505
24506 * ido.el (ido-read-internal): Add ido-selected to history instead
24507 of user input.
24508
24509 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24510
24511 * subr.el (deferred-action-list, deferred-action-function):
24512 Mark obsolete.
24513
24514 2011-03-21 Leo Liu <sdl.web@gmail.com>
24515
24516 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24517 change on 2011-02-13 (bug#8309).
24518
24519 * minibuffer.el (read-file-name-function): Change default value.
24520 (read-file-name--defaults): Rename from read-file-name-defaults.
24521 (read-file-name-default): Rename from read-file-name.
24522 (read-file-name): Call read-file-name-function.
24523
24524 2011-03-21 Glenn Morris <rgm@gnu.org>
24525
24526 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24527 Doc fixes.
24528
24529 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24530
24531 * cus-theme.el: Add missing provide statement.
24532 (customize-create-theme): Extract theme value correctly.
24533 (custom-theme-visit-theme): Autoload.
24534 (customize-create-theme): Prompt before inserting default faces.
24535
24536 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24537
24538 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24539 units and musical notes.
24540
24541 2011-03-20 Leo Liu <sdl.web@gmail.com>
24542
24543 * ido.el (ido-read-internal): Use completing-read-default.
24544 (ido-completing-read): Fix compatibility with completing-read.
24545
24546 2011-03-20 Christian Ohler <ohler@gnu.org>
24547
24548 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24549 (ert-delete-all-tests): Use `called-interactively-p' rather than
24550 `interactive-p'.
24551 (ert--make-xrefs-region): Respect END.
24552
24553 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24554
24555 * dired-aux.el (dired-create-directory): Signal an error if the
24556 directory already exists (Bug#8246).
24557
24558 * facemenu.el (list-colors-display): Call list-faces-display
24559 inside with-help-window.
24560 (list-colors-print): Use display property to align the final
24561 column, instead of checking window-width.
24562
24563 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24564
24565 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24566 windows-nt systems.
24567 (emerge-protect-metachars): Quote correctly for ms-dos and
24568 windows-nt systems.
24569
24570 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24571
24572 * info.el (info-initialize): Replace all uses of `:' with
24573 path-separator for compatibility with non-Unix systems.
24574 Cache quoting of path-separator. (Bug#8258)
24575
24576 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24577
24578 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24579 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24580 (mouse-avoidance-mode): Fix typos in docstrings.
24581
24582 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24583
24584 * startup.el (package-subdirectory-regexp): Move from package.el.
24585 Omit \\` and \\', and let callers add them.
24586
24587 * emacs-lisp/package.el (package-strip-version)
24588 (package-load-all-descriptors): Add \\` and \\' to
24589 package-subdirectory-regexp before using it.
24590 (package-untar-buffer): New arg DIR; ensure that file untars only
24591 into this expected directory. Remove superfluous delete-region.
24592 (package-unpack): Caller changed.
24593 (package-tar-file-info): Use package-subdirectory-regexp.
24594
24595 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24596
24597 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24598 diff-mode-shared-map (bug#8284).
24599 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24600
24601 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24602
24603 * calendar/time-date.el (format-seconds): Use assoc instead of
24604 assoc-string, since assoc-string doesn't exist in XEmacs.
24605
24606 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24607
24608 * custom.el (custom-known-themes): Reflow docstring.
24609 (custom-theme-load-path): Fix typo in docstring.
24610 (load-theme): Fix typo in error message.
24611 (custom-available-themes, custom-variable-theme-value):
24612 Use `let', not `let*'.
24613
24614 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24615
24616 * calc/README: Mention inclusion of musical notes.
24617
24618 * calc/calc-units.el (calc-lu-quant): Rename from
24619 `calc-logunits-quantity'.
24620 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24621 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24622 (calc-db): Rename from `calc-dblevel'.
24623 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24624 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24625 (calc-np): Rename from `calc-nplevel'.
24626 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24627 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24628 (calc-lu-plus): Rename from `calc-logunits-add'.
24629 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24630 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24631 (calc-lu-minus): Rename from `calc-logunits-sub'.
24632 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24633 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24634 (calc-lu-times): Rename from `calc-logunits-mul'.
24635 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24636 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24637 (calc-lu-divide): Rename from `calc-logunits-div'.
24638 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24639 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24640
24641 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24642 functions being autoloaded.
24643
24644 * calc/calc.el (calc-lu-power-reference): Rename from
24645 `calc-logunits-power-reference'.
24646 (calc-lu-field-reference): Rename from
24647 `calc-logunits-field-reference'.
24648
24649 * calc/calc-help.el (calc-l-prefix-help):
24650 Mention musical note functions.
24651
24652 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24653
24654 * minibuffer.el (completion-all-sorted-completions):
24655 Use :completion-cycle-penalty text property if present.
24656
24657 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24658
24659 * allout.el (allout-yank-processing): Adjust for new rebulleting
24660 regime so bullet being yanked is used without prompting the user
24661 for a choice.
24662
24663 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24664
24665 * startup.el (command-line): Warn the user that _emacs is deprecated.
24666
24667 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24668
24669 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24670 (delphi-verbose, delphi-comment-face, delphi-string-face)
24671 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24672 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24673 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24674 (delphi-new-comment-line, delphi-font-lock-defaults)
24675 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24676 Fix typos in docstrings.
24677
24678 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24679
24680 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24681 Invert the roles of character and string values for INSTEAD, so a
24682 string is used for the more common case of a defaulting prompt.
24683
24684 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24685
24686 * progmodes/ruby-mode.el (ruby-backward-sexp):
24687 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24688 * play/gamegrid.el (gamegrid-make-face):
24689 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24690 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24691 * notifications.el (notifications-notify):
24692 * net/xesam.el (xesam-search-engines):
24693 * net/quickurl.el (quickurl-list-insert):
24694 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24695
24696 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24697
24698 * startup.el (command-line): Update package subdirectory regexp.
24699
24700 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24701
24702 * allout.el (allout-abbreviate-flattened-numbering)
24703 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24704
24705 * subr.el (read-char-choice): Only show the cursor after the prompt,
24706 not after the answer.
24707
24708 2011-03-15 Kevin Ryde <user42@zip.com.au>
24709
24710 * help-fns.el (variable-at-point): Skip leading quotes, if any
24711 (bug#8253).
24712
24713 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24714
24715 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24716 warning message.
24717
24718 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24719
24720 * shell.el (shell): When called interactively, offer to change the
24721 shell file name on remote hosts.
24722
24723 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24724
24725 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24726 integration for LDAP parameters. The host, base, user or binddn,
24727 and secret tokens can be specified in a netrc file, for instance.
24728 This is optional because an `auth-source' parameter must be
24729 specified in the search attributes.
24730
24731 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24732
24733 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24734
24735 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24736
24737 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24738 into declaration. Remove redundant and harmful binding.
24739
24740 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24741
24742 * files.el (file-ownership-preserved-p): Pass `integer' as an
24743 explicit 2nd argument to `file-attributes'. If the file's owner
24744 is the Administrators group on Windows, and the current user is
24745 Administrator, consider that a match.
24746
24747 * server.el (server-ensure-safe-dir): Consider server directory
24748 safe on MS-Windows if its owner is the Administrators group while
24749 the current Emacs user is Administrator. Use `=' to compare
24750 numerical UIDs, since they could be integers or floats.
24751
24752 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24753
24754 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24755
24756 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24757
24758 Sync with Tramp 2.2.1.
24759
24760 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24761
24762 * net/trampver.el: Update release number.
24763
24764 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24765
24766 * progmodes/compile.el (compilation--previous-directory): Fix up
24767 various nil/dead-marker mismatches (bug#8014).
24768 (compilation-directory-properties, compilation-error-properties):
24769 Don't call it at a position past the one we're about to change.
24770
24771 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24772 Disable obsolescence warnings in the file that declares it.
24773
24774 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24775
24776 * allout-widgets.el (allout-widgets-tally):
24777 Initialize allout-widgets-tally as a hash table rather than nil to
24778 prevent mode-line redisplay warnings. Also, clarify the module
24779 description and fix a comment typo.
24780
24781 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24782
24783 * help-fns.el (describe-variable): Don't complete keywords.
24784 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24785
24786 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24787
24788 * emacs-lisp/package.el (package-version-join): Impose a standard
24789 string representation for pre/alpha/beta version lists.
24790 (package-unpack-single): Standardize the directory name by passing
24791 it through package-version-join.
24792 (package-strip-rcs-id): Accept any version string that does not
24793 signal an error in version-to-list.
24794
24795 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24796
24797 * simple.el (delete-trailing-whitespace): Return nil for the
24798 benefit of `write-file-functions'.
24799
24800 2011-03-10 Glenn Morris <rgm@gnu.org>
24801
24802 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24803
24804 * vc/vc-git.el (vc-git-program): New option.
24805 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24806 (vc-git--call): Use it.
24807
24808 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24809
24810 * cus-edit.el (Custom-newline): If no button at point, look
24811 for a subgroup button at start-of-line. (Bug#2298)
24812
24813 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24814
24815 2011-03-10 Julien Danjou <julien@danjou.info>
24816
24817 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24818 `cursor-type' is nil.
24819
24820 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24821
24822 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24823
24824 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24825
24826 * allout.el: Change so yank of distinctive-bullet items
24827 preserves the existing header prefix, rebulleting it if necessary,
24828 rather than replacing it. This is necessary for proper operation
24829 of cooperative addons like allout-widgets.
24830 (allout-make-topic-prefix, allout-rebullet-heading):
24831 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24832 value as alternate bullet to be used, instead of prompting the user
24833 for a bullet character.
24834
24835 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24836
24837 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24838 Do not use `tramp-file-name-port', because this returns also
24839 `tramp-default-port'.
24840
24841 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24842
24843 * net/rcirc.el (rcirc-handler-001): Remove useless
24844 with-rcirc-process-buffer.
24845 (rcirc-check-auth-status): Swap arguments to string-match.
24846
24847 2011-03-09 Glenn Morris <rgm@gnu.org>
24848
24849 * shell.el (shell-mode):
24850 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24851
24852 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24853 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24854
24855 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24856
24857 * emacs-lisp/package.el (package-refresh-contents)
24858 (package-menu-execute): Use condition-case-no-debug.
24859
24860 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24861
24862 * simple.el (shell-command-to-string): Use `process-file'.
24863
24864 * emacs-lisp/package.el (package-tar-file-info): Handle also
24865 remote files.
24866
24867 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24868 Use `equal' for upload base check.
24869
24870 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24871
24872 * textmodes/texinfo.el (texinfo-environments):
24873 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24874
24875 2011-03-08 Glenn Morris <rgm@gnu.org>
24876
24877 * cus-start.el (cursor-in-non-selected-windows):
24878 Fix :set quoting oddness. (Bug#8192)
24879
24880 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24881 in some setf expressions. (Bug#2159)
24882
24883 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24884
24885 * custom.el (custom-available-themes): Return themes in
24886 alphabetical order.
24887
24888 See ChangeLog.15 for earlier changes.
24889
24890 ;; Local Variables:
24891 ;; coding: utf-8
24892 ;; End:
24893
24894 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24895
24896 This file is part of GNU Emacs.
24897
24898 GNU Emacs is free software: you can redistribute it and/or modify
24899 it under the terms of the GNU General Public License as published by
24900 the Free Software Foundation, either version 3 of the License, or
24901 (at your option) any later version.
24902
24903 GNU Emacs is distributed in the hope that it will be useful,
24904 but WITHOUT ANY WARRANTY; without even the implied warranty of
24905 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24906 GNU General Public License for more details.
24907
24908 You should have received a copy of the GNU General Public License
24909 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.