]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Initial support for hunspell dictionaries auto-detection (Bug#13639)
[gnu-emacs] / lisp / ChangeLog
1 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2
3 Initial support for hunspell dictionaries auto-detection (Bug#13639)
4
5 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
6 Ask hunspell about available and default dictionaries.
7 (ispell-parse-hunspell-affix-file): Extract relevant info from
8 hunspell affix file.
9 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
10 `ispell-dictionary-alist' entry for given dictionary after info
11 provided by `ispell-parse-hunspell-affix-file'.
12 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
13 of parsed hunspell dicts and associated affix files.
14 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
15 of parsed hunspell dicts and associated parameters.
16 (ispell-set-spellchecker-params):
17 Call `ispell-find-hunspell-dictionaries' if hunspell and not
18 previously done.
19 (ispell-start-process):
20 Call `ispell-hunspell-fill-dictionary-entry' for current
21 dictionary if it is not initialized.
22
23 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
24
25 * imenu.el: Comment nitpicks.
26
27 2013-02-28 Sam Steingold <sds@gnu.org>
28
29 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
30 See <http://stackoverflow.com/questions/14720205>.
31
32 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
33
34 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
35 (net-utils-mode): Use it.
36 (net-utils--revert-cmd): New var.
37 (net-utils-run-simple): Set it, and remove bogus interactive spec.
38 (traceroute): Use net-utils-run-simple.
39
40 2013-02-28 Glenn Morris <rgm@gnu.org>
41
42 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
43
44 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
45
46 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
47 (doc-view-fallback-mode): Remove overlays here.
48 (doc-view-toggle-display): Instead of here. Don't throw away
49 image-mode-winprops-alist.
50 (doc-view-goto-page): Don't mess with hscroll.
51
52 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
53
54 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
55 &optional (bug#13819).
56
57 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
58
59 * net/tramp-adb.el (tramp-adb-parse-device-names)
60 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
61
62 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
63
64 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
65 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
66 defined. POSIX environments fall back to the "C" locale then and
67 emit a warning, which shall be suppressed.
68
69 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
70
71 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
72 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
73
74 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
77
78 2013-02-25 Juri Linkov <juri@jurta.org>
79
80 * replace.el (read-regexp): Let-bind `default' to the first
81 element of `defaults' if it's a list, otherwise it should be
82 a string or nil. Let-bind `suggestions' to `defaults' if it's
83 a list, otherwise make a list with the string value. Doc fix.
84 (Bug#13805)
85
86 2013-02-25 Eli Zaretskii <eliz@gnu.org>
87
88 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
89 that match "\`\.#", to avoid compiling lock files, even if they
90 are readable (as they are on MS-Windows).
91
92 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * files.el (basic-save-buffer): Remove redundant directory-creation.
95
96 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
97
98 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
99 Add option to force `pi' to remain symbolic.
100 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
101 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
102 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
103 derivatives, when necessary.
104
105 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
106
107 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
108 (ps-mode-octal-region): Use string-make-unibyte.
109
110 2013-02-23 Glenn Morris <rgm@gnu.org>
111
112 * emulation/viper-cmd.el (viper-submit-report):
113 * progmodes/ps-mode.el (ps-mode-maintainer-address):
114 * progmodes/vera-mode.el (vera-mode-help-address):
115 * textmodes/artist.el (artist-maintainer-address):
116 * textmodes/reftex.el (reftex-report-bug):
117 * vc/ediff-util.el (ediff-submit-report):
118 Add bug-gnu-emacs to bug report address.
119
120 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
121 Remove bug report entries.
122 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
123
124 * emacs-lisp/bytecomp.el (byte-compile-level): New.
125 (byte-compile-file, byte-compile-from-buffer):
126 Use separate input/output buffers for each level of recursive
127 byte-compile-file calls. (Bug#13787)
128
129 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
130
131 * net/tramp.el (tramp-methods): Fix docstring.
132 (tramp-ssh-controlmaster-options): Rename it from
133 `tramp-ssh-controlmaster-template'. Return a string.
134 (tramp-default-method): Adapt check for
135 `tramp-ssh-controlmaster-options'.
136
137 * net/tramp-sh.el (tramp-methods):
138 Replace `tramp-ssh-controlmaster-template' by "%c".
139 (tramp-do-copy-or-rename-file-out-of-band)
140 (tramp-maybe-open-connection): Use it in format spec. Ensure,
141 that it is applied for the first hop only.
142
143 2013-02-22 Juri Linkov <juri@jurta.org>
144
145 * isearch.el (isearch-lazy-highlight-new-loop):
146 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
147 to `isearch-other-end' if it is not nil. (Bug#13402)
148
149 * replace.el (replace-highlight): Let-bind `isearch-other-end'
150 to `match-beg'.
151
152 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
153 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
154 and `isearch-error' to nil.
155
156 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
157
158 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
159
160 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
161 Handle multibyte file names.
162
163 2013-02-22 Glenn Morris <rgm@gnu.org>
164
165 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
166 (sgml-transformation-function): Give it a :set function.
167 (sgml-tag): Doc fix.
168
169 * cmuscheme.el (scheme-buffer):
170 * progmodes/inf-lisp.el (inferior-lisp-buffer):
171 * progmodes/tcl.el (inferior-tcl-buffer):
172 * textmodes/tex-mode.el (tex-command): Doc fixes.
173
174 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
175
176 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
177
178 2013-02-21 Bastien Guerry <bzg@gnu.org>
179
180 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
181
182 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
183
184 * progmodes/python.el (python-info-current-defun):
185 Enhance match-data cluttering prevention.
186
187 2013-02-21 Glenn Morris <rgm@gnu.org>
188
189 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
190 loaded while outline-regexp is let bound. (Bug#9584)
191
192 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
193
194 * progmodes/python.el (python-info-current-defun): Fix failed
195 defun name retrieval because of unwanted match-data cluttering.
196
197 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
198
199 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
200 defconst. Apply independent check for ControlPersist.
201
202 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
203 temporarily, via "env".
204
205 2013-02-21 Glenn Morris <rgm@gnu.org>
206
207 * info.el (Info-enable-edit): Remove.
208 (Info-edit): Disable it rather than using Info-enable.
209 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
210 (Info-cease-edit): Make editing of Info files obsolete.
211
212 * informat.el (Info-tagify):
213 Handle buffers not visiting files. (Bug#13763)
214
215 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
216
217 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
218
219 2013-02-21 Glenn Morris <rgm@gnu.org>
220
221 * files.el (basic-save-buffer): Move check for existing parent
222 directory after hooks. (Bug#13773)
223
224 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
225
226 * simple.el (command-execute): Move from C. Add obsolete check.
227 (extended-command-history): Move from C.
228
229 2013-02-20 Ulrich Müller <ulm@gentoo.org>
230
231 * jka-cmpr-hook.el (jka-compr-compression-info-list)
232 (jka-compr-mode-alist-additions): Handle .txz suffix for
233 XZ-compressed tar archives (bug#13770).
234
235 2013-02-20 Bastien Guerry <bzg@gnu.org>
236
237 * outline.el (outline-regexp, outline-heading-end-regexp):
238 Make variables, not options (bug#13731).
239
240 2013-02-20 Glenn Morris <rgm@gnu.org>
241
242 * image.el (image-current-frame): Change from variable to function.
243 (image-show-frame): Rename from image-nth-frame. Update callers.
244 * image-mode.el (image-multi-frame): New variable.
245 (image-mode-map, image-mode, image-goto-frame):
246 Use image-multi-frame rather than image-current-frame.
247 (image-mode, image-goto-frame): Use image-current-frame as
248 function rather than as variable.
249
250 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
251 * emacs-lisp/cl-macs.el (cl--make-type-test)
252 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
253
254 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
255
256 * net/tramp-cache.el (tramp-get-hash-table): New defun.
257 (tramp-get-file-property, tramp-set-file-property)
258 (tramp-get-connection-property, tramp-set-connection-property): Use it.
259 (tramp-flush-file-property, tramp-flush-directory-property):
260 Rename argument to KEY.
261 (tramp-flush-connection-property): Simplify a little bit.
262 (tramp-connection-property-p): New defun.
263 (top): Reapply saved values only if there isn't a corresponding
264 entry in `tramp-connection-properties'.
265
266 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
267
268 * progmodes/python.el (python-indent-context):
269 Fix python-info-line-ends-backslash-p call.
270 (python-info-line-ends-backslash-p)
271 (python-info-beginning-of-backslash): Respect line-number argument.
272 (python-info-current-line-comment-p):
273 Fix behavior when not at beginning-of-line.
274 (python-util-position): Remove function.
275 (python-util-goto-line): New function.
276
277 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
278
279 * eshell/em-unix.el (eshell/su): Require tramp.
280 (eshell/sudo): Require tramp. Remove now unnecessary check.
281
282 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
283 `tramp-current-connection' in order to avoid an error when several
284 commands are invoked in a short time in eshell and friends.
285
286 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
287
288 Cleanup some of EIEIO's namespace.
289 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
290 Use it to define all the class-* and object-* field accessors (renamed
291 to eieio--class-* and eieio--object-*). Update all uses.
292 (eieio--class-num-slots, eieio--object-num-slots): Rename from
293 class-num-slots and object-num-slots.
294 (eieio--check-type): New macro.
295 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
296 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
297 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
298 (object-assoc-list-safe): Use it.
299 (eieio-defclass): Tighten regexp.
300 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
301 Remove unreachable code.
302 (object-class-fast): Declare obsolete.
303 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
304 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
305 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
306 Rename from class-name, object-name, object-set-name-string,
307 object-class, object-class-name, class-parents, class-children,
308 class-precedence-list, class-parent; with obsolete alias.
309 (class-of, class-direct-superclasses, class-direct-subclasses):
310 Declare obsolete.
311 (eieio-defmethod): Use `memq'; remove unreachable code.
312 * emacs-lisp/eieio-base.el (eieio-persistent-read):
313 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
314 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
315
316
317 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
318
319 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
320 Use font-lock-keyword-face for macros and special forms (bug#8345).
321
322 2013-02-17 Didier Verna <didier@didierverna.net>
323
324 * net/network-stream.el (network-stream-open-starttls):
325 Check that response to the starttls-command is non-nil. (Bug#13706)
326
327 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
328
329 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
330 Don't assume all identifier chars have syntax word.
331 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
332 Remove bar-not-symbol. Adjust callers.
333 (lisp-mode-variables): Don't set a font-lock-syntax-table.
334
335 2013-02-17 Leo Liu <sdl.web@gmail.com>
336
337 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
338
339 2013-02-17 Glenn Morris <rgm@gnu.org>
340
341 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
342
343 * image-mode.el (image-mode-map): Add image-dired menu entry.
344
345 * image-dired.el (tumme): Make this alias obsolete.
346
347 2013-02-16 Glenn Morris <rgm@gnu.org>
348
349 * image.el (image-animated-types): Remove.
350 (image-multi-frame-p): Rename from image-animated-p, and generalize.
351 (image-animated-p): Make obsolete alias.
352 (image-animate, image-nth-frame, image-animate-timeout):
353 Use image-multi-frame-p.
354 (image-animate-timeout): If no delay, use image-default-frame-delay.
355 * image-mode.el (image-mode, image-toggle-animation):
356 Use image-multi-frame-p. (Bug#763, bug#10739)
357 (image-mode): Adjust startup message for a multi-frame image.
358
359 * image-mode.el (image-mode-map): Give it a menu.
360
361 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
362
363 * net/tramp-cache.el (tramp-connection-properties): New customer
364 option.
365 (tramp-get-connection-property): Use it.
366
367 * net/tramp-compat.el (top): Require 'trampver.
368
369 * net/tramp-sh.el (tramp-remote-process-environment):
370 Set tramp-autoload cookie.
371
372 2013-02-16 Kevin Ryde <user42@zip.com.au>
373
374 * info-look.el (info-lookup-select-mode): If major-mode has no
375 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
376
377 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
378
379 * replace.el (read-regexp): Tighten the regexp that matches tag.
380 When tag is retrieved with `find-tag-default', use regexp that
381 matches tag at point. Also update docstring (Bug#13687).
382
383 2013-02-16 Eli Zaretskii <eliz@gnu.org>
384
385 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
386 add watch for the file, not its parent directory, since w32notify
387 sets up the watch for the directory internally. (Bug#13725)
388
389 2013-02-16 Glenn Morris <rgm@gnu.org>
390
391 * image.el (image-default-frame-delay): New variable.
392 (image-animated-p): Use image-default-frame-delay.
393 (image-minimum-frame-delay): New constant.
394 (image-animate-timeout): Use image-minimum-frame-delay.
395
396 * image.el (image-nth-frame): New, split from image-animate-timeout.
397 (image-animate-timeout): Use image-nth-frame.
398 * image-mode.el (image-goto-frame, image-next-frame)
399 (image-previous-frame): New commands.
400 (image-mode-map): Add new frame commands.
401
402 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
403
404 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
405 If col-desc already has help-echo, use it. (Bug#13563)
406
407 2013-02-16 Glenn Morris <rgm@gnu.org>
408
409 * image.el (image-current-frame): New variable.
410 (image-animate-timeout): Set image-current-frame.
411 * image-mode.el (image-mode): For animated images,
412 display a frame counter via mode-line-process.
413
414 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
415
416 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
417
418 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
419
420 2013-02-15 Alan Mackenzie <acm@muc.de>
421
422 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
423 global minor mode has been enabled, call the minor mode function
424 for a new buffer once only, after the major mode hook, whilst
425 allowing that hook explicitly to disable the minor mode.
426 (MODE-disable-in-buffer): New (generated) function.
427 (disable-MODE): New (generated) buffer local variable.
428
429 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
430
431 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
432 `iswitchb-next-match' and `iswitchb-prev-match' resply.
433 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
434 `ido-next-match' and `ido-prev-match' resply.
435 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
436 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
437 `icomplete-backward-completions' (Bug#13708).
438
439 2013-02-15 Glenn Morris <rgm@gnu.org>
440
441 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
442
443 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
444
445 * net/goto-addr.el (goto-address-fontify): Add start and end args.
446 (goto-address-fontify-region): Use them instead of narrowing, so
447 syntax-ppss has access to the whole buffer.
448
449 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
450
451 * progmodes/python.el: Explain how to restore "cc-mode"-like
452 forward-sexp movement in header documentation (Bug#13642).
453 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
454 comments and strings (GH bug 114).
455
456 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
457
458 * progmodes/python.el (python-info-current-defun): Fix current
459 defun detection (Bug#13618).
460
461 2013-02-15 Chong Yidong <cyd@gnu.org>
462
463 * xml.el (xml-parse-string): Fix typo in handling of bad character
464 references.
465
466 2013-02-15 Glenn Morris <rgm@gnu.org>
467
468 * play/fortune.el (fortune-compile): Simplify and fix previous change.
469
470 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
471
472 * net/tramp.el (tramp-debug-message):
473 Add `tramp-condition-case-unless-debug'.
474 (tramp-debug-on-error): New defvar.
475 (tramp-condition-case-unless-debug): New defun.
476 (tramp-file-name-handler): Use it.
477
478 2013-02-14 Juri Linkov <juri@jurta.org>
479
480 * info.el (Info-isearch-filter): Treat non-nil values of
481 `search-invisible' including its default value `open'
482 like the value `t' to match hidden text. (Bug#13402)
483
484 2013-02-14 Glenn Morris <rgm@gnu.org>
485
486 * help-fns.el (find-lisp-object-file-name): Give special treatment
487 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
488
489 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
490
491 * net/quickurl.el (quickurl-save-urls):
492 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
493
494 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
495
496 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
497 depth for unfinished percent literal. Not using it in the caller.
498 (ruby-move-to-block): Jump over multiline literals of all types,
499 ignoring code-looking contents inside them.
500 (ruby-add-log-current-method): Improve performance at the expense
501 of accuracy. `ruby-block-contains-point' is relatively slow, so
502 only use it for method and singleton class blocks.
503
504 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
505
506 Use ControlMaster where applicable. (Bug#13677)
507
508 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
509 replacing `tramp-detect-ssh-controlmaster'.
510 (tramp-default-method): Use it.
511
512 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
513 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
514 arguments.
515 [scpc, rsyncc]: Remove methods.
516 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
517 and "ssh2_old".
518 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
519 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
520
521 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
522
523 * emacs-lisp/package.el (package--initialized): Move before first use.
524
525 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
526
527 * icomplete.el (icomplete-hide-common-prefix): New user option.
528 (icomplete-first-match): New face.
529 (icomplete-completions): Correct handling of "complete but not
530 unique" (Bug#12638).
531
532 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
533
534 * descr-text.el (describe-char): Display the script (bug#13698).
535
536 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
537
538 * tmm.el: Use lexical-binding and current-active-maps.
539 (tmm-menubar): Use map-keymap and pcase.
540 (tmm--completion-table): New function.
541 (tmm-prompt): Use it to fix the menu order.
542 (tmm-get-keybind): Use current-active-maps.
543
544 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
545
546 Add dired-hide-details-mode. (Bug#6799)
547
548 * locate.el (locate-mode): Set parent mode property to dired-mode.
549
550 * find-dired.el (find-dired): Call dired-insert-set-properties on
551 initial information line. Set process mark on end of buffer.
552 (find-dired-sentinel):
553 Call dired-insert-set-properties on summary.
554
555 * dired.el (dired-hide-details-hide-symlink-targets)
556 (dired-hide-details-hide-information-lines): New options.
557 (dired-insert-directory):
558 Set properties after final treatment of output.
559 (dired-insert-set-properties):
560 Set dired-hide-details-* properties.
561 (dired-mode-map): Bind dired-hide-details-mode.
562 (dired-mode): Set buffer-invisibility-spec to a list.
563 (dired-next-line): Skip hidden lines.
564 (dired-previous-line): Use dired-next-line.
565 (dired-hide-details-mode): New minor mode.
566 (dired-hide-details-update-invisibility-spec): New function.
567
568 2013-02-13 Glenn Morris <rgm@gnu.org>
569
570 * play/yow.el: Move to obsolete/. (Bug#9384)
571
572 2013-02-13 Juri Linkov <juri@jurta.org>
573
574 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
575 to select `ediff-control-frame' and set input focus correctly on Xfce.
576 (Bug#12218)
577
578 2013-02-13 Juri Linkov <juri@jurta.org>
579
580 * image-mode.el (image-mode-map):
581 * doc-view.el (doc-view-mode-map):
582 * vc/ediff-util.el (ediff-setup-keymap):
583 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
584
585 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
586
587 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
588 performance. Instead of recalculating indentation fully for each
589 line, sum up indentation depth based only on visited lines.
590 (ruby-parse-partial): Increase the depth after "do" even when END
591 is right after it.
592 (ruby-parse-partial): When END is in the middle of a percent
593 literal, increase the depth if the delimiter chars belong to the
594 paren syntax class.
595
596 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
597
598 * play/fortune.el (fortune-compile): Also make the compiled file
599 if it does not exist at all, not just if it is old. (Bug#5338)
600
601 2013-02-13 Glenn Morris <rgm@gnu.org>
602
603 * emacs-lisp/package.el (package-menu-execute): Doc fix.
604
605 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
606
607 * lisp/emacs-lisp/package.el (package-menu-execute):
608 Add optional noquery argument. (Bug#13625)
609
610 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
611
612 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
613 if DIR exists and PARENTS is non-nil.
614
615 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
616
617 * progmodes/js.el (js--multi-line-declaration-indentation):
618 Silence byte-compiler warning.
619
620 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
621
622 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
623
624 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
625 only if it doesn't exist.
626
627 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
628 Set process marker.
629
630 2013-02-12 Tassilo Horn <tsdh@gnu.org>
631
632 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
633 UserInstallation when calling soffice to work around LibreOffice
634 bug 37531.
635
636 2013-02-12 Glenn Morris <rgm@gnu.org>
637
638 * files.el (basic-save-buffer):
639 Offer to create a non-existing directory. (Bug#3016)
640
641 * calc/calc-graph.el (calc-graph-show-dumb):
642 * calendar/calendar.el (calendar-mode-map):
643 * cus-edit.el (custom-mode-map):
644 * ehelp.el (electric-help-map):
645 * emulation/vip.el (vip-mode-map):
646 * epa.el (epa-key-list-mode-map):
647 * info.el (Info-mode-map):
648 * mail/rmail.el (rmail-mode-map):
649 * mail/rmailsum.el (rmail-summary-mode-map):
650 * man.el (Man-mode-map):
651 * net/newst-plainview.el (newsticker-mode-map):
652 * progmodes/cpp.el (cpp-edit-mode-map):
653 * progmodes/grep.el (grep-mode-map):
654 * progmodes/idlw-help.el (idlwave-help-mode-map):
655 * simple.el (special-mode-map):
656 * startup.el (splash-screen-keymap):
657 * view.el (view-mode-map):
658 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
659
660 2013-02-11 Elias Pipping <pipping@lavabit.com>
661
662 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
663 (bug#13679).
664
665 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
668
669 2013-02-11 Glenn Morris <rgm@gnu.org>
670
671 * vc/diff.el (diff-use-labels): New variable.
672 (diff-no-select): Use --label rather than -L, and first
673 check that it is supported. (Bug#11067)
674
675 * files.el (enable-dir-local-variables): New variable.
676 (hack-dir-local-variables): Respect enable-dir-local-variables.
677 * tutorial.el (help-with-tutorial):
678 Ignore directory-local variables. (Bug#11127)
679
680 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
681 (vc-svn-global-switches): ... to here. (Bug#13513)
682
683 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
684
685 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
686 Handle "foo (bar, default: xxx): " prompts.
687
688 2013-02-10 Chong Yidong <cyd@gnu.org>
689
690 * files.el (basic-save-buffer-1): Do not set
691 buffer-file-coding-system-explicit (Bug#4533).
692
693 * mail/emacsbug.el (report-emacs-bug): Change binding of
694 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
695
696 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
697
698 * calc/calc.el (calc-allow-units-as-numbers): New variable.
699 * calc/calc-units.el (calc-convert-units): Use new variable.
700
701 2013-02-09 Eli Zaretskii <eliz@gnu.org>
702
703 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
704
705 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
706 buffer-file-type.
707
708 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
709 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
710 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
711 coding-system-for-write instead.
712
713 * jka-compr.el (jka-compr-write-region): Don't bind
714 buffer-file-type.
715
716 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
717 buffer-file-type.
718
719 * files.el (file-name-buffer-file-type-alist): Remove defvar.
720 (insert-file-contents-literally): Remove reference to
721 file-name-buffer-file-type-alist.
722
723 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
724 make-obsolete.
725 (find-buffer-file-type-match, find-buffer-file-type): Remove.
726 (find-buffer-file-type-coding-system): Remove references to
727 find-buffer-file-type-match, find-buffer-file-type, and
728 buffer-file-type.
729 Don't put find-buffer-file-type-coding-system into
730 file-coding-system-alist.
731 (find-file-binary, find-file-text): Bind coding-system-for-read
732 instead of file-name-buffer-file-type-alist.
733
734 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
735
736 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
737 converter (Bug#13622).
738 (doc-view-unoconv-program): Make obsolete alias.
739 (doc-view-odf->pdf-converter-program): New variable.
740 (doc-view-odf->pdf-converter-function): New variable.
741 (doc-view-mode-p): Use it.
742 (doc-view-odf->pdf-converter-unoconv):
743 Rename from `doc-view-odf->pdf-converter-unoconv'.
744 (doc-view-odf->pdf-converter-soffice): New function.
745 (doc-view-convert-current-doc):
746 Use `doc-view-odf->pdf-converter-function'.
747
748 2013-02-09 Chong Yidong <cyd@gnu.org>
749
750 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
751 view-echo-area-messages (Bug#13340).
752
753 * help.el (view-echo-area-messages): Use display-buffer.
754
755 * dired-x.el (dired-do-run-mail): Prompt for confirmation
756 (Bug#13561).
757
758 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
759
760 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
761 Eval body right away, now that we do eager macroexpansion (bug#13605).
762
763 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
764 (fundamental-mode): Use run-mode-hooks.
765
766 * eshell/esh-proc.el (eshell/kill): Fix last change.
767 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
768
769 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
770
771 * eshell/esh-proc.el (eshell/kill): Rewrite.
772
773 * eshell/em-ls.el (show-almost-all): Declare.
774 (eshell-do-ls): Add support for -A argument.
775
776 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
777
778 * icomplete.el (icomplete-forward-completions)
779 (icomplete-backward-completions): Handle corner case (bug#13602).
780
781 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
782
783 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
784 be nil. Handle this. (Bug#13636)
785
786 2013-02-07 Richard Stallman <rms@gnu.org>
787
788 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
789 `save-buffer-coding-system'.
790
791 2013-02-07 Alan Mackenzie <acm@muc.de>
792
793 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
794 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
795 (c-parse-state-get-strategy): Don't return 'BOD any more.
796 (c-append-lower-brace-pair-to-state-cache):
797 Extra parameter HERE instead of narrowing.
798 Widen to top of buffer before searching backwards for a brace pair.
799 (c-state-push-any-brace-pair): Add HERE parameter to function call.
800 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
801 Narrow to parameter HERE, in place of being called narrowed.
802 (c-remove-stale-state-cache): Extra parameter HERE in place of
803 narrowing. Check there's an open brace in the cache before
804 searching for its match.
805 (c-invalidate-state-cache-1): Add HERE parameter to function call.
806 (c-parse-state-1): Don't narrow here for 'forward strategy,
807 instead passing extra parameter HERE to several functions.
808 Remove 'BOD strategy.
809
810 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
811
812 * emacs-lisp/package.el (describe-package-1): Tell what archive is
813 used to install the package.
814
815 2013-02-06 Glenn Morris <rgm@gnu.org>
816
817 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
818 if we can't get user input. (Bug#6567)
819
820 * startup.el (command-line): If simple.el is missing,
821 test and warn about for some possible causes.
822
823 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
824
825 * cus-start.el (all): Add ns-use-native-fullscreen.
826
827 2013-02-05 Glenn Morris <rgm@gnu.org>
828
829 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
830
831 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
832 Fix directory creation in fallback case.
833
834 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
835
836 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
837 (vc-update-change-log): Use dolist.
838
839 2013-02-04 Chong Yidong <cyd@gnu.org>
840
841 * thingatpt.el: Rewrite the URL detection routines, absorbing some
842 code from ffap.el.
843 (thing-at-point-beginning-of-url-regexp): New var.
844 (thing-at-point-uri-schemes): Update list of URI schemes.
845 (thing-at-point-url-regexp): Variable deleted.
846 (thing-at-point-markedup-url-regexp): Disallow newlines.
847 (thing-at-point-newsgroup-regexp)
848 (thing-at-point-newsgroup-heads)
849 (thing-at-point-default-mail-uri-scheme): New variables.
850 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
851 method to find the possible bounds of the URI at point.
852 New optional argument to find ill-formed URIs.
853 (thing-at-point-url-at-point): Rewrite. New arguments for finding
854 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
855 the scheme-adding heuristics from ffap-url-at-point.
856 (thing-at-point--bounds-of-well-formed-url): New function.
857 Do parens matching to decide whether to include parens in the URI
858 (Bug#9153).
859
860 * ffap.el: Require thingatpt.
861 (ffap-url-at-point): Delegate URI detection to thing-at-point.
862 All URI-valid characters are now recognized (Bug#5673).
863 (ffap-string-at-point): Use use-region-p.
864 (ffap-url-regexp): Extra character is handled by thing-at-point.
865 (ffap-string-at-point-mode-alist): Allow parentheses.
866 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
867 Convert to aliases; code moved to thingatpt.el.
868 (ffap-gnus-hook): Use setq-local.
869
870 2013-02-04 Glenn Morris <rgm@gnu.org>
871
872 * emacs-lisp/ert.el (ert--explain-format-atom):
873 Don't try to print non-characters as characters. (Bug#13543)
874
875 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
876
877 * net/tramp.el (tramp-debug-message): Extend function exclude list.
878 (tramp-backtrace): New defun.
879 (tramp-handle-insert-file-contents): Use `visit' when inserting
880 the local copy.
881
882 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
883 Use `remote-file-name-inhibit-cache'.
884
885 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
886
887 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
888 (bug#13614).
889
890 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
891 current-load-list (bug#13366).
892
893 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
894
895 * progmodes/compile.el (compilation-error-regexp-alist-alist):
896 Identify g++ template instantiation trace. (Bug#12287)
897 (compilation-mode-hook, compilation-start-hook)
898 (compilation-window-height): Simplify docstrings. (Bug#13379)
899
900 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
901
902 * mouse.el (mouse-drag-track): Always deactivate the mark before
903 running the final event's command since that command is in charge of
904 activating the mark if needed (bug#13523).
905
906 2013-02-02 Juri Linkov <juri@jurta.org>
907
908 * replace.el (perform-replace): Move let-bindings of isearch-*
909 variables deeper to the loop that searches for the next match.
910 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
911 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
912 (Bug#13579)
913
914 * isearch.el (isearch-search-fun-default): Check for null
915 first element of isearch-cmds as a precaution when it's used
916 with inactive isearch.
917
918 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
919
920 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
921 error when buffer in question is narrowed so position 1 is out of
922 visible part.
923
924 2013-02-02 Glenn Morris <rgm@gnu.org>
925
926 * textmodes/remember.el (remember-clipboard): Doc fix.
927
928 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
929
930 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
931 properties (bug#13179).
932
933 2013-02-02 Juri Linkov <juri@jurta.org>
934
935 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
936 instead of hard-coded default face `match'. (Bug#9438)
937
938 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
939
940 * vc/vc-arch.el (vc-arch-registered):
941 * vc/vc-bzr.el (vc-bzr-registered):
942 * vc/vc-cvs.el (vc-cvs-registered):
943 * vc/vc-git.el (vc-git-registered):
944 * vc/vc-hg.el (vc-hg-registered):
945 * vc/vc-mtn.el (vc-mtn-registered):
946 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
947 (Bug#13139)
948
949 * info.el (Info-next-reference, Info-prev-reference): Add numeric
950 prefix argument. (Bug#11656)
951
952 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
955
956 2013-02-01 Glenn Morris <rgm@gnu.org>
957
958 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
959 if the backend is known not to support it.
960
961 * imenu.el (imenu-default-create-index-function):
962 Tweak infinite loop test to check for forward motion as well as none.
963
964 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
965
966 * net/soap-client.el (soap-invoke): Encode the string for
967 `url-request-data' as UTF-8.
968 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
969
970 2013-02-01 Glenn Morris <rgm@gnu.org>
971
972 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
973
974 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
975
976 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
977
978 * net/tramp.el (tramp-tramp-file-p): Comment check for
979 `string-as-unibyte'. The function does not exist on XEmacs, and
980 likely we need another approach.
981
982 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
983 `tramp-gw-*' variables are bound.
984
985 2013-01-31 Glenn Morris <rgm@gnu.org>
986
987 * files.el (basic-save-buffer-2): Choose coding system for
988 writing the file before backing it up, to reduce delay between
989 backing up and writing the new version. (Bug#13522)
990
991 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
992
993 * simple.el (cycle-spacing): New command.
994 (just-one-space): Use it.
995
996 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
997
998 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
999 (opascal-newline-always-indents): Remove custom.
1000 (opascal-tab, opascal-newline): Remove commands.
1001 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1002 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1003 (opascal-save-match-data): Remove, use save-match-data instead.
1004 (opascal-save-state): Use with-silent-modifications.
1005
1006 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1007 (bug#13585).
1008
1009 2013-01-30 Juri Linkov <juri@jurta.org>
1010
1011 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1012 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1013 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1014
1015 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1016
1017 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1018 column if we're just deleting the backslashes.
1019 (makefile-fill-paragraph): Use eolp.
1020
1021 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1022
1023 * autorevert.el (auto-revert-use-notify): Fix docstring.
1024
1025 2013-01-30 Leo Liu <sdl.web@gmail.com>
1026
1027 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1028
1029 2013-01-30 Glenn Morris <rgm@gnu.org>
1030
1031 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1032 unread-command-events twice in some cases. This tries to implement
1033 the 2012-07-26 changes in a different way. (Bug#13560)
1034
1035 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1036
1037 * progmodes/python.el
1038 (python-pdbtrack-comint-output-filter-function): Enhancements on
1039 stacktrace detection. (thanks @gnovak)
1040
1041 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1044 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1045 Use defvar-local.
1046 (jit-lock-register): Use setq-local.
1047
1048 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1049
1050 * calc-units.el (math-default-units-table): Remove initial value.
1051 (calc-convert-units): Treat expressions where all the units cancel as
1052 if they didn't have units.
1053
1054 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1055
1056 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1057 (tramp-completion-reread-directory-timeout): Fix type.
1058 (tramp-connection-min-time-diff): New defcustom.
1059
1060 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1061
1062 2013-01-30 Glenn Morris <rgm@gnu.org>
1063
1064 * imenu.el (imenu-default-create-index-function):
1065 Put back a version of the infinite loop test removed 2013-01-23.
1066
1067 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1068
1069 * progmodes/python.el (python-shell-parse-command):
1070 Find python-shell-interpreter with modified environment.
1071
1072 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1073
1074 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1075
1076 2013-01-29 Alan Mackenzie <acm@muc.de>
1077
1078 Amend to fontify /regexp/s in actions correctly.
1079 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1080 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1081 are no longer included.
1082 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1083 What used to be these variables without "-line" in the name.
1084 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1085 (c-awk-non-arith-op-bra-re): Now also matches {.
1086 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1087 "return", and "case".
1088 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1089 by /.
1090 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1091 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1092
1093 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1094
1095 * autorevert.el (auto-revert-use-notify):
1096 Use `custom-initialize-default' for initialization. (Bug#13583)
1097
1098 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1099
1100 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1101 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1102 in `tramp-file-name-handler'.
1103 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1104 compatibility.
1105 (tramp-compute-multi-hops): Check, whether
1106 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1107
1108 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1109
1110 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1111 (bug#13297).
1112
1113 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1114
1115 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1116 checks made superfluous by the \_< operator.
1117 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1118 temporarily) broken indentation.
1119 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1120 Highlight nested constants, too. \_< broke that.
1121
1122 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1123
1124 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1125 instead of "\\b".
1126
1127 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1128
1129 * autorevert.el (auto-revert-handler): Notifications which result
1130 from a saved file shall not be taken into account. (Bug#13557)
1131
1132 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1133
1134 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1135 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1136 (lisp-mode): Pass t for it. (Bug#13556)
1137
1138 2013-01-25 Alan Mackenzie <acm@muc.de>
1139
1140 AWK Mode: Fix indentation bug at top level. Bug #12274.
1141
1142 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1143 just before CASE 5D.
1144
1145 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1146
1147 * net/socks.el (socks-nslookup-host): Use string-to-number.
1148
1149 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1150
1151 * autorevert.el (auto-revert-remote-files)
1152 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1153 (auto-revert-notify-enabled, auto-revert-use-notify)
1154 (auto-revert-notify-watch-descriptor-hash-list)
1155 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1156 (auto-revert-notify-event-descriptor)
1157 (auto-revert-notify-event-action)
1158 (auto-revert-notify-event-file-name): Doc fix.
1159 (global-auto-revert-mode): Reorder checks.
1160 (auto-revert-notify-rm-watch): Respect changed values of
1161 `auto-revert-notify-watch-descriptor-hash-list'.
1162 (auto-revert-notify-add-watch): Check for
1163 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1164 `inotify-add-watch'. Watch `default-directory' instead of
1165 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1166 has a changed meaning now. (Bug#13540)
1167 (auto-revert-notify-handler): Change implementation wrt events
1168 returning from a directory.
1169 (auto-revert-handler): Reorder implementation for checks of remote
1170 files.
1171 (auto-revert-buffers): Fix parentheses error.
1172
1173 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1174
1175 * progmodes/python.el: Enhancements to header documentation about
1176 skeletons. (Bug#5716)
1177
1178 * imenu.el (imenu-default-create-index-function): Remove useless
1179 infinite loop check. (Bug#13438)
1180
1181 2013-01-25 Alan Mackenzie <acm@muc.de>
1182
1183 Fix a bug in the state cache mechanism. Refactor this a bit.
1184
1185 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1186 `cache-pos' element from the return value.
1187 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1188 buffer to enable proper searching from beyond HERE. Amend the
1189 test for detecting the sought brace pair. Amend the value written
1190 to the "brace desert cache" when the brace isn't found.
1191 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1192 and several other variables analogously.
1193 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1194 parameter to a locally calculated variable.
1195 (c-parse-state-1): Change the calling conventions to the two
1196 defuns involving `cache-pos'.
1197
1198 2013-01-25 Chong Yidong <cyd@gnu.org>
1199
1200 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1201
1202 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1203
1204 * paren.el (show-paren-function): Make sure to set 'priority and
1205 'face only if the overlay does exist.
1206
1207 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1208
1209 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1210
1211 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1212 basic attributes.
1213 (tramp-sh-handle-set-file-acl): Improve error checking.
1214
1215 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1216
1217 * doc-view.el (doc-view-display): Force mode line update until all
1218 document is converted. Suggested by Stefan Monnier (Bug#13164).
1219
1220 2013-01-23 Bastien Guerry <bzg@gnu.org>
1221
1222 * paren.el (show-paren-function): Make sure an overlay exists
1223 before trying to delete it. Also use `pos' as a position only
1224 when it is an integer.
1225
1226 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1227
1228 * play/gametree.el (gametree-break-line-here): Use point-marker.
1229
1230 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1231
1232 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1233 Mark descriptive parts with `display' property.
1234
1235 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1236
1237 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1238 New variable to map standard dict names to hunspell ones.
1239 (ispell-set-spellchecker-params): Make sure specific dict names
1240 are used for standard dicts with hunspell.
1241
1242 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1243
1244 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1245 chars for note (%N) and url (%U).
1246 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1247
1248 2013-01-21 Juri Linkov <juri@jurta.org>
1249
1250 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1251 in addition to existing separate binding `meta f10' in `global-map'.
1252 (Bug#13484)
1253
1254 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1255
1256 Improve XEmacs compatibility.
1257
1258 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1259
1260 * net/tramp-adb.el (top): Require `time-date'.
1261 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1262 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1263 Use `tramp-file-name-handler'.
1264 (tramp-adb-maybe-open-connection):
1265 Use `tramp-compat-set-process-query-on-exit-flag'.
1266
1267 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1268 Use `tramp-compat-funcall'.
1269
1270 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1271 `tramp-compat-funcall'.
1272
1273 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1274
1275 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1276 reimplementation using "adb shell command ..." instead of running
1277 remote shell interactively.
1278
1279 2013-01-20 Glenn Morris <rgm@gnu.org>
1280
1281 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1282 Add native profiler menu entries.
1283
1284 * profiler.el (profiler-running-p): New function.
1285 (profiler-cpu-profile): Use profiler-running-p.
1286 (profiler-report-mode-map): Add some more menu entries.
1287
1288 2013-01-19 Glenn Morris <rgm@gnu.org>
1289
1290 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1291 fixes 2012-12-07 change. (Bug#13499)
1292
1293 2013-01-19 Leo Liu <sdl.web@gmail.com>
1294
1295 * dired.el (dired-get-marked-files): Prune erroneous values due to
1296 last change. (Bug#13152)
1297
1298 2013-01-19 Glenn Morris <rgm@gnu.org>
1299
1300 * progmodes/etags.el (tags-table-check-computed-list):
1301 Preserve point in tags buffer. (Bug#13412)
1302
1303 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1304
1305 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1306 Chong Yidong <cyd@gnu.org>
1307
1308 * image-mode.el (image-next-file, image-previous-file):
1309 New commands (Bug#8453).
1310 (image-mode-map): Bind them to n and p.
1311 (image-mode--images-in-directory): New helper function.
1312
1313 2013-01-19 Chong Yidong <cyd@gnu.org>
1314
1315 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1316 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1317 save and restore the old window configuration.
1318
1319 2013-01-18 Leo Liu <sdl.web@gmail.com>
1320
1321 * progmodes/js.el: Tweak autoload cookie for alias.
1322
1323 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1324
1325 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1326 buffer local, again. This was lost with the fix on 2013-01-12.
1327
1328 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1329
1330 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1331 order to support several eshell buffers in parallel.
1332
1333 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1334
1335 * autorevert.el (auto-revert-use-notify): In the :set function, do
1336 not modify `kill-buffer-hook'.
1337 (auto-revert-notify-rm-watch):
1338 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1339 (auto-revert-notify-add-watch): Do not call
1340 `auto-revert-notify-rm-watch', but add it to a buffer local
1341 `kill-buffer-hook'.
1342
1343 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1344
1345 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1346 call to `eval' rather than a backquoted lambda.
1347
1348 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1349
1350 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1351 to return an explicit nil.
1352 (advice--remove-function): Change accordingly.
1353
1354 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1355 the use of nadvice.el.
1356
1357 * progmodes/which-func.el (which-function): Silence imenu errors
1358 (bug#13433).
1359
1360 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1361
1362 * progmodes/sql.el: (sql-imenu-generic-expression):
1363 (sql-mode-font-lock-object-name): Match schema qualified names.
1364 (sql-connect): Use string keys.
1365 (sql-product-interactive): Wait for interpreter prompt.
1366 (sql-comint-oracle): Set process coding based on NLS_LANG.
1367
1368 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1369
1370 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1371 (sql-interactive-remove-continuation-prompt):
1372 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1373
1374 2013-01-14 Leo Liu <sdl.web@gmail.com>
1375
1376 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1377 (Bug#13420)
1378
1379 2013-01-14 Glenn Morris <rgm@gnu.org>
1380
1381 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1382 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1383
1384 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1385
1386 * progmodes/python.el (python-nav-end-of-statement):
1387 Fix cornercase when handling multiline strings.
1388
1389 2013-01-13 Richard Stallman <rms@gnu.org>
1390
1391 * mail/sendmail.el (mail-position-on-field): Add doc string.
1392
1393 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1394 Get current message boundaries and pass them to
1395 message-forward-make-body-mime. Minor style changes.
1396
1397 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1398
1399 * cus-start.el (all): Avoid warnings about
1400 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1401
1402 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1403
1404 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1405
1406 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1409 (jit-lock--debug-fontifying): New var.
1410 (jit-lock--debug-fontify): New function.
1411 * subr.el (condition-case-unless-debug): Don't prevent catching the
1412 error, just let the debbugger run.
1413 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1414 timer code and don't drop errors silently.
1415
1416 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1417
1418 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1419 `permanent-local' property.
1420 (auto-revert-notify-handler): Use `file-equal-p'.
1421
1422 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1423
1424 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1425 file notification by ACTION. For filtering by file name, compare
1426 only the non-directory part of the file name.
1427
1428 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1429
1430 * autorevert.el: Use cl-lib instead of cl.
1431
1432 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1433 (vc-bzr-checkin): Use it.
1434 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1435 will preserve match-data.
1436
1437 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1438
1439 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1440 (js--declaration-keyword-re): New var.
1441 (js--multi-line-declaration-indentation): New function.
1442 (js--proper-indentation): Use it.
1443
1444 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1445
1446 * calc/calc.el (calc-highlight-selections-with-faces)
1447 (calc-dispatch):
1448 * comint.el (comint-history-isearch-message):
1449 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1450 * ffap.el (ffap-string-at-point-region, ffap-next)
1451 (ffap-string-at-point, ffap-string-around)
1452 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1453 (ffap-literally):
1454 * font-lock.el (font-lock-keywords-alist)
1455 (font-lock-removed-keywords-alist):
1456 * help-mode.el (help-xref-symbol-regexp):
1457 * info.el (Info-find-emacs-command-nodes):
1458 * international/mule.el (add-to-coding-system-list):
1459 * isearch.el (isearch-message-function, isearch-fail-pos):
1460 * misearch.el (multi-isearch-next-buffer-function):
1461 * newcomment.el (comment-box):
1462 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1463 (pr-setting-database):
1464 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1465 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1466 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1467 (pike-font-lock-keywords-3):
1468 * progmodes/compile.el (compile):
1469 * progmodes/etags.el (tags-table-files)
1470 (tags-table-files-function, tags-included-tables-function):
1471 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1472 (gdb-restore-windows):
1473 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1474 (ps-n-up-filling-database):
1475 * server.el (server-buffer, server-log):
1476 * simple.el (newline, delete-backward-char, delete-forward-char)
1477 (minibuffer-history-isearch-message, kill-line, track-eol)
1478 (temporary-goal-column):
1479 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1480 (flyspell-default-deplacement-commands):
1481 * textmodes/ispell.el (ispell-accept-output):
1482 * textmodes/sgml-mode.el (html-tag-help):
1483 * vc/compare-w.el (compare-ignore-whitespace)
1484 (compare-ignore-case, compare-windows-dehighlight):
1485 * vc/diff.el (diff):
1486 * whitespace.el (whitespace-point)
1487 (whitespace-font-lock-refontify, whitespace-bob-marker)
1488 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1489
1490 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1491
1492 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1493 (auto-revert-notify-rm-watch): Ignore errors.
1494 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1495 inotify, and '(size last-write-time) for w32notify.
1496 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1497 watch fails - this is a fallback to the file modification check.
1498 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1499 (auto-revert-notify-event-action)
1500 (auto-revert-notify-event-file-name): New defuns.
1501 (auto-revert-notify-handler): Use them. Implement first
1502 plausibility checks.
1503 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1504
1505 2013-01-11 Julien Danjou <julien@danjou.info>
1506
1507 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1508 max are almost equal. Also return the correct value for V which is
1509 already between 0 and 1.
1510
1511 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1512
1513 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1514
1515 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1516
1517 * autorevert.el (auto-revert-notify-rm-watch)
1518 (auto-revert-notify-add-watch): Fix typos in w32notify function
1519 names.
1520
1521 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1522
1523 * autorevert.el (auto-revert-notify-enabled): Move up.
1524 (auto-revert-use-notify): New defcustom.
1525 (auto-revert-mode, global-auto-revert-mode)
1526 (auto-revert-notify-add-watch, auto-revert-handler)
1527 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1528 `auto-revert-notify-enabled'.
1529
1530 2013-01-10 Elias Pipping <pipping@exherbo.org>
1531
1532 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1533 * doc-view.el (doc-view-document->bitmap):
1534 Use doc-view-single-page-converter-function instead of
1535 single-page-converter arg; adjust callers.
1536
1537 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1538
1539 * progmodes/which-func.el (which-function): Understand Semantic's use
1540 of overlays in imenu--index-alist.
1541
1542 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1543
1544 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1545 (Man-man-k-use-anchor): New var.
1546 (Man-parse-man-k): New function.
1547 (Man-completion-table): Use it.
1548 (man): Flush the completion cache between uses.
1549
1550 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1551
1552 * autorevert.el: Add file watch support.
1553 (auto-revert-notify-enabled): New defconst.
1554 (auto-revert-notify-watch-descriptor-hash-list)
1555 (auto-revert-notify-watch-descriptor)
1556 (auto-revert-notify-modified-p): New defvars.
1557 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1558 (auto-revert-notify-handler): New defuns.
1559 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1560 when mode is disabled.
1561 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1562 (auto-revert-buffers): Add file watches for active buffers.
1563
1564 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1565
1566 * cus-start.el (toplevel): Only allow float values for
1567 scroll-up-aggressively and scroll-down-aggressively.
1568 Allow any number for line-spacing.
1569
1570 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1571
1572 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1573 (doc-view-pdf->png-converter-function): Use mupdf if available.
1574 (doc-view-djvu->png-converter-function)
1575 (doc-view-ps->png-converter-function): Remove.
1576 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1577 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1578 (doc-view-already-converted-p): Adjust accordingly.
1579 (doc-view-mode-p): Simplify.
1580 (doc-view-enlarge): Use setq-local.
1581 (doc-view-pdf->png-converter-ghostscript)
1582 (doc-view-djvu->png-converter-ddjvu)
1583 (doc-view-pdf->png-converter-mupdf): Rework to call
1584 doc-view-start-process directly.
1585 (doc-view-pdf/ps->png): Simplify accordingly.
1586 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1587 (doc-view-document->bitmap): Rename from doc-view-document->png.
1588 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1589 (doc-view-set-slice-from-bounding-box): Fix completion table.
1590 (doc-view-mode): Use add-hook for after-revert-hook.
1591
1592 2013-01-10 Glenn Morris <rgm@gnu.org>
1593
1594 * emacs-lisp/authors.el (authors-ignored-files)
1595 (authors-valid-file-names, authors-renamed-files-alist):
1596 Add some more entries.
1597
1598 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1599
1600 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1601 `t' pseudo-window entry.
1602
1603 2013-01-10 Alan Mackenzie <acm@muc.de>
1604
1605 Fix bugs in the c-parse-state mechanism. Reuse some markers
1606 instead of continually generating new ones.
1607
1608 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1609 (c-state-old-cpp-end-marker): New variables.
1610 (c-append-lower-brace-pair-to-state-cache): Start a backward
1611 search for "}" definitively outside CPP constructs.
1612 (c-remove-stale-state-cache): Inform the caller of a need to
1613 search back for a brace pair in certain circumstances.
1614 (c-state-maybe-marker): New macro.
1615 (c-parse-state): Reuse markers when appropriate.
1616
1617 2013-01-10 Glenn Morris <rgm@gnu.org>
1618
1619 * simple.el (execute-extended-command): Doc fix.
1620 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1621
1622 2013-01-10 Chong Yidong <cyd@gnu.org>
1623
1624 * faces.el (read-face-name): Doc fix.
1625
1626 2013-01-10 Roland Winkler <winkler@gnu.org>
1627
1628 * emacs-lisp/crm.el: Allow any regexp for separators.
1629 (crm-default-separator): All spaces around the default comma separator.
1630 (crm--completion-command): New macro.
1631 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1632 (crm-complete-and-exit): Handle non-single-char separators.
1633
1634 2013-01-09 Elias Pipping <pipping@lavabit.com>
1635
1636 * doc-view.el: Add support for DjVu (bug#13164).
1637 (doc-view-djvu->png-converter-function): New config var.
1638 (doc-view-single-page-converter-function, doc-view--image-type)
1639 (doc-view--image-file-extension): New vars.
1640 (doc-view-mode): Initialize them.
1641 (doc-view-goto-page): Use them.
1642 (doc-view-mode-p): Add support for ddjvu.
1643 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1644 (doc-view-set-up-single-converter): New funs.
1645 (doc-view-pdf/ps->png): Extend for djvu.
1646 (doc-view-document->png): Rename from doc-view-pdf->png.
1647 (doc-view-convert-current-doc): Handle djvu.
1648 (doc-view-insert-image, doc-view-display)
1649 (doc-view-already-converted-p): Don't hardcode png.
1650 (doc-view-set-doc-type): Recognize djvu docs.
1651
1652 2013-01-09 Elias Pipping <pipping@lavabit.com>
1653
1654 * doc-view.el: Add support for mupdf converter (bug#13164).
1655 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1656 (doc-view-ps->png-converter-function): New config vars.
1657 (doc-view-pdf->png-converter-ghostscript)
1658 (doc-view-ps->png-converter-ghostscript)
1659 (doc-view-pdf->png-converter-mupdf): New functions.
1660 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1661
1662 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1663
1664 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1665 first in session cache: When `tramp-own-remote-path' is in
1666 `tramp-remote-path', the remote path is only set in the session
1667 cache.
1668
1669 2013-01-09 Glenn Morris <rgm@gnu.org>
1670
1671 * emacs-lisp/trace.el (trace-function-foreground)
1672 (trace-function-background): Doc fix.
1673
1674 2013-01-09 Juri Linkov <juri@jurta.org>
1675
1676 * international/mule-cmds.el (read-char-by-name): Move let-binding
1677 of completion-ignore-case around completing-read to fix regression
1678 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1679 `string-match-p' using the nil value of `case-fold-search' and
1680 `completion-ignore-case' in `completion-pcm--all-completions'.
1681 (Bug#12615).
1682
1683 2013-01-09 Glenn Morris <rgm@gnu.org>
1684
1685 * progmodes/compile.el (compilation-parse-errors):
1686 Fix typo. (Bug#13369)
1687
1688 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1689
1690 * comint.el (comint-send-input): Check size of buffer before
1691 waiting for process output, in case already accepted. (Bug#13290)
1692
1693 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1694
1695 Spelling fixes.
1696 * net/tramp-adb.el (tramp-adb-get-toolbox):
1697 Fix misspelling of 'unknown'.
1698
1699 2013-01-08 Juri Linkov <juri@jurta.org>
1700
1701 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1702 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1703 Use underline style wave on terminals that support it. (Bug#13000)
1704
1705 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1706
1707 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1708 the predicate returns nil.
1709
1710 * simple.el: Use lexical-binding.
1711 (primitive-undo): Use pcase.
1712 (minibuffer-history-isearch-push-state): Use a closure.
1713
1714 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1715
1716 * simple.el (primitive-undo): Move from undo.c.
1717
1718 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1721 (cvs-mode-remove-handled): Use it (bug#13380).
1722
1723 * emacs-lisp/nadvice.el (advice--tweak): New function.
1724 (advice--remove-function, advice--subst-main): Use it.
1725
1726 * emacs-lisp/advice.el: Update commentary.
1727
1728 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1729
1730 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1731 Remove spurious entry.
1732
1733 2013-01-08 Glenn Morris <rgm@gnu.org>
1734
1735 * net/tramp.el (tramp-default-host-alist): Add :version.
1736
1737 2013-01-08 Juri Linkov <juri@jurta.org>
1738
1739 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1740 single completion. (Bug#12456)
1741 (info--manual-names): Expand node completions into an explicit list
1742 before appending it to another list. Filter out internal buffers
1743 with the leading space in the buffer name. (Bug#10771)
1744
1745 2013-01-08 Juri Linkov <juri@jurta.org>
1746
1747 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1748 that defaults to the Top node.
1749 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1750 the short format (FILENAME) goes to the Top node.
1751 (Info-build-node-completions): Rename arg `file' to `filename'.
1752 (Bug#13365)
1753
1754 2013-01-07 Bastien Guerry <bzg@gnu.org>
1755
1756 * menu-bar.el (menu-bar-search-documentation-menu):
1757 Use `apropos-user-option' and fix the help message.
1758
1759 2013-01-07 Bastien Guerry <bzg@gnu.org>
1760
1761 * apropos.el (apropos-do-all): Update docstring.
1762 (apropos-user-option-button): New face.
1763 (apropos-user-option): Rename from `apropos-variable' and update
1764 docstring.
1765 (apropos-variable): Rewrite, now show all variables by default.
1766 (apropos-print): Mention "User option" instead of "Variable" when
1767 printing doc for user options. (Bug#13276)
1768
1769 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1770
1771 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1772 Handle filename correctly, when parsing "source -> target" symlink
1773 output.
1774 (tramp-adb-handle-set-file-times): New defun.
1775
1776 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1777
1778 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1779 advice list when the interactive-spec of ad-Advice-* changes.
1780
1781 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1782
1783 * wid-edit.el (widget-default-get): Work for inlined elements.
1784 (Bug#12670)
1785
1786 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1787
1788 * net/tramp.el (tramp-default-host-alist): New defcustom.
1789 (tramp-find-host): Use it.
1790 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1791 `eshell-directory-change-hook'.
1792
1793 * net/tramp-adb.el (top): Add adb specific entry in
1794 `tramp-default-host-alist'.
1795 (tramp-adb-file-name-host): Remove function.
1796 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1797 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1798
1799 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1800
1801 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1802
1803 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1804
1805 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1806
1807 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1808 consist of more than one digit.
1809 (tramp-adb-file-name-handler-alist):
1810 Use `tramp-handle-file-exists-p' consistently.
1811 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1812 (tramp-adb-handle-file-exists-p): Remove function.
1813 (tramp-adb-file-name-host): New defun.
1814 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1815 Use it.
1816 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1817
1818 2013-01-06 Chong Yidong <cyd@gnu.org>
1819
1820 * vc/vc.el (vc-next-action): Detect buffer modifications
1821 conflicting with locking VCS operation (Bug#11490).
1822
1823 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1824
1825 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1826
1827 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1828 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1829
1830 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1831
1832 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1833 parsing of ls output using regular expression (handle filenames
1834 with spaces). Use virtual device number.
1835 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1836 cleanup).
1837
1838 2013-01-04 Daiki Ueno <ueno@gnu.org>
1839
1840 * epg.el: Silence byte-compiler warnings.
1841 (epg--start): Use delete-char instead of delete-backward-char.
1842 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1843
1844 2013-01-04 Daiki Ueno <ueno@gnu.org>
1845
1846 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1847 Suggested by Eli Zaretskii <eliz@gnu.org>.
1848
1849 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1850
1851 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1852 non-negative integers. Otherwise, the default values are used.
1853 (tramp-convert-file-attributes): Convert uid and gid to integers.
1854
1855 2013-01-04 Glenn Morris <rgm@gnu.org>
1856
1857 * term.el (term-handle-colors-array): Ensure face attributes
1858 are fully specified, not nil. (Bug#13337)
1859
1860 * term.el (term-default-fg-color, term-default-bg-color):
1861 Fix custom type.
1862
1863 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1864 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1865 rather than 'jka-compr being loaded. (Bug#13338)
1866
1867 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1868
1869 * icomplete.el (icomplete-completions):
1870 Honor icomplete-prospects-height once more following
1871 2012-11-29 changes. (Bug#13224)
1872
1873 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1874
1875 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1876 of called-interactively-p as well (bug#13237).
1877
1878 * view.el (view--enable, view--disable): Rename from view-mode-enable
1879 and view-mode-disable and assume it's called from view-mode.
1880 (view-mode-enable, view-mode-disable): Redefine as obsolete
1881 compatibility layer above view-mode.
1882 (view-mode-enter): Call `view-mode'.
1883
1884 * files.el (after-find-file): Call `view-mode'.
1885
1886 * doc-view.el (doc-view-scale-internally): New var.
1887 (doc-view-enlarge, doc-view-insert-image): Obey it.
1888
1889 2013-01-03 Daiki Ueno <ueno@gnu.org>
1890
1891 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1892 exist. (Bug#13344)
1893
1894 2013-01-03 Glenn Morris <rgm@gnu.org>
1895
1896 * mail/rmail.el (rmail-set-header-1): Ignore case.
1897 Handle multi-line headers. (Bug#13330)
1898
1899 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1900 Handle paragraph starting at beginning of buffer.
1901
1902 * subr.el (eval-after-load): Don't purecopy the form, so that it
1903 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1904
1905 * emacs-lisp/byte-run.el (defun): Place cl declarations
1906 after any interactive spec. (Bug#13265)
1907
1908 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1909
1910 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1911 defun. Don't check for DECL if DOCSTRING isn't a string.
1912 (defun): Likewise.
1913
1914 2013-01-02 Glenn Morris <rgm@gnu.org>
1915
1916 * eshell/em-cmpl.el (eshell-pcomplete):
1917 More thoroughly imitate pcomplete. (Bug#13293)
1918
1919 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1920 Return nil for empty path elements. (Bug#13296)
1921
1922 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1923
1924 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1925 order to improve efficiency (Based on Daniel Colascione's
1926 <dancol@dancol.org> patch). (Bug#13182)
1927
1928 2013-01-02 Glenn Morris <rgm@gnu.org>
1929
1930 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1931
1932 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1933
1934 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1935 neither DOCSTRING nor DECL was given. (Bug#13316)
1936
1937 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1938
1939 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1940 `error' call.
1941 (tramp-do-copy-or-rename-file): Ignore errors when calling
1942 `set-file-extended-attributes'.
1943
1944 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1945 Add handler for `file-acl'.
1946 (tramp-smb-handle-file-acl): New defun.
1947
1948 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1949
1950 * calc/README: Mention ISO 8601 week-numbering dates.
1951
1952 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1953
1954 * view.el (view-mode-enable): New argument run-view-mode-hook.
1955 Run view-mode-hook only when it's non-nil (Bug#13315).
1956 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1957 argument t.
1958
1959 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1960
1961 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1962 (No device connected, invalid device name). (Bug #13299)
1963
1964 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1965
1966 * window.el (window-resizable--p): Rename to window-resizable-p.
1967 (window-resize-no-error): New function.
1968
1969 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1970 broken in fix from 2012-12-28.
1971
1972 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 * subr.el (special-form-p): Don't signal errors on undef aliases.
1975
1976 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1977
1978 * calc/calc-forms.el (math-parse-date): Try using
1979 `math-parse-iso-date' when it looks like it might be needed.
1980 Allow times of 24:00.
1981 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1982 of 24:00.
1983
1984 2012-12-30 Glenn Morris <rgm@gnu.org>
1985
1986 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1987 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1988 (rmail-summary-displayed, rmail-summary): Declare.
1989 (mairix-rmail-display): Just require rmail.
1990
1991 2012-12-30 Chong Yidong <cyd@gnu.org>
1992
1993 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1994 check for the tarball contents.
1995
1996 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1997
1998 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1999 tarfile content listings (Bug#13136).
2000
2001 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2002
2003 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2004 Insert the undecoded text of the message being forwarded. (Bug#9521)
2005
2006 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2007
2008 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2009 integers, if they are real numbers. (Bug#13282)
2010
2011 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2012 Return `t' on success.
2013
2014 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2015 Add handler for `set-file-selinux-context'.
2016
2017 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2018
2019 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2020 (tramp-sh-handle-set-file-acl): Return `t' on success.
2021
2022 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2023
2024 * files.el (backup-buffer-copy, basic-save-buffer-2):
2025 If set-file-extended-attributes fails, fall back on set-file-modes
2026 instead of signaling an error. (Bug#13298)
2027 (basic-save-buffer): Likewise.
2028
2029 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2030
2031 * progmodes/python.el: Support other commands triggering
2032 python-indent-line so indentation cycling continues to work.
2033 (python-indent-trigger-commands): New defcustom.
2034 (python-indent-line): Use it.
2035
2036 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2037
2038 * progmodes/python.el (python-shell-send-region): Add blank lines
2039 for non sent code so backtraces remain correct.
2040
2041 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2042
2043 * progmodes/python.el: Remove cl dependency.
2044 (python-syntax-count-quotes): Replace incf call.
2045 (python-fill-string): Replace setf call.
2046
2047 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2048
2049 * info.el (info-other-window): New arg, for consistency with info.
2050
2051 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2052
2053 * mail/rmail.el (rmail-maybe-display-summary):
2054 Rewrite (Bug#13066).
2055
2056 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2057
2058 * epg.el (epg--start): Modify process-environment locally.
2059
2060 2012-12-28 Daiki Ueno <ueno@gnu.org>
2061
2062 * epg.el: Support pinentry-curses.
2063 Suggested by Werner Koch in
2064 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2065 (epg-agent-file, epg-agent-mtime): New variable.
2066 (epg--start): Record the modified time of gpg-agent socket file,
2067 to restore Emacs frame after pinentry-curses termination.
2068 (epg-wait-for-completion): Restore Emacs frame here.
2069
2070 2012-12-27 Juri Linkov <juri@jurta.org>
2071
2072 * info.el (Info-file-completions): New variable.
2073 (Info-read-node-name-1): Complete node names in the Info file
2074 when a file name is given. Call `Info-build-node-completions'
2075 with a file name.
2076 (Info-build-node-completions): Add new arg `file'. When it is
2077 non-nil, visit it in a temporary buffer and cache its completions in
2078 `Info-current-file-completions'. Move most of the function body to
2079 `Info-build-node-completions-1'.
2080 (Info-build-node-completions-1): New function with the body from
2081 `Info-build-node-completions'. (Bug#12456)
2082
2083 2012-12-27 Juri Linkov <juri@jurta.org>
2084
2085 * frame.el (frame-maximization-style): Remove user option.
2086 (cycle-frame-maximized): Remove function.
2087 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2088 (toggle-frame-fullscreen): New command bound to <f11> instead of
2089 `toggle-frame-maximized'.
2090 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2091
2092 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2093
2094 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2095
2096 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2097 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2098 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2099 for `file-accessible-directory-p'. (Bug#13275)
2100
2101 2012-12-27 Sam Steingold <sds@gnu.org>
2102
2103 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2104 continuations, see <http://stackoverflow.com/questions/3582436>.
2105
2106 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2107
2108 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2109 "module" and "def" to have indentation before them.
2110 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2111
2112 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2113
2114 2012-12-27 Alan Mackenzie <acm@muc.de>
2115
2116 Speed up fontification where there's large brace blocks.
2117 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2118 to a call of c-beginning-of-decl-1.
2119
2120 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2121
2122 * comint.el (comint-adjust-window-point): New function.
2123 (comint-postoutput-scroll-to-bottom):
2124 Call comint-adjust-window-point (Bug#13248).
2125
2126 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2127
2128 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2129 Rakefile regexp.
2130 (auto-mode-alist): Associate .gemspec files with ruby-mode
2131 (https://bugs.ruby-lang.org/issues/5453).
2132
2133 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2134
2135 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2136 Suppress coloring, if possible (required for BusyBox based systems like
2137 CyanogenMod).
2138 (tramp-adb-handle-file-attributes)
2139 (tramp-adb-handle-insert-directory)
2140 (tramp-adb-handle-file-name-all-completions): Use it.
2141 (tramp-adb-get-toolbox): New defun. Check for remote shell
2142 implementation (BusyBox or Toolbox).
2143
2144 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2145
2146 * startup.el (initial-buffer-choice): Allow function as value
2147 (Bug#13251).
2148 (command-line-1): Handle case where initial-buffer-choice
2149 specifies a function.
2150 * server.el (server-execute): Handle case where
2151 initial-buffer-choice specifies a function.
2152
2153 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2154
2155 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2156 its own function.
2157 (smtpmail-try-auth-methods): Forget the user name/password if the
2158 login is unsuccessful (bug#12424).
2159
2160 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2161
2162 * notifications.el (notifications-notify): Protect body with
2163 `with-demoted-errors'.
2164
2165 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2166 Check properties of remote device. Restart connection, if there is a
2167 change.
2168
2169 2012-12-21 Chong Yidong <cyd@gnu.org>
2170
2171 * sort.el (sort-subr): Doc fix (Bug#13056).
2172
2173 2012-12-21 Bastien Guerry <bzg@gnu.org>
2174
2175 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2176
2177 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2178
2179 * simple.el (process-file): Overwrite stderr file, if exists.
2180
2181 2012-12-21 Daiki Ueno <ueno@gnu.org>
2182
2183 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2184 (epg-error): Set `error-message' property.
2185
2186 2012-12-21 Chong Yidong <cyd@gnu.org>
2187
2188 * international/mule-cmds.el (read-char-by-name): Signal an error
2189 if the user does not supply a valid character (Bug#13177).
2190
2191 * simple.el (transpose-subr-1): Preserve marker positions by
2192 changing the insertion sequence (Bug#13122).
2193
2194 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2195
2196 * simple.el (kill-region): Deactivate mark even for empty regions
2197 (Bug#13169).
2198
2199 2012-12-21 Chong Yidong <cyd@gnu.org>
2200
2201 * help-fns.el (describe-variable): Make sure we get the right
2202 buffer name (Bug#13105). Suggested by Kelly Dean.
2203
2204 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2205
2206 * comint.el (comint-redirect-previous-input-string): New variable.
2207 (comint-redirect-setup, comint-redirect-cleanup)
2208 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2209 (comint-redirect-preoutput-filter): Fix verbose message.
2210
2211 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2212
2213 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2214 is too long for Tramp. See discussion in
2215 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2216
2217 * progmodes/compile.el (compilation-start): Remove line escape
2218 template.
2219
2220 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2221
2222 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2223 Adjust comment.
2224
2225 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2226
2227 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2228 following non-comment text (bug#13207).
2229 (lm-header-multiline): Continuation lines need to be indented more than
2230 the first line.
2231 (lm-homepage): New function.
2232 (lm-with-file): Don't be confused if narrowing is in effect.
2233
2234 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2235
2236 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2237 very beginning of a hunk (e.g. killing the first line).
2238
2239 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2240
2241 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2242 and text properties from returned ACL string.
2243 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2244 for "setfacl" command.
2245
2246 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2247
2248 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2249 `tramp-cleanup-this-connection', when the process has died.
2250 (Bug#13151)
2251
2252 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2253
2254 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2255
2256 2012-12-17 Kevin Ryde <user42@zip.com.au>
2257
2258 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2259
2260 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2261
2262 Add support for preserving ACL entries of files.
2263
2264 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2265 `set-file-acl' handlers.
2266
2267 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2268 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2269
2270 * net/tramp-compat.el (tramp-compat-copy-file):
2271 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2272
2273 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2274 Add `file-acl' and `set-file-acl' handlers.
2275 (tramp-gvfs-handle-copy-file):
2276 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2277 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2278 New defuns.
2279
2280 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2281 Add `file-acl' and `set-file-acl' handlers.
2282 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2283 (tramp-sh-handle-set-file-acl): New defuns.
2284 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2285 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2286
2287 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2288 Add `file-acl' and `set-file-acl' handlers.
2289 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2290
2291 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2292
2293 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2294 use pop-to-buffer with NORECORD argument t. As buffer name, use
2295 *Metahelp* with a leading space (Bug#13190).
2296
2297 2012-12-16 Romain Francoise <romain@orebokech.com>
2298
2299 * files.el (file-extended-attributes)
2300 (set-file-extended-attributes): New functions.
2301 (backup-buffer): Use them to handle both SELinux context and ACL
2302 entries.
2303 (backup-buffer-copy): Work with an alist of extended attributes,
2304 rather than an SELinux context.
2305 (basic-save-buffer-2): Ditto.
2306
2307 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2308
2309 * battery.el (battery-bsd-apm): New function.
2310
2311 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2312
2313 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2314 standard date formats.
2315
2316 2012-12-15 Juri Linkov <juri@jurta.org>
2317
2318 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2319 `isearch-insert-char-by-name'.
2320 (with-isearch-suspended): New defmacro with body mostly from
2321 `isearch-edit-string' except the part that sets
2322 `isearch-new-string' and `isearch-new-message'.
2323 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2324 body that sets `isearch-new-string' and `isearch-new-message'.
2325 (isearch-insert-char-by-name): New command.
2326 * international/mule-cmds.el (read-char-by-name): Let-bind
2327 `enable-recursive-minibuffers' to t.
2328 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2329
2330 2012-12-15 Juri Linkov <juri@jurta.org>
2331
2332 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2333 (Bug#13175)
2334
2335 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2336
2337 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2338 the prompt. (Bug#13045)
2339
2340 2012-12-14 Glenn Morris <rgm@gnu.org>
2341
2342 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2343 Try to include filename in non-bytecomp warning. (Bug#13132)
2344
2345 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2346
2347 Fix permissions bugs with setgid directories etc. (Bug#13125)
2348 * files.el (backup-buffer): Don't rely on 9th output of
2349 file-attributes, as it's now a placeholder. Instead, use the new
2350 optional arg of file-ownership-preserved-p.
2351 (file-ownership-preserved-p): New optional arg GROUP.
2352 Fix mishandling of setuid directories that would cause this
2353 function to return t when it should have returned nil.
2354 Document what happens if the file does not exist, and when
2355 it's not known whether the ownership will be preserved.
2356 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2357 Likewise.
2358 (tramp-get-local-gid): Use group-gid for integer, as that's
2359 faster and more reliable.
2360
2361 2012-12-14 Julien Danjou <julien@danjou.info>
2362
2363 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2364 Update keywords list, data type and PL/pgSQL.
2365
2366 2012-12-14 Dave Abrahams <dave@boostpro.com>
2367
2368 * vc/ediff-util.el (ediff-buffer-type): New function.
2369 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2370 rather than taking it as as argument.
2371 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2372
2373 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2374
2375 * json.el: Add pretty-print option (bug#12634).
2376 (json-encoding-separator, json-encoding-default-indentation)
2377 (json--encoding-current-indentation, json-encoding-pretty-print)
2378 (json-encoding-lisp-style-closings): New vars.
2379 (json--with-indentation): New macro.
2380 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2381 (json-encode-array): Use it to obey json-encoding-pretty-print.
2382 (json-pretty-print-buffer, json-pretty-print): New commands.
2383
2384 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2385
2386 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2387 Extract `ruby-syntax-propertize-expansions'.
2388 (ruby-syntax-propertize-expansions): Only change syntax on
2389 certain string delimiters, to punctuation. This way the common
2390 functions like forward-word and thing-at-point still work.
2391 (ruby-match-expression-expansion): Improve readability.
2392 (ruby-block-contains-point): New function.
2393 (ruby-add-log-current-method): Handle several edge cases.
2394
2395 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2396
2397 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2398 unload-feature finishes even when aborting an ongoing edebug session.
2399 Also, do not worry about edebug-mode, unload-feature takes care of it.
2400
2401 2012-12-13 Andreas Schwab <schwab@suse.de>
2402
2403 * net/tls.el (tls-program): Update customize type.
2404
2405 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2406
2407 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2408 (edebug-setup-hook, cl-read-load-hooks): Use it.
2409 (edebug-unload-function): New function. (Bug#13163)
2410
2411 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2412
2413 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2414 Otherwise, there could be errors in autoloading. (Bug#13151)
2415
2416 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2417
2418 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2419 sequences.
2420
2421 2012-12-13 Alan Mackenzie <acm@muc.de>
2422
2423 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2424 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2425 around `forward-comment' not recognizing ^M as whitespace.
2426
2427 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2428
2429 * progmodes/python.el (python-skeleton-class)
2430 (python-skeleton-def): Do not add space after defun name.
2431
2432 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2433
2434 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2435 (cl--symbol-function): Remove (now that funbound is like nil).
2436
2437 2012-12-12 Glenn Morris <rgm@gnu.org>
2438
2439 * button.el (button--area-button-p): Fix typo.
2440
2441 2012-12-12 Sam Steingold <sds@gnu.org>
2442
2443 * frame.el (frame-maximization-style): New user option.
2444 (toggle-frame-maximized): Toggle frame maximization according to
2445 `frame-maximization-style', bound to <f11>.
2446 (cycle-frame-maximized): Cycle between all maximization styles and
2447 non-maximized frame, bound to shift-<f11>.
2448
2449 2012-12-12 David Cadé <codename68@gmail.com>
2450
2451 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2452
2453 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2454
2455 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2456 (eieio-override-prin1): Don't quote kewords and booleans.
2457 (object-write) <eieio-default-superclass>: Don't put closing parens
2458 on new line, avoid needless empty lines, align values that are objects
2459 with the slot keyword (instead of beginning on the same line).
2460 (eieio-list-prin1): Align value with slot keyword; increase
2461 eieio-print-depth before printing members of the list.
2462
2463 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2464
2465 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2466 a display text-property.
2467 (report-emacs-bug-hook): Don't bother deleting it any more.
2468
2469 * hilit-chg.el (highlight-save-buffer-state): Delete.
2470 Use with-silent-modifications instead.
2471 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2472
2473 * button.el: Handle buttons in display text-properties.
2474 (button--area-button-p, button--area-button-string):
2475 Use (STRING . STRING-POS) representation instead of just STRING.
2476
2477 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2478
2479 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2480 subdirectory be skipped.
2481
2482 2012-12-11 Glenn Morris <rgm@gnu.org>
2483
2484 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2485
2486 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2487 Treat preprocessor lines embedded in continuations like comments.
2488 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2489
2490 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2491
2492 * calc/calc.el (calc-standard-date-formats): Add more date
2493 formats.
2494 * calc/calc-forms.el (math-parse-iso-date): New function.
2495 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2496 (math-parse-iso-date-validate): Add extra error checking.
2497 (calc-date-notation): Add ability to access new date formats.
2498
2499 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2500
2501 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2502 font-lock as well as when there's no text-property.
2503
2504 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2505
2506 * hi-lock.el: Refine the choice of default face.
2507 (hi-lock-keyword->face): New function. Use it wherever we used
2508 cadadadr instead.
2509 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2510 (hi-lock--last-face): Remove var.
2511 (hi-lock--unused-faces): New var to replace it.
2512 (hi-lock-read-face-name): Use/maintain it.
2513 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2514 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2515 if it has another face.
2516
2517 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2518
2519 * subr.el (w32notify-handle-event): New function.
2520 (inotify-handle-event): Doc fix.
2521
2522 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2523
2524 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2525
2526 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2527
2528 * simple.el (just-one-space): Doc fix.
2529
2530 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2531
2532 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2533
2534 2012-12-10 Le Wang <l26wang@gmail.com>
2535
2536 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2537 narrowed buffer (bug#12361).
2538
2539 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2540
2541 * vc/vc-hooks.el (vc-state): Doc fix.
2542
2543 2012-12-10 Glenn Morris <rgm@gnu.org>
2544
2545 * mail/rmail.el (rmail-maybe-display-summary):
2546 Preserve buffer, in case select-window changes it. (Bug#13066)
2547
2548 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2549
2550 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2551 cl-load-hook where they belong.
2552
2553 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2554
2555 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2556
2557 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2558
2559 Parallelize byte compilation on MS-Windows.
2560 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2561 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2562 (WINS_BASIC): Define as concatenation of the above.
2563 (compile): Subdivide into 4 separate and independent jobs that can
2564 be run in parallel.
2565 (compile0-CMD, compile0-SH): New targets for compiling
2566 COMPILE_FIRST files, which are prerequisites for the rest of the
2567 byte-compilation.
2568 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2569 New targets for parallel compilation with cmd.exe.
2570 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2571 compiling under a Unixy shell.
2572
2573 2012-12-09 Chong Yidong <cyd@gnu.org>
2574
2575 * simple.el (set-mark-default-inactive): Delete this
2576 accidentally-introduced option.
2577 (set-mark-command, exchange-point-and-mark): Remove calls.
2578
2579 2012-12-09 Glenn Morris <rgm@gnu.org>
2580
2581 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2582 Respect a defcustom's :set function, if appropriate. (Bug#109)
2583 (eval-defun): Doc fix.
2584
2585 2012-12-08 Juri Linkov <juri@jurta.org>
2586
2587 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2588 (Info-fontify-node, Info-bookmark-make-record): Remove the
2589 file extension from Info-current-file (Bug#13016).
2590
2591 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2592
2593 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2594 point, still provide some default.
2595 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2596 names, since we don't use it right now. Actually return the list.
2597 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2598
2599 2012-12-07 Chong Yidong <cyd@gnu.org>
2600
2601 * novice.el (disabled-command-function): Remove a spurious help
2602 xref (Bug#13043). Suggested by Kelly Dean.
2603
2604 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2605 syntax is specified (Bug#13025).
2606
2607 * info.el (Info-set-mode-line): Remove the file extension from
2608 Info-current-file if there is one (Bug#13016).
2609
2610 2012-12-07 Glenn Morris <rgm@gnu.org>
2611
2612 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2613 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2614 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2615 and rmail-mime-decoded. (Bug#9841)
2616
2617 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2618 (batch-unrmail, unrmail): Doc fixes.
2619 (unrmail): Respect unrmail-mbox-format.
2620 * mail/rmail.el (rmail-mbox-format): New option.
2621 (rmail-show-message-1): Respect rmail-mbox-format.
2622
2623 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2624
2625 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2626
2627 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2628
2629 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2630 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2631 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2632 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2633 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2634 (cl-progv): Don't rely on dynamic scoping to find the body.
2635 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2636 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2637 (cl-declaim): Use backquotes.
2638 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2639 Use "cl--" prefix for the object's tag.
2640
2641 * ses.el: Use advice-add/remove.
2642 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2643 (copy-region-as-kill, yank): Use advice-add.
2644 (ses-unload-function): Use advice-remove.
2645
2646 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2647
2648 * button.el: Make them work in header-lines (bug#12817).
2649 (button-map): Add bindings for header-line and mode-line use.
2650 (button-get, button-put, button-label): `button' may now be a string.
2651 (button-activate): Don't make it a defsubst.
2652 (button--area-button-p, button--area-button-string): New functions.
2653 (make-text-button): Fix the return value when `beg' was a string.
2654 (push-button): Handle the mode-line case.
2655
2656 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2657
2658 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2659 (sql-signum): Remove. Use `cl-signum' instead.
2660 (sql-read-passwd): Remove; use read-passwd instread.
2661 (sql-get-login-ext): Use read-string.
2662 (sql-get-login): Use dolist and pcase.
2663 (sql--completion-table): Rename from sql-try-completion.
2664 Use complete-with-action.
2665 (sql-mode): Don't change abbrev-all-caps globally.
2666 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2667 (sql-postgres-completion-object): Initialize vars in their `let'.
2668 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2669 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2670 (sql-comint-interbase): Use a single append, without setq.
2671 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2672
2673 * hi-lock.el: Rework the default face and the serialize regexp code.
2674 (hi-lock--auto-select-face-defaults): Remove.
2675 (hi-lock-string-serialize-serial): Remove.
2676 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2677 make weak.
2678 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2679 equal string.
2680 (hi-lock-set-pattern): Adjust accordingly.
2681 (hi-lock--regexps-at-point): Simplify accordingly.
2682 (hi-lock--auto-select-face-defaults): Remove.
2683 (hi-lock--last-face): New var to replace it.
2684 (hi-lock-read-face-name): Rewrite (bug#11095).
2685 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2686
2687 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2688
2689 * net/tramp.el (tramp-replace-environment-variables):
2690 Hide compiler warning.
2691 (tramp-file-name-for-operation): Remove `executable-find',
2692 `start-process', `call-process' and `call-process-region'.
2693
2694 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2695
2696 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2697 compatibility.
2698
2699 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2700
2701 2012-12-06 Chong Yidong <cyd@gnu.org>
2702
2703 * ffap.el (ffap-replace-file-component): Fix typo.
2704
2705 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2706
2707 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2708 fix open-paren-like token test (bug#12785).
2709
2710 2012-12-06 Glenn Morris <rgm@gnu.org>
2711
2712 * mail/rmailsum.el (rmail-new-summary): Tweak for
2713 rmail-maybe-display-summary changing buffer. (Bug#13066)
2714
2715 2012-12-06 Juri Linkov <juri@jurta.org>
2716
2717 * info.el (Info-fontify-node): Don't hide the last newline.
2718 (Bug#12272)
2719
2720 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2721
2722 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2723 so as to enable message-read-from-minibuffer to expand mail aliases.
2724
2725 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2726
2727 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2728 the `intangible' property.
2729 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2730
2731 2012-12-05 Deniz Dogan <deniz@dogan.se>
2732
2733 * net/rcirc.el (rcirc-urls): Update documentation.
2734 (rcirc-condition-filter): New function.
2735 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2736 and exclude consecutive duplicate URLs (Bug#6082).
2737
2738 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2739
2740 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2741 Check return code of copy command.
2742
2743 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2744 Use group `tramp'. Add version.
2745
2746 2012-12-05 Chong Yidong <cyd@gnu.org>
2747
2748 * ffap.el (ffap-url-regexp): Don't require matching at front of
2749 string (Bug#4952).
2750 (ffap-url-p): If only a substring matches, return that.
2751 (ffap-url-at-point): Use the return value of ffap-url-p.
2752 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2753 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2754 (ffap-guess-file-name-at-point): Likewise.
2755 (ffap-replace-file-component): Fix typo.
2756
2757 * info.el (info-display-manual): Add existing Info buffers, whose
2758 files may not be in Info-directory-list, to the completion.
2759 (info--manual-names): New helper function.
2760
2761 2012-12-05 Glenn Morris <rgm@gnu.org>
2762
2763 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2764 New functions, for detecting and resolving conflicts. (Bug#10709)
2765
2766 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2767
2768 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2769 (hi-lock-auto-select-face-defaults): New buffer local variable.
2770 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2771 (hi-lock-unface-buffer): Prompt user with useful defaults.
2772 With prefix arg, unhighlight all hi-lock patterns in buffer.
2773
2774 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2775
2776 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2777
2778 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2779
2780 * Makefile.in (TRAMP_SRC):
2781 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2782
2783 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2784
2785 * net/tramp-adb.el: New package.
2786
2787 2012-12-04 Chong Yidong <cyd@gnu.org>
2788
2789 * terminal.el: Move to obsolete/.
2790
2791 * longlines.el: Move to obsolete/.
2792
2793 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2794 Remove code referring to longlines mode.
2795
2796 2012-12-03 Juri Linkov <juri@jurta.org>
2797
2798 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2799
2800 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2801
2802 * textmodes/ispell.el (ispell-init-process)
2803 (ispell-start-process, ispell-internal-change-dictionary):
2804 Make sure personal dictionary name is expanded after initial
2805 `default-directory' value. Use expanded strings for
2806 keep/restart checks and for value (Bug#13019).
2807
2808 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2809
2810 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2811
2812 2012-12-03 Leo Liu <sdl.web@gmail.com>
2813
2814 * files.el (dir-locals-read-from-file): Check file non-empty
2815 before reading. (Bug#13038)
2816
2817 2012-12-03 Glenn Morris <rgm@gnu.org>
2818
2819 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2820 Remove any version extension before checking filename. (Bug#13006)
2821 (jka-compr-compression-info-list): Belated :version bump.
2822
2823 2012-12-03 Chong Yidong <cyd@gnu.org>
2824
2825 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2826
2827 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2828 (buffer-menu): Doc fix (Bug#12294).
2829
2830 2012-12-03 Roland Winkler <winkler@gnu.org>
2831
2832 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2833 of diary-show-all-entries in the diary buffer (Bug#12994).
2834
2835 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2836
2837 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2838 "<STDIN>". This is binary safe.
2839
2840 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2841
2842 * calc/calc-forms.el (math-absolute-from-iso-dt)
2843 (math-date-to-iso-dt, math-parse-iso-date-validate)
2844 (math-iso-dt-to-date): New functions.
2845 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2846 (math-fd-isoweekday): New variables.
2847 (calc-date-notation, math-parse-standard-date, math-format-date)
2848 (math-format-date-part): Add support for more formatting codes.
2849
2850 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2851
2852 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2853 current buffer's file name when called interactively (Bug#12488).
2854
2855 2012-12-02 Juri Linkov <juri@jurta.org>
2856
2857 * info.el (info-display-manual): Don't clobber an existing Info
2858 buffer (Bug#10770). Add completion (Bug#10771).
2859
2860 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2861
2862 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2863 before using it for comparison (Bug#5297).
2864
2865 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2866
2867 * textmodes/css-mode.el (css-current-defun-name): New function.
2868 (css-mode): Use it.
2869
2870 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2871 (html-mode): Use it.
2872
2873 2012-12-01 Chong Yidong <cyd@gnu.org>
2874
2875 Modularize add-log-current-defun (Bug#2224).
2876 Suggested by Jari Aalto.
2877
2878 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2879 (add-log-current-defun): Move mode-specific code to other files.
2880 (add-log-lisp-like-modes, add-log-c-like-modes)
2881 (add-log-tex-like-modes): Variables deleted.
2882
2883 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2884 (lisp-mode-variables): Use it.
2885
2886 * progmodes/cc-mode.el (c-common-init):
2887 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2888 add-log-current-defun-function.
2889
2890 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2891 (m4-mode): Use it.
2892
2893 * progmodes/perl-mode.el (perl-current-defun-name): New.
2894 (perl-mode): Use it.
2895
2896 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2897 Use lisp-current-defun-name.
2898
2899 * textmodes/tex-mode.el (tex-current-defun-name): New.
2900 (tex-common-initialization): Use it.
2901
2902 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2903 (texinfo-mode): Use it.
2904
2905 2012-12-01 Chong Yidong <cyd@gnu.org>
2906
2907 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2908 * progmodes/autoconf.el (autoconf-mode):
2909 * progmodes/js.el (js-mode):
2910 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2911 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2912 * progmodes/perl-mode.el (perl-mode):
2913 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2914 * textmodes/css-mode.el (css-mode):
2915 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2916 (sgml-tags-invisible, sgml-guess-indent):
2917 * textmodes/tex-mode.el (tex-common-initialization)
2918 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2919 (doctex-mode, plain-tex-mode, latex-mode):
2920 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2921
2922 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2923
2924 * vc/vc-hg.el (vc-hg-next-revision):
2925 Ensure use of default "tip" output format. (Bug#6968)
2926
2927 2012-12-01 Kim F. Storm <storm@cua.dk>
2928
2929 * startup.el (fancy-startup-tail): Add a clickable link
2930 (Bug#2176).
2931
2932 2012-12-01 Chong Yidong <cyd@gnu.org>
2933
2934 * startup.el (fancy-startup-tail): Improve the message about
2935 auto-save files (Bug#2176).
2936
2937 * files.el (recover-session): Improve the descriptive message, and
2938 use substitute-command-keys.
2939
2940 2012-12-01 Glenn Morris <rgm@gnu.org>
2941
2942 * ido.el (ido-file-internal):
2943 Handle other-window, other-frame for dired. (Bug#13036)
2944
2945 2012-11-30 Glenn Morris <rgm@gnu.org>
2946
2947 * icomplete.el (icomplete-separator): Fix :version.
2948
2949 2012-11-30 Chong Yidong <cyd@gnu.org>
2950
2951 * shell.el (shell): For C-u M-x shell, use an inactive shell
2952 buffer as the default (Bug#1975).
2953 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2954 (shell-mode): Use them to reapply ansi colorization if Shell mode
2955 is re-enabled.
2956
2957 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2958
2959 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2960
2961 2012-11-30 Samuel Bronson <naesten@gmail.com>
2962
2963 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2964 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2965
2966 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2967
2968 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2969 by move-to-column (Bug#3234).
2970
2971 2012-11-30 Chong Yidong <cyd@gnu.org>
2972
2973 * longlines.el (longlines-wrap-line, longlines-encode-region):
2974 Preserve text properties (Bug#1425).
2975
2976 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2977
2978 * vc/vc.el (vc-register): Allow registering a file which is
2979 already registered with a different backend (Bug#10589).
2980
2981 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2982 Stefan Monnier <monnier@iro.umontreal.ca>
2983
2984 * icomplete.el: Change separator; add ido-style commands.
2985 (icomplete-show-key-bindings): Remove custom var.
2986 (icomplete-get-keys): Remove function.
2987 (icomplete-forward-completions, icomplete-backward-completions):
2988 New commands.
2989 (icomplete-minibuffer-map): New var.
2990 (icomplete-minibuffer-setup): Use it.
2991 (icomplete-exhibit): Don't delay if the list of completions is known.
2992 (icomplete-separator): New custom.
2993 (icomplete-completions): Use it.
2994 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2995 (minibuffer-force-complete-and-exit): New command.
2996 (minibuffer--complete-and-exit): New function extracted from
2997 minibuffer-complete-and-exit.
2998 (minibuffer-complete-and-exit): Use it.
2999
3000 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3001 error message when the file doesn't exist (bug#12974).
3002
3003 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3004
3005 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3006
3007 2012-11-29 Glenn Morris <rgm@gnu.org>
3008
3009 * files.el (hack-dir-local-variables): Warn if try to set
3010 coding via dir-locals, since it doesn't work. (Bug#7169)
3011
3012 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3013 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3014 Set buffer-local value of desktop-save-buffer.
3015 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3016 New functions.
3017 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3018 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3019
3020 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3021 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3022 Doc fix.
3023 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3024 Doc fixes.
3025
3026 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3027
3028 * calc/calc-forms.el (calc-date-notation): Fix regexp
3029 used to find time codes. Fix symbol for seconds.
3030
3031 2012-11-27 Glenn Morris <rgm@gnu.org>
3032
3033 * emacs-lisp/derived.el (derived-mode-make-docstring):
3034 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3035
3036 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3037
3038 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3039 lexically scoped variables (bug#13005).
3040
3041 2012-11-27 Glenn Morris <rgm@gnu.org>
3042
3043 * vc/vc-hooks.el (vc-mistrust-permissions):
3044 Default to t, to avoid data-loss. (Bug#11490)
3045
3046 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3047
3048 * progmodes/python.el (python-indent-guess-indent-offset):
3049 If indentation is guessed make python-indent-offset buffer-local.
3050
3051 Fix Imenu regression.
3052 * progmodes/python.el (python-nav-beginning-of-defun):
3053 Fix forward movement when statement(s) separates point from defun.
3054 (python-imenu-prev-index-position): New function.
3055
3056 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3057
3058 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3059
3060 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3061 Don't set buffer-file-type. Return nil. (Bug#12989)
3062
3063 2012-11-27 Glenn Morris <rgm@gnu.org>
3064
3065 * hippie-exp.el (hippie-expand-try-functions-list):
3066 Re-autoload it. (Bug#12982)
3067
3068 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3069
3070 * descr-text.el (describe-char-padded-string):
3071 Call internal-char-font only on GUI frames. (Bug#11964)
3072
3073 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3074
3075 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3076 and obsoletion message.
3077
3078 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3079
3080 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3081 the constructs to keep outside of the `cl-block' (bug#12977).
3082
3083 2012-11-27 Chong Yidong <cyd@gnu.org>
3084
3085 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3086 keep reading until we get the up-event anyway, in order to process
3087 the up-event for mouse-1-click-follows-link (Bug#12971).
3088
3089 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3092 base function is not yet defined (bug#12965).
3093 (ad-activate-advised-definition): Use ad-compile-function.
3094 (ad-activate): Use cond.
3095
3096 2012-11-25 Leo Liu <sdl.web@gmail.com>
3097
3098 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3099 (Bug#12979)
3100
3101 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3102
3103 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3104 reftex-section-info-function in order to be compatible with
3105 Texinfo integration.
3106
3107 * textmodes/reftex.el (reftex-section-pre-regexp)
3108 (reftex-section-post-regexp, reftex-section-info-function):
3109 New variable.
3110 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3111 reftex-section-post-regexp, and reftex-section-info-function in order
3112 to be compatible with Texinfo integration.
3113
3114 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3115 use reftex-section-pre-regexp variable in order to be compatible with
3116 Texinfo integration.
3117
3118 2012-11-25 Chong Yidong <cyd@gnu.org>
3119
3120 * faces.el: Make face-spec-set more analogous to setq.
3121 (face-spec-set): Change the third arg to specify whether this
3122 function is being called via defface, customize, or a third party.
3123 Set the appropriate symbol properties. Clear the override spec if
3124 setting via Custom. Initialize face if necessary. (Bug#4988)
3125 (face-spec-recalc): Allow theme faces to completely replace the
3126 defface spec, in the same way as custom faces (Bug#8454).
3127
3128 * cus-face.el (custom-declare-face): Move face initialization to
3129 face-spec-set.
3130 (custom-theme-set-faces): Don't initialize the face name here, as
3131 that is now done in face-spec-set.
3132
3133 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3134 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3135 Simplify by using the new arg to face-spec-set.
3136
3137 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3138 reset face-override-spec too, and use custom-declare-face.
3139
3140 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3141
3142 * term/ns-win.el (ns-initialize-window-system): Move creation of
3143 fontsets here (Bug#11964).
3144
3145 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3146
3147 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3148 cell renaming.
3149
3150 2012-11-24 Chong Yidong <cyd@gnu.org>
3151
3152 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3153 obsolete.
3154
3155 * custom.el (custom-theme-set-variables): Use a topological sort
3156 for ordering by custom dependencies (Bug#12952).
3157 (custom--sort-vars, custom--sort-vars-1): New functions.
3158
3159 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3160
3161 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3162 lexical-binding (bug#12938).
3163
3164 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3165
3166 * image-mode.el (image-transform-check-size): Use assertions only
3167 for images of type imagemagick.
3168
3169 Otherwise no error, image-transform-fit-to-{width,height} is
3170 silently ignored, as before. Doc fix.
3171
3172 2012-11-24 Chong Yidong <cyd@gnu.org>
3173
3174 * faces.el (color-defined-p): Doc fix (Bug#12853).
3175
3176 2012-11-24 Juri Linkov <juri@jurta.org>
3177
3178 * dired.el (dired-mark): Add optional arg `interactive'.
3179 Check for `use-region-p' if `interactive' is non-nil.
3180 (dired-unmark, dired-flag-file-deletion): Add optional arg
3181 `interactive'. Call `dired-mark' with the arg `interactive'.
3182 (Bug#10624)
3183
3184 * wdired.el: Revert 2012-10-17 change partly and replace it with
3185 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3186 (wdired-finish-edit): Add marks for new file names to
3187 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3188 after `revert-buffer'.
3189 (wdired-do-renames): Remove calls to `dired-remove-file',
3190 `dired-add-file', `dired-add-entry'. (Bug#11795)
3191
3192 2012-11-24 Alan Mackenzie <acm@muc.de>
3193
3194 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3195
3196 Fix bugs in the state cache. Enhance a debugging mechanism.
3197 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3198 "brace at column zero" strategy for C++.
3199 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3200 (c-parse-state-point): New variable.
3201 (c-record-parse-state-state): Record old parse state with
3202 `copy-tree'. Record previous value of point.
3203 (c-debug-parse-state-double-cons): New debugging function.
3204 (c-debug-parse-state): Call the above new function.
3205 (c-toggle-parse-state-debug): Output a confirmatory message.
3206
3207 * progmodes/cc-mode.el (c-before-change, c-after-change):
3208 Call c-invalidate-state-cache from `c-before-change' instead of
3209 `c-after-change'.
3210
3211 2012-11-23 Chong Yidong <cyd@gnu.org>
3212
3213 * find-cmd.el (find-constituents): Add executable, ipath,
3214 readable, samefile, writable, daystart, regextype (Bug#12856).
3215
3216 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3217
3218 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3219
3220 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3221
3222 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3223 definition. This fixes a bootstrap failure.
3224 (calc-gregorian-switch): In menu, put dates before regions.
3225 This is easier to follow, lines up better in the menu, and lets us
3226 coalesce regions that switch at the same time. Give country
3227 names, not "Vatican", as that's better for non-expert users.
3228 Use names that are stable between the date of switch and now, e.g.,
3229 Bohemia and Moravia (which existed then and now) and not
3230 Czechoslovakia (which didn't exist then and doesn't exist now).
3231 What is now the U.S. mostly did not switch at the same time as
3232 Britain, so omit the U.S. Correct spelling of "Britain".
3233 Catholic Switzerland was too much of a mess, so omit it.
3234
3235 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3236
3237 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3238 after the variable is changed.
3239
3240 2012-11-21 Daniel Colascione <dancol@dancol.org>
3241
3242 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3243 in SQL declarations for font-lock.
3244 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3245
3246 2012-11-21 Glenn Morris <rgm@gnu.org>
3247
3248 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3249 (face-italic-p): Add optional argument "inherit".
3250
3251 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3252 Remove -p suffix from names, for consistency with other set-face-*.
3253 (set-face-inverse-video): Fix interactive spec.
3254 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3255 * textmodes/table.el (table--update-cell-face):
3256 Use set-face-inverse-video rather than now obsolete alias.
3257
3258 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3259
3260 * simple.el (line-move): Don't call line-move-partial if
3261 scroll-conservatively is in effect. (Bug#12927)
3262
3263 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3264
3265 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3266 Fallback on completion-at-point rather than
3267 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3268 (eshell-cmpl-initialize): Setup completion-at-point.
3269
3270 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3271
3272 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3273
3274 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3275
3276 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3277 are remote, check out-of-band property for both.
3278
3279 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3282 code rewrite.
3283
3284 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3285
3286 More minor time fixes.
3287 * calendar/time-date.el: Commentary fix.
3288 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3289 too much other code depends on (0 0) time stamps.
3290 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3291 Add a couple of FIXME comments.
3292
3293 Minor cleanup for times as lists of four integers.
3294 * files.el (dir-locals-directory-cache):
3295 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3296 Doc fixes.
3297 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3298 * ps-bdf.el (bdf-file-newer-than-time):
3299 Process four-integers time stamps, not two. Doc fixes.
3300
3301 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3302
3303 * uniquify.el (uniquify-managed): Use defvar-local.
3304 (rename-buffer, create-file-buffer): Advise with advice-add.
3305 (uniquify-unload-function): Unadvise accordingly.
3306
3307 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3308 (trace-buffer): Don't purecopy.
3309 (trace-entry-message, trace-exit-message): Add `context' arg.
3310 (trace--timer): New var.
3311 (trace-make-advice): Adjust for use in nadvice.
3312 Add `context' argument. Delay `display-buffer' via a timer.
3313 (trace-function-internal): Use advice-add.
3314 (trace--read-args): New function.
3315 (trace-function-foreground, trace-function-background): Use it.
3316 (trace-function): Rename to trace-function-foreground and redefine as
3317 an alias to that new name.
3318 (untrace-function, untrace-all): Adjust to the use of nadvice.
3319
3320 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3321
3322 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3323
3324 * subr.el (called-interactively-p-functions): New var.
3325 (internal--called-interactively-p--get-frame): New macro.
3326 (called-interactively-p, interactive-p): Rewrite in Lisp.
3327 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3328 (called-interactively-p-functions): Use it.
3329 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3330 (called-interactively-p-functions): Use it.
3331 * allout.el (allout-called-interactively-p): Don't assume
3332 called-interactively-p is a subr.
3333
3334 2012-11-20 Glenn Morris <rgm@gnu.org>
3335
3336 * profiler.el (profiler-report-mode-map): Add a menu.
3337 No need to bind `q' because we derive from special-mode.
3338 (profiler-report-find-entry): Handle calls from the menu-bar.
3339
3340 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * emacs-lisp/byte-run.el (defun-declarations-alist):
3343 Allow a compiler-macro to be a lambda expression.
3344
3345 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3346 eval-when-compile.
3347 (python-syntax-context): Add compiler-macro.
3348 (python-font-lock-keywords): Simplify with De Morgan.
3349
3350 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3351
3352 * files.el (load-file): Require match in minibuffer selection, as was
3353 the case in Emacs-20 before we changed the spec to allow .elc files
3354 (bug#12935).
3355
3356 * json.el: Don't require cl since we don't use it.
3357 * color.el: Don't require cl.
3358 (color-complement): `caddr' -> `nth 2'.
3359
3360 * calendar/time-date.el (time-to-seconds): De-obsolete.
3361
3362 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3363
3364 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3365 year numbers.
3366 (math-date-to-julian-dt): Adjust the initial approximation for the
3367 year to deal with the new definition of the DATE.
3368
3369 2012-11-19 Daniel Colascione <dancol@dancol.org>
3370
3371 * term/w32-win.el (cygwin-convert-path-from-windows):
3372 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3373
3374 2012-11-18 Chong Yidong <cyd@gnu.org>
3375
3376 * filecache.el (file-cache--read-list): New function.
3377 (file-cache-add-directory-list, file-cache-add-file-list)
3378 (file-cache-delete-file-list, file-cache-delete-directory-list):
3379 Use it to read a list of files or directories (Bug#12846).
3380 (file-cache-add-file, file-cache-add-directory)
3381 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3382 (file-cache-delete-directory): Print an message.
3383
3384 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3385
3386 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3387 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3388
3389 2012-11-18 Glenn Morris <rgm@gnu.org>
3390
3391 * image.el (insert-image, insert-sliced-image): Doc fix.
3392
3393 2012-11-18 Chong Yidong <cyd@gnu.org>
3394
3395 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3396 (Bug#12810).
3397
3398 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3399
3400 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3401 response when the target file is in a subdirectory (Bug#12757).
3402
3403 2012-11-18 Chong Yidong <cyd@gnu.org>
3404
3405 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3406
3407 2012-11-18 Glenn Morris <rgm@gnu.org>
3408
3409 * emacs-lisp/cl-lib.el (face-underline-p):
3410 Use set-face-underline rather than the alias set-face-underline-p.
3411
3412 * window.el (with-temp-buffer-window): Doc fix.
3413 * subr.el (with-output-to-temp-buffer):
3414 Add doc xref to with-temp-buffer-window.
3415
3416 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3417
3418 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3419 * calc/calc.el (math-format-date-cache): Declare.
3420
3421 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3422
3423 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3424 It also uses January 1, 1 AD as its day number 1.
3425 * calc/calc-forms.el (math-julian-date-beginning)
3426 (math-julian-date-beginning-int): Implement this.
3427
3428 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3429
3430 * descr-text.el (quail-find-key):
3431 * dired.el (desktop-file-name):
3432 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3433 * generic-x.el (comint-mode, comint-exec):
3434 * image-dired.el (widget-forward):
3435 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3436 (speedbar-change-expand-button-char)
3437 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3438 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3439 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3440 (widget-field-action, widget-value-set):
3441 * speedbar.el (imenu--make-index-alist):
3442 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3443 (ring-length, ring-insert):
3444 * vcursor.el (compare-windows-skip-whitespace):
3445 * woman.el (dired-get-filename):
3446 Declare functions.
3447
3448 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3449
3450 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3451
3452 * calc/calc.el (calc-gregorian-switch): New variable.
3453
3454 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3455 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3456 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3457 (math-leap-year-p): Add option to distinguish between Julian
3458 and Gregorian calendars.
3459 (math-day-number): Use `math-day-in-year' to do the computations.
3460 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3461 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3462 to do the computations.
3463 (math-date-to-dt): Use `math-date-to-julian-dt' and
3464 `math-date-to-gregorian-dt' to do the computations.
3465 (calcFunc-weekday, math-format-date-part): Use the new version of
3466 the DATE to determine the weekday.
3467 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3468 when necessary.
3469
3470 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3471
3472 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3473 Cygwin; otherwise use 'file:'. (Bug#12914)
3474 (cygwin-convert-path-from-windows): Declare, to avoid
3475 byte-compiler warnings.
3476
3477 2012-11-17 Andreas Politz <politza@fh-trier.de>
3478
3479 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3480 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3481 prefix and negative numeric prefix args (Bug#12795).
3482
3483 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3484
3485 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3486 Don't signal an error with a score that is too low to add to the
3487 list of top scores. (Bug#12779)
3488
3489 2012-11-17 Chong Yidong <cyd@gnu.org>
3490
3491 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3492
3493 * filecache.el (file-cache-add-file): Handle relative file name in
3494 the argument (Bug#12694).
3495
3496 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3497
3498 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3499
3500 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3501
3502 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3503
3504 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3505
3506 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3507
3508 * window.el (enlarge-window, shrink-window): Don't mention return
3509 value in doc-string (Bug#12896).
3510 (window--display-buffer): Don't resize frames - it won't work
3511 with all window managers and defeat pop-up-frame-alist.
3512 (display-buffer-alist): In doc-string explain that CONDITION can
3513 be a function and which arguments are passed to it (Bug#12854).
3514 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3515 expressions (Bug#12854).
3516 (display-buffer): Pass ACTION argument to
3517 display-buffer-assq-regexp.
3518
3519 2012-11-16 Glenn Morris <rgm@gnu.org>
3520
3521 * window.el (fit-frame-to-buffer-bottom-margin)
3522 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3523
3524 * faces.el (face-underline-p): Use face-attribute-specified-or.
3525
3526 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3527
3528 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3529
3530 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3533
3534 2012-11-16 Glenn Morris <rgm@gnu.org>
3535
3536 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3537 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3538
3539 * faces.el (face-underline-p): Doc fix. Handle :underline being
3540 things other than `t' (a string, a list).
3541 (face-inverse-video-p): Doc fix.
3542 (set-face-underline): Rename it back from set-face-underline-p.
3543 Doc fix. Allow interactive input of values other than t.
3544 (read-face-attribute): Apply formatting to :underline,
3545 since like :box and :stipple it can take list values.
3546
3547 * term.el (ansi-term): Don't let C-x escape-char binding
3548 clobber the more standard C-c binding. (Bug#12842)
3549
3550 * subr.el (set-temporary-overlay-map): Doc fix.
3551
3552 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3553
3554 * window.el (record-window-buffer)
3555 (display-buffer-record-window): When copying the markers to
3556 window-point preserve window-point-insertion-type. (Bug#12588)
3557
3558 2012-11-16 Glenn Morris <rgm@gnu.org>
3559
3560 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3561 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3562 Use new names for hooks rather than obsolete aliases.
3563
3564 2012-11-15 Daniel Colascione <dancol@dancol.org>
3565
3566 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3567 prefix instead of "file:" so that when FILE-NAME begins with "//",
3568 as it does when the target file is on a network share, url-handler
3569 isn't confused.
3570
3571 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3572
3573 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3574 a preactivated advice from an old advice.el; they're not compatible!
3575
3576 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3577
3578 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3579 Fix string-spec case.
3580
3581 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3582
3583 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3586 (advice--buffer-local-function-sample): New var.
3587 (advice--set-buffer-local, advice--buffer-local): New functions.
3588 (add-function, remove-function): Use them.
3589
3590 2012-11-15 Drew Adams <drew.adams@oracle.com>
3591
3592 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3593
3594 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3595
3596 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3597 potential binding of print-gensym to t, and prettify (back)quotes in
3598 case they appear in args's default values (bug#12884).
3599
3600 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3603 (advice-eval-interactive-spec): New function.
3604 (advice--make-interactive-form): Support around advice (bug#12844).
3605
3606 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3607
3608 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3609 more strict. Add docstring.
3610 (ruby-expression-expansion-re): Extract from
3611 `ruby-match-expression-expansion'.
3612 (ruby-syntax-propertize-function): After everything else, search
3613 for expansions in string literals, mark their insides as
3614 whitespace syntax and save match data for font-lock.
3615 (ruby-font-lock-keywords): Use the 2nd group from expression
3616 expansion matches.
3617 (ruby-match-expression-expansion): Use the match data saved to the
3618 text property in ruby-syntax-propertize-function.
3619
3620 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3621
3622 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3623 (bug#12879).
3624
3625 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3626
3627 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3628 start/end keyword a bit harder. Works with different values of N.
3629 Add more comments.
3630 (ruby-end-of-block): Update accordingly.
3631
3632 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 * woman.el (woman-file-name): Don't mess with unread-command-events
3635 (bug#12861).
3636
3637 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3638 Remove out of date self-require hack.
3639 (ad-do-advised-functions): Use simple `dolist'.
3640 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3641 (ad-advice-definition): Redefine as functions.
3642 (ad-advice-classes): Move before first use.
3643 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3644 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3645 (ad--defalias-fset): Remove functions.
3646 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3647 (ad-get-orig-definition): Rewrite.
3648 (ad-make-advised-definition-docstring): Change base docstring.
3649 (ad-real-orig-definition): Rewrite.
3650 (ad-map-arglists): Change name of called function.
3651 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3652 (ad-make-advised-definition): Simplify.
3653 (ad-assemble-advised-definition): Tweak for new calling context.
3654 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3655 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3656 function and call ad-activate if needed.
3657 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3658 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3659 (ad-compile-function): Compile ad-Advice-*.
3660 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3661 (ad-start-advice, ad-stop-advice): Remove.
3662
3663 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3664
3665 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3666 period before class method names, not after. Remove handling of
3667 one impossible case. Add comments.
3668
3669 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3670
3671 * emacs-lisp/advice.el: Remove support for freezing.
3672 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3673 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3674 Remove support for `freeze'.
3675
3676 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3677 override the default.
3678 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3679 cl--dotimes/dolist.
3680 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3681 `cl' is loaded.
3682
3683 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3684 from add-advice.
3685 (advice--strip-macro): New function.
3686 (advice--defalias-fset): Use them to handle macros.
3687 (advice-add): Use them.
3688 (advice-member-p): Correctly handle macros.
3689
3690 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3691
3692 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3693 Never font-lock the beginning of singleton class as heredoc.
3694
3695 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3696
3697 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3698
3699 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3700
3701 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3702 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3703 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3704
3705 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3706
3707 Fix end-of-defun misbehavior.
3708 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3709 python-beginning-of-defun-function. Handle nested defuns
3710 correctly.
3711 (python-nav-end-of-defun): Rename from
3712 python-end-of-defun-function. Ensure forward movement.
3713 (python-info-current-defun): Reimplement to work as intended
3714 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3715 parent defuns as soon as possible.
3716
3717 2012-11-13 Glenn Morris <rgm@gnu.org>
3718
3719 * progmodes/flymake.el (flymake-error-bitmap)
3720 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3721 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3722
3723 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3724
3725 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3726 backward, always stop at indentation. Reverts the change from
3727 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3728
3729 2012-11-13 Glenn Morris <rgm@gnu.org>
3730
3731 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3732 Add ibuffer-filter-by-derived-mode.
3733
3734 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3735 the same name shadowing each other.
3736
3737 * window.el (with-temp-buffer-window): Doc tweak.
3738
3739 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3740
3741 * help.el (temp-buffer-max-height):
3742 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3743 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3744
3745 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3746
3747 * emacs-lisp/nadvice.el: New package.
3748 * subr.el (special-form-p): New function.
3749 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3750 (elp-all-instrumented-list): Remove var.
3751 (elp-not-profilable): Remove elp-wrapper.
3752 (elp-profilable-p): Use autoloadp and special-form-p.
3753 (elp--advice-name): New const.
3754 (elp-instrument-function): Use advice-add.
3755 (elp--instrumented-p): New predicate.
3756 (elp-restore-function): Use advice-remove.
3757 (elp-restore-all, elp-reset-all): Use mapatoms.
3758 (elp-set-master): Use elp--instrumented-p.
3759 (elp--make-wrapper): Rename from elp-wrapper, return a function
3760 suitable for advice-add. Use cl-inf.
3761 (elp-results): Use mapatoms+elp--instrumented-p.
3762 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3763 (debug-function-list): Remove var.
3764 (debug): Rename arg, and then let-bind it explicitly inside.
3765 (debugger-setup-buffer): Rename arg.
3766 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3767 (debugger-frame-number): Adjust to new debug-on-entry setup.
3768 (debug--implement-debug-on-entry): Rename from
3769 implement-debug-on-entry, add argument.
3770 (debugger-special-form-p): Remove, use special-form-p instead.
3771 (debug-on-entry): Use advice-add.
3772 (debug--function-list): New function.
3773 (cancel-debug-on-entry): Use it, along with advice-remove.
3774 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3775 (debugger-list-functions): Use debug--function-list instead of
3776 debug-function-list.
3777 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3778 (ad-special-form-p): Remove, use special-form-p instead.
3779 (ad-set-advice-info): Use add-function and remove-function.
3780 (ad--defalias-fset): Adjust accordingly.
3781
3782 2012-11-10 Glenn Morris <rgm@gnu.org>
3783
3784 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3785 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3786 (report-emacs-bug-create-existing-bugs-buffer)
3787 (report-emacs-bug-parse-query-results)
3788 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3789
3790 * term.el (term-default-fg-color, term-default-bg-color):
3791 Make obsolete, rather than just saying "deprecated" in the doc.
3792
3793 * term.el (term): Rename from `term-face'.
3794 (term-current-face, ansi-term-color-vector)
3795 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3796 Update all users.
3797
3798 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3799
3800 * server.el (server-create-window-system-frame): Handle Nextstep
3801 specially (Bug#12780).
3802
3803 2012-11-10 Glenn Morris <rgm@gnu.org>
3804
3805 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3806 Unautoload, and make obsolete. (Bug#7449)
3807
3808 2012-11-10 Chong Yidong <cyd@gnu.org>
3809
3810 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3811 rename from diff-remove-trailing-whitespace (Bug#12831).
3812
3813 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3814
3815 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3816 miscompilation of trace.el.
3817
3818 2012-11-10 Glenn Morris <rgm@gnu.org>
3819
3820 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3821
3822 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3823
3824 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3825 (bug#12812).
3826
3827 2012-11-10 Chong Yidong <cyd@gnu.org>
3828
3829 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3830 a defcustom with an appropriate :set function.
3831 (minibuffer-default--in-prompt-regexps): New function.
3832
3833 2012-11-10 Glenn Morris <rgm@gnu.org>
3834
3835 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3836 (define-modify-macro): Doc fixes.
3837
3838 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3839 (gv-define-simple-setter): Update doc of `fix-return'.
3840
3841 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3842
3843 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3844 twice when `fix-return' is set (bug#12813).
3845
3846 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3847 gv-define-simple-setter (bug#12812).
3848
3849 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3850 (bug#12756).
3851
3852 2012-11-10 Glenn Morris <rgm@gnu.org>
3853
3854 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3855
3856 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3857 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3858 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3859 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3860
3861 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3862
3863 2012-11-10 Leo Liu <sdl.web@gmail.com>
3864
3865 * ido.el (ido-set-matches-1): Improve flex matching performance by
3866 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3867
3868 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3869
3870 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3871 (ad--defalias-fset): New function.
3872 (ad-safe-fset): Remove.
3873 (ad-make-freeze-definition): Use cl-letf*.
3874
3875 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3876
3877 * subr.el (dolist): Don't bind VAR in RESULT.
3878
3879 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3880 (fset, documentation): Don't save real def since we don't advise.
3881 (ad-do-advised-functions): Remove problematic `result-form'.
3882 (ad-safe-fset): `ad-real-fset' => `fset'.
3883 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3884 uses CL's dolist internally.
3885 (ad-arglist): Remove unused arg `name'.
3886 (ad-docstring, ad-make-advised-docstring):
3887 `ad-real-documentation' => `documentation'.
3888 (warning-suppress-types): Declare.
3889 (ad-set-arguments): Simple CSE.
3890 (ad-recover-normality): Sanity check.
3891
3892 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3893 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3894
3895 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3896
3897 * ses.el: symbol to coordinate mapping is made by symbol property
3898 `ses-cell'. This means that the same mapping is done for all SES
3899 sheets. That is good enough for cells with standard A1 names, but
3900 not for named cell. So a hash map is added for the latter.
3901 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3902 (ses-sym-rowcol): Use hashmap for named cell.
3903 (ses-is-cell-sym-p): New defun.
3904 (ses-decode-cell-symbol): New defun.
3905 (ses-create-cell-variable): Add cell to hashmap when name is not
3906 A1-like.
3907 (ses-rename-cell): Check that cell new name is not already in
3908 spreadsheet with the use of ses-is-cell-sym-p
3909 (ses-rename-cell): Use hash map for named cells, but accept also
3910 renaming back to A1-like.
3911
3912 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3913
3914 * emacs-lisp/advice.el: Use new dynamic docstrings.
3915 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3916 Use dynamic-docstring-function instead of ad-advice-info.
3917 (ad--make-advised-docstring): New function extracted from
3918 ad-make-advised-docstring.
3919 (ad-make-advised-docstring): Use it.
3920 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3921 from sql-help.
3922 (sql-help): Use it with dynamic-docstring-function.
3923
3924 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3925
3926 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3927
3928 * files.el (hack-one-local-variable--obsolete): New function.
3929 (hack-one-local-variable): Use it for obsolete settings.
3930
3931 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3932 the new name.
3933
3934 * progmodes/js.el (js--filling-paragraph): New var.
3935 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3936 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3937 less sneaky.
3938
3939 2012-11-08 Julien Danjou <julien@danjou.info>
3940
3941 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3942 `auto-mode-alist' (Bug#12835).
3943
3944 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3945
3946 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3947 (perl--prettify-symbols-alist): New const.
3948 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3949 New functions.
3950 (perl-font-lock-keywords-2): Use them.
3951 (perl-electric-noindent-p): New function.
3952 (perl-mode): Use it to set up electric-indent-mode.
3953 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3954 (perl-mode-map): Remove bindings for them.
3955 (perl-imenu-generic-expression, perl-outline-level):
3956 Match functions&packages in column>0.
3957
3958 * env.el (env--substitute-vars-regexp): New const.
3959 (substitute-env-vars): Use it. Add `only-defined' arg.
3960 * net/tramp.el (tramp-replace-environment-variables): Use it.
3961
3962 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3963 Byte-compile *before* eval in eval-and-compile.
3964 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3965 (byte-compile-file-form-autoload): Don't hide actual definition.
3966 (byte-compile-maybe-guarded): Accept `functionp' as well.
3967
3968 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3969
3970 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3971
3972 * notifications.el (notifications-get-server-information-method):
3973 New defconst.
3974 (notifications-get-capabilities): Fix docstring.
3975 (notifications-get-server-information): New defun.
3976
3977 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3978
3979 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3980 readability.
3981
3982 * textmodes/ispell.el: Experimental support for support debugging.
3983 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3984 buffer for ispell.
3985 (ispell-print-if-debug): New function to print stuff to
3986 `ispell-debug-buffer' if debugging is enabled.
3987 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3988 show some debugging info.
3989 (ispell-buffer-with-debug): New function that creates a debugging
3990 buffer and calls `ispell-buffer' with debugging enabled.
3991
3992 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3993 comment in autoconf mode. (Bug#12768)
3994
3995 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3996
3997 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3998 frame-first-window, frame-root-window, frame-selected-window,
3999 minibuffer-selected-window, minibuffer-window,
4000 window-absolute-pixel-edges, window-at, window-body-height,
4001 window-body-width, window-display-table, window-combination-limit,
4002 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4003 window-inside-edges, window-inside-pixel-edges, window-left-child,
4004 window-left-column, window-margins, window-next-buffers,
4005 window-next-sibling, window-new-normal, window-new-total,
4006 window-normal-size, window-parameter, window-parameters, window-parent,
4007 window-pixel-edges, window-point, window-prev-buffers,
4008 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4009 window-start, window-text-height, window-top-child, window-top-line,
4010 window-total-height, window-total-width and window-use-time to the list
4011 of functions without side-effects.
4012 (toplevel): Add window-valid-p to the list of error-free functions
4013 without side-effects.
4014
4015 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4016
4017 * textmodes/ispell.el (ispell-program-name):
4018 Update spellchecker parameters when customized.
4019
4020 2012-11-04 Glenn Morris <rgm@gnu.org>
4021
4022 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4023
4024 2012-11-04 Chong Yidong <cyd@gnu.org>
4025
4026 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4027 same-window-* variables.
4028
4029 2012-11-04 Juri Linkov <juri@jurta.org>
4030
4031 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4032 (isearch-describe-key, isearch-describe-mode): Use a display
4033 action instead of binding same-window-* variables (Bug#10040).
4034
4035 2012-11-03 Glenn Morris <rgm@gnu.org>
4036
4037 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4038 Rename handler properties back from cl-- to cl-. (Bug#12788)
4039
4040 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4041
4042 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4043
4044 * term/pc-win.el: Don't load term/internal from here.
4045
4046 * loadup.el: Load term/internal from here.
4047
4048 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4049
4050 * progmodes/python.el (inferior-python-mode): Fix hang in
4051 jit-lock (Bug#12645).
4052
4053 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4054
4055 * window.el (switch-to-visible-buffer)
4056 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4057
4058 2012-11-03 Glenn Morris <rgm@gnu.org>
4059
4060 * emacs-lisp/cl-lib.el (cl--random-time):
4061 Rename from cl-random-time. (Bug#12773)
4062 (cl--gensym-counter, cl--random-state): Update callers.
4063 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4064
4065 2012-11-03 Chong Yidong <cyd@gnu.org>
4066
4067 * cus-start.el: Make cursor-type customizable (Bug#11633).
4068
4069 2012-11-02 Glenn Morris <rgm@gnu.org>
4070
4071 * filecache.el: No need to load find-lisp when compiling.
4072 (find-lisp-find-files): Autoload it.
4073 (file-cache-add-directory-recursively): Don't require find-lisp.
4074
4075 * image.el (image-type-from-file-name): Trivial simplification.
4076
4077 * emacs-lisp/bytecomp.el (byte-compile-eval):
4078 Decouple "noruntime" and "cl-functions" warnings.
4079
4080 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4081
4082 * play/gomoku.el (gomoku-display-statistics): Update mode line
4083 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4084
4085 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4086
4087 * window.el (quit-restore-window): If the window has been
4088 created on an existing frame and ended up as the sole window on
4089 that frame, do not delete it (Bug#12764).
4090
4091 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4092
4093 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4094 Rename from sh--inside-arithmetic-expression, handle more cases
4095 (bug#11263).
4096
4097 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4098 (sh-font-lock-open-heredoc): Use it (bug#12770).
4099
4100 2012-10-30 Glenn Morris <rgm@gnu.org>
4101
4102 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4103
4104 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4105
4106 2012-10-29 Chong Yidong <cyd@gnu.org>
4107
4108 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4109 function key is stored in a keyboard macro (Bug#4894).
4110
4111 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4112
4113 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4116 header comments".
4117 (diff-unified->context, diff-context->unified)
4118 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4119
4120 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4121
4122 * files.el (find-alternate-file): Only ask one question (bug#12487).
4123
4124 2012-10-29 Chong Yidong <cyd@gnu.org>
4125
4126 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4127 Suggested by Dan Nicolaescu (Bug#6326).
4128
4129 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4130
4131 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4132
4133 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4134
4135 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4136
4137 * face-remap.el (face-remap-add-relative): Handle the case where a
4138 face-remapping-alist entry is a cons cell (Bug#12762).
4139
4140 2012-10-29 Kevin Ryde <user42@zip.com.au>
4141
4142 * woman.el (woman-parse-numeric-value): Handle picas correctly
4143 (Bug#12639).
4144
4145 2012-10-29 Glenn Morris <rgm@gnu.org>
4146
4147 * emacs-lisp/cl.el (defsetf): Doc fix.
4148
4149 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4150
4151 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4152 syntax to the matching opener, if any (bug#12547).
4153 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4154 matching open as a "case-(".
4155 (sh-smie-rc-grammar): Add a corresponding rule for it.
4156
4157 2012-10-28 Daniel Hackney <dan@haxney.org>
4158
4159 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4160 "PKGNAME-autoloads.el" in case we created it.
4161
4162 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4163
4164 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4165 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4166 (completion--twq-all): Disable too-strict assertions.
4167
4168 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4169
4170 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4171
4172 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4173 text to match the real keybindings.
4174
4175 2012-10-27 Juri Linkov <juri@jurta.org>
4176
4177 * wdired.el (wdired-keep-marker-rename): New defcustom.
4178 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4179 (Bug#11795)
4180
4181 * dired.el (dired-keep-marker-rename): Add reference to
4182 `wdired-keep-marker-rename' in the docstring.
4183 Add default character value ?R to display initially in
4184 Customization UI instead of ?@.
4185
4186 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4187
4188 * window.el (display-buffer): In doc-string describe
4189 window-height and window-width alist entries.
4190
4191 * time.el (display-time-world): Restore fit-window-to-buffer
4192 behavior.
4193
4194 2012-10-27 Chong Yidong <cyd@gnu.org>
4195
4196 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4197
4198 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4199
4200 * minibuffer.el (completion-category-overrides): New completion
4201 category `bookmark' (bug#11131).
4202
4203 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4204
4205 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4206 Silence bogus compiler warnings for ad-do-it.
4207
4208 * bookmark.el (bookmark-completing-read): Set the completion category
4209 to `bookmark' (bug#11131).
4210
4211 2012-10-26 Bastien <bzg@altern.org>
4212 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 * face-remap.el: Use lexical-binding.
4215 (text-scale-adjust): Improve docstring. Use itself for the temporary
4216 overlay-map bindings, so as to repeat the "Use..." message each time.
4217
4218 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4219
4220 * emacs-lisp/macroexp.el (macroexp--expand-all):
4221 Obey byte-compile-warning-enabled-p (bug#12486).
4222
4223 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4224 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4225
4226 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4227
4228 * mouse.el (mouse-drag-line): Move last form into preceding when
4229 clause (Bug#12731).
4230
4231 * help.el (resize-temp-buffer-window): Fix doc-string.
4232
4233 2012-10-25 David Engster <deng@randomsample.de>
4234
4235 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4236 Remove. This feature is already integrated in imenu.
4237
4238 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4239 always loaded. Require `speedbar' unconditionally.
4240
4241 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4242
4243 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4244
4245 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4246
4247 * net/ldap.el (ldap-search-internal): The official ldif format starts
4248 with a "version: 1" header (bug#12724).
4249
4250 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4251 (bug#12721).
4252
4253 2012-10-25 Glenn Morris <rgm@gnu.org>
4254
4255 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4256
4257 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * minibuffer.el (minibuffer-force-complete): Use one more marker
4260 for the temporary-overlay-map command (bug#12619).
4261
4262 2012-10-24 Chong Yidong <cyd@gnu.org>
4263
4264 * time.el (display-time-world-mode): Derive from special-mode.
4265 (display-time-world): Use display-buffer (Bug#12708).
4266 (display-time-world-mode-map): Variable deleted.
4267 (display-time-world-display): Wrap the final delete-char inside
4268 inhibit-read-only.
4269
4270 2012-10-24 Chong Yidong <cyd@gnu.org>
4271
4272 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4273 Doc fix.
4274
4275 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4276
4277 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4278
4279 * minibuffer.el (completion--all-sorted-completions-location): New var.
4280 (completion--cache-all-sorted-completions)
4281 (completion--flush-all-sorted-completions): Use it.
4282 (completion-in-region, completion-in-region--postch)
4283 (completion-at-point, completion-help-at-point): Use markers in
4284 completion-in-region--data (bug#12619).
4285
4286 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * progmodes/compile.el (compilation-start): Try to handle common
4289 quoting of `cd' argument (bug#12640).
4290
4291 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4292 (bug#12671).
4293
4294 2012-10-23 Glenn Morris <rgm@gnu.org>
4295
4296 * progmodes/gud.el (gud-menu-map):
4297 Check gdb-active-process is bound. (Bug#12358)
4298
4299 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4300
4301 * repeat.el (repeat): Set real-this-command (bug#12232).
4302
4303 * htmlfontify.el (hfy-post-html-hook):
4304 * filesets.el (filesets-cache-fill-content-hook):
4305 * arc-mode.el (archive-extract-hook):
4306 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4307 * net/rcirc.el (rcirc-sentinel-functions)
4308 (rcirc-receive-message-functions, rcirc-activity-functions)
4309 (rcirc-print-functions):
4310 * net/dbus.el (dbus-event-error-functions):
4311 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4312 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4313 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4314 * term/sun.el (sun-raw-prefix-hooks):
4315 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4316
4317 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4318
4319 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4320 Set `tramp-chunksize' to 1. This improves the performance.
4321 (tramp-smb-wait-for-output): Add timeout to
4322 `tramp-accept-process-output' calls.
4323
4324 2012-10-23 Chong Yidong <cyd@gnu.org>
4325
4326 * faces.el (font-list-limit): Define as an obsolete variable.
4327
4328 * startup.el (command-line):
4329 * cus-start.el: Don't refer to font-list-limit.
4330
4331 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4332
4333 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4334
4335 * subr.el (internal-temp-output-buffer-show): Rename from
4336 temp-output-buffer-show, since previously compiled files expect this name.
4337
4338 2012-10-23 Glenn Morris <rgm@gnu.org>
4339
4340 * image.el (image-type-from-file-name): If multiple types match,
4341 return the first one that is supported. (Bug#9045)
4342
4343 2012-10-22 Glenn Morris <rgm@gnu.org>
4344
4345 * image.el (imagemagick-enabled-types): Doc fix.
4346
4347 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4348
4349 * progmodes/which-func.el (which-func-current): The hash-table may have
4350 an explicit nil (bug#12338).
4351
4352 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4353
4354 * electric.el (electric-pair-delete-selection-self-insert-function):
4355 Rename to electric-pair-will-use-region, return a boolean.
4356 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4357
4358 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4359 (delete-selection-pre-hook): Use use-region-p.
4360 (delete-selection-self-insert-function): Remove.
4361 (self-insert-command): Obey self-insert-uses-region-functions.
4362 (self-insert-iso): Revert to previous setting, since we don't actually
4363 know what that command does.
4364 (delete-selection-self-insert-hooks): Remove.
4365
4366 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4367
4368 * delsel.el (delete-selection-helper): New function, extracted from
4369 delete-selection-pre-hook.
4370 (delete-selection-pre-hook): Use it.
4371 (delete-selection-self-insert-function): New function.
4372 (delete-selection-self-insert-hooks): New hook.
4373 (self-insert-command, self-insert-iso): Use it.
4374 * electric.el (electric-pair-syntax): New function, extracted from
4375 electric-pair-post-self-insert-function.
4376 (electric-pair-post-self-insert-function): Use it.
4377 (electric-pair-delete-selection-self-insert-function): New function.
4378 (electric-pair-mode): Require delsel and setup
4379 delete-selection-self-insert-hooks (bug#11520).
4380
4381 2012-10-20 Chong Yidong <cyd@gnu.org>
4382
4383 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4384 no changes to show (Bug#12586).
4385
4386 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4387 list explicitly (Bug#12571).
4388
4389 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4390
4391 * progmodes/flymake.el (flymake-create-temp-inplace):
4392 Use file-truename.
4393
4394 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4395
4396 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4397
4398 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4399
4400 * calc/calc-units.el (math-extract-units): Properly extract powers
4401 of units.
4402
4403 2012-10-20 Daniel Colascione <dancol@dancol.org>
4404
4405 * frame.el (make-frame): Set x-display-name as we used to in order
4406 to unbreak creating an X11 frame from an Emacs daemon started
4407 without a display.
4408
4409 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4410
4411 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4412 the same completion-field (bug#12221).
4413
4414 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4415
4416 * emacs-lisp/debug.el (debug): Record height of debugger window
4417 also when debugger will be back (Bug#8789).
4418
4419 2012-10-18 Chong Yidong <cyd@gnu.org>
4420
4421 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4422 Convert to defcustom.
4423 (gdb-get-source-file): Don't bind pop-up-windows.
4424
4425 * progmodes/gud.el (gud-display-line): Don't specially re-use
4426 other frames for the gdb-mi case (Bug#12648).
4427
4428 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 * emacs-lisp/advice.el: Clean up commentary a bit.
4431 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4432 (byte-code-function-p): Never redefine.
4433
4434 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4435
4436 2012-10-18 Glenn Morris <rgm@gnu.org>
4437
4438 * dired.el (dired-sort-toggle): Some ls implementations only allow
4439 a single option string. (Bug#12666)
4440
4441 * minibuffer.el (completion-cycle-threshold): Doc fix.
4442
4443 2012-10-17 Kenichi Handa <handa@gnu.org>
4444
4445 * international/mule.el (set-keyboard-coding-system):
4446 Recover input meta mode when the new coding system doesn not use 8-bit.
4447 Supply TERMINAL arg to set-input-meta-mode.
4448
4449 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4450
4451 * wdired.el (wdired-old-marks): New variable.
4452 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4453 (wdired-do-renames): Move point with renamed file and don't lose
4454 mark status (Bug#11795).
4455
4456 2012-10-16 Juri Linkov <juri@jurta.org>
4457
4458 * replace.el (query-replace-help): Mention multi-buffer replacement
4459 keys in the Help message. (Bug#12655)
4460
4461 2012-10-15 Chong Yidong <cyd@gnu.org>
4462
4463 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4464
4465 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4466
4467 * window.el (display-buffer): Doc fix.
4468
4469 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4470 Adjust the msft regexp to the output of Studio 2010, and move msft
4471 before edg-1. See the discussion on emacs-devel,
4472 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4473 for the details.
4474
4475 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4476
4477 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4478 (oset): Move uses of object-class-fast macro after its definition.
4479
4480 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4481
4482 2012-10-13 Chong Yidong <cyd@gnu.org>
4483
4484 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4485 enabled, re-enable it (Bug#11963).
4486
4487 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4488
4489 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4490 non-nil, restore window configuration (Bug#12623).
4491
4492 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4493
4494 * help-fns.el (describe-variable, describe-function-1):
4495 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4496
4497 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4498
4499 2012-10-12 Glenn Morris <rgm@gnu.org>
4500
4501 * mail/rmailsum.el (rmail-header-summary):
4502 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4503
4504 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4505
4506 * progmodes/python.el (python-mode-map):
4507 Replace subtitute-key-definition with proper command remapping.
4508 (python-nav--up-list): Fix behavior for blocks on the same level.
4509
4510 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4511
4512 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4513
4514 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4515 changes to the format of load-history.
4516
4517 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4518 completion-ignore-case in case that var is buffer-local (bug#12615).
4519
4520 2012-10-11 Kenichi Handa <handa@gnu.org>
4521
4522 * international/eucjp-ms.el: Re-generated.
4523
4524 2012-10-10 Kenichi Handa <handa@gnu.org>
4525
4526 * select.el (xselect--encode-string): If a coding is specified for
4527 selection, and that is compatible with COMPOUND_TEXT, use it.
4528
4529 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4530
4531 * window.el (switch-to-buffer-preserve-window-point): New option.
4532 (switch-to-buffer):
4533 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4534
4535 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4536
4537 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4538 Don't document nil as a useful value (bug#12583).
4539
4540 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4541
4542 * net/tramp.el (tramp-debug-message):
4543 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4544 (with-tramp-progress-reporter): Rename from
4545 `tramp-with-progress-reporter'.
4546 (with-tramp-file-property, with-tramp-connection-property):
4547 Move from tramp-cache.el, rename from `with-file-property' and
4548 `with-connection-property', respectively.
4549
4550 * net/tramp-cache.el: Remove `with-file-property' and
4551 `with-connection-property'.
4552
4553 * net/tramp.el:
4554 * net/tramp-gvfs.el:
4555 * net/tramp-sh.el:
4556 * net/tramp-smb.el: Adapt callees.
4557
4558 * net/trampver.el: Update release number.
4559
4560 2012-10-09 Glenn Morris <rgm@gnu.org>
4561
4562 * w32-fns.el (set-message-beep):
4563 * term/w32-win.el (set-message-beep): Update declarations.
4564
4565 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4566
4567 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4568 (mode-line-widen, mode-line-input-method-map)
4569 (mode-line-coding-system-map, mode-line-remote)
4570 (mode-line-unbury-buffer, mode-line-bury-buffer)
4571 (mode-line-next-buffer, mode-line-previous-buffer):
4572 Replace save-selected-window+select-window => with-selected-window.
4573
4574 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4575 * progmodes/cc-vars.el (bq-process): Remove, unused.
4576
4577 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4578
4579 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4580
4581 Implemented `backward-up-list'-like navigation.
4582 * progmodes/python.el (python-nav-up-list)
4583 (python-nav-backward-up-list): New functions.
4584 (python-mode-map): Define substitute key for backward-up-list to
4585 python-nav-backward-up-list.
4586
4587 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4588
4589 * progmodes/python.el (python-fill-paragraph): Rename from
4590 python-fill-paragraph-function. Fixed fill-paragraph for
4591 decorators (Bug#12605).
4592
4593 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4594
4595 * progmodes/python.el (python-shell-output-filter): Handle extra
4596 carriage return in OSX (Bug#12409).
4597
4598 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4599
4600 Fix shell handling of unbalanced quotes and parens in output.
4601 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4602 (python-syntax-propertize-function): Use it.
4603 (python-shell-output-syntax-table): New var.
4604 (inferior-python-mode): Prevent unbalanced parens/quotes from
4605 previous output mess with current input context.
4606
4607 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4608
4609 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4610 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4611
4612 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4613
4614 * ffap.el (ffap-replace-file-component): Support Tramp file name
4615 syntax, not only ange-ftp's one.
4616
4617 2012-10-08 Glenn Morris <rgm@gnu.org>
4618
4619 * cus-start.el (message-log-max): Set :version.
4620
4621 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4622
4623 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4624
4625 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4626 the minibuffer window (Bug#10851).
4627
4628 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4629
4630 Enhancements on forward-sexp movement.
4631 * progmodes/python.el (python-nav-beginning-of-statement)
4632 (python-nav-end-of-statement): Return point-marker.
4633 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4634 (python-info-current-symbol)
4635 (python-info-statement-starts-block-p): Rename from
4636 python-info-beginning-of-block-p.
4637 (python-info-statement-ends-block-p): Rename from
4638 python-info-end-of-block-p.
4639 (python-info-beginning-of-statement-p)
4640 (python-info-end-of-statement-p)
4641 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4642 New functions.
4643
4644 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4645
4646 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4647 frame-selected-windows.
4648
4649 2012-10-08 Daniel Colascione <dancol@dancol.org>
4650
4651 * battery.el (battery-status-function): Check for
4652 w32-battery-status itself, not system-time windows-nt.
4653
4654 * frame.el: Require cl-lib.
4655 (display-format-alist): New variable mapping frame types to
4656 functions that initialize them.
4657 (window-system-for-display): New function: interprets
4658 display-format-alist.
4659 (make-frame-on-display): Remove existing display-selection logic
4660 and just forward to make-frame, which will now DTRT.
4661 (make-frame): Restructure to use window-system-for-display to
4662 figure out how to create a frame on a given display.
4663 (display-mouse-p): Look for frame-type w32, not a particular
4664 system-type.
4665
4666 * loadup.el: Load w32 lisp code when we have the w32 feature.
4667
4668 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4669 system-type windows-nt.
4670
4671 * server.el (server-create-window-system-frame): Look for window
4672 type.
4673 (server-proces-filter): Only force a window system when windows-nt
4674 _and_ w32. Explain why.
4675
4676 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4677 of window systems we configure for the mode.
4678
4679 * startup.el (command-line): Mark window system is initialized
4680 after we've done it.
4681
4682 * common-win.el (x-select-text): Look for w32, not windows-nt.
4683
4684 * ns-win.el: Require cl-lib. Add ourselves to
4685 display-format-alist.
4686 (ns-initialize-window-system): Assert we're not initialized twice.
4687
4688 * w32-win.el: Enable lexical binding; require cl-lib; add
4689 ourselves to display-format-alist.
4690 (w32-handle-dropped-file): Convert incoming dropped files from
4691 Windows paths to Cygwin ones before passing them on to the rest of
4692 Emacs.
4693 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4694 (w32-initialize-window-system): Assert we're not initialized twice.
4695
4696 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4697 (x-initialize-window-system): Assert we're not initialized twice.
4698
4699 * w32-common-fns.el: New File.
4700 (w32-version, w32-using-nt, w32-get-clipboard-data)
4701 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4702 (w32-charset-info-alist, x-last-selected, text)
4703 (x-get-selection-value, x-selection-value): Move here.
4704
4705 * w32-fns.el: Require w32-common-fns.
4706 (w32-version, w32-using-nt, w32-get-clipboard-data)
4707 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4708 (w32-charset-info-alist, x-last-selected, text)
4709 (x-get-selection-value, x-selection-value): Move to
4710 w32-common-fns.
4711
4712 * w32-vars.el:
4713 (w32-allow-system-shell, w32-system-shells): Define only in
4714 non-cygwin case.
4715
4716 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4717
4718 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4719 (read-passwd): Remove a few more potential sources of leaks.
4720
4721 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4722
4723 * progmodes/python.el (inferior-python-mode)
4724 (python-shell-make-comint): Fix initialization of local
4725 variables copied from parent buffer.
4726
4727 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4728
4729 * term/ns-win.el (ns-read-file-name): Update declaration to match
4730 nsfns.m.
4731 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4732 it is set when font is acted upon.
4733
4734 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4735
4736 Enhancements to indentation.
4737 * progmodes/python.el (python-indent-context): Give priority to
4738 inside-string context. Make comments indentation markers.
4739 (python-indent-region): Do not mess with strings, unless it's the
4740 enclosing set of quotes.
4741
4742 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4743
4744 * window.el (internal--before-save-selected-window)
4745 (internal--after-save-selected-window): New functions extracted from
4746 save-selected-window. Make sure we return the `alist' we construct.
4747 (save-selected-window): Use them.
4748
4749 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4750 Use with-selected-window.
4751
4752 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4753 forms that define macros (bug#12593).
4754
4755 2012-10-07 Kenichi Handa <handa@gnu.org>
4756
4757 * international/mule-conf.el (compound-text-with-extensions):
4758 Add :mime-charset property as x-ctext.
4759
4760 2012-10-07 Stefan Merten <smerten@oekonux.de>
4761
4762 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4763 (rst-indent-literal-normal, rst-indent-literal-minimized)
4764 (rst-indent-comment): Correct :version tag.
4765 (rst-official-cvs-rev): Correct version string.
4766
4767 2012-10-07 Glenn Morris <rgm@gnu.org>
4768
4769 * mail/rmailmm.el (rmail-mime-process-multipart):
4770 Do not confuse a multipart message with an epilogue
4771 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4772
4773 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4774
4775 Fix shell output retrieval and comint-prompt-regexp init.
4776 * progmodes/python.el (inferior-python-mode):
4777 (python-shell-make-comint): Fix initialization of
4778 comint-prompt-regexp from copied file local variables.
4779 (python-shell-fetched-lines): Remove var.
4780 (python-shell-output-filter-in-progress): Rename from
4781 python-shell-fetch-lines-in-progress.
4782 (python-shell-output-filter-buffer): Rename from
4783 python-shell-fetch-lines-string.
4784 (python-shell-fetch-lines-filter): Delete function.
4785 (python-shell-output-filter): New function.
4786 (python-shell-send-string-no-output): Use them.
4787
4788 2012-10-07 Glenn Morris <rgm@gnu.org>
4789
4790 * hi-lock.el (hi-lock-process-phrase):
4791 Try to make it less fragile. (Bug#7161)
4792
4793 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4794
4795 2012-10-06 Glenn Morris <rgm@gnu.org>
4796
4797 * ehelp.el (electric-help-mode): Use help-mode rather than
4798 non-existent mode `help'.
4799 (electric-help-map): Use button-buffer-map. (Bug#10917)
4800
4801 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4802 (reftex-create-bibtex-footer): Fix custom types.
4803
4804 * progmodes/sh-script.el (sh-indent-after-continuation):
4805 Add explicit :group.
4806
4807 * textmodes/rst.el (rst-preferred-decorations)
4808 (rst-shift-basic-offset): Clarify obsolescence versions.
4809
4810 * profiler.el (profiler): Add missing group :version tag.
4811 * avoid.el (mouse-avoidance-banish-position):
4812 * proced.el (proced-renice-command):
4813 * calc/calc.el (calc-ensure-consistent-units):
4814 * calendar/icalendar.el (icalendar-import-format-uid):
4815 * net/tramp.el (tramp-save-ad-hoc-proxies):
4816 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4817 * progmodes/flymake.el (flymake-error-bitmap)
4818 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4819 * progmodes/sh-script.el (sh-indent-after-continuation):
4820 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4821 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4822 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4823 (vhdl-array-index-record-field-in-sensitivity-list)
4824 (vhdl-indent-comment-like-next-code-line):
4825 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4826 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4827 (reftex-cite-key-separator, reftex-create-bibtex-header)
4828 (reftex-create-bibtex-footer):
4829 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4830 (rst-indent-literal-normal, rst-indent-literal-minimized)
4831 (rst-indent-comment): Add missing custom :version tags.
4832
4833 * calendar/timeclock.el (timeclock-modeline-display):
4834 Add missing obsolete alias for renamed user option.
4835
4836 * strokes.el (strokes-modeline-string):
4837 * emulation/crisp.el (crisp-mode-modeline-string):
4838 * eshell/esh-mode.el (eshell-status-in-modeline):
4839 Aliases to defcustoms must come before the defcustom.
4840
4841 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4842 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4843 (cal-tex-cursor-week-monday): Doc fixes.
4844 (cal-tex-cursor-week2-summary): Doc fix.
4845 Rename from cal-tex-cursor-week-at-a-glance.
4846
4847 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4848 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4849
4850 * calendar/calendar.el (calendar-mode-map):
4851 Add cal-tex-cursor-week2-summary.
4852
4853 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4856
4857 * subr.el (read-passwd-map): New var.
4858 (read-passwd): Use `read-string' again.
4859 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4860
4861 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4862
4863 * register.el (append-to-register, prepend-to-register):
4864 Deactivate mark, as does `copy-to-register' (bug#12389).
4865
4866 2012-10-06 Chong Yidong <cyd@gnu.org>
4867
4868 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4869
4870 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4871
4872 * international/characters.el: Fix simple mistake ((car chars) ->
4873 elt), delete duplicated code.
4874
4875 2012-10-06 Glenn Morris <rgm@gnu.org>
4876
4877 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4878
4879 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4880
4881 * color.el (color-hsl-to-rgb): Fix incorrect results for
4882 small and large hue values. (Bug#12559)
4883
4884 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4885
4886 Enhancements to docstring formatting when filling paragraphs.
4887 * progmodes/python.el (python-fill-docstring-style): Rename from
4888 python-fill-string-style. Added new style.
4889 (python-fill-string): Use new style. Better checks for
4890 docstrings.
4891
4892 2012-10-05 Glenn Morris <rgm@gnu.org>
4893
4894 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4895
4896 * color.el (color-name-to-rgb, color-rgb-to-hex)
4897 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4898 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4899 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4900 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4901
4902 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4903
4904 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4905
4906 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4907 to get the correct size across symlinks.
4908
4909 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4910
4911 2012-10-04 Juri Linkov <juri@jurta.org>
4912
4913 * replace.el (query-replace-interactive): Declare obsolete.
4914 (query-replace-read-from): Add the last incremental search string
4915 to the list of default values accessible via M-n.
4916 (map-query-replace-regexp): Use `read-regexp'.
4917 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4918 (map-query-replace-regexp, replace-string, replace-regexp):
4919 Fix docstrings to replace mentions of `query-replace-interactive'
4920 with alternatives. (Bug#12526)
4921
4922 2012-10-04 Juri Linkov <juri@jurta.org>
4923
4924 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4925 (dired-pop-to-buffer): Declare obsolete.
4926 (dired-mark-pop-up): Doc fix.
4927
4928 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4929
4930 Allow user to set docstring style for fill-paragraph.
4931 * progmodes/python.el
4932 (python-fill-comment-function, python-fill-string-function)
4933 (python-fill-decorator-function, python-fill-paren-function):
4934 Remove :safe for defcustoms.
4935 (python-fill-string-style): New defcustom
4936 (python-fill-paragraph-function): Enhance context detection.
4937 (python-fill-string): Honor python-fill-string-style settings.
4938
4939 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4940
4941 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4942 after setting its buffer (Bug#10805).
4943
4944 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4945
4946 Fix cornercase for string syntax.
4947 * progmodes/python.el (python-syntax-propertize-function):
4948 Simplify and enhance the regexp for unescaped quotes. Now it also
4949 matches quotes in weird situations like the single quote in
4950 "something\"'".
4951 (python-syntax-stringify): Simplify num-quotes detecting code.
4952
4953 2012-10-03 Glenn Morris <rgm@gnu.org>
4954
4955 * help-macro.el (three-step-help):
4956 Revert 2012-09-29 change. (Bug#12567)
4957
4958 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4959
4960 * menu-bar.el (kill-this-buffer): Don't do anything when
4961 `menu-frame' is not alive or visible (Bug#8184).
4962
4963 * emacs-lisp/debug.el (debug): When quitting the debugger window
4964 restore current buffer (Bug#12502).
4965
4966 2012-10-02 Chong Yidong <cyd@gnu.org>
4967
4968 * progmodes/hideif.el (hif-lookup, hif-defined):
4969 Handle semantic-c-takeover-hideif.
4970
4971 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4972
4973 Change sampling interval units from ms to ns.
4974 * profiler.el (profiler-sampling-interval): Change units
4975 from ms to ns, multiplying the default by 1000000 so that
4976 it remains 1 ms.
4977 (profiler-report-cpu-line-format): Give enough room for
4978 the maximum counters on 64-bit hosts.
4979 (profiler-report-render-calltree-1): Call them "CPU samples",
4980 not "Time (ms)", since they are not milliseconds now (and
4981 never really were).
4982
4983 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4984
4985 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4986 Fix querying BBDB for entries without a last name (Bug#11580).
4987
4988 2012-10-02 Chong Yidong <cyd@gnu.org>
4989
4990 * emacs-lisp/eieio.el: Restore Version header.
4991
4992 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4993
4994 * vc/diff-mode.el (diff--auto-refine-data): New var.
4995 (diff-hunk): Use it to delay refinement.
4996 (diff-mode): Remove overlays when we turn off font-lock.
4997
4998 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4999 (table-initialize-table-fixed-width-mode)
5000 (table-set-table-fixed-width-mode): Remove functions.
5001 (table-command-list): Move initialization into declaration.
5002 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5003 (table-with-cache-buffer): Use `declare'.
5004 (table-span-cell): Simplify via CSE.
5005 (table-fixed-width-mode): Use define-minor-mode.
5006 (table-call-interactively, table-funcall, table-apply): Remove.
5007 (table-function): New function, to replace them.
5008
5009 * bookmark.el (bookmark-search-pattern): Remove var.
5010 (bookmark-read-search-input): Remove function.
5011 (bookmark-bmenu-search): Reimplement using a minibuffer.
5012
5013 * faces.el (modeline): Remove obsolete face name.
5014
5015 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5016 and give a non-nil default value.
5017 (add-change-log-entry): Simplify accordingly.
5018
5019 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5020
5021 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5022 (vc-git-log-edit-toggle-amend): New function.
5023 (vc-git-log-edit-toggle-signoff): New function.
5024 (vc-git-log-edit-mode): New major mode.
5025 (vc-git-log-edit-mode-map): Keymap for it.
5026 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5027
5028 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5029 header names.
5030 (log-edit-toggle-header): New function.
5031 (log-edit-extract-headers): Accept function values in HEADERS alist.
5032
5033 2012-10-01 David Engster <deng@randomsample.de>
5034
5035 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5036 from symbol property and change message to be more consistent with
5037 Emacs proper.
5038 (eieio-describe-generic): Add filename for each implementation.
5039 Fix indices for generic and normal methods.
5040 (eieio-method-def, eieio-class-def): New buttons.
5041 (eieio-help-find-method-definition)
5042 (eieio-help-find-class-definition): New functions.
5043 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5044 class, constructor and method definitions.
5045
5046 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5047 information in symbol property.
5048 (scoped-class): Remove.
5049 (eieio-slot-name-index, call-next-method): Check if it is bound.
5050
5051 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5052
5053 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5054 (eieio-custom-mode): New major mode.
5055 (eieio-customize-object): Use it.
5056
5057 2012-10-01 Eric Ludlam <zappo@gnu.org>
5058
5059 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5060 specifying the expected class, and whether subclassing is allowed.
5061 (eieio-persistent-convert-list-to-object):
5062 (eieio-persistent-validate/fix-slot-value)
5063 (eieio-persistent-slot-type-is-class-p): New functions.
5064 (eieio-named::slot-missing): Doc fix.
5065
5066 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5067 Stop using unused publd variable.
5068
5069 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5070 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5071 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5072 (eieio-speedbar-handle-click): Do not specify a class for the
5073 method. Fixes method invocation order problems with EDE.
5074
5075 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5076
5077 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5078 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5079
5080 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5081
5082 * bookmark.el (bookmark-version-control): Give tags in the
5083 :type choices (Bug#12309), and improve doc string.
5084 (bookmark-write-file): Bind `print-circle' to `t' to allow
5085 circular custom bookmark types. (Bug#12503)
5086
5087 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5088
5089 Revert the FOLLOW-SYMLINKS change for file-attributes.
5090 * files.el (remote-file-name-inhibit-cache, after-find-file):
5091 * time.el (display-time-file-nonempty-p): Undo last change.
5092
5093 * profiler.el (profiler-sampling-interval): Change default back to 1.
5094 See Stefan Monnier in
5095 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5096
5097 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5098
5099 Shell output catching a la gud-gdb.
5100 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5101 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5102 New Vars.
5103 (python-shell-fetch-lines-filter): New function.
5104 (python-shell-send-string-no-output): Use them.
5105
5106 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5107
5108 * profiler.el (profiler-sampling-interval): Rename from
5109 profiler-sample-interval.
5110 (profiler-sampling-interval): Default to 10.
5111 (profiler-find-profile): New command (was profiler-find-log).
5112 (profiler-find-profile-other-window): New command.
5113 (profiler-find-profile-other-frame): New command.
5114 (profiler-profile): Introduce API-level data structure.
5115
5116 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5117
5118 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5119 * files.el (remote-file-name-inhibit-cache):
5120 * time.el (display-time-file-nonempty-p): Use it.
5121 * files.el (after-find-file): Don't chase links before calling
5122 file-exists-p, as file-exists-p already does the right thing.
5123
5124 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5125
5126 Merge from standalone RefTeX repository.
5127
5128 The following ChangeLog entries are shortened versions of the
5129 original ones with file paths adapted. A not so strongly edited
5130 version of the original ChangeLog can be found in the commit log.
5131
5132 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5133 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5134 Correctly handle new value type returned by `reftex-citation'.
5135
5136 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5137 that entries with whitespace at various places are found.
5138 Doc fix. Include entries that are cross-referenced from cited entries.
5139 Include @String definitions in the resulting bib file. Add header
5140 and footer defined in `reftex-create-bibtex-header' and
5141 `reftex-create-bibtex-footer'.
5142 (reftex-do-citation): Make it possible again to insert
5143 non-existent entries. Save match data when asking for optional
5144 arguments. Return all keys, not just the first one.
5145 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5146 all citations in the same line.
5147 (reftex-parse-bibtex-entry): Accept additional optional argument
5148 `raw' and keep quotes or braces if it is non-nil. Match fields
5149 containing hyphens besides word constituents.
5150 (reftex-get-string-refs): New function.
5151 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5152 and ask if it should be reread in case it did.
5153 (reftex-pop-to-bibtex-entry)
5154 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5155 entries with spaces or tabs in front of arguments.
5156 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5157 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5158 Match entries containing numbers and symbol constituents.
5159 (reftex-do-citation, reftex-figure-out-cite-format):
5160 Use `reftex-cite-key-separator'.
5161
5162 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5163 (reftex-mouse-view-crossref): Explain why point is set.
5164
5165 * textmodes/reftex-global.el: Whitespace changes.
5166
5167 * textmodes/reftex-index.el: Move provide statement to end of
5168 file.
5169 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5170 (reftex-index-visit-phrases-buffer): Set marker when visiting
5171 buffer. This allows for returning from the phrases file to the
5172 file one was just editing instead of the file where the last
5173 phrases was added from.
5174 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5175 punctuation syntax as it usually is not used as string quote in
5176 TeX-related modes and may occur unmatched. The change also
5177 prevents fontification of quoted content.
5178 (reftex-index-phrases-mode): Use it.
5179
5180 * textmodes/reftex-parse.el (reftex-parse-from-file):
5181 Move backward one char if a `\' was matched after a section macro.
5182 (reftex-parse-from-file): Use beginning of match instead of end as
5183 bound.
5184
5185 * textmodes/reftex-ref.el: Adapt creation of
5186 `reftex-<package>-<macro>' functions to new structure of
5187 `reftex-ref-style-alist'.
5188 (reftex-reference): Use `reftex-ref-style-list' function.
5189 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5190 reference macro if `reftex-ref-macro-prompt' is non-nil.
5191 (reftex-reference): Pass refstyle to `reftex-format-special'.
5192 Determine reference macro by looking at
5193 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5194 Use only one special format function.
5195 (reftex-varioref-vref, reftex-fancyref-fref)
5196 (reftex-fancyref-Fref): Remove definitions. The functions are now
5197 generated from `reftex-ref-style-alist'.
5198 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5199 Remove.
5200 (reftex-format-special): New function.
5201
5202 * textmodes/reftex-sel.el
5203 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5204 of `reftex-ref-style-alist'. Remove code for testing macro type.
5205 (reftex-select-toggle-varioref)
5206 (reftex-select-toggle-fancyref): Remove.
5207 (reftex-select-cycle-ref-style-internal)
5208 (reftex-select-cycle-ref-style-forward)
5209 (reftex-select-cycle-ref-style-backward): New functions.
5210 (reftex-select-label-map): Use `v' and `V' for general cycling
5211 through reference styles. Add `p' for switching between number
5212 and page reference types.
5213
5214 * textmodes/reftex-toc.el (reftex-re-enlarge):
5215 Call `enlarge-window' only if there is something to do because in Emacs
5216 the horizontal version throws an error even if the parameter is 0.
5217
5218 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5219 (reftex-plug-into-AUCTeX): Doc fix.
5220 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5221 string. Adapt to new name.
5222 (reftex-ref-style-alist): Change structure so that it is not
5223 possible to use multiple different package names within a style.
5224 Remove the symbols for symbols for macro type distinction.
5225 Add characters for macro selection.
5226 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5227 (reftex-create-bibtex-footer): New variables.
5228 (reftex-format-ref-function): Mention third argument of special
5229 format function.
5230 (reftex-ref-style-alist, reftex-ref-style-default-list):
5231 New variables.
5232 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5233 to new implementation. Mark as obsolete. Add compatibility code
5234 for honoring the variable values in case they are set.
5235 (reftex-cite-format-builtin, reftex-bibliography-commands):
5236 Add support for ConTeXt.
5237 (reftex-format-ref-function, reftex-format-cite-function):
5238 Fix custom type.
5239 (reftex-cite-key-separator): New variable.
5240
5241 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5242 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5243 `reftex-syntax-table' because parens have to retain their paren
5244 syntax in order for parsing of BibTeX entries like @book(...) to
5245 work.
5246 (reftex-in-comment): Do not error out if `comment-start-skip' is
5247 not set. Deal correctly with escaped comment characters.
5248 (reftex-tie-multifile-symbols): Add doc string.
5249 Initialize `reftex-ref-style-list'.
5250 (reftex-untie-multifile-symbols): Add doc string.
5251 (reftex-add-index-macros): Doc fix.
5252 (reftex-ref-style-activate, reftex-ref-style-toggle)
5253 (reftex-ref-style-list): New functions.
5254 (reftex-mode-menu): Use them. Adapt to new structure of
5255 `reftex-ref-style-alist'.
5256 (reftex-select-with-char): Kill the RefTeX Select buffer when
5257 done.
5258 (reftex-remove-if): New function.
5259 (reftex-erase-all-selection-and-index-buffers)
5260 (reftex-mode-menu): Reference styles are now computed from
5261 `reftex-ref-style-alist'. Fix typo.
5262 (reftex-report-bug): New function.
5263 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5264 algorithms with O(n log n). Introduce optional argument SORT (not
5265 yet used).
5266
5267 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5268
5269 Enhancements for triple-quote string syntax.
5270 * progmodes/python.el (python-syntax-propertize-function):
5271 Match both quote cases in one regexp.
5272 (python-syntax-stringify): Handle matches properly.
5273
5274 2012-09-30 Juri Linkov <juri@jurta.org>
5275
5276 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5277 to nil around the call to `insert' to prevent
5278 directory time modification by lock_file. (Bug#2295)
5279 * tar-mode.el (tar-summarize-buffer): Idem.
5280
5281 2012-09-30 Juri Linkov <juri@jurta.org>
5282
5283 * facemenu.el (list-colors-sort): Add option "Luminance".
5284 (list-colors-sort-key): Implement it.
5285
5286 * vc/diff-mode.el (diff-refine-removed):
5287 * vc/ediff-init.el (ediff-fine-diff-A):
5288 * vc/smerge-mode.el (smerge-refined-removed):
5289 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5290
5291 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5292
5293 * term/ns-win.el (x-file-dialog): New function.
5294
5295 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5296
5297 * ido.el (ido-max-directory-size): Default to nil; the current
5298 default is small for POSIX systems, and impractical on Windows 7
5299 now that lstat returns directory sizes for NTFS.
5300
5301 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5302
5303 In buffer display functions handle window-height/window-width
5304 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5305 * window.el (window--display-buffer): New argument ALIST.
5306 Obey window-height and window-width alist entries.
5307 (window--try-to-split-window): New argument ALIST.
5308 Bind window-combination-limit to t when the window's size shall be
5309 changed and window-combination-limit equals `window-size'.
5310 (display-buffer-in-atom-window)
5311 (display-buffer-in-major-side-window)
5312 (display-buffer-in-side-window, display-buffer-same-window)
5313 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5314 (display-buffer-pop-up-window, display-buffer-below-selected)
5315 (display-buffer-at-bottom, display-buffer-in-previous-window)
5316 (display-buffer-use-some-window): Adjust all callers of
5317 window--display-buffer and window--try-to-split-window.
5318 (fit-frame-to-buffer): New option.
5319 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5320 is non-nil.
5321 (display-buffer-in-major-side-window): Evaluate window-height /
5322 window-width alist entries.
5323
5324 * help.el (temp-buffer-resize-frames)
5325 (temp-buffer-resize-regexps): Remove options.
5326 (temp-buffer-resize-mode): Adjust doc-string.
5327 (resize-temp-buffer-window): Don't consult
5328 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5329 temp-buffer-resize-frames.
5330
5331 * dired.el (dired-mark-pop-up):
5332 Call display-buffer-below-selected with a fit-window-to-buffer alist
5333 entry.
5334
5335 2012-09-30 Chong Yidong <cyd@gnu.org>
5336
5337 * server.el (server-host): Document the security implications.
5338 (server-auth-key): Doc fix.
5339
5340 * startup.el (initial-buffer-choice): Doc fix.
5341
5342 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5343
5344 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5345 restriction change.
5346
5347 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5348
5349 * help-fns.el (help-fns--obsolete): Fix last change.
5350
5351 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5352
5353 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5354 (minor-mode-map-alist): Remove redundant code.
5355
5356 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5357 visited in a buffer.
5358 (cvs-insert-visited-file): New function.
5359 (find-file-hook): Use it.
5360
5361 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5362
5363 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5364 chose face.
5365 (log-edit-empty-buffer-p): Don't require a space after a header.
5366
5367 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5368
5369 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5370
5371 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5372 a proper minor-mode.
5373
5374 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5375
5376 2012-09-29 Glenn Morris <rgm@gnu.org>
5377
5378 * winner.el (winner-mode): Remove variable (let define-minor-mode
5379 handle it).
5380 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5381 Doc fixes.
5382 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5383 (winner-mode): Use define-minor-mode.
5384
5385 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5386 the full definition in loaddefs, rather than duplicating it.
5387
5388 * help-macro.el (three-step-help): No need to autoload defcustom.
5389
5390 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5391 (inferior-lisp-program, inferior-lisp-load-command)
5392 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5393 No need to autoload defcustoms.
5394
5395 * hippie-exp.el (hippie-expand-try-functions-list)
5396 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5397 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5398 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5399 (hippie-expand-only-buffers): No need to autoload defcustoms.
5400 * progmodes/vhdl-mode.el (vhdl-line-expand):
5401 Explicitly load hippie-exp, so it does not get autoloaded
5402 while hippie-expand-try-functions-list is let-bound.
5403
5404 2012-09-28 Glenn Morris <rgm@gnu.org>
5405
5406 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5407
5408 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5409 Only "cl.el" counts as cl these days.
5410
5411 2012-09-28 Juri Linkov <juri@jurta.org>
5412
5413 Display archive errors in the echo area instead of inserting
5414 to the file buffer.
5415
5416 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5417 to STDERR-TEST that can be a regexp matching a successful output.
5418 Create a temporary file and redirect stderr to it. Search for
5419 STDERR-TEST in the stderr output and display it in the echo area
5420 if no match is found.
5421 (archive-extract-by-file): New function like
5422 `archive-extract-by-stdout' but extracting archives to files
5423 and looking for successful matches in stdout. Function body is
5424 mostly copied from `archive-rar-extract'.
5425 (archive-rar-extract): Use `archive-extract-by-file'.
5426 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5427
5428 2012-09-28 Leo Liu <sdl.web@gmail.com>
5429
5430 * pcomplete.el (pcomplete-show-completions):
5431 Use minibuffer-message to make pcomplete usable in minibuffer.
5432
5433 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5434
5435 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5436
5437 * type-break.el: Use lexical-binding.
5438 (type-break-mode): Use define-minor-mode.
5439
5440 * emacs-lisp/pcase.el (pcase--mark-used): New.
5441 (pcase--u1): Use it (bug#12512).
5442
5443 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5444 in load-history with the right file name.
5445
5446 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5447
5448 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5449 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5450 (doc-view-get-bounding-box): Make bounding box slicing work for
5451 ODF and DVI documents.
5452
5453 2012-09-28 Glenn Morris <rgm@gnu.org>
5454
5455 * type-break.el (type-break-mode, type-break-interval)
5456 (type-break-good-rest-interval, type-break-keystroke-threshold):
5457 No need to autoload.
5458 (type-break-good-rest-interval, type-break-keystroke-threshold):
5459 Add :set-after.
5460
5461 2012-09-28 Chong Yidong <cyd@gnu.org>
5462
5463 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5464 Add :version tag.
5465
5466 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5467
5468 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5469
5470 2012-09-27 Glenn Morris <rgm@gnu.org>
5471
5472 * faces.el (x-display-name): Declare (for without-x builds).
5473
5474 * linum.el (linum-format): Don't autoload it. Improve :type.
5475
5476 * progmodes/tcl.el: Don't require outline when compiling.
5477 (outline-regexp, outline-level): Declare.
5478 * textmodes/sgml-mode.el: Don't require outline when compiling.
5479 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5480
5481 * term.el (term-ansi-reset):
5482 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5483
5484 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5485 files for RCS and SCCS. (Bug#9781)
5486
5487 2012-09-27 Chong Yidong <cyd@gnu.org>
5488
5489 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5490 change; value should be t.
5491
5492 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5493
5494 * image-mode.el: Use lexical-binding.
5495 (image-mode-winprops): Use t to stand for the window of
5496 a buffer that's not displayed.
5497 * doc-view.el (doc-view-new-window-function): Handle the new
5498 t in winprops.
5499 (doc-view-enlarge): Make it a real nop if the size is not changed.
5500 (doc-view-display): Handle the case where the buffer is not (yet?)
5501 displayed in any window.
5502 (doc-view-saved-settings): New var.
5503 (doc-view-mode): Use it.
5504 (doc-view-fallback-mode): Set it.
5505
5506 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5507 Set lexical-binding.
5508 (minibuffer-eldef-shorten-default): New var.
5509 (minibuffer-default-in-prompt-regexps): Use it for new default.
5510 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5511
5512 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5513
5514 * international/uni-bidi.el:
5515 * international/uni-category.el:
5516 * international/uni-name.el:
5517 * international/uni-numeric.el: Regenerate.
5518
5519 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5520 Stefan Monnier <monnier@iro.umontreal.ca>
5521
5522 * profiler.el: New file.
5523
5524 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5525
5526 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5527 (testcover-reinstrument): Simplify with CSE.
5528
5529 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5530
5531 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5532
5533 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5534
5535 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5536 (verilog-auto-input, verilog-auto-insert-lisp)
5537 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5538 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5539 (verilog-auto-unused, verilog-auto-wire)
5540 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5541 newline. Reported by Andrew Jones.
5542 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5543 Reported by Brad Dobbie.
5544 (verilog-batch-delete-trailing-whitespace):
5545 Create verilog-batch-delete-trailing-whitespace.
5546 Reported by Brad Dobbie.
5547 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5548 parameters from another module. Reported by Dan Katz.
5549 (verilog-auto, verilog-auto-assign-modport)
5550 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5551 AUTOINOUTMODPORT for UVM interface module shell generation.
5552 Reported by Brad Dobbie.
5553 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5554 standard behavior.
5555 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5556 Reported by Matt Martin.
5557
5558 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5559
5560 * window.el (window--resize-child-windows): When resizing child
5561 windows proportionally, process them in reverse order to
5562 preserve the "when splitting a window the new one gets the odd
5563 line" behavior.
5564 (window--resize-root-window-vertically): When resizing the
5565 minibuffer window try to affect only windows at the bottom of the
5566 frame. (Bug#12419)
5567
5568 2012-09-25 Chong Yidong <cyd@gnu.org>
5569
5570 * subr.el (declare): Doc fix.
5571
5572 * help-fns.el (help-fns--obsolete): Handle macros properly.
5573
5574 2012-09-25 Chong Yidong <cyd@gnu.org>
5575
5576 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5577 this function obsolete.
5578
5579 * calendar/cal-x.el (calendar-two-frame-setup)
5580 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5581 * calendar/calendar.el (american-calendar, european-calendar)
5582 (calendar-for-loop):
5583 * comint.el (comint-dynamic-simple-complete)
5584 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5585 * desktop.el (desktop-load-default):
5586 * dired-x.el (dired-omit-here-always)
5587 (dired-hack-local-variables, dired-default-directory):
5588 * emacs-lisp/derived.el (derived-mode-class):
5589 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5590 * emacs-lock.el (toggle-emacs-lock):
5591 * epa.el (epa-display-verify-result):
5592 * epg.el (epg-sign-keys, epg-start-sign-keys)
5593 (epg-passphrase-callback-function):
5594 * eshell/esh-util.el (eshell-for):
5595 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5596 (eshell-add-to-window-buffer-names):
5597 * files.el (locate-file-completion):
5598 * imenu.el (imenu-example--create-c-index)
5599 (imenu-example--create-lisp-index)
5600 (imenu-example--lisp-extract-index-name)
5601 (imenu-example--name-and-position):
5602 * international/mule-cmds.el (princ-list):
5603 * international/mule-diag.el (decode-codepage-char):
5604 * international/mule-util.el (detect-coding-with-priority):
5605 * iswitchb.el (iswitchb-read-buffer):
5606 * mail/mailalias.el (mail-complete):
5607 * mail/sendmail.el (mail-sent-via):
5608 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5609 (mouse-major-mode-menu):
5610 * password-cache.el (password-read-and-add):
5611 * pcomplete.el (pcomplete-parse-comint-arguments):
5612 * progmodes/sh-script.el (sh-maybe-here-document):
5613 * replace.el (query-replace-regexp-eval):
5614 * savehist.el (savehist-load):
5615 * simple.el (choose-completion-delete-max-match):
5616 * term.el (term-dynamic-simple-complete):
5617 * vc/ediff-init.el (ediff-check-version):
5618 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5619 * vc/vc.el (vc-diff-switches-list):
5620 * view.el (view-return-to-alist-update): Likewise.
5621
5622 * subr.el (eval-next-after-load, makehash, insert-string)
5623 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5624 mark obsolete.
5625 (mode-line-inverse-video): Variable deleted.
5626
5627 * international/mule-util.el (string-to-sequence): Remove.
5628
5629 * calendar/calendar.el (calendar-version):
5630 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5631 (icalendar-convert-diary-to-ical):
5632 * cus-edit.el (custom-mode):
5633 * ansi-color.el (ansi-color-unfontify-region):
5634 * international/latin1-disp.el (latin1-char-displayable-p):
5635 * progmodes/cwarn.el (turn-on-cwarn-mode):
5636 * progmodes/which-func.el (which-func-update-1):
5637 Use define-obsolete-function-alias.
5638
5639 * net/newst-backend.el (newsticker-cache-filename):
5640 * net/newst-treeview.el (newsticker-groups-filename):
5641 Fix incorrect obsolescence declaration.
5642
5643 * allout.el (allout-passphrase-hint-string): Likewise.
5644 (allout-init): Use a declare form to mark obsolete.
5645
5646 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5647 this applies to functions.
5648
5649 * iswitchb.el (iswitchb-read-buffer): Move code of
5650 iswitchb-define-mode-map here, and delete that obsolete function.
5651
5652 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5653 font-lock-reference-face.
5654
5655 2012-09-25 Glenn Morris <rgm@gnu.org>
5656
5657 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5658 Doc fixes.
5659
5660 * eshell/em-term.el (eshell-term-name):
5661 Default to term-term-name. (Bug#12485)
5662
5663 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5664
5665 * progmodes/python.el (python-shell-send-buffer): Better handling
5666 of "if __name__ == '__main__':" conditionals when sending the buffer.
5667
5668 2012-09-24 Glenn Morris <rgm@gnu.org>
5669
5670 * eshell/esh-cmd.el (eshell-find-alias-function):
5671 Tighten up file-name regexp. (Bug#12499)
5672
5673 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5674
5675 Enhancements for triple-quote string syntax.
5676 * progmodes/python.el (python-quote-syntax): Remove.
5677 (python-syntax-propertize-function): New value.
5678 (python-syntax-count-quotes, python-syntax-stringify):
5679 New functions.
5680
5681 2012-09-24 Chong Yidong <cyd@gnu.org>
5682
5683 * mail/supercite.el (sc-version): Remove obsolete function.
5684 (sc-describe): Don't mark as obsolete, since it is bound.
5685 (sc-submit-bug-report): Remove.
5686
5687 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5688 (cvs-commit-buffer-require-final-newline): Remove.
5689 (log-edit-require-final-newline)
5690 (log-edit-changelog-full-paragraphs): Default to t.
5691
5692 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5693 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5694 * vc/vc.el (vc-checkout-carefully): Likewise.
5695
5696 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5697 (emerge-version): Remove.
5698
5699 * progmodes/compile.el (compile-internal): Remove.
5700 (compilation-parse-errors-function): Fix typo.
5701
5702 * international/mule.el (set-char-table-default): Remove.
5703 (set-coding-priority, make-coding-system, generic-char-p)
5704 (charset-list, charset-bytes, charset-id): Use declare to mark
5705 functions as obsolete.
5706
5707 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5708 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5709 * vc/vc-hooks.el (vc-default-registered): Don't use
5710 vc-master-templates.
5711
5712 * font-lock.el (font-lock-reference-face):
5713 Use define-obsolete-variable-alias.
5714
5715 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5716 * calendar/calendar.el (calendar-font-lock-keywords):
5717 * calendar/diary-lib.el (diary-font-lock-keywords)
5718 (diary-fancy-font-lock-keywords):
5719 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5720 * textmodes/reftex-index.el (reftex-insert-index):
5721 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5722 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5723 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5724 * progmodes/prolog.el (prolog-font-lock-keywords):
5725 * progmodes/idlwave.el (idlwave-idl-keywords):
5726 * progmodes/ada-mode.el (ada-font-lock-keywords):
5727 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5728
5729 2012-09-24 Glenn Morris <rgm@gnu.org>
5730
5731 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5732
5733 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5734
5735 * progmodes/python.el (python-indent-line): More consistent cursor
5736 movement behavior.
5737
5738 2012-09-23 Stefan Merten <smerten@oekonux.de>
5739
5740 * textmodes/rst.el: Fix compiler warning.
5741
5742 2012-09-23 Roland Winkler <winkler@gnu.org>
5743
5744 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5745 Transcribe also LaTeX hyphenation.
5746 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5747 bibtex-reformat-previous-options.
5748
5749 2012-09-23 Roland Winkler <winkler@gnu.org>
5750
5751 * proced.el (proced-renice-command): New variable.
5752 (proced-marked-processes): New function.
5753 (proced-with-processes-buffer): New macro.
5754 (proced-send-signal): Use them.
5755 (proced-renice): New command bound to r.
5756
5757 2012-09-23 Roland Winkler <winkler@gnu.org>
5758
5759 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5760 ibuffer-saved-filter-groups has one element, shortcut the call of
5761 completing-read. (Bug#12331)
5762
5763 2012-09-23 Chong Yidong <cyd@gnu.org>
5764
5765 * bindings.el (mode-line-toggle-read-only):
5766 * bs.el (bs-toggle-readonly):
5767 * buff-menu.el (Buffer-menu-toggle-read-only):
5768 * dired.el (dired-toggle-read-only):
5769 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5770
5771 2012-09-23 Chong Yidong <cyd@gnu.org>
5772
5773 * image.el (image-type-available-p): Adapt to init-image-library
5774 argument changes.
5775
5776 2012-09-22 Juri Linkov <juri@jurta.org>
5777
5778 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5779 `dired-toggle-read-only'. (Bug#12462)
5780
5781 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5782
5783 * subr.el (temp-output-buffer-show): New function.
5784 (with-output-to-temp-buffer): Call temp-output-buffer-show
5785 instead of internal-temp-output-buffer-show.
5786
5787 2012-09-22 Chong Yidong <cyd@gnu.org>
5788
5789 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5790 (Bug#12462).
5791
5792 * repeat.el (repeat): Doc fix (Bug#12348).
5793
5794 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5795 (Bug#10909).
5796
5797 * simple.el (shell-command-on-region): Doc fix.
5798 (read-only-mode): Doc fix.
5799
5800 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5801
5802 * emacs-lisp/timer.el (run-with-idle-timer)
5803 (timer-activate-when-idle): Warn against reinvoking an idle timer
5804 from within its own timer action. (Bug#12447)
5805
5806 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5807
5808 * cus-start.el (window-combination-limit): Add new optional
5809 values.
5810 * window.el (temp-buffer-window-show)
5811 (window--try-to-split-window): Handle new values of
5812 window-combination-limit (Bug#1806).
5813 (split-window): Test window-combination-limit for t instead of
5814 non-nil.
5815 (display-buffer-at-bottom): New buffer display action function.
5816 * help.el (temp-buffer-resize-regexps): New option.
5817 (temp-buffer-resize-mode): Rewrite doc-string.
5818 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5819 Don't resize reused window. Suggested by Glenn Morris.
5820
5821 2012-09-22 Stefan Merten <smerten@oekonux.de>
5822
5823 * textmodes/rst.el: Revamp section title faces.
5824 (rst-official-version)
5825 (rst-package-emacs-version-alist): Sync with official version
5826 V1.4.0.
5827 (rst-faces-defaults, rst-set-level-default)
5828 (rst-level-face-max, rst-level-face-base-color)
5829 (rst-level-face-base-light, rst-level-face-format-light)
5830 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5831 (rst-adornment-faces-alist): Match new setup.
5832 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5833 (rst-level-5, rst-level-6): New faces.
5834
5835 2012-09-22 Chong Yidong <cyd@gnu.org>
5836
5837 * simple.el (undo): Handle indirect buffers (Bug#8207).
5838
5839 2012-09-21 Leo Liu <sdl.web@gmail.com>
5840
5841 IDO: Disable match re-ordering for buffer switching.
5842 * ido.el (ido-buffer-disable-smart-matches): New variable.
5843 (ido-set-matches-1): Use it. (Bug#2042)
5844
5845 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5846
5847 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5848 Fix 2011-05-17 change. (Bug#12418)
5849
5850 2012-09-21 Leo Liu <sdl.web@gmail.com>
5851
5852 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5853
5854 2012-09-21 Glenn Morris <rgm@gnu.org>
5855
5856 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5857 Be more robust about locating simple.el.
5858
5859 2012-09-21 Glenn Morris <rgm@gnu.org>
5860
5861 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5862
5863 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5864
5865 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5866
5867 2012-09-20 Juri Linkov <juri@jurta.org>
5868
5869 * replace.el (query-replace-read-from): Use `read-regexp' instead
5870 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5871 (occur-read-primary-args): Use `read-regexp' instead of
5872 `read-string'.
5873 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5874 `read-from-minibuffer'.
5875 * isearch.el (isearch-occur): Use `read-regexp' instead of
5876 `read-string'.
5877 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5878 `read-from-minibuffer'.
5879 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5880 of `read-string'. (Bug#7567)
5881
5882 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5883 and allow accepting a list of strings prepended to a list of
5884 standard default values. Doc fix. (Bug#12321)
5885
5886 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5887
5888 * replace.el (read-regexp): Don't add ": " when PROMPT already
5889 ends with a colon and space. (Bug#12321)
5890
5891 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5892
5893 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5894 error.
5895
5896 2012-09-20 Stefan Merten <smerten@oekonux.de>
5897
5898 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5899 Fixes feature request bug#11711.
5900 (rst-mode): Create `imenu-create-index-function'.
5901 (rst-get-stripped-line): Delete after refactoring.
5902 (rst-section-tree, rst-section-tree-rec)
5903 (rst-section-tree-point): Refactor and document properly.
5904 (rst-imenu-find-adornments-for-position)
5905 (rst-imenu-convert-cell, rst-imenu-create-index):
5906 New function.
5907
5908 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5909
5910 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5911 (macroexp--expand-all): Use it.
5912 (macroexp--funcall-and-return): Remove by folding it into its sole
5913 caller (macroexp--warn-and-return).
5914 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5915 Use macroexp--obsolete-warning.
5916
5917 * calc/calc.el: Fix last change by removing the whole chunk, since it
5918 was only needed back when Calc was not bundled.
5919
5920 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5921
5922 * emacs-lisp/debug.el (debug): Restore assignment to
5923 debugger-old-buffer removed on 2012-09-08.
5924
5925 2012-09-20 Juri Linkov <juri@jurta.org>
5926
5927 * dired-aux.el (dired-diff): Remove (require 'diff) since
5928 `diff-latest-backup-file' is now autoloaded.
5929
5930 2012-09-20 Chong Yidong <cyd@gnu.org>
5931
5932 * vc/diff.el (diff-latest-backup-file): Autoload.
5933
5934 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5935
5936 * calc/calc.el: Remove redundant autoload shape check.
5937 (sel-mode): Don't defvar.
5938 (calc-get-stack-element): Add `sel-mode' arg instead.
5939 (calc-top, calc-top-list): Pass it this additional argument.
5940 * calc/calc-store.el (calc-store-map):
5941 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5942 (calc-map-equation, calc-outer-product, calc-inner-product):
5943 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5944
5945 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5946
5947 2012-09-19 Juri Linkov <juri@jurta.org>
5948
5949 * dired-aux.el (dired-diff): Add (require 'diff) because
5950 `diff-latest-backup-file' is not autoloaded.
5951 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5952 of `dired-get-filename' to t to not report error when there is
5953 no default file on the current line.
5954
5955 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5956
5957 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5958 macroexp--eval-if-compile.
5959 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5960 (macroexp--expand-all): Use them (bug#12371).
5961
5962 * doc-view.el (doc-view-guess-paper-size)
5963 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5964
5965 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5966
5967 New feature: set optimal slice from BoundingBox information.
5968 * doc-view.el (doc-view-mode-map): Add keybinding.
5969 (doc-view-menu): Add menu entry.
5970 (doc-view-set-slice): Adapt docstring.
5971 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5972 (doc-view-scale-bounding-box)
5973 (doc-view-set-slice-from-bounding-box): New functions.
5974 (doc-view-paper-sizes): New defvar.
5975
5976 2012-09-19 Glenn Morris <rgm@gnu.org>
5977
5978 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5979 (byte-compile-log-warning): Autoload. (Bug#12371)
5980
5981 * calendar/calendar.el (calendar-american-month-header)
5982 (calendar-european-month-header, calendar-iso-month-header)
5983 (calendar-month-header): New options.
5984 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5985 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5986
5987 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5988
5989 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5990
5991 2012-09-18 Juri Linkov <juri@jurta.org>
5992
5993 * dired-aux.el (dired-diff): Restore original functionality of
5994 getting the default value, but keep new feature of using the
5995 latest existing backup file (`diff-latest-backup-file').
5996
5997 2012-09-18 Juri Linkov <juri@jurta.org>
5998
5999 * dired.el (dired-mark): If the region is active in Transient Mark
6000 mode, mark all files in the active region. Doc fix.
6001 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6002 Doc fix. (Bug#10624)
6003
6004 2012-09-18 Juri Linkov <juri@jurta.org>
6005
6006 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6007 attributes for M-n are pulled from the file at point.
6008 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6009 Suggested by Drew Adams. (Bug#10624)
6010
6011 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6012
6013 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6014 whitespace after "end".
6015 (ruby-do-end-to-brace): Collapse block to one line if it fits
6016 within fill-column.
6017
6018 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6019
6020 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6021 value.
6022 (debug): Don't remove debugger window when debugger is expected
6023 to be back.
6024
6025 2012-09-18 Chong Yidong <cyd@gnu.org>
6026
6027 * custom.el (defface): Doc fix.
6028
6029 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6030
6031 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6032
6033 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6034 to initialize query-on-exit; then test that instead (bug#12288).
6035
6036 2012-09-17 Stefan Merten <smerten@oekonux.de>
6037
6038 * textmodes/rst.el: Add support for `testcover'.
6039 (rst-defcustom-testcover, rst-testcover-add-compose)
6040 (rst-testcover-add-1value): New functions.
6041 (rst-portable-mark-active-p): Replace by `use-region-p'.
6042 (rst-update-section, rst-classify-adornment)
6043 (rst-find-title-line): Mark `1value' forms.
6044 (rst-classify-adornment): Remove superfluous form.
6045 (rst-update-section, rst-get-adornments-around)
6046 (rst-adornment-complete-p, rst-get-next-adornment)
6047 (rst-adjust, rst-promote-region)
6048 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6049 (rst-find-pfx-in-region, rst-section-tree-rec)
6050 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6051 (rst-toc-node, rst-toc, rst-forward-section)
6052 (rst-iterate-leftmost-paragraphs)
6053 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6054 (rst-bullet-list-region)
6055 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6056 (rst-compile-find-conf, rst-compile)
6057 (rst-repeat-last-character): Fix style.
6058
6059 2012-09-17 Chong Yidong <cyd@gnu.org>
6060
6061 * comint.el (comint--complete-file-name-data): Don't add a space
6062 if the status is `sole'; that adds a gratuitous space in the
6063 completion-cycling case (Bug#12092).
6064
6065 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6066
6067 2012-09-17 Richard Stallman <rms@gnu.org>
6068
6069 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6070 only in the mime-shown mode, not in raw mode.
6071 (rmail-mime): Toggle off mime by displaying the message without
6072 mime processing. (Bug#12305)
6073
6074 * mail/rmail.el (rmail-retry-failure):
6075 Turn off mime processing first. (Bug#12037)
6076
6077 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6078
6079 2012-09-17 Chong Yidong <cyd@gnu.org>
6080
6081 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6082 (shell-dynamic-complete-functions): Convert to defcustom.
6083 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6084
6085 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6086 * comint.el (comint-prompt-read-only):
6087 * custom.el (defcustom):
6088 * hi-lock.el (hi-lock-mode):
6089 * ibuffer.el (ibuffer-formats):
6090 * ielm.el (ielm-prompt-read-only):
6091 * novice.el (disable-command):
6092 * saveplace.el (toggle-save-place):
6093 * speedbar.el (speedbar-supported-extension-expressions):
6094 * startup.el (auto-save-list-file-prefix, init-file-user)
6095 (after-init-hook, inhibit-startup-echo-area-message):
6096 * strokes.el (strokes-help):
6097 * time-stamp.el (time-stamp):
6098 * calendar/calendar.el (calendar, diary-file):
6099 * calendar/diary-lib.el (diary-mail-entries, diary)
6100 (diary-list-entries-hook):
6101 * calendar/holidays.el (holidays, calendar-holidays):
6102 * calendar/lunar.el (lunar-phases):
6103 * calendar/solar.el (sunrise-sunset):
6104 * emulation/edt.el (edt-load-keys):
6105 * emulation/viper.el (viper-mode):
6106 * eshell/em-alias.el (eshell-command-aliases-list):
6107 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6108 * international/ogonek.el (ogonek-information):
6109 * net/tramp-cmds.el (tramp-bug):
6110 * net/quickurl.el (quickurl-reread-hook-postfix):
6111 * play/decipher.el (decipher-font-lock-keywords):
6112 * progmodes/cc-styles.el (c-set-style):
6113 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6114 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6115 * progmodes/octave-mod.el (octave-mode):
6116 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6117 * progmodes/verilog-mode.el (verilog-read-defines):
6118 * textmodes/two-column.el (2C-mode): Likewise.
6119
6120 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6121
6122 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6123 that holds many addresses.
6124
6125 2012-09-16 Chong Yidong <cyd@gnu.org>
6126
6127 * align.el (align-areas): Call the indication function with
6128 positions instead of markers for arguments (Bug#12343).
6129
6130 * files.el (parse-colon-path): Use split-string (Bug#12351).
6131
6132 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6133 (display-buffer-function): Mark as obsolete.
6134
6135 * progmodes/compile.el (compilation-parse-errors): Accept list
6136 values similar to font-lock-keywords (Bug#12136).
6137 Suggested by Oleksandr Manzyuk.
6138 (compilation-error-regexp-alist): Doc fix.
6139
6140 2012-09-15 Glenn Morris <rgm@gnu.org>
6141
6142 * version.el (emacs-bzr-version-bzr): New function.
6143 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6144
6145 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6146 checkouts, check the parent dirstate matches the branch.
6147 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6148 empty string.
6149
6150 * version.el (emacs-bzr-version): Doc fix.
6151 (emacs-bzr-version-dirstate): New function.
6152 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6153 is local try and check that it matches the branch. If not, just
6154 use dirstate information. (Bug#12441)
6155
6156 2012-09-14 Juri Linkov <juri@jurta.org>
6157
6158 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6159 (Bug#12399)
6160
6161 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6162
6163 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6164
6165 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6166 Remove obsolete byte-compiler hack that tried to silence some warnings.
6167 (edebug-submit-bug-report): Remove.
6168 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6169 Remove aliases, use the un-prefixed name instead.
6170 (edebug-pop-to-buffer): Consider other frames.
6171 (edebug-original-read):: Make it more obvious that it's always defined.
6172 (edebug--make-form-data-entry, edebug--form-data-name)
6173 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6174 single-dashed name, and implement with cl-defstruct.
6175 (edebug-set-form-data-entry): Use the standard accessors.
6176 (edebug-make-top-form-data-entry): Use push.
6177 (edebug-no-match): Drop useless `funcall'.
6178 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6179 to functions.
6180 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6181 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6182 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6183 (easy-menu-define, with-custom-print): Remove redundant specs.
6184 (edebug-outside-overriding-local-map)
6185 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6186 (edebug--display): Bind unread-command-events directly to nil rather
6187 than binding it to unread-command-events and later setting it to nil.
6188 (edebug--display): Kill edebug-eval-buffer here...
6189 (edebug--recursive-edit): ...rather than here.
6190 Bind standard-output and standard-input.
6191 (edebug-eval): Check cl-macroexpand-all is fboundp.
6192 (edebug-temp-display-freq-count): Fix last change.
6193
6194 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6195 * subr.el (noreturn, 1value): Add `debug' spec.
6196 * emacs-lisp/advice.el: Require cl-lib.
6197 (ad-copy-tree): Remove, use copy-tree instead.
6198 (ad-dolist): Remove use dolist or cl-dolist instead.
6199 (ad-do-return): Remove, use cl-return instead.
6200 (defadvice): Add `debug' spec.
6201
6202 2012-09-13 Juri Linkov <juri@jurta.org>
6203
6204 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6205 (Bug#12399)
6206
6207 2012-09-13 Glenn Morris <rgm@gnu.org>
6208
6209 * calc/calc.el (math-compose-expr):
6210 * calc/calc-ext.el (math-compose-expr):
6211 * progmodes/cc-defs.el (cl-macroexpand-all):
6212 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6213 (cl-macroexpand-all): Update declarations.
6214
6215 * vc/vc.el: No need to require ediff.
6216 (ediff-load-version-control): Declare.
6217 (ediff-vc-internal): Fix declaration.
6218 (vc-version-ediff): Require ediff.
6219
6220 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6221
6222 Use a more backwards-compatible timer format (Bug#12430).
6223 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6224 being right after USECS, as that better supports old code that
6225 inadvisedly looked directly at the timer vector.
6226
6227 2012-09-13 Kenichi Handa <handa@gnu.org>
6228
6229 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6230 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6231 `coding-priority' property of these language environment.
6232
6233 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6234
6235 Fix glitches caused by addition of psec to timers (Bug#12430).
6236 * image.el (image-animate-timer):
6237 * time.el (display-time-world-timer):
6238 Use timer--function and timer--args rather than raw access to
6239 timer vector.
6240
6241 2012-09-13 Glenn Morris <rgm@gnu.org>
6242
6243 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6244 If not compiling a file, try using load-file-name.
6245
6246 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6247
6248 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6249 Fix last change.
6250 (edebug-update-eval-list): Use `push'.
6251
6252 * emacs-lisp/edebug.el: Use lexical-binding.
6253 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6254 Mark unused args with underscore.
6255 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6256 (edebug-form-data): Use defvar-local.
6257 (edebug-make-before-and-after-form, edebug-make-after-form):
6258 Use backquote.
6259 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6260 Not dynamically scoped any more.
6261 (edebug--enter-trace): Add arguments `function' and `args'.
6262 Rename from edebug-enter-trace.
6263 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6264 (edebug--update-coverage): Add `after-index' and `value' args.
6265 Rename from edebug-update-coverage.
6266 (edebug-slow-after): Call it accordingly.
6267 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6268 edebug-recursive-edit.
6269 (edebug--display): Call it accordingly. Add args `value',
6270 `offset-index', and `arg-mode'. Rename from edebug-display.
6271 (edebug-debugger, edebug): Call it accordingly.
6272 (edebug-eval-display-list): Use dolist.
6273
6274 2012-09-12 Juri Linkov <juri@jurta.org>
6275
6276 * info.el (Info-search): Don't check for isearch-mode and
6277 isearch-regexp before let-binding search-spaces-regexp to
6278 Info-search-whitespace-regexp.
6279 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6280 search-whitespace-regexp if isearch-lax-whitespace or
6281 isearch-regexp-lax-whitespace is non-nil.
6282 (Info-mode): Don't set local variable search-whitespace-regexp.
6283 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6284
6285 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6286
6287 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6288 (debugger-env-macro): Remove support for unread-command-char.
6289
6290 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6291 the temporary map re-appearing on emulation-mode-map-alists.
6292
6293 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6294 since 22.1.
6295
6296 * ehelp.el (with-electric-help): Accept functions in
6297 electric-help-form-to-execute.
6298 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6299 And replace unread-command-char -> unread-command-events.
6300
6301 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6302
6303 Sync with Tramp 2.2.6.
6304
6305 * net/tramp.el (tramp-accept-process-output): Don't use
6306 JUST-THIS-ONE in the XEmacs case.
6307
6308 * net/trampver.el: Update release number.
6309
6310 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6311
6312 * emacs-lisp/debug.el (debugger-previous-window-height):
6313 New variable.
6314 (debug): When debugger-jumping-flag is non-nil try to restore
6315 height of debugger window. (Bug#8789)
6316
6317 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6318
6319 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6320 overriding-local-map and pre/post-command-hook here.
6321 (edebug-recursive-edit): Do it here instead (bug#12345).
6322 (edebug-outside-unread-command-char): Remove all uses of
6323 unread-command-char.
6324
6325 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6326 inhibit-debugger is bound instead.
6327
6328 2012-09-11 Bastien Guerry <bzg@gnu.org>
6329
6330 * subr.el (set-temporary-overlay-map): Add a docstring.
6331 (Bug#12346)
6332
6333 2012-09-11 Bastien Guerry <bzg@gnu.org>
6334
6335 * minibuffer.el (completion-table-subvert): Fix docstring.
6336 (Bug#12347)
6337
6338 2012-09-11 Bastien Guerry <bzg@gnu.org>
6339
6340 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6341
6342 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6343
6344 * progmodes/sql.el: Version 3.1
6345 (sql-db2-escape-newlines): New variable.
6346 (sql-escape-newlines-filter): Use it.
6347
6348 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6349
6350 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6351
6352 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6353
6354 * vc/diff-mode.el (diff-mode-menu):
6355 Bind diff-remove-trailing-whitespace.
6356
6357 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6358
6359 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6360 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6361 (emacs-lisp-byte-code-mode): New functions.
6362 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6363 (eval-defun-2): Remove bogus interactive spec.
6364 (lisp-indent-line): Remove redundant whole-exp code, now done in
6365 indent-according-to-mode.
6366 (save-match-data): Remove redundant indent data.
6367
6368 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6369 Use `declare'.
6370
6371 2012-09-09 Juri Linkov <juri@jurta.org>
6372
6373 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6374 (replace-lax-whitespace, query-replace-regexp)
6375 (query-replace-regexp-eval, replace-regexp): Doc fix.
6376 (perform-replace, replace-highlight): Let-bind
6377 isearch-lax-whitespace to replace-lax-whitespace and
6378 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6379
6380 * isearch.el (isearch-query-replace): Let-bind
6381 replace-lax-whitespace to isearch-lax-whitespace and
6382 replace-regexp-lax-whitespace to
6383 isearch-regexp-lax-whitespace. (Bug#10885)
6384
6385 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6386
6387 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6388
6389 2012-09-09 Alan Mackenzie <acm@muc.de>
6390
6391 * progmodes/cc-engine.el (c-state-cache-init):
6392 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6393 (c-record-parse-state-state):
6394 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6395
6396 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6397
6398 * register.el (register-separator): Rename from
6399 separator-register. All uses changed. Doc fix.
6400 (register): Fix version.
6401
6402 2012-09-09 Chong Yidong <cyd@gnu.org>
6403
6404 * replace.el (query-replace-map): Bind four new symbols for
6405 requesting window scrolling.
6406
6407 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6408 query-replace-map (Bug#8948).
6409
6410 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6411
6412 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6413 since they are now in query-replace-map.
6414
6415 * window.el (scroll-other-window-down): Make the arg optional.
6416
6417 2012-09-09 Chong Yidong <cyd@gnu.org>
6418
6419 * files.el (hack-local-variables-confirm): Use quit-window to kill
6420 the *Local Variables* buffer.
6421
6422 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6423
6424 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6425 not just expect to be at its beginning. Adjust callees.
6426 Succeed when do-end block has no space before the pipe character.
6427 (ruby-brace-to-do-end): When the original block is one-liner,
6428 convert to multiline. Reindent the result.
6429
6430 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6431
6432 * register.el (register): New group.
6433 (separator-register): New user option.
6434 (increment-register): Route it to `append-to-register', if
6435 register contains text. Implication is that `C-x r +' can now be
6436 used for appending to a text register (bug#12217).
6437 (append-to-register, prepend-to-register): Add separator based on
6438 `separator-register'.
6439
6440 2012-09-08 Alan Mackenzie <acm@muc.de>
6441
6442 AWK Mode: make auto-newline work when there's "==" in the pattern.
6443 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6444 correctly.
6445 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6446 Test more rigorously for "=" token.
6447
6448 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6449
6450 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6451 Only fail when reached LIMIT.
6452
6453 2012-09-08 Chong Yidong <cyd@gnu.org>
6454
6455 * dired.el (dired-mode-map): Don't bind M-=.
6456
6457 * dired-aux.el (dired-diff): Use backup file as default.
6458
6459 2012-09-08 Drew Adams <drew.adams@oracle.com>
6460
6461 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6462
6463 2012-09-08 Chong Yidong <cyd@gnu.org>
6464
6465 * subr.el (syntax-after, syntax-class): Doc fix.
6466
6467 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6468
6469 * window.el (display-buffer-in-previous-window): New buffer
6470 display action function.
6471
6472 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6473 (debugger-previous-window): New variable.
6474 (debug): Rewrite using display-buffer-in-previous-window,
6475 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6476
6477 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6478
6479 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6480
6481 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6482
6483 * progmodes/python.el (python-shell-send-string):
6484 When default-directory is remote, create temp file on remote
6485 filesystem.
6486 (python-shell-send-file): When file is remote, pass local view of
6487 file paths to remote Python interpreter. (Bug#12340)
6488
6489 2012-09-07 Chong Yidong <cyd@gnu.org>
6490
6491 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6492
6493 * files.el (after-find-file): Don't fail on a read-only buffer if
6494 require-final-newline is `visit' or `visit-save' (Bug#11156).
6495
6496 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6497
6498 * userlock.el (ask-user-about-supersession-threat):
6499 Use read-char-choice (Bug#12093).
6500
6501 2012-09-07 Chong Yidong <cyd@gnu.org>
6502
6503 * subr.el (buffer-narrowed-p): New function.
6504
6505 * ses.el (ses-widen):
6506 * simple.el (count-words--buffer-message):
6507 * net/browse-url.el (browse-url-of-buffer): Use it.
6508
6509 * simple.el (count-words-region): Don't signal an error if there
6510 is a non-nil prefix arg and the mark is not set.
6511
6512 * help.el (describe-key-briefly): Allow the message to be seen
6513 when invoked from the minibuffer (Bug#7014).
6514
6515 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6516
6517 * progmodes/ruby-mode.el (ruby-end-of-defun)
6518 (ruby-beginning-of-defun): Simplify, allow indentation before
6519 block beginning and end keywords.
6520 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6521 (ruby-end-of-defun): Expect that the point is at the beginning of
6522 the defun.
6523
6524 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6527 (bug#12367).
6528 (cl--make-usage-args): Strip _ from argument names.
6529
6530 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6531
6532 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6533 obsolete alias speedbar-key-map.
6534 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6535 (vhdl-index-menu-init): Don't use obsolete variable
6536 font-lock-maximum-size.
6537
6538 2012-09-06 Chong Yidong <cyd@gnu.org>
6539
6540 * frame.el (window-system-version): Mark as obsolete.
6541
6542 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6543 of obsolete variable speedbar-key-map.
6544
6545 2012-09-06 Juri Linkov <juri@jurta.org>
6546
6547 * replace.el (replace-lax-whitespace): New defcustom.
6548 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6549 (replace-string, replace-regexp): Mention it in docstrings.
6550 (perform-replace, replace-highlight): Let-bind
6551 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6552 to the values of replace-lax-whitespace and regexp-flag.
6553 Don't let-bind search-whitespace-regexp. (Bug#10885)
6554
6555 * isearch.el (isearch-query-replace): Let-bind
6556 replace-lax-whitespace instead of let-binding
6557 replace-search-function and replace-re-search-function.
6558 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6559 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6560 (isearch-toggle-symbol): Set isearch-regexp to nil
6561 in isearch-word mode (like in isearch-toggle-word).
6562
6563 2012-09-06 Juri Linkov <juri@jurta.org>
6564
6565 * replace.el (replace-search-function)
6566 (replace-re-search-function): Set default values to nil.
6567 (perform-replace): Let-bind isearch-related variables based on
6568 replace-related values, call `isearch-search-fun' and let-bind
6569 the result to `search-function'. Remove code that sets
6570 `search-function' and `search-string' separately for
6571 `delimited-flag'.
6572 (replace-highlight): Add new argument `delimited-flag' and
6573 rename other arguments to the names used in `perform-replace'.
6574 Let-bind `isearch-word' to the argument `delimited-flag'.
6575 (Bug#10885, bug#10887)
6576
6577 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6578
6579 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6580 ruby-beginning-of-indent, simplify, allow all keywords to have
6581 indentation before them.
6582 (ruby-beginning-of-indent): Adjust for above. Search until the
6583 found point is not inside a string or comment.
6584 (ruby-font-lock-keywords): Allow symbols to start with "@"
6585 character, give them higher priority than variables.
6586 (ruby-syntax-propertize-function)
6587 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6588 matchers. Expression expansions are not comments when inside a
6589 string, and there comment syntax status is irrelevant.
6590 (ruby-match-expression-expansion): New function. Check that
6591 expression expansion is inside a string, and it's not escaped.
6592 (ruby-font-lock-keywords): Use it.
6593
6594 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6595
6596 * help.el (temp-buffer-max-height): New default value.
6597 (temp-buffer-resize-frames): New option.
6598 (resize-temp-buffer-window): Optionally resize frame.
6599
6600 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6601 (fit-frame-to-buffer): New function.
6602
6603 2012-09-05 Glenn Morris <rgm@gnu.org>
6604
6605 * emulation/cua-rect.el (cua--init-rectangles):
6606 * textmodes/picture.el (picture-mode-map):
6607 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6608 like forward-char and backward-char. (Bug#12317)
6609
6610 2012-09-05 Leo Liu <sdl.web@gmail.com>
6611
6612 * progmodes/flymake.el (flymake-warning-re): New variable.
6613 (flymake-parse-line): Use it.
6614
6615 2012-09-05 Glenn Morris <rgm@gnu.org>
6616
6617 * calendar/holidays.el (holiday-christian-holidays):
6618 Rename an entry. (Bug#12289)
6619
6620 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6621
6622 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6623 (bug#12222).
6624
6625 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6626
6627 * loadup.el: Load macroexp. Remove hack.
6628 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6629 (macroexp--expand-all): Use it to get better warnings.
6630 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6631 (internal-macroexpand-for-load): New functions.
6632 (macroexp--pending-eager-loads): New var.
6633 (emacs-startup-hook): New hack to replace one in loadup.el.
6634 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6635 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6636 (cl-psetf): Simplify.
6637 (cl-defstruct): Add indent rule.
6638
6639 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6640
6641 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6642 over `user-mail-address' for the SMTP MAIL FROM envelope.
6643 (smtpmail-via-smtp): Ditto.
6644
6645 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6646
6647 * progmodes/ruby-mode.el: Clean up keybindings.
6648 (ruby-mode-map): Don't bind ruby-electric-brace,
6649 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6650 backward-kill-word, reindent-then-newline-and-indent.
6651 (ruby-mark-defun): Remove.
6652 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6653 (ruby-mode): Set local beginning-of-defun-function and
6654 end-of-defun-function values.
6655
6656 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6657
6658 * window.el (temp-buffer-window-setup-hook)
6659 (temp-buffer-window-show-hook): New hooks.
6660 (temp-buffer-window-setup, temp-buffer-window-show)
6661 (with-temp-buffer-window): New functions.
6662 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6663 (special-display-popup-frame): Make sure the window used shows BUFFER.
6664
6665 * help.el (temp-buffer-resize-mode): Fix doc-string.
6666 (resize-temp-buffer-window): New optional argument WINDOW.
6667
6668 * files.el (recover-file, save-buffers-kill-emacs):
6669 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6670
6671 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6672
6673 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6674 remote definition of `default-directory', ensure we can connect.
6675
6676 2012-09-02 Juri Linkov <juri@jurta.org>
6677
6678 Toggle whitespace matching mode with M-s SPC.
6679 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6680
6681 * isearch.el (search-whitespace-regexp): Doc fix.
6682 Remove cons cell customization.
6683 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6684 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6685 New variables.
6686 (isearch-forward, isearch-forward-regexp): Doc fix.
6687 (isearch-toggle-lax-whitespace): New command.
6688 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6689 (re-search-forward-lax-whitespace)
6690 (re-search-backward-lax-whitespace): New functions.
6691 (isearch-whitespace-regexp): Remove function.
6692 (isearch-query-replace): Let-bind replace-search-function and
6693 replace-re-search-function.
6694 (isearch-occur): Let-bind search-spaces-regexp according to the
6695 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6696 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6697 condition for C-q SPC.
6698 (isearch-search-fun-default): Use new functions mentioned above.
6699 (isearch-search-forward, isearch-search-backward): Remove functions.
6700 (isearch-search): Don't let-bind search-spaces-regexp.
6701 (isearch-lazy-highlight-space-regexp): Remove variable.
6702 (isearch-lazy-highlight-lax-whitespace)
6703 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6704 (isearch-lazy-highlight-new-loop): Use them.
6705 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6706
6707 2012-09-02 Chong Yidong <cyd@gnu.org>
6708
6709 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6710
6711 2012-09-02 Glenn Morris <rgm@gnu.org>
6712
6713 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6714
6715 2012-09-01 Glenn Morris <rgm@gnu.org>
6716
6717 * term.el: Tidy up menu definitions.
6718 (term-mode-map): Use easymenu for In/Out, Complete menus.
6719 (term-pager-break-map): Initialize in the defvar.
6720 (term-terminal-menu, term-signals-menu): Define with easymenu.
6721 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6722 (term-pager-menu): New, extracted from term-process-pager.
6723 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6724 (term-update-mode-line): Propertize line/char and page items.
6725 (term-process-pager): Move keymap initialization elsewhere.
6726
6727 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6728
6729 * window.el (switch-to-prev-buffer): Handle additional values of
6730 BURY-OR-KILL argument. Don't switch in minibuffer window.
6731 (switch-to-next-buffer): Don't switch in minibuffer window.
6732 (quit-restore-window): New function based on quit-window.
6733 Handle additional values of former KILL argument.
6734 (quit-window): Call quit-restore-window with appropriate
6735 interpretation of KILL argument.
6736 (display-buffer-below-selected): New buffer display action
6737 function.
6738
6739 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6740
6741 * minibuffer.el (completion-at-point-functions): Complete docstring
6742 (bug#12254).
6743
6744 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6745
6746 Better seed support for (random).
6747 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6748 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6749 * play/mpuz.el, play/tetris.el, play/zone.el:
6750 * calc/calc-comb.el (math-init-random-base):
6751 * play/blackbox.el (bb-init-board):
6752 * play/life.el (life):
6753 * server.el (server-use-tcp):
6754 * type-break.el (type-break):
6755 Remove unnecessary call to (random t).
6756 * net/sasl.el (sasl-unique-id-function):
6757 Change (random t) to (random), now that the latter is more random.
6758 * play/life.el (life-initialized): Remove no-longer-needed var.
6759
6760 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6761
6762 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6763 Consider frame's buffer predicate when choosing the buffer.
6764 (Bug#12081)
6765
6766 2012-08-30 Richard Stallman <rms@gnu.org>
6767
6768 * simple.el (special-mode-map): Delete binding for `z'.
6769
6770 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6771
6772 * progmodes/compile.el (compilation-always-kill): Doc fix.
6773
6774 2012-08-30 Chong Yidong <cyd@gnu.org>
6775
6776 * window.el (display-buffer-reuse-frames): Make the obsolescence
6777 message more informative.
6778
6779 2012-08-30 Glenn Morris <rgm@gnu.org>
6780
6781 * paren.el (show-paren-delay):
6782 Add a :set function. Doc fix. (Bug#12297)
6783
6784 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6785
6786 * progmodes/compile.el (compilation-always-kill): New var.
6787 (compilation-start): Use it.
6788
6789 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6790
6791 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6792 * files.el (read-only-mode): Move to simple.el.
6793
6794 * files.el (read-only-mode): New minor mode.
6795 (toggle-read-only): Use it and mark obsolete.
6796 (find-file--read-only):
6797 * vc/vc.el (vc-next-action, vc-checkout):
6798 * vc/vc-cvs.el (vc-cvs-checkout):
6799 * obsolete/vc-mcvs.el (vc-mcvs-update):
6800 * ffap.el (ffap--toggle-read-only): Update callers.
6801
6802 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6803
6804 * eshell/esh-ext.el (eshell-external-command): Do not examine
6805 remote shell scripts.
6806 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6807
6808 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6809 "/usr/local/sbin".
6810
6811 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6812
6813 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6814
6815 2012-08-28 Leo Liu <sdl.web@gmail.com>
6816
6817 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6818 completion-at-point. (Bug#12220)
6819
6820 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6821
6822 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6823
6824 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6825
6826 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6827 be buffer-local; add delete-trailing-whitespace (bug#12259).
6828
6829 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6830
6831 * progmodes/hideif.el (hif-compress-define-list):
6832 Fix typo. (Bug#11951)
6833
6834 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6835
6836 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6837 buffer local setting.
6838
6839 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6840 rcirc-encode-coding-system.
6841
6842 2012-08-28 Leo Liu <sdl.web@gmail.com>
6843
6844 * net/rcirc.el (rcirc-split-message): New function.
6845 (rcirc-send-message): Use it. (Bug#12051)
6846
6847 2012-08-28 Juri Linkov <juri@jurta.org>
6848
6849 * info.el (Info-fontify-node): Hide empty lines at the end of
6850 the node. (Bug#12272)
6851
6852 2012-08-27 Drew Adams <drew.adams@oracle.com>
6853
6854 * dired.el (dired-pop-to-buffer): Make window start at beginning
6855 of buffer (Bug#12281).
6856
6857 2012-08-26 Chong Yidong <cyd@gnu.org>
6858
6859 * window.el (special-display-regexps, special-display-frame-alist)
6860 (special-display-buffer-names, special-display-function)
6861 (display-buffer-reuse-frames): Mark as obsolete.
6862
6863 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6864
6865 * help.el (help-print-return-message): Don't treat
6866 display-buffer-reuse-frames specially.
6867
6868 2012-08-26 Chong Yidong <cyd@gnu.org>
6869
6870 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6871 New variable, replacing gdb-frame-parameters.
6872 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6873 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6874 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6875 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6876 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6877 the functions directly with gdb-display-buffer-other-frame-action.
6878 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6879 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6880 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6881 (gdb-display-registers-buffer): Define directly.
6882 (def-gdb-display-buffer): Macro deleted.
6883 (gdb-display-buffer): Remove second and third args, callers don't
6884 use them. Defer to the default display-buffer behavior, apart
6885 from making windows dedicated.
6886 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6887
6888 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6889
6890 * window.el (display-buffer-pop-up-frame): Handle a
6891 pop-up-frame-parameters alist entry.
6892 (display-buffer): Document it.
6893
6894 2012-08-26 Chong Yidong <cyd@gnu.org>
6895
6896 * isearch.el (search-whitespace-regexp): Make string and nil
6897 values apply to both ordinary and regexp search. Allow a cons
6898 cell value to distinguish between the two.
6899 (isearch-whitespace-regexp, isearch-search-forward)
6900 (isearch-search-backward): New functions.
6901 (isearch-occur, isearch-search-fun-default, isearch-search)
6902 (isearch-lazy-highlight-new-loop): Use them.
6903 (isearch-forward, isearch-forward-regexp): Doc fix.
6904
6905 2012-08-26 Chong Yidong <cyd@gnu.org>
6906
6907 * faces.el (help-argument-name): Always inherit from italic
6908 (Bug#12213).
6909
6910 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6911
6912 * window.el (window--even-window-heights): Even heights when
6913 WINDOW and the selected window form a vertical combination.
6914 (display-buffer-use-some-window): Provide that window used gets
6915 sized back by quit-window. (Bug#11880) and (Bug#12091)
6916
6917 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6918
6919 Fix file time stamp problem with bzr and CVS (Bug#12001).
6920 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6921 in the file's time stamp, since the version control system loses
6922 that information.
6923
6924 2012-08-22 Juri Linkov <juri@jurta.org>
6925
6926 * info.el (Info-fontify-node): Hide the suffix of the
6927 Info file name in the header line. (Bug#12187)
6928
6929 2012-08-22 Glenn Morris <rgm@gnu.org>
6930
6931 * calendar/cal-tex.el (cal-tex-weekly-common):
6932 Restore leading blank page.
6933
6934 2012-08-22 Le Wang <l26wang@gmail.com>
6935
6936 * misc.el (forward-to-word, backward-to-word): Activate or extend
6937 the region under `shift-select-mode'. (Bug#12231)
6938
6939 2012-08-22 Bastien Guerry <bzg@gnu.org>
6940
6941 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6942 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6943 gives details on why the space is never needed.
6944
6945 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6946
6947 * window.el (walk-window-tree, window-with-parameter):
6948 New optional argument MINIBUF to control whether these functions
6949 should run on the minibuffer window.
6950 (window-at-side-list): Don't operate on minibuffer window.
6951 (window-in-direction): Simplify and rewrite doc-string.
6952 (window--size-ignore): Rename to window--size-ignore-p.
6953 Update callers.
6954 (display-buffer-in-atom-window, window--major-non-side-window)
6955 (window--major-side-window, display-buffer-in-major-side-window)
6956 (delete-side-window, display-buffer-in-side-window):
6957 New functions.
6958 (window--side-check, window-deletable-p, delete-window)
6959 (delete-other-windows, split-window): Handle side windows and
6960 atomic windows appropriately.
6961 (window--display-buffer): Call display-buffer-record-window also
6962 when the window buffer did not change.
6963
6964 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6965
6966 * help-fns.el (help-fns--key-bindings):
6967 Abbreviate non-symbol remap targets. (Bug#12174)
6968
6969 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6970
6971 * dired.el (dired-mark-remembered): Don't clobber point.
6972 (Bug#11795)
6973
6974 2012-08-22 Glenn Morris <rgm@gnu.org>
6975
6976 * progmodes/bug-reference.el (bug-reference): New custom group.
6977 (bug-reference-bug-regexp): Make it a defcustom.
6978
6979 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6980
6981 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6982 (js-paren-indent-offset, js-square-indent-offset)
6983 (js-curly-indent-offset): Add :safe (Bug#12257).
6984
6985 2012-08-22 Edward O'Connor <hober0@gmail.com>
6986
6987 * json.el (json-key-format): Add error properties.
6988 (json-encode-key): New function.
6989 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6990 Use json-encode-key.
6991
6992 2012-08-22 Glenn Morris <rgm@gnu.org>
6993
6994 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6995 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6996 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6997 Update for above change.
6998
6999 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7000
7001 * cus-face.el (custom-face-attributes): Fix customize type for the
7002 :underline attribute. (Bug#11805)
7003
7004 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7005
7006 * window.el (window-point-1, set-window-point-1): Remove.
7007 (window-in-direction, record-window-buffer)
7008 (set-window-buffer-start-and-point, split-window-below)
7009 (window--state-get-1, display-buffer-record-window):
7010 Replace calls to window-point-1 and set-window-point-1 by calls to
7011 window-point and set-window-point respectively.
7012
7013 2012-08-21 Glenn Morris <rgm@gnu.org>
7014
7015 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7016 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7017 Use it.
7018
7019 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7020 (cal-tex-shortday): New function.
7021 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7022 (cal-tex-cursor-filofax-daily): Use the above.
7023
7024 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7025 New functions.
7026 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7027 (cal-tex-cursor-filofax-week): Use them.
7028
7029 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7030 New constants.
7031 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7032 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7033
7034 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7035 (cal-tex-end-document): Don't rely on buffer name.
7036
7037 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7038 Use cal-tex-vspace.
7039 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7040 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7041 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7042 Use cal-tex-arg.
7043
7044 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7045 (cal-tex-cursor-week, cal-tex-cursor-week2)
7046 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7047 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7048 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7049 (cal-tex-insert-preamble, cal-tex-b-document)
7050 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7051 Improve cal-tex-cmd usage.
7052
7053 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7054 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7055 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7056 (cal-tex-weekly-paper): New function.
7057 (cal-tex-cursor-week, cal-tex-cursor-week2)
7058 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7059 (cal-tex-cursor-day): Use it.
7060
7061 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7062 (cal-tex-cursor-filofax-week): Remove leading blank page.
7063
7064 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7065 Add autoload cookie. For now at least, don't use color, since
7066 no other cal-tex function does.
7067
7068 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7069 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7070 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7071
7072 2012-08-21 Juri Linkov <juri@jurta.org>
7073
7074 * info.el (Info-file-attributes): New variable.
7075 (info-insert-file-contents): Add file attributes to
7076 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7077 `Info-toc-nodes' when previous modtime of the Info file is less
7078 than new modtime.
7079 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7080 of info.el. (Bug#12230)
7081
7082 2012-08-20 Glenn Morris <rgm@gnu.org>
7083
7084 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7085 * calendar/holidays.el (calendar-holiday-list):
7086 Report errors with display-warning rather than beep'n'sleep.
7087
7088 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7089
7090 * net/tramp.el (tramp-accept-process-output): Accept only output
7091 from PROC. Otherwise, process filters and sentinels might be
7092 confused. (Bug#12145)
7093
7094 2012-08-20 Chong Yidong <cyd@gnu.org>
7095
7096 * descr-text.el (describe-text-properties-1): Use overlays-in to
7097 report on empty overlays (Bug#3322).
7098
7099 2012-08-20 Glenn Morris <rgm@gnu.org>
7100
7101 * mail/rmailout.el (rmail-output-read-file-name):
7102 Trap and report errors in rmail-output-file-alist elements.
7103
7104 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7105 since most non-font-lock faces are not also variables).
7106
7107 2012-08-20 Edward Reingold <reingold@iit.edu>
7108
7109 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7110 New function. (Bug12160)
7111
7112 2012-08-19 Glenn Morris <rgm@gnu.org>
7113
7114 * mail/rmailout.el (rmail-output-read-file-name):
7115 Fix previous change (when the alist is nil or does not match).
7116
7117 2012-08-19 Chong Yidong <cyd@gnu.org>
7118
7119 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7120 (Bug#12228).
7121
7122 2012-08-18 Chong Yidong <cyd@gnu.org>
7123
7124 * simple.el (yank-handled-properties): New defcustom.
7125 (yank-excluded-properties): Add font-lock-face and category.
7126 (yank): Doc fix.
7127
7128 * subr.el (remove-yank-excluded-properties):
7129 Obey yank-handled-properties. The special handling of font-lock-face
7130 and category is now done this way, instead of being hard-coded.
7131 (insert-for-yank-1): Remove font-lock-face handling.
7132 (yank-handle-font-lock-face-property)
7133 (yank-handle-category-property): New function.
7134
7135 2012-08-17 Glenn Morris <rgm@gnu.org>
7136
7137 * mail/rmailout.el (rmail-output-read-file-name):
7138 Check rmail-output-file-alist against the full message body
7139 in the correct rmail buffer. (Bug#12214)
7140
7141 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7142
7143 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7144 Eliminate superfluous prompt. (Bug#12203)
7145
7146 2012-08-17 Chong Yidong <cyd@gnu.org>
7147
7148 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7149 font spec, set the font directly (Bug#3228).
7150
7151 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7152
7153 * window.el (delete-window): Fix last fix.
7154
7155 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7156
7157 * window.el (window-valid-p): Move to window.c.
7158 (window-child, window-child-count, window-last-child)
7159 (window-normalize-window, window-combined-p)
7160 (window-combinations, window-atom-root, window-min-size)
7161 (window-sizable, window-sizable-p, window-size-fixed-p)
7162 (window-min-delta, window-max-delta, window--resizable)
7163 (window--resizable-p, window-resizable, window-total-size)
7164 (window-full-height-p, window-full-width-p, window-body-size)
7165 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7166 (minimize-window, window-deletable-p, delete-window)
7167 (delete-other-windows, set-window-buffer-start-and-point)
7168 (next-buffer, previous-buffer, split-window, balance-windows-2)
7169 (set-window-text-height, window-buffer-height)
7170 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7171 (truncated-partial-width-window-p): Minor code adjustments.
7172 In doc-strings state whether the argument window has to denote a
7173 live, valid or any window.
7174
7175 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7176
7177 * progmodes/subword.el (subword-forward-function)
7178 (subword-backward-function, subword-forward-regexp)
7179 (subword-backward-regexp): New variables.
7180 (subword-forward, subword-forward-internal, subword-backward-internal):
7181 Use new variables, eg so that different "word" definitions
7182 can be easily used. (Bug#11411)
7183
7184 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7185
7186 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7187 for composite selectors.
7188 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7189 operation just because we can't find a previous revision.
7190
7191 2012-08-15 Chong Yidong <cyd@gnu.org>
7192
7193 * frame.el (set-frame-font): Accept font objects.
7194
7195 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7196
7197 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7198
7199 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7200
7201 * man.el (Man-overstrike-face, Man-underline-face)
7202 (Man-reverse-face): Remove variables.
7203 (Man-overstrike, Man-underline, Man-reverse): New faces.
7204 (Man-fontify-manpage): Use them instead of the variables.
7205 (Man-cleanup-manpage): Comment change.
7206 (Man-ansi-color-map): New variable.
7207 (Man-fontify-manpage): Use it.
7208 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7209
7210 Implement ANSI SGR parameters 22-27 (bug#12146).
7211 * ansi-color.el (ansi-colors): Doc fix.
7212 (ansi-color-context, ansi-color-context-region): Doc fix.
7213 (ansi-color--find-face): New function.
7214 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7215 Rename the local variable `face' to `codes' since it is now a list of
7216 ansi codes. Doc fix.
7217 (ansi-color-get-face): Remove.
7218 (ansi-color-parse-sequence): New function, derived from
7219 ansi-color-get-face.
7220 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7221 codes 22-27.
7222
7223 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7224
7225 * subr.el (read-passwd): Allow use from a minibuffer.
7226
7227 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7228
7229 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7230 inside comments and strings as identifiers.
7231
7232 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7233 expression to evaluate. This allows to evaluate expressions with
7234 embedded whitespace.
7235 (gud-tooltip-tips): Add a blank before the newline in the
7236 message-box text, for the benefit of message-box emulation on
7237 MS-Windows.
7238
7239 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7240 messages from GDB, pop them up in a tooltip to give feedback to
7241 user.
7242 (gdb-tooltip-print-1): Quote the expression to evaluate.
7243 This allows to evaluate expressions with embedded whitespace.
7244 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7245 if the TTY name is nil or empty (which happens when communicating
7246 with the inferior via pipes, e.g. on MS-Windows).
7247 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7248 don't send that to the GUD buffer.
7249
7250 2012-08-14 Glenn Morris <rgm@gnu.org>
7251
7252 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7253 Optimize away setq-default with no args, as for setq. (Bug#12195)
7254
7255 2012-08-14 Chong Yidong <cyd@gnu.org>
7256
7257 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7258
7259 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7260 (Bug#12085).
7261
7262 2012-08-14 Glenn Morris <rgm@gnu.org>
7263
7264 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7265
7266 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7267
7268 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7269 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7270 Use cached shell name.
7271
7272 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7273
7274 * progmodes/python.el (python-shell-send-string):
7275 (python-shell-send-setup-code): Do not use `format' with `message'.
7276
7277 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7278
7279 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7280 (ruby-percent-literal-beg-re): New constant.
7281 (ruby-syntax-general-delimiters-goto-beg): Rename to
7282 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7283 (ruby-syntax-propertize-general-delimiters): Rename to
7284 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7285 popular term. Adjust comments everywhere.
7286 (ruby-syntax-propertize-percent-literal): Only propertize when not
7287 inside a simple string or comment. When the literal is unclosed,
7288 leave the text after it unpropertized.
7289 (ruby-syntax-methods-before-regexp): New constant.
7290 (ruby-syntax-propertize-function): Use it to recognize regexps.
7291 Don't look at the text after regexp, just use the whitelist.
7292
7293 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7294
7295 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7296 non-nil always load the compiled file if it exists. (Bug#12197)
7297
7298 2012-08-14 Chong Yidong <cyd@gnu.org>
7299
7300 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7301 (hi-lock-set-pattern): When deciding whether to use font lock or
7302 overlays, look at font-lock-mode instead of font-lock-fontified
7303 (Bug#12168).
7304 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7305 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7306
7307 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7308
7309 * subr.el (internal--after-with-selected-window): Fix typo
7310 (Bug#12193).
7311
7312 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7313
7314 Use `completion-table-dynamic' for completion functions.
7315 * progmodes/python.el
7316 (python-shell-completion--do-completion-at-point)
7317 (python-shell-completion--get-completions):
7318 Remove functions.
7319 (python-shell-completion-complete-at-point): New function.
7320 (python-completion-complete-at-point): Use it.
7321
7322 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7323
7324 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7325 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7326
7327 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 * subr.el (function-get): Refine `autoload' arg so it can also
7330 autoload functions for gv.el (bug#12191).
7331 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7332 autoloads macros.
7333
7334 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7335 Prefer pcase-let over destructuring-bind.
7336 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7337 Also, remove whitespace as we go, rather than after accumulating the
7338 various places.
7339
7340 * subr.el (internal--before-with-selected-window)
7341 (internal--after-with-selected-window): Fix typo seleted->selected.
7342 (with-selected-window): Adjust callers.
7343 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7344
7345 2012-08-13 Bastien Guerry <bzg@gnu.org>
7346
7347 * window.el (special-display-popup-frame): Minor docstring
7348 enhancement. (Bug#12172)
7349
7350 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7351
7352 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7353 type 1-6.
7354 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7355 extended headers.
7356
7357 * files.el (hack-local-variables-filter): Remove useless eval.
7358
7359 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7360
7361 * subr.el (with-selected-window): Fix last change.
7362
7363 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * subr.el (internal--before-with-seleted-window)
7366 (internal--after-with-seleted-window): New functions.
7367 (with-selected-window): Use them, to replace dependency on
7368 tty-top-frame.
7369
7370 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7371
7372 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7373 binding for `newline'.
7374 (ruby-move-to-block): When moving backward, stop at block opening,
7375 not indentation.
7376 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7377 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7378 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7379 `ruby-toggle-block'.
7380
7381 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7382
7383 * ibuffer.el (ibuffer-do-toggle-read-only):
7384 * dired.el (dired-toggle-read-only):
7385 * buff-menu.el (Buffer-menu-toggle-read-only):
7386 * bindings.el (mode-line-toggle-read-only):
7387 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7388
7389 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7390
7391 * descr-text.el (describe-char): Put the overlays over the
7392 "displayed as" character.
7393
7394 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7395
7396 * calc/calc-units.el (math-default-units-table): Give an
7397 initial value.
7398 (math-put-default-units): Add options to put composite units and
7399 unit systems in the default units table.
7400 (calc-convert-units): Send composite units to
7401 `math-put-default-units' when appropriate.
7402
7403 2012-08-11 Glenn Morris <rgm@gnu.org>
7404
7405 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7406
7407 * tutorial.el (help-with-tutorial):
7408 * emacs-lisp/copyright.el (copyright-update-directory):
7409 * emacs-lisp/autoload.el (autoload-find-generated-file)
7410 (autoload-find-file): Disable local eval: (for insurance).
7411
7412 * files.el (hack-local-variables-filter): If an eval: form is not
7413 known to be safe, and enable-local-variables is :safe, then ignore
7414 the form totally, as is done for non-eval forms. (Bug#12155)
7415 This is CVE-2012-3479.
7416
7417 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7418
7419 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7420 (rx-form): Simplify.
7421
7422 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7423
7424 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7425 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7426 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7427 (ruby-syntax-propertize-function): Adjust for changes in
7428 `ruby-syntax-propertize-heredoc'.
7429
7430 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7431
7432 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7433 binding (use `M-;' instead).
7434 (ruby-singleton-class-p): New function.
7435 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7436
7437 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7438
7439 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7440
7441 2012-08-10 Chong Yidong <cyd@gnu.org>
7442
7443 * progmodes/python.el (python-shell-get-process-name): Don't mess
7444 with same-window-buffer-names.
7445
7446 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7447 (eshell-remove-from-window-buffer-names): Make obsolete.
7448 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7449 (eshell): Just use pop-to-buffer-same-window instead.
7450
7451 2012-08-10 Chong Yidong <cyd@gnu.org>
7452
7453 * bindings.el: Bind M-= back to count-words-region.
7454
7455 * simple.el (count-words-region): Accept a prefix arg for acting
7456 on the entire buffer.
7457 (count-words--buffer-message): New helper function.
7458
7459 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7460
7461 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7462 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7463 (event-start, event-end): Use posn-at-point to return a more
7464 informative posn.
7465 (posnp): New function.
7466 * mouse.el (popup-menu-normalize-position): Use it.
7467
7468 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7469
7470 * mouse.el (popup-menu-normalize-position): New function.
7471 (popup-menu): Use `popup-menu-normalize-position' to normalize
7472 the form for POSITION argument.
7473
7474 * term/x-win.el (x-menu-bar-open):
7475 Use the value returend from (posn-at-point) as position
7476 passed to `popup-menu'.
7477
7478 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7479
7480 * calc/calccomp.el (math-compose-expr): Add extra argument
7481 indicating that parentheses should be put around products in
7482 denominators. Give multiplication precedence over division during
7483 composition.
7484
7485 2012-08-09 Chong Yidong <cyd@gnu.org>
7486
7487 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7488 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7489 (Man-untabify-command, manual-program): Convert to defcustom
7490 (Bug#10429).
7491
7492 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7493
7494 * descr-text.el (describe-char): Don't insert extra newlines
7495 (Bug#10127).
7496
7497 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7498 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7499
7500 * align.el (align-region): Delete temporary markers (Bug#10047).
7501 Plus some code cleanups.
7502
7503 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7504
7505 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7506 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7507 (python-shell-internal-last-output): Use make-local-variable
7508 instead of make-variable-buffer-local.
7509
7510 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7511
7512 * progmodes/python.el: Enhancements to forward-sexp.
7513 (python-nav-forward-sexp): Rename from
7514 python-nav-forward-sexp-function.
7515 (python-nav--forward-sexp, python-nav--backward-sexp):
7516 New functions.
7517
7518 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7519
7520 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7521 modes and simplification modes.
7522
7523 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7524
7525 * delsel.el (delete-selection-pre-hook): Don't propagate the
7526 file-supersession signals (bug#12161).
7527
7528 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7529
7530 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7531 (cl-map-extents): Add compatibility aliases (bug#12135).
7532
7533 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7534
7535 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7536 tests by `ignore-error'.
7537 (tramp-find-shell): Open also a new shell, when cache is already
7538 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7539
7540 2012-08-08 Juri Linkov <juri@jurta.org>
7541
7542 * bookmark.el: Add `defaults' property to the bookmark record.
7543 (bookmark-current-buffer): Doc fix.
7544 (bookmark-make-record): Add `defaults' property with default values
7545 to the bookmark record.
7546 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7547 with `bookmark-insert-current-bookmark'.
7548 (bookmark-set): Get `defaults' property from the bookmark record
7549 and use it in `read-from-minibuffer'.
7550 (bookmark-insert-current-bookmark): Remove function.
7551
7552 * info.el (Info-bookmark-make-record): Add `defaults' property
7553 with values of canonical Info node name, the current Info file
7554 name and the current Info node name. (Bug#12107)
7555
7556 2012-08-08 Juri Linkov <juri@jurta.org>
7557
7558 * files.el (basic-save-buffer): Use `buffer-name' as the default
7559 of `read-file-name' when buffer is not visiting a file (bug#12128).
7560
7561 2012-08-08 Juri Linkov <juri@jurta.org>
7562
7563 * info.el (Info-isearch-search): Doc fix.
7564 (Info-search): Change search-failed message from "initial node" to
7565 "end of node" (bug#12078).
7566 (Info-isearch-search): Change `isearch-string-state' to
7567 `isearch--state-string'.
7568
7569 2012-08-08 Glenn Morris <rgm@gnu.org>
7570
7571 * language/persian.el: Remove file.
7572 * language/misc-lang.el: Move unique part of persian.el here.
7573 * loadup.el: Remove language/persian.
7574
7575 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7576
7577 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7578
7579 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7580
7581 * progmodes/python.el: Fix defsubst warning.
7582 (python-syntax-context) Rename from python-info-ppss-context.
7583 (python-syntax-context-type): Rename from
7584 python-info-ppss-context-type.
7585 (python-syntax-comment-or-string-p): Rename from
7586 python-info-ppss-comment-or-string-p.
7587
7588 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7589
7590 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7591
7592 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7593
7594 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7595 a defcustom that is quoted with backquote.
7596
7597 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7598 Fix handling of interactive spec when the body uses return.
7599 (math-do-arg-check, math-define-function-body): Use backquote forms.
7600 * calc/calc-ext.el (math-defcache): Likewise.
7601 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7602 * allout.el (allout-new-exposure): Likewise.
7603 * calc/calcalg2.el (math-tracing-integral): Likewise.
7604 * info.el (Info-last-menu-item): Likewise.
7605 * emulation/vip.el (vip-loop): Likewise.
7606 * textmodes/artist.el (artist-funcall): Likewise.
7607 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7608 Construct menu-item directly.
7609
7610 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7611 Don't declare.
7612
7613 2012-08-07 Chong Yidong <cyd@gnu.org>
7614
7615 * simple.el (deactivate-mark): Preserve text properties when
7616 saving the primary selection (Bug#8384).
7617
7618 2012-08-07 Kevin Ryde <user42@zip.com.au>
7619
7620 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7621 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7622 and continue processing (Bug#12110).
7623
7624 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7625
7626 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7627 syntax-propertize-function (bug#10095).
7628
7629 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7630
7631 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7632 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7633 describe-function-1.
7634 (describe-function-1): Use them. Move compiler macro after sig.
7635 (help-fns--compiler-macro): Use function-get. Assume we're already in
7636 standard-output. Adjust layout to new call order.
7637
7638 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7639 re-binding a symbol that has a symbol-macro (bug#12119).
7640
7641 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7642
7643 * language/persian.el: New file. (Bug#11812)
7644 * loadup.el: Add language/persian.el.
7645
7646 2012-08-06 Chong Yidong <cyd@gnu.org>
7647
7648 * window.el (window--maybe-raise-frame): New function.
7649 (window--display-buffer): Split off from here.
7650 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7651 (display-buffer-pop-up-window, display-buffer-use-some-window):
7652 Obey an inhibit-switch-frame action alist entry.
7653 (display-buffer): Update doc.
7654
7655 * replace.el (occur-after-change-function): Avoid losing focus by
7656 using the inhibit-switch-frame display parameter (Bug#12139).
7657
7658 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7659
7660 Make internal shell process buffer names start with space.
7661 * progmodes/python.el (python-shell-make-comint): Add optional
7662 argument INTERNAL.
7663 (run-python-internal): Use it.
7664 (python-shell-internal-get-or-create-process): Check for new
7665 internal buffer names.
7666
7667 2012-08-06 Glenn Morris <rgm@gnu.org>
7668
7669 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7670 Do less getting and setting of environment variables.
7671
7672 2012-08-05 Chong Yidong <cyd@gnu.org>
7673
7674 * proced.el (proced): Add substitution string to docstring to
7675 trigger autoloading of the proced library on C-h f (Bug#1768).
7676
7677 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7678 Don't show defvars which have no second argument (Bug#8638).
7679
7680 * imenu.el (imenu-generic-expression): Move documentation here
7681 from imenu--generic-function.
7682 (imenu--generic-function): Refer to imenu-generic-expression.
7683
7684 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7685
7686 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7687 indentation declaration.
7688 (viper-loop): Add indentation declaration (Bug#7025).
7689
7690 2012-08-05 Chong Yidong <cyd@gnu.org>
7691
7692 * help-fns.el (describe-variable): Add hyperlink for
7693 directory-local variables files. Improve buffer-local and
7694 permanent-local reporting; suggested by MON KEY (Bug#6644).
7695
7696 * help-mode.el (help-dir-local-var-def): New button type.
7697
7698 * files.el (kill-buffer-hook): Provide a defvar.
7699
7700 2012-08-05 Glenn Morris <rgm@gnu.org>
7701
7702 * eshell/esh-ext.el (eshell/addpath):
7703 Also update eshell-path-env. (Bug#12013)
7704
7705 2012-08-05 Chong Yidong <cyd@gnu.org>
7706
7707 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7708
7709 * fringe.el (fringe-styles): Add docstring.
7710 (fringe--check-mode): New function.
7711 (set-fringe-mode, set-fringe-style): Use it.
7712 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7713
7714 * files.el (set-auto-mode): Fix invalid setq call.
7715
7716 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7717
7718 * isearch.el: Misc simplification; use defstruct.
7719 (isearch-mode-map): Dense maps now work like sparse ones.
7720 (isearch--state): New defstruct.
7721 (isearch-string-state, isearch-message-state, isearch-point-state)
7722 (isearch-success-state, isearch-forward-state)
7723 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7724 (isearch-wrapped-state, isearch-barrier-state)
7725 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7726 replaced by defstruct's accessors.
7727 (isearch--set-state): Rename from isearch-top-state and change
7728 calling convention.
7729 (isearch-push-state): Use new isearch--get-state.
7730 (isearch-toggle-word): Disable regexp when enabling word.
7731 (isearch-message-prefix): Remove unused arg _c-q-hack.
7732 (isearch-message-suffix): Remove unused arg _ellipsis.
7733
7734 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7735
7736 * simple.el (list-processes--refresh): For a server use :host or
7737 :local as the address.
7738 (list-processes): Doc fix.
7739
7740 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7741
7742 * lisp/mpc.el: Support password in host argument.
7743 (mpc--proc-connect): Parse and use new password element.
7744 Set mpc-proc variable instead of returning process.
7745 (mpc-proc): Adjust accordingly.
7746
7747 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7748
7749 * whitespace.el (whitespace-display-mappings): Use Unicode
7750 codepoints, instead of emacs-mule codepoints. See
7751 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7752 for the details.
7753
7754 * files.el (file-truename): Don't skip symlink-chasing part on
7755 windows-nt. Incorporate the resolution of 8+3 short aliases on
7756 Windows into the loop that recursively chases symlinks.
7757 Compare directory and its parent case-insensitively on MS-Windows and
7758 MS-DOS.
7759
7760 2012-08-03 Chong Yidong <cyd@gnu.org>
7761
7762 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7763
7764 * sort.el (sort-regexp-fields): Doc fix.
7765
7766 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7767
7768 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7769 labels regex position point at the expected place.
7770
7771 2012-08-03 MON KEY <monkey@sandpframing.com>
7772
7773 * net/imap.el (imap-interactive-login, imap-authenticate)
7774 (imap-mailbox-lsub, imap-mailbox-list)
7775 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7776 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7777 (imap-parse-response): Doc fix.
7778
7779 2012-08-03 João Távora <joaotavora@gmail.com>
7780
7781 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7782 if sexp scanning does not move point (Bug#5734).
7783
7784 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7785
7786 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7787 Add listings, minted, and ctable packages.
7788 (reftex-label-alist-builtin): Move listings, minted, and ctable
7789 entries before LaTeX.
7790 (reftex-label-alist): Docfix.
7791
7792 2012-08-02 Bastien Guerry <bzg@gnu.org>
7793
7794 * replace.el (occur): Fix docstring (bug#12122).
7795
7796 2012-08-02 Glenn Morris <rgm@gnu.org>
7797
7798 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7799
7800 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7801
7802 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7803 * international/mule-cmds.el: Create
7804 inactivate-current-input-method-function as an obsolete alias for
7805 deactivate-current-input-method-function. See Katsumi Yamaoka in
7806 <http://bugs.gnu.org/10150#46>.
7807
7808 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7809
7810 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7811 of nested `if's.
7812
7813 2012-08-01 Glenn Morris <rgm@gnu.org>
7814
7815 * progmodes/autoconf.el (autoconf-definition-regexp):
7816 Add AH_TEMPLATE, adjust submatch numbering.
7817 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7818 (autoconf-current-defun-function): Update for above change.
7819 (autoconf-current-defun-function): First skip to end of current word.
7820
7821 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7822
7823 * calendar/cal-html.el (cal-html-insert-agenda-days):
7824 Fix typo. (Bug#12018)
7825
7826 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7827
7828 Shell processes: enhancements to startup and CEDET compatibility.
7829 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7830 (python-shell-make-comint): accept-process-output at startup.
7831 (run-python-internal): Set inferior-python-mode-hook to nil.
7832 (python-shell-internal-get-or-create-process): call sit-for.
7833 (python-preoutput-result): Add obsolete alias.
7834 (python-shell-internal-send-string): Use it.
7835 (python-shell-send-setup-code): Remove call to
7836 accept-process-output.
7837
7838 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7839
7840 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7841 (Bug#12108)
7842
7843 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7844
7845 * calc-mode.el (calc-basic-simplification-mode): Rename from
7846 `calc-limited-simplification-mode'.
7847 (calc-alg-simplification-mode): New function.
7848 (calc-set-simplify-mode): Adjust message.
7849
7850 * calc.el (calc-set-mode-line): Adjust mode line display for
7851 basic simplification mode.
7852
7853 * calc-help.el (calc-m-prefix-help): Update help message.
7854
7855 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7856 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7857
7858 2012-07-31 Bastien Guerry <bzg@gnu.org>
7859
7860 * man.el (man): Fix comment. (bug#12101)
7861
7862 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7863
7864 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7865 Don't return a non-nil value when no suitable buffer was found.
7866
7867 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7868
7869 * progmodes/python.el (run-python-internal): Disable font lock for
7870 internal shells.
7871
7872 2012-07-30 Stefan Merten <smerten@oekonux.de>
7873
7874 * textmodes/rst.el: Silence `checkdoc-ispell'.
7875 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7876 (rst-official-version, rst-official-cvs-rev)
7877 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7878 (rst-mode-map): New key binding.
7879
7880 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7881
7882 Update .PHONY listings in makefiles.
7883 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7884 autoloads, update-subdirs, updates, bzr-update, update-authors,
7885 compile-onefile, compile-calc, backup-compiled-files,
7886 compile-after-backup, compile-one-process, mh-autoloads,
7887 bootstrap-clean, distclean, maintainer-clean.
7888
7889 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7890
7891 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7892 (calc-set-mode-line): Don't display "AlgSimp ".
7893
7894 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7895 (calc-lim-simplify-mode): New function.
7896 (calc-set-simplify-mode): Default to 'alg.
7897 (calc-default-simplify-mode): Make algebraic simplifications
7898 the default.
7899
7900 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7901 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7902
7903 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7904 indicate new simplification modes.
7905
7906 * calc/README: Mention new default simplification mode.
7907
7908 * calc/calc.el (math-normalize-error): New variable.
7909 (math-normalize): Set `math-normalize-error' to t
7910 when there's an error.
7911
7912 * calc/calc-alg.el (math-simplify): Don't simplify when
7913 `math-normalize' returns an error.
7914
7915 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7916
7917 * international/mule-cmds.el (set-locale-environment): Revert last
7918 change, since display-graphic-p returns nil when this function is
7919 called during startup. Instead...
7920
7921 * term/w32console.el (terminal-init-w32console): ...setup the
7922 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7923
7924 2012-07-29 Juri Linkov <juri@jurta.org>
7925
7926 * simple.el (goto-line): Don't display default line number in the
7927 prompt because it should be displayed by `read-number' (bug#9952).
7928 Add the current line number to the defaults of `goto-line' to
7929 allow its easier modification by users with `M-n' (bug#9201).
7930
7931 * subr.el (read-number): Support multiple default values like in
7932 other minibuffer reading functions. Replace `read' with
7933 `string-to-number' for consistency with `number-to-string'.
7934
7935 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7936
7937 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7938 * emulation/viper-init.el (viper-deactivate-input-method-action):
7939 Rename from viper-inactivate-input-method-action.
7940 (viper-deactivate-input-method):
7941 Rename from viper-inactivate-input-method.
7942 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7943 * international/mule-cmds.el (deactivate-input-method):
7944 Rename from inactivate-input-method.
7945 Also run input-method-deactivate-hook.
7946 (deactivate-current-input-method-function):
7947 Rename from inactivate-current-input-method-function.
7948 (input-method-deactivate-hook): New hook.
7949 (input-method-inactivate-hook): Mark obsolete.
7950 (inactivate-input-method): Mark obsolete.
7951
7952 * international/quail.el (quail-activate):
7953 Also run quail-deactivate-hook.
7954 (quail-deactivate): Rename from quail-inactivate.
7955 * international/robin.el (robin-activate):
7956 Also run robin-deactivate-hook.
7957 (robin-deactivate): Rename from robin-inactivate.
7958
7959 2012-07-29 Chong Yidong <cyd@gnu.org>
7960
7961 * simple.el (indicate-copied-region): New function.
7962 (kill-ring-save): Split off from here.
7963
7964 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7965 (kill-rectangle): Set deactivate-mark to t on read-only error.
7966
7967 * register.el (copy-to-register, copy-rectangle-to-register):
7968 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7969 (append-to-register, prepend-to-register): Call indicate-copied-region.
7970
7971 2012-07-29 Juri Linkov <juri@jurta.org>
7972
7973 * simple.el (async-shell-command-buffer): New defcustom.
7974 (shell-command): Use it. (Bug#4719)
7975
7976 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7977
7978 * international/mule-cmds.el (set-locale-environment): In a
7979 console session on MS-Windows, set up keyboard and terminal
7980 encoding from the OEM codepage, not the ANSI codepage.
7981 (Bug#12055)
7982
7983 2012-07-28 Chong Yidong <cyd@gnu.org>
7984
7985 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7986 gdb-get-location.
7987
7988 2012-07-28 Leo Liu <sdl.web@gmail.com>
7989
7990 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7991 the alist (bug#12029).
7992
7993 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7994
7995 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7996 (compile-always, compile-first)
7997 ($(lisp)/calendar/cal-loaddefs.el)
7998 ($(lisp)/calendar/diary-loaddefs.el)
7999 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8000 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8001 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8002 instead of on update-subdirs.
8003 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8004
8005 2012-07-28 Chong Yidong <cyd@gnu.org>
8006
8007 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8008 directory if vc-deduce-backend returns nil (Bug#7350).
8009
8010 * simple.el (delete-trailing-lines): New option.
8011 (delete-trailing-whitespace): Obey it (Bug#11879).
8012
8013 2012-07-28 David Engster <deng@randomsample.de>
8014
8015 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8016 Explanation of new 'symbol-qnames feature in doc-strings.
8017 (xml-maybe-do-ns): Return expanded names as plain symbols if
8018 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8019 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8020
8021 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8022
8023 Consistent completion in inferior python with emacs -nw.
8024 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8025 binding in inferior-python-mode-map with "\t".
8026 (python-shell-completion-complete-at-point)
8027 (python-completion-complete-at-point): Remove interactive spec.
8028
8029 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8030
8031 * calc/calccomp.el (math-compose-expr): Undo previous change.
8032
8033 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8034
8035 * progmodes/python.el (python-mode-map): Add keybinding for
8036 run-python.
8037 (python-shell-make-comint): Fix pop-to-buffer call.
8038 (run-python): Autoload. New arg SHOW.
8039 (python-shell-get-or-create-process): Do not pop python process
8040 buffer.
8041
8042 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8043
8044 * notifications.el (notifications-on-action-signal)
8045 (notifications-on-closed-signal): Use also the bus address for the map.
8046 (notifications-notify, notifications-close-notification)
8047 (notifications-get-capabilities): Add optional argument BUS.
8048
8049 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8050
8051 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8052 Add support for the lstlisting and minted environments, and for the
8053 ctable macro.
8054 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8055 labels written in keyvals syntax.
8056
8057 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8058
8059 * calc/calccomp.el (math-compose-expr): Use parentheses when
8060 there is a product in the denominator of a fraction.
8061
8062 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8063
8064 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8065 ($(lisp)/calendar/diary-loaddefs.el)
8066 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8067 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8068 Fixes failures in parallel bootstrap because subdirs.el is being
8069 rewritten while the autoload files are built at the same time,
8070 which needs to load subdirs.el.
8071
8072 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8073
8074 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8075 (mouse-drag-line): Don't exit tracking when a switch-frame or
8076 switch-window event occurs (Bug#12006).
8077
8078 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * mouse.el (popup-menu): Fix last change.
8081
8082 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8083
8084 Autoload from Lisp with more care. Follow aliases when looking for
8085 function properties.
8086 * subr.el (autoloadp): New function.
8087 (symbol-file): Use it.
8088 (function-get): New function.
8089 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8090 autoload-do-load.
8091 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8092 (lisp-indent-function):
8093 * emacs-lisp/gv.el (gv-get):
8094 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8095 * emacs-lisp/byte-opt.el (byte-optimize-form):
8096 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8097 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8098 Use function-get.
8099 * emacs-lisp/cl.el: Don't propagate function properties any more.
8100
8101 * speedbar.el (speedbar-add-localized-speedbar-support):
8102 * emacs-lisp/disass.el (disassemble-internal):
8103 * desktop.el (desktop-load-file):
8104 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8105 (describe-function-1):
8106 * emacs-lisp/find-func.el (find-function-noselect):
8107 * emacs-lisp/elp.el (elp-instrument-function):
8108 * emacs-lisp/advice.el (ad-has-proper-definition):
8109 * apropos.el (apropos-safe-documentation, apropos-macrop):
8110 * emacs-lisp/debug.el (debug-on-entry):
8111 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8112 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8113 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8114
8115 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8116
8117 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8118 function, not an obsolete variable (Bug#12046).
8119
8120 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8121
8122 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8123
8124 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8125
8126 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8127 window only if it is still live (Bug#12034).
8128
8129 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8130
8131 * subr.el (redirect-frame-focus): Add advertised calling
8132 convention (Bug#12030).
8133
8134 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8135
8136 Prefer typical American spelling for "acknowledgment".
8137 * vc/add-log.el (change-log-acknowledgment): Rename from
8138 change-log-acknowledgement, with an alias for the old name.
8139
8140 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8141
8142 * calc-alg.el (math-simplify-divide): Don't cross multiply
8143 in an equation when the lhs is a variable.
8144
8145 2012-07-24 Julien Danjou <julien@danjou.info>
8146
8147 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8148 Remove, unused.
8149
8150 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8151
8152 * startup.el (command-line): Don't display an empty user name in
8153 the error message about non-existent home directory, when
8154 init-file-user was set to an empty string. See
8155 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8156 for the details and context.
8157
8158 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8159
8160 * ses.el (ses-cell-formula-aset): New macro.
8161 (ses-cell-references-aset): New macro.
8162 (ses-cell-p): New function.
8163 (ses-rename-cell): Do no longer rely on complex operations like
8164 ses-cell-set-formula or ses-set-cell to change the cell and handle
8165 the undo at the same time, but rather use lower level new macros
8166 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8167 the undo directly. Refresh the mode line.
8168
8169 2012-07-21 Leo Liu <sdl.web@gmail.com>
8170
8171 * progmodes/cc-cmds.el (c-defun-name):
8172 Use match-string-no-properties instead for consistency.
8173
8174 2012-07-20 Leo Liu <sdl.web@gmail.com>
8175
8176 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8177 (Bug#7879)
8178
8179 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8180
8181 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8182
8183 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8184 * progmodes/bug-reference.el, misearch.el: Provide themselves
8185 (bug#11915).
8186
8187 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8188 of narrowed buffer (bug#11966).
8189
8190 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8191
8192 * ses.el (ses-rename-cell): Set new name also in reference list of
8193 cells of which the renamed cell depends.
8194
8195 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8196
8197 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8198 to check whether menu-bar is shown or not. If not shown,
8199 show the menu-bar as a popup menu instead of using tmm.
8200 * mouse.el (popup-menu): Accept `point' as `position' argument.
8201
8202 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8203
8204 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8205 up inside string symbol literal (bug#11923).
8206
8207 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8208
8209 * startup.el (fancy-startup-text): Read the whole tutorial, not
8210 just its first 256 bytes. Prevents gibberish in display of the
8211 tutorial title.
8212
8213 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8214
8215 Drop idle buffer compaction due to an absence of the
8216 proved efficiency.
8217 * compact.el: Remove.
8218
8219 2012-07-19 Sam Steingold <sds@gnu.org>
8220
8221 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8222 vc-bzr-pull & vc-bzr-merge-branch.
8223 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8224 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8225 for consistency with compilation-error-regexp-alist.
8226 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8227 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8228 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8229 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8230
8231 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8232
8233 * emacs-lisp/chart.el: Use lexical-binding.
8234 (chart-emacs-storage): Don't hardcode the list of entries.
8235
8236 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8237
8238 Next round of tweaks caused by Fgarbage_collect changes.
8239 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8240
8241 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8242
8243 Compact buffers when idle.
8244 * compact.el: New file.
8245
8246 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8247
8248 * subr.el (eventp): Presume that if it looks vaguely like an event,
8249 it's an event (bug#10190).
8250
8251 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8252
8253 Enhancements to ppss related code (thanks Stefan).
8254 * progmodes/python.el (python-indent-context)
8255 (python-indent-calculate-indentation, python-indent-dedent-line)
8256 (python-indent-electric-colon, python-nav-forward-block)
8257 (python-mode-abbrev-table)
8258 (python-info-assignment-continuation-line-p): Simplify checks
8259 for ppss context.
8260 (python-info-continuation-line-p): Cleanup.
8261 (python-info-ppss-context): Do not catch 'quote.
8262 (python-info-ppss-context-type)
8263 (python-info-ppss-comment-or-string-p): Simplify.
8264
8265 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8266
8267 * progmodes/python.el: Enhancements to eldoc support.
8268 (python-info-current-symbol): New function.
8269 (python-eldoc-at-point): Use python-info-current-symbol.
8270 (python-info-current-defun): Fix cornercase on first defun scan.
8271 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8272 and signal error when no inferior python process is available.
8273
8274 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8275
8276 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8277 assume it's always t.
8278 (vc-git-registered): Remove caching, the function is only called
8279 once.
8280 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8281
8282 2012-07-18 Chong Yidong <cyd@gnu.org>
8283
8284 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8285
8286 * simple.el (count-words): Report on narrowing (Bug#9959).
8287
8288 * bindings.el: Bind M-= to count-words.
8289
8290 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8291
8292 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8293
8294 * progmodes/sh-script.el (sh-imenu-generic-expression):
8295 Capture a function with `function' keyword and without parentheses
8296 like "function FOO" (bug#11856).
8297
8298 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8299
8300 * window.el (split-window-sensibly): Make WINDOW argument
8301 optional.
8302
8303 2012-07-18 Chong Yidong <cyd@gnu.org>
8304
8305 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8306
8307 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8308 and make C-x 8 RET exit isearch (Bug#11439).
8309
8310 * international/iso-transl.el: Move isearch-mode-map key
8311 definitions to isearch.el.
8312
8313 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8314
8315 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8316 (eieio-defclass): Use gv-define-setter when possible.
8317
8318 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8319
8320 Reflect recent changes in Fgarbage_collect.
8321 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8322 reflect new format of data returned by Fgarbage_collect.
8323
8324 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8325
8326 New utility functions + python-info-ppss-context fix (Bug#11910).
8327 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8328 (python-info-ppss-comment-or-string-p): New functions.
8329 (python-info-ppss-context): Small fix for string check.
8330
8331 2012-07-17 Juri Linkov <juri@jurta.org>
8332
8333 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8334 (dired-do-async-shell-command): Don't add `*' at the end of the
8335 command (Bug#11815).
8336 (dired-do-shell-command): Doc fix.
8337 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8338 Join the individual commands using either "&" or ";" as the
8339 separator depending on the values of these trailing characters.
8340 At the end re-add the trailing "&". (Bug#10598)
8341
8342 * simple.el (async-shell-command): Sync the interactive spec with
8343 `shell-command'. Doc fix.
8344 (shell-command): Doc fix.
8345
8346 2012-07-17 Juri Linkov <juri@jurta.org>
8347
8348 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8349
8350 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8351
8352 Final renames and doc fixes for movement commands (bug#11899).
8353 * progmodes/python.el (python-nav-beginning-of-statement):
8354 Rename from python-nav-statement-start.
8355 (python-nav-end-of-statement): Rename from
8356 python-nav-statement-end.
8357 (python-nav-beginning-of-block): Rename from
8358 python-nav-block-start.
8359 (python-nav-end-of-block): Rename from python-nav-block-end.
8360
8361 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8362
8363 * progmodes/python.el (python-shell-send-string-no-output):
8364 Allow accept-process-output to quit, keeping shell process ready for
8365 future interactions (Bug#11868).
8366
8367 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8370
8371 * emacs-lisp/elint.el (elint-find-args-in-code):
8372 Use help-function-arglist, so as to handle lexical byte-code.
8373
8374 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8375 change (bug#11826).
8376
8377 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8378
8379 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8380 Avoid spuriously marking the buffer as modified because of c-is-sws.
8381
8382 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8383 as not-a-comment (bug#11946).
8384
8385 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8386 for uninterned vars.
8387
8388 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8389 Use read-event since we don't really want to read chars but bytes.
8390
8391 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8392 $$..$$ but also $..$ using regexps (bug#11953).
8393 Use tex-verbatim for \url and \path.
8394 (tex-font-lock-keywords): Define as defconst like the others.
8395 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8396
8397 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8398
8399 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8400 alias for insert-char.
8401
8402 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8403
8404 * progmodes/python.el: Simplified imenu implementation.
8405 (python-nav-jump-to-defun): Remove command.
8406 (python-mode-map): Use `imenu' instead.
8407 (python-nav-list-defun-positions-cache)
8408 (python-imenu-include-defun-type, python-imenu-make-tree)
8409 (python-imenu-subtree-root-label, python-imenu-index-alist):
8410 Remove vars.
8411 (python-nav-list-defun-positions, python-nav-read-defun)
8412 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8413 (python-imenu-make-tree, python-imenu-create-index):
8414 Remove functions.
8415 (python-mode): Update to interact with imenu by setting
8416 `imenu-extract-index-name-function' only.
8417
8418 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8419
8420 * progmodes/python.el: Enhancements to navigation commands.
8421 (python-nav-backward-sentence)
8422 (python-nav-forward-sentence): Remove.
8423 (python-nav-backward-statement, python-nav-forward-statement)
8424 (python-nav-statement-start, python-nav-statement-end)
8425 (python-nav-backward-block, python-nav-forward-block)
8426 (python-nav-block-start, python-nav-block-end)
8427 (python-nav-forward-sexp-function)
8428 (python-info-current-line-comment-p)
8429 (python-info-current-line-empty-p): New functions.
8430 (python-indent-context): Use `python-nav-statement-start'.
8431
8432 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8433
8434 * eshell/em-ls.el (eshell/ls): Use `apply'.
8435
8436 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8437 multi-hops, instead of Tramp internals.
8438
8439 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8440
8441 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8442 when F1 and F2 are located on different hosts.
8443
8444 2012-07-14 Chong Yidong <cyd@gnu.org>
8445
8446 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8447 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8448 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8449 (xterm-mouse--read-event-sequence-1000)
8450 (xterm-mouse--read-event-sequence-1006): New functions. For old
8451 mouse protocol, handle M-mouse-X events correctly.
8452 (xterm-mouse-event): New arg specifying mouse protocol.
8453 (turn-on-xterm-mouse-tracking-on-terminal)
8454 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8455 sequence to toggle extended coordinates on newer XTerms.
8456 This appears to be harmless on terminals which do not support this.
8457
8458 2012-07-14 Leo Liu <sdl.web@gmail.com>
8459
8460 Add fringe bitmap indicators for flymake. (Bug#11253)
8461 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8462 (flymake-make-overlay): New arg BITMAP.
8463 (flymake-error-bitmap, flymake-warning-bitmap)
8464 (flymake-fringe-indicator-position): New user variables.
8465
8466 * fringe.el: New bitmap exclamation-mark.
8467
8468 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8469
8470 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8471 also (Bug#7879).
8472
8473 2012-07-14 Chong Yidong <cyd@gnu.org>
8474
8475 * electric.el (electric-pair-post-self-insert-function): Fix pair
8476 insertion in empty-region case (Bug#11520).
8477
8478 2012-07-14 Chong Yidong <cyd@gnu.org>
8479
8480 * bindings.el: Consolidate ctl-x-r-map bindings.
8481 Bind copy-rectangle-as-kill to C-x r w.
8482
8483 * rect.el, register.el: Move bindings to bindings.el.
8484
8485 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8486
8487 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8488
8489 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8490
8491 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8492
8493 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8494
8495 * bindings.el (top): Use `mapc' instead of `mapcar'.
8496
8497 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8498
8499 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8500
8501 * progmodes/sql.el (sql-comint): Suppress the check for program on
8502 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8503 (Bug#11908)
8504
8505 2012-07-13 Chong Yidong <cyd@gnu.org>
8506
8507 * bindings.el: Assign a non-nil permanent-local property to
8508 per-buffer variables which lack a default value (Bug#11930).
8509
8510 * help-fns.el (describe-variable): In the "automatically becomes
8511 local" notice, take note of permanent-local variables.
8512
8513 2012-07-13 Chong Yidong <cyd@gnu.org>
8514
8515 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8516 to allow printing the message when called from Lisp.
8517
8518 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8519 Remove toggle-read-only.
8520
8521 * bs.el (bs-toggle-readonly):
8522 * buff-menu.el (Buffer-menu-toggle-read-only):
8523 Remove with-no-warnings around toggle-read-only.
8524
8525 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8526 Remove with-no-warnings around toggle-read-only.
8527 (ffap-read-only, ffap-read-only-other-window)
8528 (ffap-read-only-other-frame): Callers changed.
8529
8530 * help-mode.el: Don't require view package.
8531 (help-mode-finish): Set buffer-read-only instead of calling
8532 toggle-read-only.
8533
8534 * bindings.el (mode-line-toggle-read-only):
8535 * dired.el (dired-toggle-read-only):
8536 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8537 with non-nil second arg.
8538
8539 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8540 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8541 directly.
8542
8543 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8544
8545 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8546 not incf.
8547
8548 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 More CL cleanups and reduction of use of cl.el.
8551 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8552 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8553 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8554 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8555 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8556 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8557 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8558 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8559 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8560 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8561 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8562 * eshell/em-cmpl.el, eshell/em-banner.el:
8563 * calendar/parse-time.el: Use cl-lib.
8564 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8565 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8566 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8567 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8568 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8569 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8570 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8571 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8572 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8573 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8574 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8575 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8576 `lambda' rather than with `quote'.
8577 (eshell-do-opt): Adjust accordingly.
8578 (eshell-process-option): Simplify.
8579 * eshell/esh-var.el:
8580 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8581 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8582 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8583 to `pcase--dontcare'.
8584 * emacs-lisp/cl.el (labels): Mark obsolete.
8585 (cl--letf, letf): Move to cl-lib.
8586 (cl--letf*, letf*): Remove.
8587 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8588 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8589 (cl-progv): Rewrite.
8590 (cl--letf, cl-letf): Move from cl.el.
8591 (cl-letf*): New macro.
8592 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8593
8594 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8595
8596 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8597
8598 2012-07-11 Chong Yidong <cyd@gnu.org>
8599
8600 * vc/log-edit.el (log-edit-vc-backend): New variable.
8601 (log-edit): Doc fix.
8602
8603 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8604 argument of log-edit to set up all local variables.
8605 (vc-start-logentry): New optional arg specifying VC backend.
8606
8607 * vc/vc.el (vc-checkin): Use it.
8608 (vc-deduce-fileset): Handle Log Edit buffers.
8609 (vc-diff): Make first argument optional too.
8610
8611 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8612
8613 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8614
8615 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8616 command, just in case. The function is not needed anymore.
8617 (eshell-external-command): Do not call `eshell-remote-command'.
8618
8619 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 Reduce use of (require 'cl).
8622 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8623 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8624 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8625 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8626 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8627 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8628 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8629 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8630 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8631 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8632 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8633 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8634 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8635 (byte-compile-unfold-bcf, byte-compile-check-variable):
8636 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8637 (byte-compile-nilconstp):
8638 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8639 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8640
8641 * emacs-lisp/gv.el (cond): Make it a valid place.
8642 (if): Simplify slightly.
8643
8644 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8645 (pcase--self-quoting-p): New function.
8646 (pcase--u1): Use it.
8647
8648 2012-07-10 Glenn Morris <rgm@gnu.org>
8649
8650 * emacs-lisp/authors.el (authors-fixed-entries):
8651 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8652
8653 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8654
8655 Rename configure.in to configure.ac (Bug#11603).
8656 * emacs-lisp/authors.el (authors-canonical-file-name):
8657 * progmodes/autoconf.el (autoconf-mode):
8658 Prefer configure.ac to configure.in.
8659
8660 2012-07-08 Chong Yidong <cyd@gnu.org>
8661
8662 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8663 Implement the mouse-1-click-follows-link handling properly.
8664
8665 * info.el (Info-link-keymap): Use follow-link mechanism for
8666 header-line links (Bug#374).
8667
8668 * simple.el (deactivate-mark): Do not set the primary selection
8669 if another program has acquired it (Bug#11772).
8670
8671 2012-07-07 Kevin Ryde <user42@zip.com.au>
8672
8673 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8674 (woman-decode-region): Replace escaped-escapes without destroying
8675 bold or underline (Bug#11552).
8676 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8677
8678 2012-07-07 Chong Yidong <cyd@gnu.org>
8679
8680 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8681 (interprogram-cut-function, interprogram-paste-function):
8682 Mention that we typically mean the clipboard.
8683
8684 2012-07-06 Glenn Morris <rgm@gnu.org>
8685
8686 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8687
8688 * files.el (toggle-read-only): Restrict message to interactive use.
8689
8690 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8691
8692 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8693
8694 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8695
8696 2012-07-06 Glenn Morris <rgm@gnu.org>
8697
8698 * Makefile.in (compile-one-process): Rename from "recompile".
8699
8700 * Makefile.in (bzr-update): "compile" is the same as "recompile
8701 autoloads", but parallelizable, so use that instead.
8702
8703 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8704
8705 * window.el (quit-window): Always restore window height when
8706 it's saved in quit-restore parameter (Bug#11810).
8707
8708 2012-07-06 Glenn Morris <rgm@gnu.org>
8709
8710 * simple.el (kill-whole-line): Doc tweak.
8711
8712 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8713
8714 * files.el (file-relative-name): Compare file names
8715 case-insensitively if on MS-Windows or MS-DOS, or if
8716 read-file-name-completion-ignore-case is non-nil. Don't use
8717 case-fold-search for this purpose. (Bug#11827)
8718
8719 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8720
8721 * calendar/cal-dst.el (calendar-current-time-zone):
8722 Return calendar-current-time-zone-cache if non-nil.
8723
8724 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8725 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8726
8727 * calendar/cal-dst.el (calendar-current-time-zone):
8728 Return calendar-current-time-zone-cache if non-nil.
8729
8730 2012-07-06 Glenn Morris <rgm@gnu.org>
8731
8732 * Makefile.in (cvs-update): Remove old alias.
8733
8734 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8735
8736 Sync with Tramp 2.2.6-pre.
8737
8738 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8739 compatible declaration.
8740
8741 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8742 Protect `list-load-path-shadows' call.
8743
8744 * net/tramp-compat.el (top): Require packages, which aren't
8745 autoloaded anymore for XEmacs. Protect call of
8746 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8747 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8748 it hurts at least for SXEmacs.
8749 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8750 standard-value for `temporary-file-directory'.
8751
8752 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8753 Redirect stderr to /dev/null.
8754 (tramp-sh-handle-write-region): uid and gid can be floats.
8755 Reported by Russell Sim <russell.sim@gmail.com>.
8756 (tramp-sh-handle-vc-registered): Hide errors.
8757 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8758 and `start-file-process'.
8759 (tramp-maybe-open-connection): Check also whether `non-essential'
8760 is bound.
8761
8762 2012-07-04 Chong Yidong <cyd@gnu.org>
8763
8764 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8765 (xml-parse-tag): Likewise, and avoid changing entity tables.
8766 (xml-syntax-table): Define from scratch, making sure not to give
8767 x2000 and other Unicode spaces whitespace syntax, since those are
8768 not spaces in XML.
8769 (xml-parse-fragment): Delete unused function.
8770 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8771 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8772 (xml-entity-ref, xml-pe-reference-re)
8773 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8774 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8775 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8776 (xml-entity-value-re): Use syntax references in regexps where
8777 possible; no need to define inside a let-binding.
8778 (xml-parse-dtd): Use xml-pe-reference-re.
8779 (xml-entity-or-char-ref-re): New defconst.
8780 (xml-parse-string, xml-substitute-special): Use it.
8781
8782 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8783
8784 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8785 (find-file--read-only): New function.
8786 (find-file-read-only, find-file-read-only-other-window)
8787 (find-file-read-only-other-frame): Use it.
8788 (insert-file-contents-literally): Don't `fset'.
8789 (get-free-disk-space): Use locate-dominating-file.
8790
8791 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8792 function is already compiled.
8793
8794 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8795
8796 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8797
8798 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8799 files on the same host.
8800
8801 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8802
8803 * help-fns.el (describe-function-1): Only call
8804 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8805
8806 2012-07-03 Chong Yidong <cyd@gnu.org>
8807
8808 * xml.el: Protect parser against XML bombs.
8809 (xml-entity-expansion-limit): New variable.
8810 (xml-parse-string, xml-substitute-special): Use it.
8811 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8812
8813 2012-07-03 Glenn Morris <rgm@gnu.org>
8814
8815 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8816 Allow linking to specific messages in debbugs reports (eg 123#5).
8817
8818 2012-07-02 Chong Yidong <cyd@gnu.org>
8819
8820 * xml.el: Fix entity and character reference expansion, allowing
8821 them to expand into markup as per XML spec.
8822 (xml-default-ns): New variable.
8823 (xml-entity-alist): Use XML spec definitions for lt and amp.
8824 (xml-parse-region): Make first two arguments optional.
8825 Discard text properties.
8826 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8827 All callers changed.
8828 (xml-parse-tag): Call xml-parse-tag-1. For backward
8829 compatibility, this function should not modify buffer contents.
8830 (xml-parse-tag-1): Fix opening-tag regexp.
8831 (xml-parse-string): Rewrite, handling entity and character
8832 references properly.
8833 (xml--entity-replacement-text): Signal an error if a parameter
8834 entity is undefined.
8835
8836 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8837
8838 * comint.el (comint-output-filter): Filter out repeated prompts.
8839
8840 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8841 and file-name-absolute-p.
8842 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8843 internal calls.
8844
8845 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8846
8847 Spelling fixes.
8848 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8849 Rename from byte-compile--refiy-function. All uses changed.
8850
8851 2012-07-01 Chong Yidong <cyd@gnu.org>
8852
8853 * xml.el (xml--parse-buffer): New function. Move most of
8854 xml-parse-region here.
8855 (xml-parse-region): Copy region into a temporary buffer, since
8856 parameter entity substitution requires changing buffer contents.
8857 Use xml--parse-buffer.
8858 (xml-parse-file): Use xml--parse-buffer.
8859 (xml-parse-dtd): Make parameter entity substitution work right.
8860 Use proper regexps for ELEMENT declarations (Bug#7172).
8861
8862 2012-06-30 Glenn Morris <rgm@gnu.org>
8863
8864 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8865
8866 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8867 Remove outdated and unnecessary dbus declarations.
8868
8869 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8870
8871 * emacs-lisp/timer.el (timer-until): Subtract results of
8872 float-time, instead of taking float-time of the result of
8873 time-subtract, since float-time signals an error for negative time
8874 arguments.
8875
8876 2012-06-30 Chong Yidong <cyd@gnu.org>
8877
8878 * xml.el (xml-*-re): Convert defvars into defconsts, and
8879 eval-and-compile them so eval-and-compile works on derivatives.
8880 (xml--entity-replacement-text): Use eval-and-comple.
8881
8882 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8883
8884 * vc/vc-git.el (vc-git-registered): Use cache property
8885 `git-registered'.
8886 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8887 `vc-git-working-revision' in order to benefit from the cache.
8888 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8889
8890 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8891
8892 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8893 removed (likely outside Emacs). (Bug#11757)
8894
8895 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8897 * emacs-lisp/cl-lib.el: Require macroexp.
8898
8899 2012-06-30 Chong Yidong <cyd@gnu.org>
8900
8901 * xml.el: Implement XML parameter entities.
8902 (xml-parameter-entity-alist): New variable.
8903 (xml-parse-region, xml-parse-fragment): Preserve previous values
8904 of xml-entity-alist and xml-parameter-entity-alist, so that
8905 repeated calls on different documents do not change them.
8906 (xml-parse-tag): Fix doctype regexp.
8907 (xml--entity-replacement-text): New function.
8908 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8909 properly requires url retrieval which is unimplemented.
8910 (xml-escape-string): Doc fix.
8911
8912 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8913
8914 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8915
8916 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8917
8918 * fringe.el (fringe-mode): Doc fix.
8919
8920 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8921
8922 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8923 is non-nil.
8924 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8925 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8926
8927 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8928
8929 * calendar/cal-dst.el (calendar-current-time-zone):
8930 Return calendar-current-time-zone-cache if non-nil.
8931
8932 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8933
8934 * progmodes/which-func.el (which-func-format):
8935 Add mouse-face. (Bug#11698)
8936
8937 2012-06-29 Leo Liu <sdl.web@gmail.com>
8938
8939 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8940
8941 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8942
8943 * minibuffer.el (minibuffer-confirm-exit-commands):
8944 Add completion-at-point (bug#11725).
8945
8946 2012-06-29 Glenn Morris <rgm@gnu.org>
8947
8948 * progmodes/f90.el (f90-font-lock-keywords-2):
8949 Add some preprocessor elements. (Bug#10499)
8950
8951 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8952
8953 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8954 Use syntax-propertize (bug#11739).
8955
8956 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8957
8958 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8959
8960 2012-06-28 Julien Danjou <julien@danjou.info>
8961
8962 * term.el (term-handle-colors-array): Use a set of new faces to
8963 color the terminal. Also uses :inverse-video property.
8964 (term-default-fg-color): Set to nil by default, deprecate in favor
8965 of `term-face'.
8966 (term-default-bg-color): Set to nil by default, deprecate in favor
8967 of `term-face'.
8968 (term-current-face): Use `term-face' by default.
8969 (term-bold-attribute): Variable deleted.
8970
8971 2012-06-28 Glenn Morris <rgm@gnu.org>
8972
8973 * simple.el (completion-list-mode-finish):
8974 Don't use toggle-read-only. (Since completion-list-mode has
8975 a special mode-class, it wasn't doing anything extra anyway.)
8976
8977 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8978
8979 Make inlining of other-mode interpreted functions work (bug#11799).
8980 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8981 (byte-compile): Use it to fix compilation of lexical-binding closures.
8982 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8983 function, if needed.
8984
8985 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8986
8987 * help-mode.el (help-make-xrefs): Don't just withstand
8988 cyclic-variable-indirection but any error in documentation-property.
8989
8990 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8991 memory use.
8992 * bindings.el (bindings--define-key): New function.
8993 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8994 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8995 * bindings.el: Use it to purecopy define-key bindings.
8996
8997 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8998
8999 * emacs-lisp/cl.el (flet): Mark obsolete.
9000 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9001 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9002 * progmodes/js.el (js-c-fill-paragraph):
9003 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9004 (ebrowse-switch-member-buffer-to-derived-class):
9005 * play/5x5.el (5x5-solver): Use cl-flet.
9006
9007 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9008 (cl--symbol-function): New macro.
9009 (cl--letf, cl--letf*): Use it.
9010
9011 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9012 Strip "toggle-" if any.
9013
9014 2012-06-27 Glenn Morris <rgm@gnu.org>
9015
9016 * info.el (Info-default-directory-list): Move here from paths.el.
9017 * paths.el: Remove file, which is now empty.
9018 * loadup.el: No longer load "paths".
9019
9020 * custom.el (custom-initialize-delay): Doc fix.
9021
9022 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9023 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9024 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9025 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9026 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9027 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9028 * eshell/eshell.el (eshell-defgroup): Remove alias.
9029
9030 2012-06-27 Chong Yidong <cyd@gnu.org>
9031
9032 * help.el (help-enable-auto-load): New variable.
9033
9034 * help-fns.el (help-fns--autoloaded-p): New function.
9035 (describe-function-1): Refer to a function as "autoloaded" if it
9036 was autoloaded at any time in the past. Perform autoloading if
9037 help-enable-auto-load is non-nil.
9038
9039 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9040
9041 * makefile.w32-in (compile, compile-always): Depend on
9042 update-subdirs, not on subdirs.el. Otherwise, several different
9043 sub-targets of 'bootstrap' running in parallel could
9044 simultaneously write to subdirs.el, producing a garbled file.
9045
9046 2012-06-26 Sam Steingold <sds@gnu.org>
9047
9048 * files.el (file-name-base): New convenience function.
9049 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9050 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9051 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9052 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9053 * textmodes/ispell.el, textmodes/reftex-ref.el:
9054 * textmodes/tex-mode.el: Use it.
9055 Did not touch cedet and org because they are maintained elsewhere.
9056
9057 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9058
9059 * calendar/calendar.el (calendar-exit): Don't try to delete or
9060 iconify last frame. See:
9061 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9062
9063 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9064
9065 * server.el (server-process-filter): Remember dir in the
9066 process's `server-client-directory' properties.
9067
9068 2012-06-24 Chong Yidong <cyd@gnu.org>
9069
9070 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9071 non-tag text.
9072
9073 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9074
9075 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9076
9077 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9078
9079 * help-fns.el (describe-variable): Don't croak when doc is not found.
9080 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9081 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9082 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9083 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9084 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9085 ((lambda ..) ..).
9086 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9087
9088 2012-06-23 Chong Yidong <cyd@gnu.org>
9089
9090 * info.el (Info-mouse-follow-link): Accept symbol values of
9091 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9092 (Info-fontify-node): Use Info-link-keymap for all navigation
9093 buttons, with link-args property to perform the desired action.
9094 (Info-link-keymap): Doc fix.
9095 (Info-next-link-keymap, Info-prev-link-keymap)
9096 (Info-up-link-keymap): Delete now-unused keymaps.
9097
9098 2012-06-23 Chong Yidong <cyd@gnu.org>
9099
9100 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9101
9102 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9103 system abbrevs.
9104
9105 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9106
9107 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9108
9109 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9110 (bug#11719).
9111
9112 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9113 the requote function doesn't work properly (bug#11714).
9114
9115 2012-06-23 Glenn Morris <rgm@gnu.org>
9116
9117 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9118
9119 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9120
9121 Further GV/CL cleanups.
9122 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9123 gv-expander.
9124 (gv--defun-declaration): New function.
9125 (defun-declarations-alist): Use it.
9126 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9127 (gv-place): Autoload.
9128 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9129 original definition of dotimes and dolist.
9130 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9131 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9132 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9133 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9134 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9135 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9136 to the function's definition.
9137 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9138 * window.el:
9139 * files.el:
9140 * faces.el:
9141 * env.el: Don't use CL.
9142
9143 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9144
9145 Support higher-resolution time stamps (Bug#9000).
9146
9147 * calendar/time-date.el (with-decoded-time-value): New arg
9148 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9149 (encode-time-value): New optional arg PICO. New type 3.
9150 (time-to-seconds) [!float-time]: Support the new picoseconds
9151 component if it's used.
9152 (seconds-to-time, time-subtract, time-add):
9153 Support ps-resolution time stamps as well.
9154
9155 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9156 (timerp): Timer vectors now have length 9, not 8.
9157 (timer--time): Support new-style (4-part) time stamps.
9158 (timer-next-integral-multiple-of-time): Time stamps now have
9159 picosecond resolution, so take a bit more care about rounding.
9160 (timer-relative-time, timer-inc-time): New optional arg psecs.
9161 (timer-set-time-with-usecs): Set psecs to 0.
9162 (timer--activate): Check psecs component, too.
9163
9164 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9165
9166 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9167
9168 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9169 Move the non-essential binding to the post/pre-command-hook where it is
9170 more obviously correct.
9171
9172 * subr.el (read-passwd): Don't use a history at all.
9173 * savehist.el (savehist-save): Remove password saved accidentally
9174 because of the above bug.
9175
9176 2012-06-22 Bastien Guerry <bzg@gnu.org>
9177
9178 * files.el (toggle-read-only): Display a message telling whether
9179 the buffer is read-only or not (bug#11726).
9180
9181 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9182
9183 * emacs-lisp/gv.el: New file.
9184 * subr.el (push, pop): Extend to generalized variables.
9185 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9186 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9187 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9188 gv-define-simple-setter, and gv-define-expander.
9189 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9190 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9191 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9192 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9193 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9194 gv-letplace.
9195 (cl-defstruct): Don't define setf-method any more.
9196 * emacs-lisp/cl.el (flet): Don't autoload.
9197 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9198 (define-setf-expander, defsetf, define-modify-macro)
9199 (cl-struct-setf-expander): Move from cl-lib.el.
9200 * emacs-lisp/syntax.el:
9201 * emacs-lisp/ewoc.el:
9202 * emacs-lisp/smie.el:
9203 * emacs-lisp/cconv.el:
9204 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9205 (timer--time): Use gv-define-simple-setter.
9206 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9207 to avoid coding-system problems in subr.el. Adjust all users.
9208 (macroexp--maxsize, macroexp-small-p): New functions.
9209 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9210 * scroll-bar.el (scroll-bar-mode):
9211 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9212 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9213 * winner.el (winner-configuration, winner-make-point-alist)
9214 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9215 * files.el (locate-file-completion-table): Avoid list*.
9216
9217 2012-06-22 Chong Yidong <cyd@gnu.org>
9218
9219 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9220 (dired-create-files): Doc fix (Bug#11329).
9221 (dired-do-copy): Doc fix (Bug#11334).
9222 (dired-mark-read-string): Doc fix (Bug#11553).
9223
9224 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9225 Doc fix (Bug#11326).
9226 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9227 (dired-dwim-target): Doc fix.
9228
9229 * wdired.el (wdired-mode): Doc fix.
9230
9231 2012-06-22 Glenn Morris <rgm@gnu.org>
9232
9233 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9234 (pcmpl-rpm-cache-stamp-file): New constant.
9235 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9236 (pcmpl-rpm-packages): Optionally cache list of packages.
9237
9238 * pcmpl-rpm.el (pcmpl-rpm): New group.
9239 (pcmpl-rpm-query-options): New option.
9240 (pcmpl-rpm-packages): No need to inline it.
9241 Use pcmpl-rpm-query-options.
9242
9243 * calendar/calendar.el (calendar-in-read-only-buffer):
9244 Avoid some needless mode changes.
9245
9246 2012-06-21 Chong Yidong <cyd@gnu.org>
9247
9248 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9249 (desktop-path): Remove . from the default value (Bug#10977).
9250 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9251
9252 2012-06-20 Chong Yidong <cyd@gnu.org>
9253
9254 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9255
9256 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9257
9258 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9259 (bug#11201).
9260
9261 2012-06-20 Chong Yidong <cyd@gnu.org>
9262
9263 * term.el (term-window-width): Handle the case of a missing right
9264 fringe (Bug#8837).
9265 (term-check-size): Use window-text-height (Bug#5445).
9266 (term-mode): Use define-derived-mode. Minor cleanups.
9267 Set font-lock-defaults (Bug#7692).
9268 (term-move-columns, term-insert-char, term-emulate-terminal)
9269 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9270
9271 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9272
9273 * net/ange-ftp.el (ange-ftp-get-passwd):
9274 Bind `enable-recursive-minibuffers'.
9275 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9276
9277 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9278
9279 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9280
9281 2012-06-19 Glenn Morris <rgm@gnu.org>
9282
9283 * progmodes/python.el (python-mode): Derive from prog-mode.
9284
9285 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9286
9287 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9288 (edt-user-menu-bar-update-buffers): New functions.
9289 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9290
9291 2012-06-19 Chong Yidong <cyd@gnu.org>
9292
9293 * subr.el (with-selected-window): Preserve the selected window's
9294 terminal's top-frame (Bug#4702).
9295
9296 * window.el (save-selected-window): Likewise.
9297
9298 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9299
9300 * progmodes/python.el (python-rx-constituents): Move backquote.
9301 (python-skeleton-define, python-define-auxiliary-skeleton):
9302 Use `declare'.
9303
9304 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9305
9306 * minibuffer.el (read-file-name-default): Revert the patch from
9307 2012-06-17.
9308
9309 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9312 (pcase--u1, pcase--q1): Don't use apply-partially.
9313
9314 2012-06-18 Glenn Morris <rgm@gnu.org>
9315
9316 * progmodes/python.el (python-proc, python-buffer)
9317 (python-send-receive, python-send-string): Fix obsolete versions.
9318
9319 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9320
9321 * window.el (special-display-p): Completely remove stringp
9322 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9323
9324 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9325
9326 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9327
9328 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9329
9330 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9331 * net/tramp-sh.el (tramp-maybe-open-connection):
9332 Throw if `non-essential' is non-nil.
9333
9334 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9335
9336 * window.el (special-display-p): Signal an error if BUFFER-NAME
9337 is not a string (Bug#11713).
9338
9339 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9340
9341 * progmodes/python.el (python-info-beginning-of-backslash):
9342 Rename from python-info-beginning-of-backlash, as a spelling fix.
9343
9344 2012-06-17 Chong Yidong <cyd@gnu.org>
9345
9346 * term.el (term-emulate-terminal): If term-check-size is called,
9347 move point to the process mark without resetting point (Bug#4635).
9348
9349 2012-06-17 Glenn Morris <rgm@gnu.org>
9350
9351 * international/mule-cmds.el (mule-menu-keymap)
9352 (set-language-environment, set-locale-environment): Doc tweaks.
9353
9354 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9355
9356 * cus-face.el (custom-face-attributes): Add wave-style underline
9357 attribute.
9358 * faces.el (set-face-attribute): Update docstring to describe
9359 wave-style underline attribute.
9360
9361 2012-06-16 Chong Yidong <cyd@gnu.org>
9362
9363 * term/xterm.el (terminal-init-xterm): Discard input before
9364 querying background mode (Bug#10959).
9365
9366 2012-06-16 Stefan Merten <smerten@oekonux.de>
9367
9368 * textmodes/rst.el: Added and corrected some comments.
9369 (rst-re-alist-def): Improve symbol syntax.
9370 (rst-mode-syntax-table): Correct syntax entries.
9371 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9372 (rst-official-version, rst-official-cvs-rev): Update version
9373 information.
9374
9375 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9376
9377 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9378 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9379
9380 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9381
9382 * progmodes/python.el: New python.el merge.
9383 (python-guess-indent): Obsolete var.
9384 (python-indent-guess-indent-offset): New defcustom.
9385 (python-indent): Obsolete var.
9386 (python-indent-offset): New defcustom.
9387 (python-python-command, python-jython-command): Delete var.
9388 (python-shell-interpreter): New defcustom.
9389 (python-pdbtrack-do-tracking-p): Delete var.
9390 (python-pdbtrack-activate): New defcustom.
9391 (python-use-skeletons): Obsolete var.
9392 (python-skeleton-autoinsert): New defcustom.
9393 (inferior-python-filter-regexp, python-continuation-offset)
9394 (python-honour-comment-indentation, python-indent-string-contents)
9395 (python-jython-packages, python-mode-hook)
9396 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9397 (python-shell-prompt-alist)
9398 (python-source-modes): Delete defcustoms.
9399 (python-check-buffer-name, python-eldoc-setup-code)
9400 (python-eldoc-string-code, python-ffap-setup-code)
9401 (python-ffap-string-code, python-fill-comment-function)
9402 (python-fill-decorator-function, python-fill-paren-function)
9403 (python-fill-string-function, python-imenu-include-defun-type)
9404 (python-imenu-make-tree, python-imenu-subtree-root-label)
9405 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9406 (python-shell-compilation-regexp-alist)
9407 (python-shell-completion-module-string-code)
9408 (python-shell-completion-pdb-string-code)
9409 (python-shell-completion-setup-code)
9410 (python-shell-completion-string-code)
9411 (python-shell-enable-font-lock, python-shell-exec-path)
9412 (python-shell-extra-pythonpaths)
9413 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9414 (python-shell-process-environment)
9415 (python-shell-prompt-block-regexp)
9416 (python-shell-prompt-output-regexp)
9417 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9418 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9419 (python-shell-virtualenv-path): New defcustoms.
9420 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9421 (inferior-python-mode-syntax-table, python--prompt-regexp)
9422 (python-buffer, python-command python-python-command)
9423 (python-default-template, python-imports, python-indent-index)
9424 (python-indent-list, python-indent-list-length)
9425 (python-mode-running, python-pdbtrack-is-tracking-p)
9426 (python-preoutput-continuation, python-preoutput-leftover)
9427 (python-preoutput-result, python-preoutput-skip-next-prompt)
9428 (python-prev-dir/file, python-recursing)
9429 (python-saved-check-command, python-version-checked)
9430 (python-which-func-length-limit)
9431 (view-return-to-alist): Delete vars.
9432 (python-check-custom-command, python-dotty-syntax-table)
9433 (python-imenu-index-alist, python-indent-current-level)
9434 (python-indent-dedenters, python-indent-levels)
9435 (python-nav-beginning-of-defun-regexp)
9436 (python-nav-list-defun-positions-cache)
9437 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9438 (python-shell-internal-buffer)
9439 (python-skeleton-available): New vars.
9440 (def-python-skeleton): Delete macro.
9441 (python-skeleton-define): New macro.
9442 (python-define-auxiliary-skeleton, python-rx): New macros.
9443 (python-insert-class): Delete command.
9444 (python-skeleton-class): New command.
9445 (python-insert-def): Delete command.
9446 (python-skeleton-def): New command.
9447 (python-insert-for): Delete command.
9448 (python-skeleton-for): New command.
9449 (python-insert-if): Delete command.
9450 (python-skeleton-if): New command.
9451 (python-insert-try/except, python-insert-try/finally): Delete commands.
9452 (python-skeleton-try): New command.
9453 (python-insert-while): Delete command.
9454 (python-skeleton-while): New command.
9455 (python-backspace): Delete command.
9456 (python-indent-dedent-line-backspace): New command.
9457 (python-electric-colon): Delete command.
9458 (python-indent-electric-colon): New command.
9459 (python-guess-indent): Delete command.
9460 (python-indent-guess-indent-offset): New command.
9461 (python-shift-left): Delete command.
9462 (python-indent-shift-left): New command.
9463 (python-shift-right): Delete command.
9464 (python-indent-shift-right): New command.
9465 (python-find-function): Delete command.
9466 (python-nav-jump-to-defun): New command.
9467 (python-next-statement): Delete command.
9468 (python-nav-forward-sentence): New command.
9469 (python-previous-statement): Delete command.
9470 (python-nav-backward-sentence): New command.
9471 (python-fill-paragraph): Delete command.
9472 (python-fill-paragraph-function): New command.
9473 (python-send-buffer): Delete command.
9474 (python-shell-send-buffer): New command.
9475 (python-send-defun): Delete command.
9476 (python-shell-send-defun): New command.
9477 (python-send-region, python-send-region-and-go): Delete commands.
9478 (python-shell-send-region)
9479 (python-shell-switch-to-shell): New commands.
9480 (python-send-string): Delete command.
9481 (python-shell-send-string): New command.
9482 (python-switch-to-python): Delete command.
9483 (python-shell-switch-to-shell): New command.
9484 (python-describe-symbol): Delete command.
9485 (python-eldoc-at-point): New command.
9486 (python--set-prompt-regexp, python-args-to-list)
9487 (python-after-info-look, python-check-version)
9488 (python-check-comint-prompt, python-find-imports)
9489 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9490 (python-unload-function, python-expand-template)
9491 (python-maybe-jython, python-preoutput-filter)
9492 (python-pdbtrack-get-source-buffer)
9493 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9494 (python-pdbtrack-toggle-stack-tracking)
9495 (python-pdbtrack-track-stack-file, python-initial-text)
9496 (python-first-word, python-comment-line-p, python-send-command)
9497 (python-setup-brm, python-sentinel, python-set-proc)
9498 (python-skip-out, python-input-filter, python-outdent-p)
9499 (python-outline-level, python-backslash-continuation-line-p)
9500 (python-end-of-block, python-end-of-statement, python-mark-block)
9501 (python-beginning-of-block, python-beginning-of-statement)
9502 (python-blank-line-p, python-beginning-of-string)
9503 (python-open-block-statement-p): Delete functions.
9504 (python-indent-line, python-indent-line-1): Delete functions.
9505 (python-indent-line): New function.
9506 (python-indentation-levels): Delete function.
9507 (python-indent-calculate-levels): New function.
9508 (python-proc): Delete function.
9509 (python-shell-get-process): New function.
9510 (python-send-receive): Delete function.
9511 (python-shell-send-string-no-output): New function.
9512 (python-module-path): Delete function.
9513 (python-ffap-module-path): New function.
9514 (python-completion-at-point)
9515 (python-symbol-completions): Delete functions.
9516 (python-completion-complete-at-point): New function.
9517 (python-load-file): Delete function.
9518 (python-shell-send-file): New function.
9519 (python-calculate-indentation): Delete function.
9520 (python-indent-calculate-indentation): New function.
9521 (python-skip-comments/blanks): Delete function.
9522 (python-util-forward-comment): New function.
9523 (python-continuation-line-p): Delete function.
9524 (python-info-continuation-line-p): New function.
9525 (python-which-func, python-current-defun): Delete function.
9526 (python-info-current-defun): New function.
9527 (python-beginning-of-defun): Delete function.
9528 (python-nav-beginning-of-defun): New function.
9529 (python-close-block-statement-p)
9530 (python-block-end-p): Delete function.
9531 (python-info-closing-block): New function.
9532 (python-comint-output-filter-function)
9533 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9534 (python-fill-comment, python-fill-decorator, python-fill-paren)
9535 (python-fill-string, python-imenu-make-element-tree)
9536 (python-imenu-make-tree, python-imenu-tree-assoc)
9537 (python-indent-context, python-indent-dedent-line)
9538 (python-indent-line-function)
9539 (python-indent-post-self-insert-function)
9540 (python-indent-toggle-levels)
9541 (python-info-assignment-continuation-line-p)
9542 (python-info-beginning-of-backlash)
9543 (python-info-block-continuation-line-p)
9544 (python-info-closing-block-message)
9545 (python-info-line-ends-backslash-p)
9546 (python-info-looking-at-beginning-of-defun)
9547 (python-info-ppss-context, python-info-ppss-context-type)
9548 (python-nav-list-defun-positions, python-nav-read-defun)
9549 (python-nav-sentence-end, python-nav-sentence-start)
9550 (python-pdbtrack-comint-output-filter-function)
9551 (python-pdbtrack-set-tracked-buffer)
9552 (python-shell-calculate-exec-path)
9553 (python-shell-calculate-process-environment)
9554 (python-shell-completion--do-completion-at-point)
9555 (python-shell-completion--get-completions)
9556 (python-shell-completion-complete-at-point)
9557 (python-shell-completion-complete-or-indent)
9558 (python-shell-get-or-create-process)
9559 (python-shell-get-process-name)
9560 (python-shell-internal-get-or-create-process)
9561 (python-shell-internal-get-process-name)
9562 (python-shell-internal-send-string, python-shell-make-comint)
9563 (python-shell-parse-command, python-shell-send-setup-code)
9564 (python-skeleton-add-menu-items)
9565 (python-util-clone-local-variables, python-util-position)
9566 (run-python-internal, python-indentation-levels)
9567 (python-nav-beginning-of-defun)
9568 (python-completion-complete-at-point): New functions.
9569 (run-python): Change arguments. New API requirements.
9570
9571 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9572
9573 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9574 (bug#11649).
9575
9576 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9577 (macroexp--expand-all): Use it.
9578
9579 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9580 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9581 Use `cl-function' instead.
9582
9583 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9584
9585 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9586 Suggested by Stefan Monnier while discussing bug#11657.
9587
9588 2012-06-14 Sam Steingold <sds@gnu.org>
9589
9590 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9591
9592 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9593
9594 * play/doctor.el (doctor-doc): Remove parameter and use
9595 doctor-sent instead of sent.
9596 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9597
9598 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9599
9600 * files.el: Require cl-lib.
9601 (file-name-non-special): Replace case -> cl-case.
9602
9603 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9604
9605 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9606 mapping from #' to function*.
9607
9608 2012-06-13 Chong Yidong <cyd@gnu.org>
9609
9610 * mouse.el (mouse-drag-track): Do not set the mark if the user
9611 releases the mouse without selecting anything (Bug#11588).
9612
9613 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9614
9615 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9616 as well (bug#11646).
9617
9618 * loadup.el: Count byte-code functions as well.
9619
9620 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9621 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9622
9623 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9624 (bug#11649). Add cl-defun and cl-defmacro.
9625
9626 2012-06-13 Drew Adams <drew.adams@oracle.com>
9627
9628 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9629 Fix last change.
9630
9631 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9632
9633 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9634 Otherwise, it blocks in batch mode.
9635
9636 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9637
9638 * help-mode.el (bookmark-make-record-default): Declare.
9639
9640 2012-06-13 Chong Yidong <cyd@gnu.org>
9641
9642 * emacs-lisp/package.el (list-packages): Compute a list of
9643 packages that are newly-available since the last list-packages
9644 invocation.
9645 (package-menu--new-package-list): New var.
9646 (package-menu--generate, package-menu--print-info)
9647 (package-menu--status-predicate, package-menu-mark-install):
9648 Handle new status label "new".
9649
9650 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9651
9652 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9653 conversion to backquotes.
9654
9655 2012-06-12 Chong Yidong <cyd@gnu.org>
9656
9657 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9658 Rename from gud-inhibit-global-bindings.
9659
9660 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9661
9662 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9663 hook from nxml-glyph-set-hook.
9664
9665 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9666 declaration.
9667
9668 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9669
9670 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9671 Convert to defcustom.
9672
9673 2012-06-12 Drew Adams <drew.adams@oracle.com>
9674
9675 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9676 New functions.
9677 (help-mode): Use them.
9678
9679 2012-06-11 Glenn Morris <rgm@gnu.org>
9680
9681 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9682 Use preprocessor face for directives.
9683 (fortran-directive-re): Doc fix.
9684
9685 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9686
9687 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9688 conversion to backquotes (bug#11652).
9689
9690 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9691 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9692 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9693 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9694 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9695 (cl-ninth, cl-tenth): Mark them as inlinable.
9696 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9697 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9698 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9699 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9700 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9701 (cl-list*, cl-adjoin): Don't put an autoload manually.
9702 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9703 (cl--compiler-macro-list*): Add autoload cookie.
9704 (cl--compiler-macro-cXXr): New function.
9705
9706 * help-fns.el (help-fns--compiler-macro): New function extracted from
9707 describe-function-1; follow aliases and use `compiler-macro' property.
9708 (describe-function-1): Use it.
9709
9710 2012-06-11 Chong Yidong <cyd@gnu.org>
9711
9712 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9713 is uninstalled, if imagemagick is installed.
9714
9715 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9716
9717 * emacs-lisp/cl-lib.el: Use lexical-binding.
9718 (cl-map-extents, cl-maclisp-member): Remove.
9719 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9720 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9721 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9722 * emacs-lisp/cl-extra.el: Use lexical-binding.
9723 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9724 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9725 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9726 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9727 * emacs-lisp/cl-seq.el: Use lexical-binding.
9728 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9729 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9730 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9731 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9732 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9733 CL's internals.
9734
9735 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9736
9737 Sync with Tramp 2.2.6-pre.
9738
9739 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9740 `print-length' and `print-level' to nil, in order to avoid
9741 truncation. Reported by Christopher Schmidt
9742 <christopher@ristopher.com>.
9743
9744 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9745
9746 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9747 New defmacro.
9748 (tramp-compat-copy-directory): Add optional argument
9749 COPY-CONTENTS. It is not handled yet.
9750
9751 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9752 (tramp-ftp-file-name-p): Simplify.
9753
9754 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9755 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9756 connection vector.
9757
9758 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9759 (tramp-methods): Do not use `tramp-password-end-of-line'.
9760 (tramp-completion-function-alist-putty): Handle UNIX case.
9761 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9762 (tramp-do-file-attributes-with-stat)
9763 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9764 gid as real numbers. They could run out of integer range on cygwin.
9765 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9766 (tramp-sh-handle-expand-file-name): Handle hops.
9767 (tramp-open-connection-setup-interactive-shell):
9768 Use `tramp-cleanup'. Move check for busyboxes ...
9769 (tramp-find-shell): ... here. Simplify implementation.
9770 Set "remote-shell" property also for alternative shells.
9771 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9772 If failing, a regular file would be written otherwise.
9773 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9774 (tramp-find-inline-encoding): Cache the coding commands in the
9775 process cache. Apply test command on the remote side, if defined.
9776 (tramp-find-inline-compress): Cache the compress commands in the
9777 process cache.
9778 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9779 when requested. Handle hops.
9780 (tramp-current-connection): New defvar.
9781 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9782 Throw `suppress', if there was a failed connection shortly before.
9783 Handle user interrupt. (Bug#10187)
9784 (tramp-get-inline-compress, tramp-get-inline-coding):
9785 Read connection properties from the process cache.
9786
9787 * net/tramp-smb.el (tramp-smb-server-version)
9788 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9789 New defconsts.
9790 (tramp-smb-prompt): Extend for powershell prompt.
9791 (tramp-smb-file-name-handler-alist): Add handlers for
9792 `process-file', `shell-command' and `start-file-process'.
9793 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9794 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9795 (tramp-smb-file-name-p): Simplify.
9796 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9797 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9798 (tramp-smb-shell-quote-argument): New defuns.
9799 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9800 Implement using "tar". By this, time-stamps are preserved.
9801 (tramp-smb-handle-copy-file): Handle also the case of directories.
9802 (tramp-smb-do-file-attributes-with-stat)
9803 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9804 Use `tramp-get-connection-buffer').
9805 (tramp-smb-handle-rename-file): Use "rename", when source and
9806 target are on the same share.
9807 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9808 Use `tramp-smb-server-version'.
9809 (tramp-smb-wait-for-output): Remove prompt.
9810
9811 * net/tramp.el (top): Require 'cl.
9812 (tramp-methods, tramp-rsh-end-of-line):
9813 Remove `tramp-password-end-of-line' from docstring.
9814 (tramp-save-ad-hoc-proxies): New defcustom.
9815 (tramp-completion-function-alist): Adapt docstring.
9816 (tramp-default-password-end-of-line): Remove defcustom.
9817 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9818 (tramp-user-regexp, tramp-file-name-regexp-unified)
9819 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9820 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9821 (tramp-remote-file-name-spec-regexp): New defconst.
9822 (tramp-file-name-structure): Extend structure for hops.
9823 (tramp-get-method-parameter): Move up.
9824 (tramp-file-name-p, tramp-dissect-file-name)
9825 (with-parsed-tramp-file-name): Handle hops.
9826 (tramp-file-name-hop): New defun.
9827 (tramp-make-tramp-file-name): New optional arg HOP.
9828 (tramp-message-show-progress-reporter-message): New defvar.
9829 (tramp-with-progress-reporter): Use it. We cannot use
9830 `tramp-message-show-message' here, because this suppresses also
9831 error buffers.
9832 (tramp-error-with-buffer): Suppress buffer view, if
9833 `tramp-message-show-message' is nil.
9834 Use `tramp-get-connection-buffer'.
9835 (tramp-cleanup): New defun.
9836 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9837 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9838 an error unchanged.
9839 (tramp-completion-handle-file-name-all-completions): Handle hops.
9840 Fix an error when called from ido.
9841 (tramp-completion-dissect-file-name): Use better local variable
9842 name. Add hop to the vector.
9843 (tramp-handle-insert-file-contents): Use progress-reporter for the
9844 whole scenario.
9845 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9846 to `t'.
9847 (tramp-check-for-regexp): Simplify search.
9848 (tramp-enter-password): Remove it. Move implementation ...
9849 (tramp-action-password): ... here.
9850 (tramp-mode-string-to-int, tramp-local-host-p)
9851 (tramp-make-tramp-temp-file, tramp-read-passwd)
9852 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9853 Set tramp-autoload cookie.
9854
9855 * net/trampver.el: Update release number.
9856
9857 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9858 Michael Albinus <michael.albinus@gmx.de>
9859
9860 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9861 (tramp-parse-group, tramp-parse-file)
9862 (tramp-parse-shostkeys-sknownhosts): New defuns.
9863 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9864 (tramp-parse-shosts-group, tramp-parse-sconfig)
9865 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9866 (tramp-parse-sknownhosts, tramp-parse-hosts)
9867 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9868 Use them.
9869 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9870 (tramp-parse-putty-group): Don't narrow.
9871 (tramp-parse-putty): Make a loop.
9872 (tramp-file-name-handler): Catch the `suppress' signal.
9873
9874 2012-06-11 Chong Yidong <cyd@gnu.org>
9875
9876 * image.el (imagemagick-register-types): Put the ImageMagick entry
9877 at the end of image-type-file-name-regexps.
9878
9879 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9880
9881 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9882 (pcase, pcase-let*, pcase-dolist): Use them.
9883
9884 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9885
9886 * emacs-lisp/pcase.el (pcase--let*): New function.
9887 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9888 (pcase--expand): Use macroexp-let².
9889
9890 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9891
9892 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9893 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9894 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9895 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9896 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9897 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9898
9899 2012-06-10 Glenn Morris <rgm@gnu.org>
9900
9901 * mail/rmail.el (rmail-yank-current-message): Leave point at
9902 correct position. (Bug#11660)
9903
9904 2012-06-10 Chong Yidong <cyd@gnu.org>
9905
9906 * allout-widgets.el: Fix code header.
9907
9908 2012-06-10 Chong Yidong <cyd@gnu.org>
9909
9910 * cus-edit.el (customize-changed-options-previous-release):
9911 Bump to 24.1.
9912
9913 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9914
9915 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9916
9917 2012-06-09 Chong Yidong <cyd@gnu.org>
9918
9919 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9920
9921 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9922
9923 * window.el (special-display-popup-frame): Don't use
9924 window--display-buffer (Bug#11651).
9925
9926 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9927
9928 Fix parallel builds: make sure loaddefs.el is not being written
9929 while Lisp files are compiled.
9930 (compile): Don't depend on 'mh-autoloads'.
9931 (compile-CMD, compile-SH): Depend on 'autoloads'.
9932 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9933
9934 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9935
9936 2012-06-09 Chong Yidong <cyd@gnu.org>
9937
9938 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9939 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9940 Doc fixes (Bug#11225).
9941
9942 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9943
9944 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9945 a function if there's a clear indication that it has a compiler-macro.
9946 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9947 (macro-declarations-alist): Add arglist to declaration functions.
9948 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9949 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9950 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9951 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9952 Also add autoload to find the compiler macro.
9953 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9954 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9955 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9956 (cl--compiler-macro-get): New functions, replacing calls to
9957 cl-define-compiler-macro.
9958 (cl-typep) [compiler-macro]: Use macroexp-let².
9959
9960 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9961
9962 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9963 string properly, fixes Bug#11473.
9964
9965 2012-06-08 Chong Yidong <cyd@gnu.org>
9966
9967 * faces.el (set-face-attribute): Doc fix.
9968 (modify-face): Don't use :bold and :italic.
9969 (error, warning, success): Tweak definitions.
9970
9971 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9972 (custom-modified, custom-set, custom-changed, custom-themed)
9973 (custom-saved, custom-button, custom-button-mouse)
9974 (custom-button-pressed, custom-state, custom-comment-tag)
9975 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9976 (custom-group-subtitle): Use new-style face specs.
9977 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9978 (custom-set-face, custom-changed-face, custom-saved-face)
9979 (custom-button-face, custom-button-pressed-face)
9980 (custom-documentation-face, custom-state-face)
9981 (custom-comment-face, custom-comment-tag-face)
9982 (custom-variable-tag-face, custom-variable-button-face)
9983 (custom-face-tag-face, custom-group-tag-face-1)
9984 (custom-group-tag-face): Remove obsolete face alias.
9985
9986 * epa.el (epa-validity-high, epa-validity-medium)
9987 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9988 (epa-field-name, epa-field-body):
9989 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9990 (font-lock-keyword-face, font-lock-builtin-face)
9991 (font-lock-function-name-face, font-lock-variable-name-face)
9992 (font-lock-type-face, font-lock-constant-face):
9993 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9994 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9995 * speedbar.el (speedbar-button-face, speedbar-file-face)
9996 (speedbar-directory-face, speedbar-tag-face)
9997 (speedbar-selected-face, speedbar-highlight-face)
9998 (speedbar-separator-face):
9999 * whitespace.el (whitespace-newline, whitespace-space)
10000 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10001 (whitespace-line, whitespace-space-before-tab)
10002 (whitespace-space-after-tab, whitespace-indentation)
10003 (whitespace-empty):
10004 * emulation/cua-base.el (cua-global-mark):
10005 * eshell/em-prompt.el (eshell-prompt):
10006 * net/newst-plainview.el (newsticker-new-item-face)
10007 (newsticker-old-item-face, newsticker-immortal-item-face)
10008 (newsticker-obsolete-item-face, newsticker-date-face)
10009 (newsticker-statistics-face, newsticker-default-face):
10010 * net/newst-reader.el (newsticker-feed-face)
10011 (newsticker-extra-face, newsticker-enclosure-face):
10012 * net/newst-treeview.el (newsticker-treeview-face)
10013 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10014 (newsticker-treeview-immortal-face)
10015 (newsticker-treeview-obsolete-face)
10016 (newsticker-treeview-selection-face):
10017 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10018 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10019 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10020 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10021 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10022 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10023 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10024 (mpuz-text):
10025 * progmodes/vera-mode.el (vera-font-lock-number)
10026 (vera-font-lock-function, vera-font-lock-interface):
10027 * textmodes/table.el (table-cell): Use new-style face specs, and
10028 don't use the old :bold and :italic attributes.
10029
10030 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10031 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10032 (ebrowse-member-class, ebrowse-progress): Likewise.
10033 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10034 (ebrowse-file-name-face, ebrowse-default-face)
10035 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10036 (ebrowse-progress-face): Remove obsolete faces.
10037
10038 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10039 Inherit from error and warning faces respectively.
10040
10041 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10042 Likewise.
10043 (flyspell-incorrect-face, flyspell-duplicate-face):
10044 Remove obsolete aliases.
10045
10046 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10047
10048 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10049 Avoid infloop.
10050
10051 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10052
10053 * startup.el (argv, argi): Make lexically scoped.
10054 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10055 * emacs-lisp/cl-macs.el: Use lexical-binding.
10056 Rename cl-bind-* to cl--bind-*.
10057 * files.el: Don't require `cl' since it doesn't use it.
10058 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10059
10060 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10061
10062 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10063 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10064 instead of calling external sort utility.
10065 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10066
10067 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10068
10069 * descr-text.el (describe-char): Mention how to insert the
10070 character, if the current input method doesn't support it.
10071 See the discussion in this thread for the details:
10072 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10073
10074 2012-06-08 Sam Steingold <sds@gnu.org>
10075
10076 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10077 XF86Back to previous-buffer.
10078 (minibuffer-local-map): Bind them to next-history-element and
10079 previous-history-element respectively.
10080 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10081 help-go-back respectively.
10082 * info.el (Info-mode-map): Bind them to Info-history-forward and
10083 Info-history-back respectively.
10084 These are the keys next to Up on the ThinkPad keyboard.
10085
10086 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10087
10088 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10089 * emacs-lisp/cl-macs.el: Provide itself.
10090 (cl--labels-convert-cache): New var.
10091 (cl--labels-convert): New function.
10092 (cl-flet, cl-labels): New implementation with new semantics, relying on
10093 lexical-binding.
10094 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10095 (cl-closure-vars, cl--function-convert-cache)
10096 (cl--function-convert): Move from cl-macs.el.
10097 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10098 rename by removing the "cl-" prefix.
10099 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10100
10101 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10102
10103 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10104 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10105 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10106 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10107 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10108 (cl-hash-table-count): Add old compatibility aliases.
10109
10110 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10111 Use macroexpand-all-environment instead.
10112 (cl--old-macroexpand): New var.
10113 (cl--sm-macroexpand): New function.
10114 (cl-symbol-macrolet): Use it during macro expansion.
10115 (cl--function-convert-cache): New var.
10116 (cl--function-convert): New function, extracted from
10117 cl-macroexpand-all.
10118 (cl-lexical-let): Use it.
10119
10120 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10121 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10122 (cl-member): Remove old alias.
10123
10124 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10125 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10126 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10127 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10128 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10129 (cl-macroexpand-cmacs): Remove var.
10130 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10131 Use macroexpand-all instead.
10132
10133 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10134
10135 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10136 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10137 (macroexp-copyable-p): New functions and macros.
10138 * emacs-lisp/edebug.el (edebug-unwrap):
10139 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10140 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10141 (pcase--let*): Remove.
10142 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10143 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10144 macroexp-const-p instead.
10145 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10146
10147 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10148 instead of "cl-" for internal definitions. Use macroexp-const-p.
10149 (cl-old-bc-file-form): Remove var.
10150 (cl-const-exprs-p): Remove fun.
10151 (cl-labels, cl-macrolet): Use backquote.
10152 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10153 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10154 (cl-define-setf-expander): Rename from cl-define-setf-method.
10155 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10156
10157 * international/mule-cmds.el: Don't require CL.
10158 (view-hello-file): Don't use `letf'.
10159
10160 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10161
10162 * tmm.el (tmm-prompt): Use string-prefix-p.
10163 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10164 (tmm-add-prompt): Use minibuffer-completion-help.
10165 (tmm-delete-map): Remove.
10166
10167 * subr.el (kbd): Make it its own function.
10168
10169 2012-06-07 Stefan Merten <smerten@oekonux.de>
10170
10171 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10172 Silence compiler warnings. Fix versions.
10173 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10174 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10175 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10176 (rst-package-emacs-version-alist): Correct Emacs version to
10177 represent major merge with upstream.
10178 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10179
10180 2012-06-06 Glenn Morris <rgm@gnu.org>
10181
10182 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10183 Only print environment variables if set.
10184
10185 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10186
10187 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10188 (macroexp--cons): Rename from maybe-cons.
10189 (macroexp--accumulate): Rename from macroexp-accumulate.
10190 (macroexp--all-forms): Rename from macroexpand-all-forms.
10191 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10192 (macroexp--expand-all): Rename from macroexpand-all-1.
10193
10194 2012-06-06 Sam Steingold <sds@gnu.org>
10195
10196 * calendar/calendar.el (calendar-in-read-only-buffer):
10197 Call `special-mode' to enable the standard read-only keybindings.
10198
10199 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10200
10201 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10202 with "loading" messages (bug#11635).
10203
10204 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10205
10206 * files.el (enable-remote-dir-locals): New option.
10207 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10208
10209 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10210 Ensure, that the temp directory is local.
10211
10212 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10213 `temporary-file-directory'.
10214
10215 * progmodes/python.el (python-send-region): Ensure, that the
10216 temporary file is created also in the remote case.
10217
10218 2012-06-06 Glenn Morris <rgm@gnu.org>
10219
10220 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10221 (vc-rcs-update-changelog): Use it.
10222
10223 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10224
10225 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10226 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10227 (vc-sccs-diff): Replace use of the external vcdiff script.
10228
10229 2012-06-05 Glenn Morris <rgm@gnu.org>
10230
10231 * ledit.el: Move to obsolete/.
10232
10233 2012-06-05 Sam Steingold <sds@gnu.org>
10234
10235 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10236 patch (Bug#11140).
10237
10238 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10239
10240 * emacs-lisp/cust-print.el: Move to obsolete.
10241
10242 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10243 compiler-macro expansion.
10244
10245 Add native compiler-macro support.
10246 * emacs-lisp/macroexp.el (macroexpand-all-1):
10247 Support compiler-macros directly. Properly follow aliases and apply
10248 the compiler macros more thoroughly.
10249 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10250 macroexpand now properly follows aliases.
10251 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10252 (cl-compiler-macroexpand): Use new prop.
10253 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10254
10255 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10256
10257 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10258
10259 * window.el (get-lru-window, get-mru-window, get-largest-window):
10260 New argument NOT-SELECTED to avoid picking the selected window.
10261 (window--display-buffer-1, window--display-buffer-2): Replace by
10262 new function window--display-buffer
10263 (display-buffer-same-window, display-buffer-reuse-window)
10264 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10265 Use window--display-buffer.
10266 (display-buffer-use-some-window): Remove temporary dedication
10267 hack by calling get-lru-window and get-largest-window with
10268 NOT-SELECTED argument non-nil. Call window--display-buffer.
10269
10270 2012-06-05 Glenn Morris <rgm@gnu.org>
10271
10272 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10273 Replace external vcdiff script.
10274
10275 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10276
10277 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10278
10279 2012-06-04 Chong Yidong <cyd@gnu.org>
10280
10281 * image.el (imagemagick-types-inhibit): Revert last change.
10282 Add INFO and M.
10283 (imagemagick-enabled-types): Remove CIN and EPS*.
10284
10285 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10286
10287 * emacs-lisp/cl-lib.el: Rename from cl.el.
10288 * emacs-lisp/cl.el: New compatibility file.
10289 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10290 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10291 to obey the "cl-" prefix.
10292 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10293
10294 2012-06-03 Glenn Morris <rgm@gnu.org>
10295
10296 * emacs-lisp/authors.el (authors-aliases): Addition.
10297
10298 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10299 Fix :version.
10300
10301 2012-06-03 Stefan Merten <smerten@oekonux.de>
10302
10303 * textmodes/rst.el: Add comments.
10304 (rst-transition, rst-adornment): New faces.
10305 (rst-adornment-faces-alist): Make default safe to reevaluate.
10306 Fixes
10307 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10308 Improve customization tags.
10309 (rst-define-level-faces): Clarify meaning.
10310
10311 2012-06-03 Chong Yidong <cyd@gnu.org>
10312
10313 * progmodes/compile.el (compilation-mode-line-fail)
10314 (compilation-mode-line-run, compilation-mode-line-exit):
10315 New faces.
10316 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10317
10318 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10319
10320 * progmodes/which-func.el (which-func-update-ediff-windows):
10321 New function. Use it in ediff-select-hook (Bug#11478).
10322
10323 2012-06-03 Chong Yidong <cyd@gnu.org>
10324
10325 * bindings.el: Remove explicit help text from format-mode-line.
10326 It is now supplied by mode-line-default-help-echo.
10327 (mode-line-front-space, mode-line-end-spaces)
10328 (mode-line-misc-info): New variables.
10329 (mode-line-modes, mode-line-position): Move the default value to
10330 the variable definition.
10331 (mode-line-default-help-echo): New defcustom.
10332 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10333 (mode-line-modified-help-echo): New functions.
10334 (mode-line-mule-info, mode-line-modified): Use them.
10335 (mode-line-eol-desc, propertized-buffer-identification):
10336 Consistency fixes for help text.
10337 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10338 set-buffer-file-coding-system (Bug#289).
10339 (mode-line-mule-info-help-echo): Update help text.
10340
10341 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10342
10343 * simple.el (execute-extended-command): Set real-this-command
10344 (bug#11506).
10345
10346 2012-06-02 Chong Yidong <cyd@gnu.org>
10347
10348 Remove incorrect uses of "modeline" in comments, docstrings, and
10349 function/variable names (Bug#10329).
10350
10351 * cus-edit.el (mode-line):
10352 * dframe.el (dframe-mouse-hscroll):
10353 * emacs-lisp/re-builder.el:
10354 * emacs-lisp/easy-mmode.el (define-minor-mode):
10355 * frame.el (set-frame-name):
10356 * help.el (lookup-minor-mode-from-indicator):
10357 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10358 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10359 (c-toggle-hungry-state):
10360 * progmodes/antlr-mode.el (antlr-language-alist):
10361 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10362 * progmodes/vhdl-mode.el (vhdl-mode):
10363 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10364 * term/ns-win.el (ns-face-at-pos):
10365 * term/sup-mouse.el (sup-mouse-report):
10366 * textmodes/flyspell.el (flyspell-mode-line-string):
10367 * textmodes/ispell.el (ispell-highlight-face):
10368 * textmodes/reftex-global.el:
10369 * vc/vc-arch.el (vc-arch-mode-line-string):
10370 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10371 * vc/vc-git.el (vc-git-mode-line-string):
10372 * vc/vc-hooks.el (vc-display-status)
10373 (vc-default-mode-line-string):
10374 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10375
10376 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10377
10378 * dired.el (dired-sort-set-mode-line): Rename from
10379 dired-sort-set-modeline. All callers changed.
10380
10381 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10382 eshell-status-in-modeline.
10383
10384 * foldout.el (foldout-mode-line-string): Rename from
10385 foldout-modeline-string. All callers changed.
10386 (foldout-update-mode-line): Rename from foldout-update-modeline.
10387
10388 * subr.el (redraw-modeline): Make into obsolete alias.
10389
10390 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10391 timeclock-modeline-display. Make old name an alias.
10392 (timeclock-update-mode-line): Likewise. All callers changed.
10393 (timeclock-mode-line-display): No need to check before using
10394 add-hook.
10395 (timeclock-relative, timeclock-day-over-hook)
10396 (timeclock-use-elapsed, timeclock-mode-string)
10397 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10398
10399 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10400 crisp-mode-modeline-string.
10401
10402 * play/solitaire.el (solitaire-build-mode-line): Rename from
10403 solitaire-build-modeline. All callers changed.
10404
10405 * play/zone.el (zone-hiding-mode-line): Rename from
10406 zone-hiding-modeline. All callers changed.
10407 (zone): Remove unusued `modeline-hidden-level' property.
10408
10409 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10410 xscheme-modeline-initialize. All callers changed.
10411
10412 * strokes.el (strokes-lighter): Rename from
10413 strokes-modeline-string.
10414
10415 * textmodes/sgml-mode.el (html-face-tag-alist)
10416 (html-tag-face-alist): Use mode-line face instead of obsolete
10417 alias modeline.
10418
10419 2012-06-02 Stefan Merten <smerten@oekonux.de>
10420
10421 * textmodes/rst.el: Always require `cl'.
10422 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10423
10424 2012-06-02 Chong Yidong <cyd@gnu.org>
10425
10426 * image.el (imagemagick-enabled-types): Rename from
10427 imagemagick-types-enable. Add many more types.
10428 (imagemagick-types-inhibit): Change default to nil.
10429 (imagemagick-filter-types): Caller changed.
10430
10431 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10432
10433 * emacs-lisp/cl-macs.el: Use backquotes.
10434 (cl-transform-function-property): Use eval-and-compile rather than
10435 abusing `require'.
10436 (defstruct): Use declare-function instead of with-no-warnings.
10437
10438 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10439 (byte-compile-output-docform): Re-add the print-circle bindings.
10440 (byte-compile-fix-header): Use #$ just because it's shorter.
10441 (byte-compile-output-file-form): Remove defun/defmacro.
10442
10443 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10444
10445 * simple.el (choose-completion): Remove now obsolete binding for
10446 owindow.
10447
10448 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10449
10450 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10451 in order to avoid "Stack overflow in regexp matcher".
10452
10453 2012-05-31 Glenn Morris <rgm@gnu.org>
10454
10455 * image.el: For clarity, call imagemagick-register-types at
10456 top-level, rather than relying on a custom :initialize.
10457 (imagemagick-types-enable): New option. (Bug#11557)
10458 (imagemagick-filter-types): New function. (Bug#7406)
10459 (imagemagick-register-types): Use imagemagick-filter-types.
10460 If disabling support, remove elements altogether rather
10461 than using an impossible regexp.
10462 (imagemagick-types-inhibit): Give it the default init function.
10463
10464 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10465
10466 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10467 Handle arbitrary file name lengths (Bug#11585).
10468
10469 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10470
10471 * desktop.el (desktop-read): Clear previous and next buffers for
10472 all windows and bury *Messages* buffer (bug#11556).
10473
10474 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10475
10476 Add `declare' for `defun'. Align `defmacro's with it.
10477 * emacs-lisp/easy-mmode.el (define-minor-mode)
10478 (define-globalized-minor-mode): Don't autoload the var definitions.
10479 * emacs-lisp/byte-run.el: Use lexical-binding.
10480 (defun-declarations-alist, macro-declarations-alist): New vars.
10481 (defmacro, defun): Use them.
10482 (make-obsolete, define-obsolete-function-alias)
10483 (make-obsolete-variable, define-obsolete-variable-alias):
10484 Use `declare'.
10485 (macro-declaration-function): Mark obsolete.
10486 * emacs-lisp/autoload.el: Use lexical-binding.
10487 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10488
10489 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10490
10491 * textmodes/ispell.el (ispell-with-no-warnings):
10492 Define as a macro.
10493 (ispell-kill-ispell, ispell-change-dictionary):
10494 Use `called-interactively-p' for Emacs instead of obsolete
10495 `interactive-p'.
10496
10497 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10498
10499 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10500 (macro-declaration-function): Move var from C code.
10501 (macro-declaration-function): Define function with defalias.
10502 * emacs-lisp/macroexp.el (macroexpand-all-1):
10503 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10504 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10505 defun/defmacro any more.
10506 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10507 Provide fallback for unknown arglist.
10508 (byte-compile-arglist-warn): Change calling convention.
10509 (byte-compile-output-file-form): Move print-vars binding.
10510 (byte-compile-output-docform): Simplify accordingly.
10511 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10512 (byte-compile-defmacro-declaration): Remove.
10513 (byte-compile-file-form-defmumble): Generalize to defalias.
10514 (byte-compile-output-as-comment): Return byte-positions.
10515 Simplify callers accordingly.
10516 (byte-compile-lambda): Use `assert'.
10517 (byte-compile-defun, byte-compile-defmacro): Remove.
10518 (byte-compile-file-form-defalias):
10519 Use byte-compile-file-form-defmumble.
10520 (byte-compile-defalias-warn): Remove.
10521
10522 2012-05-29 Stefan Merten <smerten@oekonux.de>
10523
10524 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10525 possible. Fix authors. Improve comments. Improve loading of `cl'.
10526
10527 (rst-mode-abbrev-table): Merge definition.
10528 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10529 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10530
10531 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10532
10533 * calendar/icalendar.el
10534 (icalendar-export-region): Export UID properly.
10535
10536 2012-05-29 Leo Liu <sdl.web@gmail.com>
10537 * calendar/icalendar.el (icalendar-import-format):
10538 Add `icalendar-import-format-uid' (Bug#11525).
10539 (icalendar-import-format-uid): New.
10540 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10541 Export UID.
10542
10543 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10544
10545 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10546 different alternative patterns.
10547 (pcase-codegen): Be more careful to preserve identity.
10548 (pcase--u1): Don't forget to mark vars as used.
10549
10550 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10551 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10552 (byte-compile-from-buffer): ...rather than here.
10553
10554 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10555 functions from byte-compile-function-environment.
10556
10557 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10558
10559 * window.el (window-deletable-p): Avoid deleting the root window
10560 of a frame with an active minibuffer.
10561
10562 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10563
10564 * simple.el (choose-completion): Use quit-window (Bug#11567).
10565
10566 2012-05-29 Chong Yidong <cyd@gnu.org>
10567
10568 * whitespace.el (whitespace-cleanup): Fix usage of
10569 whitespace-empty-at-bob-regexp (Bug#11492).
10570
10571 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10572
10573 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10574 revert (Bug#11488).
10575
10576 2012-05-29 Juri Linkov <juri@jurta.org>
10577
10578 * isearch.el (isearch-mode-map): Bind `M-s _' to
10579 `isearch-toggle-symbol'. Bind `M-s c' to
10580 `isearch-toggle-case-fold'.
10581 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10582 (isearch-forward): Add `M-s _' to the docstring.
10583 (isearch-forward-symbol, isearch-toggle-case-fold)
10584 (isearch-symbol-regexp): New functions. (Bug#11381)
10585
10586 2012-05-29 Juri Linkov <juri@jurta.org>
10587
10588 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10589 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10590 a function, call it to get the regexp.
10591 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10592 property `isearch-message-prefix' instead of the string "word ".
10593 (isearch-search-fun-default): For the case of `isearch-word',
10594 return a lambda that calls re-search-forward/re-search-backward
10595 with a regexp returned by `word-search-regexp' or by the function
10596 in `isearch-word'.
10597
10598 2012-05-29 Juri Linkov <juri@jurta.org>
10599
10600 * isearch.el (isearch-search-fun-default): New function.
10601 (isearch-search-fun): Move default part to the new function
10602 `isearch-search-fun-default'.
10603 (isearch-search-fun-function): Set the default value to
10604 `isearch-search-fun-default'. (Bug#11381)
10605
10606 * comint.el (comint-history-isearch-end):
10607 Use `isearch-search-fun-default'.
10608 (comint-history-isearch-search): Use `isearch-search-fun-default'
10609 and remove spacial case for `isearch-word'.
10610 (comint-history-isearch-wrap): Remove spacial case for
10611 `isearch-word'.
10612
10613 * hexl.el (hexl-isearch-search-function):
10614 Use `isearch-search-fun-default'.
10615
10616 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10617 Use `word-search-regexp' for `isearch-word'.
10618
10619 * misearch.el (multi-isearch-search-fun):
10620 Use `isearch-search-fun-default'.
10621
10622 * simple.el (minibuffer-history-isearch-search):
10623 Use `isearch-search-fun-default' and remove spacial case for
10624 `isearch-word'.
10625 (minibuffer-history-isearch-wrap): Remove spacial case for
10626 `isearch-word'.
10627
10628 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10629 Remove spacial case for `isearch-word'.
10630 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10631
10632 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10633
10634 Decrease XEmacs incompatibilities.
10635 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10636 Use `string-match'.
10637 (flyspell-delete-region-overlays): Use alternative definition for
10638 XEmacs.
10639 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10640 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10641 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10642 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10643 `define-obsolete-face-alias' under XEmacs, but old method.
10644
10645 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10646 `with-no-warnings' definition or Emacs alias.
10647 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10648 (ispell-word): Do not use `region-p' if XEmacs.
10649
10650 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10651
10652 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10653 Check for `ispell-dictionary-base-alist' instead of full
10654 `ispell-dictionary-alist'.
10655 (ispell-init-process): Show spellchecker when starting new Ispell
10656 process.
10657
10658 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10659
10660 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10661 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10662
10663 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10664
10665 * version.el (motif-version-string, gtk-version-string)
10666 (ns-version-string): Declare.
10667
10668 2012-05-27 Juri Linkov <juri@jurta.org>
10669
10670 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10671 after the `eval-defun-1' specialcaseing
10672 like in `edebug-eval-defun' (bug#10181).
10673
10674 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10675 like in `eval-defun-1'.
10676
10677 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10678
10679 * mail/sendmail.el (mail-yank-region):
10680 Recognize rmail-yank-current-message in addition to insert-buffer.
10681 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10682 a *mail* buffer created through rmail-start-mail with sendmail as
10683 mail-user-agent.
10684
10685 2012-05-27 Chong Yidong <cyd@gnu.org>
10686
10687 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10688 Default to 256 (Bug#11267).
10689
10690 * help.el (describe-mode): Doc fix.
10691
10692 2012-05-26 Glenn Morris <rgm@gnu.org>
10693
10694 * w32-fns.el (w32-init-info): Remove.
10695 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10696
10697 * info.el (info-initialize): For self-contained NS builds, put the
10698 included info/ directory at the front. (Bug#2791)
10699
10700 * paths.el (Info-default-directory-list): Make it a defcustom,
10701 mainly so that we can use custom-initialize-delay.
10702
10703 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10704
10705 * subr.el (buffer-has-markers-at): Mark obsolete.
10706
10707 * subr.el (lambda): Use declare.
10708
10709 * emacs-lisp/lisp-mode.el (lambda):
10710 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10711
10712 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10713
10714 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10715
10716 2012-05-26 Glenn Morris <rgm@gnu.org>
10717
10718 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10719
10720 2012-05-25 Glenn Morris <rgm@gnu.org>
10721
10722 * paths.el: Remove no-byte-compile.
10723 * loadup.el: No need to load paths.el uncompiled.
10724
10725 * image.el (imagemagick-types-inhibit): Doc fix.
10726
10727 * version.el: Remove no-byte-compile and associated formatting.
10728 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10729 is ancient code from when there was an "inc-vers.el".
10730
10731 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10732
10733 * progmodes/gdb-mi.el: Minor style changes.
10734 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10735 Turn into minor modes.
10736 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10737 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10738 (gdb-shell): Remove unneeded let-binding.
10739 (gdb-get-many-fields): Eliminate O(n²) behavior.
10740
10741 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10742
10743 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10744 platforms that don't link in fontset.c.
10745
10746 2012-05-25 Juri Linkov <juri@jurta.org>
10747
10748 Use the same diff color scheme as in modern VCSes (bug#10181).
10749
10750 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10751 to avoid confusion with `diff-added' that now uses green colors.
10752 (diff-removed): Use shades of red.
10753 (diff-added): Use shades of green.
10754 (diff-changed): Leave just the yellow color.
10755 (diff-use-changed-face): New variable.
10756 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10757 how to highlight context diff changes.
10758 (diff-refine-change): Use shades of yellow.
10759 (diff-refine-removed): New face that uses shades of red.
10760 (diff-refine-added): New face that uses shades of green.
10761 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10762 `diff-refine-removed' in the call to `smerge-refine-subst'
10763 depending on the value of `diff-use-changed-face'.
10764
10765 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10766 (smerge-other): Use shades of green.
10767 (smerge-base): Use shades of yellow.
10768 (smerge-refined-change): Empty face.
10769 (smerge-refined-removed): New face that uses shades of red.
10770 (smerge-refined-added): New face that uses shades of green.
10771 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10772 args `props-r' and `props-a', and use them. Doc fix.
10773 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10774 on its value use different faces `smerge-refined-change',
10775 `smerge-refined-removed', `smerge-refined-added' in the call to
10776 `smerge-refine-subst'.
10777
10778 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10779 Add face condition `min-colors 88' with shades of red.
10780 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10781 `min-colors 88' with shades of green.
10782 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10783 `min-colors 88' with shades of yellow.
10784
10785 2012-05-24 Glenn Morris <rgm@gnu.org>
10786
10787 * paths.el (prune-directory-list, remote-shell-program): Move to...
10788 * files.el (prune-directory-list, remote-shell-program): ...here.
10789 For the latter, delay initialization, prefer ssh, just search PATH.
10790
10791 * paths.el (term-file-prefix): Move to faces.el (the only user).
10792 * faces.el (term-file-prefix): Move here, make it a defcustom.
10793
10794 * paths.el (news-directory, news-path, news-inews-program):
10795 Move to gnus/nnspool.el.
10796
10797 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10798
10799 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10800 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10801 Make the latter a defcustom, with a delayed initialization.
10802
10803 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10804 These were deleted from Gnus itself late 2010.
10805
10806 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10807
10808 * progmodes/which-func.el (which-func-ff-hook):
10809 Check against user-error, not error.
10810
10811 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10812 cl-specs.el, which no longer exists.
10813
10814 2012-05-22 Glenn Morris <rgm@gnu.org>
10815
10816 * info.el (info-emacs-bug): New command.
10817 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10818 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10819
10820 2012-05-21 Glenn Morris <rgm@gnu.org>
10821
10822 * makefile.w32-in (update-subdirs-SH):
10823 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10824
10825 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10828
10829 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10830 Simplify Maven regexp, and make sure the file can't start with a space
10831 (bug#11517).
10832
10833 2012-05-21 Glenn Morris <rgm@gnu.org>
10834
10835 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10836 Scrap superfluous subshells.
10837
10838 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10839
10840 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10841 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10842
10843 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10844
10845 * calc/calc.el (calc-ensure-consistent-units): New variable.
10846
10847 * calc/calc-units.el (math-consistent-units-p)
10848 (math-check-unit-consistency): New functions.
10849 (calc-quick-units, calc-convert-units):
10850 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10851 is non-nil.
10852 (calc-extract-units): Fix typo.
10853
10854 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10855
10856 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10857
10858 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10859 (flyspell-default-deplacement-commands): Don't spell check after
10860 repeated window/frame switches (e.g. triggered by mouse-movement).
10861 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10862 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10863 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10864 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10865 Remove unused vars.
10866 (flyspell-get-casechars, flyspell-get-not-casechars):
10867 Simplify; Don't bother removing a ] just to add it back.
10868 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10869
10870 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10871
10872 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10873 New functions.
10874 (math-function-table): Add support for more C functions.
10875
10876 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10877
10878 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10879 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10880 Protect delay handling for otherchars against empty otherchars.
10881
10882 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10883
10884 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10885 their respective macro declarations.
10886 * skeleton.el (define-skeleton):
10887 * progmodes/compile.el (define-compilation-mode):
10888 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10889 (define-ibuffer-filter):
10890 * emacs-lisp/generic.el (define-generic-mode):
10891 * emacs-lisp/easy-mmode.el (define-minor-mode)
10892 (define-globalized-minor-mode):
10893 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10894 * emacs-lisp/byte-run.el (defsubst):
10895 * custom.el (deftheme): Add doc-string metadata.
10896
10897 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10898
10899 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10900
10901 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10902
10903 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10904
10905 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10906 * emacs-lisp/cl-macs.el: Idem.
10907 * emacs-lisp/cl-specs.el: Remove.
10908
10909 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10910
10911 Minor renaming of internal CL functions and variables.
10912 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10913 (cl--position): Rename from cl-position.
10914 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10915 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10916 (cl--random-state): Rename from *random-state*.
10917
10918 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10919
10920 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10921 parens around the arg list (bug#11499).
10922
10923 2012-05-17 Juri Linkov <juri@jurta.org>
10924
10925 * isearch.el (word-search-regexp, word-search-backward)
10926 (word-search-forward, word-search-backward-lax)
10927 (word-search-forward-lax): Move functions from search.c
10928 (bug#10145, bug#11381).
10929
10930 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10931
10932 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10933 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10934 Delay for otherchars as for normal word components.
10935
10936 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10937
10938 * minibuffer.el (completion--sifn-requote): Fix last change.
10939 (minibuffer-local-must-match-filename-map):
10940 Move define-obsolete-variable-alias before its var.
10941
10942 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10943
10944 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10945
10946 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10947 behavior.
10948 (completion--string-equal-p): New function.
10949 (completion--twq-all): Use it to get better assertion failure data.
10950
10951 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10952 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10953 (shell--requote-argument): New functions.
10954 (shell-completion-vars): Use them.
10955 (shell--parse-pcomplete-arguments): Rename from
10956 shell-parse-pcomplete-arguments.
10957 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10958 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10959 Obey comint-file-name-quote-list.
10960
10961 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10962 (smie-indent-keyword): Use it.
10963
10964 2012-05-14 Stefan Merten <smerten@oekonux.de>
10965
10966 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10967
10968 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10969
10970 * net/rlogin.el (rlogin-mode-map): Fix last change.
10971
10972 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10973
10974 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10975 the following \r\n using a single `process-send-string', since the
10976 Lotus SMTP server refuses to accept any commands if they are sent
10977 with two `process-send-string's (Bug#11444).
10978
10979 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10980
10981 * shell.el (shell-parse-pcomplete-arguments):
10982 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10983
10984 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10985
10986 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10987 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10988 (image-transform-width, image-transform-fit-width): New functions.
10989 (image-transform-properties): Use them.
10990 (image-transform-check-size): New function.
10991 (image-toggle-display-image): Use it (for testing).
10992 (image-transform-set-rotation): Reduce angle mod 360.
10993 Delete obsolete comment.
10994
10995 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10996
10997 * image-mode.el: Fix scaling (bug#11399).
10998 (image-transform-resize): Doc fix.
10999 (image-transform-properties): Default scale is 1 and height should
11000 be an integer.
11001
11002 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11003
11004 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11005 than hard-coding `car', to fix misbehavior when moving forward.
11006
11007 2012-05-13 Chong Yidong <cyd@gnu.org>
11008
11009 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11010 (tabulated-list-entries, tabulated-list-padding)
11011 (tabulated-list-sort-key): Make permanent-local.
11012
11013 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11014 (electric-buffer-list): Put electric buffer menu
11015 command descriptions in this docstring, instead of the docstring
11016 of electric-buffer-menu-mode. Code cleanups.
11017 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11018 Electric-buffer-menu-mode.
11019 (electric-buffer-update-highlight): Minor code cleanup.
11020
11021 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11022
11023 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11024 (Bug#11447)
11025
11026 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11027
11028 Move define-obsolete-variable-alias before the var's definition.
11029 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11030 * tooltip.el (tooltip-hook):
11031 * textmodes/reftex-toc.el (reftex-toc-map):
11032 * textmodes/reftex-sel.el (reftex-select-label-map)
11033 (reftex-select-bib-map):
11034 * textmodes/reftex-index.el (reftex-index-map)
11035 (reftex-index-phrases-map):
11036 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11037 * progmodes/meta-mode.el (meta-mode-map):
11038 * novice.el (disabled-command-hook):
11039 * loadhist.el (unload-hook-features-list):
11040 * frame.el (blink-cursor):
11041 * files.el (find-file-not-found-hooks, write-file-hooks)
11042 (write-contents-hooks):
11043 * emulation/tpu-edt.el (GOLD-map):
11044 * emacs-lock.el (emacs-lock-from-exiting):
11045 * emacs-lisp/generic.el (generic-font-lock-defaults):
11046 * emacs-lisp/chart.el (chart-map):
11047 * dos-fns.el (register-name-alist):
11048 * dired-x.el (dired-omit-files-p):
11049 * desktop.el (desktop-enable):
11050 * cus-edit.el (custom-mode-hook):
11051 * buff-menu.el (buffer-menu-mode-hook):
11052 * bookmark.el (bookmark-read-annotation-text-func)
11053 (bookmark-exit-hooks):
11054 * allout.el (allout-mode-deactivate-hook)
11055 (allout-exposure-change-hook, allout-structure-added-hook)
11056 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11057 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11058 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11059 comes before the corresponding variable's definition.
11060
11061 2012-05-12 Chong Yidong <cyd@gnu.org>
11062
11063 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11064 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11065 (Buffer-menu-mode-map): Bind it.
11066 (Buffer-menu--pretty-name): Add a mouse-face property.
11067
11068 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11069
11070 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11071 (prolog-upper-case-string, prolog-lower-case-string)
11072 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11073 (prolog-use-smie, prolog-smie-grammar): New vars.
11074 (prolog-smie-forward-token, prolog-smie-backward-token)
11075 (prolog-smie-rules): New funs.
11076 (prolog-comment-indent): Remove.
11077 (prolog-mode-variables): Use default comment indentation instead.
11078 Setup SMIE.
11079 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11080 (prolog-mode): Don't call them any more.
11081 (prolog-electric-colon, prolog-electric-dash)
11082 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11083
11084 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11085
11086 * minibuffer.el (completion--twq-all): Again, allow case differences.
11087
11088 * term.el: Move keymap initialization code to be more idiomatic.
11089 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11090 (term-terminal-menu): Move initialization into declaration.
11091 (term-escape-char): Let the user set it in her .emacs.
11092
11093 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11094 Provide SMIE-based indentation (not enabled by default yet).
11095 (sh-mode-map): Don't bind electric keys.
11096 Use electric-pair-mode instead of skeleton-pair.
11097 (sh-assignment-regexp): Fit within 80 columns.
11098 (sh-indent-supported): Specify actual shell name instead of boolean.
11099 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11100 (sh-maybe-here-document): Use it. Make obsolete.
11101 (sh-electric-here-document-mode) New minor mode.
11102 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11103 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11104 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11105 (sh-smie-rc-grammar, sh-use-smie): New vars.
11106 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11107 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11108 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11109 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11110 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11111 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11112 (sh-set-shell): Use smie-setup if requested.
11113
11114 * term.el (term-set-escape-char): Properly set term-escape-char.
11115 See http://stackoverflow.com/questions/10524656.
11116
11117 2012-05-10 Chong Yidong <cyd@gnu.org>
11118
11119 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11120 Use url-generic-parse-url, and handle host names and Windows
11121 filenames properly.
11122 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11123 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11124 URL schemes to work on.
11125 (ffap--toggle-read-only): New function.
11126 (ffap-read-only, ffap-read-only-other-window)
11127 (ffap-read-only-other-frame): Use it.
11128 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11129 necessary for ffap-url-unwrap-remote.
11130
11131 2012-05-10 Dave Abrahams <dave@boostpro.com>
11132
11133 * cus-start.el (create-lockfiles): Add it.
11134
11135 2012-05-09 Chong Yidong <cyd@gnu.org>
11136
11137 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11138 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11139
11140 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11141
11142 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11143
11144 2012-05-09 Chong Yidong <cyd@gnu.org>
11145
11146 * ansi-color.el (ansi-color-process-output): Check for validity of
11147 comint-last-output-start before using it. This avoids a bad
11148 interaction with gdb-mi's input/output buffer.
11149
11150 2012-05-09 Glenn Morris <rgm@gnu.org>
11151
11152 * files.el (dir-locals-read-from-file):
11153 Mention dir-locals in any error message.
11154
11155 2012-05-09 Chong Yidong <cyd@gnu.org>
11156
11157 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11158 package (Bug#11410).
11159
11160 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11161 variables into description.
11162
11163 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11166 shell-delimiter-argument-list (bug#11348).
11167 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11168
11169 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11170
11171 * textmodes/rst.el: Silence byte-compiler warnings.
11172 (rst-re-alist, rst-reset-section-caches): Move around.
11173 (rst-re): Use `characterp', not `char-valid-p'.
11174 (font-lock-beg, font-lock-end): Declare.
11175
11176 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11177 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11178
11179 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11180
11181 2012-05-08 Glenn Morris <rgm@gnu.org>
11182
11183 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11184
11185 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11186
11187 * vc/log-edit.el: Add GNU coding standards highlighting.
11188 (log-edit-font-lock-gnu-style)
11189 (log-edit-font-lock-gnu-keywords): New vars.
11190 (log-edit-font-lock-keywords): New fun.
11191 (log-edit-mode): Don't fold case in font-lock.
11192 (log-edit-font-lock-keywords): Do not assume case-folding.
11193
11194 * imenu.el: Misc cleanup. Make docstrings out of comments.
11195 Use lexical-binding.
11196 (imenu--index-alist, imenu--last-menubar-index-alist)
11197 (imenu-menubar-modified-tick): Use defvar-local.
11198 (imenu--split-menu): Remove unused var.
11199 (imenu--cleanup-seen): Declare as global.
11200 (imenu--cleanup): Use dolist.
11201
11202 * subr.el (defvar-local): Add debug spec and doc-string position.
11203
11204 2012-05-08 Glenn Morris <rgm@gnu.org>
11205
11206 * language/burmese.el, language/cham.el, language/czech.el:
11207 * language/english.el, language/georgian.el, language/greek.el:
11208 * language/japanese.el, language/khmer.el, language/korean.el:
11209 * language/lao.el, language/misc-lang.el, language/romanian.el:
11210 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11211 * language/thai.el, language/utf-8-lang.el:
11212 Remove no-byte-compile setting.
11213
11214 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11215
11216 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11217
11218 * progmodes/make-mode.el (makefile-browse):
11219 Remove unnecessary interactive. (Bug#11324)
11220
11221 2012-05-07 Glenn Morris <rgm@gnu.org>
11222
11223 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11224
11225 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11226
11227 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11228
11229 * loadup.el: Preload newcomment.el.
11230 * newcomment.el: Move autoload-only code to toplevel.
11231
11232 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11233 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11234 Handle new :right-align column property.
11235 (tabulated-list-print-col): Idem, plus use `display' text-property to
11236 try and preserve alignment for variable pitch fonts.
11237
11238 2012-05-07 Chong Yidong <cyd@gnu.org>
11239
11240 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11241 (tabulated-list-use-header-line): New var.
11242 (tabulated-list-init-header): Use it.
11243 (tabulated-list-print-fake-header): New function.
11244 (tabulated-list-print): Use it.
11245 (tabulated-list-sort-button-map): Add non-header-line commands.
11246 (tabulated-list-init-header): Add column name property to basic
11247 labels as well.
11248 (tabulated-list-col-sort): Handle non-header-line button case.
11249 (tabulated-list--sort-by-column-name): Fix a corner case.
11250
11251 * buff-menu.el (list-buffers--refresh):
11252 Handle Buffer-menu-use-header-line.
11253
11254 2012-05-06 Chong Yidong <cyd@gnu.org>
11255
11256 * buff-menu.el: Convert to Tabulated List mode.
11257 (Buffer-menu-buffer+size-width): Make obsolete.
11258 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11259 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11260 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11261 documentation into docstring of buffer-menu.
11262 (Buffer-menu-toggle-files-only): Add an informative message.
11263 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11264 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11265 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11266 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11267 (Buffer-menu-execute, Buffer-menu-select)
11268 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11269 (Buffer-menu-bury): Use Tabulated List machinery.
11270 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11271 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11272 Delete.
11273 (list-buffers--refresh): New function.
11274 (list-buffers-noselect): Use it.
11275 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11276 (Buffer-menu--pretty-file-name): New helper functions.
11277
11278 * loadup.el: Preload tabulated-list.
11279
11280 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11281 tabulated-list-sort-column.
11282 (tabulated-list-init-header): Add the initial aligning space even
11283 if tabulated-list-padding is zero.
11284
11285 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11286
11287 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11288 whose cdr is not a cons cell correctly (bug#11038).
11289
11290 2012-05-06 Chong Yidong <cyd@gnu.org>
11291
11292 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11293 Accept additional plist in column descriptors.
11294 (tabulated-list-init-header): Obey it.
11295 (tabulated-list-get-entry): New function.
11296 (tabulated-list-put-tag): Use it. Use string-width instead of
11297 length.
11298 (tabulated-list--column-number): New function.
11299 (tabulated-list-print): Use it.
11300 (tabulated-list-print-col): New function.
11301 Set `tabulated-list-column-name' property on each column's text.
11302 (tabulated-list-print-entry): Use it.
11303 (tabulated-list-delete-entry, tabulated-list-set-col):
11304 New functions.
11305 (tabulated-list-sort-column): New command (Bug#11337).
11306
11307 * buff-menu.el (list-buffers): Move C-x C-b binding from
11308 buff-menu.el to bindings.el.
11309
11310 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11311 :advertised-binding feature.
11312
11313 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11314
11315 * progmodes/compile.el (compilation-internal-error-properties):
11316 Calculate start position correctly when end-col is set but
11317 end-line is not (Bug#11382).
11318
11319 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11320
11321 * man.el (Man-unindent): Use text-property-default-nonsticky to
11322 prevent untabify from inheriting face properties (Bug#11408).
11323
11324 2012-05-05 Stefan Merten <smerten@oekonux.de>
11325
11326 * textmodes/rst.el: Major merge with upstream development up to
11327 Docutils SVN r7399 / rst.el V1.2.1.
11328
11329 Clarify maintainership and authors.
11330
11331 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11332 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11333 (rst-official-version, rst-official-cvs-rev, rst-version)
11334 (rst-package-emacs-version-alist): New functions and variables
11335 for version information.
11336
11337 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11338 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11339 (rst-mode-syntax-table, rst-mode): New and corrected functions
11340 and variables representing reStructuredText features.
11341
11342 (rst-re): New function for reStructuredText regexes. Use in
11343 many places.
11344
11345 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11346 (rst-mode-map): Rebind keys.
11347
11348 (rst-mode-lazy, rst-font-lock-keywords)
11349 (rst-font-lock-extend-region)
11350 (rst-font-lock-extend-region-internal)
11351 (rst-font-lock-extend-region-extend)
11352 (rst-font-lock-find-unindented-line-limit)
11353 (rst-font-lock-find-unindented-line-match)
11354 (rst-adornment-level, rst-font-lock-adornment-level)
11355 (rst-font-lock-adornment-match)
11356 (rst-font-lock-handle-adornment-pre-match-form)
11357 (rst-font-lock-handle-adornment-matcher): Major revision of
11358 font-locking. Integrate with other code. Use `jit-lock-mode'.
11359
11360 (rst-preferred-adornments, rst-adjust-hook)
11361 (rst-new-adornment-down, rst-preferred-bullets)
11362 (rst-preferred-bullets, rst-indent, rst-indent-width)
11363 (rst-indent-field, rst-indent-literal-normal)
11364 (rst-indent-literal-minimized, rst-indent-comment): Change,
11365 extend and improve customization.
11366
11367 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11368 (rst-normalize-cursor-position, rst-get-decoration)
11369 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11370 (rst-rstrip, rst-toc-insert-find-delete-contents)
11371 (rst-shift-fill-region, rst-compute-bullet-tabs)
11372 (rst-debug-print-tabs, rst-debug-mark-found)
11373 (rst-shift-region-guts, rst-shift-region-right)
11374 (rst-shift-region-left, rst-use-char-classes)
11375 (rst-font-lock-keywords-function)
11376 (rst-font-lock-indentation-point)
11377 (rst-font-lock-find-unindented-line-begin)
11378 (rst-font-lock-find-unindented-line-end)
11379 (rst-font-lock-find-unindented-line)
11380 (rst-font-lock-adornment-point, rst-font-lock-level)
11381 (rst-adornment-level-alist): Remove functions and variables.
11382
11383 (rst-compare-adornments, rst-get-adornment-match)
11384 (rst-suggest-new-adornment, rst-get-adornments-around)
11385 (rst-adornment-complete-p, rst-get-next-adornment)
11386 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11387 (rst-straighten-adornments): Standardize function names to
11388 use "adornment" instead of "decoration". Correct callers.
11389 Similar standardizing in many places.
11390
11391 (rst-update-section, rst-adjust, rst-promote-region)
11392 (rst-enumerate-region, rst-bullet-list-region)
11393 (rst-repeat-last-character): Correct use of `interactive'.
11394
11395 (rst-classify-adornment, rst-find-all-adornments)
11396 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11397 (rst-find-leftmost-column, rst-repeat-last-character):
11398 Refactor functions.
11399
11400 (rst-find-title-line, rst-reset-section-caches)
11401 (rst-get-adornments-around, rst-adjust-adornment-work)
11402 (rst-arabic-to-roman, rst-roman-to-arabic)
11403 (rst-insert-list-pos, rst-insert-list-new-item)
11404 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11405 New functions.
11406
11407 (rst-all-sections, rst-section-hierarchy)
11408 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11409 New variables.
11410
11411 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11412 configuration instead of only buffer. Change where necessary.
11413
11414 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11415 (rst-shift-region, rst-adaptive-fill): New functions for
11416 indentation and filling.
11417
11418 (rst-comment-line-break, rst-comment-indent)
11419 (rst-comment-insert-comment, rst-comment-region)
11420 (rst-uncomment-region): New functions for handling comments.
11421
11422 (rst-compile): Quote shell arguments.
11423
11424 (rst-compile-pdf-preview, rst-compile-slides-preview):
11425 Delete temporary files after use.
11426
11427 2012-05-05 Glenn Morris <rgm@gnu.org>
11428
11429 * calendar/cal-html.el: Optionally include holidays in the output.
11430 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11431 (cal-html-holidays): New option.
11432 (cal-html-css-default): Add holiday entry.
11433 (holiday-in-range): Autoload it.
11434 (cal-html-htmlify-entry): Add optional class argument.
11435 (cal-html-htmlify-list): Add optional holidays argument.
11436 (cal-html-insert-agenda-days): Include holidays in the output.
11437 (cal-html-one-month): Maybe include holidays.
11438
11439 * calendar/holidays.el (holiday-in-range):
11440 Move here from cal-tex-list-holidays.
11441 * calendar/cal-tex.el (cal-tex-list-holidays):
11442 Make it an obsolete alias for holiday-in-range. Update all callers.
11443
11444 2012-05-05 Chong Yidong <cyd@gnu.org>
11445
11446 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11447 Nextstep.
11448
11449 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11450
11451 * files.el (file-auto-mode-skip): New var.
11452 (set-auto-mode-1): Use it.
11453
11454 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11455
11456 * repeat.el: Use lexical-binding.
11457 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11458 (repeat-undo-count): Remove.
11459 (repeat):
11460 * progmodes/octave-mod.el (octave-abbrev-start):
11461 * progmodes/f90.el (f90-abbrev-start):
11462 * face-remap.el (text-scale-adjust):
11463 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11464
11465 * emacs-lisp/pcase.el (pcase--let*): New function.
11466 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11467 a bit more.
11468 (pcase--split-pred): Be more clever about ruling out overlap between
11469 a predicate and some constant pattern.
11470 (pcase--q1): Use `null' instead of (eq foo nil).
11471
11472 * subr.el (setq-local, defvar-local): New macros.
11473 (kbd): Redefine as an alias.
11474 (with-selected-window): Leave unrelated frames alone.
11475 (set-temporary-overlay-map): New function.
11476
11477 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11478
11479 * subr.el (user-error): New function.
11480 * window.el (switch-to-buffer):
11481 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11482 (smerge-match-conflict):
11483 * simple.el (previous-matching-history-element)
11484 (next-matching-history-element, goto-history-element, undo-more)
11485 (undo-start):
11486 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11487 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11488 (next-file, tags-loop-scan, list-tags, complete-tag):
11489 * progmodes/compile.el (compilation-loop):
11490 * mouse.el (mouse-minibuffer-check):
11491 * man.el (Man-bgproc-sentinel, Man-goto-page):
11492 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11493 (Info-history-forward, Info-follow-reference, Info-menu)
11494 (Info-extract-menu-item, Info-extract-menu-counting)
11495 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11496 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11497 (Info-next-reference, Info-prev-reference, Info-index)
11498 (Info-index-next, Info-follow-nearest-node)
11499 (Info-copy-current-node-name):
11500 * imenu.el (imenu--make-index-alist)
11501 (imenu-default-create-index-function, imenu-add-to-menubar):
11502 * files.el (basic-save-buffer, recover-file):
11503 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11504 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11505 (checkdoc-message-text, checkdoc-defun):
11506 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11507 * cus-edit.el (customize-changed-options, customize-rogue)
11508 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11509 (custom-variable-mark-to-reset-standard)
11510 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11511 (custom-file):
11512 * completion.el (check-completion-length):
11513 * comint.el (comint-search-arg)
11514 (comint-previous-matching-input-string-position)
11515 (comint-previous-matching-input)
11516 (comint-replace-by-expanded-history-before-point, comint-send-input)
11517 (comint-copy-old-input, comint-backward-matching-input)
11518 (comint-goto-process-mark, comint-set-process-mark):
11519 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11520 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11521
11522 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * dabbrev.el (dabbrev--ignore-case-p): New function.
11525 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11526 Use it.
11527
11528 * files.el (automount-dir-prefix): Mark as obsolete.
11529
11530 2012-05-04 Glenn Morris <rgm@gnu.org>
11531
11532 * patcomp.el, play/bruce.el: Move to obsolete/.
11533
11534 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11535
11536 Fix minor Y10k bugs.
11537 * arc-mode.el (archive-unixdate):
11538 * autoinsert.el (auto-insert-alist):
11539 * calc/calc-forms.el (math-this-year):
11540 * emacs-lisp/copyright.el (copyright-current-year)
11541 (copyright-update-year, copyright):
11542 * tar-mode.el (tar-clip-time-string):
11543 * time.el (display-time-update):
11544 Don't assume years have 4 digits.
11545
11546 2012-05-04 Chong Yidong <cyd@gnu.org>
11547
11548 * dos-w32.el (file-name-buffer-file-type-alist)
11549 (direct-print-region-use-command-dot-com):
11550 * ffap.el (ffap-menu-regexp):
11551 * find-file.el (ff-special-constructs):
11552 * follow.el (follow-debug):
11553 * forms.el (forms--debug):
11554 * iswitchb.el (iswitchb-all-frames):
11555 * ido.el (ido-all-frames):
11556 * emacs-lisp/timer.el (timer-max-repeats):
11557 * mail/feedmail.el (feedmail-mail-send-hook)
11558 (feedmail-mail-send-hook-queued):
11559 * mail/footnote.el (footnote-signature-separator):
11560 * mail/mailabbrev.el (mail-alias-separator-string)
11561 (mail-abbrev-mode-regexp):
11562 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11563 * progmodes/idlwave.el (idlwave-libinfo-file)
11564 (idlwave-default-completion-case-is-down)
11565 (idlwave-library-routines): Convert defvars to defcustoms.
11566
11567 * mail/rmail.el (rmail-decode-mime-charset):
11568 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11569 (idlwave-shell-fix-inserted-breaks)
11570 (idlwave-shell-activate-alt-keybindings)
11571 (idlwave-shell-use-breakpoint-glyph):
11572 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11573
11574 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11575
11576 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11577
11578 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11579
11580 * progmodes/verilog-mode.el (font-lock-keywords):
11581 Fix mis-highligting auto. Reported by Craig Barner.
11582 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11583 defines from global name space. Reported by Dan Dever.
11584 (verilog-auto-reset, verilog-auto-reset-widths)
11585 (verilog-auto-tieoff): Support using unbased numbers for
11586 AUTORESET and AUTOTIEOFF.
11587 (verilog-submit-bug-report): Update variable list.
11588 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11589 parenthesis from not matching. Reported by Michael Rytting.
11590 (verilog-auto-template-lint): Fix hash error when linting modules
11591 with no used templates.
11592 (verilog-warn, verilog-warn-error)
11593 (verilog-warn-fatal): When non-interactive report multiple
11594 warnings before exiting. Suggested by Brad Dobbie.
11595 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11596 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11597 to report unused template errors. Reported by Brad Dobbie.
11598 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11599 nets, bug438. Reported by Vns Blore.
11600 (verilog-auto-inout-module, verilog-auto-reg)
11601 (verilog-read-decls, verilog-read-sub-decls-sig)
11602 (verilog-signals-edit-wire-reg, verilog-signals-with):
11603 Fix passing of Verilog data types in ANSI input/output ports
11604 such as "output logic" into the AUTOs. Special case "wire" and
11605 "reg" for backwards compatibility presuming Verilog 2001.
11606 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11607 (verilog-preprocess): Fix replication of preprocess output.
11608 Reported by Brad Dobbie.
11609 (verilog-auto-inst-interfaced-ports):
11610 Create verilog-auto-inst-interfaced-ports, bug429.
11611 Reported by Julian Gorfajn.
11612 (verilog-after-save-font-hook)
11613 (verilog-before-save-font-hook): New variable.
11614 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11615 (verilog-save-font-mods): Wrap disabling fontification, reported
11616 by David Rogoff.
11617 (verilog-do-indent, verilog-pretty-declarations-auto)
11618 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11619 Reported by Pierre-David Pfister.
11620 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11621 of class declarations, bug292. Reported by Kevin Heilman.
11622 (verilog-read-decls): Fix 'parameter type' not appearing in
11623 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11624 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11625 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11626 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11627 Reported by David Kravitz.
11628
11629 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11630
11631 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11632 assignment with tests in ifs and for loops.
11633 (verilog-extended-complete-re, verilog-complete-reg): Change so
11634 that DPI inport functions don't look like fuction declarations.
11635 (verilog-pretty-expr): Don't line up assignment
11636 operations to the test and increment in if and for loops
11637 (verilog-extended-complete-re, verilog-complete-reg): Change so
11638 that DPI inport functions don't look like fuction declarations.
11639
11640 2012-05-03 Kenichi Handa <handa@m17n.org>
11641
11642 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11643 decoding, and show a warning message without signaling an error
11644 (Bug#11282).
11645
11646 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11647
11648 * emacs-lisp/bytecomp.el
11649 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11650 since cconv.el might have introduced :fun-body, internal-make-closure,
11651 and friends for bytecomp to handle (bug#11391).
11652 * custom.el (defcustom): Avoid ((λ ..) ..).
11653
11654 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11655
11656 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11657
11658 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11659
11660 * notifications.el (dbus-debug):
11661 * term/linux.el (gpm-mouse-enable):
11662 * term/screen.el (xterm-register-default-colors): Declare.
11663
11664 2012-05-02 Chong Yidong <cyd@gnu.org>
11665
11666 * cus-start.el (gc-cons-percentage, exec-suffixes)
11667 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11668 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11669 (make-cursor-line-fully-visible, void-text-area-pointer)
11670 (font-list-limit): Add customization data.
11671
11672 * allout.el (allout-exposure-change-functions)
11673 (allout-structure-added-functions)
11674 (allout-structure-deleted-functions)
11675 (allout-structure-shifted-functions): Rename abnormal hooks from
11676 *-hook, and convert to defcustoms.
11677 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11678 Convert to defcustoms.
11679 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11680
11681 * allout-widgets.el: Hook callers changed.
11682
11683 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11684
11685 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11686 the yanked message in preference to the default value of
11687 buffer-file-coding-system.
11688
11689 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11690
11691 * window.el (display-buffer--action-function-custom-type):
11692 Fix entry.
11693
11694 2012-05-02 Alan Mackenzie <acm@muc.de>
11695
11696 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11697
11698 2012-05-01 Glenn Morris <rgm@gnu.org>
11699
11700 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11701
11702 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11703
11704 * cus-edit.el (custom-variable-documentation): Simplify with format.
11705
11706 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11707 Stefan Monnier <monnier@iro.umontreal.ca>
11708
11709 * simple.el (suggest-key-bindings, execute-extended-command):
11710 Move from keyboard.c.
11711
11712 2012-05-01 Chong Yidong <cyd@gnu.org>
11713
11714 * follow.el: Eliminate advice.
11715 (set-process-filter, process-filter, sit-for): Advice deleted.
11716 (follow-mode-off-hook): Obsolete hook removed.
11717 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11718 Vars deleted.
11719 (follow-auto): Use a :set function.
11720 (follow-mode): Rewritten. Don't advise process filters.
11721 (follow-switch-to-current-buffer-all, follow-scroll-up)
11722 (follow-scroll-down): Assume follow-mode is bound.
11723 (follow-comint-scroll-to-bottom)
11724 (follow-align-compilation-windows): New functions.
11725 (follow--window-sorter): New function.
11726 (follow-all-followers): Use it to explicitly sort windows by their
11727 positions; don't make assumptions about next-window order.
11728 (follow-windows-start-end, follow-delete-other-windows-and-split)
11729 (follow-calc-win-start): Doc fix.
11730 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11731 vertical-motion unnecessarily.
11732 (follow-adjust-window): New function.
11733 (follow-post-command-hook): Use it.
11734 (follow-call-set-process-filter, follow-call-process-filter)
11735 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11736 (follow-stop-intercept-process-output, follow-generic-filter):
11737 Functions deleted.
11738 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11739 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11740 New functions, replacing advice on scroll-bar-* commands.
11741 (follow-mwheel-scroll): New function (Bug#4112).
11742
11743 * comint.el (comint-adjust-point): New function.
11744 (comint-postoutput-scroll-to-bottom): Use it.
11745 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11746
11747 2012-05-01 Glenn Morris <rgm@gnu.org>
11748
11749 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11750 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11751 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11752 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11753 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11754 Remove no-byte-compile setting.
11755
11756 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11757
11758 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11759 all-completions code to not return a number in the last cdr.
11760
11761 2012-04-30 Leo Liu <sdl.web@gmail.com>
11762
11763 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11764 read-only error.
11765
11766 2012-04-29 Chong Yidong <cyd@gnu.org>
11767
11768 * follow.el (follow-calc-win-end): Rewrite to handle partial
11769 screen lines correctly (Bug#8390).
11770 (follow-avoid-tail-recenter): Minor cleanup.
11771
11772 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11773
11774 Avoid the obsolete `assoc' package.
11775 * speedbar.el (speedbar-refresh): Avoid adelete.
11776 (speedbar-file-lists): Simplify and avoid aput.
11777 * man.el (Man--sections, Man--refpages): New vars, replacing
11778 Man-sections-alist and Man-refpages-alist.
11779 (Man-build-section-alist, Man-build-references-alist):
11780 Use them; avoid aput.
11781 (Man--last-section, Man--last-refpage): New vars.
11782 (Man-follow-manual-reference): Use them.
11783 Use the `default' arg of completing-read.
11784 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11785
11786 2012-04-27 Chong Yidong <cyd@gnu.org>
11787
11788 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11789
11790 * startup.el (x-apply-session-resources): New function.
11791
11792 * term/ns-win.el (ns-initialize-window-system):
11793 * term/w32-win.el (w32-initialize-window-system):
11794 * term/x-win.el (x-initialize-window-system): Use it to properly
11795 set menu-bar-mode and other vars from X resources, even if the
11796 initial frame is not a window-system frame (Bug#2299).
11797
11798 * subr.el (read-key): Avoid running filter function when setting
11799 up temporary tool bar entries (Bug#9922).
11800
11801 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11802
11803 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11804 (Bug#11344)
11805
11806 2012-04-27 Chong Yidong <cyd@gnu.org>
11807
11808 * select.el (xselect--encode-string): New function, split from
11809 xselect-convert-to-string.
11810 (xselect-convert-to-string): Use it.
11811 (xselect-convert-to-filename, xselect-convert-to-os)
11812 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11813 returned strings are properly encoded (Bug#11315).
11814
11815 2012-04-27 Chong Yidong <cyd@gnu.org>
11816
11817 * simple.el (delete-active-region): Move to killing custom group.
11818
11819 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11820
11821 * progmodes/which-func.el (which-func-current): Quote %
11822 characters for mode-line processing.
11823
11824 2012-04-27 Chong Yidong <cyd@gnu.org>
11825
11826 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11827 reaching eob (Bug#11286).
11828
11829 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11830
11831 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11832 (gdb): Make it buffer-local and init to zero.
11833 (gdb-control-commands-regexp): New variable.
11834 (gdb-send): Don't wrap in "-interpreter-exec console" if
11835 gdb-control-level is positive. Increment gdb-control-level
11836 whenever the command matches gdb-control-commands-regexp, and
11837 decrement it each time the command is "end". (Bug#11279)
11838
11839 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11840
11841 * window.el (adjust-window-trailing-edge, enlarge-window)
11842 (shrink-window, window-resize):
11843 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11844 windows (Bug#11276).
11845
11846 2012-04-27 Chong Yidong <cyd@gnu.org>
11847
11848 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11849 fix "missing prefix" warning. All callers changed.
11850
11851 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11852
11853 * emacs-lisp/assoc.el: Move to obsolete/.
11854
11855 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11856
11857 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11858
11859 * term/ns-win.el (ns-define-service):
11860 * progmodes/pascal.el (pascal-goto-defun):
11861 * progmodes/js.el (js--read-tab):
11862 * progmodes/etags.el (tags-lazy-completion-table):
11863 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11864 * emacs-lisp/ewoc.el (ewoc--wrap):
11865 * emacs-lisp/assoc.el (aput, adelete, amake):
11866 * doc-view.el (doc-view-convert-current-doc):
11867 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11868
11869 2012-04-26 Chong Yidong <cyd@gnu.org>
11870
11871 * image.el (image-type-from-buffer): Only return supported image
11872 type (Bug#9045).
11873
11874 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11875 value, for symmetry with diff-end-of-hunk.
11876 (diff-split-hunk, diff-find-source-location)
11877 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11878 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11879 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11880 compute the relevant hunk or file properly (Bug#6005).
11881 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11882
11883 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11884
11885 * vc/vc-mtn.el:
11886 * vc/vc-hg.el:
11887 * vc/vc-git.el:
11888 * vc/vc-dir.el:
11889 * vc/vc-cvs.el:
11890 * vc/vc-bzr.el:
11891 * vc/vc-arch.el:
11892 * vc/vc.el: Replace lexical-let by lexical-binding.
11893 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11894 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11895 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11896
11897 2012-04-26 Chong Yidong <cyd@gnu.org>
11898
11899 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11900 (diff-mode-shared-map): Bind it to / and [remap undo].
11901
11902 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11903 (ediff-window-setup-function): Use it as the default, to set up
11904 windows based on whether the current frame is graphical (Bug#2138).
11905 (ediff-choose-window-setup-function-automatically): Make obsolete.
11906
11907 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11908
11909 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11910
11911 * ffap.el: Remove old code for obsolete package.
11912 (ffap-complete-as-file-p): Remove.
11913
11914 Use completion-table-with-quoting for comint and pcomplete.
11915 * comint.el (comint--unquote&requote-argument)
11916 (comint--unquote-argument, comint--requote-argument): New functions.
11917 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11918 (comint-quote-filename): Use regexp-opt-charset.
11919 (comint--common-suffix, comint--common-quoted-suffix)
11920 (comint--table-subvert): Remove.
11921 (comint-unquote-function, comint-requote-function): New vars.
11922 (comint--complete-file-name-data): Use them with
11923 completion-table-with-quoting.
11924 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11925 * pcomplete.el (pcomplete-arg-quote-list)
11926 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11927 (pcomplete-unquote-argument-function): Default to non-nil.
11928 (pcomplete-unquote-argument): Simplify.
11929 (pcomplete--common-quoted-suffix): Remove.
11930 (pcomplete-requote-argument-function): New var.
11931 (pcomplete--common-suffix): New function.
11932 (pcomplete-completions-at-point): Use completion-table-with-quoting
11933 and completion-table-subvert.
11934
11935 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11936 (minibuffer--double-dollars): Preserve properties.
11937 (completion--sifn-requote): New function.
11938 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11939
11940 * minibuffer.el: Add support for completion of quoted/escaped data.
11941 (completion-table-with-quoting, completion-table-subvert): New funs.
11942 (completion--twq-try, completion--twq-all): New functions.
11943 (completion--nth-completion): New function.
11944 (completion-try-completion, completion-all-completions): Use it.
11945
11946 2012-04-25 Leo Liu <sdl.web@gmail.com>
11947
11948 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11949 Use compilation-message if available to find real filename.
11950
11951 2012-04-25 Chong Yidong <cyd@gnu.org>
11952
11953 * vc/diff-mode.el (diff-setup-whitespace): New function.
11954 (diff-mode): Use it.
11955
11956 * vc/diff.el (diff-sentinel):
11957 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11958 Whitespace mode variables based on diff style (Bug#8612).
11959
11960 2012-04-25 Leo Liu <sdl.web@gmail.com>
11961
11962 * progmodes/python.el (python-send-region): Add suffix .py to the
11963 temp file.
11964
11965 * files.el (auto-mode-alist): Use javascript-mode instead.
11966
11967 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11968
11969 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11970
11971 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11972 (soap-resolve-references-for-array-type): Hack to prevent self
11973 references, see Bug#9.
11974 (soap-parse-envelope): Report the contents of the 'detail' node
11975 when receiving a fault reply.
11976 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11977
11978 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11979 (soap-inspect-simple-type): New function.
11980
11981 * net/soap-client.el (soap-simple-type): New struct.
11982 (soap-default-xsd-types, soap-default-soapenc-types)
11983 (soap-decode-basic-type, soap-encode-basic-type):
11984 support unsignedInt and double basic types.
11985 (soap-resolve-references-for-simple-type)
11986 (soap-parse-simple-type, soap-encode-simple-type): New function.
11987 (soap-parse-schema): Parse xsd:simpleType declarations.
11988
11989 * net/soap-client.el (soap-default-xsd-types)
11990 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11991 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11992 the local name of "soapenc:Array".
11993 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11994 decoding integer, byte and anyURI xsd types.
11995
11996 2012-04-25 Chong Yidong <cyd@gnu.org>
11997
11998 * cus-edit.el (custom-buffer-create-internal): Update header text.
11999
12000 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12001
12002 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12003 settings on 'system-type', not on 'window-system'. On MS-Windows,
12004 set interactive-mode on in GDB.
12005
12006 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12007
12008 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12009 (ruby-syntax-propertize-regexp): Remove.
12010 (ruby-syntax-propertize-function): Split regexp into chunks.
12011 Match following code directly.
12012
12013 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12014
12015 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12016 (ruby-syntax-propertize-regexp): New function.
12017 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12018 by a special keyword.
12019
12020 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12021 (ruby-syntax-general-delimiters-goto-beg)
12022 (ruby-syntax-propertize-general-delimiters): New functions.
12023 (ruby-syntax-propertize-function): Use them to handle GDL.
12024 (ruby-font-lock-keywords): Move old handling of GDL...
12025 (ruby-font-lock-syntactic-keywords): .. to here.
12026 (ruby-calculate-indent): Adjust indentation for GDL.
12027
12028 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12029
12030 * notifications.el (top): Remove unneeded declarations.
12031 (notifications-specification-version): Change to "1.2".
12032 (notifications-interface, notifications-notify-method)
12033 (notifications-close-notification-method): Fix docstring.
12034 (notifications-get-capabilities-method): New defconst.
12035 (notifications-notify): Add :action-items, :resident and
12036 :transient hints. Change "image_data" to "image-data" and
12037 "image_path" to "image-path".
12038 (notifications-get-capabilities): New defun.
12039
12040 2012-04-24 Leo Liu <sdl.web@gmail.com>
12041
12042 * progmodes/python.el: Move hideshow setup to the end.
12043
12044 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12045
12046 * window.el (handle-select-window): Clear echo area since this is
12047 no more done by read_char (Bug#11304).
12048
12049 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12050
12051 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12052 and `/ M' to filter-derived-mode.
12053 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12054 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12055 (ibuffer-mark-by-mode): Use default rather than initial-input.
12056 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12057
12058 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12059
12060 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12061 (ibuffer-filter-by-derived-mode): New filter.
12062 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12063
12064 2012-04-23 Andreas Politz <politza@fh-trier.de>
12065
12066 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12067
12068 2012-04-23 Chong Yidong <cyd@gnu.org>
12069
12070 * cus-edit.el (customize-apropos, customize-apropos-options):
12071 Disable matching of non-option variables (Bug#11176).
12072 (customize-option, customize-option-other-window)
12073 (customize-changed-options): Doc fix.
12074 (customize-apropos-options, customize-apropos-faces)
12075 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12076
12077 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12078 Fix word list splitting (Bug#11132).
12079 (apropos-symbol, apropos-keybinding, apropos-label)
12080 (apropos-property, apropos-function-button)
12081 (apropos-variable-button, apropos-misc-button): New faces.
12082 (apropos-symbol-face, apropos-keybinding-face)
12083 (apropos-label-face, apropos-property-face, apropos-match-face):
12084 Variables removed (Bug#8396).
12085 (apropos-library-button, apropos-format-plist, apropos-print)
12086 (apropos-print-doc, apropos-describe-plist): Callers changed.
12087
12088 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12089
12090 * net/xesam.el (xesam-mode-map): Use let-bound map in
12091 initialization. (Bug#11292)
12092
12093 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12094
12095 Preserve ispell session localwords when switching back to
12096 original buffer.
12097
12098 * textmodes/ispell.el (ispell-buffer-session-localwords):
12099 New buffer-local variable to hold buffer session localwords.
12100 (ispell-kill-ispell): Add option 'clear to delete session
12101 localwords.
12102 (ispell-command-loop, ispell-change-dictionary)
12103 (ispell-buffer-local-words): Preserve session localwords when
12104 needed.
12105
12106 * textmodes/flyspell.el (flyspell-process-localwords)
12107 (flyspell-do-correct): Preserve session localwords when needed.
12108
12109 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12110
12111 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12112 using obsolete `translation-table-for-input'.
12113 (ispell-word, ispell-process-line, ispell-complete-word):
12114 Use plain `insert' instead of removed `ispell-insert-word'.
12115
12116 2012-04-22 Chong Yidong <cyd@gnu.org>
12117
12118 * cus-edit.el (custom-variable-menu)
12119 (custom-variable-reset-saved, custom-face-menu)
12120 (custom-face-reset-saved): If there is no saved value, make the
12121 "reset-saved" operation bring back the default (Bug#9509).
12122 (custom-face-state): Properly detect themed faces.
12123
12124 * faces.el (face-spec-set): Stop supporting deprecated form of
12125 third arg.
12126
12127 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12128
12129 Move functions from C to Lisp. Make non-blocking method calls
12130 the default. Implement further D-Bus standard interfaces.
12131
12132 * net/dbus.el (dbus-message-internal): Declare function.
12133 Remove unneeded function declarations.
12134 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12135 (dbus-message-type-method-return, dbus-message-type-error)
12136 (dbus-message-type-signal): Declare variables. Remove local
12137 definitions.
12138 (dbus-interface-dbus, dbus-interface-peer)
12139 (dbus-interface-introspectable, dbus-interface-properties)
12140 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12141 Adapt docstring.
12142 (dbus-interface-objectmanager): New defconst.
12143 (dbus-call-method, dbus-call-method-asynchronously)
12144 (dbus-send-signal, dbus-method-return-internal)
12145 (dbus-method-error-internal, dbus-register-service)
12146 (dbus-register-signal, dbus-register-method): New defuns, moved
12147 from dbusbind.c
12148 (dbus-call-method-handler, dbus-setenv)
12149 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12150 New defuns.
12151 (dbus-call-method-non-blocking): Make it an obsolete function.
12152 (dbus-unregister-object, dbus-unregister-service)
12153 (dbus-handle-event, dbus-register-property)
12154 (dbus-property-handler): Obey the new structure of
12155 `bus-registered-objects'.
12156 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12157 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12158 Use `dbus-call-method'.
12159
12160 2012-04-22 Chong Yidong <cyd@gnu.org>
12161
12162 * cus-edit.el (custom-commands, custom-reset-menu)
12163 (Custom-reset-standard): Tweak labels.
12164 (custom-reset-button-menu): Change default to t.
12165 (custom-buffer-create-internal): For the custom-reset-button-menu
12166 case, put the revert button first.
12167 (custom-group-subtitle): New face.
12168 (custom-group-value-create): Align docstring to a specific column.
12169
12170 * wid-edit.el (widget-documentation-link-add): Don't handle
12171 indentation in this function.
12172 (widget-documentation-string-indent-to): New function.
12173 (widget-documentation-string-value-create): Use it.
12174
12175 * autorevert.el (auto-revert):
12176 * epg-config.el (epg):
12177 * ibuffer.el (ibuffer):
12178 * mpc.el (mpc):
12179 * ses.el (ses):
12180 * eshell/eshell.el (eshell):
12181 * net/ange-ftp.el (ange-ftp):
12182 * progmodes/ebnf2ps.el (postscript):
12183 * progmodes/flymake.el (flymake):
12184 * progmodes/prolog.el (prolog):
12185 * progmodes/verilog-mode.el (verilog-mode):
12186 * progmodes/which-func.el (which-func):
12187 * term/xterm.el (xterm):
12188 * textmodes/picture.el (picture):
12189 * textmodes/tildify.el (tildify):
12190 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12191 customization buffers.
12192
12193 2012-04-22 Alan Mackenzie <acm@muc.de>
12194
12195 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12196 Adding a ) can hide the resulting (..) from searches. Fix it.
12197 Bound the backward search to the position of the existing (.
12198
12199 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12200
12201 * progmodes/verilog-mode.el (verilog-mode): Check whether
12202 which-func-modes is t before adding verilog-mode.
12203 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12204
12205 2012-04-21 Leo Liu <sdl.web@gmail.com>
12206
12207 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12208
12209 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12210
12211 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12212 filling of the last column of a table (Bug#5635).
12213 (woman-find-next-control-line): New arg, specifying an additional
12214 regexp component for the control line.
12215 (woman2-roff-buffer): Use it.
12216 (woman-break-table): New function.
12217 (woman2-TS): Use it.
12218
12219 2012-04-21 Chong Yidong <cyd@gnu.org>
12220
12221 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12222 (woman-horizontal-escapes, woman-negative-vertical-space)
12223 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12224 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12225
12226 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12227
12228 * minibuffer.el (completion-file-name-table): Complete user names.
12229
12230 2012-04-20 Leo Liu <sdl.web@gmail.com>
12231
12232 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12233 and pcase-let*.
12234
12235 2012-04-20 Chong Yidong <cyd@gnu.org>
12236
12237 * server.el (server-execute): Respect initial-buffer-choice if it
12238 is a string and there are no files to open (Bug#2825).
12239 (server-create-window-system-frame, server-create-tty-frame):
12240 Don't switch buffers here.
12241 (server-process-filter): Only try to open a window system frame if
12242 compiled with graphical support (Bug#8314).
12243
12244 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12245
12246 * battery.el (battery-echo-area-format): Display remaining time
12247 for sysfs backend too (Bug#11269).
12248 (battery-linux-sysfs): Fix conditional for the charge.
12249
12250 2012-04-20 Chong Yidong <cyd@gnu.org>
12251
12252 * progmodes/gdb-mi.el (gdb): Revert previous change.
12253 (gdb-inferior-io--init-proc): New function.
12254 (gdb-init-1): Use it.
12255 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12256 responsible for allocating a new pty and hooking it to gdb when
12257 the old pty gets an EIO due to process exit.
12258 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12259 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12260 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12261
12262 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12263
12264 * window.el (window-min-size, window-sizable, window-min-delta)
12265 (window-max-delta, window--resizable, window-resizable)
12266 (window-total-size, window-full-height-p, window-full-width-p)
12267 (window-in-direction, window--resize-mini-window, window-resize)
12268 (window--resize-child-windows-normal)
12269 (window--resize-child-windows, window--resize-siblings)
12270 (window--resize-this-window, adjust-window-trailing-edge)
12271 (enlarge-window, shrink-window): Doc fixes.
12272
12273 2012-04-20 Chong Yidong <cyd@gnu.org>
12274
12275 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12276 New function to call delete-process on the gdb-inferior buffer's pty.
12277 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12278 pty process (Bug#11273).
12279 (gdb-update): New arg to suppress talking to the gdb process.
12280 (gdb-done-or-error): Use it.
12281 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12282 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12283 sentinel not being called.
12284
12285 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12286
12287 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12288
12289 2012-04-20 Glenn Morris <rgm@gnu.org>
12290
12291 * net/network-stream.el (open-network-stream): Doc fix.
12292
12293 2012-04-20 Chong Yidong <cyd@gnu.org>
12294
12295 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12296
12297 2012-04-20 Alan Mackenzie <acm@muc.de>
12298
12299 Ensure searching for keywords is case sensitive.
12300
12301 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12302 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12303 (c-defun-name, c-mark-function, c-cpp-define-name)
12304 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12305 (c-context-line-break): Bind case-fold-search to nil.
12306
12307 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12308 Bind case-fold-search to nil.
12309
12310 2012-04-20 Chong Yidong <cyd@gnu.org>
12311
12312 * mail/sendmail.el (mail-bury): Call return action with the right
12313 Rmail buffer (Bug#11242).
12314
12315 * server.el (server-process-filter): Handle corner case where both
12316 tty and nowait options are present (Bug#11102).
12317
12318 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12319
12320 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12321 (top level): Put into the executable the ident-style '$Id:' tag on
12322 windows-nt as well.
12323
12324 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12325
12326 * electric.el (electric-indent-post-self-insert-function): Check that
12327 electric-indent-mode is enabled in current buffer.
12328
12329 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12330
12331 * imenu.el (imenu-progress-message): Restore; it is "used" in
12332 erc/erc-imenu.el and net/snmp-mode.el.
12333
12334 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12335
12336 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12337 (mouse-avoidance-nudge-mouse): Remove unused binding.
12338
12339 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12340
12341 * descr-text.el (describe-char):
12342 * progmodes/python.el (python-describe-symbol):
12343 Don't call `toggle-read-only', set `buffer-read-only'.
12344
12345 * imenu.el (imenu-default-goto-function): Mark unused args.
12346 (imenu-progress-message): Remove obsolete macro; all callers changed.
12347
12348 * subr.el (keymap-canonicalize): Remove unused binding.
12349 (read-passwd): Mark unused arg.
12350
12351 * tutorial.el (tutorial--display-changes): Remove unused binding.
12352 (tutorial--save-tutorial-to): Remove unused variable.
12353
12354 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12355 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12356 (package-generate-autoloads, package-menu--generate)
12357 (package-menu--find-upgrades): Remove unused bindings.
12358
12359 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12360 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12361 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12362 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12363 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12364 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12365 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12366 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12367 (cua-delete-char-rectangle): Mark unused args.
12368 (cua-align-rectangle): Remove unused binding.
12369
12370 * mail/rmail.el (compilation--message->loc)
12371 (epa--find-coding-system-for-mime-charset): Declare.
12372
12373 * net/dbus.el (dbus-register-service): Declare.
12374 (dbus-name-owner-changed-handler): Remove unused binding.
12375
12376 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12377 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12378 (nxml-scan-backward-within): Mark unused arg.
12379 (nxml-dynamic-markup-word): Remove unused binding.
12380
12381 * mouse.el (mouse-menu-major-mode-map):
12382 * emacs-lisp/authors.el (authors-scan-change-log)
12383 (authors-add-to-author-list):
12384 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12385 * emacs-lisp/smie.el (smie-auto-fill):
12386 * mail/sendmail.el (mail-bury):
12387 * mail/unrmail.el (unrmail):
12388 * net/tls.el (open-tls-stream):
12389 * textmodes/picture.el (picture-mouse-set-point):
12390 Remove unused bindings.
12391
12392 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12393
12394 * net/tramp.el (tramp-action-password): Let-bind
12395 `enable-recursive-minibuffers' to t.
12396
12397 2012-04-18 Sam Steingold <sds@gnu.org>
12398
12399 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12400 instead of 'string to accommodate values like [f11].
12401 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12402 * progmodes/gdb-mi.el: Likewise.
12403
12404 2012-04-18 Leo Liu <sdl.web@gmail.com>
12405
12406 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12407 current buffer.
12408 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12409 LOCAL is nil.
12410
12411 2012-04-18 Chong Yidong <cyd@gnu.org>
12412
12413 * simple.el (line-move): Use forward-line if in batch mode
12414 (Bug#11053).
12415
12416 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12417
12418 * files.el (after-find-file): Do not try to add a final newline if
12419 the buffer is read-only (Bug#11156).
12420
12421 2012-04-17 Richard Stallman <rms@gnu.org>
12422
12423 * mail/rmail.el (rmail-start-mail):
12424 Pass (rmail-mail-return...) for the return-action.
12425 Pass (rmail-yank-current-message...) for the yank-action.
12426 (rmail-yank-current-message): New function.
12427 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12428 (rmail-reply): Likewise.
12429 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12430
12431 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12432 buffer, not the last. Reject temp buffers. Use the rmail-mode
12433 buffer, not newbuf.
12434
12435 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12436
12437 * server.el (server-ensure-safe-dir): Simplify.
12438
12439 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12440
12441 * emacs-lisp/smie.el: Provide smarter auto-filling.
12442 (smie-auto-fill): New function.
12443 (smie-setup): Use it.
12444
12445 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12446
12447 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12448
12449 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12450 (comment-indent): Use it.
12451
12452 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12453
12454 * ses.el: The overall change is to add cell renaming, that is
12455 setting fancy names for cell symbols other than name matching
12456 "\\`[A-Z]+[0-9]+\\'" regexp .
12457 (ses-localvars): Add ses--renamed-cell-symb-list.
12458 (ses-create-cell-variable): New defun.
12459 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12460 (ses-relocate-formula): Relocate formulas only for cells the
12461 symbols of which are not renamed, i.e. symbols whose names do not
12462 match regexp "\\`[A-Z]+[0-9]+\\'".
12463 (ses-relocate-all): Relocate values only for cells the symbols of
12464 which are not renamed.
12465 (ses-load): Create cells variables as the (ses-cell ...) are read,
12466 in order to check row col consistency with cell symbol name only
12467 for cells that are not renamed.
12468 (ses-replace-name-in-formula): New defun.
12469 (ses-rename-cell): New defun.
12470
12471 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12472
12473 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12474 New option (bug#11118).
12475 (perl-calculate-indent): Respect it.
12476
12477 2012-04-17 Glenn Morris <rgm@gnu.org>
12478
12479 * dired-aux.el (dired-mark-read-string): Doc fix.
12480
12481 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12482
12483 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12484 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12485
12486 2012-04-17 Glenn Morris <rgm@gnu.org>
12487
12488 * mouse.el (mouse-drag-track):
12489 * speedbar.el (speedbar-frame-mode):
12490 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12491
12492 2012-04-16 Leo Liu <sdl.web@gmail.com>
12493
12494 * progmodes/python.el: Trivial cleanup.
12495
12496 2012-04-16 Glenn Morris <rgm@gnu.org>
12497
12498 * vc/vc.el (vc-string-prefix-p):
12499 * vc/pcvs-util.el (cvs-string-prefix-p):
12500 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12501 * mpc.el (mpc-string-prefix-p):
12502 Make all of these into obsolete aliases for string-prefix-p.
12503 Update callers.
12504 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12505
12506 * textmodes/two-column.el: Move custom options to the start.
12507 (frame-width): Remove compat definition.
12508 (2C-associate-buffer, 2C-dissociate):
12509 Use with-current-buffer rather than save-excursion.
12510 (2C-dissociate): Force a mode-line update.
12511 (2C-autoscroll): Use ignore-errors.
12512
12513 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12514 Autoload trivia.
12515
12516 * emacs-lisp/cl-extra.el (*random-state*):
12517 Remove unnecessary declaration.
12518
12519 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12520
12521 * play/cookie1.el (cookie-snarf):
12522 Give an explicit error if input file cannot be read.
12523
12524 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12525
12526 * progmodes/perl-mode.el (c-macro-expand):
12527 Remove unnecessary autoload (it is in loaddefs.el).
12528
12529 * textmodes/picture.el (picture-desired-column)
12530 (picture-update-desired-column): Convert comments to doc-strings.
12531 (picture-substitute): Remove function.
12532 (picture-mode-map): Initialize in the defvar.
12533
12534 * woman.el: Remove eval-after-load for tar-mode.
12535 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12536 (woman-tar-extract-file): Autoload it.
12537
12538 * frame.el (automatic-hscrolling): Make this alias obsolete.
12539
12540 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12541
12542 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12543 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12544 (ispell-dictionary-base-alist): Revert to original XEmacs
12545 friendly version for default. [:alpha:] will be added in
12546 `ispell-set-spellchecker-params' if needed.
12547
12548 2012-04-16 Chong Yidong <cyd@gnu.org>
12549
12550 * image.el (imagemagick--file-regexp): New variable.
12551 (imagemagick-register-types): Use it.
12552 (imagemagick-types-inhibit): Add :set function. Allow new value
12553 of t to inhibit all types.
12554
12555 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12556 so we can preload it.
12557
12558 * loadup.el (fboundp): Preload regexp-opt, needed by
12559 imagemagick-register-types.
12560
12561 2012-04-15 Chong Yidong <cyd@gnu.org>
12562
12563 * frame.el (scrolling): Remove nearly unused customization group.
12564
12565 * scroll-all.el (scroll-all-mode): Move to windows group.
12566
12567 2012-04-15 Chong Yidong <cyd@gnu.org>
12568
12569 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12570
12571 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12572
12573 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12574 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12575
12576 2012-04-15 Glenn Morris <rgm@gnu.org>
12577
12578 * simple.el (process-file-side-effects): Doc fix.
12579
12580 2012-04-15 Glenn Morris <rgm@gnu.org>
12581
12582 * international/mule-cmds.el (set-language-environment): Doc fix.
12583
12584 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12585
12586 * server.el (server-auth-key, server-generate-key): Doc fixes.
12587 (server-get-auth-key): Doc fix. Use `string-match-p'.
12588 (server-start): Reflow docstring.
12589
12590 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12591
12592 * server.el (server-generate-key): `called-interactively-p'
12593 requires a parameter.
12594
12595 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12596
12597 * server.el (server-auth-key): New variable.
12598 (server-generate-key, server-get-auth-key): New function.
12599 (server-start): Use the new variable and functions to allow
12600 setting a permanent server key (bug#9423).
12601
12602 2012-04-14 Leo Liu <sdl.web@gmail.com>
12603
12604 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12605
12606 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12607
12608 Spelling fixes.
12609 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12610 Emacs uses American spelling.
12611
12612 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12613
12614 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12615 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12616 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12617 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12618
12619 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12620
12621 * progmodes/which-func.el (which-func-modes): Change default.
12622
12623 2012-04-14 Kim F. Storm <storm@cua.dk>
12624
12625 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12626 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12627
12628 2012-04-14 Chong Yidong <cyd@gnu.org>
12629
12630 * custom.el (custom-theme-set-variables): Doc fix.
12631
12632 2012-04-14 Glenn Morris <rgm@gnu.org>
12633
12634 * international/mule.el (set-auto-coding-for-load): Doc fix.
12635
12636 2012-04-14 Alan Mackenzie <acm@muc.de>
12637
12638 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12639 imenu work again for Objective C Mode. Correct the *-index values,
12640 these having been disturbed by a previous change in 2011-08.
12641
12642 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12643 Correct two search limits.
12644
12645 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12646
12647 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12648
12649 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12650
12651 * international/characters.el: Fix sorting.
12652
12653 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12654
12655 * international/characters.el: Add more missing Latin case pairs.
12656
12657 2012-04-14 Glenn Morris <rgm@gnu.org>
12658
12659 * files.el (dir-locals-set-class-variables): Doc fix.
12660
12661 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12662
12663 * international/characters.el: Add set-case-syntax-pair call for
12664 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12665 counterpart. (Bug#11209)
12666
12667 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12668
12669 2012-04-14 Glenn Morris <rgm@gnu.org>
12670
12671 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12672
12673 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12674
12675 * textmodes/ispell.el (ispell-dictionary-base-alist):
12676 Add data for Hebrew.
12677
12678 2012-04-14 Chong Yidong <cyd@gnu.org>
12679
12680 * net/rcirc.el (rcirc-cmd-quit):
12681 Revert 2012-03-18 change (Bug#11192).
12682
12683 2012-04-14 Glenn Morris <rgm@gnu.org>
12684
12685 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12686
12687 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12688
12689 * minibuffer.el (completion-in-region-mode-map):
12690 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12691
12692 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12693
12694 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12695
12696 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12697
12698 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12699 to allow `C-M-f' and `C-M-b' to move to the nearest path
12700 separator (bug#9511).
12701
12702 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12703
12704 * avoid.el: Require cl when compiling. And also move the
12705 `provide' to the end.
12706
12707 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12708
12709 * avoid.el (mouse-avoidance-banish-position): New variable.
12710 (mouse-avoidance-banish-destination): Use it (bug#10165).
12711
12712 2012-04-13 Leo Liu <sdl.web@gmail.com>
12713
12714 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12715
12716 2012-04-13 Ken Brown <kbrown@cornell.edu>
12717
12718 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12719 this is no longer needed now that cygstart understands file:// URLs.
12720 (browse-url-filename-alist): For the same reason, don't modify
12721 file:// URLs on Cygwin.
12722
12723 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12724
12725 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12726 the region on shift if the binding is already shifted (bug#11221).
12727
12728 2012-04-12 Glenn Morris <rgm@gnu.org>
12729
12730 * mail/mailpost.el: Move to obsolete/.
12731
12732 2012-04-12 Drew Adams <drew.adams@oracle.com>
12733
12734 * imenu.el (imenu--generic-function): Ignore invisible definitions
12735 (bug#10123).
12736
12737 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12738
12739 * hexl.el (hexl-bits): New variable.
12740 (hexl-options): Mention the variable in the doc string.
12741 (hexl-rulerise, hexl-line-displen): New functions.
12742 (hexl-mode): Mention the new variable.
12743 (hexl-mode, hexl-current-address, hexl-current-address):
12744 Use the displen.
12745 (hexl-ascii-start-column): New function.
12746 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12747 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12748
12749 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12750
12751 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12752 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12753 the encoding, as expected by hunspell.
12754
12755 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12756
12757 * battery.el (battery--linux-sysfs-regexp): New const.
12758 (battery-status-function): Use it. Remove yeeloong special case.
12759 (battery-yeeloong-sysfs): Remove.
12760 (battery-echo-area-format): Remove yeeloong special case.
12761
12762 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12763
12764 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12765 Reported by Noah Friedman.
12766
12767 * subr.el (read-passwd): Use read-string.
12768
12769 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12770
12771 * vcursor.el (vcursor-move): Increase the priority of the overlay
12772 (bug#9663).
12773
12774 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12775
12776 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12777 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12778
12779 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12780
12781 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12782 define-minor-mode (bug#10760).
12783
12784 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12785
12786 * progmodes/grep.el (rgrep): Tweak the find command line so
12787 that directories matching `grep-find-ignored-files' won't be
12788 pruned (bug#10351).
12789
12790 2012-04-11 Chong Yidong <cyd@gnu.org>
12791
12792 * startup.el (command-line): Remove support for long-obsolete
12793 variable font-lock-face-attributes.
12794
12795 2012-04-11 Glenn Morris <rgm@gnu.org>
12796
12797 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12798
12799 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12800
12801 * window.el (window--state-get-1): Obey window-point-insertion-type.
12802
12803 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12804
12805 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12806 to previous function when point is on the first character of a
12807 function. Take care of that in `narrow-to-defun' (bug#6157).
12808
12809 2012-04-11 Glenn Morris <rgm@gnu.org>
12810
12811 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12812 not just file-errors.
12813
12814 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12815 (vc-bzr-sha1): Use internal sha1.
12816
12817 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12818
12819 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12820
12821 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12822
12823 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12824 that start in the middle of the line (bug#10496).
12825
12826 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12827
12828 * battery.el (battery-linux-proc-acpi): Only one battery is
12829 discharged at a time, but that seems to confuse battery.el when
12830 computing `rate-type' for the battery not being discharged
12831 (bug#10332).
12832
12833 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12834
12835 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12836
12837 * international/quail.el: Use dolist and simplify.
12838 (quail-define-package, quail-update-keyboard-layout)
12839 (quail-define-rules): Use dolist.
12840 (quail-insert-kbd-layout, quail-get-translation): CSE.
12841
12842 * tmm.el: Use dolist, remove left over hook.
12843 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12844 Use dolist.
12845 (calendar-load-hook): Don't mess with it.
12846
12847 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12848 Use derived-mode-p. Run the diff asynchronously.
12849
12850 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12851
12852 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12853
12854 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12855
12856 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12857 (list-dynamic-libraries--loaded): New function.
12858 (list-dynamic-libraries--refresh): Use it.
12859
12860 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12861
12862 * progmodes/python.el (python-fill-paragraph):
12863 Make python-fill-region in a multiline string work when font-lock is
12864 disabled (bug#7018).
12865
12866 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12867
12868 * language/european.el (cp775): Add oem/legacy (en)coding on
12869 DOS/MS Windows for the Baltic languages. There are still plenty
12870 of texts written in this encoding/codepage (bug#6519).
12871
12872 2012-04-10 Glenn Morris <rgm@gnu.org>
12873
12874 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12875 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12876
12877 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12878
12879 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12880 next-line "n" and previous-line "p" in order to make recentf more
12881 consistent with ibuffer, dired or org-mode (bug#9387).
12882
12883 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12884
12885 * image.el (put-image): Return the overlay created instead of the
12886 optional input string (bug#7834). Note that this may break code
12887 that is (for some reason or other) depending on `put-image'
12888 returning the string.
12889
12890 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12891
12892 * simple.el (zap-to-char): Allow zapping using input methods
12893 (bug#1580).
12894
12895 * textmodes/fill.el (fill-region): Leave point and mark where they
12896 were before filling (bug#5399).
12897
12898 2012-04-09 Glenn Morris <rgm@gnu.org>
12899
12900 * version.el (emacs-bzr-get-version):
12901 Handle lightweight checkouts of local branches.
12902
12903 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12904
12905 * international/characters.el: Recover lost case pairs. (Bug#11209)
12906
12907 2012-04-09 Chong Yidong <cyd@gnu.org>
12908
12909 * custom.el (custom-variable-p): Return nil for non-symbol
12910 arguments instead of signaling an error.
12911 (user-variable-p): Obsolete alias for custom-variable-p.
12912
12913 * apropos.el (apropos-variable):
12914 * files-x.el (read-file-local-variable):
12915 * simple.el (set-variable):
12916 * woman.el (woman-mini-help):
12917 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12918
12919 2012-04-09 Glenn Morris <rgm@gnu.org>
12920
12921 * startup.el (normal-top-level): Don't look for leim-list.el
12922 in places where it will not be found. (Bug#910)
12923
12924 * international/mule-cmds.el (set-default-coding-systems):
12925 * files.el (normal-mode):
12926 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12927 This function was removed with ucs-tables.el in 2008.
12928
12929 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12930
12931 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12932 ispell-encoding8-command to "-i", without a trailing space.
12933 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12934 separate command-line arguments, to specify the encoding, since
12935 that's how hunspell expects it.
12936
12937 2012-04-08 Glenn Morris <rgm@gnu.org>
12938
12939 * loadup.el: Load bindings before cus-start.
12940 This reduces somewhat the number of "rogue" settings in emacs -Q.
12941
12942 2012-04-07 Glenn Morris <rgm@gnu.org>
12943
12944 * version.el (emacs-bzr-get-version): New function.
12945 (emacs-bzr-version): New variable.
12946 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12947 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12948
12949 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12950
12951 * international/uni-bidi.el, international/uni-category.el:
12952 * international/uni-combining.el, international/uni-decimal.el:
12953 * international/uni-decomposition.el, international/uni-digit.el:
12954 * international/uni-lowercase.el, international/uni-mirrored.el:
12955 * international/uni-name.el, international/uni-numeric.el:
12956 * international/uni-titlecase.el, international/uni-uppercase.el:
12957 Update for Unicode 6.1.
12958
12959 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12960
12961 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12962
12963 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12964
12965 * window.el (shrink-window): Mention the `window-min-height'
12966 variable in the doc string.
12967
12968 2012-04-05 Bastien Guerry <bzg@altern.org>
12969
12970 * color.el (color-lighten-name): Fix typo.
12971
12972 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12973
12974 * server.el (server--on-display-p): New function.
12975 (server--on-display-p): Use it.
12976
12977 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12978
12979 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12980 (bug#11145).
12981
12982 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12983
12984 * comint.el (comint--common-quoted-suffix): Check string boundary
12985 before comparing (bug#11158).
12986 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12987
12988 2012-04-04 Chong Yidong <cyd@gnu.org>
12989
12990 * minibuffer.el (completion-extra-properties): Doc fix.
12991
12992 * subr.el (delayed-warnings-hook): Doc fix.
12993
12994 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12995
12996 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12997 selection (Bug#11159).
12998 (epa-insert-keys): Inform that the default public key will be
12999 exported if no key is selected.
13000
13001 2012-04-04 Richard Stallman <rms@gnu.org>
13002
13003 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13004
13005 2012-04-03 Chong Yidong <cyd@gnu.org>
13006
13007 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13008 mail-insert-file, not its obsolete alias mail-attach-file.
13009
13010 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13011
13012 * notifications.el (notifications-notify): Fix docstring.
13013
13014 2012-04-02 Glenn Morris <rgm@gnu.org>
13015
13016 * emacs-lisp/authors.el (authors-aliases): Another addition.
13017
13018 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13019
13020 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13021 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13022 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13023
13024 2012-04-01 Chong Yidong <cyd@gnu.org>
13025
13026 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13027 Handle root directory properly.
13028 (copy-directory): Caller changed.
13029
13030 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13031 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13032
13033 2012-03-31 Glenn Morris <rgm@gnu.org>
13034
13035 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13036
13037 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13038
13039 * calendar/calendar.el (calendar-window-list)
13040 (calendar-hide-window): Restore. (Bug#11140)
13041 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13042
13043 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13044
13045 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13046
13047 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13048 Check if file is a symlink (Bug#10489).
13049
13050 * files.el (copy-directory): Likewise.
13051
13052 2012-03-30 Chong Yidong <cyd@gnu.org>
13053
13054 * image.el (imagemagick-types-inhibit)
13055 (imagemagick-register-types): Doc fix.
13056
13057 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13058
13059 * textmodes/ispell.el (ispell-get-extended-character-mode):
13060 Disable extended-char-mode for hunspell. hunspell does not support it
13061 and treats ~word as ordinary words in pipe mode.
13062
13063 2012-03-30 Glenn Morris <rgm@gnu.org>
13064
13065 * tutorial.el (help-with-tutorial): Ensure local variables don't
13066 happen to make the buffer read-only. (Bug#11127)
13067
13068 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13069
13070 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13071 (perl-calculate-indent): Return `noindent' in strings.
13072
13073 2012-03-28 Sam Steingold <sds@gnu.org>
13074
13075 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13076 instead of the broken adhockery which does not prevent calendar
13077 buffers from being displayed at random after exit.
13078 (calendar-window-list, calendar-hide-window): Remove the broken
13079 adhockery.
13080
13081 2012-03-28 Glenn Morris <rgm@gnu.org>
13082
13083 * replace.el (query-replace-map): Doc fix.
13084
13085 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13086
13087 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13088 contents. (Bug#11109)
13089
13090 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13091
13092 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13093 (bug#11077).
13094 (avl-tree--check, avl-tree--check-node): New funs.
13095
13096 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13097
13098 * window.el (switch-to-visible-buffer): New option.
13099 (switch-to-prev-buffer, switch-to-next-buffer):
13100 Observe switch-to-visible-buffer. Make sure that checking for a window
13101 showing a buffer already is done on the same frame.
13102
13103 2012-03-27 Glenn Morris <rgm@gnu.org>
13104
13105 * startup.el (mail-host-address): Doc fix.
13106
13107 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13108
13109 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13110 than 197 variables.
13111
13112 2012-03-26 Ami Fischman <ami@fischman.org>
13113
13114 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13115
13116 2012-03-26 Glenn Morris <rgm@gnu.org>
13117
13118 * files.el (save-buffers-kill-emacs): Doc fix.
13119
13120 * startup.el (normal-top-level, command-line, command-line-1):
13121 Give them doc strings.
13122
13123 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13124
13125 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13126 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13127
13128 2012-03-25 Chong Yidong <cyd@gnu.org>
13129
13130 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13131 theme if it was previously enabled before (Bug#11031).
13132
13133 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13134 spec with custom-face-get-current-spec if its :shown-value is not
13135 determined yet (Bug#9337).
13136 (customize-create-theme, custom-theme-revert): Doc fixes.
13137
13138 * button.el (button-at): Minor addition to docstring.
13139
13140 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13141
13142 * vc/vc.el (vc-merge): Fix a prompt.
13143
13144 2012-03-24 Chong Yidong <cyd@gnu.org>
13145
13146 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13147 point (Bug#9623).
13148
13149 * button.el (button-at): Minor addition to docstring.
13150
13151 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13152
13153 * newcomment.el (comment-choose-indent): No space after BOL.
13154
13155 2012-03-22 Sam Steingold <sds@gnu.org>
13156
13157 * window.el (switch-to-prev-buffer): Revert last patch because the
13158 bug turned out to be an advertised feature (Elisp manual 28.14).
13159
13160 2012-03-22 Glenn Morris <rgm@gnu.org>
13161
13162 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13163 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13164
13165 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13166
13167 * net/network-stream.el (network-stream-open-starttls): Make error
13168 message under Windows be less misleading.
13169
13170 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13171
13172 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13173 understands (bug#9942).
13174
13175 2012-03-22 Chong Yidong <cyd@gnu.org>
13176
13177 * simple.el (end-of-visible-line): Handle return value of
13178 next-single-property-change properly (Bug#9371).
13179
13180 2012-03-22 Kenichi Handa <handa@m17n.org>
13181
13182 * international/quail.el (quail-insert-kbd-layout): Fix previous
13183 change. To avoid unwanted bidi reordering, use
13184 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13185
13186 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13187
13188 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13189 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13190 (ruby-beginning-of-indent): Be more careful with the difference
13191 between word-boundary and symbol boundary.
13192 (ruby-mode-syntax-table): Make : a symbol constituent.
13193
13194 2012-03-21 Andreas Politz <politza@fh-trier.de>
13195
13196 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13197
13198 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13199
13200 * progmodes/etags.el (tags-completion-at-point-function):
13201 Improve last fix.
13202
13203 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13204
13205 2012-03-21 Sam Steingold <sds@gnu.org>
13206
13207 * progmodes/etags.el (tags-completion-at-point-function):
13208 Avoid the error when point is inside the pattern.
13209
13210 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13211
13212 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13213 line (Bug#10855).
13214
13215 2012-03-21 Drew Adams <drew.adams@oracle.com>
13216
13217 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13218
13219 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13220
13221 * ido.el (ido-set-current-directory, ido-read-internal)
13222 (ido-choose-completion-string, ido-completion-help): Handle nil
13223 value of ido-completion-buffer (Bug#11008).
13224
13225 2012-03-21 Sam Steingold <sds@gnu.org>
13226
13227 * window.el (switch-to-prev-buffer): Do not switch to a visible
13228 window previous buffer, just like with the frame previous buffers.
13229
13230 2012-03-21 Chong Yidong <cyd@gnu.org>
13231
13232 * faces.el (make-face, make-empty-face, copy-face):
13233 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13234 Doc fixes.
13235
13236 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13237
13238 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13239 (widget-complete): Remove broken use of it.
13240
13241 2012-03-20 Chong Yidong <cyd@gnu.org>
13242
13243 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13244 Use string-width and truncate-string-width to handle arbitrary
13245 characters.
13246
13247 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13248
13249 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13250 to draw rectangles, not squares. (Regression introduced by revno
13251 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13252
13253 2012-03-18 Chong Yidong <cyd@gnu.org>
13254
13255 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13256 it is not yet defined (for temacs).
13257
13258 2012-03-18 Leo Liu <sdl.web@gmail.com>
13259
13260 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13261 prefix.
13262
13263 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13264
13265 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13266 (ispell-choices-win-default-height, ispell-silently-savep)
13267 (ispell-dictionary-alist, ispell-encoding8-command)
13268 (ispell-check-version, ispell-aspell-find-dictionary)
13269 (ispell-valid-dictionary-list, ispell-words-keyword)
13270 (ispell-get-word, ispell-internal-change-dictionary)
13271 (ispell-region, ispell-skip-region-list)
13272 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13273 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13274 (ispell-message-text-end, ispell-message)
13275 (ispell-buffer-local-parsing): Doc fix.
13276
13277 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13278
13279 * htmlfontify.el: Add support for code block fontification for ODT
13280 export (Bug #9914).
13281 (hfy-optimisations): Define new option
13282 `body-text-only'
13283 (hfy-fontify-buffer): Honor above setting.
13284 (hfy-begin-span, hfy-end-span): New routines factored out form
13285 `hfy-fontify-buffer'.
13286 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13287 that permit insertion of custom tags.
13288 (hfy-fontify-buffer): Use above handlers.
13289 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13290 (hfy-face-to-css): Re-defined to be a variable.
13291 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13292 over multiple runs. This is made possible by having the caller let
13293 bind a special variable `hfy-user-sheet-assoc'.
13294 (htmlfontify-string): New defun.
13295 (hfy-compile-face-map): Make sure that the last char in the
13296 buffer is correctly fontified.
13297 (hfy-face-resolve-face): Whitespace only change.
13298
13299 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13300
13301 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13302 message more clear.
13303
13304 2012-03-16 Leo Liu <sdl.web@gmail.com>
13305
13306 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13307
13308 2012-03-16 Alan Mackenzie <acm@muc.de>
13309
13310 Further optimize the handling of large macros.
13311
13312 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13313 limit to a call of `c-literal-limits'.
13314 (c-determine-+ve-limit): New function.
13315 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13316 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13317 In CASE 5B, restrict a search limit to 500.
13318 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13319
13320 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13321 Restrict macro bounds to +-500 from after-change's BEG END.
13322
13323 2012-03-16 Leo Liu <sdl.web@gmail.com>
13324
13325 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13326
13327 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13328
13329 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13330 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13331
13332 2012-03-16 Glenn Morris <rgm@gnu.org>
13333
13334 * view.el (view-buffer, view-buffer-other-window)
13335 (view-buffer-other-frame): Doc fixes re special mode-class.
13336
13337 * subr.el (eval-after-load): If named feature is provided not from
13338 a file, run after-load forms. (Bug#10946)
13339
13340 * calendar/calendar.el (calendar-insert-at-column):
13341 Handle non-unit-width characters a bit better. (Bug#10978)
13342
13343 2012-03-15 Chong Yidong <cyd@gnu.org>
13344
13345 * emacs-lisp/ring.el (ring-extend): New function.
13346 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13347
13348 * comint.el (comint-read-input-ring)
13349 (comint-add-to-input-history): Grow comint-input-ring lazily.
13350
13351 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13352
13353 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13354 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13355
13356 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13357 (imenu-add-to-menubar): Don't add a redundant index.
13358 (imenu-update-menubar): Handle a dynamically composed keymap.
13359
13360 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13361
13362 * mail/sendmail.el (mail-encode-header):
13363 Bind rfc2047-encode-encoded-words to nil.
13364
13365 2012-03-13 Glenn Morris <rgm@gnu.org>
13366
13367 * calendar/calendar.el (calendar-string-spread):
13368 Handle non-unit-width characters a bit better. (Bug#10978)
13369
13370 2012-03-13 Leo Liu <sdl.web@gmail.com>
13371
13372 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13373 directory and file as argument (Bug#10822).
13374
13375 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13376
13377 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13378 For dynamically generated code, follow $PC.
13379 (gdb-disassembly-handler-custom): Handle no function name case.
13380
13381 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13382
13383 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13384 * emulation/ws-mode.el (ws-query-replace):
13385 * sort.el (sort-regexp-fields):
13386 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13387
13388 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13389
13390 * dabbrev.el: Fix cycle completion order (bug#10963).
13391 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13392 (dabbrev-completion): Don't use an obarray; provide
13393 a cycle-sort-function.
13394
13395 2012-03-12 Leo Liu <sdl.web@gmail.com>
13396
13397 * simple.el (kill-new): Use equal-including-properties for comparison.
13398 (kill-do-not-save-duplicates): Doc fix.
13399
13400 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13401
13402 * dabbrev.el: Fix cycle completion (bug#10963).
13403 Use lexical binding and wrap to 80 columns.
13404 (dabbrev-completion): Delay computing the list of completions.
13405
13406 2012-03-12 Kenichi Handa <handa@m17n.org>
13407
13408 * international/quail.el (quail-insert-kbd-layout): Surround each
13409 row by LRO and PDF instead of inserting many LRMs. Pad the left
13410 and right of each non-spacing marks. Insert invisible space
13411 between lower and upper characters to prevent composition.
13412
13413 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13414
13415 * minibuffer.el (minibuffer-complete): Don't get confused when the
13416 function is run twice via different commands (bug#10958).
13417 (complete-with-action): Fix docstring.
13418
13419 2012-03-12 Chong Yidong <cyd@gnu.org>
13420
13421 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13422 (nxml-completion-at-point-function): New function.
13423 (nxml-mode): Use it.
13424 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13425
13426 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13427 Load generated autoloads file before byte compiling (Bug#10970).
13428 (package--make-autoloads-and-compile): New helper fun.
13429
13430 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13431
13432 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13433
13434 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13435
13436 * autorevert.el (auto-revert-handler): Ensure, that
13437 file-readable-p is applied only for local files or in
13438 auto-revert-tail-mode.
13439
13440 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13441
13442 * server.el (server-eval-at): Handle non-tcp connections.
13443 Decode result string.
13444
13445 * server.el (server-msg-size): New constant.
13446 (server-reply-print): New function.
13447 (server-eval-and-print): Use it.
13448 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13449 Handle -print-nonl.
13450
13451 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13452
13453 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13454 (Bug#10987).
13455
13456 2012-03-11 Chong Yidong <cyd@gnu.org>
13457
13458 * simple.el (goto-line): Doc fix (Bug#9938).
13459
13460 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13461
13462 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13463 when finished (Bug#10963).
13464
13465 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13466
13467 * window.el (split-window-below): Fix bug in case where
13468 split-window-keep-point is nil (Bug#10971).
13469
13470 2012-03-11 Juri Linkov <juri@jurta.org>
13471
13472 * replace.el (replace-highlight): Set isearch-word to nil
13473 unconditionally. (Bug#10887)
13474
13475 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13476
13477 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13478 mairix-replace-illegal-chars; all callers changed. Don't remove
13479 ^, ~, and = characters: they are meaningful in mairix search specs.
13480 (mairix-widget-create-query): Add usage information about mairix
13481 search forms: negating words, searching for substrings, etc.
13482
13483 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13484
13485 * international/fontset.el (font-encoding-alist): Add an entry for
13486 ksx1001 (Bug#5667).
13487
13488 2012-03-10 Richard Stallman <rms@gnu.org>
13489
13490 * mail/sendmail.el (mail-encode-header):
13491 Set rfc2047-encode-encoded-words.
13492
13493 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13494
13495 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13496 view buffer means not swapped.
13497 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13498 (rmail-write-region-annotate): Error if real text has disappeared.
13499
13500 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13501
13502 2012-03-10 Chong Yidong <cyd@gnu.org>
13503
13504 * emulation/cua-rect.el (cua--init-rectangles):
13505 * emulation/cua-base.el (cua--init-keymaps):
13506 Add delete-forward-char to remappings (Bug#9666).
13507
13508 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13509
13510 * speedbar.el (speedbar-unhighlight-one-tag-line):
13511 Avoid unhighlighting due to frame switching (Bug#10275).
13512
13513 2012-03-10 Chong Yidong <cyd@gnu.org>
13514
13515 * minibuffer.el (completion-in-region, completion-help-at-point):
13516 Give the completion field overlay a high priority (Bug#6830).
13517
13518 * dired.el (dired-goto-file): Recognize absolute file name
13519 listings (Bug#7126).
13520 (dired-goto-file-1): New helper function.
13521 (dired-toggle-read-only): Inhibit warnings.
13522
13523 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13524
13525 * net/dbus.el (dbus-property-handler): Return empty array if
13526 there are no properties.
13527
13528 2012-03-09 Leo Liu <sdl.web@gmail.com>
13529
13530 * savehist.el (savehist-printable): Stricter check for string
13531 value (Bug#10937).
13532
13533 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13534
13535 * mail/smtpmail.el (smtpmail-send-it):
13536 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13537 valid mbox format.
13538
13539 2012-03-09 Glenn Morris <rgm@gnu.org>
13540
13541 * files.el (dir-locals-find-file):
13542 Don't check result is regular, readable.
13543 (dir-locals-read-from-file): Demote errors.
13544
13545 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13546
13547 * international/quail.el (quail-insert-kbd-layout):
13548 Insert invisible LRM characters before each character in a keyboard
13549 layout cell, to prevent their reordering by bidi display engine.
13550 For details, see the discussion in
13551 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13552
13553 2012-03-08 Alan Mackenzie <acm@muc.de>
13554
13555 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13556 the starting position; make it extend the marked region when
13557 invoked repeatedly - all under appropriate circumstances.
13558 Fixes bugs #5525, #10906.
13559
13560 2012-03-08 Glenn Morris <rgm@gnu.org>
13561
13562 * files.el (locate-dominating-file, dir-locals-find-file):
13563 Undo 2012-03-06 change.
13564
13565 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13566
13567 * international/quail.el (quail-help):
13568 Force bidi-paragraph-direction be left-to-right. See discussion in
13569 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13570 for the reason.
13571
13572 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13573
13574 Avoid superfluous registering of signals. (Bug#10807)
13575
13576 * notifications.el (notifications-on-action-object)
13577 (notifications-on-close-object): New defvars.
13578 (notifications-on-action-signal, notifications-on-closed-signal):
13579 Unregister the signal if not needed any longer.
13580 (notifications-notify): Register `notifications-action-signal' or
13581 `notifications-closed-signal', if :on-action or :on-close has been
13582 passed as argument.
13583
13584 2012-03-07 Chong Yidong <cyd@gnu.org>
13585
13586 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13587 non-X platforms.
13588
13589 2012-03-06 Glenn Morris <rgm@gnu.org>
13590
13591 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13592 (x-disown-selection-internal, x-get-selection-internal):
13593 Doc fix (add arglist signatures). (Bug#10783)
13594
13595 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13596
13597 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13598 Handle breakpoints with no "type".
13599
13600 2012-03-06 Glenn Morris <rgm@gnu.org>
13601
13602 * files.el (locate-dominating-file): Add optional predicate argument.
13603 (dir-locals-find-file): Make use of above change.
13604
13605 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13606
13607 * info.el (Info-insert-dir): Also try "dir.gz".
13608
13609 2012-03-06 Glenn Morris <rgm@gnu.org>
13610
13611 * files.el (dir-locals-find-file):
13612 Ignore non-readable or non-regular files. (Bug#10928)
13613
13614 * files.el (locate-dominating-file): Doc fix.
13615
13616 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13617
13618 * calendar/calendar.el (calendar-set-mode-line):
13619 `getenv' returns a string. (Bug#10951)
13620
13621 2012-03-05 Leo Liu <sdl.web@gmail.com>
13622
13623 * simple.el (backward-delete-char-untabify): Constrain point to
13624 field (Bug#10939).
13625
13626 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13627
13628 2012-03-05 Chong Yidong <cyd@gnu.org>
13629
13630 * simple.el (count-words): If called from Lisp, return the word
13631 count, for symmetry with `count-lines'. Arglist changed.
13632 (count-words--message): Args changed. Consolidate counting code
13633 from count-words and count-words-region.
13634 (count-words-region): Caller changed.
13635 (count-lines-region): Make it an obsolete alias.
13636
13637 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13638
13639 * saveplace.el (save-place-to-alist)
13640 (save-place-ignore-files-regexp): Allow value nil to disable this
13641 feature.
13642
13643 2012-03-04 Chong Yidong <cyd@gnu.org>
13644
13645 * faces.el (face-spec-reset-face): For the default face, reset the
13646 attributes to default values (Bug#10748).
13647
13648 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13649
13650 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13651 previous patch: Check `message-send-mail-function', and not the
13652 default function (bug#10897).
13653
13654 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13655
13656 * notifications.el (notifications-on-action-signal)
13657 (notifications-on-closed-signal): Check for unique service name of
13658 incoming event. Fix error in removing entry.
13659 (top): Register for signals with wildcard service name.
13660 (notifications-notify): Use daemon unique service name for map entries.
13661
13662 2012-03-04 Chong Yidong <cyd@gnu.org>
13663
13664 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13665
13666 2012-03-04 Glenn Morris <rgm@gnu.org>
13667
13668 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13669 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13670 (expand-abbrev, define-abbrev-table): Doc fixes.
13671
13672 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13673
13674 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13675 `message-default-send-mail-function' and not `send-mail-function'
13676 when doing the prompting for `sendmail-query-once' before sending
13677 in Message buffers (bug#10897).
13678
13679 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13680 This is inconsistent with all the other stream functions, which leave
13681 the setting up to the higher levels (if so wanted) (bug#10931).
13682
13683 2012-03-02 Alan Mackenzie <acm@muc.de>
13684
13685 Depessimize the handling of very large macros.
13686
13687 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13688 (c-macro-cache-syntactic): New variables to implement a one
13689 element macro cache.
13690 (c-invalidate-macro-cache): New function.
13691 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13692 Adapt to use the new cache.
13693 (c-state-safe-place): Use better the cache of safe positions.
13694 (c-state-semi-nonlit-pos-cache)
13695 (c-state-semi-nonlit-pos-cache-limit):
13696 New variables for...
13697 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13698 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13699 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13700 Use c-state-semi-safe-place.
13701
13702 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13703 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13704
13705 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13706
13707 * jka-compr.el (jka-compr-call-process):
13708 Apply `file-accessible-directory-p' only when the default directory is
13709 not remote.
13710
13711 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13712
13713 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13714 access of FILE2, if FILE1 does not exist.
13715
13716 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13717 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13718
13719 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13720 Add "PAGER=" to `process-environment'.
13721
13722 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13723
13724 * progmodes/sql.el: Bug fix
13725 (sql-get-login-ext): Save login values in globals.
13726 (sql-get-login): Use new version of `sql-get-login-ext'.
13727 (sql-interactive-mode): Set global `sql-connection' to nil.
13728 (sql-connect): Set global values for connection.
13729 (sql-product-interactive): Save global values as buffer local.
13730
13731 2012-02-29 Leo Liu <sdl.web@gmail.com>
13732
13733 * abbrev.el (define-abbrevs): Reset sys to nil.
13734
13735 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13736
13737 * files.el (file-equal-p): Rename from `files-equal-p'.
13738 Return nil when one or both files don't exist.
13739 (file-subdir-of-p): Now only top directory must exists,
13740 return nil if it doesn't.
13741 (copy-directory): No need to test with `file-subdir-of-p' after
13742 creating dir.
13743 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13744 to `file-equal-p'.
13745
13746 2012-02-28 Glenn Morris <rgm@gnu.org>
13747
13748 * shell.el (shell-mode):
13749 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13750 * play/landmark.el (landmark-font-lock-face-O):
13751 * play/handwrite.el (handwrite):
13752 * play/gomoku.el (gomoku-O):
13753 * net/browse-url.el (browse-url-browser-display):
13754 * international/mule.el (define-charset):
13755 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13756 * filesets.el (filesets-find-file-delay):
13757 * eshell/em-xtra.el (eshell-xtra):
13758 * eshell/em-unix.el (eshell-grep):
13759 * emulation/viper.el (viper-mode):
13760 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13761 * emacs-lisp/easymenu.el (easy-menu-define):
13762 * calendar/timeclock.el (timeclock-use-display-time):
13763 * bs.el (bs-mode):
13764 * bookmark.el (bookmark-save-flag):
13765 Doc fix (standardize possessive apostrophe usage).
13766
13767 2012-02-27 Chong Yidong <cyd@gnu.org>
13768
13769 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13770 Fix key-binding lookup for ESC key (Bug#9146).
13771
13772 * font-lock.el (font-lock-specified-p): Rename from
13773 font-lock-spec-present. Callers changed.
13774
13775 2012-02-27 Daniel Hackney <dan@haxney.org>
13776
13777 * emacs-lisp/package.el (package-compute-transaction):
13778 Handle holding a package version to t in package-load-list.
13779
13780 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13781
13782 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13783 (tramp-get-inode, tramp-get-device): Use cached values.
13784
13785 2012-02-26 Alan Mackenzie <acm@muc.de>
13786
13787 Check there is a font-lock specification before doing initial
13788 fontification.
13789
13790 * font-core.el (font-lock-mode): Move the conditional from
13791 :after-hook to font-lock-initial-fontify.
13792 (font-lock-default-function): Move the check for a specification
13793 to font-lock-spec-present.
13794
13795 * font-lock.el (font-lock-initial-fontify): Call ...
13796 (font-lock-spec-present): New function.
13797
13798 2012-02-26 Jim Blandy <jimb@red-bean.com>
13799
13800 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13801 (gdb-send): Apply it to the operand of the '-interpreter-exec
13802 console' command, so that we can pass arguments with (say) quotes
13803 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13804
13805 2012-02-26 Chong Yidong <cyd@gnu.org>
13806
13807 * help-fns.el (describe-function-1): Clarify description of
13808 remapping (Bug#10844).
13809
13810 * files.el (files-equal-p): Doc fix.
13811 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13812 and quit the loop once a mismatch is found.
13813
13814 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13815
13816 * bs.el (bs--show-with-configuration): Don't throw an error
13817 if the window cannot be split; otherwise, subsequent calls to
13818 bs-show fail, restoring a stale window config. (Bug#10882)
13819
13820 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13821
13822 * term/ns-win.el (global-map): Bind ns-drag-file to
13823 ns-find-file (Bug#5855, Bug#10050).
13824
13825 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13826
13827 * calendar/parse-time.el (parse-time-string): Allow extractor to
13828 return nil.
13829
13830 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13831
13832 * net/tramp.el (tramp-file-name-for-operation):
13833 Add `files-equal-p' and `file-subdir-of-p'.
13834
13835 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13836 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13837 Add COPY-CONTENTS argument.
13838
13839 2012-02-25 Chong Yidong <cyd@gnu.org>
13840
13841 Add custom groups for VC backends, for consistency with vc-bzr.
13842
13843 * vc/vc-arch.el (vc-arch):
13844 * vc/vc-cvs.el (vc-cvs):
13845 * vc/vc-git.el (vc-git):
13846 * vc/vc-hg.el (vc-hg):
13847 * vc/vc-mtn.el (vc-mtn):
13848 * vc/vc-rcs.el (vc-rcs):
13849 * vc/vc-sccs.el (vc-sccs):
13850 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13851 All relevant defcustoms reassigned.
13852
13853 2012-02-25 Chong Yidong <cyd@gnu.org>
13854
13855 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13856
13857 * term/x-win.el (x-initialize-window-system): Reduce default for
13858 x-selection-timeout to 5 seconds (Bug#8869).
13859
13860 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13861
13862 * files.el (files-equal-p, file-subdir-of-p): New functions.
13863 (copy-directory): Error when trying to copy a directory on itself.
13864 Add missing copy-contents arg to tramp handler.
13865 * dired-aux.el (dired-copy-file-recursive): Same.
13866 (dired-create-files): Modify destination when source is equal to
13867 dest when copying files.
13868 Return also when dest is a subdir of source. (Bug#10489)
13869
13870 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13871
13872 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13873 (Bug#10874)
13874
13875 2012-02-23 Alan Mackenzie <acm@muc.de>
13876
13877 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13878 parameter "after-hook:" to allow the expansion to run code after
13879 the execution of the mode hooks.
13880
13881 * font-lock.el (font-lock-initial-fontify): New function extracted
13882 from font-lock-mode-internal.
13883
13884 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13885 :after-hook.
13886
13887 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13888
13889 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13890 (completion--cache-all-sorted-completions): New function.
13891 (completion-all-sorted-completions): Use it.
13892 (completion--do-completion, minibuffer-force-complete):
13893 Use it to re-instate the flush hook.
13894
13895 * icomplete.el (icomplete-completions): Replace last fix with a better
13896 one (bug#10850).
13897
13898 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13899
13900 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13901 when it might call us back infinitely (bug#10797).
13902
13903 2012-02-23 Glenn Morris <rgm@gnu.org>
13904
13905 * minibuffer.el (completion-category-overrides): Doc fix.
13906
13907 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13908
13909 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13910 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13911
13912 2012-02-23 Glenn Morris <rgm@gnu.org>
13913
13914 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13915 (authors-obsolete-files-regexps, authors-ignored-files)
13916 (authors-ambiguous-files, authors-renamed-files-alist):
13917 Add more entries.
13918
13919 2012-02-23 Juri Linkov <juri@jurta.org>
13920
13921 * isearch.el (isearch-occur): Sync interactive spec with occur's
13922 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13923
13924 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13925
13926 2012-02-22 Juri Linkov <juri@jurta.org>
13927
13928 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13929 (ucs-insert): Doc fix. Check for hex digits in the string.
13930 Don't display `nil' in the error message. (Bug#10857)
13931
13932 2012-02-22 Alan Mackenzie <acm@muc.de>
13933
13934 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13935
13936 2012-02-22 Glenn Morris <rgm@gnu.org>
13937
13938 * ffap.el (ffap-c-path):
13939 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13940
13941 2012-02-22 Chong Yidong <cyd@gnu.org>
13942
13943 * custom.el (load-theme): Doc fix.
13944
13945 2012-02-22 Glenn Morris <rgm@gnu.org>
13946
13947 * dired-x.el (dired-guess-shell-alist-default):
13948 Remove escape sequences from nroff output. (Bug#172)
13949
13950 2012-02-21 Glenn Morris <rgm@gnu.org>
13951
13952 * vc/emerge.el (emerge-defvar-local):
13953 Set `permanent-local' property rather than unused `preserved'.
13954
13955 * textmodes/picture.el (picture-delete-char): New alias.
13956 (picture-mode-map): Use it. (Bug#10860)
13957 (picture-mode): Doc fix.
13958
13959 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13960
13961 * newcomment.el (uncomment-region-default): Remove unused binding.
13962
13963 2012-02-21 Glenn Morris <rgm@gnu.org>
13964
13965 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13966 (picture-self-insert, picture-tab-chars): Doc fix.
13967 (picture-mode-map): Fix C-a, C-e.
13968
13969 2012-02-20 Glenn Morris <rgm@gnu.org>
13970
13971 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13972
13973 2012-02-20 Leo Liu <sdl.web@gmail.com>
13974
13975 * icomplete.el (icomplete-completions): Check FROM arg before
13976 passing to substring (Bug#10850).
13977
13978 2012-02-19 Chong Yidong <cyd@gnu.org>
13979
13980 * comint.el: Require ansi-color.
13981 (comint-output-filter-functions): Add ansi-color-process-output.
13982
13983 * ansi-color.el: Don't set comint-output-filter-functions; it is
13984 now in the initial value defined in comint.el.
13985 (ansi-color-apply-face-function): New variable.
13986 (ansi-color-apply-on-region): Use it.
13987 (ansi-color-apply-overlay-face): New function.
13988
13989 * shell.el (shell): No need to require ansi-color.
13990 (shell-mode): Use ansi-color-apply-face-function to highlight
13991 color escapes using font-lock-face property (Bug#10835).
13992
13993 2012-02-19 Chong Yidong <cyd@gnu.org>
13994
13995 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13996 mode-line formats (Bug#10839).
13997
13998 2012-02-18 Glenn Morris <rgm@gnu.org>
13999
14000 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14001
14002 * mail/undigest.el (unforward-rmail-message): Doc fix.
14003
14004 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14005
14006 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14007
14008 * international/characters.el (script-list): Sync with the latest
14009 Unicode Character Database.
14010
14011 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14012
14013 * international/titdic-cnv.el: Remove duplicate coding tag.
14014 * language/cham.el: Likewise.
14015 * language/tai-viet.el: Likewise.
14016
14017 2012-02-18 Glenn Morris <rgm@gnu.org>
14018
14019 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14020 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14021 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14022 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14023 * calendar/holidays.el (holiday-bahai-holidays)
14024 (calendar-holidays, list-holidays):
14025 Use utf-8 Bahá'í in doc-strings, menus, etc.
14026
14027 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14028
14029 * saveplace.el (save-place-ignore-files-regexp): New variable
14030 allowing for excluding files from saving their location of point.
14031 The default value matches the temporary commit message editing
14032 files from Git, SVN, Bazaar, and Mercurial.
14033 (save-place-to-alist): Use it.
14034
14035 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14036 Stefan Monnier <monnier@iro.umontreal.ca>
14037
14038 * newcomment.el (uncomment-region-default): Don't leave extra space
14039 when an arg is provided (bug#8150).
14040
14041 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14042
14043 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14044
14045 2012-02-17 Glenn Morris <rgm@gnu.org>
14046
14047 * net/socks.el: Require network-stream. (Bug#10599)
14048
14049 2012-02-17 Kenichi Handa <handa@m17n.org>
14050
14051 * international/charprop.el:
14052 * international/uni-name.el:
14053 * international/uni-old-name.el:
14054 * international/uni-comment.el: Regenerate.
14055
14056 2012-02-16 Glenn Morris <rgm@gnu.org>
14057
14058 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14059 Interactively in calendar buffer, give an error if not on a date.
14060
14061 2012-02-15 Glenn Morris <rgm@gnu.org>
14062
14063 * shell.el (shell-delimiter-argument-list):
14064 Revert 2011-02-17 change. (Bug#8027)
14065
14066 2012-02-15 Chong Yidong <cyd@gnu.org>
14067
14068 * minibuffer.el (completion-at-point-functions): Doc fix.
14069
14070 * custom.el (defcustom): Doc fix; note use of defvar.
14071
14072 2012-02-15 Glenn Morris <rgm@gnu.org>
14073
14074 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14075 Doc fixes.
14076
14077 2012-02-14 Glenn Morris <rgm@gnu.org>
14078
14079 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14080
14081 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14082
14083 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14084 way the ports list is computed.
14085 (smtpmail-query-smtp-server): Prompt the user for a port number if
14086 we can't connect to any of the standard ports (bug#10810).
14087
14088 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14089
14090 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14091
14092 2012-02-13 Glenn Morris <rgm@gnu.org>
14093
14094 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14095
14096 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14097
14098 * net/gnutls.el (gnutls-trustfiles): New variable.
14099 (gnutls-negotiate): Use it.
14100
14101 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14102
14103 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14104 does its stuff if Gnus is running.
14105
14106 2012-02-13 Alan Mackenzie <acm@muc.de>
14107
14108 Fix a loop in c-set-fl-decl-start.
14109
14110 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14111 c-backward-syntactic-ws actually moves backwards.
14112
14113 2012-02-13 Leo Liu <sdl.web@gmail.com>
14114
14115 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14116 beginning so that all \C-o chars are removed.
14117
14118 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14119
14120 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14121
14122 2012-02-12 Alan Mackenzie <acm@muc.de>
14123
14124 Fix infinite loop with long macros.
14125 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14126
14127 2012-02-12 Chong Yidong <cyd@gnu.org>
14128
14129 * window.el (display-buffer): Doc fix (Bug#10785).
14130
14131 2012-02-12 Glenn Morris <rgm@gnu.org>
14132
14133 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14134 (x-disown-selection-internal, x-get-selection-internal):
14135 Sync docs with the xselect.c versions.
14136
14137 * allout-widgets.el: Add missing license notice.
14138
14139 2012-02-11 Glenn Morris <rgm@gnu.org>
14140
14141 * select.el (x-get-selection-internal, x-own-selection-internal)
14142 (x-disown-selection-internal):
14143 * x-dnd.el (x-get-selection-internal): Update declarations.
14144
14145 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14146
14147 * window.el (window-sides-slots):
14148 * tool-bar.el (tool-bar-position):
14149 * term/xterm.el (xterm-extra-capabilities):
14150 * ses.el (ses-self-reference-early-detection):
14151 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14152 (verilog-auto-wire-type)
14153 (verilog-auto-delete-trailing-whitespace)
14154 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14155 (verilog-auto-tieoff-declaration):
14156 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14157 (sql-oracle-statement-starters, sql-oracle-scan-on):
14158 * progmodes/prolog.el (prolog-align-comments-flag)
14159 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14160 (prolog-left-indent-regexp, prolog-paren-indent-p)
14161 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14162 (prolog-types, prolog-mode-specificators)
14163 (prolog-determinism-specificators, prolog-directives)
14164 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14165 (prolog-electric-dot-flag)
14166 (prolog-electric-dot-full-predicate-template)
14167 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14168 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14169 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14170 (prolog-program-switches, prolog-prompt-regexp)
14171 (prolog-debug-on-string, prolog-debug-off-string)
14172 (prolog-trace-on-string, prolog-trace-off-string)
14173 (prolog-zip-on-string, prolog-zip-off-string)
14174 (prolog-use-standard-consult-compile-method-flag)
14175 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14176 (prolog-imenu-max-lines, prolog-info-predicate-index)
14177 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14178 (prolog-char-quote-workaround):
14179 * progmodes/cc-vars.el (c-defun-tactic):
14180 * net/tramp.el (tramp-encoding-command-interactive)
14181 (tramp-local-end-of-line):
14182 * net/soap-client.el (soap-client):
14183 * net/netrc.el (netrc-file):
14184 * net/gnutls.el (gnutls):
14185 * minibuffer.el (completion-category-overrides)
14186 (completion-cycle-threshold)
14187 (completion-pcm-complete-word-inserts-delimiters):
14188 * man.el (Man-name-local-regexp):
14189 * mail/feedmail.el (feedmail-display-full-frame):
14190 * international/characters.el (glyphless-char-display-control):
14191 * eshell/em-ls.el (eshell-ls-date-format):
14192 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14193 (lisp-lambda-list-keyword-parameter-indentation)
14194 (lisp-lambda-list-keyword-parameter-alignment):
14195 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14196 * dired-x.el (dired-omit-verbose):
14197 * cus-theme.el (custom-theme-allow-multiple-selections):
14198 * calc/calc.el (calc-highlight-selections-with-faces)
14199 (calc-lu-field-reference, calc-lu-power-reference)
14200 (calc-note-threshold):
14201 * battery.el (battery-mode-line-limit):
14202 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14203 (archive-7z-update):
14204 * allout.el (allout-prefixed-keybindings)
14205 (allout-unprefixed-keybindings)
14206 (allout-inhibit-auto-fill-on-headline)
14207 (allout-flattened-numbering-abbreviation):
14208 * allout-widgets.el (allout-widgets-auto-activation)
14209 (allout-widgets-icons-dark-subdir)
14210 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14211 (allout-widgets-theme-dark-background)
14212 (allout-widgets-theme-light-background)
14213 (allout-widgets-item-image-properties-emacs)
14214 (allout-widgets-item-image-properties-xemacs)
14215 (allout-widgets-run-unit-tests-on-load)
14216 (allout-widgets-time-decoration-activity)
14217 (allout-widgets-hook-error-post-time)
14218 (allout-widgets-track-decoration):
14219 Add missing :version tags to new defcustoms and defgroups.
14220
14221 * progmodes/sql.el (sql-ansi-statement-starters)
14222 (sql-oracle-statement-starters): Add custom type.
14223
14224 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14225 (prolog-system-version): Give it a type.
14226
14227 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14228
14229 * term/pc-win.el (x-select-text, x-selection-owner-p)
14230 (x-own-selection-internal, x-disown-selection-internal)
14231 (x-get-selection-internal): Sync doc strings and argument lists
14232 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14233
14234 2012-02-11 Leo Liu <sdl.web@gmail.com>
14235
14236 * progmodes/python.el (python-end-of-statement): Fix infinite
14237 loop. (Bug#10788)
14238
14239 2012-02-10 Glenn Morris <rgm@gnu.org>
14240
14241 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14242 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14243
14244 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14245
14246 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14247 about SMTP before checking the From header.
14248
14249 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14250 into own function for reuse by emacsbug.el.
14251
14252 2012-02-10 Leo Liu <sdl.web@gmail.com>
14253
14254 * subr.el (condition-case-unless-debug): Rename from
14255 condition-case-no-debug. All callers changed.
14256 (with-demoted-errors): Fix caller.
14257
14258 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14259 * nxml/rng-valid.el (rng-do-some-validation):
14260 * emacs-lisp/package.el (package-refresh-contents)
14261 (package-menu-execute):
14262 * desktop.el (desktop-create-buffer):
14263 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14264
14265 2012-02-10 Glenn Morris <rgm@gnu.org>
14266
14267 * textmodes/bibtex.el:
14268 Add missing :version tags for new/changed defcustoms.
14269
14270 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14271
14272 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14273
14274 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14275 (smtpmail-via-smtp): Use it, or fall back on the From address.
14276 (smtpmail-send-it): Ditto.
14277
14278 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14279
14280 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14281 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14282 (byte-compile-tmp-var): New const.
14283 (byte-compile-defvar): Use it to minimize .elc size.
14284 Just use `defvar' rather than simulate it (bug#10761).
14285
14286 2012-02-09 Glenn Morris <rgm@gnu.org>
14287
14288 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14289
14290 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14291 Add :version tags.
14292
14293 * progmodes/compile.el (compilation-error-screen-columns)
14294 (compilation-first-column, compilation-filter-start): Doc fixes.
14295
14296 * vc/log-view.el (log-view-toggle-entry-display):
14297 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14298
14299 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14300 (report-emacs-bug-can-use-xdg-email):
14301 (report-emacs-bug-insert-to-mailer): Doc fixes.
14302 (report-emacs-bug): Message fix.
14303
14304 * net/browse-url.el (browse-url-can-use-xdg-open)
14305 (browse-url-xdg-open): Doc fixes.
14306
14307 * electric.el (electric-indent-mode, electric-pair-mode)
14308 (electric-layout-rules, electric-layout-mode): Doc fixes.
14309 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14310
14311 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14312
14313 * server.el (server-unselect-display): Don't inadvertently kill
14314 the current buffer. (Bug#10729)
14315
14316 2012-02-08 Glenn Morris <rgm@gnu.org>
14317
14318 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14319 (sql-list-table): Doc fixes.
14320
14321 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14322 Comment out (does nothing).
14323
14324 * completion.el (dynamic-completion-mode):
14325 * dirtrack.el (dirtrack-debug-mode):
14326 * electric.el (electric-layout-mode):
14327 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14328 * face-remap.el (text-scale-mode, buffer-face-mode):
14329 * iimage.el (iimage-mode):
14330 * image-mode.el (image-transform-mode):
14331 * minibuffer.el (completion-in-region-mode):
14332 * scroll-lock.el (scroll-lock-mode):
14333 * simple.el (next-error-follow-minor-mode):
14334 * tar-mode.el (tar-subfile-mode):
14335 * tooltip.el (tooltip-mode):
14336 * vcursor.el (vcursor-use-vcursor-map):
14337 * wid-browse.el (widget-minor-mode):
14338 * emulation/tpu-edt.el (tpu-edt-mode):
14339 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14340 * international/iso-ascii.el (iso-ascii-mode):
14341 * language/thai-util.el (thai-word-mode):
14342 * mail/supercite.el (sc-minor-mode):
14343 * net/goto-addr.el (goto-address-mode):
14344 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14345 * progmodes/cwarn.el (cwarn-mode):
14346 * progmodes/flymake.el (flymake-mode):
14347 * progmodes/glasses.el (glasses-mode):
14348 * progmodes/hideshow.el (hs-minor-mode):
14349 * progmodes/pascal.el (pascal-outline-mode):
14350 * textmodes/enriched.el (enriched-mode):
14351 * vc/smerge-mode.el (smerge-mode):
14352 Doc fixes (minor mode argument).
14353
14354 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14355
14356 * ls-lisp.el (ls-lisp-sanitize): New function.
14357 (ls-lisp-insert-directory): Use it to fix or remove any elements
14358 in file-alist with missing attributes. (Bug#4673)
14359
14360 2012-02-07 Alan Mackenzie <acm@muc.de>
14361
14362 Fix spurious recognition of c-in-knr-argdecl.
14363
14364 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14365 putative K&R region.
14366
14367 2012-02-07 Alan Mackenzie <acm@muc.de>
14368
14369 * progmodes/cc-engine.el (c-forward-objc-directive):
14370 Prevent looping in "#pragma mark @implementation".
14371
14372 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14373
14374 * notifications.el (notifications-on-closed-signal): Make `reason'
14375 optional. (Bug#10744)
14376
14377 2012-02-07 Glenn Morris <rgm@gnu.org>
14378
14379 * emacs-lisp/easy-mmode.el (define-minor-mode):
14380 Doc fixes for the macro and the mode it defines.
14381
14382 * image.el (imagemagick-types-inhibit): Doc fix.
14383
14384 * cus-start.el (imagemagick-render-type): Add it.
14385
14386 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14387
14388 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14389 Set the default at load time, too, so that `font-lock-fontify-buffer'
14390 can be called without setting up the entire mode first. This fixes
14391 a bug in `mm-inline-text' with C MIME parts.
14392
14393 2012-02-06 Chong Yidong <cyd@gnu.org>
14394
14395 * simple.el (list-processes--refresh): Delete exited processes
14396 (Bug#8094).
14397
14398 * comint.el (comint-next-prompt): next-single-char-property-change
14399 and prev-single-char-property-change never return nil (Bug#8657).
14400
14401 * custom.el (defcustom): Doc fix (Bug#9711).
14402
14403 2012-02-05 Chong Yidong <cyd@gnu.org>
14404
14405 * cus-edit.el (custom-variable-reset-backup): Quote the value
14406 before storing it in the customized-value property (Bug#6712).
14407 (custom-display): Add a customization type tag.
14408 (custom-buffer-create-internal): Improve tooltip message.
14409
14410 * wid-edit.el (widget-field-value-get): New optional arg to
14411 suppress trailing whitespace truncation.
14412 (character): Use it (Bug#2689).
14413
14414 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14415
14416 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14417 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14418
14419 2012-02-05 Chong Yidong <cyd@gnu.org>
14420
14421 * cus-edit.el (custom-variable-value-create): For mismatched
14422 types, show the current value (Bug#7600).
14423
14424 * custom.el (defcustom): Doc fix.
14425
14426 2012-02-05 Glenn Morris <rgm@gnu.org>
14427
14428 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14429
14430 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14431
14432 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14433 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14434 (pp-last-sexp): Use `looking-at-p'.
14435
14436 2012-02-04 Glenn Morris <rgm@gnu.org>
14437
14438 * files.el (revert-buffer):
14439 Doc fix (mention revert-buffer-in-progress-p).
14440
14441 * emacs-lisp/ert-x.el (ert-simulate-command):
14442 Check deferred-action-list (which is obsolete) is bound.
14443
14444 * subr.el (with-wrapper-hook): Doc fixes.
14445
14446 * simple.el (filter-buffer-substring-functions)
14447 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14448
14449 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14450
14451 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14452 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14453
14454 2012-02-04 Leo Liu <sdl.web@gmail.com>
14455
14456 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14457
14458 2012-02-04 Glenn Morris <rgm@gnu.org>
14459
14460 * image.el (image-extension-data): Add obsolete alias.
14461
14462 * isearch.el (isearch-update): Doc fix.
14463
14464 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14465
14466 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14467
14468 2012-02-03 Glenn Morris <rgm@gnu.org>
14469
14470 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14471 (image-animate-timeout): Doc fix.
14472
14473 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14474
14475 2012-02-02 Glenn Morris <rgm@gnu.org>
14476
14477 * server.el (server-auth-dir): Doc fix.
14478 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14479
14480 * subr.el (run-mode-hooks): Doc fix.
14481
14482 2012-02-02 Juri Linkov <juri@jurta.org>
14483
14484 * image-mode.el (image-toggle-display-image): Remove tautological
14485 `major-mode' from the `derived-mode-p' test.
14486
14487 2012-02-02 Kenichi Handa <handa@m17n.org>
14488
14489 * composite.el (compose-region): Cancel previous change.
14490
14491 2012-02-02 Kenichi Handa <handa@m17n.org>
14492
14493 * composite.el (compose-region, compose-string): Signal error for
14494 a null string component (Bug#6988).
14495
14496 2012-02-01 Chong Yidong <cyd@gnu.org>
14497
14498 * view.el (view-buffer-other-window, view-buffer-other-frame):
14499 Handle special modes like view-buffer (Bug#10650).
14500 (view-buffer): Simplify.
14501
14502 * frame.el (set-frame-font): Tweak meaning of third argument.
14503
14504 * dynamic-setting.el (font-setting-change-default-font):
14505 Use set-frame-font (Bug#9982).
14506
14507 2012-02-01 Glenn Morris <rgm@gnu.org>
14508
14509 * progmodes/compile.el (compilation-internal-error-properties):
14510 Respect compilation-first-column in the "*compilation*" buffer.
14511
14512 * emacs-lisp/easy-mmode.el (define-minor-mode):
14513 Relax :variable's test for a named function.
14514
14515 2012-01-31 Alan Mackenzie <acm@muc.de>
14516
14517 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14518 off by one error.
14519
14520 2012-01-31 Chong Yidong <cyd@gnu.org>
14521
14522 * frame.el (set-frame-font): New arg ALL-FRAMES.
14523
14524 * menu-bar.el (menu-set-font): Use set-frame-font.
14525
14526 * faces.el (face-spec-reset-face): Don't apply unspecified
14527 attribute values to the default face.
14528
14529 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14530
14531 * progmodes/cwarn.el (cwarn): Remove dead link.
14532 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14533 Remove * from defcustom docstrings.
14534 (turn-on-cwarn-mode): Make obsolete.
14535 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14536 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14537
14538 2012-01-31 Glenn Morris <rgm@gnu.org>
14539
14540 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14541 Fix :variable handling of mode a symbol not equal to modefun.
14542 Allow named functions to be used as the cdr of :variable.
14543
14544 2012-01-30 Glenn Morris <rgm@gnu.org>
14545
14546 * emacs-lisp/authors.el (authors-fixed-entries):
14547 Remove reference to deleted file rnewspost.el.
14548
14549 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14550
14551 * window.el (window-with-parameter): Remove unused variable `windows'.
14552 (window--side-check): Remove unused variable `code'.
14553 (window--resize-siblings): Remove unused variable `first'.
14554 (adjust-window-trailing-edge): Remove unused variable `failed'.
14555 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14556 Use `let', not `let*'.
14557 (balance-windows-2): Remove unused variable `found'.
14558 (window--state-put-2): Remove unused variable `splits'.
14559 (window-state-put): Remove unused variable `selected'.
14560 (same-window-p): Use `string-match-p'.
14561 (display-buffer-assq-regexp): Remove unused variable `value'.
14562 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14563 Mark argument ALIST as ignored.
14564 (pop-to-buffer): Remove unused variable `old-window'.
14565
14566 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14567
14568 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14569 and .lzma compressed files.
14570
14571 2012-01-29 Chong Yidong <cyd@gnu.org>
14572
14573 * frame.el (window-system-default-frame-alist): Doc fix.
14574
14575 * dynamic-setting.el (font-setting-change-default-font): Don't
14576 change the default face if SET-FONT argument is non-nil (Bug#9982).
14577
14578 2012-01-29 Samuel Bronson <naesten@gmail.com>
14579
14580 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14581
14582 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14583
14584 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14585 breakpoints in files outside current directory (Bug#6098).
14586
14587 2012-01-29 Chong Yidong <cyd@gnu.org>
14588
14589 * progmodes/python.el: Require ansi-color at top-level.
14590
14591 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14592 Define and use in Emacs Lisp mode (Bug#9360).
14593 (lisp-mode-abbrev-table): Add doc.
14594 (lisp-mode-variables): Don't set local-abbrev-table.
14595 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14596
14597 2012-01-28 Roland Winkler <winkler@gnu.org>
14598
14599 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14600
14601 2012-01-28 Roland Winkler <winkler@gnu.org>
14602
14603 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14604 (bibtex-set-dialect): Use it. Either set global values of
14605 dialect-dependent variables or bind these variables buffer-locally
14606 (Bug#10254).
14607 (bibtex-mode): Call bibtex-set-dialect via
14608 hack-local-variables-hook.
14609 (bibtex-dialect): Update docstring.
14610 Add safe-local-variable predicate.
14611 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14612 bibtex-set-dialect.
14613 (bibtex-mode-map): Define menu for each dialect.
14614 (bibtex-entry): Fix docstring.
14615
14616 2012-01-28 Chong Yidong <cyd@gnu.org>
14617
14618 * eshell/esh-arg.el (eshell-quote-argument): New function.
14619
14620 * eshell/esh-ext.el (eshell-invoke-batch-file):
14621 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14622 first arg to eshell-parse-command (Bug#10523).
14623
14624 2012-01-28 Drew Adams <drew.adams@oracle.com>
14625
14626 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14627 `default-directory' is non-nil.
14628
14629 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14630
14631 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14632 line that displays system-configuration-options. (Bug#9924)
14633
14634 2012-01-28 Drew Adams <drew.adams@oracle.com>
14635
14636 * descr-text.el (describe-char): Show information about POS, in
14637 addition to information about the character at POS. Improve and
14638 update the doc string. Change "code point" to "code point in
14639 charset", to avoid confusion with the character's Unicode code
14640 point shown above that. (Bug#10129)
14641
14642 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14643
14644 * descr-text.el (describe-char): Show the raw character, not only
14645 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14646 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14647 for the reasons.
14648
14649 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14650
14651 * emacs-lisp/package.el (package-install):
14652 Run package-refresh-contents if there is no archive yet (Bug#9798).
14653
14654 2012-01-28 Chong Yidong <cyd@gnu.org>
14655
14656 * emacs-lisp/package.el (package-maybe-load-descriptor):
14657 New function, split from package-maybe-load-descriptor.
14658 (package-maybe-load-descriptor): Use it.
14659 (package-download-transaction): Fully load required packages
14660 inside the loop, so that `require' calls work (Bug#10593).
14661 (package-install): No need to call package-initialize now.
14662
14663 2012-01-28 Chong Yidong <cyd@gnu.org>
14664
14665 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14666
14667 * tooltip.el (tooltip-mode): Doc fix.
14668 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14669
14670 * frame.el (set-cursor-color): Doc fix (Bug#352).
14671
14672 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14673 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14674
14675 * cus-edit.el (custom-buffer-create-internal): Fix search button
14676 action (Bug#10542).
14677 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14678
14679 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14680
14681 * dired.el (dired-mark-files-regexp):
14682 Include any subdirectory components. (Bug#10445)
14683
14684 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14685
14686 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14687 Handle [host]:port syntax. (Bug#10533)
14688
14689 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14690
14691 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14692
14693 2012-01-26 Glenn Morris <rgm@gnu.org>
14694
14695 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14696 * term.el (term-raw-escape-map): Use Control-X-prefix.
14697 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14698
14699 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14700
14701 * window.el (window-state-get, window--state-get-1): Don't deal
14702 with fixed-sizeness of windows. Simplify code.
14703
14704 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14705
14706 * window.el (window--state-get-1, window--state-put-2):
14707 Don't save and restore the mark.
14708
14709 2012-01-25 Chong Yidong <cyd@gnu.org>
14710
14711 * custom.el (custom-variable-p): Doc fix.
14712
14713 2012-01-25 Glenn Morris <rgm@gnu.org>
14714
14715 * dired.el (dired-goto-file): Handle some of the more common
14716 characters that `ls -b' escapes. (Bug#10596)
14717
14718 * progmodes/compile.el (compilation-next-error-function):
14719 Respect compilation-first-column in the "*compilation*" buffer.
14720 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14721
14722 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14723
14724 2012-01-24 Glenn Morris <rgm@gnu.org>
14725
14726 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14727
14728 2012-01-24 Julien Danjou <julien@danjou.info>
14729
14730 * color.el (color-rgb-to-hsl): Fix value computing.
14731 (color-hue-to-rgb): New function.
14732 (color-hsl-to-rgb): New function.
14733 (color-clamp, color-saturate-hsl, color-saturate-name)
14734 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14735 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14736
14737 2012-01-24 Glenn Morris <rgm@gnu.org>
14738
14739 * vc/vc-rcs.el (vc-rcs-create-tag):
14740 * vc/vc-sccs.el (vc-sccs-create-tag):
14741 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14742
14743 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14744
14745 * eshell/esh-util.el (eshell-read-hosts-file):
14746 Skip comment lines. (Bug#10549)
14747
14748 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14749
14750 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14751
14752 * subr.el (display-delayed-warnings): Doc fix.
14753 (collapse-delayed-warnings): New function to collapse identical
14754 adjacent warnings.
14755 (delayed-warnings-hook): Add it.
14756
14757 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14758
14759 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14760
14761 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14762 (tramp-default-user-alist): Don't add "pscp".
14763 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14764 property "login-as", if set. (Bug#10530)
14765
14766 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14767
14768 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14769 "plink1" and "psftp". (Bug#10530)
14770
14771 2012-01-21 Kenichi Handa <handa@m17n.org>
14772
14773 * international/mule-cmds.el (prefer-coding-system): Show a
14774 warning message if the default value of file-name-coding-system
14775 was not changed.
14776
14777 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14778
14779 * windmove.el (windmove-reference-loc):
14780 Fix windmove-reference-loc miscalculation.
14781
14782 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14783
14784 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14785 default unit.
14786
14787 2012-01-21 Glenn Morris <rgm@gnu.org>
14788
14789 * international/mule.el (auto-coding-alist): Add .tbz.
14790
14791 * files.el (local-enable-local-variables): Doc fix.
14792 (inhibit-local-variables-regexps): Rename from
14793 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14794 Doc fix. Add some extensions from auto-coding-alist.
14795 (inhibit-local-variables-suffixes):
14796 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14797 (inhibit-local-variables-p):
14798 New function, extracted from set-auto-mode-1.
14799 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14800 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14801 (hack-local-variables): Doc fix. Make the mode-only case
14802 respect enable-local-variables and friends.
14803 Respect inhibit-local-variables-regexps for file-locals, but
14804 not for directory-locals.
14805 (set-visited-file-name):
14806 Take account of inhibit-local-variables-regexps.
14807 Whether it applies may change as the file name is changed.
14808 * jka-cmpr-hook.el (jka-compr-install):
14809 * jka-compr.el (jka-compr-uninstall):
14810 Update for inhibit-first-line-modes-suffixes name change.
14811
14812 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14813
14814 * help-macro.el (make-help-screen): Temporarily restore original
14815 binding for minor-mode-map-alist (Bug#10454).
14816
14817 2012-01-19 Julien Danjou <julien@danjou.info>
14818
14819 * color.el (color-name-to-rgb): Use the white color to find the max
14820 color component value and return correctly computed values.
14821 (color-name-to-rgb): Add missing float conversion for max value.
14822
14823 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14824
14825 * window.el (window--state-get-1, window-state-get): Do not use
14826 special state value for window-persistent-parameters.
14827 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14828 (window--state-put-2): Reset all window parameters to nil before
14829 assigning values of persistent parameters.
14830
14831 2012-01-18 Alan Mackenzie <acm@muc.de>
14832
14833 Eliminate sluggishness and hangs in fontification of "semicolon
14834 deserts".
14835
14836 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14837 Change value 10000 -> 3000.
14838 (c-state-safe-place): Reformulate so it doesn't stack up an
14839 infinite number of wrong entries in c-state-nonlit-pos-cache.
14840 (c-determine-limit-get-base, c-determine-limit): New functions to
14841 determine backward search limits disregarding literals.
14842 (c-find-decl-spots): Amend commenting.
14843 (c-cheap-inside-bracelist-p): New function which detects "={".
14844
14845 * progmodes/cc-fonts.el
14846 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14847 backward search.
14848 (c-font-lock-declarations): Fix an occurrence of point being
14849 undefined. Check additionally for point being in a bracelist or
14850 near a macro invocation without a semicolon so as to avoid a
14851 fruitless time consuming search for a declarator. Give a more
14852 precise search limit for declarators using the new
14853 c-determine-limit.
14854
14855 2012-01-18 Glenn Morris <rgm@gnu.org>
14856
14857 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14858 (set-auto-mode): Doc fixes.
14859
14860 2012-01-17 Glenn Morris <rgm@gnu.org>
14861
14862 * isearch.el (search-nonincremental-instead): Fix doc typo.
14863
14864 * dired.el (dired-insert-directory): Handle newlines in directory name.
14865 (dired-build-subdir-alist): Unescape newlines in directory name.
14866
14867 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14868
14869 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14870 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14871 (tramp-action-terminal): Use it. (Bug#10530)
14872
14873 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14874
14875 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14876
14877 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14878
14879 * window.el (window-state-ignored-parameters): Remove variable.
14880 (window--state-get-1): Rename argument MARKERS to IGNORE.
14881 Handle persistent window parameters. Make copy of clone-of
14882 parameter only if requested. (Bug#10348)
14883 (window--state-put-2): Install a window parameter only if it has
14884 a non-nil value or an existing parameter shall be overwritten.
14885
14886 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14887
14888 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14889
14890 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14891
14892 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14893 don't pass the (nil) value of `upnode' to string-match.
14894
14895 2012-01-14 Chong Yidong <cyd@gnu.org>
14896
14897 * startup.el (command-line): Fix X resource class for cursorColor.
14898 Fix values recognized by the cursorBlink resource.
14899
14900 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14901
14902 * epg.el (epg--make-temp-file): Avoid permission race condition
14903 when running on old Emacs versions (bug#10403).
14904
14905 2012-01-14 Glenn Morris <rgm@gnu.org>
14906
14907 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14908
14909 2012-01-13 Alan Mackenzie <acm@muc.de>
14910
14911 Fix filling for when filladapt mode is enabled.
14912
14913 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14914 c-mask-paragraph, pass in `fill-paragraph' rather than
14915 `fill-region-as-paragraph'. (This is a reversion of a previous
14916 change.)
14917 * progmodes/cc-mode.el (c-basic-common-init):
14918 Make fill-paragraph-handle-comment buffer local and set it to nil.
14919
14920 2012-01-13 Glenn Morris <rgm@gnu.org>
14921
14922 * dired.el (dired-switches-escape-p): New function.
14923 (dired-insert-directory): Use dired-switches-escape-p.
14924 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14925
14926 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14927
14928 2012-01-12 Glenn Morris <rgm@gnu.org>
14929
14930 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14931 changes in adaptive-fill-regexp. (Bug#10276)
14932
14933 2012-01-11 Alan Mackenzie <acm@muc.de>
14934
14935 Fix Emacs bug #10463 - put `widen's around the critical spots.
14936
14937 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14938 widen around each invocation of c-state-pp-to-literal. Remove an
14939 unused let variable.
14940
14941 2012-01-11 Glenn Morris <rgm@gnu.org>
14942
14943 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14944 Doc fix.
14945
14946 2012-01-10 Chong Yidong <cyd@gnu.org>
14947
14948 * net/network-stream.el (network-stream-open-starttls):
14949 Avoid emitting a confusing error message when the server gives a bad
14950 response to the capability command.
14951
14952 2012-01-10 Glenn Morris <rgm@gnu.org>
14953
14954 * mail/unrmail.el (unrmail): Tweak previous change.
14955
14956 2012-01-09 Chong Yidong <cyd@gnu.org>
14957
14958 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14959
14960 2012-01-08 Alan Mackenzie <acm@muc.de>
14961
14962 Optimize font locking in long enum definitions.
14963
14964 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14965 arm to a cond form to handle enums.
14966 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14967 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14968
14969 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14970
14971 * files.el (move-file-to-trash): Preserve default file modes on error.
14972 (Bug#10401)
14973
14974 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14975
14976 * faces.el (set-face-attribute): Clarify the meaning of the nil
14977 frame (bug#10294).
14978
14979 * subr.el (with-selected-frame): Mention that the selected frame
14980 is restored (bug#9980).
14981
14982 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14983 (bug#9759).
14984
14985 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14986 (password-read): Don't autoload unused function.
14987
14988 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14989
14990 * progmodes/which-func.el (which-func-mode): Turn into a
14991 non-interactive function and mark as obsolete (bug#10428).
14992
14993 2012-01-06 Chong Yidong <cyd@gnu.org>
14994
14995 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14996 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14997 functions, along with 1 and -1.
14998
14999 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15000
15001 * time.el (display-time-load-average)
15002 (display-time-default-load-average): Doc fixes. See the thread
15003 starting at
15004 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15005 for the details.
15006
15007 2012-01-06 Glenn Morris <rgm@gnu.org>
15008
15009 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15010 has no messages. (Bug#10377)
15011
15012 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15013 than Info-edit. (Bug#10385)
15014
15015 * time.el (display-time-load-average, display-time-next-load-average):
15016 Doc fixes.
15017
15018 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15019 local setting of buffer-read-only to the input buffer. (Bug#10419)
15020
15021 * calendar/calendar.el (calendar-mode):
15022 Locally set scroll-margin to 0. (Bug#10379)
15023
15024 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15025
15026 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15027
15028 2012-01-05 Glenn Morris <rgm@gnu.org>
15029
15030 * eshell/em-unix.el (diff-no-select): Autoload it.
15031 (eshell/diff): Use diff-no-select. (Bug#10420)
15032
15033 2012-01-05 Chong Yidong <cyd@gnu.org>
15034
15035 * shell.el (shell-dynamic-complete-functions): Revert last change.
15036 (shell-command-completion-function): New function.
15037 (shell-completion-vars): Use it to implement
15038 shell-completion-execonly (Bug#10417).
15039
15040 * custom.el (enable-theme): Don't set custom-safe-themes.
15041
15042 * cus-theme.el (custom-theme-merge-theme):
15043 Ignore custom-enabled-themes and custom-safe-themes.
15044
15045 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15046
15047 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15048 first prompt in `sql-interacive-mode'.
15049 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15050 keywords.
15051 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15052 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15053 context of original buffer. Invoke `sql-login-hook'.
15054
15055 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15056
15057 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15058 letters in cite-prefix.
15059
15060 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15061
15062 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15063
15064 2012-01-03 Chong Yidong <cyd@gnu.org>
15065
15066 * shell.el (shell-dynamic-complete-functions):
15067 Put pcomplete-completions-at-point, so as to try
15068 comint-filename-completion first (Bug#10417).
15069
15070 2012-01-02 Richard Stallman <rms@gnu.org>
15071
15072 * battery.el (battery-status-function):
15073 Detect when to use battery-yeeloong-sysfs.
15074 (battery-echo-area-format): Add string for Yeeloong.
15075 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15076 (battery-yeeloong-sysfs): New function.
15077
15078 2012-01-02 Chong Yidong <cyd@gnu.org>
15079
15080 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15081 (dirtrack): Merge code for handling relative filenames in prompt
15082 from shell-dir-cookie-watcher.
15083 (dirtrack-debug-message): New arg to avoid excess format calls.
15084
15085 * shell.el (shell-dir-cookie-re): Variable deleted.
15086 (shell-dir-cookie-watcher): Function deleted.
15087 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15088 with dirtrack-mode.
15089
15090 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15091
15092 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15093 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15094 libgnutls-26.dll.
15095
15096 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15097
15098 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15099
15100 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15101
15102 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15103 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15104
15105 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15106
15107 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15108 also for alternative shells.
15109 (tramp-open-connection-setup-interactive-shell): Check, whether
15110 the shell is a busybox.
15111 (tramp-send-command): Don't suppress multiple prompts for
15112 busyboxes, it hurts.
15113
15114 2011-12-28 Chong Yidong <cyd@gnu.org>
15115
15116 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15117 (gdb-get-source-file): Move mode line update to
15118 gdb-get-source-file (Bug#10087).
15119
15120 2011-12-25 Chong Yidong <cyd@gnu.org>
15121
15122 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15123 gud-gdb-marker-filter without taking it as an argument.
15124 (gud-gdb-run-command-fetch-lines): Caller changed.
15125 (gud-gdb-completion-function): New variable.
15126 (gud-gdb-completion-at-point): Use it.
15127 (gud-gdb-completions-1): Split from gud-gdb-completions.
15128
15129 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15130 function as separate arguments.
15131 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15132 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15133 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15134 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15135 (gdb-stopped, def-gdb-auto-update-trigger)
15136 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15137 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15138 Callers changed.
15139 (gud-gdbmi-completions): New function.
15140 (gdb): Use it for generating the completion table.
15141
15142 2011-12-24 Alan Mackenzie <acm@muc.de>
15143
15144 Introduce a mechanism to widen the region used in context font
15145 locking. Use this to protect declarations from losing their contexts.
15146
15147 * progmodes/cc-langs.el (c-before-font-lock-functions):
15148 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15149 (c-before-context-fontification-functions): New defvar, a list of
15150 functions to be run just before context (etc.) font locking.
15151
15152 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15153 New, functionality extracted from
15154 c-neutralize-syntax-in-and-mark-CPP.
15155 (c-in-after-change-fontification): New variable.
15156 (c-after-change): Set c-in-after-change-fontification.
15157 (c-set-fl-decl-start): Rejig its interface, so it can be called
15158 from both after-change and context fontifying.
15159 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15160 New functions.
15161 (c-standard-font-lock-fontify-region-function): New variable.
15162 (c-font-lock-fontify-region): New function.
15163
15164 2011-12-24 Juri Linkov <juri@jurta.org>
15165
15166 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15167 (Bug#10348)
15168
15169 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15170
15171 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15172 existence of source file. (Bug#10325)
15173
15174 2011-12-23 Alan Mackenzie <acm@muc.de>
15175
15176 Fix unstable fontification inside templates.
15177
15178 * progmodes/cc-langs.el (c-before-font-lock-functions):
15179 Newly created from the singular version. The (c c++ objc) entry now
15180 additionally has c-set-fl-decl-start. The other languages (apart
15181 from AWK) have that as a single entry.
15182
15183 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15184 The functionality for "local" declarations has been extracted to
15185 c-set-fl-decl-start.
15186
15187 * progmodes/cc-mode.el (c-common-init, c-after-change):
15188 Changes due to pluralisation of c-before-font-lock-functions.
15189 (c-set-fl-decl-start): New function, extracted from
15190 c-font-lock-enclosing-decls and enhanced.
15191
15192 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15193
15194 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15195
15196 2011-12-22 Juri Linkov <juri@jurta.org>
15197
15198 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15199
15200 2011-12-22 Chong Yidong <cyd@gnu.org>
15201
15202 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15203
15204 2011-12-21 Drew Adams <drew.adams@oracle.com>
15205
15206 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15207
15208 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15209
15210 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15211
15212 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15213
15214 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15215 highlighting and support. Fix up comments for capitalization.
15216 (cfengine-mode-debug): New var.
15217 (cfengine3-mode): Change the modeline indicator to "CFE3".
15218 (cfengine3-font-lock-keywords): Improve defun highlighting.
15219 (cfengine2-actions): Rename from `cfengine-actions'.
15220 (cfengine2-font-lock-keywords): Rename from
15221 `cfengine-font-lock-keywords'.
15222 (cfengine2-imenu-expression): Rename from
15223 `cfengine-imenu-expression'.
15224 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15225 (cfengine2-beginning-of-defun): Rename from
15226 `cfengine-beginning-of-defun'.
15227 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15228 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15229 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15230 modeline indicator to "CFE2".
15231 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15232 (cfengine-mode-abbrevs): Mark obsolete.
15233
15234 2011-12-21 Chong Yidong <cyd@gnu.org>
15235
15236 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15237 filename argument.
15238
15239 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15240
15241 * window.el (window-normalize-buffer-to-display): Remove.
15242 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15243
15244 2011-12-19 Chong Yidong <cyd@gnu.org>
15245
15246 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15247 Don't signal an error in a predicate function; return non-nil.
15248 (vc-dir-mark-file): Move the error here.
15249 (vc-dir-mark-unmark): If acting on the region, keep going if one
15250 of the entries cannot be marked/unmarked.
15251 (vc-dir-mark-all-files): If current entry is a directory, mark
15252 only child files, as documented.
15253
15254 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15255
15256 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15257 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15258 addition.
15259
15260 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15261
15262 * term/ns-win.el (ns-get-selection-internal)
15263 (ns-store-selection-internal): Declare.
15264 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15265 Declare as obsolete.
15266 (ns-get-pasteboard, ns-paste-secondary):
15267 Use ns-get-selection-internal.
15268 (ns-set-pasteboard, ns-copy-including-secondary):
15269 Use ns-store-selection-internal.
15270
15271 2011-12-17 Chong Yidong <cyd@gnu.org>
15272
15273 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15274 (vc-deduce-fileset): Doc fix.
15275
15276 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15277
15278 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15279
15280 2011-12-13 Sam Steingold <sds@gnu.org>
15281
15282 * man.el (Man-getpage-in-background): When running under a
15283 window-system, ignore $MANWIDTH and $COLUMNS.
15284
15285 2011-12-15 Kenichi Handa <handa@m17n.org>
15286
15287 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15288 (setup-ethiopic-environment-internal): Comment out key-binding for
15289 ethio-toggle-punctuation.
15290
15291 2011-12-13 Alan Mackenzie <acm@muc.de>
15292
15293 Add the switch statement to AWK Mode.
15294
15295 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15296 "default" to the keywords regexp.
15297
15298 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15299 expression as the rest.
15300 (c-nonlabel-token-key): Allow string literals for AWK.
15301 Refactor for the other modes.
15302
15303 Large brace-block initialisation makes CC Mode slow: Fix.
15304 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15305 routines. Limit backward searching in c-font-lock-enclosing.decl.
15306
15307 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15308 pp-state and literal type in addition to the limits.
15309 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15310 (c-state-literal-at): Use the above new defun.
15311 (c-slow-in-literal, c-fast-in-literal): Remove.
15312 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15313
15314 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15315 being in a literal. Add a limit for backward searching.
15316
15317 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15318 c-slow-in-literal.
15319
15320 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15321
15322 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15323
15324 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15325
15326 * window.el (delete-other-windows): Use correct frame in call to
15327 window-with-parameter.
15328
15329 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15330
15331 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15332 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15333 (makefile-gmake-statements, makefile-makepp-statements):
15334 Use it and add new makepp keywords.
15335 (makefile-makepp-font-lock-keywords): Add new patterns.
15336 (makefile-match-function-end): Match new [...] and [[...]].
15337
15338 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15339
15340 * ses.el (ses-call-printer-return, ses-cell-property-get)
15341 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15342 (ses-create-cell-variable, ses-reset-header-string)
15343 (ses-cell-set-formula, ses-repair-cell-reference-all)
15344 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15345 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15346 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15347 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15348 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15349 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15350 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15351 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15352 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15353 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15354 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15355 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15356
15357 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15358
15359 * ses.el: The overall change is to add cell renaming, that is
15360 setting fancy names for cell symbols other than name matching
15361 "\\`[A-Z]+[0-9]+\\'" regexp .
15362 (ses-create-cell-variable): New defun.
15363 (ses-relocate-formula): Relocate formulas only for cells the
15364 symbols of which are not renamed, i.e. symbols whose names do not
15365 match regexp "\\`[A-Z]+[0-9]+\\'".
15366 (ses-relocate-all): Relocate values only for cells the symbols of
15367 which are not renamed.
15368 (ses-load): Create cells variables as the (ses-cell ...) are read,
15369 in order to check row col consistency with cell symbol name only
15370 for cells that are not renamed.
15371 (ses-replace-name-in-formula): New defun.
15372 (ses-rename-cell): New defun.
15373
15374 2011-12-11 Chong Yidong <cyd@gnu.org>
15375
15376 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15377 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15378
15379 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15380
15381 * window.el (other-window): Fix docstring.
15382
15383 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15384
15385 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15386 `from' or `to' address before taking its substring.
15387 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15388 encoded name is chopped in the middle of the encoded string, and
15389 thus displayed encoded.
15390
15391 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15392
15393 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15394
15395 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15396
15397 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15398 to use texinfo-update-node and commands that call it if the
15399 Texinfo file uses @node lines without next/prev/up pointers.
15400 Correct outdated description about texinfo-master-menu.
15401 (texinfo-all-menus-update, texinfo-master-menu)
15402 (texinfo-update-node, texinfo-every-node-update)
15403 (texinfo-multiple-files-update): Doc fix. Warn against updating
15404 all the @node lines.
15405 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15406 argument is numeric. Explain better in the doc string what the
15407 function really does.
15408 (texinfo-insert-master-menu-list): Improve the error message
15409 displayed if there's no menu in the Top node.
15410 (Bug#2975) See also this thread:
15411 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15412
15413 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15414
15415 * speedbar.el (speedbar-supported-extension-expressions):
15416 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15417
15418 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15419
15420 * printing.el (pr-mode-alist):
15421 * simple.el (filter-buffer-substring-functions)
15422 (completion-list-insert-choice-function):
15423 * window.el (window-with-parameter, window-atom-root)
15424 (window-sides-slots, window-size-fixed, window-min-delta)
15425 (window-max-delta, window--resize-mini-window)
15426 (window--resize-child-windows-normal, window-tree)
15427 (delete-other-windows, quit-window, split-window)
15428 (display-buffer-record-window, special-display-buffer-names)
15429 (special-display-regexps, special-display-popup-frame)
15430 (same-window-p, split-window-sensibly)
15431 (display-buffer-overriding-action, display-buffer-alist)
15432 (display-buffer-base-action, display-buffer, switch-to-buffer)
15433 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15434 (fit-window-to-buffer, recenter-positions)
15435 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15436 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15437 and remove unneeded backslashes in docstrings.
15438
15439 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15440
15441 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15442
15443 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15444 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15445 end in ".mk".
15446 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15447 when reading the makefile (bug#10116).
15448
15449 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15450
15451 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15452 (bug#10116).
15453
15454 2011-12-06 Glenn Morris <rgm@gnu.org>
15455
15456 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15457
15458 2011-12-06 Chong Yidong <cyd@gnu.org>
15459
15460 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15461
15462 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15463
15464 * textmodes/table.el (table-shorten-cell): Fix typo.
15465
15466 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15467
15468 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15469
15470 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15471
15472 * descr-text.el (describe-char): Fix display of strong
15473 right-to-left characters and directional embeddings and overrides.
15474
15475 * simple.el (what-cursor-position): Fix display of codepoints of
15476 strong right-to-left characters.
15477
15478 2011-12-05 Chong Yidong <cyd@gnu.org>
15479
15480 * faces.el (read-color): Doc fix.
15481
15482 2011-12-05 Glenn Morris <rgm@gnu.org>
15483
15484 * align.el (align--set-marker): Add doc-string.
15485 Don't try to move something that is not a marker. (Bug#10216)
15486
15487 2011-12-04 Glenn Morris <rgm@gnu.org>
15488
15489 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15490 overly zealous deletion of trailing whitespace.
15491
15492 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15493
15494 * server.el (server-delete-client): On Windows, do not try to delete
15495 the only terminal.
15496 (server-process-filter): On Windows, treat requests for a tty frame as
15497 if they were for a GUI frame if the running server is in GUI mode.
15498
15499 2011-12-03 Glenn Morris <rgm@gnu.org>
15500
15501 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15502
15503 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15504
15505 * electric.el: Streamline electric-indent's hook.
15506 (electric-indent-chars): Revert to simple list.
15507 (electric-indent-functions): New var.
15508 (electric-indent-post-self-insert-function): Use it.
15509
15510 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15511 there's no inferior buffer (bug#10196).
15512 (prolog-consult-compile): Don't use toggle-read-only.
15513
15514 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15515
15516 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15517 interrupt. (Bug#10187)
15518
15519 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15520
15521 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15522 (bug#9160).
15523
15524 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15525 (bug#10191).
15526
15527 2011-12-02 Juri Linkov <juri@jurta.org>
15528
15529 * info.el (Info-search): Display "end of manual" when Isearch
15530 reaches the end of single-file Info manual. (Bug#9918)
15531
15532 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15533
15534 * isearch.el (isearch-message-prefix): Run the input method part
15535 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15536
15537 2011-12-02 Juri Linkov <juri@jurta.org>
15538
15539 * isearch.el (isearch-occur): Use `word-search-regexp' for
15540 `isearch-word'.
15541 (isearch-search-and-update): Add condition for `isearch-word' and
15542 call `word-search-regexp'. (Bug#10145)
15543
15544 2011-12-01 Glenn Morris <rgm@gnu.org>
15545
15546 * eshell/em-hist.el (eshell-hist-initialize):
15547 Handle eshell-history-size nil and HISTSIZE set or unset.
15548 (eshell-history-file-name, eshell-history-size): Fix custom type.
15549
15550 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15551
15552 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15553
15554 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15555
15556 * progmodes/verilog-mode.el (verilog-pretty-expr):
15557 Rework verilog-pretty-expr to handle new assignment operators in system
15558 verilog, such as += *= and the like.
15559 (verilog-assignment-operator-re): Regular expression to find the
15560 assigment operator in a verilog assignment.
15561 (verilog-assignment-operation-re): Regular expression to find an
15562 assignment statement for pretty-expr.
15563 (verilog-in-attribute-p): Query returns true if point is in an
15564 attribute context; used to skip these for expression line up from
15565 pretty-expr.
15566 (verilog-in-parameter-p): Query returns true if point is in an
15567 parameter definition context; used to skip these for expression
15568 line up from pretty-expr.
15569 (verilog-in-parenthesis-p): Query returns true if point is in a
15570 parenthetical expression, specifically ( ) but not [ ] or { };
15571 used by pretty-expr.
15572 (verilog-just-one-space): If there is no space, don't add one.
15573 (verilog-get-lineup-indent-2): Specifically skip just attribute
15574 contexts for expression lineup, rather than skipping all
15575 parenthetical expressions.
15576 (verilog-calculate-indent): Fix comment, and fix indent.
15577 (verilog-do-indent): Indent declarations in lists (suggested by
15578 Joachim Lechner).
15579 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15580 skeleton items.
15581 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15582 by Alain Mellan).
15583
15584 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15585
15586 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15587 parameters with embedded comments. Reported by Ray Stevens.
15588 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15589 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15590 Reported by Tim Holt.
15591 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15592 instantiated by upper module causing wrong expansion until AUTOed a
15593 second time. Reported by K C Buckenmaier.
15594 (verilog-diff-auto): Fix showing .* as a difference when
15595 `verilog-auto-star-save' off. Reported by Dan Dever.
15596 (verilog-auto-reset, verilog-read-always-signals)
15597 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15598 temporary signals in reset list if
15599 verilog-auto-reset-blocking-in-non is nil, and match assignment
15600 style to each signal's assignment type, bug381.
15601 Reported by Thomas Esposito.
15602 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15603 (verilog-uvm-statement-re): Support UVM indentation and
15604 highlighting, with old OVM keywords only.
15605 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15606 Support AUTOTIEOFF creating non-wire data types.
15607 Suggested by Jonathan Greenlaw.
15608 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15609 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15610 (verilog-inject-sense, verilog-read-inst-pins)
15611 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15612 Fix mismatching parenthesis inside commented out code when deleting
15613 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15614 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15615 non-numeric vector width. Reported by Alex Reed.
15616 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15617 detecting signals with parameter widths. Reported by Alex Reed.
15618 (verilog-auto-delete-trailing-whitespace):
15619 With `verilog-auto-delete-trailing-whitespace' remove trailing
15620 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15621 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15622 Fix verilog-scan-cache corruption when running user AUTO expansion
15623 hooks that call indentation routines.
15624 (verilog-simplify-range-expression): Fix typo ignoring lower case
15625 identifiers.
15626 (verilog-delete-auto): Fix delete-autos to also remove user created
15627 automatics, as long as they start with AUTO.
15628 (verilog-batch-diff-auto, verilog-diff-auto)
15629 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15630 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15631 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15632 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15633 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15634 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15635 is disabled and its cache will get corrupt, causing AUTOS not to
15636 expand. Instead use only -quick functions.
15637 (verilog-scan-region): Fix scanning over escaped quotes.
15638 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15639 (verilog-re-search-backward-quick)
15640 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15641 related functions now ignore strings, to fix misparsing of strings
15642 with magic comments embedded in them.
15643 (verilog-read-auto-template):
15644 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15645 Reported by Brad Dobbie.
15646 (verilog-read-auto-template):
15647 Fix 'verilog-auto-inst-template-numbers' with comments.
15648 Reported by Brad Dobbie.
15649 (verilog-auto-inst, verilog-auto-inst-param)
15650 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15651 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15652 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15653 debugging templates without merge conflicts, bug357.
15654 Reported by Brad Dobbie.
15655 (verilog-read-auto-template):
15656 Fix verilog-auto-inst-template-numbers with multiple templates.
15657 Reported by Brad Dobbie.
15658 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15659 abbrevs so user won't be asked to save.
15660 (verilog-read-auto-lisp-present): Fix to start at beginning of
15661 buffer in case called outside of verilog-auto.
15662 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15663 to "X-2". Reported by Matthew Myers.
15664 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15665 all inputs from module templates. Reported by Leith Johnson.
15666 (verilog-module-inside-filename-p): Fix locating programs as with
15667 modules.
15668 (verilog-auto-inst-port): Fix vl-width expressions when using
15669 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15670 (verilog-decls-get-regs, verilog-decls-get-signals,
15671 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15672 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15673 verilog-read-decls): Combine reg and wire structures into one var
15674 structure to represent SystemVerilog concepts.
15675 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15676 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15677 (verilog-auto-wire-type, verilog-insert-definition):
15678 Add verilog-auto-wire-type and AUTOLOGIC to support using
15679 SystemVerilog "logic" keyword instead of "wire"/"reg".
15680 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15681 to declares outputs that also have assignments (presumably in an
15682 ifdef or generate if so there's not a driver conflict).
15683 Reported by Matthew Myers.
15684 (verilog-auto-declare-nettype, verilog-insert-definition):
15685 Add verilog-auto-declare-nettype to fix declarations using
15686 `default_nettype none. Reported by Julian Gorfajn.
15687 (verilog-read-always-signals-recurse, verilog-read-decls)
15688 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15689 malformed end statement, bug325. Reported by Joshua Wise and
15690 Andrew Drake.
15691 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15692 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15693 when expanding .* in interfaces, bug320.
15694 Reported by Pierre-David Pfister.
15695 (verilog-read-module-name): Fix import statements between module
15696 name and open parenthesis, bug317.
15697 Reported by Pierre-David Pfister.
15698 (verilog-simplify-range-expression): Fix simplification of
15699 multiplications inside AUTOWIRE connections, bug303.
15700 (verilog-auto-inst-port): Support parameter expansion in
15701 multidimensional arrays.
15702 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15703 after "assert property". Reported by Julian Gorfajn.
15704 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15705 with multiplication, bug303.
15706 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15707 Reported by Jan Frode Lonnum.
15708
15709 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15710
15711 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15712 (hfy-shell-file-name, hfy-shell):
15713 * international/fontset.el (x-decompose-font-name): Fix typos.
15714
15715 2011-11-29 Ken Brown <kbrown@cornell.edu>
15716
15717 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15718 (gdb-version): Remove defvar.
15719 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15720 (gdb-gud-context-command, gdb-non-stop-handler)
15721 (gdb-current-context-command, gdb-stopped): Use it.
15722 (gdb-init-1): Enable pretty printing here.
15723 (gdb-non-stop-handler): Don't enable pretty-printing here.
15724 Check to see if the target supports non-stop mode; if not, turn off
15725 non-stop mode. Use the following.
15726 (gdb-check-target-async): New defun.
15727 (gud-watch, gdb-stopped): Fix whitespace.
15728 (gdb-get-source-file): Don't try to display the source file if
15729 `gdb-main-file' is nil.
15730
15731 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15732
15733 * align.el: Try to generate fewer markers (bug#10047).
15734 (align--set-marker): New macro.
15735 (align-region): Use it.
15736
15737 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15738
15739 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15740
15741 2011-11-29 Chong Yidong <cyd@gnu.org>
15742
15743 * indent.el (indent-for-tab-command, indent-according-to-mode):
15744 Doc fix.
15745 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15746
15747 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15748
15749 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15750 aware of remote file names. (Bug#10124)
15751
15752 2011-11-29 Chong Yidong <cyd@gnu.org>
15753
15754 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15755
15756 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15757
15758 * files.el (find-file): Don't use force-same-window (bug#10144).
15759 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15760 use pop-to-buffer if the selected window can't be used.
15761 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15762
15763 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15764
15765 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15766 special-mode-map.
15767
15768 2011-11-28 Chong Yidong <cyd@gnu.org>
15769
15770 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15771
15772 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15773
15774 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15775 gdb-get-source-file-list on gdb-create-source-file-list.
15776
15777 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15778
15779 * whitespace.el (whitespace-newline): Use a different foreground
15780 color for 16-color light-background displays.
15781
15782 2011-11-24 Chong Yidong <cyd@gnu.org>
15783
15784 * window.el (display-buffer--special-action): Doc fix.
15785
15786 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15787
15788 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15789 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15790 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15791 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15792 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15793 (avl-tree-stack-first):
15794 * emacs-lisp/cconv.el (cconv--analyse-use):
15795 * net/gnutls.el (gnutls-negotiate): Fix typos.
15796
15797 2011-11-24 Glenn Morris <rgm@gnu.org>
15798
15799 * lpr.el (lpr-windows-system, lpr-lp-system):
15800 * mail/binhex.el (binhex-begin-line):
15801 * progmodes/grep.el (grep-history, grep-find-history):
15802 * textmodes/flyspell.el:
15803 * vc/pcvs-defs.el (cvs-global-menu):
15804 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15805 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15806 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15807
15808 * net/tls.el: Fix case of "GnuTLS".
15809
15810 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15811
15812 * version.el (emacs-build-system): Give it a doc-string.
15813
15814 2011-11-24 Juri Linkov <juri@jurta.org>
15815
15816 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15817
15818 2011-11-24 Glenn Morris <rgm@gnu.org>
15819
15820 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15821 if called on a non-mime message just toggle the headers. (Bug#8006)
15822
15823 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15824
15825 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15826 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15827 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15828 (allout-rebullet-heading, allout-open-sibtopic)
15829 (allout-toggle-current-subtree-encryption)
15830 (allout-toggle-subtree-encryption, allout-encrypt-string)
15831 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15832 (allout-distinctive-bullets-string, allout-auto-activation):
15833 * window.el (window-normalize-buffer-to-display):
15834 * progmodes/verilog-mode.el (verilog-batch-indent):
15835 * textmodes/bibtex.el (bibtex-field-braces-opt)
15836 (bibtex-field-strings-opt):
15837 * vc/cvs-status.el (cvs-tree-merge):
15838 Fix typos.
15839
15840 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15841
15842 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15843 `non-essential' to t, in order to avoid remote connections.
15844
15845 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15846
15847 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15848 On MS-DOS and MS-Windows, compare with loaddefs.el
15849 case-insensitively.
15850
15851 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15852
15853 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15854
15855 2011-11-23 Glenn Morris <rgm@gnu.org>
15856
15857 * paths.el (rmail-file-name): Reformat the doc-string so that it
15858 is picked up.
15859
15860 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15861 (rmail-auto-file): Ignore case in the "special" field names,
15862 as mail-fetch-field does for all others.
15863
15864 * mail/rmail.el (rmail-forward):
15865 * mail/rmailkwd.el (rmail-set-label):
15866 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15867 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15868
15869 * mail/rmail.el (rmail-current-message): Doc fix.
15870
15871 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15872
15873 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15874
15875 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15876
15877 2011-11-22 Glenn Morris <rgm@gnu.org>
15878
15879 * mail/rmailmm.el (test-rmail-mime-handler)
15880 (test-rmail-mime-bulk-handler)
15881 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15882
15883 2011-11-21 Juri Linkov <juri@jurta.org>
15884
15885 * calc/calc.el (calc-read-key-sequence):
15886 Let-bind `input-method-function' to nil. (Bug#10018)
15887
15888 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15889
15890 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15891 Tell the caller that the next line needs recomputation, even
15892 though it doesn't start a sexp (bug#10094).
15893
15894 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15895
15896 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15897
15898 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15899
15900 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15901 Use force-same-window.
15902
15903 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15904
15905 * descr-text.el (describe-char-unicode-data):
15906 * json.el (json-string-escape):
15907 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15908 (Footnote-unicode, Footnote-style-p):
15909 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15910
15911 2011-11-20 Chong Yidong <cyd@gnu.org>
15912
15913 * window.el (replace-buffer-in-windows): Restore interactive spec.
15914
15915 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15916
15917 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15918
15919 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15920 (byte-compile-global-not-obsolete-vars): New var.
15921 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15922 Use it.
15923 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15924
15925 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15926
15927 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15928 * progmodes/pascal.el (electric-pascal-equal):
15929 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15930 * xml.el (xml-substitute-special): Fix typos.
15931
15932 2011-11-20 Glenn Morris <rgm@gnu.org>
15933
15934 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15935 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15936 Doc fixes.
15937 (rmail-decode-mime-charset): Mark as obsolete.
15938
15939 * mail/rmailsum.el (rmail-message-regexp-p-1):
15940 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15941 Before using mime functions, check they are set. (Bug#10077)
15942
15943 2011-11-19 Juri Linkov <juri@jurta.org>
15944
15945 * info.el (Info-finder-find-node): Use `package--builtins' instead
15946 of `package-alist'. Use node names formed by the pattern "Keyword "
15947 and the keyword name.
15948
15949 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15950
15951 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15952
15953 2011-11-19 Juri Linkov <juri@jurta.org>
15954
15955 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15956 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15957 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15958 `old-history', `old-history-forward'. Add let-binding
15959 `window-selected'. Remove calls to `kill-buffer',
15960 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15961 before calling `Info-find-node', so `Info-find-node-2' will reread
15962 the Info file. Restore window positions only when `window-selected'
15963 is non-nil.
15964
15965 2011-11-19 Juri Linkov <juri@jurta.org>
15966
15967 * isearch.el (isearch-lazy-highlight-new-loop):
15968 Remove condition `(not isearch-error)'. (Bug#9918)
15969
15970 * misearch.el (multi-isearch-search-fun): Add condition
15971 `(not bound)' to ignore lazy-highlighting search.
15972 Add the search-failed message "end of multi" when the end of
15973 multi-sequence is reached. Uncapitalize the search-failed
15974 message "Repeat for next buffer".
15975
15976 * info.el (Info-search): Add the search-failed message
15977 "end of the manual" when the end of the manual is reached
15978 in Isearch mode.
15979
15980 2011-11-19 Juri Linkov <juri@jurta.org>
15981
15982 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15983 Use non-destructive `remove' instead of `delete' because
15984 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15985 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15986
15987 2011-11-19 Juri Linkov <juri@jurta.org>
15988
15989 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15990 to nil instead of binding `search-ring' and `regexp-search-ring'.
15991 (Bug#9185)
15992
15993 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15994
15995 * simple.el (line-move): Force movement by logical lines for any
15996 hscrolled window, not only when auto-hscroll-mode is on.
15997 (line-move-visual): Update doc string to that effect. (Bug#10076)
15998
15999 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16000
16001 * language/european.el (macintosh): Define as alias for mac-roman.
16002
16003 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16004
16005 * mail/rmailmm.el (rmail-mime-display-header)
16006 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16007 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16008 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16009 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16010 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16011 of a raw aref.
16012 (rmail-mime-entity-segment): To get past the tagline, move forward
16013 2 more lines, to account for the 2 empty lines that precede and
16014 follow the line with the buttons.
16015 (rmail-mime-update-tagline): Move one more line, to get past the
16016 empty line that follows the buttons in the tagline. (Bug#9520)
16017
16018 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16019
16020 * window.el (window-max-delta-1, window-min-delta-1)
16021 (window-min-size-1, window-state-get-1, window-state-put-1)
16022 (window-state-put-2): Use "window--" prefix.
16023
16024 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16025
16026 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16027 (smie-warning-count): New var.
16028 (smie-set-prec2tab): Use it.
16029 (smie-bnf->prec2): Improve warnings. Add docstring.
16030 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16031 (smie-bnf--set-class): New function.
16032 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16033 corner case.
16034
16035 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16036 (compilation-error-properties, compilation-move-to-column):
16037 Handle compilation-first-column while in the target buffer.
16038
16039 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16040 Don't hardcode point-min==1.
16041
16042 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16043 (eshell-rewrite-for-command): Remove workaround.
16044 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16045 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16046 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16047
16048 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16049
16050 2011-11-17 Glenn Morris <rgm@gnu.org>
16051
16052 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16053 Ignore buffer-local generated-autoload-file if it is the same
16054 as the global value. (Bug#10049)
16055
16056 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16057
16058 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16059 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16060 (reftex-toc-previous-heading, reftex-toc-max-level)
16061 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16062 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16063 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16064 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16065 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16066 (reftex-toc-rename-label, reftex-toc-visit-location)
16067 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16068 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16069 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16070 leaving "*toc*" only for references to the buffer.
16071
16072 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16073
16074 * window.el (window-resize, delete-window, split-window):
16075 Replace window-splits by window-combination-resize.
16076 * cus-start.el (window-splits): Replace by window-combination-resize.
16077
16078 2011-11-17 Glenn Morris <rgm@gnu.org>
16079
16080 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16081 Make bash entry derive from sh entry, not shell entry.
16082
16083 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16084
16085 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16086 local file name.
16087
16088 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16089
16090 * menu-bar.el (menu-bar-file-menu):
16091 * printing.el (pr-ps-utility):
16092 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16093 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16094 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16095 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16096 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16097 (icalendar--convert-cyclic-to-ical)
16098 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16099 (icalendar--convert-ical-to-diary)
16100 (icalendar--convert-recurring-to-diary)
16101 (icalendar--convert-non-recurring-all-day-to-diary)
16102 (icalendar-import-format-sample):
16103 * progmodes/idlw-shell.el (idlwave-shell-mode):
16104 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16105 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16106 (vhdl-ps-print-init): Fix typos.
16107
16108 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16109
16110 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16111 FSF and collapse date sequence, obscure author/maintainer email address
16112 better, remove extra version line, track relocation of author's webpage.
16113
16114 * progmodes/python.el (python-pdbtrack-input-prompt)
16115 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16116 regular python pdb prompts. Adjustments shamelessly taken exactly as
16117 suggested in EmacsWiki page (tiny change):
16118 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16119
16120 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16121
16122 * expand.el (expand-pos, expand-index, expand-point):
16123 Remove redundant info from docstring.
16124 (expand-add-abbrevs): Doc fix.
16125 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16126 (expand-sample-perl-mode-expand-list): Fix typos.
16127
16128 * net/dbus.el (dbus-event-member-name):
16129 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16130 * term/pc-win.el (msdos-create-frame-with-faces):
16131 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16132
16133 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16134
16135 * window.el (split-window, window-state-get-1)
16136 (window-state-put-1, window-state-put-2): Rename occurrences of
16137 window-nest to window-combination-limit.
16138 * cus-start.el (window-nest): Rename to window-combination-limit.
16139
16140 2011-11-16 Chong Yidong <cyd@gnu.org>
16141
16142 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16143 regexp (Bug#10033).
16144
16145 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16146
16147 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16148 `completing-read' will remove *Completions* and will preserve
16149 current-buffer for us.
16150 (tmm-add-prompt): Users of *Completions* will always (re)set its
16151 major mode.
16152 (tmm-old-comp-map): Remove.
16153
16154 2011-11-16 Glenn Morris <rgm@gnu.org>
16155
16156 * mail/rmailedit.el: Require rmailmm when compiling.
16157 (rmail-old-mime-state): New declaration.
16158 (rmail-edit-current-message): If editing a mime message,
16159 edit the "raw" message from the mbox buffer.
16160 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16161
16162 2011-11-15 Glenn Morris <rgm@gnu.org>
16163
16164 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16165 which wasn't being used. Add optional arg to force given state.
16166 (rmail-mime): Add optional arg to force given state.
16167
16168 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16169
16170 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16171 * frame.el (display-mm-dimensions-alist):
16172 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16173 (outline-move-subtree-down):
16174 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16175 (newsticker--treeview-do-get-node):
16176 * net/quickurl.el (quickurl-list-buffer-name):
16177 * progmodes/dcl-mode.el (dcl-mode):
16178 * progmodes/gdb-mi.el (gdb-mapcar*):
16179 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16180
16181 2011-11-15 Glenn Morris <rgm@gnu.org>
16182
16183 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16184 in a boolean sense, so just make it a boolean, and fix the doc.
16185 (rmail-show-mime-function, rmail-mime-feature)
16186 (rmail-require-mime-maybe): Doc fixes.
16187 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16188
16189 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16190
16191 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16192
16193 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16194 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16195 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16196 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16197
16198 2011-11-15 Glenn Morris <rgm@gnu.org>
16199
16200 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16201 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16202 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16203 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16204 (rmail-mime, rmail-show-mime): Doc fixes.
16205
16206 * term/ns-win.el (mode-line-frame-identification):
16207 Leave it alone. (Bug#10051)
16208
16209 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16210
16211 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16212 Handle empty buffers. (Bug#9978)
16213
16214 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16215
16216 * international/mule.el (define-charset):
16217 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16218 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16219 * progmodes/verilog-mode.el (verilog-backward-token):
16220 * textmodes/ispell.el (lookup-words):
16221 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16222
16223 2011-11-14 Glenn Morris <rgm@gnu.org>
16224
16225 * progmodes/executable.el
16226 (executable-make-buffer-file-executable-if-script-p):
16227 Handle file-modes returning nil.
16228
16229 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16230 message - not necessary, and causes problems. (Bug#9831)
16231
16232 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16233
16234 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16235
16236 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16237 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16238 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16239
16240 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16241
16242 * window.el (window-resize, delete-window): Use window-splits
16243 variable instead of function.
16244 (window-state-get-1, window-state-put-2, window-state-put):
16245 Don't deal with windows' splits status.
16246
16247 2011-11-12 Glenn Morris <rgm@gnu.org>
16248
16249 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16250 (apropos-documentation): Doc fixes.
16251
16252 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16253
16254 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16255 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16256
16257 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16258
16259 * electric.el (electric-indent-post-self-insert-function): Make it
16260 possible for a char to only indent in some circumstances.
16261 (electric-indent-mode): Simplify.
16262
16263 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16264
16265 * window.el (windows-with-parameter): Remove unused function.
16266 (windows-at-side): Rename to window-at-side-list.
16267 (window-check, window-atom-check, window-atom-check-1)
16268 (window-side-check, window-size-ignore, window-size-fixed-1)
16269 (window-in-direction-2): Prefix with "window--".
16270 (window-tree-1): Rename to window--subtree, fix doc-string.
16271
16272 2011-11-11 Glenn Morris <rgm@gnu.org>
16273
16274 * subr.el (eval-after-load): If FILE is already loaded,
16275 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16276
16277 2011-11-10 Glenn Morris <rgm@gnu.org>
16278
16279 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16280 Call svn via vc-svn-command rather than vc-do-command.
16281 (vc-svn-command): Add --non-interactive. (Bug#9993)
16282 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16283
16284 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16285 Add toggle-read-only. (Bug#7292)
16286 * files.el (toggle-read-only): Mention that it should only
16287 be used interactively. (Bug#10006)
16288
16289 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16290
16291 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16292 Adjust regexp for OCaml warnings.
16293
16294 * electric.el (electric-pair-post-self-insert-function): Let user
16295 turn it off buffer-locally (bug#9932).
16296
16297 * progmodes/python.el (python-beginning-of-statement):
16298 Rewrite (bug#2703).
16299
16300 * progmodes/compile.el: Better handle TABs (bug#9749).
16301 (compilation-internal-error-properties)
16302 (compilation-next-error-function): Obey the target buffer's
16303 compilation-error-screen-columns.
16304
16305 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16306
16307 * progmodes/meta-mode.el: Remove obsolete comments.
16308 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16309 Fix typos in docstrings.
16310
16311 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16312
16313 * window.el (window-size-fixed-p): Rewrite doc-string.
16314 (window-resizable-p): Rename to window--resizable-p. Update callers.
16315 (window--resizable): New function. Make all callers of
16316 window-resizable call window--resizable instead.
16317 (window-resizable): Rewrite in terms of window--resizable.
16318
16319 2011-11-08 Glenn Morris <rgm@gnu.org>
16320
16321 * progmodes/delphi.el (delphi-mode-syntax-table):
16322 Let define-derived-mode define a proper syntax table. (Bug#9994)
16323
16324 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16325
16326 * window.el: Stay away from defsubst.
16327 (window-list-no-nils): Remove.
16328 (window-state-get-1, window-state-get): Use backquote instead.
16329
16330 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16331
16332 * emacs-lisp/find-func.el (find-function-read):
16333 Fix incorrect use of default argument in `completing-read'.
16334
16335 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16336
16337 * window.el (display-buffer-function, special-display-function):
16338 Mention display-buffer-record-window but do not mention
16339 help-setup parameter in doc-strings.
16340 (window-min-delta): Fix doc-string typo.
16341
16342 2011-11-08 Chong Yidong <cyd@gnu.org>
16343
16344 * window.el (window-total-height, window-total-width): Doc fix.
16345 (window-body-size): Move from C.
16346 (window-body-height, window-body-width): Move to C.
16347
16348 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16349
16350 * window.el: Make special-display like display-buffer-alist (bug#9532).
16351 (display-buffer--special-action): New function, morphed
16352 from display-buffer--special.
16353 (display-buffer): Use it to handle special-display-buffers at higher
16354 priority (just after display-buffer-alist).
16355 (display-buffer-fallback-action, display-buffer--other-frame-action)
16356 (pop-to-buffer-same-window): Remove display-buffer--special.
16357
16358 2011-11-07 Glenn Morris <rgm@gnu.org>
16359
16360 * calendar/cal-menu.el (cal-menu-set-date-title):
16361 Do nothing if not in a calendar. (Bug#9976)
16362
16363 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16364
16365 * files.el (find-file): Always use selected-window.
16366
16367 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16368
16369 * window.el (window-combinations): Make WINDOW argument
16370 mandatory. Rewrite doc-string.
16371 (walk-window-subtree, window-atom-check, window-min-delta)
16372 (window-max-delta, window--resize-this-window)
16373 (window--resize-root-window-vertically, window-tree)
16374 (balance-windows, window-state-put): Rewrite doc-strings as to
16375 not mention the term "subwindow".
16376 (window--resize-subwindows-skip-p): Rename to
16377 window--resize-child-windows-skip-p.
16378 (window--resize-subwindows-normal): Rename to
16379 window--resize-child-windows-normal.
16380 (window--resize-subwindows): Rename to
16381 window--resize-child-windows.
16382 (window-or-subwindow-p): Rename to window--in-subtree-p.
16383
16384 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16385
16386 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16387 Ensure that mbox format messages end in two newlines (Bug#9974).
16388
16389 2011-11-06 Chong Yidong <cyd@gnu.org>
16390
16391 * window.el (window-combination-p): Function deleted; its
16392 side-effect is not used in any existing code.
16393 (window-combinations, window-combined-p): Call window-*-child
16394 directly.
16395
16396 2011-11-05 Chong Yidong <cyd@gnu.org>
16397
16398 * window.el (window-valid-p): Rename from window-any-p.
16399 (window-size-ignore, window-state-get): Callers changed.
16400 (window-normalize-window): Rename from window-normalize-any-window.
16401 New arg LIVE-ONLY, replacing window-normalize-live-window.
16402 (window-normalize-live-window): Delete.
16403 (window-combination-p, window-combined-p, window-combinations)
16404 (walk-window-subtree, window-atom-root, window-min-size)
16405 (window-sizable, window-sizable-p, window-size-fixed-p)
16406 (window-min-delta, window-max-delta, window-resizable)
16407 (window-resizable-p, window-full-height-p, window-full-width-p)
16408 (window-current-scroll-bars, window-point-1, set-window-point-1)
16409 (window-at-side-p, window-in-direction, window-resize)
16410 (adjust-window-trailing-edge, maximize-window, minimize-window)
16411 (window-deletable-p, delete-window, delete-other-windows)
16412 (record-window-buffer, unrecord-window-buffer)
16413 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16414 (quit-window, split-window, window-state-put)
16415 (set-window-text-height, fit-window-to-buffer)
16416 (shrink-window-if-larger-than-buffer): Callers changed.
16417
16418 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16419
16420 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16421 rfc2047-decode-string.
16422 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16423 warnings.
16424
16425 * window.el (window-body-height, window-body-width): Mention in
16426 the doc string that the return values are in frame's canonical
16427 units. (Bug#9949)
16428
16429 2011-11-03 Alan Mackenzie <acm@muc.de>
16430
16431 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16432 change in cc-engine.el.
16433
16434 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16435
16436 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16437
16438 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16439
16440 * window.el (quit-window): Call unrecord-window-buffer after
16441 showing another buffer in the window. (Bug#9937)
16442 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16443
16444 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16445
16446 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16447 Accept status with more than 9 shelves. (Bug#9935)
16448 Reported by Colin D Bennett <colin@gibibit.com>.
16449
16450 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16451
16452 * help.el (with-help-window): Don't reference
16453 temp-buffer-show-specifiers in doc-string.
16454
16455 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16456
16457 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16458 menu-item.
16459
16460 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16461
16462 * whitespace.el: New version 13.2.2.
16463 (whitespace-newline-mode): Disable properly. Reported by Sarah
16464 <EmacsWiki>.
16465
16466 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16467
16468 * net/newst-treeview.el: Remove "Time-stamp".
16469 (newsticker--group-manage-orphan-feeds): Do not call
16470 newsticker--treeview-tree-update.
16471 (newsticker-treeview-update, newsticker-treeview):
16472 Call newsticker--treeview-tree-update if necessary.
16473
16474 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16475
16476 * window.el (window-iso-combination-p, window-iso-combined-p)
16477 (window-iso-combinations): Remove "iso-" infix.
16478 Suggested by Chong Yidong.
16479 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16480 (window-max-delta-1, window-resize, window--resize-siblings)
16481 (window--resize-this-window, adjust-window-trailing-edge)
16482 (split-window, balance-windows-1)
16483 (shrink-window-if-larger-than-buffer):
16484 * calendar/calendar.el (calendar-generate-window):
16485 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16486
16487 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16488
16489 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16490 in place (bug#9907).
16491 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16492 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16493 (eshell-structure-basic-command, eshell-rewrite-while-command)
16494 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16495 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16496 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16497 (eshell-do-pipelines-synchronously, eshell-eval-command):
16498 Use backquotes and prefer setq to set.
16499 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16500 (eshell-macrop): Use functionp.
16501 (eshell-do-eval): Handle multiple expressions in `while' body.
16502
16503 2011-10-30 Chong Yidong <cyd@gnu.org>
16504
16505 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16506 instead of set-mark (Bug#9810).
16507
16508 2011-10-30 Chong Yidong <cyd@gnu.org>
16509
16510 * window.el (split-window-below, split-window-right): Rename from
16511 split-window-above-each-other and split-window-side-by-side
16512 respectively. All callers changed.
16513 (split-window-sensibly, split-window-sensibly): Use them.
16514 (split-window-keep-point): Doc fix.
16515
16516 * isearch.el: Add isearch-scroll property to split-window-below
16517 and split-window-right.
16518
16519 * follow.el (follow-mode):
16520 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16521 * progmodes/ada-xref.el (ada-gdb-application):
16522 * emulation/vip.el (vip-buffer-in-two-windows):
16523 * image-dired.el (image-dired-dired-with-window-configuration):
16524 * dired-x.el (dired-do-find-marked-files):
16525 * dired.el (dired-pop-to-buffer):
16526 * bs.el (bs--show-with-configuration):
16527 * vc/emerge.el (emerge-setup-windows):
16528 * textmodes/two-column.el (2C-two-columns):
16529 * textmodes/reftex-toc.el (reftex-toc):
16530 * progmodes/gdb-mi.el (gdb-setup-windows):
16531 * progmodes/fortran.el (fortran-window-create):
16532 * net/newst-treeview.el (newsticker--treeview-window-init):
16533 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16534 * emulation/tpu-edt.el (tpu-gold-map):
16535 * emulation/crisp.el (crisp-mode-map):
16536 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16537
16538 2011-10-29 Chong Yidong <cyd@gnu.org>
16539
16540 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16541
16542 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16543
16544 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16545 forged Ispell output (Bug#7904).
16546
16547 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16548
16549 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16550
16551 * doc-view.el: Avoid ugly errors about not finding nil.
16552 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16553 (doc-view-dvipdf-program, doc-view-unoconv-program)
16554 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16555 Avoid nil or absolute file name as default value.
16556 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16557
16558 2011-10-28 Alan Mackenzie <acm@muc.de>
16559
16560 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16561
16562 2011-10-28 Alan Mackenzie <acm@muc.de>
16563
16564 Amend the handling of c-beginning/end-of-defun in nested declaration
16565 scopes.
16566
16567 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16568 cc-langs.el. Change it to a defcustom.
16569
16570 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16571 cc-vars.el.
16572
16573 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16574 Prevent "class foo : bar" being spuriously recognized as a label.
16575
16576 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16577 Add parameter `inclusive' (to include enclosing braces in the region).
16578 (c-widen-to-enclosing-decl-scope): New function.
16579 (c-while-widening-to-decl-block): New macro.
16580 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16581 outward for defun boundaries, and correspondingly change symbol
16582 `respect-enclosure' to `go-outward'.
16583 (c-declaration-limits): Change algorithm to report only the "innermost"
16584 defun's boundaries.
16585
16586 2011-10-28 Deniz Dogan <deniz@dogan.se>
16587
16588 * net/rcirc.el (rcirc-mode): Use hard newlines.
16589
16590 2011-10-28 Alan Mackenzie <acm@muc.de>
16591
16592 Amend to indent and fontify macros "which include their own semicolon"
16593 correctly, using the "virtual semicolon" mechanism.
16594
16595 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16596
16597 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16598 Recode to scan one line at a time rather than having \n and \r
16599 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16600 (c-forward-label): Amend for virtual semicolons.
16601 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16602
16603 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16604 of the new C macros.
16605
16606 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16607 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16608 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16609 (c-opt-cpp-macro-define): Make into a full language variable.
16610 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16611 AWK Mode (including \n, \r) removed, no longer needed.
16612
16613 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16614 Invoke c-make-macro-with-semi-re.
16615
16616 * progmodes/cc-vars.el (c-macro-with-semi-re):
16617 (c-macro-names-with-semicolon): New variables.
16618 (c-make-macro-with-semi-re): New function.
16619
16620 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16621
16622 * vc/log-edit.el: Fill empty field rather than adding new one.
16623 (log-edit-add-field): New function.
16624 (log-edit-insert-changelog): Use it.
16625
16626 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16627
16628 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16629
16630 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16631
16632 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16633 (gdb--check-interpreter): New function.
16634 (gdb): Use it.
16635
16636 2011-10-27 Glenn Morris <rgm@gnu.org>
16637
16638 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16639 (least-positive-float, least-negative-float)
16640 (least-positive-normalized-float, least-negative-normalized-float)
16641 (float-epsilon, float-negative-epsilon):
16642 Remove unnecessary declarations.
16643
16644 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16645 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16646 (least-positive-float, least-negative-float)
16647 (least-positive-normalized-float, least-negative-normalized-float)
16648 (float-epsilon, float-negative-epsilon): Add doc-strings,
16649 based on those in cl.texi.
16650
16651 * files.el (set-visited-file-name): If the major-mode changed,
16652 reload the local variables. (Bug#9796)
16653
16654 2011-10-27 Chong Yidong <cyd@gnu.org>
16655
16656 * subr.el (change-major-mode-after-body-hook): New hook.
16657 (run-mode-hooks): Run it.
16658
16659 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16660 Use change-major-mode-before-body-hook.
16661
16662 * simple.el (fundamental-mode):
16663 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16664 change introducing fundamental-mode-hook.
16665
16666 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16667
16668 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16669
16670 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16671
16672 * ido.el (ido-file-name-all-completions-1): Do not require
16673 tramp.el explicitly. (Bug#7583)
16674
16675 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16676
16677 * progmodes/octave-mod.el:
16678 * progmodes/octave-inf.el: Update maintainer.
16679
16680 2011-10-26 Chong Yidong <cyd@gnu.org>
16681
16682 * subr.el (with-wrapper-hook): Rewrite doc.
16683
16684 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16685
16686 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16687 filenames "/method:foo:". (Bug#9793)
16688
16689 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16690
16691 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16692 (bug#9865).
16693
16694 2011-10-24 Glenn Morris <rgm@gnu.org>
16695
16696 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16697
16698 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16699
16700 * notifications.el: Add the requirement of a running D-Bus session
16701 bus to the Commentary.
16702
16703 2011-10-24 Juri Linkov <juri@jurta.org>
16704
16705 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16706 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16707 (Bug#9364)
16708
16709 2011-10-24 Juri Linkov <juri@jurta.org>
16710
16711 * info.el (Info-following-node-name-re): Add newline to the list
16712 of allowed characters for leading space. (Bug#9824)
16713
16714 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16715
16716 * progmodes/octave-inf.el (inferior-octave-mode-map):
16717 Fix C-c C-h binding.
16718 * progmodes/octave-mod.el (octave-help): Remove.
16719
16720 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16721
16722 Sync with Tramp 2.2.3.
16723
16724 * net/tramp-cache.el (top): Pacify byte-compiler using
16725 `init-file-user' and `site-run-file'.
16726
16727 * net/trampver.el: Update release number.
16728
16729 2011-10-23 Chong Yidong <cyd@gnu.org>
16730
16731 * files.el (toggle-read-only): Remove obsolete comment about
16732 version control.
16733
16734 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16735 for toggle-read-only. Note that this hasn't called vc-next-action
16736 since 2008-05-02, though it wasn't documented at the time.
16737
16738 * vc/ediff-init.el (ediff-toggle-read-only-function):
16739 Use toggle-read-only.
16740
16741 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16742
16743 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16744 of c-parse-state.
16745
16746 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16747 correct faulty logical expression.
16748 (c-parse-state-state, c-record-parse-state-state):
16749 (c-replay-parse-state-state): New defvar/defuns.
16750 (c-debug-parse-state): Use new functions.
16751
16752 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16753
16754 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16755 last fix. Use window-in-direction correctly.
16756
16757 2011-10-21 Chong Yidong <cyd@gnu.org>
16758
16759 * progmodes/idlwave.el (idlwave-mode):
16760 * progmodes/vera-mode.el (vera-mode): No need to set
16761 require-final-newline; that's done in prog-mode.
16762 Suggested by Stefan Monnier.
16763
16764 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16765
16766 * mouse.el (mouse-drag-window-above)
16767 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16768 (mouse-drag-mode-line-1, mouse-drag-header-line)
16769 (mouse-drag-vertical-line-rightward-window): Remove.
16770 (mouse-drag-line): New function.
16771 (mouse-drag-mode-line, mouse-drag-header-line)
16772 (mouse-drag-vertical-line): Call mouse-drag-line.
16773 * window.el (window-at-side-p, windows-at-side): New functions.
16774
16775 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16776
16777 * tar-mode.el (tar-grind-file-mode):
16778 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16779
16780 2011-10-21 Chong Yidong <cyd@gnu.org>
16781
16782 * progmodes/idlwave.el (idlwave-mode):
16783 * progmodes/vera-mode.el (vera-mode):
16784 Use mode-require-final-newline.
16785
16786 2011-10-20 Glenn Morris <rgm@gnu.org>
16787
16788 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16789
16790 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16791
16792 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16793
16794 2011-10-20 Chong Yidong <cyd@gnu.org>
16795
16796 * emulation/cua-base.el (cua-mode):
16797 * mail/footnote.el (footnote-mode):
16798 * mail/mailabbrev.el (mail-abbrevs-mode):
16799 * net/xesam.el (xesam-minor-mode):
16800 * progmodes/bug-reference.el (bug-reference-mode):
16801 * progmodes/cap-words.el (capitalized-words-mode):
16802 * progmodes/compile.el (compilation-minor-mode)
16803 (compilation-shell-minor-mode):
16804 * progmodes/gud.el (gud-tooltip-mode):
16805 * progmodes/hideif.el (hide-ifdef-mode):
16806 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16807 * progmodes/subword.el (subword-mode):
16808 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16809 * progmodes/which-func.el (which-function-mode):
16810 * term/tvi970.el (tvi970-set-keypad-mode):
16811 * term/vt100.el (vt100-wide-mode):
16812 * textmodes/flyspell.el (flyspell-mode):
16813 * textmodes/ispell.el (ispell-minor-mode):
16814 * textmodes/nroff-mode.el (nroff-electric-mode):
16815 * textmodes/paragraphs.el (use-hard-newlines):
16816 * textmodes/refill.el (refill-mode):
16817 * textmodes/reftex.el (reftex-mode):
16818 * textmodes/rst.el (rst-minor-mode):
16819 * textmodes/sgml-mode.el (html-autoview-mode)
16820 (sgml-electric-tag-pair-mode):
16821 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16822 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16823 * emulation/crisp.el (crisp-mode):
16824 * emacs-lisp/eldoc.el (eldoc-mode):
16825 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16826 minor mode behavior.
16827
16828 2011-10-19 Juri Linkov <juri@jurta.org>
16829
16830 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16831 the list of hard-coded chars with escape-glyph face.
16832
16833 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16834
16835 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16836
16837 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16838
16839 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16840 running process.
16841
16842 2011-10-19 Glenn Morris <rgm@gnu.org>
16843
16844 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16845 Ignore ignored files. (Bug#9726)
16846
16847 2011-10-19 Chong Yidong <cyd@gnu.org>
16848
16849 Doc fix for minor modes, stating that an omitted argument enables
16850 the mode unconditionally when called from Lisp.
16851
16852 * abbrev.el (abbrev-mode):
16853 * allout.el (allout-mode):
16854 * autoinsert.el (auto-insert-mode):
16855 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16856 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16857 (global-auto-revert-mode):
16858 * battery.el (display-battery-mode):
16859 * composite.el (global-auto-composition-mode)
16860 (auto-composition-mode):
16861 * delsel.el (delete-selection-mode):
16862 * desktop.el (desktop-save-mode):
16863 * dired-x.el (dired-omit-mode):
16864 * dirtrack.el (dirtrack-mode):
16865 * doc-view.el (doc-view-minor-mode):
16866 * double.el (double-mode):
16867 * electric.el (electric-indent-mode, electric-pair-mode):
16868 * emacs-lock.el (emacs-lock-mode):
16869 * epa-hook.el (auto-encryption-mode):
16870 * follow.el (follow-mode):
16871 * font-core.el (font-lock-mode):
16872 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16873 * help.el (temp-buffer-resize-mode):
16874 * hilit-chg.el (highlight-changes-mode)
16875 (highlight-changes-visible-mode):
16876 * hi-lock.el (hi-lock-mode):
16877 * hl-line.el (hl-line-mode, global-hl-line-mode):
16878 * icomplete.el (icomplete-mode):
16879 * ido.el (ido-everywhere):
16880 * image-file.el (auto-image-file-mode):
16881 * image-mode.el (image-minor-mode):
16882 * iswitchb.el (iswitchb-mode):
16883 * jka-cmpr-hook.el (auto-compression-mode):
16884 * linum.el (linum-mode):
16885 * longlines.el (longlines-mode):
16886 * master.el (master-mode):
16887 * mb-depth.el (minibuffer-depth-indicate-mode):
16888 * menu-bar.el (menu-bar-mode):
16889 * minibuf-eldef.el (minibuffer-electric-default-mode):
16890 * mouse-sel.el (mouse-sel-mode):
16891 * msb.el (msb-mode):
16892 * mwheel.el (mouse-wheel-mode):
16893 * outline.el (outline-minor-mode):
16894 * paren.el (show-paren-mode):
16895 * recentf.el (recentf-mode):
16896 * reveal.el (reveal-mode, global-reveal-mode):
16897 * rfn-eshadow.el (file-name-shadow-mode):
16898 * ruler-mode.el (ruler-mode):
16899 * savehist.el (savehist-mode):
16900 * scroll-all.el (scroll-all-mode):
16901 * scroll-bar.el (scroll-bar-mode):
16902 * server.el (server-mode):
16903 * shell.el (shell-dirtrack-mode):
16904 * simple.el (auto-fill-mode, transient-mark-mode)
16905 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16906 (line-number-mode, column-number-mode, size-indication-mode)
16907 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16908 * strokes.el (strokes-mode):
16909 * time.el (display-time-mode):
16910 * t-mouse.el (gpm-mouse-mode):
16911 * tool-bar.el (tool-bar-mode):
16912 * tooltip.el (tooltip-mode):
16913 * type-break.el (type-break-mode-line-message-mode)
16914 (type-break-query-mode):
16915 * view.el (view-mode):
16916 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16917 (global-whitespace-mode, global-whitespace-newline-mode):
16918 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16919
16920 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16921 Fix autogenerated docstring.
16922
16923 2011-10-19 Juri Linkov <juri@jurta.org>
16924
16925 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16926 by checking environment variables "DESKTOP_SESSION" and
16927 "XDG_CURRENT_DESKTOP". (Bug#9779)
16928
16929 2011-10-19 Juri Linkov <juri@jurta.org>
16930
16931 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16932 (browse-url-chromium-program, browse-url-chromium-arguments):
16933 New defcustoms.
16934 (browse-url-default-browser): Check for `browse-url-chromium' and
16935 call `browse-url-chromium-program'.
16936 (browse-url-chromium): New command. (Bug#9779)
16937
16938 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16939
16940 * facemenu.el (list-colors-duplicates): On Windows, detect more
16941 duplicates by assuming that only colors matching "^System" are
16942 special "system colors". (Bug#9722)
16943
16944 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16945
16946 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16947 to distinguish the author from the committer.
16948
16949 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16950
16951 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16952
16953 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16954
16955 * international/mule.el (sgml-html-meta-auto-coding-function):
16956 Add support for detecting encoding in HTML5 specified only as
16957 <meta charset="UTF-8">. Implementation just makes http-equiv and
16958 content-type parts from HTML4 encoding string optional. (Bug#9716)
16959
16960 2011-10-18 Glenn Morris <rgm@gnu.org>
16961
16962 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16963
16964 2011-10-18 Chong Yidong <cyd@gnu.org>
16965
16966 * faces.el (cursor): Doc fix.
16967
16968 2011-10-17 Chong Yidong <cyd@gnu.org>
16969
16970 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16971
16972 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16973
16974 * dirtrack.el (dirtrack): Support shell buffers with path
16975 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16976
16977 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16978
16979 * json.el: Bump version to 1.3 and note change in History.
16980 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16981
16982 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16983
16984 * comint.el (comint-insert-input, comint-send-input)
16985 (comint-get-old-input-default, comint-backward-matching-input)
16986 (comint-next-prompt): Use nil instead of `input' for field property of
16987 past user input (bug#114).
16988
16989 * minibuffer.el (completion--replace): Inherit surrounding properties
16990 (bug#114).
16991 (minibuffer-complete-and-exit): Use it.
16992
16993 * comint.el (comint--table-subvert): Quote the all-completions output
16994 (bug#9160).
16995
16996 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16997
16998 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16999
17000 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17001 window on right of selected. (Bug#9350) Reword other window
17002 entries and separate them from frame entries.
17003
17004 2011-10-15 Glenn Morris <rgm@gnu.org>
17005
17006 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17007 Doc fixes.
17008
17009 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17010
17011 * net/network-stream.el (network-stream-open-starttls):
17012 Improve detection of failure due to lack of TLS support.
17013
17014 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17015 putting the input text in front and in bold.
17016
17017 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17018
17019 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17020
17021 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17022 empty buffer.
17023
17024 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17025 unread-command-events rather than pushing yet-another event.
17026
17027 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17028
17029 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17030 the explanation of the possible choices. Make the options passed
17031 to completing-read shorter.
17032
17033 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17034
17035 * textmodes/flyspell.el (flyspell-large-region): Make sure
17036 extended character mode is used if defined (Bug#1339).
17037
17038 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17039
17040 * simple.el (what-cursor-position): Fix the display of the
17041 character info for LRE, LRO, RLE, and RLO characters by appending
17042 an invisible PDF.
17043
17044 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17045
17046 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17047 even in case of error; add debug spec; simplify data flow.
17048 (with-timeout-handler): Remove.
17049
17050 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17051
17052 Fix Bug#6019, Bug#9315.
17053
17054 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17055 complete `buffer-file-name', the local file name part could look
17056 remotely (for example on VMS).
17057
17058 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17059 `tramp-run-real-handler'.
17060 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17061 already quoted by '"'.
17062
17063 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17064 Let `file-name-handler-alist' be nil, the local file name part
17065 could look remotely (for example on VMS).
17066
17067 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17068
17069 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17070 from here...
17071 (flyspell-post-command-hook): ...to here.
17072
17073 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17074
17075 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17076 if not needed.
17077 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17078 using completion. Protect against "slow" callers.
17079 Remove the "message hack".
17080
17081 2011-10-11 Juri Linkov <juri@jurta.org>
17082
17083 * isearch.el (isearch-lazy-highlight-word): New variable.
17084 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17085 Use it. (Bug#9727)
17086
17087 2011-10-11 Glenn Morris <rgm@gnu.org>
17088
17089 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17090 like f90-previous-statement does.
17091
17092 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17093
17094 * eshell/eshell.el (eshell-command): History should be saved
17095 only in interactive use, to avoid error.
17096
17097 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17098
17099 * minibuffer.el (completion-file-name-table): Fix last change,
17100 i.e. ignore normal errors but not the other ones.
17101
17102 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17103
17104 * window.el (special-display-buffer-names)
17105 (special-display-regexps): Remove some remnants of earlier
17106 changes from doc-strings.
17107 (quit-windows-on): New function.
17108
17109 * vc/vc.el (vc-revert, vc-rollback):
17110 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17111 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17112 (Bug#6183) (Bug#7074) (Bug#7447)
17113
17114 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17115
17116 * window.el (frame-auto-hide-function): Add version tag.
17117 (Bug#9699)
17118
17119 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17120
17121 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17122 condition.
17123
17124 2011-10-09 Leo Liu <sdl.web@gmail.com>
17125
17126 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17127 (Bug#9701)
17128
17129 2011-10-08 Glenn Morris <rgm@gnu.org>
17130
17131 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17132 before the first code statement zero indent. (Bug#9690)
17133
17134 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17135
17136 * simple.el (count-words-region): Always count in the region.
17137 Report the number of lines and characters too.
17138 (count-words): New command, which counts in the buffer if the
17139 region is inactive, as count-words-region used to.
17140 (count-words--message): New function. Handle plurals.
17141 (count-lines-region): Make it an alias for count-words-region.
17142
17143 * bindings.el (esc-map): Replace count-lines-region with
17144 count-words-region.
17145
17146 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17147
17148 * window.el (window--delete): Delete dedicated frame
17149 unconditionally when argument KILL is non-nil. (Bug#9699)
17150 (switch-to-buffer): Fix doc-string typo.
17151
17152 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17153
17154 * eshell/eshell.el (eshell-command): Avoid using hooks.
17155
17156 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17157
17158 * bindings.el ([M-left],[M-right]): Bind to left-word and
17159 right-word respectively.
17160
17161 2011-10-07 Glenn Morris <rgm@gnu.org>
17162
17163 * cus-start.el (debug-on-quit): Fix custom type.
17164
17165 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17166
17167 * subr.el (define-key-after): Clarify that the function is not
17168 useful for non-menu keymaps.
17169
17170 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17171
17172 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17173
17174 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17175 in current minibuffer (Fix bug with recursive minibuffers).
17176
17177 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17178
17179 * progmodes/gdb-mi.el (gdb): Doc fix.
17180
17181 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17182
17183 * window.el (frame-auto-hide-function): New option replacing
17184 frame-auto-delete. Suggested by Stefan Monnier.
17185 (window--delete): Call frame-auto-hide-function instead of
17186 investigating frame-auto-delete.
17187 (window-point-1, set-window-point-1): New functions.
17188 (window-in-direction, record-window-buffer, window-state-get-1)
17189 (display-buffer-record-window): Use window-point-1 instead of
17190 window-point.
17191 (set-window-buffer-start-and-point): Use set-window-point-1.
17192
17193 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17194
17195 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17196
17197 2011-10-05 Glenn Morris <rgm@gnu.org>
17198
17199 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17200 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17201
17202 2011-10-05 Leo Liu <sdl.web@gmail.com>
17203
17204 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17205 works with buffer object.
17206
17207 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17208
17209 * mpc.el (mpc-tool-bar-map): Add labels.
17210
17211 2011-10-04 Glenn Morris <rgm@gnu.org>
17212
17213 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17214
17215 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17216
17217 * window.el (window--delete): New function.
17218 (frame-auto-delete): Resuscitate option.
17219 (bury-buffer, replace-buffer-in-windows)
17220 (quit-window): Rewrite using window--delete.
17221 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17222 Pass display-buffer-mark-dedicated to window--display-buffer-2
17223 (Bug#9639).
17224
17225 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17226
17227 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17228 returns a list (bug#9554). Add remote file name completion.
17229 * comint.el (comint--table-subvert): Curry and get quote&unquote
17230 functions as arguments.
17231 (comint--complete-file-name-data): Adjust call accordingly.
17232 * pcomplete.el (pcomplete--table-subvert): Remove.
17233 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17234
17235 * minibuffer.el (completion-table-case-fold): Use currying.
17236 (completion--styles-type, completion--cycling-threshold-type):
17237 New constants.
17238 (completion-styles, completion-category-overrides)
17239 (completion-cycle-threshold): Use them.
17240 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17241 completion-table-case-fold.
17242
17243 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17244
17245 * minibuffer.el (completion-category-overrides): Fix type of styles
17246 and add more user friendly tags (bug#9660).
17247
17248 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17249
17250 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17251 (mule-input-method-string): New widget.
17252 (default-input-method, language-info-custom-alist): Use it.
17253
17254 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17255
17256 * pcomplete.el: Require comint.
17257 (pcomplete--common-suffix): Remove.
17258 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17259 (pcomplete--table-subvert): Sync with comint--table-subvert.
17260 (pcomplete--entries): Use comint-completion-file-name-table.
17261 * comint.el (comint-unquote-filename): Simplify.
17262 (comint-completion-file-name-table): New function (bug#9616).
17263 (comint--complete-file-name-data): Use it.
17264
17265 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17266 (pcmpl-gnu-tar-buffer): Remove.
17267 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17268 around. Make sure pcomplete-suffix-list is only changed temporarily.
17269 Don't look inside the tar's file if it's too large.
17270
17271 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17272
17273 * cus-edit.el (custom-mode-map):
17274 * epa.el (epa-key-list-mode-map):
17275 * man.el (Man-mode-map):
17276 * startup.el (splash-screen-keymap):
17277 * simple.el (special-mode-map): Use scroll-up-command and
17278 scroll-down-command.
17279
17280 * progmodes/idlw-help.el (idlwave-help-mode-map):
17281 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17282 * net/newst-plainview.el (newsticker-mode-map):
17283 * emulation/ws-mode.el (wordstar-mode-map):
17284 * emulation/vi.el (vi-com-map):
17285 * calc/calc-graph.el (calc-graph-show-dumb):
17286 * term/sun.el (terminal-init-sun):
17287 * term/ns-win.el (global-map):
17288 * progmodes/grep.el (grep-mode-map):
17289 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17290 * mail/rmail.el (rmail-mode-map):
17291 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17292
17293 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17294 custom-safe-themes as special.
17295
17296 2011-10-01 Julien Danjou <julien@danjou.info>
17297
17298 * notifications.el (notifications-notify): Fix docstring.
17299
17300 2011-10-01 Per Starbäck <per@starback.se>
17301
17302 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17303
17304 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17305
17306 * startup.el (command-line-1): Fix last fix by inserting
17307 initial-scratch-message into *scratch* before displaying it.
17308 (Bug#9605) and (Bug#9636)
17309
17310 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17311
17312 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17313 window is hscrolled, move by logical lines. (Bug#9607)
17314 (line-move-visual): Update the doc string to the above effect.
17315
17316 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17317
17318 * window.el (display-buffer-record-window): When WINDOW is the
17319 selected window use `point' instead of `window-point'. (Bug#9626)
17320
17321 * startup.el (command-line-1): Use insert-before-markers when
17322 inserting initial-scratch-message. (Bug#9605)
17323
17324 * help.el (help-window): Remove variable.
17325
17326 2011-09-29 Glenn Morris <rgm@gnu.org>
17327
17328 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17329
17330 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17331
17332 * descr-text.el (describe-char-categories): Accept category
17333 descriptions more than one line long.
17334
17335 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17336
17337 * simple.el (delete-trailing-whitespace): Fix last change.
17338
17339 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17340 Don't confuse "y => 3" as the beginning of a `y' operation.
17341
17342 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17343 object has more than 4 slots (bug#9613).
17344
17345 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17346
17347 * subr.el (with-output-to-temp-buffer):
17348 * net/quickurl.el (quickurl, quickurl-browse-url):
17349 Fix typos in docstrings.
17350
17351 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17352
17353 * minibuffer.el (completion-styles)
17354 (completion-category-overrides): Cross reference each other in doc
17355 strings.
17356
17357 2011-09-27 Glenn Morris <rgm@gnu.org>
17358
17359 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17360 to split-string. (Bug#9606)
17361
17362 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17363
17364 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17365 (bug#9615).
17366
17367 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17368
17369 * emacs-lisp/package.el (list-packages): Fix echo area message.
17370
17371 2011-09-27 Leo Liu <sdl.web@gmail.com>
17372
17373 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17374
17375 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17376
17377 * net/dbus.el (dbus-unregister-object): Don't release services for
17378 registered signals. (Bug#9581)
17379
17380 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17381
17382 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17383 function that picks between cfengine 2 and 3 support
17384 automatically. Update docs accordingly.
17385
17386 2011-09-22 Kenichi Handa <handa@m17n.org>
17387
17388 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17389 ZERO.
17390 (indian-itrans-v5-table-for-tamil): New variable.
17391 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17392
17393 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17394
17395 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17396 that's true if the current command involved collapsing of text.
17397 It's reset to false at the beginning of the next command.
17398 (allout-post-command-business): Move the cursor to the beginning
17399 of entry if the cursor is hidden and collapsing activity just
17400 happened.
17401
17402 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17403
17404 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17405 tracking (Bug#9541).
17406
17407 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17408
17409 * net/newst-reader.el (newsticker-html-renderer)
17410 (newsticker-show-news): Automatically load html rendering package
17411 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17412 because w3m-fill-column is let-bound" and the error "Symbol's value
17413 as variable is void: w3m-fill-column".
17414
17415 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17416
17417 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17418 Release services only if they are defined. (Bug#9581)
17419
17420 2011-09-23 Richard Stallman <rms@gnu.org>
17421
17422 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17423 distinguish start of paragraph from start of its text.
17424
17425 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17426
17427 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17428 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17429 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17430
17431 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17432
17433 * international/mule-diag.el (mule-diag): Insert a newline after
17434 each fontset description.
17435
17436 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17437
17438 * simple.el (delete-trailing-whitespace):
17439 Document last change; simplify.
17440
17441 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17442
17443 * simple.el (delete-trailing-whitespace): Also delete
17444 extra newlines at the end of the buffer.
17445
17446 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17447 (picture-newline): Use forward-line so as to ignore fields.
17448
17449 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17450
17451 * subr.el (with-wrapper-hook): Fix edebug spec.
17452
17453 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17454
17455 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17456 (bug#4538).
17457
17458 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17459
17460 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17461 Fix nasty bug using wrong cached values.
17462
17463 2011-09-23 Alan Mackenzie <acm@muc.de>
17464
17465 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17466
17467 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17468
17469 * window.el (pop-to-buffer): Ensure right window is selected if we
17470 chose another frame.
17471
17472 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17473
17474 * simple.el (what-cursor-position): Use get-char-property-change
17475 and next-single-char-property-change, to be able to show display
17476 properties that come from overlays as well as text properties.
17477
17478 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17479
17480 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17481
17482 * cmuscheme.el (run-scheme, switch-to-scheme):
17483 * cus-edit.el (customize-group, custom-buffer-create)
17484 (customize-browse):
17485 * info.el (info):
17486 * shell.el (shell):
17487 * mail/sendmail.el (mail):
17488 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17489
17490 2011-09-22 Richard Stallman <rms@gnu.org>
17491
17492 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17493 move back only to line beg, don't move back over blank lines.
17494
17495 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17496
17497 * files.el (copy-directory): Set directory attributes only in case
17498 they could be retrieved from the source directory. (Bug#9565)
17499
17500 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17501
17502 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17503 (hs-find-block-beginning, hs-hide-level-recursive):
17504 Ignore strings as well as comments. (Bug#9502)
17505
17506 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17507
17508 * progmodes/sql.el (sql-comint-postgres):
17509 Convert port number to a string. (Bug#9566)
17510
17511 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17512
17513 * window.el (quit-window): Undedicate window when switching to
17514 previous buffer. Reported by Thierry Volpiatto
17515 <thierry.volpiatto@gmail.com>.
17516 (special-display-popup-frame): When popping up a new frame reset
17517 its previous buffers to nil. Simplify code.
17518
17519 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17520
17521 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17522 and process filter, as done also in `shell-command'.
17523
17524 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17525
17526 * window.el (set-window-buffer-start-and-point):
17527 Call set-window-start with NOFORCE argument t.
17528 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17529 (quit-window): Reword doc-string. Handle new format of
17530 quit-restore parameter. Don't delete window if it has a
17531 previous buffer we can show instead of the present one.
17532 (display-buffer-record-window): Rewrite using a new format for
17533 the quit-restore window parameter
17534 (special-display-popup-frame, display-buffer-same-window)
17535 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17536 (display-buffer-pop-up-window, display-buffer-use-some-window):
17537 Adapt symbol passed to display-buffer-record-window.
17538 * help.el (help-window-setup): Handle new format of quit-restore
17539 parameter.
17540
17541 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17542
17543 * faces.el (face-list): Fix docstring (bug#9564).
17544
17545 * window.el (display-buffer--action-function-custom-type):
17546 Don't include internal functions in the Custom interface.
17547
17548 2011-09-20 Juri Linkov <juri@jurta.org>
17549
17550 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17551 (Info-forward-node, Info-backward-node, Info-next-preorder)
17552 (Info-last-preorder): Use it. (Bug#9528)
17553
17554 2011-09-20 Juri Linkov <juri@jurta.org>
17555
17556 * info.el (Info-last-preorder): Visit last menu item only when
17557 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17558
17559 2011-09-20 Julien Danjou <julien@danjou.info>
17560
17561 * password-cache.el (password-cache-remove): Remove entries even if the
17562 value is nil, so that password with a nil value (negative caching) is
17563 possible to invalidate.
17564
17565 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17566
17567 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17568 all whitespace around breakpoint. (Bug#9553)
17569 (f90-find-breakpoint): Only break at whitespace inside a comment.
17570
17571 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17572
17573 * minibuffer.el (completion-file-name-table): Keep track of errors.
17574 (completion-table-with-predicate): Handle the case where pred1 is nil.
17575 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17576
17577 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17578
17579 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17580 (debugger-return-value): Signal an error if the debugging context does
17581 not await any return value.
17582
17583 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17584 * image-mode.el (image-toggle-display-text)
17585 (image-toggle-display-image): Stay away from evil `intangible'.
17586
17587 2011-09-19 Leo Liu <sdl.web@gmail.com>
17588
17589 * replace.el (occur-revert-arguments): Make it permanent-local.
17590 (occur-mode): Don't call font-lock-defontify.
17591
17592 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17593
17594 * net/ldap.el (ldap-search-internal): Don't push empty search
17595 result (Bug#9508).
17596
17597 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17598
17599 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17600
17601 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17602
17603 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17604 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17605
17606 2011-09-18 Juri Linkov <juri@jurta.org>
17607
17608 * buff-menu.el (Buffer-menu-mode-map):
17609 * dired.el (dired-mode-map):
17610 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17611 (lisp-interaction-mode-map):
17612 * emacs-lisp/package.el (package-menu-mode-map):
17613 * epa.el (epa-key-list-mode-map):
17614 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17615 (menu-bar-options-menu):
17616 * outline.el (outline-mode-menu-bar-map):
17617 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17618 * vc/vc-dir.el (vc-dir-menu-map):
17619 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17620 Capitalize non-function content words in menu item strings.
17621
17622 * dired.el (dired-mode-map): Add menu item for
17623 `image-dired-dired-toggle-marked-thumbs'.
17624
17625 2011-09-18 Juri Linkov <juri@jurta.org>
17626
17627 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17628 to `isearch-case-fold-search' and restore its original value
17629 after the `isearch-mode' call.
17630
17631 2011-09-18 Juri Linkov <juri@jurta.org>
17632
17633 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17634 because `zgrep' returns 1 for successful matches (bug#9226).
17635
17636 2011-09-18 Juri Linkov <juri@jurta.org>
17637
17638 * info.el (Info-extract-menu-node-name): Check the second match
17639 for empty string (second test-case of bug#9528).
17640 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17641 intermediate nodes to the history (first test-case of bug#9528).
17642
17643 2011-09-18 Juri Linkov <juri@jurta.org>
17644
17645 * info.el (Info-mode-syntax-table): New variable.
17646 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17647
17648 2011-09-18 Juri Linkov <juri@jurta.org>
17649
17650 * info.el (Info-file-supports-index-cookies):
17651 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17652 outputs one more line for long file names (bug#4142).
17653
17654 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17655
17656 * newcomment.el (comment-normalize-vars): If prompting for
17657 comment-start, set comment-start-skip too (Bug#8424).
17658
17659 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17660
17661 * icomplete.el: Fix previous fix of Bug#5849.
17662 (icomplete-mode): Don't set completion-show-inline-help.
17663 (icomplete-minibuffer-setup): Set completion-show-inline-help
17664 locally during icompletion.
17665
17666 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17667
17668 * woman.el (woman2-process-escapes): Don't delete unrecognized
17669 escapes (Bug#7843).
17670
17671 * files.el (inhibit-first-line-modes-regexps): Add image files.
17672 (hack-local-variables-prop-line): Return nil for malformed
17673 prop-lines (Bug#9044).
17674
17675 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17676
17677 * net/tramp.el (top): Don't require 'shell.
17678 (tramp-methods): Fix docstring.
17679 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17680 Return complete remote file name. Handle "smb" case.
17681 Use `tramp-tmpdir', if defined for the respective method.
17682 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17683
17684 * net/tramp-compat.el (top): Require 'shell.
17685
17686 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17687 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17688 `tramp-current-host'.
17689 (tramp-get-remote-tmpdir): Remove.
17690
17691 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17692 `tramp-tmpdir' entries.
17693 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17694 (tramp-smb-handle-file-attributes): Ignore errors.
17695 (tramp-smb-wait-for-output): Check also for process end.
17696
17697 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17698
17699 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17700 when sending QUIT (bug#9312).
17701
17702 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17703
17704 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17705 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17706 occur-mode-display-occurrence.
17707 (occur-edit-mode): Add usage message.
17708 (occur-cease-edit): New command.
17709 (occur-after-change-function): Use text properties to find the
17710 position of the prefix text.
17711 (occur-engine): Set stickiness of prefix text properties.
17712
17713 2011-09-17 Glenn Morris <rgm@gnu.org>
17714
17715 * progmodes/etags.el (complete-tag):
17716 Fix call to completion-in-region. (Bug#9526)
17717
17718 2011-09-17 Juri Linkov <juri@jurta.org>
17719
17720 * textmodes/ispell.el (ispell-word): Add to the error message
17721 the word, ispell program name and current dictionary (bug#9121).
17722 (ispell-tex-arg-end): Capitalize "error" in the error message.
17723
17724 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17725
17726 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17727 check. (Bug#4251)
17728
17729 2011-09-17 Juri Linkov <juri@jurta.org>
17730
17731 * window.el (window-safe-min-height, window-safe-min-width):
17732 Fix typos (followup to bug#9522).
17733
17734 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17735
17736 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17737
17738 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17739
17740 * simple.el (line-move): If goal-column is set, move by logical
17741 lines, not by display lines. (Bug#971)
17742 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17743 to reflect the above change.
17744
17745 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17746
17747 * image.el (imagemagick-register-types): Use regexp-opt.
17748
17749 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17750
17751 * window.el (display-buffer-base-action): Rename from
17752 display-buffer-default-action. Make default value empty.
17753 (display-buffer-overriding-action): Convert to defvar.
17754 (display-buffer-fallback-action): New var.
17755
17756 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17757
17758 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17759 declaration.
17760 (package--add-to-archive-contents): If there is a duplicate entry
17761 with an older version, remove it.
17762 (package-menu-mark-delete, package-menu-mark-install)
17763 (package-menu-mark-unmark): Make unused args optional.
17764 (package-menu-mark-obsolete-for-deletion):
17765 Use package-menu-get-status instead of a regexp search.
17766 (package-menu-get-status): Use tabulated-list-entry.
17767 (package-menu-mark-upgrades): New command.
17768 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17769 (package-menu-execute): Do installation before deletion.
17770 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17771 instead of checking major-mode.
17772 (package-menu--find-upgrades): New function.
17773
17774 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17775
17776 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17777 passwords in the log buffer.
17778 (smtpmail-process-filter): Update the process marker so that the
17779 "broken by peer" status message is inserted in the right place.
17780
17781 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17782
17783 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17784 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17785 bibtex-completion-at-point-function.
17786 (bibtex-completion-at-point-function): Use them.
17787
17788 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17789
17790 * mpc.el (mpc-constraints-tag-lookup): New function.
17791 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17792 also to browser "album|playlist".
17793
17794 2011-09-14 Juri Linkov <juri@jurta.org>
17795
17796 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17797 (isearch-edit-string): Use length of `isearch-string' when
17798 `isearch-fail-pos' returns nil.
17799 (isearch-message): Remove duplicate code and call
17800 `isearch-fail-pos' with arg `t'.
17801
17802 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17803
17804 * replace.el (occur-mode-goto-occurrence): Don't force using other
17805 window (Bug#9499).
17806
17807 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17808
17809 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17810
17811 * window.el (display-buffer-window): Remove.
17812 (display-buffer-record-window): Use help-setup window parameter
17813 instead of variable display-buffer-window.
17814 (display-buffer-function, special-display-buffer-names)
17815 (special-display-function): Mention help-setup parameter instead
17816 of display-buffer-window in doc-string.
17817 * help.el (help-window-setup): New argument help-window.
17818 Use help-window-setup parameter instead of display-buffer-window.
17819 Reword some messages.
17820 (with-help-window): Pass window used for displaying the buffer
17821 to help-window-setup. Don't set display-buffer-window.
17822
17823 2011-09-13 Glenn Morris <rgm@gnu.org>
17824
17825 * emacs-lisp/debug.el (debugger-make-xrefs):
17826 Preserve point. (Bug#9462)
17827
17828 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17829
17830 * window.el (window-deletable-p): Use next-frame.
17831
17832 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17833
17834 * window.el (window-auto-delete): Remove.
17835 (window-deletable-p): Remove argument FORCE. Don't deal with
17836 dedication and previous buffers.
17837 (switch-to-prev-buffer): Don't delete window.
17838 (delete-windows-on): Delete a window's frame if and only if the
17839 window is dedicated.
17840 (replace-buffer-in-windows): Delete buffer's window or frame if
17841 and only if window is dedicated.
17842 (quit-window): Handle quit-restore as before last change.
17843 (bury-buffer): Delete window only if window-deletable-p returns t.
17844
17845 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17846
17847 * window.el (window-deletable-p): Never delete the last frame on a
17848 given terminal.
17849
17850 2011-09-13 Glenn Morris <rgm@gnu.org>
17851
17852 * help.el (describe-key-briefly): Copy previous standard-output change.
17853
17854 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17855
17856 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17857
17858 2011-09-13 Glenn Morris <rgm@gnu.org>
17859
17860 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17861 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17862
17863 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17864
17865 * dired-aux.el (dired-mark-read-string): Don't return default
17866 value on empty input (Bug#9361).
17867 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17868 Omit initial minibuffer contents.
17869 (dired-do-chmod): Signal an error on empty input.
17870 (dired-mark-read-string): Don't return default on empty input.
17871
17872 * files.el (file-modes-symbolic-to-number): Doc fix.
17873
17874 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17875
17876 * international/mule-cmds.el (ucs-completions): Remove.
17877 (read-char-by-name): Use complete-with-action instead; add metadata.
17878
17879 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17880
17881 * window.el (display-buffer--action-function-custom-type)
17882 (display-buffer--action-custom-type): New vars.
17883 (display-buffer-alist, display-buffer-default-action)
17884 (display-buffer-overriding-action): Add defcustom types.
17885
17886 * frame.el (delete-other-frames): Doc fix (Bug#276).
17887
17888 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17889
17890 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17891
17892 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17893
17894 Change modes that used same-window-* vars to use switch-to-buffer.
17895
17896 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17897 Use switch-to-buffer.
17898
17899 * cus-edit.el (customize-group, custom-buffer-create)
17900 (customize-browse, custom-buffer-create-other-window):
17901 Use switch-to-buffer or switch-to-buffer-other-window.
17902
17903 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17904 (Info-prev, Info-up, Info-speedbar-goto-node)
17905 (info-display-manual): Use switch-to-buffer.
17906 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17907
17908 * mail/sendmail.el (mail): Use switch-to-buffer.
17909 (mail-recover): Use switch-to-buffer-other-window.
17910
17911 * cmuscheme.el (run-scheme, switch-to-scheme):
17912 * ielm.el (ielm):
17913 * shell.el (shell):
17914 * net/rlogin.el (rlogin):
17915 * net/telnet.el (telnet, rsh):
17916 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17917
17918 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17919
17920 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17921
17922 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17923
17924 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17925 so don't mention it (bug#9301).
17926 (dired-sort-toggle-or-edit): Clarify string further.
17927
17928 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17929 match `x', `w32' and `ns', like the manual says (bug#9029).
17930
17931 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17932 (process-kill-buffer-query-function): Mention the buffer name in
17933 the query.
17934
17935 * image-mode.el (image-next-line): The line parameter is mandatory
17936 (bug#9258).
17937
17938 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17939 which can be useful (bug#9301).
17940
17941 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17942
17943 * subr.el (match-string): Mention that the current buffer should
17944 be the same as the search was done in (bug#9282).
17945
17946 * facemenu.el: Disable the remove-* commands if the mark isn't
17947 active (bug#9162).
17948
17949 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17950
17951 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17952 of display-buffer.
17953 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17954
17955 * replace.el (occur-mode-goto-occurrence)
17956 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17957 and display-buffer.
17958
17959 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17960 display-buffer.
17961
17962 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17963 special-display and same-window variables.
17964 (mail-other-window): Use switch-to-buffer-other-window.
17965 (mail-other-frame): USe switch-to-buffer-other-frame.
17966
17967 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17968 Use display-buffer-other-frame.
17969 (gdb-display-gdb-buffer): Use pop-to-buffer.
17970
17971 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17972
17973 * progmodes/python.el: Don't set same-window-buffer-names.
17974
17975 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17976
17977 * window.el (display-buffer-alist): Add *Python*.
17978
17979 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17980
17981 * window.el (display-buffer-alist): Add entry for buffers
17982 previously handled same-window-*.
17983 (display-buffer-alist, display-buffer-default-action)
17984 (display-buffer-overriding-action): Mark as risky.
17985 (display-buffer-alist): Document action function changes.
17986 (display-buffer--same-window-action)
17987 (display-buffer--other-frame-action): New variables.
17988 (switch-to-buffer, display-buffer-other-frame): Use them.
17989 (display-buffer): Rename reuse-frame entry to reusable-frames.
17990 (display-buffer-reuse-selected-window): Function deleted.
17991 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17992 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17993 (display-buffer-special): New function.
17994 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17995 display-buffer-reuse-or-pop-window. Split off special-display
17996 part into display-buffer-special.
17997 (display-buffer-use-some-window): Don't perform any special
17998 pop-up-frames handling.
17999 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18000 (display-buffer--maybe-same-window): Rename from
18001 display-buffer-maybe-same-window.
18002
18003 * info.el: Don't set same-window-regexps.
18004 (info-setup): New function.
18005 (info-other-window, info): Call it.
18006
18007 * cus-edit.el: Don't set same-window-regexps.
18008 (customize-group): New argument.
18009 (customize-group-other-window): Use it.
18010 (customize-face, customize-face-other-window): Likewise.
18011 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18012
18013 * net/rlogin.el:
18014 * net/telnet.el:
18015 * progmodes/gud.el: Don't set same-window-regexps.
18016
18017 * cmuscheme.el:
18018 * ielm.el:
18019 * shell.el:
18020 * mail/sendmail.el:
18021 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18022
18023 2011-09-10 Juri Linkov <juri@jurta.org>
18024
18025 * isearch.el (isearch-edit-string): Remove obsolete mention of
18026 `C-w' (`isearch-yank-word-or-char') from docstring.
18027 (isearch-query-replace): Fix typo in docstring (bug#9466).
18028
18029 2011-09-10 Juri Linkov <juri@jurta.org>
18030
18031 * paren.el (show-paren-function): Don't show escaped parens.
18032 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18033
18034 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18035
18036 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18037 (mm-default-file-encoding): Remove autoload forms, they are
18038 replaced with autoload cookies in mml.el and mm-encode.el.
18039 (mail-add-attachment): New command.
18040 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18041 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18042 the doc string.
18043 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18044
18045 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18046
18047 * simple.el (count-words-region): Use buffer if there's no region
18048 (bug#9429).
18049
18050 2011-09-09 Juri Linkov <juri@jurta.org>
18051
18052 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18053 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18054 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18055
18056 2011-09-09 Alan Mackenzie <acm@muc.de>
18057
18058 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18059 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18060
18061 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18062
18063 Fix for Savannah bug#9392.
18064 * simple.el (mail-encode-mml): New defvar.
18065
18066 * mail/rmail.el (mail-encode-mml): Add a defvar.
18067 (rmail-enable-mime-composing): Default to t.
18068 (rmail-forward): Use MIME method of forwarding only if both
18069 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18070 Set mail-encode-mml non-nil if the MIME method was used.
18071
18072 * mail/sendmail.el (mml-to-mime): Add autoload form.
18073 (mail-encode-mml): Add a defvar.
18074 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18075 to nil.
18076 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18077 message through mml-to-mime, and reset mail-encode-mml to nil.
18078
18079 2011-09-09 Glenn Morris <rgm@gnu.org>
18080
18081 * woman.el (woman-if-body): When processing an .el block,
18082 do not delete the next .el block as well. (Bug#9447)
18083 (woman-special-characters): Add oq, cq, and hy characters.
18084
18085 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18086
18087 * window.el (window-deletable-p): Make sure window is live before
18088 invoking window-prev-buffers.
18089
18090 2011-09-08 Leo Liu <sdl.web@gmail.com>
18091
18092 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18093
18094 2011-09-08 Juri Linkov <juri@jurta.org>
18095
18096 * progmodes/compile.el (compilation-environment): Make it
18097 a defcustom (bug#8340).
18098
18099 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18100
18101 * window.el (frame-auto-delete): Rename to window-auto-delete.
18102 Make it control auto-deletion of windows and/or frames.
18103 (window-deletable-p): New argument FORCE. Rewrite conditions
18104 for deleting window/frame. (Bug#9419)
18105 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18106 Rewrite handling of case when window/frame can be deleted.
18107 (delete-windows-on): Call window-deletable-p with new FORCE
18108 argument t. (Bug#9456)
18109
18110 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18111
18112 * help-mode.el (help-mode): Restore autoload.
18113
18114 2011-09-07 Juri Linkov <juri@jurta.org>
18115
18116 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18117 `compilation-environment'. Set buffer-local
18118 `compilation-environment' to `thisenv' later after (funcall mode).
18119 (Bug#8340)
18120
18121 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18122 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18123 instead of replacing its value. (Bug#8340)
18124
18125 2011-09-07 Juri Linkov <juri@jurta.org>
18126
18127 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18128 based on text properties put by `grep-filter' instead of matching
18129 escape sequences.
18130 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18131 to the value of `grep-error-screen-columns' (bug#9438).
18132
18133 2011-09-07 Juri Linkov <juri@jurta.org>
18134
18135 * simple.el (next-error-highlight, next-error-highlight-no-select):
18136 Doc fix (bug#9432).
18137
18138 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18139
18140 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18141 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18142
18143 2011-09-07 Leo Liu <sdl.web@gmail.com>
18144
18145 * net/rcirc.el (rcirc-mode): Conditionally initialize
18146 rcirc-input-ring.
18147
18148 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18149
18150 * emacs-lisp/find-func.el (find-function-C-source): Only set
18151 find-function-C-source-directory after checking that we found a source
18152 file there (bug#9440).
18153
18154 2011-09-06 Alan Mackenzie <acm@muc.de>
18155
18156 * isearch.el (isearch-other-meta-char): Wherever a key list is
18157 unread, "unread" the prefix arg, too. This fixes bug #8901.
18158
18159 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18160
18161 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18162
18163 2011-09-05 Juri Linkov <juri@jurta.org>
18164
18165 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18166
18167 2011-09-05 Juri Linkov <juri@jurta.org>
18168
18169 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18170 keeping point where processing of grep matches begins, and
18171 continue to delete remaining escape sequences from the same point.
18172 (grep-filter): Make leading zero optional in "0?1;31m" because
18173 git-grep emits "\033[1;31m" escape sequences unlike expected
18174 "\033[01;31m" as GNU Grep does (bug#9408).
18175 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18176
18177 2011-09-05 Juri Linkov <juri@jurta.org>
18178
18179 * subr.el (y-or-n-p): Capitalize "yes".
18180
18181 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18182
18183 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18184 `tramp-cache-unload-hook' where appropriate.
18185 (tramp-methods): Rename `tramp-remote-sh' to
18186 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18187 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18188
18189 * net/tramp-sh.el (top): Don't require 'shell.
18190 (tramp-methods): Add `tramp-remote-shell' and
18191 `tramp-remote-shell-args' entries.
18192 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18193 (tramp-sh-handle-shell-command): Remove.
18194 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18195 Use `tramp-remote-shell'.
18196
18197 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18198
18199 * mail/sendmail.el (sendmail-query-once-function): Delete.
18200 (sendmail-query-once): Save directly to send-mail-function.
18201 Update message-send-mail-function too.
18202
18203 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18204
18205 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18206
18207 * progmodes/python.el (python-mode-map): Use correct function to
18208 start python interpreter from menu-bar (as reported by Geert
18209 Kloosterman).
18210 (inferior-python-mode-map): Fix typo.
18211 (python-shell-map): Remove.
18212
18213 2011-09-03 Deniz Dogan <deniz@dogan.se>
18214
18215 * net/rcirc.el (rcirc-print): Simplify code for
18216 rcirc-scroll-show-maximum-output. There is no need to walk
18217 through all windows to find the right one.
18218
18219 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18220
18221 * help.el (help-return-method): Doc fix.
18222
18223 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18224
18225 * window.el (window-deletable-p): Don't return a non-nil value
18226 when there's a buffer that was shown in the window before.
18227 (Bug#9419)
18228 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18229 Set window's previous buffers to nil.
18230
18231 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18232
18233 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18234 newline before and after the tag line, so it doesn't interfere
18235 with determining the paragraph direction of bidirectional text.
18236
18237 2011-09-03 Leo Liu <sdl.web@gmail.com>
18238
18239 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18240
18241 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18242
18243 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18244 (pop-to-buffer): Change interactive spec. Pass second argument
18245 directly to display-buffer.
18246 (display-buffer): Fix interactive spec. Use functionp to
18247 distinguish between a function and a list of functions.
18248
18249 * abbrev.el (edit-abbrevs):
18250 * arc-mode.el (archive-extract):
18251 * autoinsert.el (auto-insert):
18252 * bookmark.el (bookmark-bmenu-list):
18253 * files.el (find-file):
18254 * view.el (view-buffer):
18255 * progmodes/compile.el (compilation-goto-locus):
18256 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18257
18258 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18259
18260 * window.el (display-buffer-alist): Doc fix.
18261 (display-buffer): Add docstring. Don't treat
18262 display-buffer-default specially.
18263 (display-buffer-reuse-selected-window)
18264 (display-buffer-same-window, display-buffer-maybe-same-window)
18265 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18266 (display-buffer-pop-up-window)
18267 (display-buffer-reuse-or-pop-window)
18268 (display-buffer-use-some-window): New functions.
18269 (display-buffer-default-action): Use them.
18270 (display-buffer-default): Delete.
18271 (pop-to-buffer-1): Fix choice of actions.
18272
18273 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18274
18275 * minibuffer.el (completion--insert-strings): Don't get confused by
18276 completion entries that end with an LF char.
18277
18278 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18279
18280 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18281
18282 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18283
18284 * window.el (display-buffer): Restore interactive spec.
18285 (display-buffer-same-window, display-buffer-other-window):
18286 New functions.
18287 (pop-to-buffer-1): New function. Use the above.
18288 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18289 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18290
18291 * view.el (view-buffer-other-window, view-buffer-other-frame):
18292 Just use pop-to-buffer.
18293
18294 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18295
18296 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18297
18298 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18299
18300 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18301
18302 2011-08-31 Richard Stallman <rms@gnu.org>
18303
18304 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18305 of the separation of rmail-view-buffer from rmail-buffer.
18306 If you say no to "replace original", the decrypt is in the
18307 view buffer. If you say yes, the decrypt goes into the
18308 rmail buffer also.
18309
18310 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18311
18312 * window.el (display-buffer-window): Rewrite doc-string.
18313 (display-buffer-record-window): New function.
18314 (display-buffer-macro-specifiers)
18315 (display-buffer-even-window-sizes, display-buffer-set-height)
18316 (display-buffer-set-width, display-buffer-in-window)
18317 (display-buffer-reuse-window, display-buffer-split-specifiers)
18318 (display-buffer-side-specifiers, display-buffer-split-window-1)
18319 (display-buffer-split-window, display-buffer-split-atom-window)
18320 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18321 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18322 (display-buffer-other-window-means-other-frame)
18323 (display-buffer-normalize-special)
18324 (display-buffer-normalize-default)
18325 (display-buffer-normalize-argument)
18326 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18327 (display-buffer-normalize-specifiers, display-buffer-frame)
18328 (display-buffer-same-window, display-buffer-same-frame)
18329 (display-buffer-other-window)
18330 (display-buffer-same-frame-other-window)
18331 (display-buffer-other-frame, pop-to-buffer-same-window)
18332 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18333 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18334 (switch-to-buffer-same-frame)
18335 (switch-to-buffer-other-window-same-frame)
18336 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18337 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18338 (display-buffer-alist-set): Remove.
18339 (display-buffer-function, special-display-buffer-names)
18340 (special-display-regexps, special-display-function):
18341 In doc-string refer to display-buffer-window and quit-restore
18342 parameter.
18343 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18344 (special-display-frame-alist, special-display-popup-frame)
18345 (same-window-buffer-names, same-window-regexps, same-window-p)
18346 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18347 (split-window-preferred-function, split-height-threshold)
18348 (split-width-threshold, window-splittable-p)
18349 (split-window-sensibly, window--try-to-split-window)
18350 (window--frame-usable-p, even-window-heights)
18351 (window--even-window-heights, window--display-buffer-1)
18352 (window--display-buffer-2, display-buffer-other-frame):
18353 Restore old Emacs 23 code, order and doc-strings where applicable.
18354 (display-buffer-default, display-buffer-assq-regexp): New functions.
18355 (display-buffer-alist): Rewrite doc-string.
18356 (display-buffer-default-action)
18357 (display-buffer-overriding-action): New variables.
18358 (display-buffer, switch-to-buffer): Rewrite.
18359 (pop-to-buffer): Restore Emacs 23 behavior but use
18360 window-normalize-buffer-to-display.
18361 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18362 Restore Emacs 23 behavior but use
18363 window-normalize-buffer-to-switch-to.
18364 (pop-to-buffer-same-window): Rewrite.
18365 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18366 Rewrite using Emacs 23 options.
18367
18368 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18369
18370 * net/tramp.el (tramp-root-regexp): Remove.
18371 (tramp-completion-file-name-regexp-unified)
18372 (tramp-completion-file-name-regexp-separate)
18373 (tramp-completion-file-name-regexp-url): Don't use leading volume
18374 letter on w32 systems. (Bug#5303, Bug#9311)
18375 (tramp-drop-volume-letter): Simplify definition.
18376 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18377
18378 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18379
18380 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18381 (bug#9356).
18382
18383 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18384
18385 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18386
18387 2011-08-29 Juri Linkov <juri@jurta.org>
18388
18389 * isearch.el (isearch-done): Don't display message "Mark saved"
18390 when arg `edit' is non-nil to prevent its flicker in the echo area.
18391
18392 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18393
18394 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18395 obsolete packages for deletion.
18396
18397 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18398
18399 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18400 (help-mode): Derive help-mode from special-mode. Don't invoke
18401 view-mode from help-mode.
18402 (help-xref-override-view-map): Remove.
18403 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18404 view-mode is not used anymore.
18405
18406 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18407
18408 * server.el (server-port): Doc fix.
18409
18410 * cus-theme.el (custom-theme-choose-mode): Inherit from
18411 special-mode (Bug#9124).
18412 (custom-theme-choose-mode-map): Add special-mode to parent.
18413
18414 2011-08-28 Alan Mackenzie <acm@muc.de>
18415
18416 * progmodes/cc-fonts.el
18417 (c-make-font-lock-BO-decl-search-function): New function.
18418 (c-basic-matchers-after - "Fontify the clauses after various
18419 keywords"): Extract the three keyword lists for the 3 erroneous
18420 constructs from the list of four, and use the new function above
18421 in place of an old one.
18422
18423 2011-08-28 Deniz Dogan <deniz@dogan.se>
18424
18425 * net/rcirc.el (rcirc-insert-prev-input)
18426 (rcirc-insert-next-input): Remove unused argument.
18427
18428 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18429
18430 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18431
18432 2011-08-27 Alan Mackenzie <acm@muc.de>
18433
18434 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18435 handle function pointer parameters properly.
18436
18437 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18438
18439 * window.el (display-buffer-reuse-window): Fix case where
18440 selected window was reused with non-nil OTHER-WINDOW argument.
18441 (Bug#9381)
18442
18443 2011-08-27 Deniz Dogan <deniz@dogan.se>
18444
18445 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18446 oftc's NickServ messages.
18447
18448 2011-08-27 Glenn Morris <rgm@gnu.org>
18449
18450 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18451
18452 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18453
18454 * emacs-lisp/package.el (package-install): Call package-initialize
18455 if called interactively.
18456
18457 2011-08-26 Leo Liu <sdl.web@gmail.com>
18458
18459 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18460
18461 2011-08-25 Juri Linkov <juri@jurta.org>
18462
18463 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18464 `search-whitespace-regexp' (bug#9364).
18465
18466 2011-08-25 Juri Linkov <juri@jurta.org>
18467
18468 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18469 `regexp-search-ring' to their global values to protect from
18470 updating by `read-from-minibuffer' (bug#9185).
18471
18472 2011-08-25 Juri Linkov <juri@jurta.org>
18473
18474 * textmodes/ispell.el (ispell-command-loop): Add newline
18475 at the end of the "Use option `i'..." line.
18476
18477 2011-08-25 Juri Linkov <juri@jurta.org>
18478
18479 * battery.el (display-battery-mode): If `battery-status-function'
18480 or `battery-mode-line-format' is nil, display the message and set
18481 `display-battery-mode' to nil (bug#9363).
18482
18483 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18484
18485 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18486 bidi-string-mark-left-to-right; they are unnecessary now.
18487
18488 2011-08-25 Deniz Dogan <deniz@dogan.se>
18489
18490 * net/quickurl.el: Documentation typo fixes.
18491
18492 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18493
18494 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18495
18496 2011-08-25 Glenn Morris <rgm@gnu.org>
18497
18498 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18499
18500 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18501 (smtpmail-via-smtp): Handle nil response from smtp.
18502
18503 2011-08-24 Juri Linkov <juri@jurta.org>
18504
18505 * proced.el (proced-marked): Inherit from `error' instead of
18506 `font-lock-warning-face'.
18507
18508 * ibuffer.el (ibuffer-marked-face): Change default face from
18509 `font-lock-warning-face' to `warning'.
18510 (ibuffer-deletion-face): Change default face from
18511 `font-lock-type-face' to `error'.
18512
18513 * battery.el (battery-update): Use the face `error' instead of
18514 `font-lock-warning-face' (bug#6117).
18515
18516 2011-08-24 Juri Linkov <juri@jurta.org>
18517
18518 * faces.el (success): Change face color from "Green3" to
18519 "ForestGreen" on light background (bug#9353).
18520
18521 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18522
18523 * window.el (quit-window): Rename from quit-restore-window.
18524 Use same arglist as old quit-window.
18525 (frame-auto-delete): Doc fix.
18526
18527 * view.el (view-mode-exit): Use quit-window.
18528
18529 2011-08-24 Juri Linkov <juri@jurta.org>
18530
18531 * isearch.el (isearch-ring-adjust1): Start visiting previous
18532 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18533 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18534 for empty search string (when the last search string is reused
18535 automatically) to adjust the isearch ring to the last element and
18536 prepare the correct index for further M-p commands (bug#9185).
18537
18538 2011-08-24 Kenichi Handa <handa@m17n.org>
18539
18540 * international/ucs-normalize.el: If decomposition property of
18541 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18542 nil.
18543 (nfd, nfkd): Likewise.
18544
18545 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18546
18547 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18548 from process filters aren't reliably transmitted to the surrounding
18549 accept-process-output.
18550 (mpc-proc-check): New function.
18551 (mpc-proc-sync): Use it (bug#8293)
18552
18553 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18554
18555 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18556 Add compatibility functions (bug#9313).
18557
18558 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18559
18560 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18561
18562 * international/uni-bidi.el: Regenerate.
18563
18564 2011-08-23 Kenichi Handa <handa@m17n.org>
18565
18566 * international/charprop.el:
18567 * international/uni-bidi.el:
18568 * international/uni-category.el:
18569 * international/uni-combining.el:
18570 * international/uni-comment.el:
18571 * international/uni-decimal.el:
18572 * international/uni-decomposition.el:
18573 * international/uni-digit.el:
18574 * international/uni-lowercase.el:
18575 * international/uni-mirrored.el:
18576 * international/uni-name.el:
18577 * international/uni-numeric.el:
18578 * international/uni-old-name.el:
18579 * international/uni-titlecase.el:
18580 * international/uni-uppercase.el: Regenerate.
18581
18582 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18583
18584 * help.el (help-window-setup): Fix message displayed when other
18585 window is reused. (Bug#9341)
18586
18587 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18588
18589 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18590 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18591
18592 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18593 Mark obsolete.
18594 * shell.el (shell-parse-pcomplete-arguments): New function.
18595 (shell-completion-vars): Use it instead (bug#9160).
18596
18597 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18598
18599 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18600 strings and comments (bug#9333).
18601
18602 * emacs-lisp/debug.el (debug-arglist): New function.
18603 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18604 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18605
18606 2011-08-22 Juri Linkov <juri@jurta.org>
18607
18608 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18609 Revert regexp that highlights output switches to its old
18610 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18611
18612 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18613 to check for empty output (bug#9226).
18614
18615 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18616
18617 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18618 symbol-constituent as the default, as that stops font-lock from
18619 working properly (Bug#8843).
18620
18621 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18622
18623 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18624 `coding-system-for-*' around the process open call to avoid
18625 auth-source side effects.
18626 (smtpmail-try-auth-methods): Expand the secret password.
18627 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18628 probe hangs.
18629
18630 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18631
18632 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18633
18634 * emacs-lisp/find-func.el (find-function-noselect): New arg
18635 lisp-only.
18636
18637 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18638 signal an error for built-in functions (Bug#6664).
18639
18640 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18641
18642 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18643 (smtpmail-try-auth-methods): Use it.
18644
18645 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18646
18647 * font-lock.el (font-lock-fontify-region)
18648 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18649 (font-lock-default-unfontify-buffer)
18650 (font-lock-default-fontify-region)
18651 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18652
18653 * progmodes/compile.el (compilation-error-properties):
18654 Fix confusion between file struct and message struct (Bug#9319).
18655 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18656 `ant' regexp.
18657
18658 * net/browse-url.el (browse-url-firefox): Don't call
18659 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18660
18661 2011-08-20 Glenn Morris <rgm@gnu.org>
18662
18663 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18664
18665 * tutorial.el (tutorial--default-keys): Update some default bindings.
18666
18667 * files.el (hack-local-variables): Fully ignore case for "mode:".
18668
18669 2011-08-20 Alan Mackenzie <acm@muc.de>
18670
18671 Resolve invalid use of a regexp in regexp-opt.
18672
18673 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18674 detection for a java annotation.
18675
18676 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18677 detection for a java annotation.
18678
18679 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18680 handling for java.
18681 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18682
18683 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18684
18685 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18686 (Bug#9274).
18687
18688 2011-08-20 Alan Mackenzie <acm@muc.de>
18689
18690 Fontify CPP expressions correctly when starting in the middle of
18691 such a construct. Mainly for when jit-lock etc. starts a chunk
18692 here.
18693
18694 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18695 variable.
18696 (c-make-font-lock-search-form): New function, extracted from
18697 c-make-font-lock-search-function.
18698 (c-make-font-lock-search-function): Use the above function.
18699 (c-make-font-lock-context-search-function): New function.
18700 (c-cpp-matchers): Enhance the preprocessor expression case with
18701 the above function
18702 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18703 which takes an expression.
18704
18705 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18706
18707 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18708
18709 * window.el (display-buffer-reuse-window)
18710 (display-buffer-pop-up-window): Don't reuse or split a side
18711 window.
18712
18713 2011-08-19 Glenn Morris <rgm@gnu.org>
18714
18715 * files.el (hack-local-variables-prop-line, hack-local-variables):
18716 Downcase "Mode:". (Bug#9331)
18717
18718 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18719
18720 * international/characters.el: Add L and R categories.
18721
18722 * subr.el (bidi-string-mark-left-to-right): Rename from
18723 string-mark-left-to-right. Use category search.
18724
18725 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18726
18727 2011-08-18 Juri Linkov <juri@jurta.org>
18728
18729 * faces.el (error, warning, success): New faces with definitions
18730 copied from old default values of `font-lock-warning-face',
18731 `compilation-warning', `compilation-info' (bug#6117).
18732
18733 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18734
18735 * progmodes/compile.el (compilation-error): Inherit from `error'.
18736 (compilation-warning): Inherit from `warning'.
18737 (compilation-info): Inherit from `success'.
18738
18739 * dired.el (dired-marked): Inherit from `warning'.
18740 (dired-flagged): Inherit from `error'.
18741
18742 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18743
18744 * mail/smtpmail.el (auth-source): Require to avoid problems with
18745 binding variables (bug#9298). Also clean up some unused
18746 autoloads.
18747
18748 * net/network-stream.el (network-stream-open-starttls):
18749 Support using starttls.el without using gnutls-cli.
18750
18751 2011-08-17 Juri Linkov <juri@jurta.org>
18752
18753 * progmodes/grep.el (rgrep): Handle the case when
18754 `grep-find-command' is a cons cell (bug#9278).
18755
18756 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18757
18758 * window.el (display-buffer-pop-up-frame): Run frame creation
18759 function with BUFFER current (as special-display-popup-frame
18760 does). Reported by Drew Adams.
18761
18762 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18763
18764 * epa-mail.el: Simplify GnuPG group expansion using
18765 epg-expand-group.
18766 (epa-mail-group-alist, epa-mail-group-modtime)
18767 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18768 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18769 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18770 Remove.
18771
18772 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18773
18774 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18775
18776 2011-08-16 Alan Mackenzie <acm@muc.de>
18777
18778 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18779 Correct, to avoid the inside of macros.
18780
18781 2011-08-16 Richard Stallman <rms@gnu.org>
18782
18783 * epa-mail.el: Handle GnuPG group definitions.
18784 (epa-mail-group-alist, epa-mail-group-modtime)
18785 (epa-mail-gnupg-conf-file): New variables.
18786 (epa-mail-parse-groups, epa-mail-sync-groups)
18787 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18788 (epa-mail-expand-recipients): New functions.
18789 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18790
18791 * mail/rmail.el (rmail-epa-decrypt): New command.
18792
18793 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18794 Don't bind buffer-read-only, just inhibit-read-only.
18795 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18796 (epa-decrypt-armor-in-region): Make error message clearer.
18797
18798 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18799
18800 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18801 and "a2b" to "ab" for `prefix'.
18802
18803 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18804
18805 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18806 filter groups.
18807 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18808 Fourquet (Bug#8804).
18809
18810 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18811
18812 * startup.el (argi): Declare as global variable (bug#9275).
18813
18814 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18815
18816 * subr.el (string-mark-left-to-right): Search the entire string
18817 for RTL script, not just the terminating character. Doc fix.
18818
18819 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18820
18821 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18822 New function.
18823 (js--regexp-literal, js-syntax-propertize-function): Remove.
18824 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18825 (js-mode-map): Don't rebind electric keys.
18826 (js-insert-and-indent): Remove.
18827 (js-mode): Setup electric-layout and electric-indent instead.
18828
18829 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18830
18831 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18832
18833 * epa.el (epa-progress-callback-function): Fix the logic of
18834 displaying progress.
18835 * epa-file.el (epa-file-insert-file-contents): Make progress
18836 display more user-friendly.
18837 (epa-file-write-region): Ditto.
18838
18839 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18840
18841 * subr.el (string-mark-left-to-right): New function.
18842
18843 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18844 Use string-mark-left-to-right.
18845 (list-buffers-noselect): Caller changed.
18846
18847 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18848 Use string-mark-left-to-right.
18849 (tabulated-list-print): Recenter after moving point.
18850
18851 2011-08-10 Juri Linkov <juri@jurta.org>
18852
18853 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18854 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18855 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18856
18857 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18858
18859 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18860 (Bug#7554).
18861
18862 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18863
18864 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18865 character. (Bug#6594)
18866
18867 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18868
18869 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18870 (image-dired--with-db-file): New macro.
18871 (image-dired-write-tags, image-dired-remove-tag)
18872 (image-dired-create-gallery-lists, image-dired-write-comments)
18873 (image-dired-get-comment, image-dired-mark-tagged-files)
18874 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18875 (image-dired-gallery-generate): Use insert-file-contents.
18876
18877 * time.el (display-time-world-list, display-time-world-display):
18878 * time-stamp.el (time-stamp-string):
18879 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18880 set-time-zone-rule (Bug#7337).
18881
18882 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18883
18884 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18885 (epg-error-to-string, epg-errors-to-string): New function.
18886 (epg-wait-for-completion): Reverse errors list.
18887 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18888 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18889 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18890 (epg-sign-keys, epg-generate-key-from-file)
18891 (epg-generate-key-from-string): Format errors by using
18892 epg-errors-to-string (bug#9255).
18893 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18894
18895 2011-08-07 Juri Linkov <juri@jurta.org>
18896
18897 * faces.el (list-faces-display): Remove extra angle bracket
18898 from `help-mode-map'.
18899
18900 * info.el (Info-history-toc-nodes): Doc fix.
18901
18902 * longlines.el (longlines-mode): Doc fix.
18903
18904 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18905
18906 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18907 of statements and in a few more cases (bug#9183).
18908
18909 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18910 New functions.
18911 (cl-transform-lambda): Use them (bug#9239).
18912
18913 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18914
18915 * window.el (display-buffer-same-window)
18916 (display-buffer-same-frame, display-buffer-other-window)
18917 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18918 (pop-to-buffer-other-window)
18919 (pop-to-buffer-same-frame-other-window)
18920 (pop-to-buffer-other-frame): Make them defuns.
18921 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18922
18923 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18924
18925 * subr.el (make-composed-keymap): Move from C. Change calling
18926 convention, and improve docstring to bring attention to a subtle point.
18927 * minibuffer.el (completing-read-default): Adjust accordingly.
18928
18929 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18930
18931 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18932 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18933
18934 * net/trampver.el: Update release number.
18935
18936 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18937
18938 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18939 "in" (bug#9190).
18940
18941 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18942
18943 * mail/sendmail.el (sendmail-query-once): Restore the current
18944 buffer after querying (bug#9074).
18945
18946 * dired.el (dired-flagged): Use different faces for marked and
18947 flagged files (bug#6117).
18948
18949 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18950 (bug#4433).
18951
18952 * ido.el (ido-mode): Switch off the message if called
18953 non-interactively.
18954
18955 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18956 before 587, since it appears that that's more likely to work for
18957 more people.
18958
18959 * cus-edit.el (custom-file): When running under emacs -q, always
18960 refuse to save the customizations, even if the .emacs file doesn't
18961 exist.
18962
18963 * info.el: Remove the `Info-beginning-of-buffer' function
18964 (bug#8325).
18965
18966 * net/network-stream.el (network-stream-open-starttls):
18967 Use `starttls-available-p' to see whether starttls.el can be used.
18968
18969 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18970
18971 * window.el (display-buffer-in-window): Don't set dedicated status
18972 of window here (Bug#9215).
18973 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18974 (display-buffer-pop-up-side-window)
18975 (display-buffer-in-side-window): Set dedicated status of window here.
18976
18977 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18978
18979 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18980 before binding generated-autoload-file.
18981
18982 2011-08-01 Deniz Dogan <deniz@dogan.se>
18983
18984 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18985
18986 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18987
18988 Sync with Tramp 2.2.2.
18989
18990 * net/trampver.el: Update release number.
18991
18992 2011-07-30 Juri Linkov <juri@jurta.org>
18993
18994 * dired-aux.el (dired-touch-initial): Remove function.
18995 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18996 current time, and `default' to the last modification time of the
18997 current marked file (bug#6887).
18998
18999 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19000
19001 * simple.el (goto-line): Use string-to-number to provide a
19002 numeric argument to read-number (bug#9163).
19003
19004 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19005
19006 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19007 connection process, it could be nil.
19008
19009 2011-07-27 Leo Liu <sdl.web@gmail.com>
19010
19011 Simplify url handling in rcirc-mode.
19012
19013 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19014 (rcirc-browse-url-at-mouse): Remove.
19015 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19016
19017 2011-07-26 Alan Mackenzie <acm@muc.de>
19018
19019 Fontify bitfield declarations properly.
19020
19021 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19022 (c-symbol-chars): Now exported as a lang variable.
19023 (c-not-primitive-type-keywords): New lang variable.
19024
19025 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19026 QT keyword "more" to prevent "more slots: ...." being spuriously
19027 parsed as a bitfield declaration.
19028
19029 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19030 Refactor and enhance to handle bitfield declarations.
19031 (c-punctuation-in): New function.
19032 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19033 declarations properly.
19034
19035 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19036
19037 * calendar/icalendar.el (icalendar--all-events): Take care of
19038 multiple vcalendars in a single file.
19039 (icalendar--convert-float-to-ical): Checkdoc fixes.
19040
19041 2011-07-25 Deniz Dogan <deniz@dogan.se>
19042
19043 * image.el (insert-image): Clarifying docstring.
19044
19045 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19046
19047 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19048 `tramp-send-command-and-check' if there is no error.
19049 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19050
19051 2011-07-22 Alan Mackenzie <acm@muc.de>
19052
19053 Prevent cc-langs.elc being loaded at run time.
19054
19055 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19056 cc-langs.
19057
19058 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19059 "(require 'cc-langs)". Quote a form so it will evaluate at
19060 (cc-mode's) compilation time.
19061
19062 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19063
19064 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19065 loading. (Bug#9114)
19066
19067 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19068
19069 * window.el (display-buffer-pop-up-window)
19070 (display-buffer-pop-up-side-window)
19071 (display-buffer-in-side-window): Call display-buffer-set-height
19072 and display-buffer-set-width after setting the new window's
19073 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19074
19075 2011-07-20 Sam Steingold <sds@gnu.org>
19076
19077 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19078 (etags-tags-included-tables): Call `convert-standard-filename' on
19079 the file names contained in TAGS so that windows Emacs can handle
19080 TAGS files created by cygwin ctags.
19081
19082 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19083
19084 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19085 which apparently didn't work.
19086
19087 2011-07-19 Roland Winkler <winkler@gnu.org>
19088
19089 * proced.el (proced-send-signal): For *Marked Processes* buffer
19090 put point at beginning of buffer.
19091
19092 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19093
19094 * proced.el (proced-format): Make header lines align with the text
19095 (bug#1779).
19096
19097 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19098
19099 * view.el (view-buffer): Allow running in `special' modes if we're
19100 visiting a file (bug#8615).
19101
19102 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19103
19104 * window.el (display-buffer-alist-of-strings-p)
19105 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19106 New functions.
19107 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19108 more accurately.
19109
19110 2011-07-18 Alan Mackenzie <acm@muc.de>
19111
19112 Fontify declarators properly when, e.g., a jit-lock chunk begins
19113 inside a declaration.
19114
19115 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19116
19117 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19118 New function.
19119 (c-complex-decl-matchers): Insert reference to
19120 c-font-lock-enclosing-decls.
19121
19122 * progmodes/cc-engine.el (c-backward-single-comment):
19123 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19124 to nil around calls to (forward-comment -1).
19125
19126 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19127
19128 * image.el (put-image): Doc typo fix.
19129
19130 * progmodes/etags.el (tags-search): Doc typo fix.
19131
19132 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19133 password if we get errors 550 to 554.
19134
19135 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19136
19137 * net/gnutls.el (gnutls-log-level): Remove.
19138
19139 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19140 indentation character (bug#6380).
19141
19142 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19143
19144 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19145 to clarify what the problem is (bug#4291).
19146
19147 * simple.el (current-kill): Clarify what
19148 `interprogram-paste-function' does (bug#7500).
19149 (auto-fill-mode): Document `auto-fill-function' in relation to
19150 `auto-fill-mode' (bug#2470).
19151
19152 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19153
19154 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19155 method if slot is read-only (bug#9035).
19156
19157 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19158
19159 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19160 * window.el (pop-to-buffer): Select window used even if it was
19161 selected before, see discussion of (Bug#8615), (Bug#6954).
19162 Pass argument NORECORD on to select-frame-set-input-focus.
19163
19164 2011-07-15 Glenn Morris <rgm@gnu.org>
19165
19166 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19167 Respect help-form.
19168
19169 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19170
19171 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19172 (gnutls-negotiate): Use it.
19173
19174 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19175
19176 * net/gnutls.el (gnutls-negotiate):
19177 Upcase `gnutls-algorithm-priority'.
19178
19179 2011-07-15 Glenn Morris <rgm@gnu.org>
19180
19181 * jka-compr.el (jka-compr-verbose): Move from here...
19182 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19183 Add missing :version tag.
19184 * info.el: No need to require jka-compr when compiling.
19185
19186 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19187
19188 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19189 (gnutls-negotiate): Use it.
19190
19191 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19192
19193 * info.el (Info-beginning-of-buffer): New command.
19194 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19195 announcing `b' as the key (bug#8325).
19196 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19197
19198 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19199
19200 * international/mule-cmds.el
19201 (describe-specified-language-support): Make the error message
19202 clearer (bug#8905).
19203
19204 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19205
19206 * isearch.el (isearch-barrier): Add a doc string, since it's
19207 mentioned in a function doc string (bug#8678).
19208
19209 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19210
19211 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19212 buffer argument (Bug#9083) and self-identifying label argument.
19213
19214 2011-07-15 Glenn Morris <rgm@gnu.org>
19215
19216 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19217
19218 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19219
19220 * man.el (Man-fontify-manpage): Fix message when formatting the
19221 man page (bug#7929).
19222
19223 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19224
19225 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19226 argument LRM; if non-nil, append an invisible LRM character to the
19227 buffer name.
19228 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19229 last argument non-nil, when formatting buffer names.
19230 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19231 paragraph direction.
19232
19233 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19234
19235 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19236 the man page name (bug#7929).
19237
19238 * image.el (put-image): Mention the `put-image' overlay property
19239 (bug#7834).
19240
19241 * scroll-bar.el (set-scroll-bar-mode): Mention that
19242 `scroll-bar-mode' lists the values (bug#7772).
19243
19244 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19245 command (bug#7729).
19246
19247 * rect.el (apply-on-rectangle): Return the point after the last
19248 operation.
19249 (string-rectangle): Go to the point after the last operation
19250 (bug#7522).
19251
19252 * printing.el (pr-toggle-region): Clarify the documentation
19253 slightly (bug#7493).
19254
19255 * time.el (display-time-update):
19256 Allow `display-time-mail-function' to return nil (bug#7158).
19257 Fix suggested by Detlev Zundel.
19258
19259 * vc/diff.el (diff): Clarify the order the file names are read
19260 (bug#7111).
19261
19262 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19263 the doc string (bug#7015).
19264
19265 * font-lock.el (font-lock-maximum-decoration): Mention what
19266 numeric levels mean (bug#6935).
19267
19268 * startup.el (initial-buffer-choice): Don't mention the `none'
19269 selection, which is against policy.
19270
19271 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19272
19273 * window.el (display-buffer-normalize-special):
19274 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19275
19276 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19277
19278 * subr.el (version<, version<=, version=): Mention "-CVS" and
19279 "-12345" alpha version numbers.
19280
19281 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19282
19283 * bindings.el: Add advertised binding for set-mark-command
19284 (Bug#5772).
19285
19286 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19287
19288 * bindings.el (mode-line-other-buffer):
19289 * bookmark.el (bookmark-bmenu-2-window):
19290 * bs.el (bs-cycle-next, bs-cycle-previous):
19291 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19292 switch-to-buffer.
19293
19294 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19295 Delete.
19296
19297 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19298
19299 * follow.el (follow-debug-message, follow-redisplay):
19300 * jka-cmpr-hook.el (with-auto-compression-mode):
19301 Fix typos in docstrings.
19302
19303 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19304
19305 * subr.el (with-silent-modifications): Clarify somewhat what the
19306 macro inhibits (bug#6525).
19307
19308 * simple.el (eval-expression): Note what it does if called
19309 interactively (bug#6495).
19310
19311 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19312
19313 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19314 Use pop-to-buffer buffer-or-name if it is nil.
19315
19316 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19317 Remove switch-to-buffer.
19318
19319 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19320
19321 * files.el (make-directory): Clarify that an error will be raised
19322 if there's an error (bug#6397).
19323
19324 * startup.el (initial-buffer-choice): Add `none' as a choice
19325 (bug#6234).
19326
19327 * subr.el (add-hook): Clarify section about buffer-local hooks
19328 (bug#6218).
19329
19330 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19331
19332 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19333
19334 * tabify.el (untabify): Preserve the current column so that point
19335 doesn't move (bug#6032).
19336
19337 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19338
19339 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19340 Rewrite to avoid awkward possessive "s" (bug#5986).
19341
19342 2011-07-13 Glenn Morris <rgm@gnu.org>
19343
19344 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19345 (dired-insert-directory): Give a message the first time
19346 if ls is found not to support --dired.
19347
19348 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19349
19350 * simple.el (toggle-truncate-lines): Clarify what is toggled
19351 (bug#5580). Text by Drew Adams.
19352
19353 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19354
19355 * simple.el (blink-matching-open): Make the error message from the
19356 last change less verbose.
19357
19358 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19359
19360 * font-lock.el (font-lock-comment-face): Use the high contrast
19361 "yellow" color for font-lock-comment-face on low color terminals
19362 using a dark background color (bug#4221).
19363
19364 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19365
19366 * dired.el (dired-insert-set-properties): Make the doc string
19367 reflect what it does now (bug#5325).
19368
19369 * simple.el (blink-matching-open): Say that we were unable to find
19370 the match within the limit, if we're limited (bug#5122).
19371
19372 * international/mule-cmds.el (prefer-coding-system): Add an
19373 example (bug#4869).
19374
19375 * progmodes/etags.el (tags-search): Document `file-list-form'
19376 (bug#4731).
19377
19378 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19379
19380 * net/browse-url.el (browse-url-default-browser)
19381 (browse-url-browser-function): Make the default browser choice a
19382 bit more logical (bug#4300). Also clean up the doc string.
19383
19384 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19385
19386 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19387 binary endings (bug#4440).
19388
19389 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19390
19391 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19392 which can be pretty annoying (bug#8971).
19393
19394 * jka-compr.el (jka-compr-verbose): New variable, and use
19395 throughout (bug#8971).
19396
19397 * info.el (Info-find-file): Fall back on the installation
19398 directory if we can't find the info node anywhere else.
19399
19400 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19401
19402 * vc/vc.el (vc-revert-file):
19403 Don't set file time-stamp in the past. (Bug#5181)
19404
19405 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19406
19407 * files.el (after-find-file): Give a better error message when
19408 trying to find a symlink that points to a file that doesn't exist
19409 (bug#4398).
19410
19411 * progmodes/cc-vars.el: Remove (probably) misleading comment
19412 (bug#4396).
19413
19414 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19415
19416 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19417
19418 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19419
19420 * mouse-sel.el: Hack restoring functionality, while keeping
19421 compatibility with 2010-07-03 changes to mouse selection.
19422 (mouse-sel-primary-overlay): New var.
19423 (mouse-sel-selection-alist): Use it.
19424 (mouse-sel-mode): Doc fix; remove points that are default features
19425 of mouse.el.
19426
19427 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19428
19429 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19430 Fix previous fix (bug#2490).
19431
19432 2011-07-12 Roland Winkler <winkler@gnu.org>
19433
19434 * textmodes/bibtex.el (bibtex-initialize):
19435 Use pop-to-buffer-same-window.
19436 (bibtex-search-entries): Fix interactive call.
19437
19438 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19439
19440 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19441 Fontise bytecomp Error lines more correctly (bug#2490).
19442 Fix suggested by Johan Bockgård.
19443
19444 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19445
19446 * dired-x.el (dired-guess-default): Use `delete-dups'.
19447
19448 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19449
19450 * dired.el (dired-mark-prompt):
19451 * dired-aux.el (dired-read-shell-command): Doc fix.
19452
19453 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19454
19455 * mail/sendmail.el (sendmail-query-once):
19456 Use `customize-save-variable' unconditionally, now that it works under
19457 emacs -Q.
19458
19459 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19460
19461 * cus-edit.el (custom-file): Take an optional no-error variable.
19462 (customize-save-variable): Set the variable, and give a warning if
19463 running under "emacs -q".
19464
19465 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19466
19467 * loadhist.el (unload-feature-special-hooks):
19468 Add `auto-coding-functions', `fill-nobreak-predicate' and
19469 `find-directory-functions' (bug#5327).
19470
19471 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19472
19473 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19474
19475 * cus-edit.el (custom-guess-name-alist): -alist variables should
19476 use the `alist' type (bug#3120). Suggested by Drew Adams.
19477
19478 * printing.el: Add documentation to all the `pr-toggle-' commands.
19479
19480 2011-07-11 Leo Liu <sdl.web@gmail.com>
19481
19482 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19483 backends where it makes sense (bug#2623).
19484
19485 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19486
19487 * dired-x.el (dired-guess-default): Remove duplicate shell command
19488 entries (bug#2028).
19489 (dired-guess-default): Fix grammar in doc string (bug#2028).
19490 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19491
19492 * subr.el (remove-duplicates): New conveniency function.
19493
19494 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19495
19496 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19497 (bug#1526).
19498
19499 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19500
19501 * window.el (display-buffer-normalize-default): Don't invert
19502 meaning of even-window-heights. Reported by Eli Zaretskii
19503 <eliz@gnu.org>.
19504
19505 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19506
19507 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19508
19509 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19510
19511 * window.el (display-buffer): Fix arguments to
19512 display-buffer-reuse-window in last change.
19513
19514 * faces.el (link): Use a less saturated blue on light backgrounds.
19515
19516 * startup.el (fancy-startup-text, fancy-about-text)
19517 (fancy-startup-tail): Use font-lock faces, for background safety.
19518
19519 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19520
19521 * emulation/viper-cmd.el (viper-change-state-to-vi):
19522 Limit triggering of abbrev expansion (Bug#9038).
19523
19524 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19525
19526 * window.el (display-buffer-default-specifiers): Remove.
19527 (display-buffer-macro-specifiers): Remove default specifiers.
19528 (display-buffer-alist): Default to nil.
19529 (display-buffer-reuse-window): New optional argument other-window.
19530 (display-buffer-pop-up-window): Allow splitting internal
19531 windows. Check whether a live window was created.
19532 (display-buffer-other-window-means-other-frame)
19533 (display-buffer-normalize-arguments): Rename to
19534 display-buffer-normalize-argument and rewrite. Set the
19535 other-window specifier.
19536 (display-buffer-normalize-special): New function.
19537 (display-buffer-normalize-options): Rename to
19538 display-buffer-normalize-default and rewrite.
19539 (display-buffer-normalize-options-inhibit): Remove.
19540 (display-buffer-normalize-specifiers): Rewrite.
19541 (display-buffer): Process other-window specifier and call
19542 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19543 more faithfully.
19544 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19545 (display-buffer-alist-set): Don't handle 'unset default values.
19546 (display-buffer-in-window, display-buffer-alist-set):
19547 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19548 <tassilo@member.fsf.org>.
19549
19550 2011-07-09 Leo Liu <sdl.web@gmail.com>
19551
19552 * register.el (insert-register): Restore accidental change on
19553 2011-06-26. (Bug#9028)
19554
19555 2011-07-09 Glenn Morris <rgm@gnu.org>
19556
19557 * subr.el (remq): Handle the empty list. (Bug#9024)
19558
19559 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19560
19561 * mail/sendmail.el (send-mail-function): No longer delay custom
19562 initialization.
19563 * custom.el (custom-initialize-delay): Doc fix.
19564
19565 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19566
19567 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19568
19569 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19570
19571 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19572 human-friendly prompt.
19573
19574 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19575
19576 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19577 provided by a particular plugin.
19578
19579 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19580
19581 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19582 save customizations (with "emacs -Q"), just set the variable
19583 instead of erroring out.
19584
19585 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19586
19587 2011-07-08 Juri Linkov <juri@jurta.org>
19588
19589 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19590 (archive-zip-update-case): Use 7z if found by `executable-find'.
19591 The order of searching the available programs is the same as in
19592 `archive-zip-extract' (bug#8968).
19593
19594 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19595
19596 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19597 (menu-bar-options-menu): Tweak descriptions.
19598
19599 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19600
19601 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19602 menu items into verb phrases (bug#1421). Also refill to fit under
19603 80 columns.
19604
19605 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19606
19607 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19608 (Info-read-node-name): Doc fix (Bug#1084).
19609
19610 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19611 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19612 (end-of-sexp, beginning-of-sexp)
19613 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19614 (forward-symbol, forward-same-syntax, word-at-point)
19615 (sentence-at-point): Doc fix (Bug#1144).
19616
19617 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19618
19619 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19620 should cover it (bug#1281).
19621
19622 * cus-edit.el (custom-show): Mark as obsolete.
19623
19624 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19625 negotiation fails, then possibly try again with a non-encrypted
19626 connection (bug#9017).
19627
19628 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19629 be used.
19630
19631 2011-07-07 Richard Stallman <rms@gnu.org>
19632
19633 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19634 property, and handle its changed format.
19635 Look for the correct line number.
19636 Use file's line contents (but not past first =) to find
19637 correct line in message.
19638
19639 2011-07-07 Kenichi Handa <handa@m17n.org>
19640
19641 * international/characters.el (build-unicode-category-table):
19642 Delete it.
19643 (unicode-category-table): Set it by unicode-property-table-internal.
19644
19645 * international/mule-cmds.el (char-code-property-alist): Move to
19646 to src/chartab.c.
19647 (get-char-code-property): Call unicode-property-table-internal to
19648 load a file. Call get-unicode-property-internal where necessary.
19649 (put-char-code-property): Call unicode-property-table-internal to
19650 load a file. Call put-unicode-property-internal where necessary.
19651 put-unicode-property-internal where necessary.
19652 (char-code-property-description):
19653 Call unicode-property-table-internal to load a file.
19654
19655 * international/charprop.el:
19656 * international/uni-bidi.el:
19657 * international/uni-category.el:
19658 * international/uni-combining.el:
19659 * international/uni-comment.el:
19660 * international/uni-decimal.el:
19661 * international/uni-decomposition.el:
19662 * international/uni-digit.el:
19663 * international/uni-lowercase.el:
19664 * international/uni-mirrored.el:
19665 * international/uni-name.el:
19666 * international/uni-numeric.el:
19667 * international/uni-old-name.el:
19668 * international/uni-titlecase.el:
19669 * international/uni-uppercase.el: Regenerate.
19670
19671 * loadup.el: Load international/charprop.el before
19672 international/characters.
19673
19674 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19675
19676 * window.el (next-buffer, previous-buffer): Signal an error if
19677 called from a minibuffer window.
19678
19679 * bindings.el: Revert 2011-07-04 change.
19680
19681 2011-07-06 Richard Stallman <rms@gnu.org>
19682
19683 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19684 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19685 Treat markers like ints.
19686 (rmail-mime-entity): Doc fix.
19687
19688 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19689
19690 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19691 defcustom again for backwards compatibility.
19692
19693 * simple.el (shell-command-on-region): Fill.
19694
19695 * dired-aux.el (dired-kill-line): Add a doc string.
19696
19697 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19698 to "\\sw\\|\\s_" (bug#358).
19699
19700 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19701 (dired-unmark-backward): Ditto.
19702 (dired-flag-backup-files): Ditto.
19703
19704 * dired-x.el (dired-mark-sexp): Ditto.
19705
19706 2011-07-06 Richard Stallman <rms@gnu.org>
19707
19708 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19709 (rmail-mime-entity): New arg TRUNCATED.
19710 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19711 New functions.
19712 (rmail-mime-save): Warn if entity is truncated.
19713 (rmail-mime-toggle-hidden): Likewise, for showing.
19714 (rmail-mime-process-multipart): Record when an entity is truncated.
19715
19716 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19717 if ENTITY is a string.
19718
19719 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19720
19721 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19722 of faces when `M-C-x'-ing their definitions (bug#8378).
19723 Also clean up the code slightly.
19724
19725 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19726 because that makes the colors go away.
19727
19728 * mail/sendmail.el (send-mail-function): Change the default to
19729 `sendmail-query-once'.
19730 (sendmail-query-once): Add an autoload cookie.
19731
19732 * net/network-stream.el (network-stream-open-starttls): Try using
19733 a plain connection even if the server offered STARTTLS, and we
19734 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19735 capability. This should make smtpmail.el work in slightly more
19736 configurations.
19737
19738 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19739
19740 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19741 New defun.
19742 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19743
19744 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19745
19746 * progmodes/sql.el: Version 3.0
19747 (sql-product-alist): Add product :completion-object,
19748 :completion-column, and :statement attributes.
19749 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19750 (sql-mode-syntax-table): Mark all punctuation.
19751 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19752 ansi keywords.
19753 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19754 (sql-mode-oracle-font-lock-keywords): Improve.
19755 (sql-oracle-show-reserved-words): New function for development.
19756 (sql-product-font-lock): Simplify for source code buffers.
19757 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19758 New functions.
19759 (sql-highlight-product): Set product specific syntax table.
19760 (sql-mode-map): Add statement movement functions.
19761 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19762 New variable.
19763 (sql-statement-regexp, sql-beginning-of-statement)
19764 (sql-end-of-statement, sql-signum): New functions.
19765 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19766 (sql-show-sqli-buffer): Bug fix.
19767 (sql-interactive-mode): Store connection data as buffer local.
19768 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19769 with sql-interactive-mode.
19770 (sql-save-connection): Save buffer local settings.
19771 (sql-connection-menu-filter): Change menu entry name.
19772 (sql-product-interactive): Bug fix.
19773 (sql-preoutput-hold): New variable.
19774 (sql-interactive-remove-continuation-prompt): Bug fixes.
19775 (sql-debug-redirect): New variable.
19776 (sql-str-literal): New function.
19777 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19778 Redesign.
19779 (sql-oracle-save-settings, sql-oracle-restore-settings)
19780 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19781 (sql-completion-object, sql-completion-column)
19782 (sql-completion-sqlbuf): New variables.
19783 (sql-build-completions-1, sql-build-completions)
19784 (sql-try-completion): New functions.
19785 (sql-read-table-name): Use them.
19786 (sql-contains-names): New buffer local variable.
19787 (sql-list-all, sql-list-table): Use it.
19788 (sql-oracle-completion-types): New variable.
19789 (sql-oracle-completion-object, sql-sqlite-completion-object)
19790 (sql-postgres-completion-object): New functions.
19791
19792 2011-07-06 Glenn Morris <rgm@gnu.org>
19793
19794 * window.el (pop-to-buffer): Doc fix.
19795
19796 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19797
19798 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19799
19800 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19801
19802 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19803
19804 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19805
19806 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19807
19808 * button.el (button): Inherit from link face. Suggested by Dan
19809 Nicolaescu.
19810
19811 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19812
19813 * progmodes/gdb-mi.el: Fit in 80 columns.
19814 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19815 switch-to-buffer.
19816
19817 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19818 if imenu is simply not configured (bug#8941).
19819
19820 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19821
19822 * allout.el (allout-post-undo-hook): New allout outline-change
19823 event hook to signal undo activity.
19824 (allout-post-command-business): Run allout-post-undo-hook if an
19825 undo just occurred.
19826 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19827 * allout-widgets.el (allout-widgets-after-undo-function):
19828 Ensure the integrity of the current item's decoration after it has been
19829 in the vicinity of an undo.
19830 (allout-widgets-mode): Include allout-widgets-after-undo-function
19831 on the new allout-post-undo-hook.
19832
19833 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19834
19835 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19836 Let define-derived-mode define it.
19837 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19838 cycles of abbrev-table inheritance (bug#8998).
19839
19840 2011-07-05 Roland Winkler <winkler@gnu.org>
19841
19842 * textmodes/bibtex.el: Add support for biblatex.
19843 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19844 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19845 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19846 (bibtex-entry-alist, bibtex-field-alist): New variables.
19847 (bibtex-entry-field-alist): Obsolete alias for
19848 bibtex-BibTeX-entry-alist.
19849 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19850 (bibtex-set-dialect): New command.
19851 (bibtex-entry-type, bibtex-entry-head)
19852 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19853 Bind via bibtex-set-dialect.
19854 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19855 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19856 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19857 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19858 Define via bibtex-set-dialect.
19859 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19860 Obey bibtex-no-opt-remove-re.
19861 (bibtex-vec-push, bibtex-vec-incr): New functions.
19862 (bibtex-format-entry, bibtex-field-list)
19863 (bibtex-print-help-message, bibtex-validate)
19864 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19865
19866 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19867
19868 * progmodes/compile.el (compilation-goto-locus):
19869 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19870 * bs.el (bs-cycle-next, bs-cycle-previous):
19871 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19872 * bindings.el (mode-line-other-buffer):
19873 * autoinsert.el (auto-insert):
19874 * arc-mode.el (archive-extract):
19875 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19876
19877 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19878
19879 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19880 Fix check of `emacs-lock-unlockable-modes'.
19881 Coerce true values of `emacs-lock--try-unlocking' to t.
19882
19883 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19884
19885 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19886 * emacs-lock.el: New file.
19887
19888 2011-07-05 Julien Danjou <julien@danjou.info>
19889
19890 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19891 than `boundp' to check if face is set.
19892
19893 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19894
19895 * register.el (registerv-make):
19896 * window.el (window-min-height): Fix typos in docstrings.
19897
19898 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19899
19900 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19901 Update doc string.
19902
19903 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19904
19905 * server.el (server-execute): Catch quit and call
19906 `server-return-error' to pass the error back to emacsclient and
19907 close the connection (bug#8942).
19908
19909 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19910
19911 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19912 insecure exception for current topic. Also note that auto-saves
19913 are handled differently.
19914
19915 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19916 State variables for tracking auto-save inhibition situation.
19917
19918 (allout-write-contents-hook-handler): Rename from
19919 'allout-write-file-hook-handler', and describe how it depends on
19920 write-contents-functions sensitivity to non-nil value to prevent
19921 file write.
19922
19923 (allout-auto-save-hook-handler): Remove. auto-save does not check
19924 this in individual buffers, only in the starting buffer, so this
19925 is not the right way for us to inhibit auto-save in a buffer
19926 according to its condition.
19927
19928 (allout-mode): Use new allout-write-contents-hook-handler, and
19929 only with write-contents-functions. Remove auto-save provisions -
19930 they're implemented elsewhere.
19931
19932 (allout-before-change-handler): If undo is in progress, note that
19933 for attention of allout-post-command-business.
19934
19935 (allout-post-command-business): If the command we're following was
19936 an undo, check for change in the status of encrypted items and
19937 adjust auto-save inhibitions accordingly.
19938
19939 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19940 according to whether there are or aren't any plain-text topics
19941 pending encryption.
19942
19943 (allout-inhibit-auto-save-info-for-decryption):
19944 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19945 if there are plain-text topics pending encryption.
19946
19947 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19948 buffer-saved-size and some allout state to not inhibit auto-saves
19949 if there are no longer any plain-text topics pending encryption.
19950
19951 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19952 No longer provide for exemption of the current topic.
19953
19954 2011-07-04 Juri Linkov <juri@jurta.org>
19955
19956 Add 7z operations to delete and save changed members (bug#8968).
19957 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19958 New defcustoms.
19959 (archive-7z-write-file-member): New function.
19960 (archive-7z-summarize): Fix the number of dashes in the
19961 listing output.
19962
19963 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19964
19965 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19966 (bug#8958).
19967
19968 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19969
19970 * bindings.el: Ignore next-buffer and previous-buffer in
19971 minibuffer-local-map.
19972
19973 * font-lock.el (font-lock-builtin-face): Change light background
19974 color to dark slate blue (Bug#6693).
19975
19976 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19977
19978 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19979
19980 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19981
19982 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19983 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19984 Add switch-to-buffer.
19985
19986 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19987
19988 * isearch.el (isearch-search-fun-function): Clarify further the
19989 meaning of the function returned.
19990
19991 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19992
19993 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19994
19995 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19996 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19997 Use it.
19998 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19999 `tramp-default-remote-path' does not exist.
20000 (tramp-send-command-and-read): New optional argument NOERROR.
20001 (tramp-open-connection-setup-interactive-shell)
20002 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20003 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20004 (tramp-process-sentinel): Flush also process' connection property.
20005 (tramp-sh-handle-start-file-process): Do not set process
20006 sentinel. It is done now ...
20007 (tramp-maybe-open-connection): ... here. (Bug#8929)
20008
20009 2011-07-04 MON KEY <monkey@sandpframing.com>
20010
20011 * play/animate.el (animate-string): Doc fixes and allow changing
20012 the buffer name (bug#5417).
20013
20014 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20015
20016 * play/animate.el (animation-buffer-name): Rename from *animate*.
20017
20018 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20019
20020 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20021 This is simpler and helps future-proof the code.
20022 (timer-until): Use time-subtract and float-time.
20023 (timer--time-less-p): Use time-less-p.
20024
20025 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20026
20027 * type-break.el (timep): Use the value of `float-time' to avoid a
20028 byte-compiler warning.
20029
20030 * server.el (server-eval-and-print): Return any result, even nil.
20031
20032 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20033
20034 * type-break.el: Accept time formats that the builtins accept.
20035 (timep, type-break-time-difference): Accept any format that
20036 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20037 This is simpler and helps future-proof the code.
20038 (type-break-time-difference): Round rather than ignoring
20039 subseconds components.
20040
20041 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20042
20043 * info.el (Info-apropos-matches): Make non-interactive, since it
20044 doesn't seem to do anything useful as a command (bug#8829).
20045
20046 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20047
20048 * frame.el (frame-background-mode, frame-set-background-mode):
20049 Move from faces.el.
20050 (frame-default-terminal-background): New function.
20051
20052 * custom.el (custom-push-theme): Don't record faces in `changed'
20053 theme; this doesn't work correctly for per-frame face settings.
20054 (disable-theme): Use face-set-after-frame-default to reset faces.
20055 (custom--frame-color-default): New function.
20056
20057 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20058
20059 * dired.el (dired-flagging-regexp): Remove unused variable
20060 (bug#8769).
20061
20062 2011-03-29 Kevin Ryde <user42@zip.com.au>
20063
20064 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20065 `perl-Test2' extend to match possible "fail #N" rep count
20066 (bug#8377).
20067
20068 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20069
20070 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20071 `smtpmail-via-smtp' now returns the error instead of nil.
20072
20073 * isearch.el (isearch-search-fun-function): Clarify the doc string
20074 (bug#8101).
20075
20076 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20077
20078 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20079 unnecessary spaces (bug#8987).
20080
20081 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20082
20083 * net/network-stream.el (open-network-stream): Use the
20084 :end-of-capability command thoughout.
20085
20086 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20087
20088 * net/network-stream.el (open-network-stream): Add the
20089 :end-of-capability command parameter, used by pop3.el.
20090
20091 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20092
20093 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20094
20095 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20096 for list)" (bug#6475).
20097
20098 * files.el (file-expand-wildcards): Ignore non-readable
20099 sub-directories while trying to find matches instead of signaling
20100 an error (bug#6297).
20101
20102 * man.el (Man-reference-regexp): Allow matching possible
20103 word-wrapped references (bug#6289).
20104
20105 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20106 for consistency with the other vc buffers (bug#6197).
20107 (vc-checkin): Ditto.
20108
20109 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20110
20111 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20112
20113 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20114
20115 * custom.el (defcustom): Clarify that :set is only used in the
20116 Customize user interface (bug#6089).
20117
20118 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20119 associated with a file, refuse to run instead of erroring out
20120 (bug#6084).
20121
20122 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20123 the doc string, since it appears that using `fill-column' always
20124 controls the width (bug#7845).
20125
20126 * simple.el (shell-command-on-region): Say where the error output
20127 went if `shell-command-default-error-buffer' is set (bug#6857).
20128
20129 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20130
20131 * allout.el (allout-yank-processing): Adjust cursor position for
20132 backwards-deleted space.
20133
20134 (allout-rebullet-heading): Register changes with
20135 allout-exposure-changed-hook, so the modified topic is properly
20136 decorated.
20137
20138 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20139
20140 * minibuffer.el (completion-in-region): Document PREDICATE
20141 (bug#7136).
20142
20143 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20144 of keyword/argument pairs (bug#6904).
20145
20146 * replace.el (multi-occur):
20147 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20148
20149 2011-07-02 Drew Adams <drew.adams@oracle.com>
20150
20151 * dired.el (dired-mark-if): Make the message about whether it's
20152 marking or unmarking clearer (bug#8523).
20153
20154 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20155
20156 * disp-table.el (display-table-print-array): New function.
20157 (describe-display-table): Use it to print the vectors more pretty
20158 (Bug#8859).
20159
20160 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20161
20162 * window.el (window-state-get-1): Don't assign clone numbers.
20163 Add clone-of item to list of window parameters.
20164 (window-state-put-2): Don't process clone numbers.
20165 (display-buffer-alist): Fix doc-string.
20166
20167 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20168
20169 * subr.el (remq): Don't allocate if it's not needed.
20170 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20171 (keymap--merge-bindings): New functions.
20172 (keymap-canonicalize): Use them to refine the canonicalization.
20173 * minibuffer.el (minibuffer-local-completion-map)
20174 (minibuffer-local-must-match-map): Move initialization from C.
20175 (minibuffer-local-filename-completion-map): Move initialization from C;
20176 don't inherit from anything here.
20177 (minibuffer-local-filename-must-match-map): Make obsolete.
20178 (completing-read-default): Use make-composed-keymap to combine
20179 minibuffer-local-filename-completion-map with either
20180 minibuffer-local-must-match-map or
20181 minibuffer-local-filename-completion-map.
20182
20183 2011-07-01 Glenn Morris <rgm@gnu.org>
20184
20185 * type-break.el (type-break-time-sum): Use dolist.
20186
20187 * textmodes/flyspell.el (flyspell-word-search-backward):
20188 Replace CL function.
20189
20190 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20191
20192 * mouse.el (mouse--strip-first-event): New function.
20193 (function-key-map): Use it to map fringe clicks to normal clicks
20194 by default.
20195
20196 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20197 (vc-bzr-revision-completion-table): Add support for annotate and date.
20198
20199 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20200 inherit from parent.
20201
20202 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20203
20204 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20205 (dired-show-file-type): Doc fixup (bug#8818).
20206
20207 * dired.el (dired-mode): Fix up the doc string as suggested by
20208 Drew Adams (bug#8817).
20209
20210 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20211 cookie, since the manual says that it should be possible to add
20212 this function to `find-file-hook' (bug#8709).
20213
20214 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20215
20216 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20217 here. Noted Ted Zlatanov as the maintainer.
20218 (cfengine-common-settings, cfengine-common-syntax): New functions
20219 to set up common things between `cfengine-mode' and
20220 `cfengine3-mode'.
20221 (cfengine3-mode): New mode.
20222 (cfengine3-defuns cfengine3-defuns-regex
20223 (cfengine3-class-selector-regex cfengine3-category-regex)
20224 (cfengine3-vartypes cfengine3-font-lock-keywords)
20225 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20226 (cfengine3-indent-line): Add from cfengine3.el.
20227
20228 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20229
20230 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20231
20232 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20233
20234 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20235
20236 * window.el (same-window-buffer-names, same-window-regexps)
20237 (same-window-p, special-display-frame-alist)
20238 (special-display-popup-frame, special-display-function)
20239 (special-display-buffer-names, special-display-regexps)
20240 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20241 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20242 (split-window-preferred-function, split-height-threshold)
20243 (split-width-threshold, even-window-heights)
20244 (display-buffer-mark-dedicated, window-splittable-p)
20245 (split-window-sensibly, window-safely-shrinkable-p):
20246 Un-obsolete.
20247 (display-buffer): Don't spread args with function specifier
20248 because special-display-popup-frame won't like it.
20249
20250 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20251
20252 Time-stamp simplifications and fixes.
20253 These improve accuracy slightly, and future-proof the code
20254 against some potential changes to current-time format.
20255
20256 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20257 by using time-since and float-time.
20258
20259 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20260 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20261 + NNN microseconds".
20262
20263 * type-break.el (type-break-time-sum): Rewrite using time-add.
20264
20265 * play/hanoi.el (hanoi-current-time-float): Remove.
20266 All uses replaced by float-time.
20267
20268 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20269 This yields a more-accurate answer.
20270 (rng-time-to-float): Remove; no longer needed.
20271
20272 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20273
20274 * calendar/timeclock.el (timeclock-seconds-to-time):
20275 Defalias to seconds-to-time, since they're the same thing.
20276
20277 * emacs-lisp/elp.el (elp-elapsed-time):
20278 * emacs-lisp/benchmark.el (benchmark-elapse):
20279 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20280
20281 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20282
20283 * window.el (bury-buffer): Don't iconify the only frame.
20284 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20285 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20286
20287 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20288
20289 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20290 Add mouse-yank-primary.
20291
20292 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20293
20294 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20295
20296 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20297
20298 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20299 (find-library-name): Use it to find relative load names when provided
20300 absolute file name (bug#8803).
20301
20302 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20303
20304 * textmodes/flyspell.el (flyspell-word): Consider words that
20305 differ only in case as potential doublons (bug#5687).
20306
20307 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20308 Remove two rather uninteresting debugging-like messages to make
20309 debbugs.el more silent.
20310
20311 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20312 a password-like phrase.
20313
20314 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20315
20316 * progmodes/cc-guess.el: New file.
20317
20318 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20319
20320 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20321 derived from `c-basic-common-init'.
20322
20323 * progmodes/cc-mode.el (top-level): Require cc-guess.
20324 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20325
20326 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20327
20328 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20329
20330 2011-06-30 Alan Mackenzie <acm@muc.de>
20331
20332 * progmodes/cc-engine.el (c-guess-continued-construct):
20333 Correct the handling of template-args-cont, particularly for when font
20334 lock is disabled. Name this case as "CASE G".
20335
20336 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20337
20338 * allout.el (allout-yank-processing): Fix injection of extra space
20339 between bullet and non-whitespace character in first topic when
20340 pasting, ensuring that the actual spacing in the pasted topic
20341 following the bullet char is preserved. This extra space was
20342 causing pasted encrypted topics to get a decrypted status even
20343 when the content was actually still encrypted. Now the decryption
20344 status from before the paste is preserved.
20345
20346 (allout-flag-region): Set all allout overlays so they evaporate
20347 when reduced to zero length (evanescent), to prevent overlay
20348 leakage.
20349
20350 2011-06-30 Glenn Morris <rgm@gnu.org>
20351
20352 * w32-fns.el (w32-charset-info-alist): Declare.
20353
20354 * find-dired.el (find-grep-options): Simplify.
20355
20356 * term/ns-win.el (ns-set-resource): Declare.
20357
20358 * ses.el (row, col): Declare dynamic variables honestly.
20359
20360 * textmodes/reftex-parse.el (index-tags): Declare.
20361
20362 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20363
20364 * cus-edit.el (customize-push-and-save): New function.
20365
20366 * files.el (hack-local-variables-confirm): Use it.
20367
20368 * custom.el (load-theme): New arg NO-CONFIRM.
20369 Use customize-push-and-save (Bug#8720).
20370 (custom-enabled-themes): Doc fix.
20371
20372 * cus-theme.el (customize-create-theme)
20373 (custom-theme-merge-theme): Callers to load-theme changed.
20374
20375 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20376
20377 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20378 short URLs have at least one dot in them (bug #7614).
20379
20380 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20381 nil, because using a pty is apparently too slow (bug #895).
20382
20383 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20384
20385 * mail/sendmail.el (sendmail-query-once): New function.
20386 (sendmail-query-once-function): New variable.
20387
20388 2011-06-29 Glenn Morris <rgm@gnu.org>
20389
20390 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20391
20392 * ses.el (top-level): Require cl when compiling.
20393 (ses-set-localvars): Fix error statement.
20394 Call it at compile time to silence a storm of warnings.
20395
20396 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20397
20398 * window.el (normalize-live-buffer): Rename to
20399 window-normalize-buffer.
20400 (normalize-live-frame): Rename to window-normalize-frame.
20401 (normalize-any-window): Rename to window-normalize-any-window.
20402 (normalize-live-window): Rename to window-normalize-live-window.
20403 (make-window-atom): Rename to window-make-atom.
20404 (window-resize-reset): Rename to window--resize-reset.
20405 (window-resize-reset-1): Rename to window--resize-reset-1.
20406 (resize-mini-window): Rename to window--resize-mini-window.
20407 (resize-subwindows-skip-p): Rename to
20408 window--resize-subwindows-skip-p.
20409 (resize-subwindows-normal): Rename to
20410 window--resize-subwindows-normal.
20411 (resize-subwindows): Rename to window--resize-subwindows.
20412 (resize-other-windows): Rename to window--resize-siblings.
20413 (resize-this-window): Rename to window--resize-this-window.
20414 (resize-root-window): Rename to window--resize-root-window.
20415 (resize-root-window-vertically): Rename to
20416 window--resize-root-window-vertically.
20417 (normalize-buffer-to-display): Rename to
20418 window-normalize-buffer-to-display.
20419 (normalize-buffer-to-switch-to): Rename to
20420 window-normalize-buffer-to-switch-to.
20421 Correspondingly update all callers of the functions listed
20422 above.
20423 (display-buffer-alist, display-buffer-normalize-arguments)
20424 (display-buffer-normalize-options, display-buffer)
20425 (display-buffer-alist-set): Use "function" instead of
20426 "fun-with-args".
20427
20428 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20429
20430 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20431 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20432 debbugs.gnu.org. Mention acknowledgment email.
20433
20434 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20435
20436 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20437 buffer multibyteness, since it shouldn't matter.
20438
20439 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20440
20441 * window.el (display-buffer-in-side-window): Handle dedicated
20442 windows as in display-buffer-reuse-window.
20443 (display-buffer-normalize-alist): Use value of override
20444 specifier.
20445 (display-buffer-normalize-specifiers): Use value of
20446 other-window-means-other-frame specifier.
20447 (display-buffer-alist): Rewrite some texts in widgets.
20448 (display-buffer): Spread arguments when calling function
20449 specified by fun-with-args.
20450
20451 2011-06-28 Deniz Dogan <deniz@dogan.se>
20452
20453 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20454 Unnest `let'.
20455
20456 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20457 selectors (Bug#5732).
20458 (css-proprietary-nmstart-re): Use `regexp-opt'.
20459
20460 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20461
20462 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20463 (eshell-ls-date-format): New defcustom.
20464 (eshell-ls-file): Use it.
20465
20466 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20467
20468 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20469
20470 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20471
20472 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20473 (ange-ftp-make-tmp-name): New arg.
20474 (ange-ftp-file-local-copy): Use it.
20475
20476 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20477
20478 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20479 no-conversion (Bug#8870).
20480
20481 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20482
20483 * window.el (window-right, window-left, window-child)
20484 (window-child-count, window-last-child)
20485 (window-iso-combination-p, walk-window-tree-1)
20486 (window-atom-check-1, window-tree-1, delete-window)
20487 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20488 new naming conventions - window-vchild, window-hchild,
20489 window-next and window-prev are now called window-top-child,
20490 window-left-child, window-next-sibling and window-prev-sibling
20491 respectively.
20492 (resize-window-reset): Rename to window-resize-reset.
20493 (resize-window-reset-1): Rename to window-resize-reset-1.
20494 (resize-window): Rename to window-resize.
20495 (window-min-height, window-min-width)
20496 (resize-mini-window, resize-this-window, resize-root-window)
20497 (resize-root-window-vertically, adjust-window-trailing-edge)
20498 (enlarge-window, shrink-window, maximize-window)
20499 (minimize-window, delete-window, quit-restore-window)
20500 (split-window, balance-windows, balance-windows-area-adjust)
20501 (balance-windows-area, window-state-put-2)
20502 (display-buffer-even-window-sizes, display-buffer-set-height)
20503 (display-buffer-set-width, set-window-text-height)
20504 (fit-window-to-buffer): Rename all "resize-window" prefixed
20505 calls to use the "window-resize" prefix convention.
20506 (display-buffer-alist): Fix symbol for label specifier.
20507 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20508 corresponding specifier.
20509 Reported by Juanma Barranquero <lekktu@gmail.com>.
20510
20511 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20512
20513 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20514 convention.
20515 (ses-call-printer): Does not pass an empty string to formatter when the
20516 cell is empty to keep from barking printer Calc math-format-value.
20517
20518 2011-06-27 Richard Stallman <rms@gnu.org>
20519
20520 * battery.el (battery-mode-line-limit): New variable.
20521 (battery-update): Handle it.
20522
20523 * mail/rmailmm.el (rmail-mime-process-multipart):
20524 Handle truncated messages.
20525
20526 2011-06-27 Glenn Morris <rgm@gnu.org>
20527
20528 * progmodes/flymake.el (flymake-err-line-patterns):
20529 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20530
20531 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20532
20533 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20534 (ses--clean-!, ses--clean-_): New functions.
20535 (ses-range): Add configurability of readout order, and conversion
20536 to Calc vector.
20537
20538 * ses.el (ses-repair-cell-reference-all): New function.
20539 (ses-cell-symbol): Set macro as safe, so that it can be used in
20540 formulas.
20541
20542 * ses.el: Update cycle detection algorithm.
20543 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20544 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20545 (ses-set-localvars): New function.
20546 (ses-make-cell): Add property-list as a cell element.
20547 (ses-cell-property-get-fun, ses-cell-property-get)
20548 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20549 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20550 New functions.
20551 (ses-cell-property-set, ses-cell-property-pop)
20552 (ses-cell-property-get-handle): New macro.
20553 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20554 New aliases, used for code readability.
20555 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20556 cycle detection.
20557 (ses-self-reference-early-detection): New defcustom.
20558 (ses-formula-references): Robustify against self-referring cells.
20559 (ses-mode): Use ses-set-localvars.
20560 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20561 before lauching the update processing.
20562 (ses-initialize-Dijkstra-attempt): New function.
20563 (ses-recalculate-cell): Update for cycle detection based on
20564 Dijkstra algorithm.
20565
20566 * ses.el: Fix commenting and indenting convention.
20567
20568 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20569
20570 * bs.el (bs-cycle-next): Complete last change.
20571
20572 2011-06-27 Drew Adams <drew.adams@oracle.com>
20573
20574 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20575
20576 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20577
20578 * net/network-stream.el (network-stream-open-starttls):
20579 Don't re-get capabilities unless we've reestablished connection.
20580 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20581
20582 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20583 to binary to possibly avoid line encoding issues on Windows (among
20584 other things).
20585
20586 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20587
20588 * net/network-stream.el (open-network-stream): Return an :error
20589 saying what the problem was, if possible.
20590
20591 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20592 server.
20593
20594 * net/network-stream.el (network-stream-open-starttls): If we
20595 wanted to use STARTTLS, and the server offered it, but we weren't
20596 able to because we had no STARTTLS support, then close the connection.
20597 (open-network-stream): Return an :error element, if present.
20598
20599 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20600
20601 * hl-line.el (hl-line-sticky-flag): Doc fix.
20602 (global-hl-line-sticky-flag): New option (Bug#8323).
20603 (global-hl-line-highlight): Obey it.
20604
20605 * vc/vc.el (vc-revert-show-diff): Default to t.
20606
20607 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20608
20609 * allout-widgets.el (allout-widgets-post-command-business):
20610 Stop decorating intermediate isearch matches. They're not being
20611 undecorated when an isearch is continued past, and isearch
20612 automatically collapses them. This leads to "widget leaks", where
20613 decorated items accumulate in collapsed areas. Lines with lots of
20614 hidden widgets can slow down cursor travel, substantially.
20615 Too much complicated machinery would be needed to ensure undecoration,
20616 so we're doing without this nicety.
20617
20618 (allout-widgets-tally-string): Don't try to do a hash-table-count
20619 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20620 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20621 *Messages* when allout-widgets-maintain-tally is t.
20622
20623 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20624
20625 * window.el (display-buffer-normalize-argument): Rename to
20626 display-buffer-normalize-arguments. Handle special meaning of
20627 LABEL argument. Respect special-display-function when popping up
20628 a new frame. Fix code searching for a window showing the buffer
20629 on another frame.
20630 (display-buffer-normalize-specifiers):
20631 Call display-buffer-normalize-arguments.
20632 (display-buffer-in-window): Don't undedicate the window if its
20633 buffer remains the same.
20634 Reported by Drew Adams <drew.adams@oracle.com>.
20635 (display-buffer-alist): Add choice for same-window macro
20636 specfier.
20637 (display-buffer): Mention special meaning of LABEL argument in
20638 doc-string. Fix quoting. Don't pop up a new frame even as
20639 fallback.
20640
20641 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20642
20643 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20644 avoid deleting the current window in some cases (bug#8911).
20645
20646 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20647
20648 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20649 (Bug#8934)
20650
20651 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20652
20653 * net/network-stream.el (network-stream-open-starttls):
20654 Use built-in TLS support if `gnutls-available-p' is true.
20655 (network-stream-open-tls): Ditto.
20656
20657 2011-06-26 Leo Liu <sdl.web@gmail.com>
20658
20659 * register.el (registerv): New struct.
20660 (registerv-make): New function.
20661 (jump-to-register, describe-register-1, insert-register):
20662 Support the jump-func, print-func and insert-func slot of a registerv
20663 struct. (Bug#8415)
20664
20665 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20666
20667 * vc/vc.el (vc-revert-show-diff): New defcustom.
20668 (vc-diff-internal): New arg specifying diff buffer.
20669 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20670 reuse an existing *vc-diff* buffer (Bug#8927).
20671
20672 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20673
20674 2011-06-26 Glenn Morris <rgm@gnu.org>
20675
20676 * progmodes/f90.el (f90-critical-indent): New option.
20677 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20678 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20679 (f90-mode): Doc fix.
20680 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20681 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20682 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20683 (f90-match-end): Handle block, critical.
20684
20685 2011-06-25 Glenn Morris <rgm@gnu.org>
20686
20687 * calendar/diary-lib.el (diary-included-files): Doc fix.
20688 (diary-include-files): New function, extracted from
20689 diary-include-other-diary-files and diary-mark-included-diary-files.
20690 (diary-include-other-diary-files, diary-mark-included-diary-files):
20691 Just call diary-include-files.
20692 (diary-mark-entries): Reset diary-included-files on first call.
20693
20694 * calendar/diary-lib.el (diary-mark-entries)
20695 (diary-mark-included-diary-files):
20696 Visit included diary-files in temp buffers.
20697
20698 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20699 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20700 (f90-start-block-re, f90-imenu-generic-expression)
20701 (f90-looking-at-program-block-start, f90-no-block-limit):
20702 Add support for submodules.
20703
20704 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20705 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20706
20707 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20708
20709 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20710 buffer-file-type before setting its value, to avoid disastrous
20711 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20712
20713 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20714
20715 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20716
20717 * ses.el (ses-unload-function):
20718 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20719
20720 * proced.el (proced-unload-function):
20721 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20722
20723 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20724
20725 * server.el (server-create-window-system-frame): Add parameters arg.
20726 (server-process-filter): Doc fix. Handle frame-parameters.
20727
20728 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20729
20730 Fix bug#8730, bug#8781.
20731
20732 * loadhist.el (unload--set-major-mode): New function.
20733 (unload-feature): Use it.
20734
20735 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20736 (python-unload-function): New function.
20737
20738 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20739
20740 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20741
20742 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20743
20744 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20745 the candidates list.
20746
20747 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20748
20749 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20750
20751 2011-06-23 Richard Stallman <rms@gnu.org>
20752
20753 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20754 (rmail-variables): Set next-error-move-function.
20755 (rmail-what-message): Take argument POS.
20756 (rmail-next-error-move): New function.
20757
20758 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20759
20760 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20761 messages for adjacent non-terminals.
20762
20763 2011-06-23 Richard Stallman <rms@gnu.org>
20764
20765 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20766 (rmail-show-message-1): Preserve buffer modified flag.
20767 (rmail-start-mail): Don't specify use of rmail-mail-return;
20768 that's done by mail-bury now.
20769 (rmail-mail-return): Handle arg NEWBUF.
20770
20771 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20772
20773 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20774 SIZE is a number.
20775
20776 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20777
20778 * window.el (get-lru-window, get-mru-window)
20779 (get-largest-window): Never return a minibuffer window.
20780 (display-buffer-pop-up-window): Fix a bug that could lead to
20781 reusing the minibuffer window.
20782 (display-buffer): Pass original specifier argument to
20783 display-buffer-function instead of the normalized one.
20784 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20785
20786 2011-06-22 Leo Liu <sdl.web@gmail.com>
20787
20788 * minibuffer.el (completing-read-function)
20789 (completing-read-default): Move from minibuf.c.
20790
20791 2011-06-22 Richard Stallman <rms@gnu.org>
20792
20793 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20794 to Rmail even if not started by a special Rmail command.
20795
20796 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20797 Copy the buffer currently showing just one message.
20798
20799 2011-06-22 Roland Winkler <winkler@gnu.org>
20800
20801 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20802 (bibtex-clean-entry): First delete the old key so that a
20803 customized algorithm for generating the new key does not get
20804 confused by the old key.
20805 (bibtex-url): Obey regexp of first step.
20806 (bibtex-search-entries): Do not use add-to-list with local
20807 list-var.
20808
20809 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20810
20811 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20812 stored a user name, then query for the password first, instead of
20813 waiting for SMTP to give an error message and the trying again.
20814
20815 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20816
20817 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20818 BUFFER in call-process.
20819
20820 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20821
20822 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20823 QUIT twice.
20824 (smtpmail-try-auth-methods): Require user name and password from
20825 auth-source.
20826
20827 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20828
20829 * window.el (display-buffer-default-specifiers)
20830 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20831 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20832 (split-window): Normalize SIDE argument (Bug#8916).
20833
20834 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20835 (special-display-frame-alist, special-display-popup-frame):
20836 Remove duplicate declarations. These are now in window.el.
20837
20838 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20839
20840 * mail/smtpmail.el (smtpmail-via-smtp):
20841 Set :use-starttls-if-possible so that we always use STARTTLS if the
20842 server supports it. SMTP servers that support STARTTLS commonly
20843 require it.
20844
20845 * net/network-stream.el (network-stream-open-starttls): Support
20846 upgrading to STARTTLS always, even if we don't have built-in support.
20847 (open-network-stream): Add the :always-query-capabilities keyword.
20848
20849 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20850 upgrades with `open-network-stream', and rely solely on
20851 auth-source for all credentials. Big changes throughout the file,
20852 but in particular:
20853 (smtpmail-auth-credentials): Remove.
20854 (smtpmail-starttls-credentials): Remove.
20855 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20856 MAIL FROM, too.
20857
20858 * net/network-stream.el (network-stream-open-starttls):
20859 Provide support for client certificates both for external and built-in
20860 STARTTLS.
20861 (auth-source): Require.
20862 (open-network-stream): Document the :client-certificate keyword.
20863 (network-stream-certificate): Change cert-cert to cert and
20864 cert-key to key.
20865
20866 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20867
20868 * net/tramp-cache.el (top): Don't load the persistency file when
20869 "emacs -Q" has been called.
20870
20871 2011-06-21 Tim Harper <timcharper@gmail.com>
20872
20873 * term/ns-win.el (ns-initialize-window-system):
20874 Set application-specific `ApplePressAndHoldEnabled' system
20875 resource to NO as it is not yet supported by the NS port.
20876
20877 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20878
20879 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20880 (list-dynamic-libraries): ...not here.
20881
20882 2011-06-21 Leo Liu <sdl.web@gmail.com>
20883
20884 * subr.el (sha1): Implement sha1 using secure-hash.
20885
20886 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20887
20888 * window.el (display-buffer-alist): In default value do not
20889 enforce searching a window on any but the selected frame.
20890 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20891 (display-buffer-select-window): Remove function.
20892 (display-buffer-in-window): When a window on another frame gets
20893 reused, do not select it any more but just raise its frame if
20894 necessary (Bug#8851) and (Bug#8856).
20895 (display-buffer-normalize-options): Handle pop-up-frames related
20896 options more faithfully.
20897 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20898 window if it is on another frame.
20899 (display-buffer-alist, display-buffer-default-specifiers):
20900 Don't make new frame unsplittable by default.
20901 (display-buffer-normalize-argument): Fix doc-string typo and use
20902 'same-frame-other-window instead of 'other-window when associating
20903 with display-buffer-macro-specifiers.
20904
20905 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20906
20907 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20908 New functions.
20909 (5x5-mode-map, 5x5-mode-menu): Bind them.
20910 (5x5-draw-grid): Tweak the solver's rendering.
20911
20912 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20913
20914 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20915 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20916
20917 2011-06-21 Drew Adams <drew.adams@oracle.com>
20918
20919 * menu-bar.el: Use function variable instead of switch-to-buffer.
20920 (menu-bar-select-buffer-function): New variable.
20921 (menu-bar-update-buffers): Use it (bug#8876).
20922
20923 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20924
20925 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20926 variable's status.
20927
20928 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20929
20930 * x-dnd.el (x-dnd-version-from-flags)
20931 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20932 and long as number (Bug#8899).
20933 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20934
20935 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20936
20937 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20938 (completion-try-completion, completion-all-completions): Compute the
20939 metadata argument if it's missing; make it optional (bug#8795).
20940
20941 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20942 (widget-complete): Use new :completion-function property.
20943 (widget-completions-at-point): New function.
20944 (default): Use :completion-function instead of :complete.
20945 (widget-default-completions): Rename from widget-default-complete;
20946 Rewrite.
20947 (widget-string-complete, widget-file-complete, widget-color-complete):
20948 Remove functions.
20949 (file, symbol, function, variable, coding-system, color):
20950 * international/mule-cmds.el (default-input-method, charset)
20951 (language-info-custom-alist):
20952 * cus-edit.el (face): Use new property :completions.
20953
20954 * progmodes/pascal.el (pascal-completions-at-point): New function.
20955 (pascal-mode): Use it.
20956 (pascal-mode-map): Use completion-at-point.
20957 (pascal-toggle-completions): Make obsolete.
20958 (pascal-complete-word, pascal-show-completions):
20959 * progmodes/octave-mod.el (octave-complete-symbol):
20960 Redefine as obsolete alias.
20961 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20962 Signal absence of completion info for old Octave,
20963 (inferior-octave-complete): Redefine as obsolete alias.
20964 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20965 (meta-completions-at-point): Rename from meta-complete-symbol and
20966 adapt it for use on completion-at-point-functions.
20967 (meta-common-mode): Use it.
20968 (meta-looking-at-backward, meta-match-buffer): Remove.
20969 (meta-complete-symbol): Redefine as obsolete alias.
20970 (meta-common-mode-map): Use completion-at-point.
20971 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20972 (makefile-mode-map): Use completion-at-point.
20973 (makefile-completions-at-point): Rename from makefile-complete and
20974 adapt it for use on completion-at-point-functions.
20975 (makefile-mode): Use it.
20976 (makefile-complete): Redefine as obsolete alias.
20977
20978 2011-06-20 Deniz Dogan <deniz@dogan.se>
20979
20980 * net/rcirc.el: Delete trailing whitespaces once and for all.
20981
20982 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20983
20984 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20985
20986 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20987
20988 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20989
20990 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20991
20992 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20993
20994 * window.el (display-buffer-other-window-means-other-frame):
20995 Call display-buffer-normalize-alist.
20996 (display-buffer-normalize-specifiers-1): Rename to
20997 display-buffer-normalize-argument. New argument other-frame.
20998 Rewrite.
20999 (display-buffer-normalize-specifiers-2): Rename to
21000 display-buffer-normalize-options.
21001 (display-buffer-normalize-alist-1): New function.
21002 (display-buffer-normalize-specifiers-3): Rename to
21003 display-buffer-normalize-alist.
21004 Call display-buffer-normalize-alist-1.
21005 (display-buffer-normalize-options-inhibit): New variable.
21006 (display-buffer-normalize-specifiers): Rewrite calling
21007 display-buffer-normalize-alist,
21008 display-buffer-normalize-argument, and
21009 display-buffer-normalize-options. Don't call the latter if
21010 display-buffer-normalize-options-inhibit is non-nil.
21011 (frame-auto-delete): New option.
21012 (window-deletable-p): Use frame-auto-delete.
21013 (window-list-no-nils, window-state-ignored-parameters)
21014 (window-state-get-1, window-state-get, window-state-put-list)
21015 (window-state-put-1, window-state-put-2, window-state-put):
21016 New functions.
21017 (display-buffer-normalize-options): Move special-display-p group
21018 after pop-up-frame group (Bug#8851) and (Bug#8856).
21019
21020 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21021
21022 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21023 groups (Bug#8776).
21024 (rx-submatch-n): New function.
21025 (rx): Document it.
21026
21027 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21028 (Bug#8768).
21029
21030 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21031
21032 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21033
21034 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21035 anytime existing face settings are present (Bug#8889).
21036
21037 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21038 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21039 Remove unused argument.
21040
21041 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21042
21043 * window.el (display-buffer-default-specifiers):
21044 Remove pop-up-frame. Add pop-up-window-min-height,
21045 pop-up-window-min-width, and another reuse-window specifier
21046 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21047 (display-buffer-normalize-specifiers-2):
21048 Handle split-height-threshold and split-width-threshold also when
21049 pop-up-windows is unset. Add a reuse-window specifier for the
21050 case popping up a new window fails.
21051 (special-display-popup-frame): Remove double quoting.
21052 (display-buffer-normalize-specifiers-1): Fix thinko.
21053
21054 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21055
21056 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21057 according to comint-completion-addsuffix.
21058
21059 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21060 (pcomplete-suffix-list): Mark as obsolete.
21061 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21062 pcomplete-seen in the closure.
21063 (pcomplete-comint-setup): Setup completion-at-point as well.
21064 (pcomplete--entries): New function.
21065 (pcomplete--env-regexp): New var.
21066 (pcomplete-entries): Rewrite to work with partial-completion and
21067 without relying on pcomplete-suffix-list.
21068 (pcomplete-pare-list): Remove, unused.
21069
21070 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21071
21072 * window.el (display-buffer-alist): Set pop-up-window-min-height
21073 and pop-up-window-min-width in default value. Reported by
21074 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21075 other-window-means-other-frame.
21076 (display-buffer-macro-specifiers): Comment out entry for
21077 other-window specifier.
21078 (display-buffer-other-window-means-other-frame): New function.
21079 (display-buffer-normalize-specifiers-1): New arguments
21080 buffer-name and label. Treat other-window case specially.
21081 (display-buffer-normalize-specifiers-2): Treat other-window case
21082 specially.
21083 (display-buffer-normalize-specifiers-3): New function.
21084 (display-buffer-normalize-specifiers):
21085 Call display-buffer-normalize-specifiers-3.
21086
21087 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21088
21089 * window.el (same-window-p): Fix two typos introduced when
21090 adding with-no-warnings.
21091 (display-buffer-normalize-specifiers-1): Don't check
21092 pop-up-frames for 'unset initialization.
21093 (display-buffer-normalize-specifiers-2): Major rewrite using
21094 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21095 (pop-up-frames, display-buffer-reuse-frames)
21096 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21097 Suggested by David Engster <deng@randomsample.de>.
21098 (even-window-heights): Initialize to 'unset.
21099 (display-buffer-alist-set): Handle new 'unset initializations.
21100 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21101 other window case.
21102
21103 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21104
21105 * window.el (display-buffer-normalize-specifiers-1):
21106 Respect current value of pop-up-frames for most reasonable values of
21107 second argument of display-buffer (Bug#8865).
21108 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21109 (switch-to-buffer-other-window-same-frame)
21110 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21111 Adams (Bug#8875).
21112 (display-buffer): Don't check noninteractive when calling
21113 display-buffer-pop-up-frame.
21114 (display-buffer-pop-up-frame): Never pop up a frame in
21115 noninteractive mode (Bug#8857).
21116 (enlarge-window, shrink-window): Don't report an error when the
21117 window can't be resized as requested (Bug#8862).
21118
21119 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21120
21121 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21122
21123 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21124
21125 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21126
21127 2011-06-15 Alan Mackenzie <acm@muc.de>
21128
21129 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21130 for declarators, disable knr checking to speed up for normal files.
21131 2: Refactor, replacing a sequence of nested if forms by a cond form.
21132
21133 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21134
21135 * net/network-stream.el (open-network-stream): Add the keyword
21136 :always-query-capabilities for the case where you want to force a
21137 `plain' network connection, but the protocol still requires the
21138 capabilitiy command (i.e., SMTP and EHLO).
21139
21140 * subr.el (process-live-p): Rename from `process-alive-p' for
21141 consistency with other `-live-p' functions.
21142
21143 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21144
21145 * window.el (same-window-buffer-names, same-window-regexps)
21146 (special-display-frame-alist, special-display-popup-frame)
21147 (special-display-function, special-display-buffer-names)
21148 (special-display-regexps, pop-up-frame-alist)
21149 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21150 (pop-up-windows, split-window-preferred-function)
21151 (split-height-threshold, split-width-threshold, even-window-heights)
21152 (display-buffer-mark-dedicated): Don't encourage the use of
21153 display-buffer-alist from Elisp code.
21154
21155 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21156
21157 * progmodes/python.el (python-mode): Derive from prog-mode.
21158 * progmodes/ps-mode.el (ps-mode):
21159 * progmodes/mixal-mode.el (mixal-mode):
21160 * progmodes/cfengine.el (cfengine-mode):
21161 * progmodes/ld-script.el (ld-script-mode): Likewise.
21162
21163 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21164
21165 * window.el (display-buffer-alist): Trim default value to avoid
21166 popping up a new frame (Bug#8857) or reusing an arbitrary window
21167 on another frame.
21168 (display-buffer): Do not fall back on popping up a new frame in
21169 batch mode (Bug#8857).
21170
21171 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21172
21173 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21174 (custom-theme-summary): New function.
21175 (customize-themes): Use it.
21176
21177 2011-06-13 Glenn Morris <rgm@gnu.org>
21178
21179 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21180
21181 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21182
21183 * help.el (help-window): Remove variable.
21184 (help-window-point-marker, temp-buffer-max-height)
21185 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21186 (help-print-return-message): Don't set help-window.
21187 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21188 (help-window-setup-finish): Remove.
21189 (help-window-display-message, help-window-setup)
21190 (with-help-window): Major rewrite based on new
21191 display-buffer-window variable.
21192
21193 * help-mode.el (help-mode-finish): Remove help-window related
21194 code.
21195
21196 * view.el (view-exits-all-viewing-windows): Remove reference to
21197 view-return-to-alist in doc-string.
21198 (view-return-to-alist): Make obsolete.
21199 (view-buffer): Call pop-to-buffer-same-window and remove
21200 undo-window code.
21201 (view-buffer-other-window): Call pop-to-buffer-other-window and
21202 simplify code. Ignore second argument.
21203 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21204 simplify code. Ignore second argument.
21205 (view-return-to-alist-update): Make obsolete.
21206 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21207 Rewrite using quit-restore window parameters.
21208 (view-mode-exit): Rename second argument to EXIT-ONLY.
21209 Rewrite using quit-restore-window.
21210 (View-exit, View-exit-and-edit, View-leave, View-quit)
21211 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21212 appropriate arguments.
21213 (view-end-message): Use quit-restore window parameter.
21214
21215 * window.el (display-buffer-function): Rewrite doc-string.
21216 (display-buffer-window, display-buffer-alist): New variables.
21217 (display-buffer-split-specifiers)
21218 (display-buffer-side-specifiers)
21219 (display-buffer-macro-specifiers): New constants.
21220 (display-buffer-even-window-sizes, display-buffer-set-height)
21221 (display-buffer-set-width, display-buffer-select-window)
21222 (display-buffer-in-window, display-buffer-reuse-window)
21223 (display-buffer-split-window-1, display-buffer-split-window)
21224 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21225 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21226 (display-buffer-in-side-window, normalize-buffer-to-display)
21227 (display-buffer-normalize-specifiers-1)
21228 (display-buffer-normalize-specifiers-2)
21229 (display-buffer-normalize-specifiers, display-buffer-frame):
21230 New functions.
21231 (display-buffer): Major rewrite.
21232 (display-buffer-other-window, display-buffer-other-frame)
21233 (pop-to-buffer, switch-to-buffer-other-window)
21234 (switch-to-buffer-other-frame): Rewrite.
21235 (display-buffer-same-window, display-buffer-same-frame)
21236 (display-buffer-same-frame-other-window)
21237 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21238 (pop-to-buffer-other-window)
21239 (pop-to-buffer-same-frame-other-window)
21240 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21241 (switch-to-buffer-other-window-same-frame): New functions.
21242 (same-window-p, special-display-p): Rewrite disabling warnings.
21243 Make obsolete.
21244 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21245 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21246 Make obsolete
21247 (same-window-buffer-names, same-window-regexps)
21248 (special-display-frame-alist, special-display-popup-frame)
21249 (special-display-function, special-display-buffer-names)
21250 (special-display-regexps, pop-up-frame-alist)
21251 (pop-up-frame-function, split-window-preferred-function)
21252 (split-height-threshold, split-width-threshold)
21253 (even-window-heights): Make obsolete.
21254
21255 2011-06-12 Glenn Morris <rgm@gnu.org>
21256
21257 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21258 Misc simplifications.
21259
21260 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21261
21262 * window.el (window-safely-shrinkable-p): Restore function which
21263 was inadvertently removed in change from 2011-06-11. Declare as
21264 obsolete.
21265
21266 * calendar/calendar.el (calendar-generate-window):
21267 Use window-iso-combined-p instead of combination of one-window-p and
21268 window-safely-shrinkable-p.
21269
21270 2011-06-12 Glenn Morris <rgm@gnu.org>
21271
21272 * progmodes/fortran.el (fortran-mode-syntax-table):
21273 * progmodes/f90.el (f90-mode-syntax-table):
21274 Set % to punctuation. (Bug#8820)
21275 (f90-find-tag-default): Remove, no longer needed.
21276
21277 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21278
21279 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21280
21281 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21282
21283 * image.el (image-animated-p): Return animation delay in seconds.
21284 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21285 (image-animate-timeout): Remove DELAY argument. Don't assume
21286 every subimage has the same delay; get it from image-animated-p.
21287 (image-animate): Caller changed.
21288
21289 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21290
21291 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21292 to ignored backtrace functions.
21293
21294 2011-06-11 Glenn Morris <rgm@gnu.org>
21295
21296 * calendar/appt.el (appt-disp-window-function): Doc fix.
21297 (appt-check): Handle overlapping appointments. (Bug#8337)
21298
21299 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21300
21301 * window.el (window-tree-1, window-tree): New functions, moving
21302 the latter to window.el.
21303 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21304 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21305 (bw-refresh-edges): Remove.
21306 (balance-windows-1, balance-windows-2): New functions.
21307 (balance-windows): Rewrite in terms of window tree functions,
21308 balance-windows-1 and balance-windows-2.
21309 (bw-adjust-window): Remove.
21310 (balance-windows-area-adjust): New function with functionality of
21311 bw-adjust-window but using resize-window.
21312 (set-window-text-height): Rewrite doc-string.
21313 Use normalize-live-window and resize-window.
21314 (enlarge-window-horizontally, shrink-window-horizontally):
21315 Rename argument to DELTA.
21316 (window-buffer-height): New function.
21317 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21318 Rewrite using new window resize routines.
21319 (kill-buffer-and-window, mouse-autoselect-window-select):
21320 Use ignore-errors instead of condition-case.
21321 (quit-window): Call delete-frame instead of delete-windows-on
21322 for the only buffer on frame.
21323
21324 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21325
21326 * loadup.el (top-level): Load window before files for the sake
21327 of replace-buffer-in-windows.
21328
21329 * files.el (read-buffer-to-switch)
21330 (switch-to-buffer-other-window)
21331 (switch-to-buffer-other-frame, display-buffer-other-frame):
21332 Move to window.el.
21333
21334 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21335 (previous-buffer): Move to window.el.
21336
21337 * bindings.el (unbury-buffer): Move to window.el.
21338
21339 * window.el (delete-other-windows-vertically): Move after
21340 definition of delete-other-windows.
21341 (other-window, delete-windows-on, replace-buffer-in-windows):
21342 Move here from window.c.
21343 (record-window-buffer, unrecord-window-buffer)
21344 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21345 (switch-to-next-buffer): New functions.
21346 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21347 from simple.el. Call switch-to-next-buffer.
21348 (previous-buffer): Move here from simple.el.
21349 Call switch-to-prev-buffer.
21350 (bury-buffer): Move here from buffer.c. Switch to previous
21351 buffer when window cannot be deleted.
21352 (unbury-buffer): Move here from bindings.el.
21353 (ctl-x-map): Move binding for other-window from window.c to
21354 here.
21355 (read-buffer-to-switch, switch-to-buffer-other-window)
21356 (switch-to-buffer-other-frame): Move here from files.el.
21357 (normalize-buffer-to-switch-to): New functions.
21358 (switch-to-buffer): Move here from buffer.c.
21359 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21360
21361 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21362
21363 * window.el (window-min-height, window-min-width): Move here
21364 from window.c. Add defcustoms and rewrite doc-strings.
21365 (resize-mini-window, resize-window): New functions.
21366 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21367 Move here from window.c.
21368 (maximize-window, minimize-window): New functions.
21369 (delete-window, delete-other-windows, split-window): Move here
21370 from window.c.
21371 (window-split-min-size): New function.
21372 (split-window-keep-point): Mention split-window-above-each-other
21373 instead of split-window-vertically.
21374 (split-window-above-each-other, split-window-vertically):
21375 Rename split-window-vertically to split-window-above-each-other
21376 and provide defalias for old definition.
21377 (split-window-side-by-side, split-window-horizontally):
21378 Rename split-window-horizontally to split-window-side-by-side
21379 and provide defalias for the old definition.
21380 (ctl-x-map): Move bindings for delete-window,
21381 delete-other-windows and enlarge-window here from window.c.
21382 Replace bindings for split-window-vertically and
21383 split-window-horizontally by bindings for
21384 split-window-above-each-other and split-window-side-by-side.
21385
21386 * cus-start.el (all): Remove entries for window-min-height and
21387 window-min-width. Add entries for window-splits and
21388 window-nest.
21389
21390 2011-06-09 Glenn Morris <rgm@gnu.org>
21391
21392 * calendar/appt.el (appt-mode-line): New function.
21393 (appt-check, appt-disp-window): Use it.
21394
21395 * files.el (hack-one-local-variable-eval-safep):
21396 Allow minor-modes with explicit +/-1 arguments.
21397
21398 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21399
21400 * term/xterm.el (xterm): Add defgroup.
21401 (xterm-extra-capabilities): Add defcustom to supply known xterm
21402 capabilities, skip querying them, or query them (default).
21403 (terminal-init-xterm): Use it.
21404 (terminal-init-xterm-modify-other-keys): New function to set up
21405 modifyOtherKeys support to simplify `terminal-init-xterm'.
21406
21407 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21408
21409 * window.el (resize-window-reset, resize-window-reset-1)
21410 (resize-subwindows-skip-p, resize-subwindows-normal)
21411 (resize-subwindows, resize-other-windows, resize-this-window)
21412 (resize-root-window, resize-root-window-vertically)
21413 (window-deletable-p, window-or-subwindow-p)
21414 (frame-root-window-p): New functions.
21415
21416 2011-06-09 Glenn Morris <rgm@gnu.org>
21417
21418 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21419 (ange-ftp-get-files): Use it.
21420
21421 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21422
21423 * mail/sendmail.el (mail-recover-1, mail-recover):
21424 * files.el (recover-file, recover-session):
21425 Handle dired-listing-switches not being just a single short option.
21426
21427 2011-06-09 Glenn Morris <rgm@gnu.org>
21428
21429 * calendar/appt.el (appt-display-message, appt-disp-window):
21430 Handle lists of appointments.
21431
21432 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21433
21434 * window.el (one-window-p): Move down in code.
21435 Rewrite doc-string.
21436 (window-current-scroll-bars): Rewrite doc-string.
21437 Normalize live window argument.
21438 (walk-windows, get-window-with-predicate, count-windows):
21439 Rewrite doc-string. Use window-list-1.
21440 (window-in-direction-2, window-in-direction, get-mru-window):
21441 New functions.
21442
21443 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21444
21445 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21446 Doc fix (Bug#8713).
21447
21448 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21449
21450 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21451
21452 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21453
21454 * loadhist.el (unload-feature-special-hooks):
21455 Add `comint-output-filter-functions'.
21456
21457 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21458
21459 * calendar/appt.el (appt-check): Move some initializations into the let.
21460
21461 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21462
21463 * window.el (window-height): Defalias to window-total-height.
21464 (window-width): Defalias to window-body-width.
21465
21466 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21467
21468 * image-mode.el (image-toggle-animation): New command.
21469 (image-mode-map): Bind it to RET.
21470 (image-mode): Update message.
21471 (image-toggle-display-image): Avoid a spurious cache flush.
21472 (image-transform-rotation): Doc fix.
21473 (image-transform-properties): Return quickly in the normal case.
21474 (image-animate-loop): Rename from image-animate-max-time.
21475
21476 * image.el (image-animate-max-time): Move to image-mode.el.
21477 (create-animated-image): Remove unnecessary function.
21478 (image-animate): Rename from image-animate-start. New arg.
21479 (image-animate-stop): Remove; just use image-animate-timer.
21480 (image-animate-timer): Use car-safe.
21481 (image-animate-timeout): Rename argument.
21482
21483 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21484
21485 * window.el (get-lru-window, get-largest-window): Move here from
21486 window.c. Rename first argument to ALL-FRAMES.
21487 Rephrase doc-strings.
21488 (get-buffer-window-list): Rewrite using window-list-1.
21489 Rephrase doc-string.
21490 (window-safe-min-height, window-safe-min-width): New constants.
21491 (window-size-ignore, window-min-size, window-min-size-1)
21492 (window-sizable, window-sizable-p, window-size-fixed-1)
21493 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21494 (window-max-delta-1, window-max-delta, window-resizable)
21495 (window-resizable-p, window-total-height, window-total-width)
21496 (window-body-width): New functions.
21497 (window-full-height-p, window-full-width-p): Rewrite using
21498 window-total-size.
21499 (window-body-height): Rewrite using window-body-size.
21500
21501 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21502
21503 * window.el (window-right, window-left, window-child)
21504 (window-child-count, window-last-child, window-any-p)
21505 (normalize-live-buffer, normalize-live-frame)
21506 (normalize-any-window, normalize-live-window)
21507 (window-iso-combination-p, window-iso-combined-p)
21508 (window-iso-combinations)
21509 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21510 (windows-with-parameter, window-with-parameter)
21511 (window-atom-root, make-window-atom, window-atom-check-1)
21512 (window-atom-check, window-side-check, window-check):
21513 New functions.
21514 (ignore-window-parameters, window-sides, window-sides-vertical)
21515 (window-sides-slots): New variables.
21516 (window-size-fixed): Move down in code. Minor doc-string fix.
21517
21518 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21519
21520 * comint.el (comint-dynamic-complete-as-filename)
21521 (comint-dynamic-complete-filename): Correctly call
21522 completion-in-region.
21523
21524 2011-06-05 Deniz Dogan <deniz@dogan.se>
21525
21526 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21527 in last change.
21528
21529 2011-06-05 Deniz Dogan <deniz@dogan.se>
21530
21531 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21532 (rcirc): Use it to prompt for encryption.
21533
21534 2011-06-05 Roland Winkler <winkler@gnu.org>
21535
21536 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21537 (bibtex-search-entries): New command bound to C-c C-a.
21538 (bibtex-display-entries): New function.
21539
21540 2011-06-05 Roland Winkler <winkler@gnu.org>
21541
21542 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21543 (bibtex-insert-kill): After yanking insert newline if necessary.
21544 (bibtex-initialize): Call bibtex-string-files-init only once.
21545 (bibtex-mode): Do not call easy-menu-add.
21546 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21547 (bibtex-yank): Set arg properly if nil.
21548
21549 2011-06-05 Roland Winkler <winkler@gnu.org>
21550
21551 * textmodes/bibtex.el (bibtex-search-entry-globally):
21552 New variable.
21553 (bibtex-search-entry): Use it.
21554
21555 2011-06-05 Roland Winkler <winkler@gnu.org>
21556
21557 * textmodes/bibtex.el (bibtex-entry-format): New option
21558 sort-fields.
21559 (bibtex-format-entry, bibtex-reformat): Honor this option.
21560 (bibtex-parse-entry): Return fields in proper order.
21561
21562 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21563
21564 * doc-view.el (doc-view-remove-if): Move computation of result out
21565 of `dolist' to silence misleading lexical-binding warning.
21566
21567 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21568
21569 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21570 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21571
21572 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21573
21574 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21575 "SunOS 5.10".
21576
21577 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21578
21579 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21580 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21581 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21582 (tramp-parse-putty):
21583 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21584 (tramp-completion-function-alist-ssh)
21585 (tramp-completion-function-alist-telnet)
21586 (tramp-completion-function-alist-su)
21587 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21588 cookie.
21589
21590 * net/tramp-ftp.el:
21591 * net/tramp-sh.el:
21592 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21593 load "tramp.el" `tramp-set-completion-function'.
21594
21595 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21596
21597 * shell.el: Require and use pcomplete.
21598 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21599 (shell-completion-vars): Set pcomplete-default-completion-function.
21600
21601 2011-06-04 Deniz Dogan <deniz@dogan.se>
21602
21603 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21604 `memq' (Bug#8799).
21605
21606 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21607
21608 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21609
21610 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21611
21612 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21613 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21614 * vc/log-view.el (log-view-beginning-of-defun):
21615 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21616 (smerge-refine-forward, smerge-refine-chopup-region):
21617 Silence warning for unused `dotimes' counter variables.
21618
21619 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21620
21621 * net/tramp.el (tramp-with-progress-reporter): Rename from
21622 with-progress-reporter. Use `declare'.
21623 * net/tramp-smb.el:
21624 * net/tramp-sh.el:
21625 * net/tramp-gvfs.el: Update all uses.
21626
21627 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21628
21629 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21630 buffer isn't killed before making it current.
21631
21632 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21633
21634 Silence various byte-compiler warnings.
21635 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21636 `access-type' and new obsolescence format.
21637 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21638 new format.
21639 (byte-compile-check-variable): New `access-type' argument.
21640 Only warn if the access-type is obsolete.
21641 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21642 (byte-compile-variable-set): Adjust callers.
21643 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21644 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21645 setting it as obsolete.
21646 * simple.el (minibuffer-completing-symbol):
21647 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21648 access as obsolete.
21649 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21650 obsolete yet.
21651 * international/quail.el (quail-mouse-choose-completion): Remove unused
21652 code referring to obsolete var.
21653 (quail-choose-completion-string): Remove.
21654 * server.el (server-clients-with, server-kill-buffer-query-function)
21655 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21656 * proced.el (proced-send-signal):
21657 * emacs-lisp/lisp.el (lisp-complete-symbol):
21658 Replace completion-annotate-function with completion-extra-properties.
21659
21660 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21661
21662 * simple.el (goto-line): Use read-number.
21663 (overriding-map-is-bound): Remove.
21664 (saved-overriding-map): Change default.
21665 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21666 Take the map as argument.
21667 (universal-argument, negative-argument, digit-argument): Use it.
21668 (restore-overriding-map): Adjust.
21669 (do-auto-fill): Use fill-forward-paragraph.
21670 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21671
21672 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21673 (minibuffer-inactive-mode): New major mode.
21674 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21675 the *Messages* buffer" hack.
21676 (mouse-popup-menubar): Don't burp if the event is a normal key.
21677
21678 Miscellaneous tweaks.
21679 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21680 lexical scoping as in subr.el's dolist and dotimes.
21681 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21682 Silence compiler warning.
21683 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21684 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21685 * international/ccl.el (ccl-compile): Trivial simplification.
21686 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21687 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21688 `printflag' argument.
21689 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21690 Purecopy the whole obsolescence data.
21691
21692 2011-06-01 Leo Liu <sdl.web@gmail.com>
21693
21694 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21695 improve doc-string as suggested by Marco Pessotto
21696 <melmothx@gmail.com>.
21697 (rcirc-print): Fix last change.
21698
21699 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21700
21701 * minibuffer.el (complete-with-action): Return nil for the metadata and
21702 boundaries of non-functional tables.
21703 (completion-table-dynamic): Return nil for the metadata.
21704 (completion-table-with-terminator): Add default case, using
21705 complete-with-action.
21706 (completion--metadata): New function.
21707 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21708 to try and avoid pathological performance problems.
21709 (completion--embedded-envvar-table): Return `category' metadata.
21710
21711 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21712
21713 * subr.el (process-alive-p): New tiny convenience function.
21714
21715 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21716
21717 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21718 content but also its previous major mode.
21719
21720 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21721
21722 * emacs-lisp/debug.el (debug): Restore the previous content of the
21723 *Backtrace* buffer when we exit with C-M-c.
21724
21725 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21726
21727 * minibuffer.el: Add metadata method to completion tables.
21728 (completion-category-overrides): New defcustom.
21729 (completion-metadata, completion--field-metadata)
21730 (completion-metadata-get, completion--styles)
21731 (completion--cycle-threshold): New functions.
21732 (completion-try-completion, completion-all-completions):
21733 Add `metadata' argument to choose completion-styles.
21734 (completion--do-completion): Use metadata to choose cycling.
21735 (completion-all-sorted-completions): Use metadata for sorting.
21736 Remove :completion-cycle-penalty which is not needed any more.
21737 (completion--try-word-completion): Add `metadata' argument.
21738 (minibuffer-completion-help): Check metadata for annotation function
21739 and sorting.
21740 (completion-file-name-table): Return `category' metadata.
21741 (minibuffer-completing-file-name): Make obsolete.
21742 * simple.el (minibuffer-completing-symbol): Make obsolete.
21743 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21744 completion-try-completion.
21745
21746 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21747
21748 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21749
21750 2011-05-30 Leo Liu <sdl.web@gmail.com>
21751
21752 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21753 (rcirc-print): Decode all incoming messages (bug#8744).
21754 (rcirc-decode-coding-system): Allow value nil for automatic coding
21755 system detection.
21756
21757 2011-06-01 Glenn Morris <rgm@gnu.org>
21758
21759 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21760
21761 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21762
21763 * image.el (image-animate-max-time): Allow nil and t values.
21764 Default to nil.
21765 (create-animated-image): Doc fix.
21766 (image-animate-start): Remove second arg; just use
21767 image-animate-max-time.
21768 (image-animate-timeout): Doc fix. Args changed.
21769
21770 * image-mode.el (image-toggle-display-image): Ensure that the
21771 image spec passed to the animate timer is the same object as in
21772 the buffer's display property (Bug#6981).
21773 (image-transform-properties): Doc fix.
21774
21775 * image.el (image-animate-max-time): Default to nil.
21776
21777 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21778
21779 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21780 entire buffer list (Bug#8184).
21781
21782 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21783
21784 * image.el (imagemagick-types-inhibit)
21785 (imagemagick-register-types): Doc fix.
21786
21787 2011-05-29 Deniz Dogan <deniz@dogan.se>
21788
21789 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21790 default.
21791
21792 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21793
21794 * select.el: Don't perform clipboard-manager saving in hooks;
21795 leave the hooks empty.
21796
21797 2011-05-28 Leo Liu <sdl.web@gmail.com>
21798
21799 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21800 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21801 (occur-edit-mode): New major mode (Bug#8463).
21802 (occur-after-change-function): New function.
21803 (occur-engine): Give Occur tags a read-only property.
21804
21805 2011-05-28 Kevin Ryde <user42@zip.com.au>
21806
21807 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21808
21809 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21810
21811 * bindings.el (help-echo): Make the initial non-indicator dash
21812 empty on graphical terminals (Bug#7295).
21813
21814 * files.el (auto-mode-alist): Move config rule after the
21815 in-stripping one (Bug#8547).
21816
21817 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21818
21819 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21820 setting (Bug#8740).
21821
21822 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21823
21824 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21825 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21826 (Bug#8539).
21827
21828 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21829
21830 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21831
21832 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21833
21834 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21835 (hs-hide-block-at-point, hs-find-block-beginning)
21836 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21837 (Bug#8279).
21838
21839 2011-05-28 Glenn Morris <rgm@gnu.org>
21840
21841 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21842
21843 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21844
21845 * help-fns.el (describe-function-1): If the function is a derived
21846 major mode, print the parent mode.
21847
21848 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21849 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21850
21851 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21852
21853 * minibuffer.el (completion--capf-wrapper): Check applicability before
21854 returning non-nil for non-exclusive completion data.
21855 * progmodes/etags.el (tags-completion-at-point-function):
21856 * info-look.el (info-lookup-completions-at-point): Mark as
21857 non-exclusive.
21858 (info-complete): Adjust accordingly.
21859
21860 * info-look.el: Convert to lexical-binding and completion-at-point.
21861 (info-lookup-completions-at-point): New function.
21862 (info-complete): Use it and completion-in-region.
21863
21864 2011-05-28 Drew Adams <drew.adams@oracle.com>
21865
21866 * isearch.el: Let M-e start with point at the first mismatched char.
21867 (isearch-fail-pos): New function.
21868 (isearch-edit-string): Use it.
21869
21870 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21871
21872 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21873
21874 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21875
21876 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21877 traversal functions for avl-trees.
21878 (avl-tree--stack): New struct.
21879 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21880 (avl-tree-enter): Add optional `updatefun' arg.
21881 (avl-tree--do-enter): Add optional `updatefun' arg.
21882 Change return value.
21883 (avl-tree-delete): Add optional `test' and `nilflag' args.
21884 (avl-tree--do-delete): Add `test' and `nilflag' args.
21885 Change return value.
21886 (avl-tree-member): Add optional `nilflag'
21887 (avl-tree-member-p): New function.
21888 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21889 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21890 (avl-tree-stack-empty-p): New functions.
21891
21892 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21893 avl-tree--del-balance1 and make it work both ways.
21894 (avl-tree--del-balance2): Remove.
21895 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21896 make it work both ways.
21897 (avl-tree--enter-balance2): Remove.
21898 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21899 New macros.
21900 (avl-tree--mapc, avl-tree-map): Add direction argument.
21901
21902 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21903
21904 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21905
21906 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21907
21908 * select.el: Support clipboard managers with built-in function
21909 x-clipboard-manager-save, via delete-frame-functions and
21910 kill-emacs-hook.
21911 (xselect-convert-to-targets): Add MULTIPLE target to list.
21912 (xselect-convert-to-save-targets): New function.
21913
21914 2011-05-27 Kenichi Handa <handa@m17n.org>
21915
21916 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21917 let-binding rfc2047-encode-encoded-words to nil.
21918
21919 2011-05-27 Glenn Morris <rgm@gnu.org>
21920
21921 * mail/emacsbug.el: Don't require url-util.
21922
21923 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21924
21925 * files.el (set-auto-mode):
21926 Also respect mode: entries at the end of the file. (Bug#8586)
21927
21928 2011-05-26 Glenn Morris <rgm@gnu.org>
21929
21930 * files.el (hack-local-variables-prop-line, hack-local-variables):
21931 Downcase mode names, as seems to be traditional.
21932 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21933
21934 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21935 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21936
21937 2011-05-25 Julien Danjou <julien@danjou.info>
21938
21939 * textmodes/rst.el (rst-define-level-faces): Do not define face
21940 symbol if it is already defined.
21941
21942 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21943
21944 * play/5x5.el (5x5-new-game, 5x5-randomize):
21945 Reset 5x5-solver-output to nil when a new grid is cast.
21946 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21947 these debugging traces, as defmacro breaks the compiled code.
21948
21949 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21950
21951 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21952
21953 2011-05-24 Leo Liu <sdl.web@gmail.com>
21954
21955 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21956 (vc-bzr-sha1): Adapt.
21957
21958 * sha1.el: Remove. Function `sha1' is now builtin.
21959
21960 * bindings.el: Provide sha1 feature.
21961
21962 2011-05-24 Kenichi Handa <handa@m17n.org>
21963
21964 * mail/sendmail.el: Require `rfc2047'.
21965 (mail-insert-from-field): Do not perform RFC2047 encoding.
21966 (mail-encode-header): New function.
21967 (sendmail-send-it): Set buffer-file-coding-system of the work
21968 buffer to the return value of select-message-coding-system.
21969 Call mail-encode-header.
21970
21971 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21972
21973 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21974
21975 * mail/supercite.el (sc-default-cite-frame):
21976 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21977
21978 2011-05-24 Glenn Morris <rgm@gnu.org>
21979
21980 * progmodes/python.el (brm-menu): Declare.
21981
21982 * emulation/viper.el (viper-set-hooks): Declare.
21983
21984 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21985 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21986 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21987 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21988 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21989 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21990
21991 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21992
21993 Add an :exit-function for completion-at-point.
21994
21995 * minibuffer.el (completion--done): New fun.
21996 (completion--do-completion): Use it. New arg `expect-exact'.
21997 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21998 since completion--do-completion does it for us now.
21999 (minibuffer-force-complete): Use completion--done and
22000 completion--replace. Handle sole-completion case with more care.
22001 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22002 (completion-extra-properties): New var.
22003 (completion-annotate-function): Make obsolete.
22004 (minibuffer-completion-help): Adjust accordingly.
22005 Use completion-list-insert-choice-function.
22006 (completion-at-point, completion-help-at-point):
22007 Bind completion-extra-properties.
22008 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22009 * simple.el (completion-list-insert-choice-function): New var.
22010 (completion-setup-function): Preserve it.
22011 (choose-completion): Pay attention to it, shuffle the code a bit.
22012 (choose-completion-string): New arg `insert-function'.
22013
22014 * textmodes/bibtex.el: Convert to lexical binding.
22015 (bibtex-mode-map): Use completion-at-point.
22016 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22017 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22018 (bibtex-complete): Define as obsolete alias.
22019 (bibtex-complete-internal): Remove.
22020 (bibtex-format-entry): Remove unused sub-group in regexp.
22021 * shell.el (shell--command-completion-data)
22022 (shell-environment-variable-completion):
22023 * pcomplete.el (pcomplete-completions-at-point):
22024 * comint.el (comint--complete-file-name-data): Use :exit-function
22025 instead of completion-table-with-terminator so it also works for
22026 choose-completion.
22027
22028 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22029
22030 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22031
22032 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22033 (bug#8710).
22034
22035 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22036
22037 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22038
22039 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22040 customization variable and implement: If non-nil, auto-fill will
22041 be inhibited while on topic's header line.
22042
22043 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22044
22045 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22046 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22047 always have a solution in grid size = 5 cases.
22048 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22049 (5x5-solver-output, 5x5-log-buffer): New vars.
22050 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22051 Make these variables buffer local to achieve 5x5 multi-session-ness.
22052 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22053 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22054 (5x5-solve-suggest): New funs.
22055 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22056 randomize a grid so that we ensure that there is always a solution.
22057 (5x5-make-random-grid): Allow other movement than flipping.
22058
22059 2011-05-23 Kevin Ryde <user42@zip.com.au>
22060
22061 * emacs-lisp/advice.el (ad-read-advised-function):
22062 Use `function-called-at-point' as the default, if it has
22063 advice and passes PREDICATE.
22064
22065 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22066
22067 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22068 byte-compile-lambda if it's actually a lambda.
22069
22070 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22071 Fix function quoting. Use backquote better.
22072
22073 2011-05-22 Yuanle Song <sylecn@gmail.com>
22074
22075 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22076 matching (Bug#8516).
22077
22078 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22079
22080 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22081 different face (Bug#8178).
22082
22083 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22084
22085 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22086 defface (Bug#8144).
22087
22088 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22089
22090 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22091 funcall as well (bug#8712). Warn when performing those conversions.
22092 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22093
22094 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22095
22096 2011-05-22 Glenn Morris <rgm@gnu.org>
22097
22098 * files.el (hack-local-variables-prop-line): Small simplifications.
22099 (hack-local-variables, hack-local-variables-prop-line):
22100 If MODE-ONLY, return the mode, rather than just `t'.
22101
22102 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22103
22104 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22105
22106 2011-05-21 Glenn Morris <rgm@gnu.org>
22107
22108 * files.el (hack-local-variables-prop-line, hack-local-variables):
22109 If only interested in the mode, don't bother doing the other stuff.
22110
22111 * image-mode.el (image-after-revert-hook):
22112 Redraw all frames on which the image is visible. (Bug#8567)
22113
22114 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22115
22116 * wid-edit.el (widget-checklist-match-inline):
22117 Fix 2011-04-19 change. (Bug#8649)
22118
22119 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22120
22121 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22122 Also allow singlespace after single-letter capitals followed by a dot.
22123
22124 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22125 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22126
22127 2011-05-20 Nix <nix@esperi.org.uk>
22128
22129 * files.el (basic-save-buffer-2):
22130 Fix handling of break-hardlink-on-save with non-existent files.
22131
22132 2011-05-19 Deniz Dogan <deniz@dogan.se>
22133
22134 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22135 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22136
22137 2011-05-19 Glenn Morris <rgm@gnu.org>
22138
22139 * progmodes/f90.el (f90-type-def-re):
22140 Handle "type, bind(c)". (Bug#8691)
22141
22142 * emacs-lisp/autoload.el (batch-update-autoloads):
22143 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22144
22145 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22146
22147 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22148 property for the correct connection in case of multihops.
22149
22150 2011-05-18 Glenn Morris <rgm@gnu.org>
22151
22152 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22153 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22154
22155 Rationalize calendar handling of day and month abbrev-arrays.
22156 * calendar/calendar.el (calendar-customized-p): New function.
22157 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22158 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22159 Add :set function.
22160 (calendar-abbrev-length, calendar-day-abbrev-array)
22161 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22162 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22163 Elements may no longer be nil.
22164 (calendar-day-name, calendar-month-name):
22165 Update for changed nature of abbrev arrays.
22166 * calendar/diary-lib.el (diary-name-pattern):
22167 Update for changed nature of abbrev arrays.
22168 (diary-mark-entries-1): Update calendar-make-alist calls.
22169 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22170 * calendar/cal-html.el (cal-html-day-abbrev-array):
22171 Simply inherit from calendar-day-abbrev-array.
22172
22173 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22174
22175 * progmodes/grep.el (grep-mode): Disable default
22176 compilation-directory-matcher setting (bug#8684).
22177
22178 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22179
22180 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22181 instead of "head" and "tail". There were problems with SunOS 5.9,
22182 and it performs better.
22183
22184 2011-05-17 Glenn Morris <rgm@gnu.org>
22185
22186 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22187
22188 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22189 Replace obsolete function.
22190
22191 * shell.el (pcomplete-parse-arguments-function): Declare.
22192
22193 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22194 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22195 (appt-check): Doc fixes.
22196 (appt-disp-window-function, appt-delete-window-function):
22197 Remove needless special case in custom :type.
22198 (appt-display-count): Default to 0, not nil.
22199 (appt-check): Reset appt-display-count to 0, not nil.
22200
22201 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22202
22203 * progmodes/python.el (python-font-lock-keywords):
22204 Add the Python 3.X keyword "nonlocal" (bug#8639).
22205
22206 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22207
22208 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22209
22210 2011-05-16 Kevin Ryde <user42@zip.com.au>
22211
22212 * info-look.el (makefile-automake-mode): New setups, looking in
22213 automake manual, then makefile-mode.
22214 (makefile-mode): Remove automake manual, have it just in
22215 makefile-automake-mode since there's various things different or
22216 not relevant to plain make.
22217 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22218 believe a hypothetical automake-mode would go to makefile-mode,
22219 not the other way around.
22220
22221 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22222
22223 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22224 hunk-end tags (Bug#8672).
22225
22226 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22227 vc-annotate-show-diff-revision-at-line (Bug#8671).
22228
22229 2011-05-14 Glenn Morris <rgm@gnu.org>
22230
22231 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22232 in the middle of an existing one with multiple authors. (Bug#8645)
22233 (change-log-font-lock-keywords): Also handle multiple author lines
22234 with leading tabs. (Bug#8644)
22235
22236 * calendar/appt.el (appt-check): Rename some local variables.
22237 Some simplification/reordering.
22238
22239 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22240 (feedmail-sendmail-f-doesnt-sell-me-out)
22241 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22242 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22243 (feedmail-queue-runner-message-sender): Set :version.
22244 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22245 (bbdb-dwim-net-address, vm-mail): Declare.
22246 (feedmail-binmail-gnulinuxish-template):
22247 Rename from feedmail-binmail-linuxish-template.
22248 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22249 Use insert-buffer-substring.
22250
22251 2011-05-14 Bill Carpenter <bill@carpenter.org>
22252
22253 * mail/feedmail.el (feedmail-patch-level): Increase.
22254 (feedmail-debug): New custom group.
22255 (feedmail-confirm-outgoing-timeout)
22256 (feedmail-sendmail-f-doesnt-sell-me-out)
22257 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22258 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22259 (feedmail-sender-line, feedmail-from-line)
22260 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22261 (feedmail-spray-this-address)
22262 (feedmail-spray-address-fiddle-plex-list)
22263 (feedmail-queue-use-send-time-for-date)
22264 (feedmail-queue-use-send-time-for-message-id)
22265 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22266 (feedmail-buffer-eating-function):
22267 Doc fixes.
22268 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22269 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22270 (feedmail-message-action-scroll-down): New functions.
22271 (feedmail-queue-directory, feedmail-queue-draft-directory):
22272 Use expand-file-name.
22273 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22274 Remove C-v help entry.
22275 (feedmail-queue-buffer-file-name): New variable.
22276 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22277 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22278 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22279 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22280 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22281 (feedmail-message-action-toggle-spray)
22282 (feedmail-run-the-queue-no-prompts)
22283 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22284 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22285 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22286 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22287 (feedmail-envelope-deducer, feedmail-fiddle-from)
22288 (feedmail-fiddle-sender, feedmail-default-date-generator)
22289 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22290 (feedmail-fiddle-spray-address)
22291 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22292 (feedmail-fiddle-list-of-fiddle-plexes)
22293 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22294 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22295 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22296 Change default. Doc fix.
22297 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22298 (feedmail-binmail-linuxish-template): New constant.
22299 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22300 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22301 (feedmail-send-it): Add debug call.
22302 Use feedmail-queue-buffer-file-name, and
22303 feedmail-send-it-immediately-wrapper.
22304 (feedmail-message-action-send): Add debug call.
22305 Use feedmail-send-it-immediately-wrapper.
22306 (feedmail-queue-express-to-queue): Add debug call.
22307 Run feedmail-queue-express-hook.
22308 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22309 (feedmail-message-action-help-blat):
22310 Rename from feedmail-queue-send-edit-prompt-help-first.
22311 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22312 Check line-endings. Handle errors better.
22313 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22314 Doc fix. Add debug call.
22315 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22316 Use feedmail-queue-send-edit-prompt-inner.
22317 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22318 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22319 from feedmail-queue-send-edit-prompt.
22320 (feedmail-queue-send-edit-prompt-help)
22321 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22322 (feedmail-tidy-up-slug): Add debug call.
22323 Respect feedmail-queue-slug-suspect-regexp.
22324 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22325 (feedmail-dump-message-to-queue): Add debug call.
22326 Expand queue-directory.
22327 (feedmail-dump-message-to-queue): Change message slightly.
22328 Use feedmail-say-chatter.
22329 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22330 (feedmail-send-it-immediately-wrapper): New function.
22331 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22332 Insert empty string rather than newline. Handle full-frame case.
22333 Use catch/throw. Use feedmail-say-chatter.
22334 (feedmail-fiddle-from): Try mail-host-address.
22335 (feedmail-default-message-id-generator): Doc fix.
22336 Bind system-time-locale. Handle missing end.
22337 (feedmail-fiddle-x-mailer): Add debug call.
22338 Handle feedmail-x-mailer-line being nil.
22339 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22340 Add debug call. Use buffer-substring-no-properties.
22341 (feedmail-say-debug, feedmail-say-chatter): New functions.
22342 (feedmail-find-eoh): Give an explicit error.
22343
22344 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22345
22346 * net/newst-treeview.el (newsticker-treeview-face): Change default
22347 family from helvetica to sans.
22348 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22349 etc/images/newsticker.
22350
22351 * net/newst-reader.el (newsticker-feed-face): Change default
22352 family from helvetica to sans.
22353
22354 * net/newst-plainview.el (newsticker-new-item-face)
22355 (newsticker-old-item-face, newsticker-immortal-item-face)
22356 (newsticker-obsolete-item-face, newsticker-date-face)
22357 (newsticker-statistics-face): Change default family from
22358 helvetica to sans.
22359 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22360 etc/images/newsticker.
22361
22362 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22363 (newsticker--process-auto-mark-filter-match): Tell user about
22364 auto-marking.
22365
22366 2011-05-13 Didier Verna <didier@xemacs.org>
22367
22368 Common Lisp indentation improvements on defmethod and lambda-lists.
22369 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22370 TODO entries.
22371 (lisp-lambda-list-keyword-parameter-indentation)
22372 (lisp-lambda-list-keyword-parameter-alignment)
22373 (lisp-lambda-list-keyword-alignment): New customizable user options.
22374 (lisp-indent-defun-method): Improve docstring.
22375 (extended-loop-p): Fix comment.
22376 (lisp-indent-lambda-list-keywords-regexp): New variable.
22377 (lisp-indent-lambda-list): New function.
22378 (lisp-indent-259): Use it.
22379 (lisp-indent-defmethod): Support for more than one
22380 method qualifier and properly indent methods lambda-lists.
22381 (defgeneric): Provide a missing common-lisp-indent-function property.
22382
22383 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22384
22385 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22386 bounds for the empty string (bug#8667).
22387
22388 2011-05-13 Glenn Morris <rgm@gnu.org>
22389
22390 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22391
22392 * mail/sendmail.el (sendmail-program): Try executable-find first.
22393 (sendmail-send-it): `sendmail-program' cannot be unbound.
22394
22395 * calendar/appt.el (appt-make-list): Simplify.
22396 (appt-time-msg-list): Doc fix.
22397 (appt-check): Change mode-line message at the time of the appointment.
22398
22399 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22400
22401 * progmodes/ld-script.el (ld-script-keywords)
22402 (ld-script-builtins): Update keywords list.
22403
22404 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22405
22406 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22407
22408 * shell.el (shell-completion-vars): New function.
22409 (shell-mode):
22410 * simple.el (read-shell-command): Use it.
22411 (blink-matching-open): No need for " [...]" in minibuffer-message.
22412
22413 2011-05-12 Glenn Morris <rgm@gnu.org>
22414
22415 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22416 (appt-check): Simplify.
22417
22418 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22419
22420 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22421 literal "/dev/null".
22422
22423 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22424
22425 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22426 Fix typo.
22427
22428 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22429
22430 * progmodes/which-func.el (which-function):
22431 Use add-log-current-defun instead of add-log-current-defun-function,
22432 which might not be defined (Bug#8260).
22433
22434 2011-05-12 Glenn Morris <rgm@gnu.org>
22435
22436 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22437 Let byte-compile-initial-macro-environment always take precedence.
22438
22439 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22440
22441 * net/rcirc.el: Add support for SSL/TLS connections.
22442 (rcirc-server-alist): New field `encryption'.
22443 (rcirc): Check `encryption' settings.
22444 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22445 Merge make-local-variable into `set'.
22446 (rcirc--connection-open-p): New function.
22447 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22448 the process is not a network process (e.g. running gnutls-cli).
22449 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22450 Make rcirc-(en|de)code-coding-system local here.
22451 (rcirc-mode): Merge make-local-variable into `set'.
22452 (rcirc-parent-buffer): Make permanent buffer-local.
22453 (rcirc-multiline-minor-mode): Don't do it here.
22454 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22455 there's no server buffer.
22456
22457 2011-05-11 Glenn Morris <rgm@gnu.org>
22458
22459 * newcomment.el (comment-kill): Prefix "unused" local.
22460
22461 * term/w32console.el (get-screen-color): Declare.
22462
22463 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22464 Handle symbol elements of byte-compile-initial-macro-environment.
22465
22466 2011-05-10 Leo Liu <sdl.web@gmail.com>
22467
22468 * bookmark.el (bookmark-bmenu-mode-map):
22469 Bind bookmark-bmenu-search to `/'.
22470
22471 * mail/footnote.el: Convert to utf-8 encoding.
22472 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22473 (Footnote-unicode): New function.
22474 (footnote-style-alist): Add unicode style to the list.
22475 (footnote-style): Doc fix.
22476
22477 2011-05-10 Jim Meyering <meyering@redhat.com>
22478
22479 Fix doubled-word typos.
22480 * international/quail.el (quail-insert-kbd-layout): and and -> and
22481 * kermit.el: and and -> and
22482 * net/ldap.el (ldap-search-internal): to to -> to
22483 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22484 * progmodes/js.el (js-mode): and and -> and
22485 * textmodes/artist.el (artist-move-to-xy): at at -> at
22486 (artist-draw-region-trim-line-endings): if if -> if
22487 And Safetyc -> Safety.
22488 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22489
22490 2011-05-10 Glenn Morris <rgm@gnu.org>
22491 Stefan Monnier <monnier@iro.umontreal.ca>
22492
22493 * files.el (hack-one-local-variable-eval-safep):
22494 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22495
22496 2011-05-10 Glenn Morris <rgm@gnu.org>
22497
22498 * calendar/diary-lib.el (diary-list-entries-hook)
22499 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22500 (diary-nongregorian-marking-hook, diary-list-entries)
22501 (diary-include-other-diary-files, diary-mark-entries)
22502 (diary-mark-included-diary-files): Doc fixes.
22503
22504 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22505
22506 * misc.el: Require tabulated-list.el during compilation.
22507
22508 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22509
22510 * progmodes/compile.el (compilation-start):
22511 Run compilation-filter-hook for the async case too.
22512 (compilation-filter-hook): Doc fix.
22513
22514 2011-05-09 Deniz Dogan <deniz@dogan.se>
22515
22516 * wdired.el: Remove outdated installation comment. Fix usage
22517 comment.
22518
22519 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22520
22521 * misc.el: Implement new command `list-dynamic-libraries'.
22522 (list-dynamic-libraries--loaded-only-p): New variable.
22523 (list-dynamic-libraries--refresh): New function.
22524 (list-dynamic-libraries): New command.
22525
22526 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22527
22528 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22529 Fix the ant regexp to handle end-line and end-column info from jikes.
22530 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22531 higher priority to avoid clobbering by gnu.
22532
22533 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22534
22535 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22536 if the face has existing theme settings (Bug#8454).
22537
22538 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22539
22540 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22541 Only match variables declared via `my' or `our' (Bug#8261).
22542
22543 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22544 special file names `.' and `..' (Bug#8259).
22545
22546 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22547
22548 * progmodes/grep.el (grep-mode-font-lock-keywords):
22549 Remove buffer-changing entries.
22550 (grep-filter): New function.
22551 (grep-mode): Add it to compilation-filter-hook.
22552
22553 * progmodes/compile.el (compilation-filter-hook)
22554 (compilation-filter-start): New defvars.
22555 (compilation-filter): Call compilation-filter-hook prior to
22556 updating the process mark.
22557
22558 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22559
22560 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22561
22562 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22563
22564 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22565 mailclient-send-it even if window-system is nil. (Bug#8595)
22566
22567 * term/w32console.el (terminal-init-w32console):
22568 Call get-screen-color and use its output to set the frame
22569 background-mode. (Bug#8597)
22570
22571 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22572
22573 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22574 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22575 New functions.
22576 (defgeneric, eieio--defmethod): Use them.
22577 (eieio-defgeneric): Remove.
22578 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22579
22580 2011-05-07 Glenn Morris <rgm@gnu.org>
22581
22582 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22583 Use let rather than let*.
22584 (timeclock-find-discrep): Remove unused local.
22585
22586 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22587
22588 * calendar/appt.el (appt-time-msg-list): Doc fix.
22589
22590 2011-05-06 Noah Friedman <friedman@splode.com>
22591
22592 * apropos.el (apropos-print-doc): Only use
22593 emacs-lisp-docstring-fill-column when it is bound to an integer,
22594 per that variable's documentation.
22595
22596 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22597
22598 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22599 and warnings are not silently discarded (e.g. use -d instead of -P).
22600
22601 2011-05-06 Glenn Morris <rgm@gnu.org>
22602
22603 * calendar/appt.el (appt-message-warning-time): Doc fix.
22604 (appt-warning-time-regexp): New option.
22605 (appt-make-list): Respect appt-message-warning-time.
22606
22607 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22608 New options.
22609 (diary-add-to-list): Strip comments from the displayed string.
22610 (diary-mode): Set comment-start and comment-end.
22611
22612 * vc/diff-mode.el (smerge-refine-subst): Declare.
22613 (diff-refine-hunk): Don't require smerge-mode when compiling.
22614
22615 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22616
22617 * simple.el (list-processes): Return nil as the docstring says.
22618
22619 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22620
22621 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22622 to "".
22623 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22624 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22625 determining of binary transfer. (Bug#7383)
22626
22627 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22628
22629 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22630 Fix port computation bug. (Bug#8618)
22631
22632 2011-05-05 Glenn Morris <rgm@gnu.org>
22633
22634 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22635
22636 * simple.el (shell-dynamic-complete-functions)
22637 (comint-dynamic-complete-functions): Declare.
22638
22639 * net/network-stream.el (gnutls-negotiate):
22640 * simple.el (tabulated-list-print): Fix declarations.
22641
22642 * progmodes/gud.el (syntax-symbol, syntax-point):
22643 Remove unnecessary and incorrect declarations.
22644
22645 * emacs-lisp/check-declare.el (check-declare-scan):
22646 Handle byte-compile-initial-macro-environment in bytecomp.el.
22647
22648 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22649
22650 Fix earlier half-done eieio-defmethod change (bug#8338).
22651 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22652 Streamline and change calling convention.
22653 (defmethod): Adjust accordingly and simplify.
22654 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22655 new eieio--defmethod.
22656 (slot-boundp): Minor CSE simplification.
22657
22658 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22659
22660 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22661 (glasses-make-readable): Use glasses-separate-capital-groups.
22662
22663 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22664
22665 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22666 (warning-series): Doc fix.
22667 (display-warning): Don't try to create the buffer if we just found it.
22668
22669 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22670
22671 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22672 (autoload-find-generated-file): New function.
22673 (generate-file-autoloads): Bind generated-autoload-file to
22674 buffer-file-name.
22675 (update-file-autoloads, update-directory-autoloads):
22676 Use autoload-find-generated-file. If called interactively, prompt for
22677 output file (Bug#7989).
22678 (batch-update-autoloads): Doc fix.
22679
22680 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22681
22682 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22683
22684 2011-05-04 Glenn Morris <rgm@gnu.org>
22685
22686 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22687 function, so it follows changes in calendar-date-style.
22688 (diary-fancy-date-matcher): New function.
22689 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22690 (diary-fancy-font-lock-fontify-region-function):
22691 Use diary-fancy-date-pattern as a function.
22692
22693 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22694 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22695
22696 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22697
22698 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22699 instead of positional arguments. Allow :keylist and :crlfiles
22700 arguments.
22701 (open-gnutls-stream): Call it.
22702
22703 * net/network-stream.el (network-stream-open-starttls): Adjust to
22704 call `gnutls-negotiate' with :process and :hostname arguments.
22705
22706 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22707
22708 * minibuffer.el (completion--message): New function.
22709 (completion--do-completion, minibuffer-complete)
22710 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22711 (completion--do-completion): Don't ignore completion-auto-help when in
22712 icomplete-mode.
22713
22714 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22715 internal encoding (e.g. tibetan zero is not whitespace).
22716 (global-whitespace-mode): Prefer save-current-buffer.
22717 (whitespace-trailing-regexp): Remove useless save-match-data.
22718 (whitespace-empty-at-bob-regexp): Minor simplification.
22719
22720 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22721
22722 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22723
22724 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22725
22726 * textmodes/ispell.el (ispell-add-per-file-word-list):
22727 Use `concat' to create string for insertion.
22728
22729 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22730
22731 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22732 Avoid open-line which runs post-self-insert-hook.
22733 (bibtex-fill-entry): Remove unused `end' var.
22734
22735 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22736
22737 * textmodes/ispell.el (ispell-add-per-file-word-list):
22738 Protect against `nil' value of `comment-start' (Bug#8579).
22739
22740 2011-05-03 Leo Liu <sdl.web@gmail.com>
22741
22742 * isearch.el (isearch-yank-pop): New command.
22743 (isearch-mode-map): Bind it to `M-y'.
22744 (isearch-forward): Mention it.
22745
22746 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22747
22748 * simple.el (minibuffer-complete-shell-command): Remove.
22749 (minibuffer-local-shell-command-map): Use completion-at-point.
22750 (read-shell-command): Setup completion vars here instead.
22751 (read-expression-map): Bind TAB to symbol completion.
22752
22753 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22754 error directly rather via storing it into `results'.
22755
22756 2011-05-02 Leo Liu <sdl.web@gmail.com>
22757
22758 * vc/diff.el: Fix description.
22759
22760 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22761
22762 * server.el (server-eval-at): New function.
22763
22764 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22765
22766 * net/network-stream.el (open-network-stream): Take a :nowait
22767 parameter and pass it on to `make-network-process'.
22768 (network-stream-open-plain): Ditto.
22769
22770 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22771
22772 * faces.el (face-spec-set-match-display): Don't match toolkit
22773 options on terminal frames.
22774
22775 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22776
22777 * progmodes/pascal.el: Use lexical binding.
22778 (pascal-mode-map): Remove author preferences.
22779
22780 * pcomplete.el (pcomplete-std-complete): Don't abuse
22781 completion-at-point.
22782
22783 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22784
22785 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22786 removing code that has been dead since 1991 or so.
22787
22788 * startup.el (command-line): When warning about "_emacs", use a
22789 delayed warning to allow the user to filter it out.
22790
22791 2011-04-28 Deniz Dogan <deniz@dogan.se>
22792
22793 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22794 user has not joined.
22795
22796 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22797
22798 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22799 aren't any completions at point.
22800
22801 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22802
22803 * subr.el (display-delayed-warnings): New function.
22804 (delayed-warnings-hook): New variable.
22805
22806 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22807
22808 * minibuffer.el (completion-at-point, completion-help-at-point):
22809 Don't presume that a given completion-at-point-function will always
22810 use the same calling convention.
22811
22812 * pcomplete.el (pcomplete-completions-at-point):
22813 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22814 pcomplete-seen is non-nil.
22815 (pcomplete-comint-setup): Also recognize the new comint/shell
22816 completion functions.
22817 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22818 pcomplete-seen is non-nil.
22819
22820 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22821
22822 * calendar/icalendar.el (diary-lib): Add require statement.
22823 (icalendar--create-uid): Read out a uid from a text-property on
22824 the first character in the entry. This allows for code to add its
22825 own uid to the entry.
22826 (icalendar--convert-float-to-ical): Add export of
22827 `diary-float'-entries save for those with the optional DAY
22828 argument.
22829
22830 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22831
22832 * subr.el (shell-quote-argument): Use alternate escaping strategy
22833 when we spot a variable reference in a string.
22834
22835 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22836
22837 * cus-start.el (all): Define customization for debug-on-event.
22838
22839 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22840
22841 * subr.el (shell-quote-argument): Escape correctly under Windows.
22842
22843 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22844
22845 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22846
22847 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22848
22849 * net/tramp.el (tramp-process-actions): Add POS argument.
22850 Delete region between POS and (pos).
22851
22852 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22853 Use `nil' position in `tramp-process-actions' call.
22854 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22855
22856 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22857 position in `tramp-process-actions' call.
22858
22859 * net/trampver.el: Update release number.
22860
22861 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22862
22863 * custom.el (defcustom): Obey lexical-binding.
22864
22865 Fix octave-inf completion problems reported by Alexander Klimov.
22866 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22867 Inherit from octave-mode-syntax-table.
22868 (inferior-octave-mode): Set info-lookup-mode.
22869 (inferior-octave-completion-at-point): New function.
22870 (inferior-octave-complete): Use it and completion-in-region.
22871 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22872 comint-filename-completion.
22873 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22874 symbol elements which shouldn't be word elements.
22875 (octave-font-lock-keywords, octave-beginning-of-defun)
22876 (octave-function-header-regexp): Adjust regexps accordingly.
22877 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22878
22879 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22880
22881 * net/gnutls.el (gnutls-errorp): Declare before first use.
22882
22883 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22884
22885 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22886 verify-error, and verify-hostname-error parameters. Check whether
22887 default trustfile exists before going to use it. Add missing
22888 argument to gnutls-message-maybe call. Return value.
22889 Reported by Claudio Bley <claudio.bley@gmail.com>.
22890 (open-gnutls-stream): Add usage example.
22891
22892 * net/network-stream.el (network-stream-open-starttls): Give host
22893 parameter to `gnutls-negotiate'.
22894 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22895 * subr.el (shell-quote-argument): Escape correctly under Windows.
22896
22897 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22898
22899 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22900 Use correct match group (bug#8438).
22901
22902 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22903
22904 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22905 (package-menu--generate): New arg specifying packages to show.
22906 (package-menu-refresh, package-menu-execute, list-packages):
22907 Callers changed.
22908 (package-show-package-list): New function, replacing deleted
22909 package--list-packages (renamed because it is non-internal).
22910
22911 * finder.el (finder-list-matches): Use package-show-package-list
22912 instead of deleted package--list-packages.
22913
22914 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22915 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22916 (vc-annotate-mode-map): Bind it to RET.
22917
22918 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22919
22920 * progmodes/etags.el (next-file): Don't use set-buffer to change
22921 buffers (Bug#8478).
22922
22923 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22924
22925 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22926
22927 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22928 (apropos-accumulator): Doc fix.
22929 (apropos-function, apropos-macro, apropos-command)
22930 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22931 (apropos-plist): Add face property.
22932 (apropos-symbols-internal): Fix indentation.
22933 (apropos-print): Simplify help, and recognize apropos-multi-type.
22934 (apropos-print-doc): Use button-type-get to extract the button's
22935 face property. Fill docstring (Bug#8352).
22936
22937 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22938
22939 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22940
22941 * play/mpuz.el (mpuz-silent): Doc fix.
22942 (mpuz-mode-map): Use mapc.
22943 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22944 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22945 Fix typos in docstrings.
22946
22947 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22948 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22949
22950 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22951
22952 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22953
22954 * minibuffer.el (completion--do-completion): Avoid the "Next char
22955 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22956
22957 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22958 mouse-2 into unread-command-events, it is interpreted correctly.
22959
22960 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22961 (image-toggle-display): Doc fix.
22962
22963 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22964
22965 * textmodes/page.el (what-page): Use line-number-at-pos to
22966 calculate line number (Bug#6825).
22967
22968 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22969
22970 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22971 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22972 Pass argument NO-DEFAULT to `find-tag-interactive'.
22973
22974 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22975
22976 Lexical-binding cleanup.
22977
22978 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22979 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22980 * progmodes/ada-prj.el (ada-prj-initialize-values)
22981 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22982 (ada-prj-show-value):
22983 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22984 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22985 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22986 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22987 * progmodes/bug-reference.el (bug-reference-push-button):
22988 * progmodes/fortran.el (fortran-line-length):
22989 * progmodes/glasses.el (glasses-change):
22990 * progmodes/octave-mod.el (octave-fill-paragraph):
22991 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22992 (python-pdbtrack-grub-for-buffer, python-sentinel):
22993 * progmodes/sql.el (sql-save-connection):
22994 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22995 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22996 Mark unused parameters.
22997
22998 * progmodes/compile.el (compilation--flush-directory-cache)
22999 (compilation--flush-parse, compile-internal): Mark unused parameters.
23000 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23001 (compilation-next-error-function): Remove unused variable `timestamp'.
23002
23003 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23004 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23005
23006 * progmodes/dcl-mode.el (dcl-end-of-command):
23007 Remove unused variable `start'.
23008 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23009 (dcl-option-value-basic, dcl-option-value-offset)
23010 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23011 Mark unused parameters.
23012 (dcl-save-local-variable): Remove unused variable `val'.
23013 (mode): Declare.
23014
23015 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23016 Mark unused parameters.
23017 (delphi-ignore-changes): Move before first use.
23018 (delphi-charset-token-at): Remove unused variable `start'.
23019 (delphi-else-start): Remove unused variable `if-count'.
23020 (delphi-comment-block-start, delphi-comment-block-end):
23021 Remove unused variable `kind'.
23022 (delphi-indent-line): Remove unused variable `new-point'.
23023
23024 * progmodes/ebrowse.el (ebrowse-files-list)
23025 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23026 Mark unused parameters. Don't quote `lambda'.
23027 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23028 Don't quote `lambda'.
23029 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23030 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23031 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23032 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23033 Use `ignore-errors'.
23034 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23035 (ebrowse-view/find-file-and-search-pattern)
23036 (ebrowse-view/find-member-declaration/definition):
23037 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23038 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23039 Rename parameter PREFIX-ARG to PREFIX.
23040 (ebrowse-tags-read-name): Remove unused variables `start' and
23041 `member-info'.
23042 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23043 to `tags-file'.
23044
23045 * progmodes/etags.el (local-find-tag-hook): Declare.
23046 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23047 Mark unused parameters.
23048
23049 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23050 (executable-interpret): Mark unused parameter.
23051
23052 * progmodes/flymake.el (flymake-process-sentinel)
23053 (flymake-after-change-function)
23054 (flymake-create-temp-with-folder-structure)
23055 (flymake-get-include-dirs-dot): Mark unused parameters.
23056 (flymake-safe-delete-directory): Remove unused variable `err'.
23057
23058 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23059 (speedbar-timer-fn, speedbar-line-text)
23060 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23061 (speedbar-center-buffer-smartly): Declare functions.
23062 (gdb-find-watch-expression): Remove unused variable `array'.
23063 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23064 (gdb-starting): Mark unused parameters.
23065 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23066 (gdb-table-string): Remove unused variable `res'.
23067 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23068 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23069 (gdb-display-buffer): Remove unused variable `cur-size'.
23070
23071 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23072 allow lexical-binding compilation.
23073 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23074 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23075 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23076 Mark unused parameters.
23077 (gud-gdb-marker-filter): Remove unused variable `match'.
23078 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23079 lambda expressions and funcall them, instead of using `fset'.
23080
23081 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23082 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23083
23084 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23085 variable `header-beg'; use `let'.
23086
23087 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23088 `restart', `last-sexp' and `at-do'.
23089
23090 * progmodes/js.el (js--debug): Mark unused parameter.
23091 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23092 (js--splice-into-items): Remove unused variable `item'.
23093 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23094
23095 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23096 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23097 (makefile-complete): Remove unused variable `try'.
23098 (makefile-fill-paragraph, makefile-match-function-end):
23099 Mark unused parameters.
23100
23101 * progmodes/octave-inf.el (inferior-octave-complete):
23102 Remove unused variable `proc'.
23103 (inferior-octave-output-digest): Mark unused parameter.
23104
23105 * progmodes/perl-mode.el (perl-calculate-indent):
23106 Remove unused variable `err'.
23107
23108 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23109 (prolog-indent-line): Mark unused parameters.
23110 (prolog-indent-line): Remove unused variable `beg'.
23111
23112 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23113 (reporter-dont-compact-list): Declare.
23114
23115 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23116 Remove unused variable `char'.
23117 (sh-debug): Mark unused parameter.
23118 (sh-get-indent-info): Remove unused variable `start'.
23119 (sh-calculate-indent): Remove unused variable `var'.
23120
23121 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23122 (simula-electric-keyword): Remove unused variable `null'.
23123 (simula-search-backward, simula-search-forward): Remove unused
23124 variables `begin' and `end'.
23125
23126 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23127 Remove unused variable `pos'.
23128 (vera-electric-tab, vera-comment-uncomment-region):
23129 Mark unused parameters.
23130 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23131
23132 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23133
23134 * emacs-lisp/package.el (package--builtins, package-alist)
23135 (package-load-descriptor, package-built-in-p, package-activate)
23136 (define-package, package-installed-p)
23137 (package-compute-transaction, package-buffer-info)
23138 (package--push): Doc fix. Distinguish more clearly between
23139 version strings and version lists.
23140
23141 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23142
23143 Lexical-binding cleanup.
23144
23145 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23146 (5x5-make-mutate-best):
23147 * play/fortune.el (fortune-in-buffer):
23148 * play/gomoku.el (gomoku-init-display):
23149 * play/solitaire.el (solitaire, solitaire-do-check):
23150 * play/tetris.el (tetris-default-update-speed-function):
23151 Mark unused parameters.
23152
23153 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23154 (bubbles--shift): Remove unused variable `char-org'.
23155 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23156 (bubbles--show-images): Remove unused variable `char'.
23157
23158 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23159 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23160 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23161 (decipher-analyze-buffer): Use ?\s.
23162 (decipher-make-checkpoint): Remove unused variable `mapping'.
23163
23164 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23165
23166 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23167 Remove unused variable `result'; use `let'.
23168
23169 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23170 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23171 (gametree-children-shown-p, gametree-compute-reduced-score):
23172 Use `ignore-errors'.
23173
23174 * play/handwrite.el (ps-lpr-switches): Declare.
23175 (handwrite): Remove unused variables `pmin' and `lastp'.
23176
23177 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23178
23179 * play/landmark.el (landmark-init-display)
23180 (landmark-update-naught-weights): Mark unused parameters.
23181 (landmark-y): Remove unused variable `noise'. Simplify.
23182 (landmark-human-plays): Remove unused variable `score'.
23183
23184 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23185 (mpuz-try-proposal): Remove unused variable `game'.
23186
23187 * play/zone.el (life-patterns): Declare.
23188
23189 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23190
23191 * vc/vc.el (ediff-vc-internal): Declare function.
23192
23193 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23194
23195 * shell.el: Use lexical-binding and std completion UI.
23196 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23197 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23198 comint-preoutput-filter-functions rather than on
23199 comint-output-filter-functions.
23200 (shell-command-completion, shell--command-completion-data)
23201 (shell-filename-completion, shell-environment-variable-completion)
23202 (shell-c-a-p-replace-by-expanded-directory): New functions.
23203 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23204 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23205 (shell-dynamic-complete-environment-variable): Use them.
23206 (shell-dynamic-complete-as-environment-variable)
23207 (shell-dynamic-complete-as-command): Remove.
23208 (shell-match-partial-variable): Match past point.
23209 * comint.el: Clean up use of completion-at-point-functions.
23210 (comint-completion-at-point): New function.
23211 (comint-mode): Use it completion-at-point-functions.
23212 (comint-dynamic-complete): Make it obsolete.
23213 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23214 (comint-c-a-p-replace-by-expanded-history): New function.
23215 (comint-dynamic-complete-functions)
23216 (comint-replace-by-expanded-history): Use it.
23217 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23218 termination strings. Try harder to avoid second try-completion.
23219 (completion-in-region-mode-map): Disable bindings that don't work yet.
23220
23221 * comint.el: Use lexical-binding. Require CL.
23222 (comint-dynamic-complete-functions): Use comint-filename-completion.
23223 (comint-completion-addsuffix): Tweak custom type.
23224 (comint-filename-completion, comint--common-suffix)
23225 (comint--common-quoted-suffix, comint--table-subvert)
23226 (comint--complete-file-name-data): New functions.
23227 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23228 (comint-dynamic-list-filename-completions): Use them.
23229 (comint-dynamic-simple-complete): Make obsolete.
23230
23231 * minibuffer.el (completion-in-region-mode):
23232 Keep completion-in-region-mode--predicate global.
23233 (completion-in-region--postch):
23234 Assume completion-in-region-mode--predicate is not null.
23235
23236 * progmodes/flymake.el (flymake-start-syntax-check-process):
23237 Obey `dir'. Simplify.
23238
23239 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23240 we're in VC after all.
23241
23242 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23243
23244 * vc/vc.el (vc-diff-build-argument-list-internal)
23245 (vc-version-ediff, vc-ediff): New commands.
23246 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23247
23248 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23249
23250 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23251 add sanity check.
23252
23253 * obsolete/erc-hecomplete.el: Make obsolete.
23254 * obsolete/: Standardize obsolescence info in the header.
23255
23256 2011-04-20 Glenn Morris <rgm@gnu.org>
23257
23258 * calendar/solar.el (solar-horizontal-coordinates):
23259 Use the longitude argument rather than `calendar-longitude'.
23260 (solar-date-next-longitude): Remove unused locals.
23261
23262 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23263
23264 * whitespace.el: New version 13.2.1.
23265
23266 2011-04-20 felix <EmacsWiki> (tiny change)
23267
23268 * whitespace.el (global-whitespace-mode): Keep highlight when
23269 switching between major modes on a file.
23270
23271 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23272
23273 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23274 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23275 multi-line comments as well.
23276
23277 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23278
23279 Lexical-binding cleanup.
23280
23281 * arc-mode.el (archive-mode-revert):
23282 * cmuscheme.el (scheme-interactively-start-process):
23283 * custom.el (custom-initialize-delay):
23284 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23285 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23286 * emacs-lock.el (emacs-lock-clear-sentinel):
23287 * ezimage.el (defezimage):
23288 * follow.el (follow-avoid-tail-recenter):
23289 * fringe.el (set-fringe-mode-1):
23290 * generic-x.el (bat-generic-mode-compile):
23291 * help-mode.el (help-info-variable, help-do-xref)
23292 (help-mode-revert-buffer):
23293 * help.el (view-emacs-todo):
23294 * iswitchb.el (iswitchb-completion-help):
23295 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23296 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23297 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23298 * locate.el (locate-update):
23299 * longlines.el (longlines-encode-region)
23300 (longlines-after-change-function):
23301 * outline.el (outline-isearch-open-invisible):
23302 * ps-def.el (declare-function, charset-dimension, char-width)
23303 (encode-char):
23304 * ps-mule.el (ps-mule-plot-string):
23305 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23306 (recentf-edit-list-select, recentf-edit-list-validate)
23307 (recentf-open-files-action):
23308 * rect.el (delete-whitespace-rectangle-line)
23309 (rectangle-number-line-callback):
23310 * register.el (window-configuration-to-register)
23311 (frame-configuration-to-register):
23312 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23313 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23314 (xselect-convert-to-targets, xselect-convert-to-delete)
23315 (xselect-convert-to-filename, xselect-convert-to-charpos)
23316 (xselect-convert-to-lineno, xselect-convert-to-colno)
23317 (xselect-convert-to-os, xselect-convert-to-host)
23318 (xselect-convert-to-user, xselect-convert-to-class)
23319 (xselect-convert-to-name, xselect-convert-to-integer)
23320 (xselect-convert-to-atom, xselect-convert-to-identity):
23321 * subr.el (declare, ignore, process-kill-without-query)
23322 (text-clone-maintain):
23323 * terminal.el (te-get-char, te-tic-sentinel):
23324 * tool-bar.el (tool-bar-make-keymap):
23325 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23326 * type-break.el (type-break-mode, type-break-noninteractive-query):
23327 * view.el (View-back-to-mark):
23328 * wid-browse.el (widget-browse-action, widget-browse-widget)
23329 (widget-browse-widgets, widget-browse-sexp):
23330 * widget.el (define-widget-keywords):
23331 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23332 Mark unused parameters.
23333
23334 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23335 (align-areas): Remove unused variable `look'.
23336 (align-region): Remove unused variables `real-end' and `pos-list'.
23337
23338 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23339
23340 * bindings.el (mode-line-modified, mode-line-remote):
23341 Mark unused parameters.
23342 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23343
23344 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23345 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23346
23347 * comint.el (comint-history-isearch-pop-state)
23348 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23349 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23350 (comint-substitute-in-file-name): Doc fix.
23351
23352 * completion.el (cmpl-statistics-block): Mark unused parameter.
23353 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23354 (save-completions-to-file, load-completions-from-file):
23355 Remove unused local variable `e'.
23356
23357 * composite.el (compose-chars): Remove unused variable `len'.
23358 (lgstring-insert-glyph): Remove unused variable `g'.
23359 (compose-glyph-string): Remove unused variables `ascent',
23360 `descent', `lbearing' and `rbearing'.
23361 (compose-glyph-string-relative): Remove unused variables
23362 `lbearing', `rbearing' and `wadjust'.
23363 (compose-gstring-for-graphic): Remove unused variables `header',
23364 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23365 (compose-gstring-for-terminal): Remove unused variables `header'
23366 and `nchars'. Use `let', not `let*'.
23367
23368 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23369 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23370 (Custom-buffer-done, custom-buffer-create-internal)
23371 (custom-browse-visibility-action, custom-browse-group-tag-action)
23372 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23373 (widget-magic-mouse-down-action, custom-toggle-parent)
23374 (custom-add-parent-links, custom-toggle-hide-variable)
23375 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23376 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23377 (custom-face-menu-create, custom-variable-menu-create, get)
23378 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23379 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23380 (customize-apropos): Remove unused variable `tests'.
23381 (custom-group-value-create): Remove unused variable `hidden-p'.
23382 (sort-fold-case): Declare.
23383
23384 * cus-theme.el (custom-reset-standard-faces-list)
23385 (custom-reset-standard-variables-list): Declare.
23386 (customize-create-theme, custom-theme-revert, custom-theme-write)
23387 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23388 Mark unused parameters.
23389
23390 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23391
23392 * delim-col.el (delimit-columns-max): Move defvar before first use.
23393
23394 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23395 (describe-char): Don't quote `lambda'. Mark unused parameter.
23396
23397 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23398 (auto-insert): Declare.
23399 (desktop-restore-file-buffer): Rename desktop-* parameters;
23400 mark unused ones.
23401 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23402 (desktop-buffer): Rename desktop-* parameters.
23403
23404 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23405 (dframe-reposition-frame-xemacs, dframe-help-echo)
23406 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23407 Mark unused parameters.
23408
23409 * dired-aux.el (backup-extract-version-start, overwrite-query)
23410 (overwrite-backup-query, rename-regexp-query)
23411 (rename-non-directory-query): Declare.
23412 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23413 (dired-add-entry): Remove unused variable `orig-file-name'.
23414 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23415 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23416 `dired-copy-preserve-time' directly.
23417 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23418 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23419
23420 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23421 (dired-virtual-revert, dired-make-relative-symlink):
23422 Mark unused parameters.
23423 (manual-program): Declare.
23424 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23425 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23426 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23427
23428 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23429
23430 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23431
23432 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23433 Declare.
23434
23435 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23436
23437 * electric.el (Electric-command-loop): Rename parameter
23438 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23439
23440 * expand.el (expand-in-literal): Remove unused variable `here'.
23441
23442 * facemenu.el (facemenu-add-new-color):
23443 Remove unused variable `docstring'.
23444
23445 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23446 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23447 (face-attr-construct): Mark unused parameter. Doc fix.
23448 (read-color): Remove unused variable `hex-string'.
23449
23450 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23451 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23452 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23453 (display-buffer-other-frame): Remove unused variable `old-window'.
23454 (kill-buffer-hook): Declare.
23455 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23456 Mark unused parameters.
23457 (after-find-file): Pass 1 to `auto-save-mode', not t.
23458
23459 * files-x.el (auto-insert): Declare.
23460 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23461
23462 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23463 variable `buf'. Mark unused parameter.
23464 (find-lisp-insert-directory): Mark unused parameter.
23465
23466 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23467 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23468 (format-common-tail): Remove, unused.
23469 (format-deannotate-region): Remove unused variable `loc'.
23470 (format-annotate-region): Remove unused variable `p'.
23471 (format-annotate-single-property-change): Remove unused variables
23472 `default' and `tail'.
23473
23474 * forms.el (read-file-filter): Declare.
23475 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23476
23477 * frame.el (frame-creation-function-alist): Mark unused parameter.
23478 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23479
23480 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23481 Remove unused parameters.
23482 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23483 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23484
23485 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23486 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23487 (hfy-prepare-tag-map): Mark unused parameters.
23488 (htmlfontify-buffer): Use `called-interactively-p'.
23489
23490 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23491 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23492 (ibuffer-do-occur): Mark unused parameters.
23493 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23494 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23495
23496 * ibuffer.el: Don't quote `lambda'.
23497 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23498 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23499 Mark unused parameters.
23500
23501 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23502 (ido-completing-read): Mark unused parameters.
23503 (ido-copy-current-word): Mark unused parameters;
23504 remove unused variable `name'.
23505 (ido-sort-merged-list): Remove unused parameter `dirs'.
23506
23507 * ielm.el (ielm-input-sender): Mark unused parameter.
23508 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23509 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23510 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23511 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23512 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23513
23514 * image-dired.el (image-dired-display-thumbs): Remove unused
23515 variables `curr-file' and `count'.
23516 (image-dired-remove-tag): Remove unused variable `start'.
23517 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23518 variable `curr-file'
23519 (image-dired-rotate-original): Remove unused variable `temp-file'.
23520 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23521 Remove unused variable `file'.
23522 (image-dired-gallery-generate): Remove unused variable `curr'.
23523 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23524
23525 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23526
23527 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23528
23529 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23530
23531 * isearch.el (minibuffer-history-symbol): Declare.
23532 (isearch-edit-string): Remove unused variable `err'.
23533 (isearch-message-prefix, isearch-message-suffix):
23534 Mark unused parameters.
23535
23536 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23537
23538 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23539
23540 * makesum.el (double-column): Remove unused variable `cnt'.
23541
23542 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23543 (ido-ignore-item-temp-list): Declare.
23544
23545 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23546 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23547 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23548 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23549 `mouse-col-delta'.
23550
23551 * mouse-sel.el (mouse-extend-internal):
23552 Remove unused variable `orig-window-frame'.
23553
23554 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23555 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23556 Move declarations before first use.
23557 (pcomplete-opt): Mark unused parameters; doc fix.
23558
23559 * proced.el (proced-revert): Mark unused parameter.
23560 (proced-send-signal): Remove unused variable `err'.
23561
23562 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23563 Rename parameter PREFIX-ARG to ARG.
23564 (ps-basic-plot-string, ps-basic-plot-whitespace):
23565 Mark unused parameters.
23566
23567 * replace.el (replace-count): Define.
23568 (occur-revert-function): Mark unused parameters.
23569 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23570 (isearch-case-fold-search, isearch-string): Declare.
23571 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23572 bind `case-fold-search'. Remove unused variables `beg' and `end',
23573 and simplify.
23574 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23575 COUNT and bind `replace-count'.
23576 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23577 to COUNT.
23578
23579 * savehist.el (print-readably, print-string-length): Declare.
23580
23581 * shadowfile.el (shadow-expand-cluster-in-file-name):
23582 Remove unused variable `cluster'.
23583 (shadow-copy-file): Remove unused variable `i'.
23584 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23585 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23586 (shadow-define-literal-group, shadow-define-regexp-group)
23587 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23588
23589 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23590 (shell): Use `called-interactively-p'.
23591 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23592
23593 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23594 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23595 (delete-backward-char): Remove unused variable `ocol'.
23596 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23597 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23598 (event-apply-hyper-modifier, event-apply-shift-modifier)
23599 (event-apply-control-modifier, event-apply-meta-modifier):
23600 Mark unused parameters.
23601 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23602 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23603
23604 * speedbar.el (speedbar-ignored-directory-expressions)
23605 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23606 (speedbar-find-file, speedbar-dir-follow)
23607 (speedbar-directory-buttons-follow, speedbar-tag-find)
23608 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23609 (speedbar-buffers-line-directory, speedbar-buffer-click):
23610 Mark unused parameters.
23611 (speedbar-tag-file): Remove unused variable `mode'.
23612 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23613
23614 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23615
23616 * talk.el (talk): Remove unused variable `display'.
23617
23618 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23619 (tar-write-region-annotate): Mark unused parameter.
23620
23621 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23622 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23623 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23624 warning by another.
23625
23626 * time-stamp.el (time-stamp-string-preprocess):
23627 Remove unused variable `require-padding'.
23628
23629 * tree-widget.el (widget-glyph-enable): Declare.
23630 (tree-widget-action): Mark unused parameter.
23631
23632 * w32-fns.el (x-get-selection): Mark unused parameter.
23633 (autoload-make-program, generated-autoload-file): Declare.
23634
23635 * wdired.el (wdired-revert): Mark unused parameters.
23636 (wdired-xcase-word): Remove unused variable `err'.
23637
23638 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23639 (whitespace-help-scroll): Remove unused variable `data-help'.
23640
23641 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23642 (widget-image-insert, widget-after-change, default)
23643 (widget-default-format-handler, widget-default-notify)
23644 (widget-default-prompt-value, widget-info-link-action)
23645 (widget-url-link-action, widget-function-link-action)
23646 (widget-variable-link-action, widget-file-link-action)
23647 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23648 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23649 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23650 (widget-insert-button-action, widget-delete-button-action, visibility)
23651 (widget-documentation-link-action, widget-documentation-string-action)
23652 (widget-const-prompt-value, widget-regexp-match, symbol)
23653 (widget-coding-system-prompt-value)
23654 (widget-key-sequence-value-to-external, sexp)
23655 (widget-sexp-value-to-internal, character, vector, cons)
23656 (widget-choice-prompt-value, widget-boolean-prompt-value)
23657 (widget-color--choose-action): Mark unused parameters.
23658 (widget-item-match-inline, widget-choice-match-inline)
23659 (widget-checklist-match, widget-checklist-match-inline)
23660 (widget-group-match): Rename parameter VALUES to VALS.
23661 (widget-field-value-set): Remove unused variable `size'.
23662 (widget-color-action): Remove unused variables `value' and `start'.
23663
23664 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23665 variable `dir'. Doc fix.
23666 (windmove-find-other-window): Don't pass it.
23667
23668 * window.el (count-windows): Mark unused parameter.
23669 (bw-adjust-window): Remove unused variable `err'.
23670
23671 * woman.el (woman-file-name): Remove unused variable `default'.
23672 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23673 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23674 (global-font-lock-mode): Declare.
23675 (woman-decode-region): Mark unused parameter.
23676 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23677
23678 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23679 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23680 (x-dnd-handle-moz-url): Remove unused variable `title'.
23681 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23682
23683 * xml.el (xml-parse-tag, xml-parse-attlist):
23684 Remove unused variable `pos'.
23685
23686 2011-04-19 Glenn Morris <rgm@gnu.org>
23687
23688 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23689 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23690 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23691 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23692 * calendar/cal-html.el (cal-html-insert-minical):
23693 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23694 (calendar-mark-date-pattern):
23695 Prefix "unused" locals.
23696
23697 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23698 optional argument `style'.
23699
23700 * calendar/appt.el (appt-make-list):
23701 * calendar/cal-china.el (calendar-chinese-date-string):
23702 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23703 (diary-hebrew-yahrzeit):
23704 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23705 * calendar/calendar.el (calendar-generate-window):
23706 * calendar/time-date.el (time-to-days):
23707 Remove unused local variables.
23708
23709 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23710
23711 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23712 glyphless-char-display table.
23713 (tabulated-list-glyphless-char-display): New var.
23714
23715 2011-04-18 Sam Steingold <sds@gnu.org>
23716
23717 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23718 to acknowledgments.
23719
23720 2011-04-17 Glenn Morris <rgm@gnu.org>
23721
23722 * calendar/diary-lib.el (diary-sexp-entry):
23723 * calendar/holidays.el (holiday-sexp):
23724 Set debug-on-error rather than the removed stack-trace-on-error.
23725
23726 2011-04-16 Glenn Morris <rgm@gnu.org>
23727
23728 * progmodes/f90.el: Use lexical-binding.
23729 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23730
23731 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23732
23733 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23734 (mail-mode): Setup mailalias completion here instead.
23735 * mail/mailalias.el: Use lexical-binding.
23736 (pattern, mailalias-done): Declare dynamic.
23737 (mail-completion-at-point-function): New function, from mail-complete.
23738 (mail-complete): Use it.
23739 (mail-completion-expand): New function.
23740 (mail-get-names): Use it.
23741 (mail-directory, mail-directory-process, mail-directory-stream):
23742 Don't use `pattern' for lexically bound arg.
23743
23744 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23745
23746 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23747 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23748 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23749
23750 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23751 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23752 (byte-interactive-p): Define them again, for use when inlining
23753 old code.
23754
23755 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23756
23757 * loadup.el: Use `string-to-number', not `string-to-int'.
23758
23759 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23760
23761 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23762 gud-gdb-complete-command.
23763 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23764 (gud-gdb-completion-at-point): New function.
23765 (gud-gdb-completions): Remove.
23766
23767 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23768
23769 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23770 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23771 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23772 whether `executable-find' is bound.
23773
23774 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23775
23776 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23777
23778 * minibuffer.el (completion-in-region-mode-predicate)
23779 (completion-in-region-mode--predicate): New vars.
23780 (completion-in-region, completion-in-region--postch)
23781 (completion-in-region-mode): Use them.
23782 (completion--capf-wrapper): Also return the hook function.
23783 (completion-at-point, completion-help-at-point):
23784 Adjust and provide a predicate.
23785
23786 Preserve arg names for advice of subr and lexical functions (bug#8457).
23787 * help-fns.el (help-function-arglist): Consolidate the subr and
23788 new-byte-code cases. Add argument `preserve-names' to extract names
23789 from the docstring when needed.
23790 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23791 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23792 (ad-arglist): Use help-function-arglist's new arg.
23793 (ad-definition-type): Use cond.
23794
23795 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23796
23797 * autorevert.el (auto-revert-handler):
23798 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23799 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23800 Don't quote lambda.
23801
23802 * image-mode.el (image-transform-set-scale):
23803 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23804
23805 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23806
23807 * net/network-stream.el (network-stream-open-starttls): Only do
23808 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23809 Upgrades via gnutls-cli are too slow to be done opportunistically.
23810
23811 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23812
23813 * dframe.el (dframe-current-frame): Remove spurious quote.
23814
23815 2011-04-12 Glenn Morris <rgm@gnu.org>
23816
23817 * calendar/cal-tex.el (cal-tex-end-document):
23818 Try to automatically use latin1 input if needed.
23819
23820 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23821 Don't try to cons a mark onto an empty element.
23822
23823 2011-04-11 Leo Liu <sdl.web@gmail.com>
23824
23825 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23826 buffers.
23827 (ido-kill-buffer-at-head): Support killing virtual buffers.
23828
23829 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23830
23831 * minibuffer.el (completion-show-inline-help): New var.
23832 (completion--do-completion, minibuffer-complete)
23833 (minibuffer-force-complete, minibuffer-complete-word):
23834 Inhibit minibuffer messages if completion-show-inline-help is nil.
23835
23836 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23837 to avoid interference from inline help (Bug#5849).
23838
23839 2011-04-10 Leo Liu <sdl.web@gmail.com>
23840
23841 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23842 Fix typo.
23843
23844 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23845
23846 * image-mode.el (image-toggle-display-image): Signal an error if
23847 not in Image mode.
23848 (image-transform-mode, image-transform-resize)
23849 (image-transform-set-rotation): Doc fix.
23850 (image-transform-set-resize): Delete.
23851 (image-transform-set-scale, image-transform-fit-to-height)
23852 (image-transform-fit-to-width): Handle image-toggle-display-image
23853 and image-transform-resize directly.
23854
23855 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23856
23857 * doc-view.el (doc-view-fit-width-to-window)
23858 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23859 New functions for fitting the shown image to the Emacs window size.
23860 (doc-view-mode-map): Add bindings for the new functions.
23861
23862 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23863
23864 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23865 Fix typo in docstring.
23866
23867 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23868
23869 * files.el (file-size-human-readable): Produce one digit after
23870 decimal, like "ls -lh" does.
23871
23872 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23873 the file size representation.
23874
23875 * simple.el (list-processes): If async subprocesses are not
23876 available, error out with a clear error message.
23877
23878 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23879
23880 * help.el (help-form-show): New function, to be called from C.
23881 Put help-form output in a buffer named differently than *Help*.
23882
23883 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23884
23885 * files.el (file-size-human-readable): New function.
23886
23887 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23888 computing the representation inline. Don't require `cl'.
23889
23890 2011-04-08 Glenn Morris <rgm@gnu.org>
23891
23892 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23893
23894 * net/browse-url.el (browse-url-firefox):
23895 Test system-type, not system-configuration.
23896
23897 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23898 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23899 Use log-edit-empty-buffer-p. (Bug#7598)
23900
23901 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23902 (rlogin-mode-map): Initialize in the defvar.
23903 (rlogin): Use ignore-errors.
23904
23905 * replace.el (occur-mode-map): Some fixes for menu items.
23906
23907 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23908
23909 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23910
23911 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23912
23913 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23914 issuing unused warnings.
23915
23916 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23917 macro directly.
23918
23919 * simple.el: Lisp reimplement of list-processes. Based on an
23920 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23921 (process-menu-mode): New major mode.
23922 (list-processes--refresh, list-processes):
23923 (process-menu-visit-buffer): New functions.
23924
23925 * files.el (save-buffers-kill-emacs): Don't assume any return
23926 value of list-processes, which is undocumented anyway.
23927
23928 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23929
23930 * emacs-lisp/tabulated-list.el: New file.
23931
23932 * emacs-lisp/package.el: Use Tabulated List mode.
23933 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23934 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23935 table format using Tabulated List mode variables.
23936 (package--push): New macro, replacing package-list-maybe-add.
23937 (package-menu--generate): Use package--push. Renamed from
23938 package--generate-package-list.
23939 (package-menu-refresh, list-packages): Use it.
23940 (package-menu--print-info): Rename from package-print-package.
23941 Return insertion data instead of inserting it directly.
23942 (package-menu-describe-package, package-menu-execute):
23943 Use tabulated-list-get-id.
23944 (package-menu-mark-delete, package-menu-mark-install)
23945 (package-menu-mark-unmark, package-menu-backup-unmark)
23946 (package-menu-mark-obsolete-for-deletion):
23947 Use tabulated-list-put-tag.
23948 (package--list-packages, package-menu-revert)
23949 (package-menu-get-package, package-menu-get-version)
23950 (package-menu-sort-by-column): Functions deleted.
23951 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23952 (package-menu--status-predicate, package-menu--version-predicate)
23953 (package-menu--name-predicate)
23954 (package-menu--description-predicate): Handle arguments in the
23955 Tabulated List format.
23956 (package-list-packages-no-fetch): Call list-packages.
23957
23958 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23959
23960 * files.el (after-find-file-from-revert-buffer): Remove variable.
23961 (after-find-file): Don't bind it.
23962 (revert-buffer-in-progress-p): New variable.
23963 (revert-buffer): Bind it.
23964 Pass nil for `after-find-file-from-revert-buffer'.
23965
23966 * saveplace.el (save-place-find-file-hook): Use new variable
23967 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23968
23969 2011-04-06 Glenn Morris <rgm@gnu.org>
23970
23971 * Makefile.in (AUTOGEN_VCS): New variable.
23972 (autoloads): Use $AUTOGEN_VCS.
23973
23974 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23975 * calendar/calendar.el (calendar-mode-map):
23976 Check for toolkit scroll bars. (Bug#8305)
23977
23978 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23979
23980 * minibuffer.el (completion-in-region--postch)
23981 (completion-in-region-mode): Remove unnecessary messages.
23982
23983 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23984
23985 * font-lock.el (font-lock-refresh-defaults):
23986 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23987 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23988
23989 * info.el (Info-directory-list, Info-read-node-name-2)
23990 (Info-split-parameter-string): Doc fixes.
23991 (Info-virtual-nodes): Reflow docstring.
23992 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23993 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23994 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23995 Fix typos in docstrings.
23996 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23997 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23998 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23999 (Info-restore-desktop-buffer): Mark unused parameters.
24000 (Info-directory-find-file, Info-directory-find-node)
24001 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24002 (Info-virtual-index-find-node, Info-apropos-find-file)
24003 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24004 Mark unused parameters; fix typos in docstrings.
24005 (Info-virtual-index): Remove unused local variable `nodename'.
24006
24007 2011-04-05 Deniz Dogan <deniz@dogan.se>
24008
24009 * net/rcirc.el: Update my e-mail address.
24010 (rcirc-mode-map): Remove M-o binding.
24011
24012 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24013
24014 * startup.el (command-line): Save the cursor's theme-face
24015 directly, instead of using face-override-spec.
24016
24017 * custom.el (load-theme): Minor optimization in assigning faces.
24018
24019 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24020
24021 * help-fns.el (describe-variable): Complete all variables having
24022 documentation, including keywords.
24023 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24024
24025 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24026
24027 Convert to lexical-binding.
24028
24029 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24030 (bs--get-marked-string, bs--get-modified-string)
24031 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24032 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24033 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24034
24035 * ehelp.el (electric-help-execute-extended)
24036 (electric-help-ctrl-x-prefix):
24037 * hexl.el (hexl-revert-buffer-function):
24038 * linum.el (linum-after-change, linum-after-scroll):
24039 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24040
24041 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24042
24043 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24044
24045 * epa-dired.el:
24046 * epa-mail.el:
24047 * epa-hook.el:
24048 * epa-file.el:
24049 * epa.el:
24050 * epg.el: Use lexical binding.
24051
24052 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24053
24054 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24055
24056 * textmodes/flyspell.el (flyspell-word): Recognize default
24057 dictionary case for flyspell-mark-duplications-exceptions.
24058 Use regexp matching for languages.
24059 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24060 default dictionary (Bug#7926).
24061
24062 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24063
24064 * emacs-lisp/package.el (package--with-work-buffer):
24065 Recognize https URLs.
24066
24067 * net/network-stream.el: Move from gnus/proto-stream.el.
24068 Change prefix to network-stream throughout.
24069 (open-protocol-stream): Merge into open-network-stream, leaving
24070 open-protocol-stream as an alias. Handle nil BUFFER args.
24071
24072 * subr.el (open-network-stream): Move to net/network-stream.el.
24073
24074 2011-04-02 Glenn Morris <rgm@gnu.org>
24075
24076 * find-dired.el (find-exec-terminator): New option.
24077 (find-ls-option): Test for -ls support.
24078 (find-ls-subdir-switches): Test for -b in find-ls-option.
24079 (find-dired, find-grep-dired): Doc fixes.
24080 (find-dired): Use find-exec-terminator.
24081
24082 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24083 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24084 (find-name-arg): Remove purecopy.
24085
24086 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24087 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24088 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24089 accordingly. Don't add the null-device if not needed.
24090
24091 * files.el (save-some-buffers): Doc fix.
24092
24093 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24094
24095 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24096
24097 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24098
24099 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24100 Use `dolist' rather than `mapcar'.
24101
24102 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24103
24104 Add lexical binding.
24105
24106 * subr.el (apply-partially): Use new closures rather than CL.
24107 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24108 (dolist, dotimes): Use slightly different expansion for lexical code.
24109 (functionp): Move to C.
24110 (letrec): New macro.
24111 (with-wrapper-hook): Use it and apply-partially instead of CL.
24112 (eval-after-load): Preserve lexical-binding.
24113 (save-window-excursion, with-output-to-temp-buffer): Turn them
24114 into macros.
24115
24116 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24117
24118 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24119 than the arglist.
24120 (help-add-fundoc-usage): Don't add `Not documented'.
24121 (help-function-arglist): Handle closures, subroutines, and new
24122 byte-code-functions.
24123 (help-make-usage): Remove leading underscores.
24124 (describe-function-1): Handle closures.
24125 (describe-variable): Use special-variable-p for completion.
24126
24127 * files.el (lexical-binding): Declare safe.
24128
24129 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24130 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24131 (pcase): Add `let' pattern.
24132 Change memoization so it actually works.
24133 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24134 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24135 <let>: New case.
24136
24137 * emacs-lisp/macroexp.el: Use lexical binding.
24138 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24139 Don't convert ' to #' without checking that it's indeed quoting
24140 a lambda.
24141
24142 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24143 Use eval-sexp-add-defvars.
24144 (eval-sexp-add-defvars): New fun.
24145
24146 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24147
24148 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24149 Don't autoload.
24150 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24151 than the internal `byte-compile-lambda'.
24152 (defmethod): Don't hide code under quotes.
24153 (eieio-defmethod): New `code' argument.
24154
24155 * emacs-lisp/eieio-comp.el: Remove.
24156
24157 * emacs-lisp/edebug.el (edebug-eval-defun)
24158 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24159 (edebug-toggle): Avoid `eval'.
24160
24161 * emacs-lisp/disass.el (disassemble-internal): Handle new
24162 `closure' objects.
24163 (disassemble-1): Handle new byte codes.
24164
24165 * emacs-lisp/cl.el (pushnew): Silence warning.
24166
24167 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24168 (cl-byte-compile-throw): Remove.
24169 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24170
24171 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24172 closures.
24173
24174 * emacs-lisp/cconv.el: New file.
24175
24176 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24177 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24178 (byte-compile-initial-macro-environment):
24179 Handle declare-function here.
24180 (byte-compile--lexical-environment): New var.
24181 (byte-stack-ref, byte-stack-set, byte-discardN)
24182 (byte-discardN-preserve-tos): New lap codes.
24183 (byte-interactive-p): Don't use any more.
24184 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24185 New macros.
24186 (byte-compile-lapcode): Use them and handle new lap codes.
24187 (byte-compile-obsolete): Remove.
24188 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24189 (byte-compile-arglist-warn): Check late def of inlinable funs.
24190 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24191 since they should have been expanded by now.
24192 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24193 (byte-compile-from-buffer): Remove unused second arg.
24194 (byte-compile-preprocess): New function.
24195 (byte-compile-toplevel-file-form): New function to distinguish
24196 file-form calls from outside from file-form calls from hunk-handlers.
24197 (byte-compile-file-form): Simplify.
24198 (byte-compile-file-form-defsubst): Remove.
24199 (byte-compile-file-form-defmumble): Simplify now that
24200 byte-compile-lambda always returns a byte-code-function.
24201 (byte-compile): Preprocess.
24202 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24203 Remove, not used any more.
24204 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24205 (byte-compile-make-args-desc): New funs.
24206 (byte-compile-lambda): Handle lexical functions. Always return
24207 a byte-code-function.
24208 (byte-compile-reserved-constants): New var, to make up room for
24209 closed-over variables.
24210 (byte-compile-constants-vector): Obey it.
24211 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24212 (byte-compile-macroexpand-declare-function): New function.
24213 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24214 byte-code-functions.
24215 (byte-compile-form): Check obsolescence here.
24216 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24217 (byte-compile-variable-ref): Remove.
24218 (byte-compile-dynamic-variable-op): New fun.
24219 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24220 (byte-compile-variable-set): New funs.
24221 (byte-compile-discard): Add 2 args.
24222 (byte-compile-stack-ref, byte-compile-stack-set)
24223 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24224 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24225 macroexpand-all instead.
24226 (byte-compile-quote-form): Remove.
24227 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24228 (byte-compile-bind, byte-compile-unbind): New funs.
24229 (byte-compile-let): Handle let* and lexical binding.
24230 (byte-compile-let*): Remove.
24231 (byte-compile-catch, byte-compile-unwind-protect)
24232 (byte-compile-track-mouse, byte-compile-condition-case):
24233 Handle a new :fun-body form, used for lexical scoping.
24234 (byte-compile-save-window-excursion)
24235 (byte-compile-with-output-to-temp-buffer): Remove.
24236 (byte-compile-defun): Simplify.
24237 (byte-compile-stack-adjustment): New fun.
24238 (byte-compile-out): Use it.
24239 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24240
24241 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24242 handler any more.
24243
24244 * emacs-lisp/byte-opt.el: Use lexical binding.
24245 (byte-inline-lapcode): Remove (to bytecomp).
24246 (byte-compile-inline-expand): Pay attention to inlining to/from
24247 lexically bound code.
24248 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24249 any more.
24250 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24251 any more and don't call compiler-macros.
24252 (byte-compile-splice-in-already-compiled-code): Remove.
24253 (byte-code): Don't inline any more.
24254 (disassemble-offset): Receive `bytes' as argument rather than via
24255 dynamic scoping.
24256 (byte-compile-tag-number): Declare before first use.
24257 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24258 `return' even if make-spliceable.
24259 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24260 obsolete interactive-p.
24261 (byte-optimize-lapcode): Optimize new lap-codes.
24262 Don't trip up on new form of `byte-constant' lap code.
24263
24264 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24265
24266 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24267
24268 * custom.el (custom-initialize-default, custom-declare-variable):
24269 Use `defvar'.
24270
24271 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24272 New variables.
24273 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24274 (COMPILE_FIRST): Add macroexp and cconv.
24275 * makefile.w32-in: Mirror changes in Makefile.in.
24276
24277 * vc/cvs-status.el:
24278 * vc/diff-mode.el:
24279 * vc/log-edit.el:
24280 * vc/log-view.el:
24281 * vc/smerge-mode.el:
24282 * textmodes/bibtex-style.el:
24283 * textmodes/css-mode.el:
24284 * startup.el:
24285 * uniquify.el:
24286 * minibuffer.el:
24287 * newcomment.el:
24288 * reveal.el:
24289 * server.el:
24290 * mpc.el:
24291 * emacs-lisp/smie.el:
24292 * doc-view.el:
24293 * dired.el:
24294 * abbrev.el: Use lexical binding.
24295
24296 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24297
24298 * info.el (info-display-manual): New function.
24299
24300 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24301
24302 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24303
24304 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24305
24306 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24307 an entry for that server in rcirc-authinfo. (Bug#8385)
24308
24309 2011-03-31 Glenn Morris <rgm@gnu.org>
24310
24311 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24312
24313 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24314
24315 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24316
24317 * progmodes/python.el (python-default-interpreter)
24318 (python-python-command-args, python-jython-command-args)
24319 (python-which-shell, python-which-args, python-which-bufname)
24320 (python-file-queue, python-comint-output-filter-function)
24321 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24322 variables and functions.
24323
24324 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24325
24326 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24327 (completion-in-region-mode): New minor mode.
24328 (completion-in-region): Use it.
24329 (completion-in-region--data, completion-in-region-mode-map): New vars.
24330 (completion-in-region--postch): New function.
24331 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24332 New vars.
24333 (completion--capf-wrapper): New function.
24334 (completion-at-point): Use it to track well-behavedness of
24335 hook functions.
24336 (completion-help-at-point): New command.
24337
24338 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24339
24340 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24341 syntax class to search for whitespace on a single line
24342 (Message-ID: <4D938140.4030905@redhat.com>).
24343
24344 2011-03-30 Leo Liu <sdl.web@gmail.com>
24345
24346 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24347 New commands.
24348 (edit-abbrevs-map): Bind them here.
24349 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24350
24351 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24352
24353 * allout.el (allout-hide-by-annotation, allout-flag-region):
24354 Reduce possibility of overlay leakage by making them volatile.
24355
24356 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24357 hash is not shared between buffers. Mode initialization is
24358 responsible for giving it a useful starting value.
24359 (allout-item-span): Reduce possibility of overlay leakage by
24360 making them volatile.
24361 (allout-widgets-count-buttons-in-region): Add diagnostic function
24362 for tracking down button overlay leaks.
24363
24364 2011-03-29 Leo Liu <sdl.web@gmail.com>
24365
24366 * ido.el (ido-read-internal): Use the default history var
24367 minibuffer-history if no HISTORY is specified.
24368
24369 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24370
24371 * net/imap.el (imap-shell-open, imap-process-connection-type):
24372 Use imap-process-connection-type for 'shell' streams as well as
24373 Kerberos, SSL, other subprocesses.
24374
24375 2011-03-28 Leo Liu <sdl.web@gmail.com>
24376
24377 * abbrev.el (abbrev-table-empty-p): New function.
24378 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24379 nonempty ones. (Bug#5937)
24380
24381 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24382
24383 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24384
24385 2011-03-27 Leo Liu <sdl.web@gmail.com>
24386
24387 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24388 for foreground and background colors.
24389 (ansi-color-make-color-map): Adapt.
24390
24391 2011-03-25 Leo Liu <sdl.web@gmail.com>
24392
24393 * midnight.el (midnight-time-float): Remove. Note it calculates
24394 the microsecond component incorrectly and seconds-to-time does the
24395 same job.
24396 Remove redundant (require 'timer).
24397
24398 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24399 (ido-completions): Remove unused arguments. (Bug#8329)
24400
24401 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24402
24403 * minibuffer.el (completion--flush-all-sorted-completions):
24404 Remove itself from hook.
24405 (completion-at-point): Let the functions perform the completion
24406 immediately and return nil or t.
24407 * comint.el (comint-dynamic-complete-functions): Now identical to
24408 completion-at-point-functions.
24409 (comint-dynamic-list-input-ring): Remove unused var `index'.
24410 (comint--match-partial-filename, comint--unquote&expand-filename):
24411 New funs, split from comint-match-partial-filename.
24412 (comint-dynamic-complete): Use completion-at-point.
24413 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24414
24415 2011-03-24 Drew Adams <drew.adams@oracle.com>
24416
24417 * thingatpt.el: Support `defun'.
24418
24419 2011-03-23 Leo Liu <sdl.web@gmail.com>
24420
24421 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24422
24423 * help-mode.el (help-mode-finish): Tweak regexp.
24424
24425 2011-03-23 Glenn Morris <rgm@gnu.org>
24426
24427 * eshell/esh-opt.el (eshell-eval-using-options):
24428 Do not bind unused local variable `eshell-option-stub'.
24429
24430 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24431
24432 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24433
24434 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24435 keymap variable in `with-no-warnings' to avoid a warning when the
24436 keymap has been already `defconst'ed.
24437
24438 2011-03-22 Leo Liu <sdl.web@gmail.com>
24439
24440 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24441 encode all chars in abbrevs; otherwise use emacs-mule or
24442 utf-8-emacs. (Bug#8308)
24443
24444 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24445
24446 * simple.el (backward-delete-char-untabify):
24447 Avoid warning about using `delete-backward-char'.
24448
24449 * image.el (image-type-file-name-regexps): Make it variable.
24450 `imagemagick-register-types' modifies it, and the user may want
24451 to add new extensions for known image types.
24452 (imagemagick-register-types): Throw error if not using ImageMagick.
24453
24454 2011-03-22 Leo Liu <sdl.web@gmail.com>
24455
24456 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24457 located before rcirc-prompt-end-marker.
24458 (rcirc-complete): Error if point is not after rcirc prompt.
24459 Handle the case when table is nil.
24460 (rcirc-user-authenticated): Define to fix compiler warning.
24461
24462 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24463
24464 * custom.el (custom--inhibit-theme-enable): Make it affect only
24465 custom-theme-set-variables and custom-theme-set-faces.
24466 (provide-theme): Ignore custom--inhibit-theme-enable.
24467 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24468 (custom-enabling-themes): Delete variable.
24469 (enable-theme): Accept only loaded themes as arguments.
24470 Ignore the special custom-enabled-themes variable.
24471 (custom-enabled-themes): Forbid themes from setting this.
24472 Eliminate use of custom-enabling-themes.
24473 (custom-push-theme): Quote "changed" custom var entry.
24474
24475 2011-03-21 Leo Liu <sdl.web@gmail.com>
24476
24477 * ido.el (ido-read-internal): Add ido-selected to history instead
24478 of user input.
24479
24480 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24481
24482 * subr.el (deferred-action-list, deferred-action-function):
24483 Mark obsolete.
24484
24485 2011-03-21 Leo Liu <sdl.web@gmail.com>
24486
24487 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24488 change on 2011-02-13 (bug#8309).
24489
24490 * minibuffer.el (read-file-name-function): Change default value.
24491 (read-file-name--defaults): Rename from read-file-name-defaults.
24492 (read-file-name-default): Rename from read-file-name.
24493 (read-file-name): Call read-file-name-function.
24494
24495 2011-03-21 Glenn Morris <rgm@gnu.org>
24496
24497 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24498 Doc fixes.
24499
24500 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24501
24502 * cus-theme.el: Add missing provide statement.
24503 (customize-create-theme): Extract theme value correctly.
24504 (custom-theme-visit-theme): Autoload.
24505 (customize-create-theme): Prompt before inserting default faces.
24506
24507 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24508
24509 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24510 units and musical notes.
24511
24512 2011-03-20 Leo Liu <sdl.web@gmail.com>
24513
24514 * ido.el (ido-read-internal): Use completing-read-default.
24515 (ido-completing-read): Fix compatibility with completing-read.
24516
24517 2011-03-20 Christian Ohler <ohler@gnu.org>
24518
24519 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24520 (ert-delete-all-tests): Use `called-interactively-p' rather than
24521 `interactive-p'.
24522 (ert--make-xrefs-region): Respect END.
24523
24524 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24525
24526 * dired-aux.el (dired-create-directory): Signal an error if the
24527 directory already exists (Bug#8246).
24528
24529 * facemenu.el (list-colors-display): Call list-faces-display
24530 inside with-help-window.
24531 (list-colors-print): Use display property to align the final
24532 column, instead of checking window-width.
24533
24534 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24535
24536 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24537 windows-nt systems.
24538 (emerge-protect-metachars): Quote correctly for ms-dos and
24539 windows-nt systems.
24540
24541 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24542
24543 * info.el (info-initialize): Replace all uses of `:' with
24544 path-separator for compatibility with non-Unix systems.
24545 Cache quoting of path-separator. (Bug#8258)
24546
24547 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24548
24549 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24550 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24551 (mouse-avoidance-mode): Fix typos in docstrings.
24552
24553 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24554
24555 * startup.el (package-subdirectory-regexp): Move from package.el.
24556 Omit \\` and \\', and let callers add them.
24557
24558 * emacs-lisp/package.el (package-strip-version)
24559 (package-load-all-descriptors): Add \\` and \\' to
24560 package-subdirectory-regexp before using it.
24561 (package-untar-buffer): New arg DIR; ensure that file untars only
24562 into this expected directory. Remove superfluous delete-region.
24563 (package-unpack): Caller changed.
24564 (package-tar-file-info): Use package-subdirectory-regexp.
24565
24566 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24567
24568 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24569 diff-mode-shared-map (bug#8284).
24570 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24571
24572 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24573
24574 * calendar/time-date.el (format-seconds): Use assoc instead of
24575 assoc-string, since assoc-string doesn't exist in XEmacs.
24576
24577 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24578
24579 * custom.el (custom-known-themes): Reflow docstring.
24580 (custom-theme-load-path): Fix typo in docstring.
24581 (load-theme): Fix typo in error message.
24582 (custom-available-themes, custom-variable-theme-value):
24583 Use `let', not `let*'.
24584
24585 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24586
24587 * calc/README: Mention inclusion of musical notes.
24588
24589 * calc/calc-units.el (calc-lu-quant): Rename from
24590 `calc-logunits-quantity'.
24591 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24592 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24593 (calc-db): Rename from `calc-dblevel'.
24594 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24595 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24596 (calc-np): Rename from `calc-nplevel'.
24597 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24598 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24599 (calc-lu-plus): Rename from `calc-logunits-add'.
24600 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24601 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24602 (calc-lu-minus): Rename from `calc-logunits-sub'.
24603 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24604 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24605 (calc-lu-times): Rename from `calc-logunits-mul'.
24606 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24607 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24608 (calc-lu-divide): Rename from `calc-logunits-div'.
24609 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24610 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24611
24612 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24613 functions being autoloaded.
24614
24615 * calc/calc.el (calc-lu-power-reference): Rename from
24616 `calc-logunits-power-reference'.
24617 (calc-lu-field-reference): Rename from
24618 `calc-logunits-field-reference'.
24619
24620 * calc/calc-help.el (calc-l-prefix-help):
24621 Mention musical note functions.
24622
24623 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24624
24625 * minibuffer.el (completion-all-sorted-completions):
24626 Use :completion-cycle-penalty text property if present.
24627
24628 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24629
24630 * allout.el (allout-yank-processing): Adjust for new rebulleting
24631 regime so bullet being yanked is used without prompting the user
24632 for a choice.
24633
24634 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24635
24636 * startup.el (command-line): Warn the user that _emacs is deprecated.
24637
24638 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24639
24640 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24641 (delphi-verbose, delphi-comment-face, delphi-string-face)
24642 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24643 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24644 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24645 (delphi-new-comment-line, delphi-font-lock-defaults)
24646 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24647 Fix typos in docstrings.
24648
24649 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24650
24651 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24652 Invert the roles of character and string values for INSTEAD, so a
24653 string is used for the more common case of a defaulting prompt.
24654
24655 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24656
24657 * progmodes/ruby-mode.el (ruby-backward-sexp):
24658 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24659 * play/gamegrid.el (gamegrid-make-face):
24660 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24661 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24662 * notifications.el (notifications-notify):
24663 * net/xesam.el (xesam-search-engines):
24664 * net/quickurl.el (quickurl-list-insert):
24665 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24666
24667 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24668
24669 * startup.el (command-line): Update package subdirectory regexp.
24670
24671 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24672
24673 * allout.el (allout-abbreviate-flattened-numbering)
24674 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24675
24676 * subr.el (read-char-choice): Only show the cursor after the prompt,
24677 not after the answer.
24678
24679 2011-03-15 Kevin Ryde <user42@zip.com.au>
24680
24681 * help-fns.el (variable-at-point): Skip leading quotes, if any
24682 (bug#8253).
24683
24684 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24685
24686 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24687 warning message.
24688
24689 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24690
24691 * shell.el (shell): When called interactively, offer to change the
24692 shell file name on remote hosts.
24693
24694 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24695
24696 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24697 integration for LDAP parameters. The host, base, user or binddn,
24698 and secret tokens can be specified in a netrc file, for instance.
24699 This is optional because an `auth-source' parameter must be
24700 specified in the search attributes.
24701
24702 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24703
24704 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24705
24706 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24707
24708 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24709 into declaration. Remove redundant and harmful binding.
24710
24711 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24712
24713 * files.el (file-ownership-preserved-p): Pass `integer' as an
24714 explicit 2nd argument to `file-attributes'. If the file's owner
24715 is the Administrators group on Windows, and the current user is
24716 Administrator, consider that a match.
24717
24718 * server.el (server-ensure-safe-dir): Consider server directory
24719 safe on MS-Windows if its owner is the Administrators group while
24720 the current Emacs user is Administrator. Use `=' to compare
24721 numerical UIDs, since they could be integers or floats.
24722
24723 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24724
24725 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24726
24727 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24728
24729 Sync with Tramp 2.2.1.
24730
24731 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24732
24733 * net/trampver.el: Update release number.
24734
24735 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24736
24737 * progmodes/compile.el (compilation--previous-directory): Fix up
24738 various nil/dead-marker mismatches (bug#8014).
24739 (compilation-directory-properties, compilation-error-properties):
24740 Don't call it at a position past the one we're about to change.
24741
24742 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24743 Disable obsolescence warnings in the file that declares it.
24744
24745 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24746
24747 * allout-widgets.el (allout-widgets-tally):
24748 Initialize allout-widgets-tally as a hash table rather than nil to
24749 prevent mode-line redisplay warnings. Also, clarify the module
24750 description and fix a comment typo.
24751
24752 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24753
24754 * help-fns.el (describe-variable): Don't complete keywords.
24755 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24756
24757 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24758
24759 * emacs-lisp/package.el (package-version-join): Impose a standard
24760 string representation for pre/alpha/beta version lists.
24761 (package-unpack-single): Standardize the directory name by passing
24762 it through package-version-join.
24763 (package-strip-rcs-id): Accept any version string that does not
24764 signal an error in version-to-list.
24765
24766 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24767
24768 * simple.el (delete-trailing-whitespace): Return nil for the
24769 benefit of `write-file-functions'.
24770
24771 2011-03-10 Glenn Morris <rgm@gnu.org>
24772
24773 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24774
24775 * vc/vc-git.el (vc-git-program): New option.
24776 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24777 (vc-git--call): Use it.
24778
24779 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24780
24781 * cus-edit.el (Custom-newline): If no button at point, look
24782 for a subgroup button at start-of-line. (Bug#2298)
24783
24784 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24785
24786 2011-03-10 Julien Danjou <julien@danjou.info>
24787
24788 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24789 `cursor-type' is nil.
24790
24791 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24792
24793 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24794
24795 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24796
24797 * allout.el: Change so yank of distinctive-bullet items
24798 preserves the existing header prefix, rebulleting it if necessary,
24799 rather than replacing it. This is necessary for proper operation
24800 of cooperative addons like allout-widgets.
24801 (allout-make-topic-prefix, allout-rebullet-heading):
24802 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24803 value as alternate bullet to be used, instead of prompting the user
24804 for a bullet character.
24805
24806 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24807
24808 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24809 Do not use `tramp-file-name-port', because this returns also
24810 `tramp-default-port'.
24811
24812 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24813
24814 * net/rcirc.el (rcirc-handler-001): Remove useless
24815 with-rcirc-process-buffer.
24816 (rcirc-check-auth-status): Swap arguments to string-match.
24817
24818 2011-03-09 Glenn Morris <rgm@gnu.org>
24819
24820 * shell.el (shell-mode):
24821 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24822
24823 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24824 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24825
24826 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24827
24828 * emacs-lisp/package.el (package-refresh-contents)
24829 (package-menu-execute): Use condition-case-no-debug.
24830
24831 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24832
24833 * simple.el (shell-command-to-string): Use `process-file'.
24834
24835 * emacs-lisp/package.el (package-tar-file-info): Handle also
24836 remote files.
24837
24838 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24839 Use `equal' for upload base check.
24840
24841 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24842
24843 * textmodes/texinfo.el (texinfo-environments):
24844 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24845
24846 2011-03-08 Glenn Morris <rgm@gnu.org>
24847
24848 * cus-start.el (cursor-in-non-selected-windows):
24849 Fix :set quoting oddness. (Bug#8192)
24850
24851 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24852 in some setf expressions. (Bug#2159)
24853
24854 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24855
24856 * custom.el (custom-available-themes): Return themes in
24857 alphabetical order.
24858
24859 See ChangeLog.15 for earlier changes.
24860
24861 ;; Local Variables:
24862 ;; coding: utf-8
24863 ;; End:
24864
24865 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24866
24867 This file is part of GNU Emacs.
24868
24869 GNU Emacs is free software: you can redistribute it and/or modify
24870 it under the terms of the GNU General Public License as published by
24871 the Free Software Foundation, either version 3 of the License, or
24872 (at your option) any later version.
24873
24874 GNU Emacs is distributed in the hope that it will be useful,
24875 but WITHOUT ANY WARRANTY; without even the implied warranty of
24876 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24877 GNU General Public License for more details.
24878
24879 You should have received a copy of the GNU General Public License
24880 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.